PageSourceSearch

https://elmac-v2-crmbot-cdn.netlify.app/static/js/bundle.min.js

js elmac-v2-crmbot-cdn.netlify.app collected 2026-10-03 10:41:36 UTC 3,367,976 bytes, 3 lines download raw bytes

1/*! For license information please see bundle.min.js.LICENSE */
2!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=893)}([function(e,t,r){"use strict";e.exports=r(894)},function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return i}))},function(e,t,r){e.exports=r(150)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(32),i=r(1),o=r(2),a=function(){function e(){Object(i.a)(this,e)}return Object(o.a)(e,null,[{key:"throwIfNullOrUndefined",value:function(e,t){if(void 0===e||null===e)throw new Error("throwIfNullOrUndefined:"+t)}},{key:"throwIfNull",value:function(e,t){if(null===e)throw new Error("throwIfNull:"+t)}},{key:"throwIfNullOrWhitespace",value:function(t,r){if(e.throwIfNullOrUndefined(t,r),(""+t).trim().length<1)throw new Error("throwIfNullOrWhitespace:"+r)}},{key:"throwIfDisposed",value:function(e){if(e)throw new Error("the object is already disposed")}},{key:"throwIfArrayEmptyOrWhitespace",value:function(t,r){if(e.throwIfNullOrUndefined(t,r),0===t.length)throw new Error("throwIfArrayEmptyOrWhitespace:"+r);var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;e.throwIfNullOrWhitespace(a,r)}}catch(s){o.e(s)}finally{o.f()}}},{key:"throwIfFileDoesNotExist",value:function(t,r){e.throwIfNullOrWhitespace(t,r)}},{key:"throwIfNotUndefined",value:function(e,t){if(void 0!==e)throw new Error("throwIfNotUndefined:"+t)}}]),e}()},function(e,t,r){e.exports=r(1119)()},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(203);function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}
vendor: 9,388 bytes, line 2
2),t&&Object(n.a)(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(42),i=r(344),o=r(355);function a(e){return function(){var t,r=Object(n.a)(e);if(Object(i.a)()){var a=Object(n.a)(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return Object(o.a)(this,t)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return ae})),r.d(t,"b",(function(){return j})),r.d(t,"c",(function(){return T})),r.d(t,"d",(function(){return U})),r.d(t,"e",(function(){return _})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return F})),r.d(t,"h",(function(){return W})),r.d(t,"i",(function(){return x})),r.d(t,"j",(function(){return X})),r.d(t,"k",(function(){return V})),r.d(t,"l",(function(){return Z})),r.d(t,"m",(function(){return ue})),r.d(t,"n",(function(){return pe})),r.d(t,"o",(function(){return oe})),r.d(t,"p",(function(){return de})),r.d(t,"q",(function(){return L})),r.d(t,"r",(function(){return R})),r.d(t,"s",(function(){return D})),r.d(t,"t",(function(){return H})),r.d(t,"u",(function(){return M})),r.d(t,"v",(function(){return Te})),r.d(t,"w",(function(){return ne})),r.d(t,"x",(function(){return $})),r.d(t,"y",(function(){return Q})),r.d(t,"z",(function(){return ee})),r.d(t,"A",(function(){return te})),r.d(t,"B",(function(){return re})),r.d(t,"C",(function(){return B})),r.d(t,"D",(function(){return se})),r.d(t,"E",(function(){return ce})),r.d(t,"F",(function(){return le})),r.d(t,"G",(function(){return fe})),r.d(t,"H",(function(){return he})),r.d(t,"I",(function(){return ve})),r.d(t,"J",(function(){return me})),r.d(t,"K",(function(){return ye})),r.d(t,"L",(function(){return z})),r.d(t,"M",(function(){return l})),r.d(t,"N",(function(){return G})),r.d(t,"O",(function(){return k})),r.d(t,"P",(function(){return q})),r.d(t,"Q",(function(){return Y})),r.d(t,"R",(function(){return K})),r.d(t,"S",(function(){return b})),r.d(t,"T",(function(){return O})),r.d(t,"U",(function(){return s})),r.d(t,"V",(function(){return C})),r.d(t,"W",(function(){return g})),r.d(t,"X",(function(){return N})),r.d(t,"Y",(function(){return h})),r.d(t,"Z",(function(){return p})),r.d(t,"ab",(function(){return y})),r.d(t,"bb",(function(){return d})),r.d(t,"cb",(function(){return E})),r.d(t,"db",(function(){return u})),r.d(t,"eb",(function(){return f})),r.d(t,"fb",(function(){return I})),r.d(t,"gb",(function(){return A})),r.d(t,"hb",(function(){return S}));var n=r(28),i=r(75),o=r(15),a=r(338),s=function(e){return function(){return e}}(!0),u=function(){};var c=function(e){return e};"function"===typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;function l(e,t,r){if(!t(e))throw new Error(r)}var p=function(e,t){Object(i.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(r){e[r]=t[r]}))},f=function(e,t){var r;return(r=[]).concat.apply(r,t.map(e))};function d(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function h(e){var t=!1;return function(){t||(t=!0,e())}}var v=function(e){throw e},m=function(e){return{value:e,done:!0}};function y(e,t,r){void 0===t&&(t=v),void 0===r&&(r="iterator");var n={meta:{name:r},next:e,throw:t,return:m,isSagaIterator:!0};return"undefined"!==typeof Symbol&&(n[Symbol.iterator]=function(){return n}),n}function T(e,t){var r=t.sagaStack;console.error(e),console.error(r)}var b=function(e){return new Error("\n  redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n  in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n  Error: "+e+"\n")},g=function(e){return Array.apply(null,new Array(e))},_=function(e){return function(t){return e(Object.defineProperty(t,n.f,{value:!0}))}},S=function(e){return e===n.k},A=function(e){return e===n.j},E=function(e){return S(e)||A(e)};function C(e,t){var r=Object.keys(e),n=r.length;var i,a=0,s=Object(o.a)(e)?g(n):{},c={};return r.forEach((function(e){var r=function(r,o){i||(o||E(r)?(t.cancel(),t(r,o)):(s[e]=r,++a===n&&(i=!0,t(s))))};r.cancel=u,c[e]=r})),t.cancel=function(){i||(i=!0,r.forEach((function(e){return c[e].cancel()})))},c}function O(e){return{name:e.name||"anonymous",location:I(e)}}function I(e){return e[n.g]}var w={isEmpty:s,put:u,take:u};function P(e,t){void 0===e&&(e=10);var r=new Array(e),n=0,i=0,o=0,a=function(t){r[i]=t,i=(i+1)%e,n++},s=function(){if(0!=n){var t=r[o];return r[o]=null,n--,o=(o+1)%e,t}},u=function(){for(var e=[];n;)e.push(s());return e};return{isEmpty:function(){return 0==n},put:function(s){var c;if(n<e)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:r[i]=s,o=i=(i+1)%e;break;case 4:c=2*e,r=u(),n=r.length,i=r.length,o=0,r.length=c,e=c,a(s)}},take:s,flush:u}}var N=function(){return w},R=function(e){return P(e,3)},k=function(e){return P(e,4)},x=Object.freeze({__proto__:null,none:N,fixed:function(e){return P(e,1)},dropping:function(e){return P(e,2)},sliding:R,expanding:k}),M="TAKE",L="PUT",j="ALL",D="RACE",U="CALL",B="CPS",F="FORK",V="JOIN",z="CANCEL",H="SELECT",G="ACTION_CHANNEL",q="CANCELLED",Y="FLUSH",W="GET_CONTEXT",K="SET_CONTEXT",$=Object.freeze({__proto__:null,TAKE:M,PUT:L,ALL:j,RACE:D,CALL:U,CPS:B,FORK:F,JOIN:V,CANCEL:z,SELECT:H,ACTION_CHANNEL:G,CANCELLED:q,FLUSH:Y,GET_CONTEXT:W,SET_CONTEXT:K}),J=function(e,t){var r;return(r={})[n.c]=!0,r.combinator=!1,r.type=e,r.payload=t,r},X=function(e){return J(F,Object(i.a)({},e.payload,{detached:!0}))};function Z(e,t){return void 0===e&&(e="*"),Object(o.i)(e)?J(M,{pattern:e}):Object(o.f)(e)&&Object(o.g)(t)&&Object(o.i)(t)?J(M,{channel:e,pattern:t}):Object(o.b)(e)?J(M,{channel:e}):void 0}var Q=function(){var e=Z.apply(void 0,arguments);return e.payload.maybe=!0,e};function ee(e,t){return Object(o.n)(t)&&(t=e,e=void 0),J(L,{channel:e,action:t})}var te=function(){var e=ee.apply(void 0,arguments);return e.payload.resolve=!0,e};function re(e){var t=J(j,e);return t.combinator=!0,t}function ne(e){var t=J(D,e);return t.combinator=!0,t}function ie(e,t){var r,n=null;return Object(o.d)(e)?r=e:(Object(o.a)(e)?(n=e[0],r=e[1]):(n=e.context,r=e.fn),n&&Object(o.k)(r)&&Object(o.d)(n[r])&&(r=n[r])),{context:n,fn:r,args:t}}function oe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return J(U,ie(e,r))}function ae(e,t,r){void 0===r&&(r=[]);return J(U,ie([e,t],r))}function se(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return J(B,ie(e,r))}function ue(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return J(F,ie(e,r))}function ce(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return X(ue.apply(void 0,[e].concat(r)))}function le(e){return J(V,e)}function pe(e){return void 0===e&&(e=n.h),J(z,e)}function fe(e){void 0===e&&(e=c);for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return J(H,{selector:e,args:r})}function de(e,t){return J(G,{pattern:e,buffer:t})}function he(){return J(q,{})}function ve(e){return J(Y,e)}function me(e){return J(W,e)}function ye(e){return J(K,e)}var Te=oe.bind(null,a.a)},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.SpeechServiceConnection_Key=0]="SpeechServiceConnection_Key",e[e.SpeechServiceConnection_Endpoint=1]="SpeechServiceConnection_Endpoint",e[e.SpeechServiceConnection_Region=2]="SpeechServiceConnection_Region",e[e.SpeechServiceAuthorization_Token=3]="SpeechServiceAuthorization_Token",e[e.SpeechServiceAuthorization_Type=4]="SpeechServiceAuthorization_Type",e[e.SpeechServiceConnection_EndpointId=5]="SpeechServiceConnection_EndpointId",e[e.SpeechServiceConnection_TranslationToLanguages=6]="SpeechServiceConnection_TranslationToLanguages",e[e.SpeechServiceConnection_TranslationVoice=7]="SpeechServiceConnection_TranslationVoice",e[e.SpeechServiceConnection_TranslationFeatures=8]="SpeechServiceConnection_TranslationFeatures",e[e.SpeechServiceConnection_IntentRegion=9]="SpeechServiceConnection_IntentRegion",e[e.SpeechServiceConnection_ProxyHostName=10]="SpeechServiceConnection_ProxyHostName",e[e.SpeechServiceConnection_ProxyPort=11]="SpeechServiceConnection_ProxyPort",e[e.SpeechServiceConnection_ProxyUserName=12]="SpeechServiceConnection_ProxyUserName",e[e.SpeechServiceConnection_ProxyPassword=13]="SpeechServiceConnection_ProxyPassword",e[e.SpeechServiceConnection_RecoMode=14]="SpeechServiceConnection_RecoMode",e[e.SpeechServiceConnection_RecoLanguage=15]="SpeechServiceConnection_RecoLanguage",e[e.Speech_SessionId=16]="Speech_SessionId",e[e.SpeechServiceConnection_SynthLanguage=17]="SpeechServiceConnection_SynthLanguage",e[e.SpeechServiceConnection_SynthVoice=18]="SpeechServiceConnection_SynthVoice",e[e.SpeechServiceConnection_SynthOutputFormat=19]="SpeechServiceConnection_SynthOutputFormat",e[e.SpeechServiceConnection_AutoDetectSourceLanguages=20]="SpeechServiceConnection_AutoDetectSourceLanguages",e[e.SpeechServiceResponse_RequestDetailedResultTrueFalse=21]="SpeechServiceResponse_RequestDetailedResultTrueFalse",e[e.SpeechServiceResponse_RequestProfanityFilterTrueFalse=22]="SpeechServiceResponse_RequestProfanityFilterTrueFalse",e[e.SpeechServiceResponse_JsonResult=23]="SpeechServiceResponse_JsonResult",e[e.SpeechServiceResponse_JsonErrorDetails=24]="SpeechServiceResponse_JsonErrorDetails",e[e.CancellationDetails_Reason=25]="CancellationDetails_Reason",e[e.CancellationDetails_ReasonText=26]="CancellationDetail
2s_ReasonText",e[e.CancellationDetails_ReasonDetailedText=27]="CancellationDetails_ReasonDetailedText",e[e.LanguageUnderstandingServiceResponse_JsonResult=28]="LanguageUnderstandingServiceResponse_JsonResult",e[e.SpeechServiceConnection_Url=29]="SpeechServiceConnection_Url",e[e.SpeechServiceConnection_InitialSilenceTimeoutMs=30]="SpeechServiceConnection_InitialSilenceTimeoutMs",e[e.SpeechServiceConnection_EndSilenceTimeoutMs=31]="SpeechServiceConnection_EndSilenceTimeoutMs",e[e.SpeechServiceConnection_EnableAudioLogging=32]="SpeechServiceConnection_EnableAudioLogging",e[e.SpeechServiceResponse_ProfanityOption=33]="SpeechServiceResponse_ProfanityOption",e[e.SpeechServiceResponse_PostProcessingOption=34]="SpeechServiceResponse_PostProcessingOption",e[e.SpeechServiceResponse_RequestWordLevelTimestamps=35]="SpeechServiceResponse_RequestWordLevelTimestamps",e[e.SpeechServiceResponse_StablePartialResultThreshold=36]="SpeechServiceResponse_StablePartialResultThreshold",e[e.SpeechServiceResponse_OutputFormatOption=37]="SpeechServiceResponse_OutputFormatOption",e[e.SpeechServiceResponse_TranslationRequestStablePartialResult=38]="SpeechServiceResponse_TranslationRequestStablePartialResult",e[e.Conversation_ApplicationId=39]="Conversation_ApplicationId",e[e.Conversation_DialogType=40]="Conversation_DialogType",e[e.Conversation_Initial_Silence_Timeout=41]="Conversation_Initial_Silence_Timeout",e[e.Conversation_From_Id=42]="Conversation_From_Id",e[e.Conversation_Conversation_Id=43]="Conversation_Conversation_Id",e[e.Conversation_Custom_Voice_Deployment_Ids=44]="Conversation_Custom_Voice_Deployment_Ids",e[e.Conversation_Speech_Activity_Template=45]="Conversation_Speech_Activity_Template",e[e.Conversation_Request_Bot_Status_Messages=46]="Conversation_Request_Bot_Status_Messages",e[e.Conversation_Agent_Connection_Id=47]="Conversation_Agent_Connection_Id",e[e.SpeechServiceConnection_Host=48]="SpeechServiceConnection_Host",e[e.ConversationTranslator_Host=49]="ConversationTranslator_Host",e[e.ConversationTranslator_Name=50]="ConversationTranslator_Name",e[e.ConversationTranslator_CorrelationId=51]="ConversationTranslator_CorrelationId",e[e.ConversationTranslator_Token=52]="ConversationTranslator_Token",e[e.PronunciationAssessment_ReferenceText=53]="PronunciationAssessment_ReferenceText",e[e.PronunciationAssessment_GradingSystem=54]="PronunciationAssessment_GradingSystem",e[e.PronunciationAssessment_Granularity=55]="PronunciationAssessment_Granularity",e[e.PronunciationAssessment_EnableMiscue=56]="PronunciationAssessment_EnableMiscue",e[e.PronunciationAssessment_Json=57]="PronunciationAssessment_Json",e[e.PronunciationAssessment_Params=58]="PronunciationAssessment_Params"}(n||(n={}))},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"OutputFormatPropertyName",(function(){return n})),r.d(t,"CancellationErrorCodePropertyName",(function(){return i})),r.d(t,"ServicePropertiesPropertyName",(function(){return o})),r.d(t,"ForceDictationPropertyName",(function(){return a})),r.d(t,"AutoDetectSourceLanguagesOpenRangeOptionName",(function(){return s}));var n="OutputFormat",i="CancellationErrorCode",o="ServiceProperties",a="ForceDictation",s="OpenRange"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1634);Object.defineProperty(t,"AudioConfig",{enumerable:!0,get:function(){return n.AudioConfig}});var i=r(142);Object.defineProperty(t,"AudioStreamFormat",{enumerable:!0,get:function(){return i.AudioStreamFormat}});var o=r(773);Object.defineProperty(t,"AudioInputStream",{enumerable:!0,get:function(){return o.AudioInputStream}}),Object.defineProperty(t,"PullAudioInputStream",{enumerable:!0,get:function(){return o.PullAudioInputStream}}),Object.defineProperty(t,"PushAudioInputStream",{enumerable:!0,get:function(){return o.PushAudioInputStream}});var a=r(195);Object.defineProperty(t,"AudioOutputStream",{enumerable:!0,get:function(){return a.AudioOutputStream}}),Object.defineProperty(t,"PullAudioOutputStream",{enumerable:!0,get:function(){return a.PullAudioOutputStream}}),Object.defineProperty(t,"PushAudioOutputStream",{enumerable:!0,get:function(){return a.PushAudioOutputStream}});var s=r(1636);Object.defineProperty(t,"CancellationReason",{enumerable:!0,get:function(){return s.CancellationReason}});var u=r(1637);Object.defineProperty(t,"PullAudioInputStreamCallback",{enumerable:!0,get:function(){return u.PullAudioInputStreamCallback}});var c=r(1638);Object.defineProperty(t,"PushAudioOutputStreamCallback",{enumerable:!0,get:function(){return c.PushAudioOutputStreamCallback}});var l=r(1639);Object.defineProperty(t,"KeywordRecognitionModel",{enumerable:!0,get:function(){return l.KeywordRecognitionModel}});var p=r(1640);Object.defineProperty(t,"SessionEventArgs",{enumerable:!0,get:function(){return p.SessionEventArgs}});var f=r(1641);Object.defineProperty(t,"RecognitionEventArgs",{enumerable:!0,get:function(){return f.RecognitionEventArgs}});var d=r(1642);Object.defineProperty(t,"OutputFormat",{enumerable:!0,get:function(){return d.OutputFormat}});var h=r(1643);Object.defineProperty(t,"IntentRecognitionEventArgs",{enumerable:!0,get:function(){return h.IntentRecognitionEventArgs}});var v=r(1644);Object.defineProperty(t,"RecognitionResult",{enumerable:!0,get:function(){return v.RecognitionResult}});var m=r(1645);Object.defineProperty(t,"SpeechRecognitionResult",{enumerable:!0,get:function(){return m.SpeechRecognitionResult}});var y=r(1646);Object.defineProperty(t,"IntentRecognitionResult",{enumerable:!0,get:function(){return y.IntentRecognitionResult}});var T=r(1647);Object.defineProperty(t,"LanguageUnderstandingModel",{enumerable:!0,get:function(){return T.LanguageUnderstandingModel}});var b=r(1648);Object.defineProperty(t,"SpeechRecognitionEventArgs",{enumerable:!0,get:function(){return b.SpeechRecognitionEventArgs}}),Object.defineProperty(t,"ConversationTranscriptionEventArgs",{enumerable:!0,get:function(){return b.ConversationTranscriptionEventArgs}});var g=r(1649);Object.defineProperty(t,"SpeechRecognitionCanceledEventArgs",{enumerable:!0,get:function(){return g.SpeechRecognitionCanceledEventArgs}});var _=r(1650);Object.defineProperty(t,"TranslationRecognitionEventArgs",{enumerable:!0,get:function(){return _.TranslationRecognitionEventArgs}});var S=r(1651);Object.defineProperty(t,"TranslationSynthesisEventArgs",{enumerable:!0,get:function(){return S.TranslationSynthesisEventArgs}});var A=r(775);Object.defineProperty(t,"TranslationRecognitionResult",{enumerable:!0,get:function(){return A.TranslationRecognitionResult}});var E=r(1652);Object.defineProperty(t,"TranslationSynthesisResult",{enumerable:!0,get:function(){return E.TranslationSynthesisResult}});
2var C=r(1653);Object.defineProperty(t,"ResultReason",{enumerable:!0,get:function(){return C.ResultReason}});var O=r(1654);Object.defineProperty(t,"SpeechConfig",{enumerable:!0,get:function(){return O.SpeechConfig}}),Object.defineProperty(t,"SpeechConfigImpl",{enumerable:!0,get:function(){return O.SpeechConfigImpl}});var I=r(1655);Object.defineProperty(t,"SpeechTranslationConfig",{enumerable:!0,get:function(){return I.SpeechTranslationConfig}}),Object.defineProperty(t,"SpeechTranslationConfigImpl",{enumerable:!0,get:function(){return I.SpeechTranslationConfigImpl}});var w=r(776);Object.defineProperty(t,"PropertyCollection",{enumerable:!0,get:function(){return w.PropertyCollection}});var P=r(461);Object.defineProperty(t,"PropertyId",{enumerable:!0,get:function(){return P.PropertyId}});var N=r(1656);Object.defineProperty(t,"Recognizer",{enumerable:!0,get:function(){return N.Recognizer}});var R=r(1657);Object.defineProperty(t,"SpeechRecognizer",{enumerable:!0,get:function(){return R.SpeechRecognizer}});var k=r(1658);Object.defineProperty(t,"IntentRecognizer",{enumerable:!0,get:function(){return k.IntentRecognizer}});var x=r(1659);Object.defineProperty(t,"VoiceProfileType",{enumerable:!0,get:function(){return x.VoiceProfileType}});var M=r(1660);Object.defineProperty(t,"TranslationRecognizer",{enumerable:!0,get:function(){return M.TranslationRecognizer}});var L=r(1661);Object.defineProperty(t,"Translations",{enumerable:!0,get:function(){return L.Translations}});var j=r(1662);Object.defineProperty(t,"NoMatchReason",{enumerable:!0,get:function(){return j.NoMatchReason}});var D=r(1663);Object.defineProperty(t,"NoMatchDetails",{enumerable:!0,get:function(){return D.NoMatchDetails}});var U=r(1664);Object.defineProperty(t,"TranslationRecognitionCanceledEventArgs",{enumerable:!0,get:function(){return U.TranslationRecognitionCanceledEventArgs}});var B=r(1665);Object.defineProperty(t,"IntentRecognitionCanceledEventArgs",{enumerable:!0,get:function(){return B.IntentRecognitionCanceledEventArgs}});var F=r(777);Object.defineProperty(t,"CancellationDetailsBase",{enumerable:!0,get:function(){return F.CancellationDetailsBase}});var V=r(1666);Object.defineProperty(t,"CancellationDetails",{enumerable:!0,get:function(){return V.CancellationDetails}});var z=r(1667);Object.defineProperty(t,"CancellationErrorCode",{enumerable:!0,get:function(){return z.CancellationErrorCode}});var H=r(1668);Object.defineProperty(t,"ConnectionEventArgs",{enumerable:!0,get:function(){return H.ConnectionEventArgs}});var G=r(1669);Object.defineProperty(t,"ServiceEventArgs",{enumerable:!0,get:function(){return G.ServiceEventArgs}});var q=r(1670);Object.defineProperty(t,"Connection",{enumerable:!0,get:function(){return q.Connection}});var Y=r(1671);Object.defineProperty(t,"PhraseListGrammar",{enumerable:!0,get:function(){return Y.PhraseListGrammar}});var W=r(462);Object.defineProperty(t,"DialogServiceConfig",{enumerable:!0,get:function(){return W.DialogServiceConfig}});var K=r(1672);Object.defineProperty(t,"BotFrameworkConfig",{enumerable:!0,get:function(){return K.BotFrameworkConfig}});var $=r(1673);Object.defineProperty(t,"CustomCommandsConfig",{enumerable:!0,get:function(){return $.CustomCommandsConfig}});var J=r(1674);Object.defineProperty(t,"DialogServiceConnector",{enumerable:!0,get:function(){return J.DialogServiceConnector}});var X=r(1676);Object.defineProperty(t,"ActivityReceivedEventArgs",{enumerable:!0,get:function(){return X.ActivityReceivedEventArgs}});var Z=r(1677);Object.defineProperty(t,"TurnStatusReceivedEventArgs",{enumerable:!0,get:function(){return Z.TurnStatusReceivedEventArgs}});var Q=r(1679);Object.defineProperty(t,"ServicePropertyChannel",{enumerable:!0,get:function(){return Q.ServicePropertyChannel}});var ee=r(1680);Object.defineProperty(t,"ProfanityOption",{enumerable:!0,get:function(){return ee.ProfanityOption}});var te=r(1681);Object.defineProperty(t,"BaseAudioPlayer",{enumerable:!0,get:function(){return te.BaseAudioPlayer}});var re=r(1682);Object.defineProperty(t,"ConnectionMessageEventArgs",{enumerable:!0,get:function(){return re.ConnectionMessageEventArgs}});var ne=r(778);Object.defineProperty(t,"ConnectionMessage",{enumerable:!0,get:function(){return ne.ConnectionMessage}});var ie=r(1683);Object.defineProperty(t,"VoiceProfile",{enumerable:!0,get:function(){return ie.VoiceProfile}});var oe=r(1684);Object.defineProperty(t,"VoiceProfileEnrollmentResult",{enumerable:!0,get:function(){return oe.VoiceProfileEnrollmentResult}}),Object.defineProperty(t,"VoiceProfileEnrollmentCancellationDetail
2s",{enumerable:!0,get:function(){return oe.VoiceProfileEnrollmentCancellationDetails}});var ae=r(1685);Object.defineProperty(t,"VoiceProfileResult",{enumerable:!0,get:function(){return ae.VoiceProfileResult}}),Object.defineProperty(t,"VoiceProfileCancellationDetails",{enumerable:!0,get:function(){return ae.VoiceProfileCancellationDetails}});var se=r(1686);Object.defineProperty(t,"VoiceProfileAuthorizationPhraseResult",{enumerable:!0,get:function(){return se.VoiceProfileAuthorizationPhraseResult}});var ue=r(1687);Object.defineProperty(t,"VoiceProfileClient",{enumerable:!0,get:function(){return ue.VoiceProfileClient}});var ce=r(1688);Object.defineProperty(t,"SpeakerRecognizer",{enumerable:!0,get:function(){return ce.SpeakerRecognizer}});var le=r(1689);Object.defineProperty(t,"SpeakerIdentificationModel",{enumerable:!0,get:function(){return le.SpeakerIdentificationModel}});var pe=r(1690);Object.defineProperty(t,"SpeakerVerificationModel",{enumerable:!0,get:function(){return pe.SpeakerVerificationModel}});var fe=r(1691);Object.defineProperty(t,"AutoDetectSourceLanguageConfig",{enumerable:!0,get:function(){return fe.AutoDetectSourceLanguageConfig}});var de=r(1692);Object.defineProperty(t,"AutoDetectSourceLanguageResult",{enumerable:!0,get:function(){return de.AutoDetectSourceLanguageResult}});var he=r(1693);Object.defineProperty(t,"SourceLanguageConfig",{enumerable:!0,get:function(){return he.SourceLanguageConfig}});var ve=r(1694);Object.defineProperty(t,"SpeakerRecognitionResult",{enumerable:!0,get:function(){return ve.SpeakerRecognitionResult}}),Object.defineProperty(t,"SpeakerRecognitionResultType",{enumerable:!0,get:function(){return ve.SpeakerRecognitionResultType}}),Object.defineProperty(t,"SpeakerRecognitionCancellationDetails",{enumerable:!0,get:function(){return ve.SpeakerRecognitionCancellationDetails}});var me=r(779);Object.defineProperty(t,"Conversation",{enumerable:!0,get:function(){return me.Conversation}}),Object.defineProperty(t,"ConversationExpirationEventArgs",{enumerable:!0,get:function(){return me.ConversationExpirationEventArgs}}),Object.defineProperty(t,"ConversationParticipantsChangedEventArgs",{enumerable:!0,get:function(){return me.ConversationParticipantsChangedEventArgs}}),Object.defineProperty(t,"ConversationTranslationCanceledEventArgs",{enumerable:!0,get:function(){return me.ConversationTranslationCanceledEventArgs}}),Object.defineProperty(t,"ConversationTranslationEventArgs",{enumerable:!0,get:function(){return me.ConversationTranslationEventArgs}}),Object.defineProperty(t,"ConversationTranslationResult",{enumerable:!0,get:function(){return me.ConversationTranslationResult}}),Object.defineProperty(t,"ConversationTranslator",{enumerable:!0,get:function(){return me.ConversationTranslator}}),Object.defineProperty(t,"ConversationTranscriber",{enumerable:!0,get:function(){return me.ConversationTranscriber}}),Object.defineProperty(t,"Participant",{enumerable:!0,get:function(){return me.Participant}}),Object.defineProperty(t,"ParticipantChangedReason",{enumerable:!0,get:function(){return me.ParticipantChangedReason}}),Object.defineProperty(t,"User",{enumerable:!0,get:function(){return me.User}});var ye=r(774);Object.defineProperty(t,"SpeechSynthesisOutputFormat",{enumerable:!0,get:function(){return ye.SpeechSynthesisOutputFormat}});var Te=r(1705);Object.defineProperty(t,"SpeechSynthesizer",{enumerable:!0,get:function(){return Te.SpeechSynthesizer}});var be=r(1706);Object.defineProperty(t,"SpeechSynthesisResult",{enumerable:!0,get:function(){return be.SpeechSynthesisResult}});var ge=r(1707);Object.defineProperty(t,"SpeechSynthesisEventArgs",{enumerable:!0,get:function(){return ge.SpeechSynthesisEventArgs}});var _e=r(1708);Object.defineProperty(t,"SpeechSynthesisWordBoundaryEventArgs",{enumerable:!0,get:function(){return _e.SpeechSynthesisWordBoundaryEventArgs}});var Se=r(1709);Object.defineProperty(t,"SpeechSynthesisBookmarkEventArgs",{enumerable:!0,get:function(){return Se.SpeechSynthesisBookmarkEventArgs}});var Ae=r(1710);Object.defineProperty(t,"SpeechSynthesisVisemeEventArgs",{enumerable:!0,get:function(){return Ae.SpeechSynthesisVisemeEventArgs}});var Ee=r(1711);Object.defineProperty(t,"SpeakerAudioDestination",{enumerable:!0,get:function(){return Ee.SpeakerAudioDestination}});var Ce=r(1712);Object.defineProperty(t,"ConversationTranscriptionCanceledEventArgs",{enumerable:!0,get:function(){return Ce.ConversationTranscriptionCanceledEventArgs}});var Oe=r(1713);Object.defineProperty(t,"PronunciationAssessmentGradingSystem",{enumerable:!0,get:function(){return Oe.PronunciationAssessmentGradingSystem}});var Ie=r(1714);Object.defineProperty(t,"PronunciationAssessmentGranularity",{enumerable:!0,get:function(){return Ie.PronunciationAssessmentGranularity}});
2var we=r(1715);Object.defineProperty(t,"PronunciationAssessmentConfig",{enumerable:!0,get:function(){return we.PronunciationAssessmentConfig}});var Pe=r(1716);Object.defineProperty(t,"PronunciationAssessmentResult",{enumerable:!0,get:function(){return Pe.PronunciationAssessmentResult}})},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Composer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"concatMiddleware",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"defaultStyleOptions",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Localize",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"localize",{enumerable:!0,get:function(){return u.localize}}),Object.defineProperty(t,"normalizeStyleOptions",{enumerable:!0,get:function(){return c.default}}),t.hooks=void 0;var i=f(r(1117));t.hooks=i;var o=l(r(1232)),a=l(r(628)),s=l(r(626)),u=f(r(619)),c=l(r(625));function l(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,r&&r.set(e,i),i}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return c}));var n,i=r(6),o=r(7),a=r(1),s=r(2);!function(e){e[e.PCM=1]="PCM",e[e.MuLaw=2]="MuLaw",e[e.Siren=3]="Siren",e[e.MP3=4]="MP3",e[e.SILKSkype=5]="SILKSkype",e[e.OGG_OPUS=6]="OGG_OPUS",e[e.WEBM_OPUS=7]="WEBM_OPUS",e[e.ALaw=8]="ALaw"}(n||(n={}));var u=function(){function e(){Object(a.a)(this,e)}return Object(s.a)(e,null,[{key:"getDefaultInputFormat",value:function(){return c.getDefaultInputFormat()}},{key:"getWaveFormatPCM",value:function(e,t,r){return new c(e,t,r)}}]),e}(),c=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16e3,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.PCM;switch(Object(a.a)(this,r),(e=t.call(this)).setString=function(e,t,r){for(var n=0;n<r.length;n++)e.setUint8(t+n,r.charCodeAt(n))},u){case n.PCM:e.formatTag=1;break;case n.ALaw:e.formatTag=6;break;case n.MuLaw:e.formatTag=7}e.bitsPerSample=o,e.samplesPerSec=i,e.channels=s,e.avgBytesPerSec=e.samplesPerSec*e.channels*(e.bitsPerSample/8),e.blockAlign=e.channels*Math.max(e.bitsPerSample,8),e.privHeader=new ArrayBuffer(44);var c=new DataView(e.privHeader);return e.setString(c,0,"RIFF"),c.setUint32(4,0,!0),e.setString(c,8,"WAVEfmt "),c.setUint32(16,16,!0),c.setUint16(20,e.formatTag,!0),c.setUint16(22,e.channels,!0),c.setUint32(24,e.samplesPerSec,!0),c.setUint32(28,e.avgBytesPerSec,!0),c.setUint16(32,e.channels*(e.bitsPerSample/8),!0),c.setUint16(34,e.bitsPerSample,!0),e.setString(c,36,"data"),c.setUint32(40,0,!0),e}return Object(s.a)(r,[{key:"close",value:function(){}},{key:"header",get:function(){return this.privHeader}}],[{key:"getDefaultInputFormat",value:function(){return new r}},{key:"getAudioContext",value:function(e){var t=window.AudioContext||window.webkitAudioContext||!1;if(t)return void 0!==e&&navigator.mediaDevices.getSupportedConstraints().sampleRate?new t({sampleRate:e}):new t;throw new Error("Browser does not support Web Audio API (AudioContext is not available).")}}]),r}(u)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return y}
2)),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return p})),r.d(t,"f",(function(){return m})),r.d(t,"g",(function(){return o})),r.d(t,"h",(function(){return c})),r.d(t,"i",(function(){return f})),r.d(t,"j",(function(){return l})),r.d(t,"k",(function(){return s})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"n",(function(){return i}));var n=r(28),i=function(e){return null===e||void 0===e},o=function(e){return null!==e&&void 0!==e},a=function(e){return"function"===typeof e},s=function(e){return"string"===typeof e},u=Array.isArray,c=function(e){return e&&!u(e)&&"object"===typeof e},l=function(e){return e&&a(e.then)},p=function(e){return e&&a(e.next)&&a(e.throw)},f=function e(t){return t&&(s(t)||v(t)||a(t)||u(t)&&t.every(e))},d=function(e){return e&&a(e.take)&&a(e.close)},h=function(e){return a(e)&&e.hasOwnProperty("toString")},v=function(e){return Boolean(e)&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},m=function(e){return d(e)&&e[n.e]},y=function(e){return e&&e[n.c]}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(1605),t),i(r(1608),t),i(r(766),t),i(r(1609),t),i(r(767),t),i(r(115),t),i(r(1610),t),i(r(768),t),i(r(162),t),i(r(1611),t),i(r(1612),t),i(r(1613),t),i(r(1614),t),i(r(1615),t),i(r(1616),t),i(r(1617),t),i(r(1618),t),i(r(1619),t),i(r(769),t),i(r(244),t),i(r(457),t),i(r(770),t),i(r(1620),t),i(r(1621),t),i(r(1622),t);var o=r(458);Object.defineProperty(t,"TranslationStatus",{enumerable:!0,get:function(){return o.TranslationStatus}}),i(r(1623),t),i(r(1624),t),i(r(1625),t),i(r(771),t),i(r(1626),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.AutoDetectSourceLanguagesOpenRangeOptionName=t.ForceDictationPropertyName=t.ServicePropertiesPropertyName=t.CancellationErrorCodePropertyName=t.OutputFormatPropertyName=void 0,i(r(1629),t),i(r(1630),t),i(r(459),t),i(r(1631),t),i(r(1632),t),i(r(1633),t),i(r(463),t),i(r(1717),t),i(r(1718),t),i(r(1719),t),i(r(1720),t),i(r(1721),t),i(r(1722),t),i(r(1723),t),i(r(1724),t),i(r(1725),t),i(r(1726),t),i(r(1727),t),i(r(1728),t),i(r(1729),t),i(r(1730),t),i(r(1731),t),i(r(1732),t),i(r(1733),t),i(r(1734),t),i(r(1735),t),i(r(1736),t),i(r(1737),t),i(r(1738),t),i(r(1739),t),i(r(1740),t),i(r(1741),t),i(r(1743),t),i(r(1744),t),i(r(1745),t),i(r(1746),t),i(r(1749),t),i(r(1750),t),i(r(1763),t),i(r(1764),t),i(r(786),t),i(r(1766),t),i(r(1767),t),i(r(1768),t),i(r(1769),t),t.OutputFormatPropertyName="OutputFormat",t.CancellationErrorCodePropertyName="CancellationErrorCode",t.ServicePropertiesPropertyName="ServiceProperties",t.ForceDictationPropertyName="ForceDictation",t.AutoDetectSourceLanguagesOpenRangeOptionName="OpenRange"},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useContext)(o.default);if(!e)throw new Error("This hook can only be used on a component that is a descendant of <Composer>");return e};var n,i=r(0),o=(n=r(407))&&n.__esModule?n:{default:n}}
2,function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().styleSet]};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return s}));var n,i=r(1),o=r(2),a=r(65);!function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(n||(n={}));var s=function(){function e(t,r){Object(i.a)(this,e),this.privName=t,this.privEventId=Object(a.b)(),this.privEventTime=(new Date).toISOString(),this.privEventType=r,this.privMetadata={}}return Object(o.a)(e,[{key:"name",get:function(){return this.privName}},{key:"eventId",get:function(){return this.privEventId}},{key:"eventTime",get:function(){return this.privEventTime}},{key:"eventType",get:function(){return this.privEventType}},{key:"metadata",get:function(){return this.privMetadata}}]),e}()},function(e,t,r){e.exports=r(150)},function(e,t,r){"use strict";var n=r(1),i=r(6),o=r(7),a=r(42),s=r(203);var u=r(344);function c(e,t,r){return(c=Object(u.a)()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&Object(s.a)(i,r.prototype),i}).apply(null,arguments)}function l(e){var t="function"===typeof Map?new Map:void 0;return(l=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,Object(a.a)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Object(s.a)(n,e)})(e)}r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return f})),r.d(t,"c",(function(){return d}));var p=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){var i;return Object(n.a)(this,r),(i=t.call(this,e)).name="ArgumentNull",i.message=e,i}return r}(l(Error)),f=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){var i;return Object(n.a)(this,r),(i=t.call(this,e)).name="InvalidOperation",i.message=e,i}return r}(l(Error)),d=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,i)).name=e+"ObjectDisposed",o.message=i,o}return r}(l(Error))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Contracts=void 0;var n=function(){function e(){}return e.throwIfNullOrUndefined=function(e,t){if(void 0===e||null===e)throw new Error("throwIfNullOrUndefined:"+t)},e.throwIfNull=function(e,t){if(null===e)throw new Error("throwIfNull:"+t)},e.throwIfNullOrWhitespace=function(t,r){if(e.throwIfNullOrUndefined(t,r),(""+t).trim().length<1)throw new Error("throwIfNullOrWhitespace:"+r)},e.throwIfDisposed=function(e){if(e)throw new Error("the object is already disposed")},e.throwIfArrayEmptyOrWhitespace=function(t,r){if(e.throwIfNullOrUndefined(t,r),0===t.length)throw new Error("throwIfArrayEmptyOrWhitespace:"+r);for(var n=0,i=t;n<i.length;n++){var o=i[n];e.throwIfNullOrWhitespace(o,r)}},e.throwIfFileDoesNotExist=function(t,r){e.throwIfNullOrWhitespace(t,r)},e.throwIfNotUndefined=function(e,t){if(void 0!==e)throw new Error("throwIfNotUndefined:"+t)},e}();t.Contracts=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return h})),r.d(t,"h",(function(){return l})),r.d(t,"i",(function(){return p})),r.d(t,"j",(function(){return f})),r.d(t,"k",(function(){return d}));var n=function(e){return"@@redux-saga/"+e},i=n("CANCEL_PROMISE"),o=n("CHANNEL_END"),a=n("IO"),s=n("MATCH"),u=n("MULTICAST"),c=n("SAGA_ACTION"),l=n("SELF_CANCELLATION"),p=n("TASK"),f=n("TASK_CANCEL"),d=n("TERMINATE"),h=n("LOCATION")},function(e,t,r){"use strict";var n=r(123),i=r(986),o=r(401),a=r(988),s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,o=i.toSubscriber(e,t,r);if(n?n.call(o,this.source):o.add(this.source||!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var r=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t((function(t,n){var i;i=r.subscribe((function(t){if(i)try{e(t)}catch(r){n(r),i.unsubscribe()}else e(t)}),n,t)}))},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 0===e.length?this:a.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();t.Observable=s},function(e,t,r){"use strict";var n=r(6),i=r(7),o=r(1),a=r(2),s=function e(t,r){var n=this;Object(o.a)(this,e),this.encode=function(e){var t=n.downSampleAudioFrame(e,n.privActualSampleRate,n.privDesiredSampleRate);if(!t)return null;var r=2*t.length,i=new ArrayBuffer(r),o=new DataView(i);return n.floatTo16BitPCM(o,0,t),i},this.setString=function(e,t,r){for(var n=0;n<r.length;n++)e.setUint8(t+n,r.charCodeAt(n))},this.floatTo16BitPCM=function(e,t,r){for(var n=0;n<r.length;n++,t+=2){var i=Math.max(-1,Math.min(1,r[n]));e.setInt16(t,i<0?32768*i:32767*i,!0)}},this.downSampleAudioFrame=function(e,t,r){if(r===t||r>t)return e;for(var n=t/r,i=Math.round(e.length/n),o=new Float32Array(i),a=0,s=0;s<i;){for(var u=Math.round((s+1)*n),c=0,l=0;a<u&&a<e.length;)c+=e[a++],l++;o[s++]=c/l}return o},this.privActualSampleRate=t,this.privDesiredSampleRate=r},u=function(){function e(){var t=this;Object(o.a)(this,e),this.record=function(e,r,n){var i=function(){var t=0;try{return e.createScriptProcessor(t,1,1)}catch(n){t=2048;for(var r=e.sampleRate;t<16384&&r>=32e3;)t<<=1,r>>=1;return e.createScriptProcessor(t,1,1)}}(),o=new s(e.sampleRate,16e3);i.onaudioprocess=function(e){var t=e.inputBuffer.getChannelData(0);if(n&&!n.isClosed){var r=o.encode(t);r&&(n.writeStreamChunk({buffer:r,isEnd:!1,timeReceived:Date.now()}),!1)}};var a=e.createMediaStreamSource(r);t.privSpeechProcessorScript&&e.audioWorklet?e.audioWorklet.addModule(t.privSpeechProcessorScript).then((function(){var i=new AudioWorkletNode(e,"speech-processor");i.port.onmessage=function(e){var t=e.data;if(n&&!n.isClosed){var r=o.encode(t);r&&(n.writeStreamChunk({buffer:r,isEnd:!1,timeReceived:Date.now()}),!1)}},a.connect(i),i.connect(e.destination),t.privMediaResources={scriptProcessorNode:i,source:a,stream:r}})).catch((function(){a.connect(i),i.connect(e.destination),t.privMediaResources={scriptProcessorNode:i,source:a,stream:r}})):(a.connect(i),i.connect(e.destination),t.privMediaResources={scriptProcessorNode:i,source:a,stream:r})},this.releaseMediaResources=function(e){t.privMediaResources&&(t.privMediaResources.scriptProcessorNode&&(t.privMediaResources.scriptProcessorNode.disconnect(e.destination),t.privMediaResources.scriptProcessorNode=null),t.privMediaResources.source&&(t.privMediaResources.source.disconnect(),t.privMediaResources.stream.getTracks().forEac
2h((function(e){return e.stop()})),t.privMediaResources.source=null))}}return Object(a.a)(e,[{key:"setWorkletUrl",value:function(e){this.privSpeechProcessorScript=e}}]),e}(),c=r(32),l=r(3),p=r.n(l),f=r(104),d=r(170),h=r(96),v=r(1974),m=r(517),y=r(65),T=r(212),b=r(14),g=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},_=function(){function e(t,r,n,i){var a=this;Object(o.a)(this,e),this.privRecorder=t,this.deviceId=r,this.privStreams={},this.turnOn=function(){if(a.privInitializeDeferral)return a.privInitializeDeferral.promise;a.privInitializeDeferral=new d.a;try{a.createAudioContext()}catch(o){if(o instanceof Error){var e=o;a.privInitializeDeferral.reject(e.name+": "+e.message)}else a.privInitializeDeferral.reject(o);return a.privInitializeDeferral.promise}var t=window.navigator,r=t.getUserMedia||t.webkitGetUserMedia||t.mozGetUserMedia||t.msGetUserMedia;if(t.mediaDevices&&(r=function(e,r,n){t.mediaDevices.getUserMedia(e).then(r).catch(n)}),r){var n=function(){a.onEvent(new h.b(a.privId)),a.privMediaStream&&a.privMediaStream.active?(a.onEvent(new h.d(a.privId)),a.privInitializeDeferral.resolve()):r({audio:!a.deviceId||{deviceId:a.deviceId},video:!1},(function(e){a.privMediaStream=e,a.onEvent(new h.d(a.privId)),a.privInitializeDeferral.resolve()}),(function(e){var t="Error occurred during microphone initialization: ".concat(e);a.privInitializeDeferral.reject(t),a.onEvent(new h.a(a.privId,t))}))};"suspended"===a.privContext.state?a.privContext.resume().then(n).catch((function(e){a.privInitializeDeferral.reject("Failed to initialize audio context: ".concat(e))})):n()}else{var i="Browser does not support getUserMedia.";a.privInitializeDeferral.reject(i),a.onEvent(new h.a(i,""))}return a.privInitializeDeferral.promise},this.id=function(){return a.privId},this.attach=function(e){return a.onEvent(new h.f(a.privId,e)),a.listen(e).then((function(t){return a.onEvent(new h.e(a.privId,e)),{detach:function(){return g(a,void 0,void 0,p.a.mark((function r(){return p.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.readEnded(),delete this.privStreams[e],this.onEvent(new h.g(this.privId,e)),r.abrupt("return",this.turnOff());case 4:case"end":return r.stop()}}),r,this)})))},id:function(){return e},read:function(){return t.read()}}}))},this.detach=function(e){e&&a.privStreams[e]&&(a.privStreams[e].close(),delete a.privStreams[e],a.onEvent(new h.g(a.privId,e)))},this.listen=function(e){return g(a,void 0,void 0,p.a.mark((function t(){var r,n;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.turnOn();case 2:r=new v.a(this.privOutputChunkSize,e),this.privStreams[e]=r,t.prev=4,this.privRecorder.record(this.privContext,this.privMediaStream,r),t.next=12;break;case 8:throw t.prev=8,t.t0=t.catch(4),this.onEvent(new h.h(this.privId,e,t.t0)),t.t0;case 12:return n=r,t.abrupt("return",n);case 14:case"end":return t.stop()}}),t,this,[[4,8]])})))},this.onEvent=function(e){a.privEvents.onEvent(e),m.a.instance.onEvent(e)},this.createAudioContext=function(){a.privContext||(a.privContext=b.c.getAudioContext(e.AUDIOFORMAT.samplesPerSec))},this.privOutputChunkSize=e.AUDIOFORMAT.avgBytesPerSec/10,this.privId=n||Object(y.b)(),this.privEvents=new T.a,this.privMediaStream=i||null}return Object(a.a)(e,[{key:"format",get:function(){return Promise.resolve(e.AUDIOFORMAT)}},{key:"blob",get:function(){return Promise.reject("Not implemented for Mic input")}},{key:"turnOff",value:function(){return g(this,void 0,void 0,p.a.mark((function e(){var t,r;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t in this.privStreams)t&&(r=this.privStreams[t])&&r.close();if(this.onEvent(new h.c(this.privId)),!this.privInitializeDeferral){e.next=6;break}return e.next=5,this.privInitializeDeferral;case 5:this.privInitializeDeferral=null;case 6:return e.next=8,this.destroyAudioContext();case 8:return e.abrupt("return");case 9:case"end":return e.stop()}}),e,this)})))}},{key:"events",get:function(){return this.privEvents}},{key:"deviceInfo",get:function(){return this.getMicrophoneLabel().then((function(t){return{bitspersample:e.AUDIOFORMAT.bitsPerSample,channelcount:e.AUDIOFORMAT.channels,connectivity:f.f.Unknown,manufacturer:"Speech SDK",model:t,samplerate:e.AUDIOFORMAT.
2samplesPerSec,type:f.g.Microphones}}))}},{key:"setProperty",value:function(e,t){if("MICROPHONE-WorkletSourceUrl"!==e)throw new Error("Property '"+e+"' is not supported on Microphone.");this.privRecorder.setWorkletUrl(t)}},{key:"getMicrophoneLabel",value:function(){var e=this;if(void 0!==this.privMicrophoneLabel)return Promise.resolve(this.privMicrophoneLabel);if(void 0===this.privMediaStream||!this.privMediaStream.active)return Promise.resolve("microphone");this.privMicrophoneLabel="microphone";var t=this.privMediaStream.getTracks()[0].getSettings().deviceId;if(void 0===t)return Promise.resolve(this.privMicrophoneLabel);var r=new d.a;return navigator.mediaDevices.enumerateDevices().then((function(n){var i,o=Object(c.a)(n);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(a.deviceId===t){e.privMicrophoneLabel=a.label;break}}}catch(s){o.e(s)}finally{o.f()}r.resolve(e.privMicrophoneLabel)}),(function(){return r.resolve(e.privMicrophoneLabel)})),r.promise}},{key:"destroyAudioContext",value:function(){return g(this,void 0,void 0,p.a.mark((function e(){var t;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privContext){e.next=2;break}return e.abrupt("return");case 2:if(this.privRecorder.releaseMediaResources(this.privContext),t=!1,"close"in this.privContext&&(t=!0),!t){e.next=11;break}return e.next=8,this.privContext.close();case 8:this.privContext=null,e.next=14;break;case 11:if(null===this.privContext||"running"!==this.privContext.state){e.next=14;break}return e.next=14,this.privContext.suspend();case 14:case"end":return e.stop()}}),e,this)})))}}]),e}();_.AUDIOFORMAT=b.b.getDefaultInputFormat();var S,A,E=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},C=function(){function e(t,r,n){var i=this;Object(o.a)(this,e),this.privStreams={},this.privHeaderEnd=44,this.turnOn=function(){if(i.privFilename.lastIndexOf(".wav")!==i.privFilename.length-4){var e=i.privFilename+" is not supported. Only WAVE files are allowed at the moment.";return i.onEvent(new h.a(e,"")),Promise.reject(e)}i.onEvent(new h.b(i.privId)),i.onEvent(new h.d(i.privId))},this.id=function(){return i.privId},this.attach=function(e){return E(i,void 0,void 0,p.a.mark((function t(){var r,n=this;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.onEvent(new h.f(this.privId,e)),t.next=3,this.upload(e);case 3:return r=t.sent,this.onEvent(new h.e(this.privId,e)),t.abrupt("return",Promise.resolve({detach:function(){return E(n,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.readEnded(),delete this.privStreams[e],this.onEvent(new h.g(this.privId,e)),t.next=5,this.turnOff();case 5:case"end":return t.stop()}}),t,this)})))},id:function(){return e},read:function(){return r.read()}}));case 6:case"end":return t.stop()}}),t,this)})))},this.detach=function(e){e&&i.privStreams[e]&&(i.privStreams[e].close(),delete i.privStreams[e],i.onEvent(new h.g(i.privId,e)))},this.turnOff=function(){for(var e in i.privStreams)if(e){var t=i.privStreams[e];t&&!t.isClosed&&t.close()}return i.onEvent(new h.c(i.privId)),Promise.resolve()},this.onEvent=function(e){i.privEvents.onEvent(e),m.a.instance.onEvent(e)},this.privId=n||Object(y.b)(),this.privEvents=new T.a,this.privSource=t,"undefined"!==typeof window&&"undefined"!==typeof Blob&&this.privSource instanceof Blob?this.privFilename=t.name:this.privFilename=r||"unknown.wav",this.privAudioFormatPromise=this.readHeader()}return Object(a.a)(e,[{key:"format",get:function(){return this.privAudioFormatPromise}},{key:"blob",get:function(){return Promise.resolve(this.privSource)}},{key:"events",get:function(){return this.privEvents}},{key:"deviceInfo",get:function(){return this.privAudioFormatPromise.then((function(e){return Promise.resolve({bitspersample:e.bitsPerSample,channelcount:e.channels,connectivity:f.f.Unknown,manufacturer:"Speech SDK",model:"File",samplerate:e.s
2amplesPerSec,type:f.g.File})}))}},{key:"readHeader",value:function(){var e=this,t=this.privSource.slice(0,512),r=new d.a,n=function(t){var n=new DataView(t),i=function(e){return String.fromCharCode(n.getUint8(e),n.getUint8(e+1),n.getUint8(e+2),n.getUint8(e+3))};if("RIFF"===i(0))if("WAVE"===i(8)&&"fmt "===i(12)){for(var o=n.getInt32(16,!0),a=n.getUint16(22,!0),s=n.getUint32(24,!0),u=n.getUint16(34,!0),c=36+Math.max(o-16,0);"data"!==i(c);c+=2)if(c>504)return void r.reject("Invalid WAV header in file, data block was not found");e.privHeaderEnd=c+8,r.resolve(b.b.getWaveFormatPCM(s,u,a))}else r.reject("Invalid WAV header in file, WAVEfmt was not found");else r.reject("Invalid WAV header in file, RIFF was not found")};if("undefined"!==typeof window&&"undefined"!==typeof Blob&&t instanceof Blob){var i=new FileReader;i.onload=function(e){var t=e.target.result;n(t)},i.readAsArrayBuffer(t)}else{var o=t;n(o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength))}return r.promise}},{key:"upload",value:function(e){return E(this,void 0,void 0,p.a.mark((function t(){var r,n,i,o,a,s,u,c=this;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=function(t){var r="Error occurred while processing '".concat(c.privFilename,"'. ").concat(t);throw c.onEvent(new h.h(c.privId,e,r)),new Error(r)},t.prev=1,t.next=4,this.turnOn();case 4:return t.next=6,this.privAudioFormatPromise;case 6:return n=t.sent,i=new v.a(n.avgBytesPerSec/10,e),this.privStreams[e]=i,o=this.privSource.slice(this.privHeaderEnd),a=function(e){i.isClosed||(i.writeStreamChunk({buffer:e,isEnd:!1,timeReceived:Date.now()}),i.close())},"undefined"!==typeof window&&"undefined"!==typeof Blob&&o instanceof Blob?((s=new FileReader).onerror=function(e){r(e.toString())},s.onload=function(e){var t=e.target.result;a(t)},s.readAsArrayBuffer(o)):a((u=o).buffer.slice(u.byteOffset,u.byteOffset+u.byteLength)),t.abrupt("return",i);case 15:t.prev=15,t.t0=t.catch(1),r(t.t0);case 18:case"end":return t.stop()}}),t,this,[[1,15]])})))}}]),e}(),O=r(4),I=function e(){Object(o.a)(this,e)},w=r(199),P=r(10),N=r(340),R=r(1977),k=r(79),x=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},M=(S={},Object(P.a)(S,b.a.PCM,"audio/wav"),Object(P.a)(S,b.a.MuLaw,"audio/x-wav"),Object(P.a)(S,b.a.MP3,"audio/mpeg"),Object(P.a)(S,b.a.OGG_OPUS,"audio/ogg"),Object(P.a)(S,b.a.WEBM_OPUS,"audio/webm; codecs=opus"),Object(P.a)(S,b.a.ALaw,"audio/x-wav"),S),L=function(){function e(t){Object(o.a)(this,e),this.privPlaybackStarted=!1,this.privAppendingToBuffer=!1,this.privMediaSourceOpened=!1,this.privBytesReceived=0,this.privId=t||Object(y.b)(),this.privIsPaused=!1,this.privIsClosed=!1}return Object(a.a)(e,[{key:"id",value:function(){return this.privId}},{key:"write",value:function(e,t,r){void 0!==this.privAudioBuffer?(this.privAudioBuffer.push(e),this.updateSourceBuffer().then((function(){t&&t()}),(function(e){r&&r(e)}))):void 0!==this.privAudioOutputStream&&(this.privAudioOutputStream.write(e),this.privBytesReceived+=e.byteLength)}},{key:"close",value:function(e,t){var r=this;if(this.privIsClosed=!0,void 0!==this.privSourceBuffer)this.handleSourceBufferUpdateEnd().then((function(){e&&e()}),(function(e){t&&t(e)}));else if(void 0!==this.privAudioOutputStream)if(this.privFormat.formatTag!==b.a.PCM&&this.privFormat.formatTag!==b.a.MuLaw&&this.privFormat.formatTag!==b.a.ALaw||!1!==this.privFormat.hasHeader){var n=new ArrayBuffer(this.privBytesReceived);this.privAudioOutputStream.read(n).then((function(i){n=N.a.addHeader(n,r.privFormat);var o=new Blob([n],{type:M[r.privFormat.formatTag]});r.privAudio.src=window.URL.createObjectURL(o),r.notifyPlayback().then((function(){e&&e()}),(function(e){t&&t(e)}))}),(function(e){t&&t(e)}))}else console.warn("Play back is not supported for raw PCM, mulaw or alaw format without header."),this.onAudioEnd&&this.onAudioEnd(this);else this.onAudioEnd&&this.onAudioEnd(this)}},{key:"format",set:function(e){var t=this;if("undefined"!==typeof AudioContext||"undefined"!==typeof window.webkitAudioContext){this.privFormat=e;var r=M[this.privFormat.formatTag];void 0===r?console.warn("Unknown mimeType for format ".concat(b.a[this.privFormat.formatTag],"; playback is not supported.")):"undefined"!==typeof MediaSource&&MediaSource.isTypeSupp
2orted(r)?(this.privAudio=new Audio,this.privAudioBuffer=[],this.privMediaSource=new MediaSource,this.privAudio.src=URL.createObjectURL(this.privMediaSource),this.privAudio.load(),this.privMediaSource.onsourceopen=function(e){t.privMediaSourceOpened=!0,t.privMediaSource.duration=1800,t.privSourceBuffer=t.privMediaSource.addSourceBuffer(r),t.privSourceBuffer.onupdate=function(e){t.updateSourceBuffer().catch((function(e){m.a.instance.onEvent(new R.a(e))}))},t.privSourceBuffer.onupdateend=function(e){t.handleSourceBufferUpdateEnd().catch((function(e){m.a.instance.onEvent(new R.a(e))}))},t.privSourceBuffer.onupdatestart=function(e){t.privAppendingToBuffer=!1}},this.updateSourceBuffer().catch((function(e){m.a.instance.onEvent(new R.a(e))}))):(console.warn("Format ".concat(b.a[this.privFormat.formatTag]," could not be played by MSE, streaming playback is not enabled.")),this.privAudioOutputStream=new k.c,this.privAudioOutputStream.format=this.privFormat,this.privAudio=new Audio)}}},{key:"isClosed",get:function(){return this.privIsClosed}},{key:"currentTime",get:function(){return void 0!==this.privAudio?this.privAudio.currentTime:-1}},{key:"pause",value:function(){this.privIsPaused||void 0===this.privAudio||(this.privAudio.pause(),this.privIsPaused=!0)}},{key:"resume",value:function(e,t){this.privIsPaused&&void 0!==this.privAudio&&(this.privAudio.play().then((function(){e&&e()}),(function(e){t&&t(e)})),this.privIsPaused=!1)}},{key:"internalAudio",get:function(){return this.privAudio}},{key:"updateSourceBuffer",value:function(){return x(this,void 0,void 0,p.a.mark((function e(){var t;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==this.privAudioBuffer&&this.privAudioBuffer.length>0&&this.sourceBufferAvailable())){e.next=16;break}this.privAppendingToBuffer=!0,t=this.privAudioBuffer.shift(),e.prev=3,this.privSourceBuffer.appendBuffer(t),e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(3),this.privAudioBuffer.unshift(t),console.log("buffer filled, pausing addition of binaries until space is made"),e.abrupt("return");case 12:return e.next=14,this.notifyPlayback();case 14:e.next=19;break;case 16:if(!this.canEndStream()){e.next=19;break}return e.next=19,this.handleSourceBufferUpdateEnd();case 19:case"end":return e.stop()}}),e,this,[[3,7]])})))}},{key:"handleSourceBufferUpdateEnd",value:function(){return x(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.canEndStream()||!this.sourceBufferAvailable()){e.next=4;break}return this.privMediaSource.endOfStream(),e.next=4,this.notifyPlayback();case 4:case"end":return e.stop()}}),e,this)})))}},{key:"notifyPlayback",value:function(){return x(this,void 0,void 0,p.a.mark((function e(){var t=this;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privPlaybackStarted||void 0===this.privAudio){e.next=7;break}if(this.privPlaybackStarted=!0,this.onAudioStart&&this.onAudioStart(this),this.privAudio.onended=function(){t.onAudioEnd&&t.onAudioEnd(t)},this.privIsPaused){e.next=7;break}return e.next=7,this.privAudio.play();case 7:case"end":return e.stop()}}),e,this)})))}},{key:"canEndStream",value:function(){return this.isClosed&&void 0!==this.privSourceBuffer&&0===this.privAudioBuffer.length&&this.privMediaSourceOpened&&!this.privAppendingToBuffer&&"open"===this.privMediaSource.readyState}},{key:"sourceBufferAvailable",value:function(){return void 0!==this.privSourceBuffer&&!this.privSourceBuffer.updating}}]),e}(),j=function e(){Object(o.a)(this,e)},D=r(213),U=function(){function e(t){var r=this;Object(o.a)(this,e),this.id=function(){return r.privId},O.a.throwIfNullOrUndefined(D.openSync,"\nFile System access not available, please use Push or PullAudioOutputStream"),this.privFd=D.openSync(t,"w")}return Object(a.a)(e,[{key:"format",set:function(e){O.a.throwIfNotUndefined(this.privAudioFormat,"format is already set"),this.privAudioFormat=e;var t=0;this.privAudioFormat.hasHeader&&(t=this.privAudioFormat.header.byteLength),void 0!==this.privFd&&(this.privWriteStream=D.createWriteStream("",{fd:this.privFd,start:t,autoClose:!1}))}},{key:"write",value:function(e){O.a.throwIfNullOrUndefined(this.privAudioFormat,"must set format before writing."),void 0!==this.privWriteStream&&this.privWriteStream.write(new Uint8Array(e.slice(0)))}},{key:"close",value:function(){var e=this;void 0!==this.privFd&&(this.privWriteStream.on("finish",(function(){e.privAudioFormat.hasHeader&&(e.privAudioFormat.updateHeader(e.privWriteStream.bytesWritten),D.writeSync(e.privFd,new Int8Array(e.privAudioFormat.header),0,e.privAudioFormat.header.byteLength,0)),D.closeSync(e.privFd),e.privFd=void 0})),this.privWriteStream.end())}}]),e}(),B=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,null,[{key:"fromDefaultMicrophoneInput",value:function(){var e=new u;return new F(new _(e))}},{key:"fromMicrophoneInput",value:function(e){var t=new u;return new F(new _(t,e))}},{key:"fromWavFileInput",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unnamedBuffer.wav";return new F(new C(e,t))}},{key:"fromStreamInput",value:function(e){if(e instanceof I)return new F(new w.c(e));if(e instanceof w.a)return new F(e);if("undefined"!==typeof MediaStream&&e instanceof MediaStream){var t=new u;return new F(new _(t,null,null,e))}throw new Error("Not Supported Type")}},{key:"fromDefaultSpeakerOutput",value:function(){return new V(new L)}},{key:"fromSpeakerOutput",value:function(t){if(void 0===t)return e.fromDefaultSpeakerOutput();if(t instanceof L)return new V(t);throw new Error("Not Supported Type")}},{key:"fromAudioFileOutput",value:function(e){return new V(new U(e))}},{key:"fromStreamOutput",value:function(e){if(e instanceof j)return new V(new k.e(e));if(e instanceof k.d)return new V(e);if(e instanceof k.b)return new V(e);throw new Error("Not Supported Type")}}]),e}(),F=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e){var n;return Object(o.a)(this,r),(n=t.call(this)).privSource=e,n}return Object(a.a)(r,[{key:"format",get:function(){return this.privSource.format}},{key:"close",value:function(e,t){this.privSource.turnOff().then((function(){e&&e()}),(function(e){t&&t(e)}))}},{key:"id",value:function(){return this.privSource.id()}},{key:"blob",get:function(){return this.privSource.blob}},{key:"turnOn",value:function(){return this.privSource.turnOn()}},{key:"attach",value:function(e){return this.privSource.attach(e)}},{key:"detach",value:function(e){return this.privSource.detach(e)}},{key:"turnOff",value:function(){return this.privSource.turnOff()}},{key:"events",get:function(){return this.privSource.events}},{key:"setProperty",value:function(e,t){if(O.a.throwIfNull(t,"value"),void 0===this.privSource.setProperty)throw new Error("This AudioConfig instance does not support setting properties.");this.privSource.setProperty(e,t)}},{key:"getProperty",value:function(e,t){if(void 0!==this.privSource.getProperty)return this.privSource.getProperty(e,t);throw new Error("This AudioConfig instance does not support getting properties.")}},{key:"deviceInfo",get:function(){return this.privSource.deviceInfo}}]),r}(B),V=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e){var n;return Object(o.a)(this,r),(n=t.call(this)).privDestination=e,n}return Object(a.a)(r,[{key:"format",set:function(e){this.privDestination.format=e}},{key:"write",value:function(e){this.privDestination.write(e)}},{key:"close",value:function(){this.privDestination.close()}},{key:"id",value:function(){return this.privDestination.id()}},{key:"setProperty",value:function(e,t){throw new Error("This AudioConfig instance does not support setting properties.")}},{key:"getProperty",value:function(e,t){throw new Error("This AudioConfig instance does not support getting properties.")}}]),r}(B),z=r(148),H=function(){function e(){Object(o.a)(this,e),this.privDisposed=!1}return Object(a.a)(e,[{key:"close",value:function(){this.privDisposed||(this.privDisposed=!0)}}],[{key:"fromFile",value:function(e){throw O.a.throwIfFileDoesNotExist(e,"fileName"),new Error("Not yet implemented.")}},{key:"fromStream",value:function(e){throw O.a.throwIfNull(e,"file"),new Error("Not yet implemented.")}}]),e}(),G=r(345),q=r(208),Y=r(105),W=r(171),K=r(497),$=r(94),J=r(172),X=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,null,[{key:"fromEndpoint",value:function(e){O.a.throwIfNull(e,"uri"),O.a.throwIfNullOrWhitespace(e.hostname,"uri");var t=new Z,r=e.host.indexOf(".");if(-1===r)throw new Error("Could not determine region from endpoint");t.region=e.host.substr(0,r);var n=e.pathname.lastIndexOf("/")+1;if(-1===n)throw new Error("Could not determine appId from endpoint");if(t.appId=e.pathname.substr(n),t.subscriptionKey=e.searchParams.get("subscription-key"),void 0===t.subscriptionKey)throw new Error("Could not determine subscription key from endpoint");return t}},{key:"fromAppId",value:function(e){O.a.throwIfNullOrWhitespace(e,"appId");var t=new Z;return t.appId=e,t}},{key:"fromSubscription",value:function(e,t,r){O.a.throwIfNullOrWhitespace(e,"subscriptionKey"),O.a.throwIfNullOrWhitespace(t,"appId"),O.a.throwIfNullOrWhitespace(r,"region");var n=new Z;return n.appId=t,n.region=r,n.subscriptionKey=e,n}}]),e}(),Z=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}return r}(X),Q=r(168),ee=r(498),te=r(346),re=r(347),ne=r(169),ie=r(348),oe=r(34),ae=r(341),se=r(11),ue=r(9),ce=r(68),le=r(499),pe=r(31),fe=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.call(this)}return Object(a.a)(r,null,[{key:"fromSubscription",value:function(e,t){O.a.throwIfNullOrWhitespace(e,"subscriptionKey"),O.a.throwIfNullOrWhitespace(t,"region");var r=new de;return r.properties.setProperty(ue.a.SpeechServiceConnection_Key,e),r.properties.setProperty(ue.a.SpeechServiceConnection_Region,t),r}},{key:"fromAuthorizationToken",value:function(e,t){O.a.throwIfNullOrWhitespace(e,"authorizationToken"),O.a.throwIfNullOrWhitespace(t,"region");var r=new de;return r.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e),r.properties.setProperty(ue.a.SpeechServiceConnection_Region,t),r}},{key:"fromHost",value:function(e,t){O.a.throwIfNull(e,"hostName");var r=new de;return r.setProperty(ue.a.SpeechServiceConnection_Host,e.protocol+"//"+e.hostname+(""===e.port?"":":"+e.port)),void 0!==t&&r.setProperty(ue.a.SpeechServiceConnection_Key,t),r}},{key:"fromEndpoint",value:function(e,t){O.a.throwIfNull(e,"endpoint"),O.a.throwIfNull(t,"subscriptionKey");var r=new de;return r.properties.setProperty(ue.a.SpeechServiceConnection_Endpoint,e.href),r.properties.setProperty(ue.a.SpeechServiceConnection_Key,t),r}}]),r}(ae.a),de=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).privSpeechProperties=new ce.a,e.outputFormat=Y.a.Simple,e}return Object(a.a)(r,[{key:"authorizationToken",set:function(e){O.a.throwIfNullOrWhitespace(e,"value"),this.privSpeechProperties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"speechRecognitionLanguage",get:function(){return this.privSpeechProperties.getProperty(ue.a[ue.a.SpeechServiceConnection_RecoLanguage])},set:function(e){O.a.throwIfNullOrWhitespace(e,"value"),this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_RecoLanguage,e)}},{key:"subscriptionKey",get:function(){return this.privSpeechProperties.getProperty(ue.a[ue.a.SpeechServiceConnection_Key])}},{key:"outputFormat",get:function(){return Y.a[this.privSpeechProperties.getProperty(se.OutputFormatPropertyName,void 0)]},set:function(e){this.privSpeechProperties.setProperty(se.OutputFormatPropertyName,Y.a[e])}},{key:"endpointId",get:function(){return this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_EndpointId)},set:function(e){this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_EndpointId,e)}},{key:"addTargetLanguage",value:function(e){O.a.throwIfNullOrWhitespace(e,"value");var t=this.targetLanguages;t.push(e),this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_TranslationToLanguages,t.join(","))}},{key:"targetLanguages",get:function(){return void 0!==this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_TranslationToLanguages,void 0)?this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_TranslationToLanguages).split(","):[]}},{key:"voiceName",get:function(){return this.getProperty(ue.a[ue.a.SpeechServiceConnection_TranslationVoice])},set:function(e){O.a.throwIfNullOrWhitespace(e,"value"),this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_TranslationVoice,e)}},{key:"region",get:function(){return this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_Region)}},{key:"setProxy",value:function(e,t,r,n){this.setProperty(ue.a[ue.a.SpeechServiceConnection_ProxyHostName],e),this.setProperty(ue.a[ue.a.SpeechServiceConnection_ProxyPort],t),this.setProperty(ue.a[ue.a.SpeechServiceConnection_ProxyUserName],r),this.setProperty(ue.a[ue.a.SpeechServiceConnection_ProxyPassword],n)}},{key:"getProperty",value:function(e,t){return this.privSpeechProperties.getProperty(e,t)}},{key:"setProperty",value:function(e,t){this.privSpeechProperties.setProperty(e,t)}},{key:"properties",get:function(){return this.privSpeechProperties}},{key:"close",value:function(){}},{key:"setServiceProperty",value:function(e,t,r){var n=JSON.parse(this.privSpeechProperties.getProperty(se.ServicePropertiesPropertyName,"{}"));n[e]=t,this.privSpeechProperties.setProperty(se.ServicePropertiesPropertyName,JSON.stringify(n))}},{key:"setProfanity",value:function(e){this.privSpeechProperties.setProperty(ue.a.SpeechServiceResponse_ProfanityOption,le.a[e])}},{key:"enableAudioLogging",value:function(){this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_EnableAudioLogging,"true")}},{key:"requestWordLevelTimestamps",value:function(){this.privSpeechProperties.setProperty(ue.a.SpeechServiceResponse_RequestWordLevelTimestamps,"true")}},{key:"enableDictation",value:function(){this.privSpeechProperties.setProperty(se.ForceDictationPropertyName,"true")}},{key:"speechSynthesisLanguage",get:function(){return this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_SynthLanguage)},set:function(e){this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_SynthLanguage,e)}},{key:"speechSynthesisVoiceName",get:function(){return this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_SynthVoice)},set:function(e){this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_SynthVoice,e)}},{key:"speechSynthesisOutputFormat",get:function(){return pe.a[this.privSpeechProperties.getProperty(ue.a.SpeechServiceConnection_SynthOutputFormat,void 0)]},set:function(e){this.privSpeechProperties.setProperty(ue.a.SpeechServiceConnection_SynthOutputFormat,pe.a[e])}}]),r}(fe),he=r(211),ve=r(803),me=r(804),ye=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Te=function(){function e(t,r,n){Object(o.a)(this,e),this.audioConfig=void 0!==t?t:B.fromDefaultMicrophoneInput(),this.privDisposed=!1,this.privProperties=r.clone(),this.privConnectionFactory=n,this.implCommonRecognizerSetup()}return Object(a.a)(e,[{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privDisposed),Object(d.b)(this.dispose(!0),e,t)}},{key:"internalData",get:function(){return this.privReco}},{key:"dispose",value:function(e){return ye(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposed){t.next=2;break}return t.abrupt("return");case 2:if(this.privDisposed=!0,!e){t.next=9;break}if(!this.privReco){t.next=9;break}return t.next=7,this.privReco.audioSource.turnOff();case 7:return t.next=9,this.privReco.dispose();case 9:case"end":return t.stop()}}),t,this)})))}},{key:"implCommonRecognizerSetup",value:function(){var t="undefined"!==typeof window?"Browser":"Node",r="unknown",n="unknown";"undefined"!==typeof navigator&&(t=t+"/"+navigator.platform,r=navigator.userAgent,n=navigator.appVersion);var i=this.createRecognizerConfig(new f.e(n
2ew f.a(new f.b(t,r,n))));this.privReco=this.createServiceRecognizer(e.getAuthFromProperties(this.privProperties),this.privConnectionFactory,this.audioConfig,i)}},{key:"recognizeOnceAsyncImpl",value:function(e){return ye(this,void 0,void 0,p.a.mark((function t(){var r,n;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return O.a.throwIfDisposed(this.privDisposed),r=new d.a,t.next=4,this.implRecognizerStop();case 4:return t.next=6,this.privReco.recognize(e,r.resolve,r.reject);case 6:return t.next=8,r.promise;case 8:return n=t.sent,t.next=11,this.implRecognizerStop();case 11:return t.abrupt("return",n);case 12:case"end":return t.stop()}}),t,this)})))}},{key:"startContinuousRecognitionAsyncImpl",value:function(e){return ye(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return O.a.throwIfDisposed(this.privDisposed),t.next=3,this.implRecognizerStop();case 3:return t.next=5,this.privReco.recognize(e,void 0,void 0);case 5:case"end":return t.stop()}}),t,this)})))}},{key:"stopContinuousRecognitionAsyncImpl",value:function(){return ye(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O.a.throwIfDisposed(this.privDisposed),e.next=3,this.implRecognizerStop();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"implRecognizerStop",value:function(){return ye(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privReco){e.next=3;break}
2return e.next=3,this.privReco.stopRecognizing();case 3:return e.abrupt("return");case 4:case"end":return e.stop()}}),e,this)})))}}],[{key:"telemetryEnabled",get:function(){return he.a.telemetryDataEnabled}},{key:"enableTelemetry",value:function(e){he.a.telemetryDataEnabled=e}},{key:"getAuthFromProperties",value:function(e){var t=e.getProperty(ue.a.SpeechServiceConnection_Key,void 0);return t&&""!==t?new ve.a(t):new me.a((function(t){var r=e.getProperty(ue.a.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}),(function(t){var r=e.getProperty(ue.a.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}))}}]),e}(),be=r(52),ge=r(42),_e=r(805),Se=r(806),Ae=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Ee=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;Object(o.a)(this,r);var a=e;return O.a.throwIfNull(a,"speechConfig"),O.a.throwIfNullOrWhitespace(a.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage),ue.a[ue.a.SpeechServiceConnection_RecoLanguage]),(i=t.call(this,n,a.properties,new _e.a)).privDisposedRecognizer=!1,i}return Object(a.a)(r,[{key:"endpointId",get:function(){return O.a.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_EndpointId,"00000000-0000-0000-0000-000000000000")}},{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"speechRecognitionLanguage",get:function(){return O.a.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage)}},{key:"outputFormat",get:function(){return O.a.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(se.OutputFormatPropertyName,Y.a[Y.a.Simple])===Y.a[Y.a.Simple]?Y.a.Simple:Y.a.Detailed}},{key:"properties",get:function(){return this.privProperties}},{key:"recognizeOnceAsync",value:function(e,t){Object(d.b)(this.recognizeOnceAsyncImpl(f.c.Interactive),e,t)}},{key:"startContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.startContinuousRecognitionAsyncImpl(f.c.Conversation),e,t)}},{key:"stopContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.stopContinuousRecognitionAsyncImpl(),e,t)}},{key:"startKeywordRecognitionAsync",value:function(e,t,r){O.a.throwIfNull(e,"model"),r&&r("Not yet implemented.")}},{key:"stopKeywordRecognitionAsync",value:function(e,t){e&&e()}},{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privDisposedRecognizer),Object(d.b)(this.dispose(!0),e,t)}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dispose",t)}}});return Ae(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposedRecognizer){t.next=2;break}return t.abrupt("return");case 2:if(!e){t.next=6;break}return this.privDisposedRecognizer=!0,t.next=6,this.implRecognizerStop();case 6:return t.next=8,n.dispose.call(this,e);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"createRecognizerConfig",value:function(e){return new f.d(e,this.properties)}},{key:"createServiceRecognizer",value:function(e,t,r,n){var i=r;return new Se.a(e,t,i,n,this)}}],[{key:"FromConfig",value:function(e,t,n){var i=e;return t.properties.mergeTo(i.properties),new r(e,n)}}]),r}(Te),Ce=r(807),Oe=r(808),Ie=r(809),we=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Pe=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;Object(o.a)(this,r),O.a.throwIfNullOrUndefined(e,"speechConfig");var a=e;return O.a.throwIfNullOrUndefined(a,"speechConfig"),(i=t.call(this,n,a.properties,new Ce.a)).privAddedIntents=[],i.privAddedLmIntents={},i.privDisposedIntentRecognizer=!1,i.privProperties=a.properties,O.a.throwIfNullOrWhitespace(i.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage),ue.a[ue.a.SpeechServiceConnection_RecoLanguage]),i}return Object(a.a)(r,[{key:"speechRecognitionLanguage",get:function(){return O.a.throwIfDisposed(this.privDisposedIntentRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage)}},{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"recognizeOnceAsync",value:function(e,t){if(O.a.throwIfDisposed(this.privDisposedIntentRecognizer),0!==Object.keys(this.privAddedLmIntents).length||void 0!==this.privUmbrellaIntent){var r=this.buildSpeechContext();this.privReco.speechContext.setSection("intent",r.Intent),this.privReco.dynamicGrammar.addReferenceGrammar(r.ReferenceGrammars),this.privReco.setIntents(this.privAddedLmIntents,this.privUmbrellaIntent)}Object(d.b)(this.recognizeOnceAsyncImpl(f.c.Interactive),e,t)}},{key:"startContinuousRecognitionAsync",value:function(e,t){if(0!==Object.keys(this.privAddedLmIntents).length||void 0!==this.privUmbrellaIntent){var r=this.buildSpeechContext();this.privReco.speechContext.setSection("intent",r.Intent),this.privReco.dynamicGrammar.addReferenceGrammar(r.ReferenceGrammars),this.privReco.setIntents(this.privAddedLmIntents,this.privUmbrellaIntent)}Object(d.b)(this.startContinuousRecognitionAsyncImpl(f.c.Conversation),e,t)}},{key:"stopContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.stopContinuousRecognitionAsyncImpl(),e,t)}},{key:"startKeywordRecognitionAsync",value:function(e,t,r){O.a.throwIfNull(e,"model"),r&&r("Not yet implemented.")}},{key:"stopKeywordRecognitionAsync",value:function(e,t){e&&e()}},{key:"addIntent",value:function(e,t){O.a.throwIfDisposed(this.privDisposedIntentRecognizer),O.a.throwIfNullOrWhitespace(t,"intentId"),O.a.throwIfNullOrWhitespace(e,"simplePhrase"),this.privAddedIntents.push([t,e])}},{key:"addIntentWithLanguageModel",value:function(e,t,r){O.a.throwIfDisposed(this.privDisposedIntentRecognizer),O.a.throwIfNullOrWhitespace(e,"intentId"),O.a.throwIfNull(t,"model");var n=t;O.a.throwIfNullOrWhitespace(n.appId,"model.appId"),this.privAddedLmIntents[e]=new Oe.a(n,r)}},{key:"addAllIntents",value:function(e,t){O.a.throwIfNull(e,"model");var r=e;O.a.throwIfNullOrWhitespace(r.appId,"model.appId"),this.privUmbrellaIntent=new Oe.a(r,t)}},{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privDisposedIntentRecognizer),Object(d.b)(this.dispose(!0),e,t)}},{key:"createRecognizerConfig",value:function(e){return new f.d(e,this.properties)}},{key:"createServiceRecognizer",value:function(e,t,r,n){var i=r;return new Ie.a(e,t,i,n,this)}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dis
2pose",t)}}});return we(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposedIntentRecognizer){t.next=2;break}return t.abrupt("return");case 2:if(!e){t.next=6;break}return this.privDisposedIntentRecognizer=!0,t.next=6,n.dispose.call(this,e);case 6:case"end":return t.stop()}}),t,this)})))}},{key:"buildSpeechContext",value:function(){var e,t,r,n=[];void 0!==this.privUmbrellaIntent&&(e=this.privUmbrellaIntent.modelImpl.appId,t=this.privUmbrellaIntent.modelImpl.region,r=this.privUmbrellaIntent.modelImpl.subscriptionKey);for(var i=0,o=Object.keys(this.privAddedLmIntents);i<o.length;i++){var a=o[i],s=this.privAddedLmIntents[a];if(void 0===e)e=s.modelImpl.appId;else if(e!==s.modelImpl.appId)throw new Error("Intents must all be from the same LUIS model");if(void 0===t)t=s.modelImpl.region;else if(t!==s.modelImpl.region)throw new Error("Intents must all be from the same LUIS model in a single region");if(void 0===r)r=s.modelImpl.subscriptionKey;else if(r!==s.modelImpl.subscriptionKey)throw new Error("Intents must all use the same subscription key");var u="luis/"+e+"-PRODUCTION#"+a;n.push(u)}return{Intent:{id:e,key:void 0===r?this.privProperties.getProperty(ue.a[ue.a.SpeechServiceConnection_Key]):r,provider:"LUIS"},ReferenceGrammars:void 0===this.privUmbrellaIntent?n:["luis/"+e+"-PRODUCTION"]}}}]),r}(Te),Ne=r(810),Re=r(811),ke=r(812),xe=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Me=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;Object(o.a)(this,r);var a=e;return O.a.throwIfNull(a,"speechConfig"),(i=t.call(this,n,a.properties,new Re.a)).privDisposedTranslationRecognizer=!1,i.privProperties=a.properties.clone(),void 0!==i.properties.getProperty(ue.a.SpeechServiceConnection_TranslationVoice,void 0)&&O.a.throwIfNullOrWhitespace(i.properties.getProperty(ue.a.SpeechServiceConnection_TranslationVoice),ue.a[ue.a.SpeechServiceConnection_TranslationVoice]),O.a.throwIfNullOrWhitespace(i.properties.getProperty(ue.a.SpeechServiceConnection_TranslationToLanguages),ue.a[ue.a.SpeechServiceConnection_TranslationToLanguages]),O.a.throwIfNullOrWhitespace(i.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage),ue.a[ue.a.SpeechServiceConnection_RecoLanguage]),i}return Object(a.a)(r,[{key:"speechRecognitionLanguage",get:function(){return O.a.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage)}},{key:"targetLanguages",get:function(){return O.a.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_TranslationToLanguages).split(",")}},{key:"voiceName",get:function(){return O.a.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_TranslationVoice,void 0)}},{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"recognizeOnceAsync",value:function(e,t){O.a.throwIfDisposed(this.privDisposedTranslationRecognizer),Object(d.b)(this.recognizeOnceAsyncImpl(f.c.Conversation),e,t)}},{key:"startContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.startContinuousRecognitionAsyncImpl(f.c.Conversation),e,t)}},{key:"stopContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.stopContinuousRecognitionAsyncImpl(),e,t)}},{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privDisposedTranslationRecognizer),Object(d.b)(this.dispose(!0),e,t)}},{key:"onConnection",value:function(){}},{key:"onDisconnection",value:function(){return xe(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dis
2pose",t)}}});return xe(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposedTranslationRecognizer){t.next=2;break}return t.abrupt("return");case 2:if(this.privDisposedTranslationRecognizer=!0,!e){t.next=8;break}return t.next=6,this.implRecognizerStop();case 6:return t.next=8,n.dispose.call(this,e);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"createRecognizerConfig",value:function(e){return new f.d(e,this.properties)}},{key:"createServiceRecognizer",value:function(e,t,r,n){var i=r;return new ke.a(e,t,i,n,this)}}]),r}(Te),Le=r(504);!function(e){e[e.NotRecognized=0]="NotRecognized",e[e.InitialSilenceTimeout=1]="InitialSilenceTimeout",e[e.InitialBabbleTimeout=2]="InitialBabbleTimeout"}(A||(A={}));var je,De=r(252),Ue=r(39),Be=function(){function e(t){Object(o.a)(this,e),this.privReason=t}return Object(a.a)(e,[{key:"reason",get:function(){return this.privReason}}],[{key:"fromResult",value:function(t){var r=De.a.fromJSON(t.json),n=A.NotRecognized;switch(r.RecognitionStatus){case Ue.a.BabbleTimeout:n=A.InitialBabbleTimeout;break;case Ue.a.InitialSilenceTimeout:n=A.InitialSilenceTimeout;break;default:n=A.NotRecognized}return new e(n)}}]),e}(),Fe=r(351),Ve=r(501),ze=function(){function e(t,r,n){Object(o.a)(this,e),this.privReason=t,this.privErrorDetails=r,this.privErrorCode=n}return Object(a.a)(e,[{key:"reason",get:function(){return this.privReason}},{key:"errorDetails",get:function(){return this.privErrorDetails}},{key:"ErrorCode",get:function(){return this.privErrorCode}}]),e}(),He=r(95),Ge=r(76),qe=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){return Object(o.a)(this,r),t.call(this,e,n,i)}return Object(a.a)(r,null,[{key:"fromResult",value:function(e){var t=z.a.Error,n=Ge.a.NoError;if(e instanceof K.a&&e.json){var i=De.a.fromJSON(e.json);t=He.a.implTranslateCancelResult(i.RecognitionStatus)}return e.properties&&(n=Ge.a[e.properties.getProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.NoError])]),new r(t,e.errorDetails,n)}}]),r}(ze),Ye=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}return r}(G.a),We=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){var a;return Object(o.a)(this,r),(a=t.call(this,i)).privJsonResult=e,a.privEventName=n,a}return Object(a.a)(r,[{key:"jsonString",get:function(){return this.privJsonResult}},{key:"eventName",get:function(){return this.privEventName}}]),r}(G.a),Ke=r(33),$e=r(46),Je=function e(){Object(o.a)(this,e)},Xe=function(){function e(t){var r=this;Object(o.a)(this,e),this.privConnectionMessage=t,this.privProperties=new ce.a,this.privConnectionMessage.headers[Ke.a.ConnectionId]&&this.privProperties.setProperty(ue.a.Speech_SessionId,this.privConnectionMessage.headers[Ke.a.ConnectionId]),Object.keys(this.privConnectionMessage.headers).forEach((function(e,t,n){r.privProperties.setProperty(e,r.privConnectionMessage.headers[e])}))}return Object(a.a)(e,[{key:"path",get:function(){return this.privConnectionMessage.headers[Object.keys(this.privConnectionMessage.headers).find((function(e){return e.toLowerCase()==="path".toLowerCase()}))]}},{key:"isTextMessage",get:function(){return this.privConnectionMessage.messageType===$e.b.Text}},{key:"isBinaryMessage",get:function(){return this.privConnectionMessage.messageType===$e.b.Binary}},{key:"TextMessage",get:function(){return this.privConnectionMessage.textBody}},{key:"binaryMessage",get:function(){return this.privConnectionMessage.binaryBody}},{key:"properties",get:function(){return this.privProperties}},{key:"toString",value:function(){return""}}]),e}(),Ze=function(){function e(t){Object(o.a)(this,e),this.privConnectionMessage=t}return Object(a.a)(e,[{key:"message",get:function(){return this.privConnectionMessage}},{key:"toString",value:function(){return"Message: "+this.privConnectionMessage.toString()}}]),e}(),Qe=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"openConnection",value:function(e,t){Object(d.b)(this.privInternalData.connect(),e,t)}},{key:"closeConnection",value:function(e,t){if(this.privInternalData instanceof N.a)throw new Error("Disconnecting a synthesizer's connection is currently not supported");Object(d.b)(this.privInternalData.disconnect(),e,t)}},{key:"setMessageProperty",value:function(e,t,r){if(O.a.throwIfNullOrWhitespace(t,"propertyName"),this.privInternalData instanceof he.a){if("speech.context"!==e.toLowerCase())throw new Error("Only speech.context message property sets are currently supported for recognizer");this.privInternalData.speechContext.setSection(t,r)}else if(this.privInternalData instanceof N.a){if("synthesis.context"!==e.toLowerCase())throw new Error("Only synthesis.context message property sets are currently supported for synthesizer");this.privInternalData.synthesisContext.setSection(t,r)}}},{key:"sendMessageAsync",value:function(e,t,r,n){Object(d.b)(this.privInternalData.sendNetworkMessage(e,t),r,n)}},{key:"close",value:function(){}},{key:"setupEvents",value:function(){var e=this;this.privEventListener=this.privInternalData.connectionEvents.attach((function(t){"ConnectionEstablishedEvent"===t.name?e.connected&&e.connected(new Ye(t.connectionId)):"ConnectionClosedEvent"===t.name?e.disconnected&&e.disconnected(new Ye(t.connectionId)):"ConnectionMessageSentEvent"===t.name?e.messageSent&&e.messageSent(new Ze(new Xe(t.message))):"ConnectionMessageReceivedEvent"===t.name&&e.messageReceived&&e.messageReceived(new Ze(new Xe(t.message)))})),this.privServiceEventListener=this.privInternalData.serviceEvents.attach((function(t){e.receivedServiceMessage&&e.receivedServiceMessage(new We(t.jsonString,t.name))}))}}],[{key:"fromRecognizer",value:function(t){var r=t.internalData,n=new e;return n.privInternalData=r,n.setupEvents(),n}},{key:"fromSynthesizer",value:function(t){var r=t.internalData,n=new e;return n.privInternalData=r,n.setupEvents(),n}}]),e}(),et=function(){function e(t){Object(o.a)(this,e),this.privGrammerBuilder=t.dynamicGrammar}return Object(a.a)(e,[{key:"addPhrase",value:function(e){this.privGrammerBuilder.addPhrase(e)}},{key:"addPhrases",value:function(e){this.privGrammerBuilder.addPhrase(e)}},{key:"clear",value:function(){this.privGrammerBuilder.clearPhrases()}}],[{key:"fromRecognizer",value:function(t){return new e(t.internalData)}}]),e}(),tt=r(61),rt=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.call(this)}return Object(a.a)(r,null,[{key:"fromSubscription",value:function(e,t,r){O.a.throwIfNullOrWhitespace(e,"subscription"),O.a.throwIfNullOrWhitespace(t,"region");var n=new tt.b;return n.setProperty(ue.a.Conversation_DialogType,tt.a.DialogTypes.BotFramework),n.setProperty(ue.a.SpeechServiceConnection_Key,e),n.setProperty(ue.a.SpeechServiceConnection_Region,t),r&&n.setProperty(ue.a.Conversation_ApplicationId,r),n}},{key:"fromAuthorizationToken",value:function(e,t,r){O.a.throwIfNullOrWhitespace(e,"authorizationToken"),O.a.throwIfNullOrWhitespace(t,"region");var n=new tt.b;return n.setProperty(ue.a.Conversation_DialogType,tt.a.DialogTypes.BotFramework),n.setProperty(ue.a.SpeechServiceAuthorization_Token,e),n.setProperty(ue.a.SpeechServiceConnection_Region,t),r&&n.setProperty(ue.a.Conversation_ApplicationId,r),n}},{key:"fromHost",value:function(e,t,r){O.a.throwIfNullOrUndefined(e,"host");var n=e instanceof URL?e:new URL("wss://".concat(e,".convai.speech.azure.us"));O.a.throwIfNullOrUndefined(n,"resolvedHost");var i=new tt.b;return i.setProperty(ue.a.Conversation_DialogType,tt.a.DialogTypes.BotFramework),i.setProperty(ue.a.SpeechServiceConnection_Host,n.toString()),void 0!==t&&i.setProperty(ue.a.SpeechServiceConnection_Key,t),i}},{key:"fromEndpoint",value:function(e,t){O.a.throwIfNull(e,"endpoint");var r=new tt.b;return r.setProperty(ue.a.Conversation_DialogType,tt.a.DialogTypes.BotFramework),r.setProperty(ue.a.SpeechServiceConnection_Endpoint,e.toString()),void 0!==t&&r.setProperty(ue.a.SpeechServiceConnection_Key,t),r}}]),r}(tt.b),nt=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.call(this)}return Object(a.a)(r,[{key:"applicationId",get:function(){return this.getProperty(ue.a.Conversation_ApplicationId)},set:function(e){O.a.throwIfNullOrWhitespace(e,"value"),this.setProperty(ue.a.Conversation_ApplicationId,e)}}],[{key:"fromSubscription",value:function(e,t,r){O.a.throwIfNullOrWhitespace(e,"applicationId"),O.a.throwIfNullOrWhitespace(t,"subscription"),O.a.throwIfNullOrWhitespace(r,"region");var n=new tt.b;return n.setProperty(ue.a.Conversation_DialogType,tt.a.DialogTypes.CustomCommands),n.setProperty(ue.a.Conversation_ApplicationId,e),n.setProperty(ue.a.SpeechServiceConnection_Key,t),n.setProperty(ue.a.SpeechServiceConnection_Region,r),n}},{key:"fromAuthorizationToken",value:function(e,t,r){O.a.throwIfNullOrWhitespace(e,"applicationId"),O.a.throwIfNullOrWhitespace(t,"authorizationToken"),O.a.throwIfNullOrWhitespace(r,"region");var n=new tt.b;return n.setProperty(ue.a.Conversation_DialogType,tt.a.DialogTypes.CustomCommands),n.setProperty(ue.a.Conversation_ApplicationId,e),n.setProperty(ue.a.SpeechServiceAuthorization_Token,t),n.setProperty(ue.a.SpeechServiceConnection_Region,r),n}}]),r}(tt.b),it=r(258),ot=r(257),at=r(93),st=r(173),ut=r(38),ct=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){var e;return Object(o.a)(this,r),(e=t.apply(this,arguments)).create=function(t,n,i){var o=t.parameters.getProperty(ue.a.Conversation_ApplicationId,""),a=t.parameters.getProperty(ue.a.Conversation_DialogType),s=t.parameters.getProperty(ue.a.SpeechServiceConnection_Region),u=t.parameters.getProperty(ue.a.SpeechServiceConnection_RecoLanguage,"en-US"),c=t.parameters.getProperty(ue.a.Conversation_Request_Bot_Status_Messages,"true"),l={};l[Ke.a.ConnectionId]=i,l[ut.a.Format]=t.parameters.getProperty(se.OutputFormatPropertyName,Y.a[Y.a.Simple]).toLowerCase(),l[ut.a.Language]=u,l[ut.a.RequestBotStatusMessages]=c,o&&(l[ut.a.BotId]=o,a===tt.a.DialogTypes.CustomCommands&&(l[Ke.a.CustomCommandsAppId]=o));var p=a===tt.a.DialogTypes.CustomCommands?"commands/":"",f=a===tt.a.DialogTypes.CustomCommands?"v1":a===tt.a.DialogTypes.BotFramework?"v3":"v0",d={};null!=n.token&&""!==n.token&&(d[n.headerName]=n.token);var h=t.parameters.getProperty(ue.a.SpeechServiceConnection_Endpoint,"");if(!h){var v=s&&s.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",m=t.parameters.getProperty(ue.a.SpeechServiceConnection_Host,"wss://".concat(s,".").concat(r.Constants.BaseUrl).concat(v)),y=m.endsWith("/")?m:m+"/";h="".concat(y).concat(p).concat(r.Constants.ApiKey,"/").concat(f)}e.setCommonUrlParams(t,l,h);var T="true"===t.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new it.a(h,l,d,new st.a,ot.a.fromRecognizerConfig(t),T,i)},e}return r}(at.a);ct.Constants=((je=function e(){Object(o.a)(this,e)}).ApiKey="api",je.BaseUrl="convai.speech",je);var lt,pt=r(861),ft=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},dt=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;Object(o.a)(this,r);var a=e;O.a.throwIfNull(e,"dialogConfig"),(i=t.call(this,n,a.properties,new ct)).isTurnComplete=!0,i.privIsDisposed=!1,i.privProperties=a.properties.clone();var s=i.buildAgentConfig();return i.privReco.agentConfig.set(s),i}
2return Object(a.a)(r,[{key:"connect",value:function(e,t){Object(d.b)(this.privReco.connect(),e,t)}},{key:"disconnect",value:function(e,t){Object(d.b)(this.privReco.disconnect(),e,t)}},{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"speechActivityTemplate",get:function(){return this.properties.getProperty(ue.a.Conversation_Speech_Activity_Template)},set:function(e){this.properties.setProperty(ue.a.Conversation_Speech_Activity_Template,e)}},{key:"listenOnceAsync",value:function(e,t){var r=this;if(this.isTurnComplete){O.a.throwIfDisposed(this.privIsDisposed);var n=ft(r,void 0,void 0,p.a.mark((function e(){var t,r;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.privReco.connect();case 2:return e.next=4,this.implRecognizerStop();case 4:return this.isTurnComplete=!1,t=new d.a,e.next=8,this.privReco.recognize(f.c.Conversation,t.resolve,t.reject);case 8:return e.next=10,t.promise;case 10:return r=e.sent,e.next=13,this.implRecognizerStop();case 13:return e.abrupt("return",r);case 14:case"end":return e.stop()}}),e,this)})));n.catch((function(){r.dispose(!0).catch((function(){}))})),Object(d.b)(n.finally((function(){r.isTurnComplete=!0})),e,t)}}},{key:"sendActivityAsync",value:function(e,t,r){Object(d.b)(this.privReco.sendMessage(e),t,r)}},{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privIsDisposed),Object(d.b)(this.dispose(!0),e,t)}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dispose",t)}}});return ft(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privIsDisposed){t.next=2;break}return t.abrupt("return");case 2:if(!e){t.next=8;break}return this.privIsDisposed=!0,t.next=6,this.implRecognizerStop();case 6:return t.next=8,n.dispose.call(this,e);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"createRecognizerConfig",value:function(e){return new f.d(e,this.privProperties)}},{key:"createServiceRecognizer",value:function(e,t,r,n){var i=r;return new pt.a(e,t,i,n,this)}},{key:"buildAgentConfig",value:function(){return{botInfo:{commType:this.properties.getProperty("Conversation_Communication_Type","Default"),commandsCulture:void 0,connectionId:this.properties.getProperty(ue.a.Conversation_Agent_Connection_Id),conversationId:this.properties.getProperty(ue.a.Conversation_Conversation_Id,void 0),fromId:this.properties.getProperty(ue.a.Conversation_From_Id,void 0),ttsAudioFormat:this.properties.getProperty(ue.a.SpeechServiceConnection_SynthOutputFormat,void 0)},version:.2}}}]),r}(Te),ht=r(813),vt=r(862);!function(e){e[e.UriQueryParameter=0]="UriQueryParameter"}(lt||(lt={}));var mt,yt=r(26),Tt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},bt=function(){function e(t){Object(o.a)(this,e),this.audioContext=null,this.gainNode=null,this.autoUpdateBufferTimer=0,void 0===t&&(t=b.b.getDefaultInputFormat()),this.init(t)}return Object(a.a)(e,[{key:"playAudioSample",value:function(e,t,r){var n=this;Object(d.b)(Tt(n,void 0,void 0,p.a.mark((function t(){var r,n;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.ensureInitializedContext(),r=this.formatAudioData(e),(n=new Float32Array(this.samples.length+r.length)).set(this.samples,0),n.set(r,this.samples.length),this.samples=n;case 6:case"end":return t.stop()}}),t,this)}))),t,r)}},{key:"stopAudio",value:function(e,t){null!==this.audioContext&&(this.samples=new Float32Array,clearInterval(this.autoUpdateBufferTimer),this.audioContext.close().then((function(){e&&e()}),(function(e){t&&t(e)})),this.audioContext=null)}},{key:"init",value:function(e){this.audioFormat=e,this.samples=new Float32Array}},{key:"ensureInitializedContext",value:function(){var e=this;if(null===this.audioContext){this.createAudioContext();this.autoUpdateBufferTimer=setInterval((function(){e.updateAudioBuffer()}),200)}}},{key:"createAudioContext",value:function(){this.audioContext=b.c.getAudioContext(),this.gainNode=this.audioContext.createGain(),this.gainNode.gain.value=1,this.gainNode.connect(this.audioContext.destination),this.startTime=this.audioContext.currentTime}},{key:"formatAudioData",value:function(e){switch(this.audioFormat.bitsPerSample){case 8:return this.formatArrayBuffer(new Int8Array(e),128);case 16:return this.formatArrayBuffer(new Int16Array(e),32768);case 32:return this.formatArrayBuffer(new Int32Array(e),2147483648);default:throw new yt.b("Only WAVE_FORMAT_PCM (8/16/32 bps) format supported at this time")}}},{key:"formatArrayBuffer",value:function(e,t){for(var r=new Float32Array(e.length),n=0;n<e.length;n++)r[n]=e[n]/t;return r}},{key:"updateAudioBuffer",value:function(){if(0!==this.samples.length){for(var e=this.audioFormat.channels,t=this.audioContext.createBufferSource(),r
2=this.samples.length/e,n=this.audioContext.createBuffer(e,r,this.audioFormat.samplesPerSec),i=0;i<e;i++)for(var o=i,a=n.getChannelData(i),s=0;s<this.samples.length;s++,o+=e)a[s]=this.samples[o];this.startTime<this.audioContext.currentTime&&(this.startTime=this.audioContext.currentTime),t.buffer=n,t.connect(this.gainNode),t.start(this.startTime),this.startTime+=n.duration,this.samples=new Float32Array}}},{key:"playAudio",value:function(e){return Tt(this,void 0,void 0,p.a.mark((function t(){var r,n;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null===this.audioContext&&this.createAudioContext(),r=this.audioContext.createBufferSource(),n=this.audioContext.destination,t.next=5,this.audioContext.decodeAudioData(e,(function(e){r.buffer=e,r.connect(n),r.start(0)}));case 5:case"end":return t.stop()}}),t,this)})))}}]),e}(),gt=function(){function e(t,r){Object(o.a)(this,e),this.privId=t,this.privProfileType=r}return Object(a.a)(e,[{key:"profileId",get:function(){return this.privId}},{key:"profileType",get:function(){return this.privProfileType}}]),e}(),_t=function(){function e(t,r,n){Object(o.a)(this,e),this.privReason=t,this.privProperties=new ce.a,this.privReason!==oe.a.Canceled?r&&(this.privDetails=JSON.parse(r),"enrolling"===this.privDetails.enrollmentStatus.toLowerCase()&&(this.privReason=oe.a.EnrollingVoiceProfile)):(this.privErrorDetails=n,this.privProperties.setProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.ServiceError]))}return Object(a.a)(e,[{key:"reason",get:function(){return this.privReason}},{key:"enrollmentsCount",get:function(){return this.privDetails.enrollmentsCount}},{key:"enrollmentsLength",get:function(){return this.privDetails.enrollmentsLength}},{key:"properties",get:function(){return this.privProperties}},{key:"enrollmentResultDetails",get:function(){return this.privDetails}},{key:"errorDetails",get:function(){return this.privErrorDetails}}],[{key:"FromIdentificationProfileList",value:function(t){var r,n=[],i=Object(c.a)(t.profiles);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=new e("enrolling"===o.enrollmentStatus.toLowerCase()?oe.a.EnrollingVoiceProfile:"enrolled"===o.enrollmentStatus.toLowerCase()?oe.a.EnrolledVoiceProfile:oe.a.Canceled,null,null);a.privDetails=this.getIdentificationDetails(o),n.push(a)}}catch(s){i.e(s)}finally{i.f()}return n}},{key:"FromVerificationProfileList",value:function(t){var r,n=[],i=Object(c.a)(t.profiles);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=new e("enrolling"===o.enrollmentStatus.toLowerCase()?oe.a.EnrollingVoiceProfile:"enrolled"===o.enrollmentStatus.toLowerCase()?oe.a.EnrolledVoiceProfile:oe.a.Canceled,null,null);a.privDetails=this.getVerificationDetails(o),n.push(a)}}catch(s){i.e(s)}finally{i.f()}return n}},{key:"getIdentificationDetails",value:function(e){return{audioSpeechLength:e.speechTime?parseFloat(e.speechTime):0,enrollmentStatus:e.enrollmentStatus,enrollmentsLength:e.enrollmentSpeechTime?parseFloat(e.enrollmentSpeechTime):0,profileId:e.profileId||e.identificationProfileId,remainingEnrollmentSpeechLength:e.remainingEnrollmentSpeechTime?parseFloat(e.remainingEnrollmentSpeechTime):0}}},{key:"getVerificationDetails",value:function(e){return{enrollmentStatus:e.enrollmentStatus,enrollmentsCount:e.enrollmentsCount,profileId:e.profileId||e.verificationProfileId,remainingEnrollmentSpeechLength:e.remainingEnrollmentSpeechLength?parseFloat(e.remainingEnrollmentSpeechLength):0,remainingEnrollmentsCount:e.remainingEnrollments||e.remainingEnrollmentsCount}}}]),e}(),St=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){return Object(o.a)(this,r),t.call(this,e,n,i)}return Object(a.a)(r,null,[{key:"fromResult",value:function(e){var t=z.a.Error,n=Ge.a.NoError;return e.properties&&(n=Ge.a[e.properties.getProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.NoError])]),new r(t,e.errorDetails,n)}}]),r}(ze),At=function(){function e(t,r){Object(o.a)(this,e),this.privReason=t,this.privProperties=new ce.a,t===oe.a.Canceled&&(O.a.throwIfNullOrUndefined(r,"statusText"),this.privErrorDetails=r,this.privProperties.setProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.ServiceError]))}return Object(a.a)(e,[{key:"reason",get:function(){return this.privReason}},{key:"properties",get:function(){return this.privProperties}},{key:"errorDetails",get:function(){return this.privErrorDetails}}]),e}(),Et=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){return Object(o.a)(this,r),t.call(this,e,n,i)}return Object(a.a)(r,null,[{key:"fromResult",value:function(e){var t=z.a.Error,n=Ge.a.NoError;return e.properties&&(n=Ge.a[e.properties.getProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.NoError])]),new r(t,e.errorDetails,n)}}]),r}(ze),Ct=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){var a;Object(o.a)(this,r),(a=t.call(this,e,n)).privPhrases=[],O.a.throwIfNullOrUndefined(i,"phrases array");var s,u=Object(c.a)(i);try{for(u.s();!(s=u.n()).done;){var l=s.value;a.privPhrases.push(l.passPhrase)}}catch(p){u.e(p)}finally{u.f()}return a}return Object(a.a)(r,[{key:"phrases",get:function(){return this.privPhrases}}]),r}(At),Ot=r(815),It=r(864),wt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Pt=function(){function e(t){Object(o.a)(this,e);var r=t;O.a.throwIfNull(r,"speechConfig"),this.privProperties=r.properties.clone(),this.implClientSetup()}return Object(a.a)(e,[{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"createProfileAsync",value:function(e,t,r,n){var i=this;Object(d.b)(wt(i,void 0,void 0,p.a.mark((function r(){var n,i,o;return p.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.privAdapter.createProfile(e,t);case 2:return n=r.sent,i=n.json(),o=new gt(i.profileId,e),r.abrupt("return",o);case 6:case"end":return r.stop()}}),r,this)}))),r,n)}},{key:"retrieveEnrollmentResultAsync",value:function(e,t,r){var n=this;Object(d.b)(wt(n,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.privAdapter.getProfileStatus(e);case 2:return r=t.sent,t.abrupt("return",new _t(r.ok?oe.a.EnrolledVoiceProfile:oe.a.Canceled,r.data,r.statusText));case 4:case"end":return t.stop()}}),t,this)}))),t,r)}},{key:"getAllProfilesAsync",value:function(e,t,r){var n=this;Object(d.b)(wt(n,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.privAdapter.getProfiles(e);case 2:if(r=t.sent,e!==Ne.a.TextIndependentIdentification){t.next=5;break}return t.abrupt("return",_t.FromIdentificationProfileList(r.json()));case 5:return t.abrupt("return",_t.FromVerificationProfileList(r.json()));case 6:case"end":return t.stop()}}),t,this)}))),t,r)}},{key:"getAuthorizationPhrasesAsync",value:function(e,t,r){var n=this;Object(d.b)(wt(n,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.privAdapter.getAuthorizationPhrases(e);case 2:return r=t.sent,t.abrupt("return",new Ct(r.ok?oe.a.EnrollingVoiceProfile:oe.a.Canceled,r.statusText,r.json()));case 4:case"end":return t.stop()}}),t,this)}))),t,r)}},{key:"enrollProfileAsync",value:function(e,t,r,n){var i=this,o=t;O.a.throwIfNullOrUndefined(o,"audioConfig"),Object(d.b)(wt(i,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.privAdapter.createEnrollment(e,o);case 2:return r=t.sent,t.abrupt("return",new _t(r.ok?oe.a.EnrolledVoiceProfile:oe.a.Canceled,r.data,r.statusText));case 4:case"end":return t.stop()}}),t,this)}))),r,n)}},{key:"deleteProfileAsync",value:function(e,t,r){var n=this;Object(d.b)(wt(n,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.privAdapter.deleteProfile(e);case 2:return r=t.sent,t.abrupt("return",this.getResult(r,oe.a.DeletedVoiceProfile));case 4:case"end":return t.stop()}}),t,this)}))),t,r)}},{key:"resetProfileAsync",value:function(e,t,r){var n=this;Object(d.b)(wt(n,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.privAdapter.resetProfile(e);case 2:return r=t.sent,t.abrupt("return",this.getResult(r,oe.a.ResetVoiceProfile));case 4:case"end":return t.stop()}}),t,this)}))),t,r)}},{key:"close",value:function(){}},{key:"implClientSetup",value:function(){var e="undefined"!==typeof window?"Browser":"Node",t="unknown",r="unknown";"undefined"!==typeof navigator&&(e=e+"/"+navigator.platform,t=navigator.userAgent,r=navigator.appVersion);var n=new Ot.a(new f.a(new f.b(e,t,r)),this.privProperties);this.privAdapter=new It.a(n)}},{key:"getResult",value:function(e,t,r){return new At(e.ok?t:oe.a.Canceled,e.statusText)}}]),e}(),Nt=function(){function e(t){var r=this;if(Object(o.a)(this,e),this.privVoiceProfiles=[],O.a.throwIfNullOrUndefined(t,"VoiceProfiles"),0===t.length)throw new Error("Empty Voice Profiles array");t.forEach((function(e){if(e.profileType!==Ne.a.TextIndependentIdentification)throw new Error("Identification model can only be created from Identification profile: "+e.profileId);r.privVoiceProfiles.push(e)}))}return Object(a.a)(e,[{key:"voiceProfileIds",get:function(){return this.privVoiceProfiles.map((function(e){return e.profileId})).join(",")}}],[{key:"fromProfiles",value:function(t){return new e(t)}}]),e}();!function(e){e[e.Verify=0]="Verify",e[e.Identify=1]="Identify"}(mt||(mt={}));var Rt=function(){function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:oe.a.RecognizedSpeaker;if(Object(o.a)(this,e),this.privProperties=new ce.a,this.privReason=i,this.privReason!==oe.a.Canceled)if(t===mt.Identify){var a=JSON.parse(r);O.a.throwIfNullOrUndefined(a,"JSON"),this.privProfileId=a.identifiedProfile.profileId,this.privScore=a.identifiedProfile.score}else{var s=JSON.parse(r);O.a.throwIfNullOrUndefined(s,"JSON"),this.privScore=s.score,"accept"!==s.recognitionResult.toLowerCase()&&(this.privReason=oe.a.NoMatch),void 0!==n&&""!==n&&(this.privProfileId=n)}else{var u=JSON.parse(r);O.a.throwIfNullOrUndefined(u,"JSON"),this.privErrorDetails=u.statusText,this.privProperties.setProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.ServiceError])}this.privProperties.setProperty(ue.a.SpeechServiceResponse_JsonResult,r)}return Object(a.a)(e,[{key:"properties",get:function(){return this.privProperties}},{key:"reason",get:function(){return this.privReason}},{key:"profileId",get:function(){return this.privProfileId}},{key:"errorDetails",get:function(){return this.privErrorDetails}},{key:"score",get:function(){return this.privScore}}]),e}(),kt=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){return Object(o.a)(this,r),t.call(this,e,n,i)}return Object(a.a)(r,null,[{key:"fromResult",value:function(e){var t=z.a.Error,n=Ge.a.NoError;return e.properties&&(n=Ge.a[e.properties.getProperty(se.CancellationErrorCodePropertyName,Ge.a[Ge.a.NoError])]),new r(t,e.errorDetails,n)}}]),r}(ze),xt=function(){function e(t){if(Object(o.a)(this,e),O.a.throwIfNullOrUndefined(t,"VoiceProfile"),t.profileType===Ne.a.TextIndependentIdentification)throw new Error("Verification model cannot be created from Identification profile");this.privVoiceProfile=t}return Object(a.a)(e,[{key:"voiceProfile",get:function(){return this.privVoiceProfile}}],[{key:"fromProfile",value:function(t){return new e(t)}}]),e}(),Mt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Lt=function(){function e(t,r){Object(o.a)(this,e);var n=t;O.a.throwIfNull(n,"speechConfig"),this.privAudioConfigImpl=r,O.a.throwIfNull(this.privAudioConfigImpl,"audioConfig"),this.privProperties=n.properties.clone(),this.implSRSetup()}return Object(a.a)(e,[{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"recognizeOnceAsync",value:function(e,t,r){if(e instanceof Nt){var n=this.privAdapter.identifySpeaker(e,this.privAudioConfigImpl);Object(d.b)(this.getResult(n,mt.Identify,void 0),t,r)}else{if(!(e instanceof xt))throw new Error("SpeakerRecognizer.recognizeOnce: Unexpected model type");var i=this.privAdapter.verifySpeaker(e,this.privAudioConfigImpl);Object(d.b)(this.getResult(i,mt.Verify,e.voiceProfile.profileId),t,r)}}},{key:"close",value:function(){}},{key:"implSRSetup",value:function(){var e="undefined"!==typeof window?"Browser":"Node",t="unknown",r="unknown";"undefined"!==typeof navigator&&(e=e+"/"+navigator.platform,t=navigator.userAgent,r=navigator.appVersion);var n=new Ot.a(new f.a(new f.b(e,t,r)),this.privProperties);this.privAdapter=new It.a(n)}},{key:"getResult",value:function(e,t,r){return Mt(this,void 0,void 0,p.a.mark((function n(){var i;return p.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e;case 2:return i=n.sent,n.abrupt("return",new Rt(t,i.data,r,i.ok?oe.a.RecognizedSpeaker:oe.a.Canceled));case 4:case"end":return n.stop()}}),n)})))}}]),e}(),jt=function(){function e(){Object(o.a)(this,e),this.privProperties=new ce.a}return Object(a.a)(e,[{key:"properties",get:function(){return this.privProperties}}],[{key:"fromOpenRange",value:function(){var t=new e;return t.properties.setProperty(ue.a.SpeechServiceConnection_AutoDetectSourceLanguages,se.AutoDetectSourceLanguagesOpenRangeOptionName),t}},{key:"fromLanguages",value:function(t){O.a.throwIfArrayEmptyOrWhitespace(t,"languages");var r=new e;return r.properties.setProperty(ue.a.SpeechServiceConnection_AutoDetectSourceLanguages,t.join()),r}},{key:"fromSourceLanguageConfigs",value:function(t){if(t.length<1)throw new Error("Expected non-empty SourceLanguageConfig array.");var r=new e,n=[];return t.forEach((function(e){if(n.push(e.language),void 0!==e.endpointId&&""!==e.endpointId){var t=e.language+ue.a.SpeechServiceConnection_EndpointId.toString();r.properties.setProperty(t,e.endpointId)}})),r.properties.setProperty(ue.a.SpeechServiceConnection_AutoDetectSourceLanguages,n.join()),r}}]),e}(),Dt=function(){function e(t,r){Object(o.a)(this,e),O.a.throwIfNullOrUndefined(t,"language"),O.a.throwIfNullOrUndefined(r,"languageDetectionConfidence"),this.privLanguage=t,this.privLanguageDetectionConfidence=r}return Object(a.a)(e,[{key:"language",get:function(){return this.privLanguage}},{key:"languageDetectionConfidence",get:function(){return this.privLanguageDetectionConfidence}}],[{key:"fromResult",value:function(t){return new e(t.language,t.languageDetectionConfidence)}}]),e}(),Ut=function(){function e(t,r){Object(o.a)(this,e),O.a.throwIfNullOrUndefined(t,"language"),this.privLanguage=t,this.privEndpointId=r}return Object(a.a)(e,[{key:"language",get:function(){return this.privLanguage}},{key:"endpointId",get:function(){return this.privEndpointId}}],[{key:"fromLanguage",value:function(t,r){return new e(t,r)}}]),e}(),Bt=r(250);var Ft=r(200);function Vt(e){return function(e){if(Array.isArray(e))return Object(Bt.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(Ft.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var zt=r(80),Ht=r(352),Gt=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}return Object(a.a)(r,null,[{key:"host",get:function(){return r.privHost}},{key:"apiVersion",get:function(){retu
2rn r.privApiVersion}},{key:"clientAppId",get:function(){return r.privClientAppId}},{key:"defaultLanguageCode",get:function(){return r.privDefaultLanguageCode}},{key:"restPath",get:function(){return r.privRestPath}},{key:"webSocketPath",get:function(){return r.privWebSocketPath}},{key:"speechHost",get:function(){return r.privSpeechHost}},{key:"speechPath",get:function(){return r.privSpeechPath}},{key:"transcriptionEventKeys",get:function(){return r.privTranscriptionEventKeys}}]),r}(Ht.a);Gt.privHost="dev.microsofttranslator.com",Gt.privRestPath="/capito/room",Gt.privApiVersion="2.0",Gt.privDefaultLanguageCode="en-US",Gt.privClientAppId="FC539C22-1767-4F1F-84BC-B4D811114F15",Gt.privWebSocketPath="/capito/translate",Gt.privSpeechHost="{region}.s2s.speech.microsoft.com",Gt.privSpeechPath="/speech/translation/cognitiveservices/v1",Gt.privTranscriptionEventKeys=["iCalUid","callId","organizer","FLAC","MTUri","DifferenciateGuestSpeakers","audiorecording","Threadid","OrganizerMri","OrganizerTenantId","UserToken"];var qt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;Object(o.a)(this,e),this.participants=t,this.meId=r}return Object(a.a)(e,[{key:"addOrUpdateParticipant",value:function(e){if(void 0!==e){var t=this.getParticipantIndex(e.id);return t>-1?this.participants.splice(t,1,e):this.participants.push(e),this.getParticipant(e.id)}}},{key:"getParticipantIndex",value:function(e){return this.participants.findIndex((function(t){return t.id===e}))}},{key:"getParticipant",value:function(e){return this.participants.find((function(t){return t.id===e}))}},{key:"deleteParticipant",value:function(e){this.participants=this.participants.filter((function(t){return t.id!==e}))}},{key:"host",get:function(){return this.participants.find((function(e){return!0===e.isHost}))}},{key:"me",get:function(){return this.getParticipant(this.meId)}}]),e}(),Yt="final",Wt="instant_message",Kt="partial",$t="participant_command",Jt="ChangeNickname",Xt="EjectParticipant",Zt="SetLockState",Qt="SetMute",er="SetMuteAll",tr="SetProfanityFiltering",rr="SetTranslateToLanguages",nr="SetUseTTS",ir=r(879);function or(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=or(t);return r?e+(-1===e.indexOf("?")?"?":"&")+r:e}function sr(e){return{data:e.responseText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(e.responseText)},ok:e.status>=200&&e.status<300,status:e.status,statusText:e.statusText}}function ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{data:t||e.statusText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(t||'"'+e.statusText+'"')},ok:!1,status:e.status,statusText:e.statusText}}function cr(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0,s=Ht.a.requestOptions,u=o.ignoreCache||s.ignoreCache,c=o.headers||s.headers,l=o.timeout||s.timeout;(r="undefined"===typeof window?new ir.XMLHttpRequest:new XMLHttpRequest).open(e,ar(t,n),!0),c&&Object.keys(c).forEach((function(e){return r.setRequestHeader(e,c[e])})),u&&r.setRequestHeader("Cache-Control","no-cache"),r.timeout=l,r.onload=function(e){a(sr(r))},r.onerror=function(e){a(ur(r,"Failed to make request."))},r.ontimeout=function(e){a(ur(r,"Request took longer than expected."))},"post"===e&&i?(r.setRequestHeader("Content-Type","application/json"),r.send(JSON.stringify(i))):r.send()}var lr,pr=function(){function e(){Object(o.a)(this,e),this.privRequestParam
2s=Gt.configParams,this.privErrors=Gt.restErrors,this.privHost=Gt.host,this.privApiVersion=Gt.apiVersion,this.privRestPath=Gt.restPath}return Object(a.a)(e,[{key:"createOrJoin",value:function(e,t,r,n){var i=this;try{O.a.throwIfNullOrUndefined(e,"args");var o=e.getProperty(ue.a.SpeechServiceConnection_RecoLanguage,Gt.defaultLanguageCode),a=e.getProperty(ue.a.ConversationTranslator_Name),s=e.getProperty(ue.a.ConversationTranslator_Host,this.privHost),u=e.getProperty(ue.a.ConversationTranslator_CorrelationId),c=e.getProperty(ue.a.SpeechServiceConnection_Key),l=e.getProperty(ue.a.SpeechServiceConnection_Region),p=e.getProperty(ue.a.SpeechServiceAuthorization_Token);O.a.throwIfNullOrWhitespace(o,"languageCode"),O.a.throwIfNullOrWhitespace(a,"nickname"),O.a.throwIfNullOrWhitespace(s,"endpointHost");var f={};f[this.privRequestParams.apiVersion]=this.privApiVersion,f[this.privRequestParams.languageCode]=o,f[this.privRequestParams.nickname]=a;var d={};u&&(d[this.privRequestParams.correlationId]=u),d[this.privRequestParams.clientAppId]=Gt.clientAppId,void 0!==t?f[this.privRequestParam
2s.roomId]=t:(O.a.throwIfNullOrUndefined(l,this.privErrors.authInvalidSubscriptionRegion),d[this.privRequestParams.subscriptionRegion]=l,c?d[this.privRequestParams.subscriptionKey]=c:p?d[this.privRequestParams.authorization]="Bearer ".concat(p):O.a.throwIfNullOrUndefined(c,this.privErrors.authInvalidSubscriptionKey));var h={};h.headers=d,cr("post","https://".concat(s).concat(this.privRestPath),f,null,h,(function(e){var t=function(e,t){var r="";try{var n=t.trim().split(/[\r\n]+/),i={};n.forEach((function(e){var t=e.split(": "),r=t.shift().toLowerCase(),n=t.join(": ");i[r]=n})),r=i[e.toLowerCase()]}catch(o){}return r}(i.privRequestParams.requestId,e.headers);if(e.ok){var o=JSON.parse(e.data);if(o&&(o.requestId=t),r){try{r(o)}catch(u){n&&n(u)}r=void 0}}else if(n){var a,s=i.privErrors.invalidCreateJoinConversationResponse.replace("{status}",e.status.toString());try{a=JSON.parse(e.data),s+=" [".concat(a.error.code,": ").concat(a.error.message,"]")}catch(u){s+=" [".concat(e.data,"]")}t&&(s+=" ".concat(t)),n(s)}}))}catch(m){if(n)if(m instanceof Error){var v=m;n(v.name+": "+v.message)}else n(m)}}},{key:"leave",value:function(e,t){var r=this;return new Promise((function(n,i){try{O.a.throwIfNullOrUndefined(e,r.privErrors.invalidArgs.replace("{arg}","config")),O.a.throwIfNullOrWhitespace(t,r.privErrors.invalidArgs.replace("{arg}","token"));var o=e.getProperty(ue.a.ConversationTranslator_Host,r.privHost),a=e.getProperty(ue.a.ConversationTranslator_CorrelationId),s={};
2s[r.privRequestParams.apiVersion]=r.privApiVersion,s[r.privRequestParams.sessionToken]=t;var u={};a&&(u[r.privRequestParams.correlationId]=a);var c={};c.headers=u,cr("delete","https://".concat(o).concat(r.privRestPath),s,null,c,(function(e){e.ok,n()}))}catch(p){if(p instanceof Error){var l=p;i(l.name+": "+l.message)}else i(p)}}))}}]),e}(),fr=r(886),dr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i,a){var s;Object(o.a)(this,r),s=t.call(this,e,n,i,a);var u=JSON.parse(s.textBody);return void 0!==u.type&&(s.privConversationMessageType=u.type),s}return Object(a.a)(r,[{key:"conversationMessageType",get:function(){return this.privConversationMessageType}}]),r}($e.a),hr=function e(){Object(o.a)(this,e),this.toConnectionMessage=function(e){var t=new d.a;try{if(e.messageType===$e.b.Text){var r=new dr(e.messageType,e.textContent,{},e.id);t.resolve(r)}else e.messageType===$e.b.Binary&&t.resolve(new dr(e.messageType,e.binaryContent,void 0,e.id))}catch(n){t.reject("Error formatting the message. Error: ".concat(n))}return t.promise},this.fromConnectionMessage=function(e){var t=new d.a;try{if(e.messageType===$e.b.Text){var r="".concat(e.textBody?e.textBody:"");t.resolve(new fr.a($e.b.Text,r,e.id))}}catch(n){t.reject("Error formatting the message. ".concat(n))}return t.promise}},vr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}return Object(a.a)(r,[{key:"create",value:function(e,t,r){var n=e.parameters.getProperty(ue.a.ConversationTranslator_Host,Gt.host),i=e.parameters.getProperty(ue.a.ConversationTranslator_CorrelationId,Object(y.a)()),o="wss://".concat(n).concat(Gt.webSocketPath),a=e.parameters.getProperty(ue.a.ConversationTranslator_Token,void 0);O.a.throwIfNullOrUndefined(a,"token");var s={};s[Gt.configParams.apiVersion]=Gt.apiVersion,s[Gt.configParams.token]=a,s[Gt.configParams.correlationId]=i;var u="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new it.a(o,s,{},new hr,ot.a.fromRecognizerConfig(e),u,r)}}]),r}(at.a),mr=r(885),yr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}return r}(r(204).a),Tr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,n)).privExpirationTime=e,i}return Object(a.a)(r,[{key:"expirationTime",get:function(){return this.privExpirationTime}}]),r}(G.a),br=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i,a,s,u,c,l,p,f,d){var h;return Object(o.a)(this,r),(h=t.call(this,n,a,s,u,c,l,p,f,d)).privId=e,h.privOrigLang=i,h}return Object(a.a)(r,[{key:"participantId",get:function(){return this.privId}},{key:"originalLang",get:function(){return this.privOrigLang}}]),r}(ne.a),gr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},_r=function(){function e(t){var r=this;Object(o.a)(this,e),this.privIsDisposed=!1,this.privDetachables=new Array,this.onPreConnectionStart=function(e,t){r.privSessionId=t},this.onAuthCompleted=function(e,t){e&&r.onComplete()},this.onConnectionEstablishCompleted=function(e,t){200!==e&&403===e&&r.onComplete()},this.onServiceTurnEndResponse=function(e){e?r.privRequestId=Object(y.b)():r.onComplete()},this.onComplete=function(){},this.privSessionId=t,this.privRequestId=Object(y.b)(),this.privRequestCompletionDeferral=new d.a}return Object(a.a)(e,[{key:"sessionId",get:function(){return this.privSessionId}},{key:"requestId",get:function(){return this.privRequestId}},{key:"completionPromise",get:function(){return this.privRequestCompletionDeferral.promise}},{key:"dispose",value:function(e){return gr(this,void 0,void 0,p.a.mark((function e(){var t,r,n;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privIsDisposed){e.next=19;break}this.privIsDisposed=!0,t=Object(c.a)(this.privDetachables),e.prev=3,t.s();case 5:if((r=t.n()).done){e.next=11;break}return n=r.value,e.next=9,n.detach();case 9:e.next=5;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,this,[[3,13,16,19]])})))}}]),e}(),Sr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,n)).privIsMuted=e,i}return Object(a.a)(r,[{key:"isMuted",get:function(){return this.privIsMuted}}]),r}(G.a),Ar=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,n)).privIsLocked=e,i}return Object(a.a)(r,[{key:"isMuted",get:function(){return this.privIsLocked}}]),r}(G.a),Er=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,n)).privParticipant=e,i}return Object(a.a)(r,[{key:"participant",get:function(){return this.privParticipant}}]),r}(G.a),Cr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i,a){var s;return Object(o.a)(this,r),(s=t.call(this,a)).privKey=n,s.privValue=i,s.privParticipantId=e,s}return Object(a.a)(r,[{key:"value",get:function(){return this.privValue}},{key:"key",get:function(){return this.privKey}},{key:"id",get:function(){return this.privParticipantId}}]),r}(G.a),Or=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i,a,s,u,c,l,p){var f;return Object(o.a)(this,r),(f=t.call(this,p)).privRoomId=e,f.privSessionToken=n,f.privTranslateTo=i,f.privProfanityFilter=a,f.privRoomProfanityFilter=s,f.privIsRoomLocked=u,f.privIsRoomLocked=c,f.privParticipants=l,f}return Object(a.a)(r,[{key:"sessionToken",get:function(){return this.privSessionToken}},{key:"conversationId",get:function(){return this.privRoomId}},{key:"translateTo",get:function(){return this.privTranslateTo}},{key:"profanityFilter",get:function(){return this.privProfanityFilter}},{key:"roomProfanityFilter",get:function(){return this.privRoomProfanityFilter}},{key:"isRoomLocked",get:function(){return this.privIsRoomLocked}},{key:"isMuteAll",get:function(){return this.privIsMuteAll}},{key:"participants",get:function(){return this.privParticipants}}]),r}(G.a),Ir=function(){function e(t,r,n){Object(o.a)(this,e),this.privPayload=r,this.privCommand=t,this.privSessionId=n}return Object(a.a)(e,[{key:"payload",get:function(){return this.privPayload}},{key:"command",get:function(){return this.privCommand}},{key:"sessionId",get:function(){return this.privSessionId}}]),e}(),wr=function(){function e(t){Object(o.a)(this,e),this.privCommandResponse=JSON.parse(t)}return Object(a.a)(e,[{key:"type",get:function(){return this.privCommandResponse.type}},{key:"command",get:function(){return this.privCommandResponse.command}},{key:"id",get:function(){return this.privCommandResponse.id}},{key:"nickname",get:function(){return this.privCommandResponse.nickname}},{key:"participantId",get:function(){return this.privCommandResponse.participantId}},{key:"roomid",get:function(){return this.privCommandResponse.roomid}},{key:"value",get:function(){return this.privCommandResponse.value}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}(),Pr=function(){function e(t){Object(o.a)(this,e),this.privParticipantsPayloadResponse=JSON.parse(t)}return Object(a.a)(e,[{key:"roomid",get:function(){return this.privParticipantsPayloadResponse.roomid}},{key:"id",get:function(){return this.privParticipantsPayloadResponse.id}},{key:"command",get:function(){return this.privParticipantsPayloadResponse.command}},{key:"participants",get:function(){return this.privParticipantsPayloadResponse.participants}},{key:"token",get:function(){return this.privParticipantsPayloadResponse.token}},{key:"translateTo",get:function(){return this.privParticipantsPayloadResponse.translateTo}},{key:"profanityFilter",get:function(){return this.privParticipantsPayloadResponse.profanityFilter}},{key:"roomProfanityFilter",get:function(){return this.privParticipantsPayloadResponse.roomProfanityFilter}},{key:"roomLocked",get:function(){return this.privParticipantsPayloadResponse.roomLocked}},{key:"muteAll",get:function(){return this.privParticipantsPayloadResponse.muteAll}},{key:"type",get:function(){return this.privParticipantsPayloadResponse.type}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}(),Nr=function(){function e(t){Object(o.a)(this,e),this.privParticipantPayloadResponse=JSON.parse(t)}return Object(a.a)(e,[{key:"nickname",get:function(){return this.privParticipantPayloadResponse.nickname}},{key:"locale",get:function(){return this.privParticipantPayloadResponse.locale}},{key:"usetts",get:function(){return this.privParticipantPayloadResponse.usetts}},{key:"ismuted",get:function(){return this.privParticipantPayloadResponse.ismuted}},{key:"ishost",get:function(){return this.privParticipantPayloadResponse.ishost}},{key:"participantId",get:function(){return this.privParticipantPayloadResponse.participantId}},{key:"avatar",get:function(){return this.privParticipantPayloadResponse.avatar}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}(),Rr=function(){function e(t){Object(o.a)(this,e),this.privSpeechResponse=JSON.parse(t)}return Object(a.a)(e,[{key:"recognition",get:function(){return this.privSpeechResponse.recognition}},{key:"translations",get:function(){return this.privSpeechResponse.translations}},{key:"id",get:function(){return this.privSpeechResponse.id}},{key:"language",get:function(){return this.privSpeechResponse.language}},{key:"nickname",get:function(){return this.privSpeechResponse.nickname}},{key:"participantId",get:function(){return this.privSpeechResponse.participantId}},{key:"roomid",get:function(){return this.privSpeechResponse.roomid}},{key:"timestamp",get:function(){return this.privSpeechResponse.timestamp}},{key:"type",get:function(){return this.privSpeechResponse.type}},{key:"isFinal",get:function(){return"final"===this.privSpeechResponse.type}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}(),kr=function(){function e(t){Object(o.a)(this,e),this.privTextResponse=JSON.parse(t)}return Object(a.a)(e,[{key:"originalText",get:function(){return this.privTextResponse.originalText}},{key:"translations",get:function(){return this.privTextResponse.translations}},{key:"id",get:function(){return this.privTextResponse.id}},{key:"language",get:function(){return this.privTextResponse.language}},{key:"nickname",get:function(){return this.privTextResponse.nickname}},{key:"participantId",get:function(){return this.privTextResponse.participantId}},{key:"roomid",get:function(){return this.privTextResponse.roomid}},{key:"timestamp",get:function(){return this.privTextResponse.timestamp}},{key:"type",get:function(){return this.privTextResponse.type}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}(),xr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Mr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i,a,s){var u;return Object(o.a)(this,r),(u=t.call(this,e,n,i,a,s)).privLastParti
2alUtteranceId="",u.noOp=function(){},u.privConversationServiceConnector=s,u.privConversationAuthentication=e,u.receiveMessageOverride=u.receiveConversationMessageOverride,u.recognizeOverride=u.noOp,u.postConnectImplOverride=u.conversationConnectImpl,u.configConnectionOverride=u.configConnection,u.disconnectOverride=u.privDisconnect,u.privConversationRequestSession=new _r(Object(y.b)()),u.privConversationConnectionFactory=n,u.privConversationIsDisposed=!1,u}return Object(a.a)(r,[{key:"isDisposed",value:function(){return Object(be.a)(Object(ge.a)(r.prototype),"isDisposed",this).call(this)||this.privConversationIsDisposed}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dispose",t)}}});return xr(this,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.privConversationIsDisposed=!0,!this.privConnectionConfigPromise){t.next=7;break}return t.next=4,this.privConnectionConfigPromise;case 4:return r=t.sent,t.next=7,r.dispose(e);case 7:return t.next=9,n.dispose.call(this,e);case 9:case"end":return t.stop()}}),t,this)})))}},{key:"sendMessage",value:function(e){return xr(this,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.fetchConnection();case 2:return r=t.sent,t.abrupt("return",r.send(new dr($e.b.Text,e)));case 4:case"end":return t.stop()}}),t,this)})))}},{key:"sendMessageAsync",value:function(e){return xr(this,void 0,void 0,p.a.mark((function t(){var r;return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return new d.a,t.next=3,this.fetchConnection();case 3:return r=t.sent,t.next=6,r.send(new dr($e.b.Text,e));case 6:case"end":return t.stop()}}),t,this)})))}},{key:"privDisconnect",value:function(){if(!this.terminateMessageLoop)return this.cancelRecognition(this.privConversationRequestSession.sessionId,this.privConversationRequestSession.requestId,z.a.Error,Ge.a.NoError,"Disconnecting"),this.terminateMessageLoop=!0,Promise.resolve()}},{key:"processTypeSpecificMessages",value:function(e,t,r){return xr(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}},{key:"cancelRecognition",value:function(e,t,r,n,i){this.terminateMessageLoop=!0;var o=new yr(r,i,n,void 0,e);try{this.privConversationServiceConnector.canceled&&this.privConversationServiceConnector.canceled(this.privConversationServiceConnector,o)}catch(a){}}},{key:"conversationConnectImpl",value:function(e){return xr(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.privConnectionLoop=this.startMessageLoop(),t.abrupt("return",e);case 2:case"end":return t.stop()}}),t,this)})))}},{key:"receiveConversationMessageOverride",value:function(){return xr(this,void 0,void 0,p.a.mark((function e(){var t,r,n,i,o,a,s,u,c,l,f,h,v,m,y;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isDisposed()&&!this.terminateMessageLoop){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:return t=new d.a,e.prev=3,e.next=6,this.fetchConnection();case 6:return r=e.sent,e.next=9,r.read();case 9:if(n=e.sent,!this.isDisposed()&&!this.terminateMessageLoop){e.next=13;break}return t.resolve(),e.abrupt("return",Promise.resolve());case 13:if(n){e.next=15;break}return e.abrupt("return",this.receiveConversationMessageOverride());case 15:i=this.privConversationRequestSession.sessionId,o=!1,e.prev=17,e.t0=n.conversationMessageType.toLowerCase(),e.next="info"===e.t0||"participant_command"===e.t0||"command"===e.t0?21:"partial"===e.t0||"final"===e.t0?56:"translated_message"===e.t0?60:64;break;case 21:a=wr.fromJSON(n.textBody),e.t1=a.command.toLowerCase(),e.next="participantlist"===e.t1?25:"settranslatetolanguages"===e.t1?29:"setprofanityfiltering"===e.t1?31:"setmute"===e.t1?33:"setmuteall"===e.t1?35:"roomexpirationwarning"===e.t1?37:"setusetts"===e.t1?39:"setlockstate"===e.t1?41:"changenickname"===e.t1?43:"joinsession"===e.t1?45:"leavesession"===e.t1?49:"disconnectsession"===e.t1?52:54;break;case 25:return s=Pr.fromJSON(n.textBody),u=s.participants.map((function(e){return{avatar:e.avatar,displayName:e.nickname,id:e.participantId,isHost:e.ishost,isMuted:e.ismuted,isUsingTts:e.usetts,preferredLanguage:e.locale}})),this.privConversationServiceConnector.participantsListReceived&&this.privConversationServiceConnector.participantsListReceived(this.privConversationServiceConnector,new Or(s.roomid,s.token,s.translateTo,s.profanityFilter,s.roomProfanityFilter,s.roomLocked,s.muteAll,u,i)),e.abrupt("break",55);case 29:return this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new Cr(a.participantId,rr,a.value,i)),e.abrupt("break",55);case 31:return this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new Cr(a.participantId,tr,a.value,i)),e.abrupt("break",55);case 33:return this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new Cr(a.participantId,Qt,a.value,i)),e.abrupt("break",55);case 35:return this.privConversationServiceConnector.muteAllCommandReceived&&this.privConversationServiceConnector.muteAllCommandReceived(this.privConversationServiceConnector,new Sr(a.value,i)),e.abrupt("break",55);case 37:return this.privConversationServiceConnector.conversationExpiration&&this.privConversationServiceConnector.conversationExpiration(this.privConversationServiceConnector,new Tr(a.value,this.privConversationRequestSession.sessionId)),e.abrupt("break",55);case 39:return this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new Cr(a.participantId,nr,a.value,i)),e.abrupt("break",55);case 41:return this.privConversationServiceConnector.lockRoomCommandReceived&&this.privConversationServiceConnector.lockRoomCommandReceived(this.privConversationServiceConnector,new Ar(a.value,i)),e.abrupt("break",55);case 43:return this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new Cr(a.participantId,Jt,a.nickname,i)),e.abrupt("break",55);case 45:return c=Nr.fromJSON(n.textBody),l={avatar:c.avatar,displayName:c.nickname,id:c.participantId,isHost:c.ishost,isMuted:c.ismuted,isUsingTts:c.usetts,preferredLanguage:c.locale},this.privConversationServiceConnector.participantJoinCommandReceived&&this.privConversationServiceConnector.participantJoinCommandReceived(this.privConversationServiceConnector,new Er(l,i)),e.abrupt("break",55);case 49:return f={id:a.participantId},this.privConversationServiceConnector.participantLeaveCommandReceived&&this.privConversationServiceConnector.participantLeaveCommandReceived(this.privConversationServiceConnector,new Er(f,i)),e.abrupt("break",55);case 52:return{id:a.participantId},e.abrupt("break",55);case 54:return e.abrupt("break",55);case 55:return e.abrupt("break",65);case 56:return h=Rr.fromJSON(n.textBody),v=new br(h.participantId,this.getTranslations(h.translations),h.language,void 0,void 0,h.recognition,void 0,void 0,n.textBody,void 0),h.isFinal?((void 0!==v.text&&v.text.length>
20||h.id===this.privLastPartialUtteranceId)&&(o=!0),o&&this.privConversationServiceConnector.translationReceived&&this.privConversationServiceConnector.translationReceived(this.privConversationServiceConnector,new Ir(Yt,v,i))):void 0!==v.text&&(this.privLastPartialUtteranceId=h.id,this.privConversationServiceConnector.translationReceived&&this.privConversationServiceConnector.translationReceived(this.privConversationServiceConnector,new Ir(Kt,v,i))),e.abrupt("break",65);case 60:return m=kr.fromJSON(n.textBody),y=new br(m.participantId,this.getTranslations(m.translations),m.language,void 0,void 0,m.originalText,void 0,void 0,void 0,n.textBody,void 0),this.privConversationServiceConnector.translationReceived&&this.privConversationServiceConnector.translationReceived(this.privConversationServiceConnector,new Ir(Wt,y,i)),e.abrupt("break",65);case 64:return e.abrupt("break",65);case 65:e.next=69;break;case 67:e.prev=67,e.t2=e.catch(17);case 69:return e.abrupt("return",this.receiveConversationMessageOverride());case 72:e.prev=72,e.t3=e.catch(3),this.terminateMessageLoop=!0;case 75:return e.abrupt("return",t.promise);case 76:case"end":return e.stop()}}),e,this,[[3,72],[17,67]])})))}},{key:"startMessageLoop",value:function(){return xr(this,void 0,void 0,p.a.mark((function e(){var t,r;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isDisposed()){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:return this.terminateMessageLoop=!1,t=this.receiveConversationMessageOverride(),e.prev=4,e.next=7,t;case 7:return r=e.sent,e.abrupt("return",r);case 11:return e.prev=11,e.t0=e.catch(4),this.cancelRecognition(this.privRequestSession?this.privRequestSession.sessionId:"",this.privRequestSession?this.privRequestSession.requestId:"",z.a.Error,Ge.a.RuntimeError,e.t0),e.abrupt("return",null);case 15:case"end":return e.stop()}}),e,this,[[4,11]])})))}},{key:"configConnection",value:function(){var e=this;return this.isDisposed()?Promise.resolve(void 0):this.privConnectionConfigPromise?this.privConnectionConfigPromise.then((function(t){return t.state()===mr.a.Disconnected?(e.privConnectionId=null,e.privConnectionConfigPromise=null,e.configConnection()):e.privConnectionConfigPromise}),(function(t){return e.privConnectionId=null,e.privConnectionConfigPromise=null,e.configConnection()})):this.terminateMessageLoop?Promise.resolve(void 0):(this.privConnectionConfigPromise=this.connectImpl().then((function(e){return e})),this.privConnectionConfigPromise)}},{key:"getTranslations",value:function(e){var t;if(void 0!==e){t=new Le.a;var r,n=Object(c.a)(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;t.set(i.lang,i.translation)}}catch(o){n.e(o)}finally{n.f()}}return t}}]),r}(he.a),Lr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},jr=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,null,[{key:"fromConfig",value:function(e,t){return new Dr(e,t)}}]),e}(),Dr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;Object(o.a)(this,r);var a=e;return O.a.throwIfNull(a,"speechConfig"),(i=t.call(this,n,a.properties,new vr)).privIsDisposed=!1,i.privProperties=a.properties.clone(),i.privConnection=Qe.fromRecognizer(Object(zt.a)(i)),i}return Object(a.a)(r,[{key:"connected",set:function(e){this.privConnection.connected=e}},{key:"disconnected",set:function(e){this.privConnection.disconnected=e}},{key:"speechRecognitionLanguage",get:function(){return this.privSpeechRecognitionLanguage}},{key:"properties",get:function(){return this.privProperties}},{key:"isDisposed",value:function(){return this.privIsDisposed}},{key:"connect",value:function(e,t,r){try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfNullOrWhitespace(e,"token"),this.privReco.conversationTranslatorToken=e,this.privReco.connectAsync(t,r)}catch(i){if(r)if(i instanceof Error){var n=i;r(n.name+": "+n.message)}else r(i)}}},{key:"disconnect",value:function(e,t){try{O.a.throwIfDisposed(this.privIsDisposed),this.privReco.disconnect().then((function(){e&&e()}),(function(e){t&&t(e)}))}catch(n){if(t)if(n instanceof Error){var r=n;t(r.name+": "+r.message)}else t(n);this.dispose(!0).catch((function(e){m.a.instance.onEvent(new R.a(e))}))}}},{key:"sendRequest",value:function(e,t,r){try{O.a.throwIfDisposed(this.privIsDisposed),this.sendMessage(e,t,r)}catch(i){if(r)if(i instanceof Error){var n=i;r(n.name+": "+n.message)}else r(i);this.dispose(!0).catch((function(e){m.a.instance.onEvent(new R.a(e))}))}}},{key:"close",value:function(){var e,t;return Lr(this,void 0,void 0,p.a.mark((function r(){return p.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return O.a.throwIfDisposed(this.privIsDisposed),null===(e=this.privConnection)||void 0===e||e.closeConnection(),null===(t=this.privConnection)||void 0===t||t.close(),this.privConnection=void 0,r.next=6,this.dispose(!0);case 6:case"end":return r.stop()}}),r,this)})))}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dis
2pose",t)}}});return Lr(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privIsDisposed){t.next=2;break}return t.abrupt("return");case 2:if(!e){t.next=7;break}return this.privIsDisposed=!0,this.privConnection&&(this.privConnection.closeConnection(),this.privConnection.close(),this.privConnection=void 0),t.next=7,n.dispose.call(this,e);case 7:case"end":return t.stop()}}),t,this)})))}},{key:"createRecognizerConfig",value:function(e){return new f.d(e,this.privProperties)}},{key:"createServiceRecognizer",value:function(e,t,r,n){return new Mr(e,t,r,n,this)}},{key:"sendMessage",value:function(e,t,r){!function(e,t,r){e?e.then((function(e){try{t&&t()}catch(n){r&&r("'Unhandled error on promise callback: ".concat(n,"'"))}}),(function(e){try{r&&r(e)}catch(t){}})):r&&r("Null promise")}(this.privReco.sendMessageAsync(e),t,r)}}]),r}(Te),Ur=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){var a;return Object(o.a)(this,r),(a=t.call(this,i)).privReason=e,a.privParticipant=n,a}return Object(a.a)(r,[{key:"reason",get:function(){return this.privReason}},{key:"participants",get:function(){return this.privParticipant}}]),r}(G.a);!function(e){e[e.JoinedConversation=0]="JoinedConversation",e[e.LeftConversation=1]="LeftConversation",e[e.Updated=2]="Updated"}(lr||(lr={}));var Br,Fr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){var a;return Object(o.a)(this,r),(a=t.call(this,n,i)).privResult=e,a}return Object(a.a)(r,[{key:"result",get:function(){return this.privResult}}]),r}(q.a),Vr=function(){function e(t){Object(o.a)(this,e),this.privUserId=t}return Object(a.a)(e,[{key:"userId",get:function(){return this.privUserId}}]),e}(),zr=function(){function e(t,r,n,i,a,s,u,c){Object(o.a)(this,e),this.privId=t,this.privAvatar=r,this.privDisplayName=n,this.privIsHost=i,this.privIsMuted=a,this.privIsUsingTts=s,this.privPreferredLanguage=u,this.privVoice=c,this.privProperties=new ce.a}return Object(a.a)(e,[{key:"avatar",get:function(){return this.privAvatar}},{key:"displayName",get:function(){return this.privDisplayName}},{key:"id",get:function(){return this.privId}},{key:"preferredLanguage",get:function(){return this.privPreferredLanguage}},{key:"isHost",get:function(){return this.privIsHost}},{key:"isMuted",get:function(){return this.privIsMuted}},{key:"isUsingTts",get:function(){return this.privIsUsingTts}},{key:"voice",get:function(){return this.privVoice}},{key:"properties",get:function(){return this.privProperties}}],[{key:"From",value:function(t,r,n){return new e(t,"",t,!1,!1,!1,r,n)}}]),e}(),Hr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},Gr=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,null,[{key:"createConversationAsync",value:function(e,t,r,n){var i=this;if(O.a.throwIfNullOrUndefined(e,Gt.restErrors.invalidArgs.replace("{arg}","config")),O.a.throwIfNullOrUndefined(e.region,Gt.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Region")),e.subscriptionKey||e.getProperty(ue.a[ue.a.SpeechServiceAuthorization_Token])||O.a.throwIfNullOrUndefined(e.subscriptionKey,Gt.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Key")),"string"===typeof t){var o=new qr(e,t);return Object(d.b)(Hr(i,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return");case 1:case"end":return e.stop()}}),e)}))),r,n),o}var a=new qr(e),s=t,u=r;return a.createConversationAsync((function(){s&&s()}),(function(e){u&&u(e)})),a}}]),e}(),qr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;if(Object(o.a)(this,r),(i=t.call(this)).privIsDisposed=!1,i.privIsConnected=!1,i.privErrors=Gt.restErrors,i.privConversationId="",i.onConnected=function(e){i.privIsConnected=!0;try{i.privConversationTranslator.sessionStarted&&i.privConversationTranslator.sessionStarted(i.privConversationTranslator,e)}catch(e){}},i.onDisconnected=function(e){return Hr(Object(zt.a)(i),void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.close(!1);case 2:try{this.privConversationTranslator.sessionStopped&&this.privConversationTranslator.sessionStopped(this.privConversationTranslator,e)}catch(e){}case 3:case"end":return t.stop()}}),t,this)})))},i.onCanceled=function(e,t){return Hr(Object(zt.a)(i),void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.close(!1);case 2:try{this.privConversationTranslator.canceled&&this.privConversationTranslator.canceled(this.privConversationTranslator,t)}catch(t){}case 3:case"end":return e.stop()}}),e,this)})))},i.onParticipantUpdateCommandReceived=function(e,t){var r,n;try{var o=i.privParticipants.getParticipant(t.id);if(void 0!==o){switch(t.key){case Jt:o.displayName=t.value;break;case nr:o.useTts=t.value;break;case tr:o.profanity=t.value;break;case Qt:o.isMuted=t.value;break;case rr:o.translateToLanguages=t.value}i.privParticipants.addOrUpdateParticipant(o),(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(n=i.privConversationTranslator)||void 0===n||n.participantsChanged(i.privConversationTranslator,new Ur(lr.Updated,[i.toParticipant(o)],t.sessionId)))}}catch(t){}},i.onLockRoomCommandReceived=function(e,t){},i.onMuteAllCommandReceived=function(e,t){var r,n;
2try{i.privParticipants.participants.forEach((function(e){return e.isMuted=!e.isHost&&t.isMuted})),(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(n=i.privConversationTranslator)||void 0===n||n.participantsChanged(i.privConversationTranslator,new Ur(lr.Updated,i.toParticipants(!1),t.sessionId)))}catch(t){}},i.onParticipantJoinCommandReceived=function(e,t){var r,n;try{var o=i.privParticipants.addOrUpdateParticipant(t.participant);void 0!==o&&(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(n=i.privConversationTranslator)||void 0===n||n.participantsChanged(i.privConversationTranslator,new Ur(lr.JoinedConversation,[i.toParticipant(o)],t.sessionId)))}catch(t){}},i.onParticipantLeaveCommandReceived=function(e,t){var r,n;try{var o=i.privParticipants.getParticipant(t.participant.id);void 0!==o&&(i.privParticipants.deleteParticipant(t.participant.id),(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(n=i.privConversationTranslator)||void 0===n||n.participantsChanged(i.privConversationTranslator,new Ur(lr.LeftConversation,[i.toParticipant(o)],t.sessionId))))}catch(t){}},i.onTranslationReceived=function(e,t){var r,n,o,a,s,u;try{switch(t.command){case Yt:(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.transcribed)&&(null===(n=i.privConversationTranslator)||void 0===n||n.transcribed(i.privConversationTranslator,new Fr(t.payload,void 0,t.sessionId)));break;case Kt:(null===(o=i.privConversationTranslator)||void 0===o?void 0:o.transcribing)&&(null===(a=i.privConversationTranslator)||void 0===a||a.transcribing(i.privConversationTranslator,new Fr(t.payload,void 0,t.sessionId)));break;case Wt:(null===(s=i.privConversationTranslator)||void 0===s?void 0:s.textMessageReceived)&&(null===(u=i.privConversationTranslator)||void 0===u||u.textMessageReceived(i.privConversationTranslator,new Fr(t.payload,void 0,t.sessionId)))}}catch(t){}},i.onParticipantsListReceived=function(e,t){var r,n,o;try{if(void 0!==t.sessionToken&&null!==t.sessionToken&&(i.privRoom.token=t.sessionToken),i.privParticipants.participants=Vt(t.participants),void 0!==i.privParticipants.me&&(i.privIsReady=!0),(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(n=i.privConversationTranslator)||void 0===n||n.participantsChanged(i.privConversationTranslator,new Ur(lr.JoinedConversation,i.toParticipants(!0),t.sessionId))),i.me.isHost){var a=null===(o=i.privConversationTranslator)||void 0===o?void 0:o.properties.getProperty(ue.a.ConversationTranslator_Name);void 0!==a&&a.length>0&&a!==i.me.displayName&&i.changeNicknameAsync(a)}}catch(t){}},i.onConversationExpiration=function(e,t){var r,n;try{(null===(r=i.privConversationTranslator)||void 0===r?void 0:r.conversationExpiration)&&(null===(n=i.privConversationTranslator)||void 0===n||n.conversationExpiration(i.privConversationTranslator,t))}catch(t){}},i.privProperties=new ce.a,i.privManager=new pr,e.getProperty(ue.a[ue.a.SpeechServiceConnection_RecoLanguage])||e.setProperty(ue.a[ue.a.SpeechServiceConnection_RecoLanguage],Gt.defaultLanguageCode),i.privLanguage=e.getProperty(ue.a[ue.a.SpeechServiceConnection_RecoLanguage]),n)i.privConversationId=n;else{0===e.targetLanguages.length&&e.addTargetLanguage(i.privLanguage),e.getProperty(ue.a[ue.a.SpeechServiceResponse_ProfanityOption])||e.setProfanity(le.a.Masked);var a=e.getProperty(ue.a[ue.a.ConversationTranslator_Name]);(void 0===a||null===a||a.length<=1||a.length>50)&&(a="Host"),e.setProperty(ue.a[ue.a.ConversationTranslator_Name],a)}i.privConfig=e;var s=e;return O.a.throwIfNull(s,"speechConfig"),i.privProperties=s.properties.clone(),i.privIsConnected=!1,i.privParticipants=new qt,i.privIsReady=!1,i.privTextMessageMaxLength=1e3,i}return Object(a.a)(r,[{key:"conversationTranslator",set:function(e){this.privConversationTranslator=e}},{key:"room",get:function(){return this.privRoom}},{key:"connection",get:function(){return this.privConversationRecognizer}},{key:"authorizationToken",get:function(){return this.privToken},set:function(e){O.a.throwIfNullOrWhitespace(e,"authorizationToken"),this.privToken=e}},{key:"config",get:function(){return this.privConfig}},{key:"conversationId",get:function(){return this.privRoom?this.privRoom.roomId:this.privConversationId}},{key:"properties",get:function(){return this.privProperties}},{key:"speechRecognitionLanguage",get:function(){return this.privLanguage}},{key:"isMutedByHost",get:function(){var e,t;return!(null===(e=this.privParticipants.me)||void 0===e?void 0:e.isHost)&&(null===(t=this.privParticipants.me)||void 0===t?void 0:t.isMuted)}},{key:"isConnected",get:function(){return this.privIsConnected&&this.privIsReady}},{key:"participants",get:function(){return this.toParticipants(!0)}},{key:"me",get:function(){return this.toParticipant(this.privParticipants.me)}},{key:"host",get:function(){return this.toParticipant(this.privParticipants.host)}},{key:"createConversationAsync",value:function(e,t){var r=this;try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),t),this.privManager.createOrJoin(this.privProperties,void 0,(function(n){n||r.handleError(new Error(r.privErrors.permissionDeniedConnect),t),r.privRoom=n,r.handleCallback(e,t)}),(function(e){r.handleError(e,t)}))}catch(n){this.handleError(n,t)}}},{key:"startConversationAsync",value:function(e,t){var r=this;try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),t),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedConnect),this.privParticipants.meId=this.privRoom.participantId,this.privConversationRecognizer=jr.fromConfig(this.privConfig),this.privConversationRecognizer.connected=this.onConnected,this.privConversationRecognizer.disconnected=this.onDisconnected,this.privConversationRecognizer.canceled=this.onCanceled,this.privConversationRecognizer.participantUpdateCommandReceived=this.onParticipantUpdateCommandReceived,this.privConversationRecognizer.lockRoomCommandReceived=this.onLockRoomCommandReceived,this.privConversationRecognizer.muteAllCommandReceived=this.onMuteAllCommandReceived,this.privConversationRecognizer.participantJoinCommandReceived=this.onParticipantJoinCommandReceived,this.privConversationRecognizer.participantLeaveCommandReceived=this.onParticipantLeaveCommandReceived,this.privConversationRecognizer.translationReceived=this.onTranslationReceived,this.privConversationRecognizer.participantsListReceived=this.onParticipantsListReceived,this.privConversationRecognizer.conversationExpiration=this.onConversationExpiration,this.privConversationRecognizer.connect(this.privRoom.token,(function(){r.handleCallback(e,t)}),(function(e){r.handleError(e,t)}))}catch(n){this.handleError(n,t)}}},{key:"addParticipantAsync",value:function(e,t,r){O.a.throwIfNullOrUndefined(e,"Participant"),Object(d.b)(this.addParticipantImplAsync(e),t,r)}},{key:"joinConversationAsync",value:function(e,t,r,n,i){var o=this;try{O.a.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","conversationId")),O.a.throwIfNullOrWhitespace(t,this.privErrors.invalidArgs.replace("{arg}","nickname")),O.a.throwIfNullOrWhitespace(r,this.privErrors.invalidArgs.replace("{arg}","language")),this.privManager.createOrJoin(this.privProperties,e,(function(e){O.a.throwIfNullOrUndefined(e,o.privErrors.permissionDeniedConnect),o.privRoom=e,o.privConfig.authorizationToken=e.cognitiveSpeechAuthToken,n&&n(e.cognitiveSpeechAuthToken)}),(function(e){o.handleError(e,i)}))}catch(a){this.handleError(a,i)}}},{key:"deleteConversationAsync",value:function(e,t){Object(d.b)(this.deleteConversationImplAsync(),e,t)}},{key:"deleteConversationImplAsync",value:function(){return Hr(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O.a.throwIfNullOrUndefined(this.privProperties,this.privErrors.permissionDeniedConnect),O.a.throwIfNullOrWhitespace(this.privRoom.token,this.privErrors.permissionDeniedConnect),e.next=4,this.privManager.leave(this.privProperties,this.privRoom.token);case 4:this.dispose();case 5:case"end":return e.stop()}}),e,this)})))}},{key:"endConversationAsync",value:function(e,t){Object(d.b)(this.endConversationImplAsync(),e,t)}},{key:"endConversationImplAsync",value:function(){return this.close(!0)}},{key:"lockConversationAsync",value:function(e,t){var r,n=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","lock")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getLockCommand(!0),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}}},{key:"muteAllParticipantsAsync",value:function(e,t){var r,n=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrUndefined(this.privConversationRecognizer,this.privErrors.permissionDeniedSend),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","mute")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getMuteAllCommand(!0),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}}},{key:"muteParticipantAsync",value:function(e,t,r){var n,i=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","userId")),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),this.me.isHost||this.me.id===e||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),r),-1===this.privParticipants.getParticipantIndex(e)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getMuteCommand(e,!0),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}}},{key:"removeParticipantAsync",value:function(e,t,r){var n,i=this;try{if(O.a.throwIfDisposed(this.privIsDisposed),this.privTranscriberRecognizer&&e.hasOwnProperty("id"))Object(d.b)(this.removeParticipantImplAsync(e),t,r);else{O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","remove")),r);var o="";if("string"===typeof e)o=e;else if(e.hasOwnProperty("id")){o=e.id}else if(e.hasOwnProperty("userId")){o=e.userId}O.a.throwIfNullOrWhitespace(o,this.privErrors.invalidArgs.replace("{arg}","userId")),-1===this.participants.findIndex((function(e){return e.id===o}))&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getEjectCommand(o),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}}catch(a){this.handleError(a,r)}}},{key:"unlockConversationAsync",value:function(e,t){var r,n=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unlock")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getLockCommand(!1),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}}},{key:"unmuteAllParticipantsAsync",value:function(e,t){var r,n=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unmute all")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getMuteAllCommand(!1),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}}},{key:"unmuteParticipantAsync",value:function(e,t,r){var n,i=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","userId")),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),this.me.isHost||this.me.id===e||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),r),-1===this.privParticipants.getParticipantIndex(e)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getMuteCommand(e,!1),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}}},{key:"sendTextMessageAsync",value:function(e,t,r){var n,i=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","message")),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),e.length>this.privTextMessageMaxLength&&this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}","message length")),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getMessageCommand(e),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}}},{key:"changeNicknameAsync",value:function(e,t,r){var n,i=this;try{O.a.throwIfDisposed(this.privIsDisposed),O.a.throwIfDisposed(this.privConversationRecognizer.isDisposed()),O.a.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","nickname")),O.a.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getChangeNicknameCommand(e),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}}},{key:"isDisposed",value:function(){return this.privIsDisposed}},{key:"dispose",value:function(e){var t;this.isDisposed||(this.privIsDisposed=!0,null===(t=this.config)||void 0===t||t.close(),this.privConfig=void 0,this.privLanguage=void 0,this.privProperties=void 0,this.privRoom=void 0,this.privToken=void 0,this.privManager=void 0,this.privConversationRecognizer=void 0,this.privIsConnected=!1,this.privIsReady=!1,this.privParticipants=void 0)}},{key:"transcriberRecognizer",get:function(){return this.privTranscriberRecognizer}},{key:"connectTranscriberRecognizer",value:function(e){return Hr(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privTranscriberRecognizer){t.next=3;break}return t.next=3,this.privTranscriberRecognizer.close();case 3:this.privTranscriberRecognizer=e,this.privTranscriberRecognizer.conversation=this;case 5:case"end":return t.stop()}}),t,this)})))}},{key:"conversationInfo",get:function(){var e,t=this.conversationId,r=this.participants.map((function(e){return{id:e.id,preferredLanguage:e.preferredLanguage,voice:e.voice}})),n={},i=Object(c.a)(Gt.transcriptionEventKeys);try{for(i.s();!(e=i.n()).done;){var o=e.value,a=this.properties.getProperty(o,"");""!==a&&(n[o]=a)}}catch(s){i.e(s)}finally{i.f()}return{id:t,participants:r,conversationProperties:n}}},{key:"addPartici
2pantImplAsync",value:function(e){if(void 0!==this.privParticipants.addOrUpdateParticipant(e)&&this.privTranscriberRecognizer){var t=this.conversationInfo;return t.participants=[e],this.privTranscriberRecognizer.pushConversationEvent(t,"join")}}},{key:"removeParticipantImplAsync",value:function(e){this.privParticipants.deleteParticipant(e.id);var t=this.conversationInfo;return t.participants=[e],this.privTranscriberRecognizer.pushConversationEvent(t,"leave")}},{key:"close",value:function(e){var t,r;return Hr(this,void 0,void 0,p.a.mark((function n(){return p.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,this.privIsConnected=!1,n.next=4,this.privConversationRecognizer.close();case 4:return n.next=6,null===(t=this.privTranscriberRecognizer)||void 0===t?void 0:t.close();case 6:this.privConversationRecognizer=void 0,null===(r=this.privConversationTranslator)||void 0===r||r.dispose(),n.next=12;break;case 10:n.prev=10,n.t0=n.catch(0);case 12:e&&this.dispose();case 13:case"end":return n.stop()}}),n,this,[[0,10]])})))}},{key:"canSend",get:function(){var e;return this.privIsConnected&&!(null===(e=this.privParticipants.me)||void 0===e?void 0:e.isMuted)}},{key:"canSendAsHost",get:function(){var e;return this.privIsConnected&&(null===(e=this.privParticipants.me)||void 0===e?void 0:e.isHost)}},{key:"handleCallback",value:function(e,t){if(e){try{e()}catch(r){t&&t(r)}e=void 0}}},{key:"handleError",value:function(e,t){if(t)if(e instanceof Error){var r=e;t(r.name+": "+r.message)}else t(e)}},{key:"toParticipants",value:function(e){var t=this,r=this.privParticipants.participants.map((function(e){return t.toParticipant(e)}));return e?r:r.filter((function(e){return!1===e.isHost}))}},{key:"toParticipant",value:function(e){return new zr(e.id,e.avatar,e.displayName,e.isHost,e.isMuted,e.isUsingTts,e.preferredLanguage,e.voice)}},{key:"getMuteAllCommand",value:function(e){return O.a.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),O.a.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:er,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:$t,value:e})}},{key:"getMuteCommand",value:function(e,t){return O.a.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),O.a.throwIfNullOrWhitespace(e,"participantId"),JSON.stringify({command:Qt,participantId:e,roomid:this.privRoom.roomId,type:$t,value:t})}},{key:"getLockCommand",value:function(e){return O.a.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),O.a.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:Zt,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:$t,value:e})}},{key:"getEjectCommand",value:function(e){return O.a.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),O.a.throwIfNullOrWhitespace(e,"participantId"),JSON.stringify({command:Xt,participantId:e,roomid:this.privRoom.roomId,type:$t})}},{key:"getChangeNicknameCommand",value:function(e){return O.a.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),O.a.throwIfNullOrWhitespace(e,"nickname"),O.a.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:Jt,nickname:e,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:$t,value:e})}},{key:"getMessageCommand",value:function(e){return O.a.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),O.a.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),O.a.throwIfNullOrWhitespace(e,"message"),JSON.stringify({participantId:this.privRoom.participantId,roomId:this.privRoom.roomId,text:e,type:Wt})}}]),r}(Gr),Yr=function(){function e(t){Object(o.a)(this,e),this.privAudioConfig=t}return Object(a.a)(e,[{key:"handleCallback",value:function(e,t){if(e){try{e()}catch(r){t&&t(r)}e=void 0}}},{key:"handleError",value:function(e,t){if(t)if(e instanceof Error){var r=e;t(r.name+": "+r.message)}else t(e)}}]),e}(),Wr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))};!function(e){e[e.Inactive=0]="Inactive",e[e.Connecting=1]="Connecting",e[e.Connected=2]="Connected"}(Br||(Br={}));var Kr,$r,Jr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n,i){var a;return Object(o.a)(this,r),(a=t.call(this,e,n)).privSpeechState=Br.Inactive,i&&(a.privTranslator=i,a.sessionStarted=function(){a.privSpeechState=Br.Connected},a.sessionStopped=function(){a.privSpeechState=Br.Inactive},a.recognized=function(e,t){return Wr(Object(zt.a)(a),void 0,void 0,p.a.mark((function e(){var r;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null===(r=t.result)||void 0===r?void 0:r.errorDetails)){e.next=4;break}return e.next=3,this.cancelSpeech();case 3:this.fireCancelEvent(t.result.errorDetails);case 4:case"end":return e.stop()}}),e,this)})))},a.canceled=function(e,t){return Wr(Object(zt.a)(a),void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privSpeechState===Br.Inactive){e.next=9;break}return e.prev=1,e.next=4,this.cancelSpeech();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),this.privSpeechState=Br.Inactive;case 9:case"end":return e.stop()}}),e,this,[[1,6]])})))}),a}return Object(a.a)(r,[{key:"state",get:function(){return this.privSpeechState},set:function(e){this.privSpeechState=e}},{key:"onConnection",value:function(){this.privSpeechState=Br.Connected}},{key:"onDisconnection",value:function(){return Wr(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.privSpeechState=Br.Inactive,e.next=3,this.cancelSpeech();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"fireCancelEvent",value:function(e){var t,r,n;try{if(this.privTranslator.canceled){var i=new yr(null!==(t=null===e||void 0===e?void 0:e.reason)&&void 0!==t?t:z.a.Error,null!==(r=null===e||void 0===e?void 0:e.errorDetails)&&void 0!==r?r:e,null!==(n=null===e||void 0===e?void 0:e.errorCode)&&void 0!==n?n:Ge.a.RuntimeError,void 0,null===e||void 0===e?void 0:e.sessionId);this.privTranslator.canceled(this.privTranslator,i)}}catch(o){}}},{key:"cancelSpeech",value:function(){var e;return Wr(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,this.stopContinuousRecognitionAsync(),t.next=4,null===(e=this.privReco)||void 0===e?void 0:e.disconnect();case 4:this.privSpeechState=Br.Inactive,t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,this,[[0,7]])})))}}]),r}(Me),Xr=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e){var n;return Object(o.a)(this,r),(n=t.call(this,e)).privIsDisposed=!1,n.privIsSpeaking=!1,n.privErrors=Gt.restErrors,n.privPlaceholderKey="abcdefghijklmnopqrstuvwxyz012345",n.privPlaceholderRegion="westus",n.privProperties=new ce.a,n}return Object(a.a)(r,[{key:"properties",get:function(){return this.privProperties}},{key:"speechRecognitionLanguage",get:function(){return this.privSpeechRecognitionLanguage}},{key:"participants",get:function(){var e;return null===(e=this.privConversation)||void 0===e?void 0:e.participants}},{key:"joinConversationAsync",value:function(e,t,r,n,i){var o=this;try{if("string"===typeof e){O.a.throwIfNullOrUndefined(e,this.privErrors.invalidArgs.replace("{arg}","conversation id")),O.a.throwIfNullOrWhitespace(t,this.privErrors.invalidArgs.replace("{arg}","nickname")),this.privConversation&&this.handleError(new Error(this.privErrors.permissionDeniedStart),i);var a=r;void 0!==a&&null!==a&&""!==a||(a=Gt.defaultLanguageCode),this.privSpeechTranslationConfig=fe.fromSubscription(this.privPlaceholderKey,this.privPlaceholderRegion),this.privSpeechTranslationConfig.setProfanity(le.a.Masked),this.privSpeechTranslationConfig.addTargetLanguage(a),this.privSpeechTranslationConfig.setProperty(ue.a[ue.a.SpeechServiceConnection_RecoLanguage],a),this.privSpeechTranslationConfig.setProperty(ue.a[ue.a.ConversationTranslator_Name],t);var s=this.privProperties.getProperty(ue.a.ConversationTranslator_Host);s&&this.privSpeechTranslationConfig.setProperty(ue.a[ue.a.ConversationTranslator_Host],s);var u=this.privProperties.getProperty(ue.a.SpeechServiceConnection_Host);u&&this.privSpeechTranslationConfig.setProperty(ue.a[ue.a.SpeechServiceConnection_Host],u),this.privConversation=new qr(this.privSpeechTranslationConfig),this.privConversation.conversationTranslator=this,this.privConversation.joinConversationAsync(e,t,a,(function(e){e||o.handleError(new Error(o.privErrors.permissionDeniedConnect),i),o.privSpeechTranslationConfig.authorizationToken=e,o.privConversation.startConversationAsync((function(){o.handleCallback(n,i)}),(function(e){o.handleError(e,i)}))}),(function(e){o.handleError(e,i)}))}else"object"===typeof e?(O.a.throwIfNullOrUndefined(e,this.privErrors.invalidArgs.replace("{arg}","conversation id")),O.a.throwIfNullOrWhitespace(t,this.privErrors.invalidArgs.replace("{arg}","nickname")),this.privProperties.setProperty(ue.a.ConversationTranslator_Name,t),this.privConversation=e,this.privConversation.conversationTranslator=this,O.a.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedConnect),O.a.throwIfNullOrUndefined(this.privConversation.room.token,this.privErrors.permissionDeniedConnect),this.privSpeechTranslationConfig=e.config,this.handleCallback(r,n)):this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}
2","invalid conversation type")),n)}catch(c){this.handleError(c,"string"===typeof r?i:n)}}},{key:"leaveConversationAsync",value:function(e,t){var r=this;Object(d.b)(Wr(r,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.cancelSpeech();case 2:return e.next=4,this.privConversation.endConversationImplAsync();case 4:return e.next=6,this.privConversation.deleteConversationImplAsync();case 6:this.dispose();case 7:case"end":return e.stop()}}),e,this)}))),e,t)}},{key:"sendTextMessageAsync",value:function(e,t,r){var n;try{O.a.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedSend),O.a.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}",e)),null===(n=this.privConversation)||void 0===n||n.sendTextMessageAsync(e,t,r)}catch(i){this.handleError(i,r)}}},{key:"startTranscribingAsync",value:function(e,t){var r=this;Object(d.b)(Wr(r,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,O.a.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedSend),O.a.throwIfNullOrUndefined(this.privConversation.room.token,this.privErrors.permissionDeniedConnect),void 0!==this.privCTRecognizer){e.next=6;break}return e.next=6,this.connectTranslatorRecognizer();case 6:return O.a.throwIfNullOrUndefined(this.privCTRecognizer,this.privErrors.permissionDeniedSend),this.canSpeak||this.handleError(new Error(this.privErrors.permissionDeniedSend),t),e.next=10,this.startContinuousRecognition();case 10:this.privIsSpeaking=!0,e.next=19;break;case 13:return e.prev=13,e.t0=e.catch(0),this.privIsSpeaking=!1,e.next=18,this.cancelSpeech();case 18:throw e.t0;case 19:case"end":return e.stop()}}),e,this,[[0,13]])}))),e,t)}},{key:"stopTranscribingAsync",value:function(e,t){var r=this;Object(d.b)(Wr(r,void 0,void 0,p.a.mark((function e(){var t=this;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.privIsSpeaking){e.next=5;break}return e.next=4,this.cancelSpeech();case 4:return e.abrupt("return");case 5:return this.privIsSpeaking=!1,e.next=8,new Promise((function(e,r){var n;null===(n=t.privCTRecognizer)||void 0===n||n.stopContinuousRecognitionAsync(e,r)}));case 8:e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(0),e.next=14,this.cancelSpeech();case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),e,t)}},{key:"isDisposed",value:function(){return this.privIsDisposed}},{key:"dispose",value:function(e,t,r){var n=this;Object(d.b)(Wr(n,void 0,void 0,p.a.mark((function e(){var t,r;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isDisposed||this.privIsSpeaking){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.cancelSpeech();case 4:this.privIsDisposed=!0,null===(t=this.privSpeechTranslationConfig)||void 0===t||t.close(),this.privSpeechRecognitionLanguage=void 0,this.privProperties=void 0,this.privAudioConfig=void 0,this.privSpeechTranslationConfig=void 0,null===(r=this.privConversation)||void 0===r||r.dispose(),this.privConversation=void 0;case 12:case"end":return e.stop()}}),e,this)}))),t,r)}},{key:"cancelSpeech",value:function(){var e;return Wr(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,this.privIsSpeaking=!1,t.next=4,null===(e=this.privCTRecognizer)||void 0===e?void 0:e.onDisconnection();case 4:this.privCTRecognizer=void 0,t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,this,[[0,7]])})))}},{key:"connectTranslatorRecognizer",value:function(){return Wr(this,void 0,void 0,p.a.mark((function e(){var t,r,n;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,void 0===this.privAudioConfig&&(this.privAudioConfig=B.fromDefaultMicrophoneInput()),this.privSpeechTranslationConfig.getProperty(ue.a[ue.a.SpeechServiceConnection_Key])===this.privPlaceholderKey&&this.privSpeechTranslationConfig.setProperty(ue.a[ue.a.SpeechServiceConnection_Key],""),t=encodeURIComponent(this.privConversation.room.token),r=(r=this.privSpeechTranslationConfig.getProperty(ue.a[ue.a.SpeechServiceConnection_Host],Gt.speechHost)).replace("{region}",this.privConversation.room.cognitiveSpeechRegion),n="wss://".concat(r).concat(Gt.speechPath,"?").concat(Gt.configParams.token,"=").concat(t),this.privSpeechTranslationConfig.setProperty(ue.a[ue.a.SpeechServiceConnection_Endpoint],n),this.privCTRecognizer=new Jr(this.privSpeechTranslationConfig,this.privAudioConfig,this),e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(0),e.next=15,this.cancelSpeech();case 15:throw e.t0;case 16:case"end":return e.stop()}}),e,this,[[0,11]])})))}},{key:"startContinuousRecognition",value:function(){var e=this;return new Promise((function(t,r){e.privCTRecognizer.startContinuousRecognitionAsync(t,r)}))}},{key:"canSpeak",get:function(){return!(!this.privConversation.isConnected||!this.privCTRecognizer)&&(!this.privIsSpeaking&&this.privCTRecognizer.state!==Br.Connected&&this.privCTRecognizer.state!==Br.Connecting&&!this.privConversation.isMutedByHost)}}]),r}(Yr),Zr=r(816),Qr=r(817),en=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},tn=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(e,n){var i;Object(o.a)(this,r);var a=e;return O.a.throwIfNull(a,"speechTranslationConfig"),O.a.throwIfNullOrWhitespace(a.speechRecognitionLanguage,ue.a[ue.a.SpeechServiceConnection_RecoLanguage]),(i=t.call(this,n,a.properties,new Zr.a)).privDisposedRecognizer=!1,i}return Object(a.a)(r,[{key:"getConversationInfo",value:function(){return O.a.throwIfNullOrUndefined(this.privConversation,"Conversation"),this.privConversation.conversationInfo}},{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"conversation",set:function(e){O.a.throwIfNullOrUndefined(e,"Conversation"),this.privConversation=e}},{key:"speechRecognitionLanguage",get:function(){return O.a.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage)}},{key:"properties",get:function(){return this.privProperties}},{key:"startContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.startContinuousRecognitionAsyncImpl(f.c.Conversation),e,t)}},{key:"stopContinuousRecognitionAsync",value:function(e,t){Object(d.b)(this.stopContinuousRecognitionAsyncImpl(),e,t)}},{key:"close",value:function(){return en(this,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return O.a.throwIfDisposed(this.privDisposedRecognizer),e.next=3,this.dispose(!0);case 3:case"end":return e.stop()}}),e,this)})))}},{key:"pushConversationEvent",value:function(e,t){return en(this,void 0,void 0,p.a.mark((function r(){var n;return p.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=this.privReco,O.a.throwIfNullOrUndefined(n,"serviceRecognizer"),r.next=4,n.sendSpeechEventAsync(e,t);case 4:case"end":return r.stop()}}),r,this)})))}},{key:"connectCallbacks",value:function(e){this.canceled=function(t,r){e.canceled&&e.canceled(e,r)},this.recognizing=function(t,r){e.transcribing&&e.transcribing(e,r)},this.recognized=function(t,r){e.transcribed&&e.transcribed(e,r)},this.sessionStarted=function(t,r){e.sessionStarted&&e.sessionStarted(e,r)},this.sessionStopped=function(t,r){e.sessionStopped&&e.sessionStopped(e,r)}}},{key:"disconnectCallbacks",value:function(){this.canceled=void 0,this.recognizing=void 0,this.recognized=void 0,this.sessionStarted=void 0,this.sessionStopped=void 0}},{key:"dispose",value:function(e){var t=this,n=Object.create(null,{dispose:{get:function(){return Object(be.a)(Object(ge.a)(r.prototype),"dis
2pose",t)}}});return en(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposedRecognizer){t.next=2;break}return t.abrupt("return");case 2:if(!e){t.next=6;break}return this.privDisposedRecognizer=!0,t.next=6,this.implRecognizerStop();case 6:return t.next=8,n.dispose.call(this,e);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"createRecognizerConfig",value:function(e){return new f.d(e,this.properties)}},{key:"createServiceRecognizer",value:function(e,t,r,n){var i=r;return new Qr.a(e,t,i,n,this)}}]),r}(Te),rn=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},nn=function(){function e(t){Object(o.a)(this,e),this.privAudioConfig=t,this.privProperties=new ce.a,this.privRecognizer=void 0,this.privDisposedRecognizer=!1}return Object(a.a)(e,[{key:"joinConversationAsync",value:function(e,t,r){var n=e;O.a.throwIfNullOrUndefined(n,"Conversation"),this.privRecognizer=new tn(e.config,this.privAudioConfig),O.a.throwIfNullOrUndefined(this.privRecognizer,"Recognizer"),this.privRecognizer.connectCallbacks(this),Object(d.b)(n.connectTranscriberRecognizer(this.privRecognizer),t,r)}},{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"speechRecognitionLanguage",get:function(){return O.a.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(ue.a.SpeechServiceConnection_RecoLanguage)}},{key:"properties",get:function(){return this.privProperties}},{key:"startTranscribingAsync",value:function(e,t){this.privRecognizer.startContinuousRecognitionAsync(e,t)}},{key:"stopTranscribingAsync",value:function(e,t){this.privRecognizer.stopContinuousRecognitionAsync(e,t)}},{key:"leaveConversationAsync",value:function(e,t){var r=this;this.privRecognizer.disconnectCallbacks(),Object(d.b)(rn(r,void 0,void 0,p.a.mark((function e(){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return");case 1:case"end":return e.stop()}}),e)}))),e,t)}},{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privDisposedRecognizer),Object(d.b)(this.dispose(!0),e,t)}},{key:"dispose",value:function(e){return rn(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposedRecognizer){t.next=2;break}return t.abrupt("return");case 2:e&&(this.privDisposedRecognizer=!0);case 3:case"end":return t.stop()}}),t,this)})))}}]),e}(),on=r(818),an=r(819),sn=r(516),un=r(146),cn=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},ln=function(){function e(t,r){Object(o.a)(this,e);var n=t;O.a.throwIfNull(n,"speechConfig"),null!==r&&(this.audioConfig=void 0===r?"undefined"===typeof window?void 0:B.fromDefaultSpeakerOutput():r),this.privProperties=n.properties.clone(),this.privDisposed=!1,this.privSynthesizing=!1,this.privConnectionFactory=new on.a,this.synthesisRequestQueue=new sn.a,this.implCommonSynthesizeSetup()}return Object(a.a)(e,[{key:"authorizationToken",get:function(){return this.properties.getProperty(ue.a.SpeechServiceAuthorization_Token)},set:function(e){O.a.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(ue.a.SpeechServiceAuthorization_Token,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"autoDetectSourceLanguage",get:function(){return this.properties.getProperty(ue.a.SpeechServiceConnection_AutoDetectSourceLanguages)===se.AutoDetectSourceLanguagesOpenRangeOptionName}},{key:"buildSsml",value:function(t){var r,n=(r={},Object(P.a)(r,"ar-EG","Microsoft Server Speech Text to Speech Voice (ar-EG, Hoda)"),Object(P.a)(r,"ar-SA","Microsoft Server Speech Text to Speech Voice (ar-SA, Naayf)"),Object(P.a)(r,"bg-BG","Microsoft Server Speech Text to Speech Voice (bg-BG, Ivan)"),Object(P.a)(r,"ca-ES","Microsoft Server Speech Text to Speech Voice (ca-ES, HerenaRUS)"),Object(P.a)(r,"cs-CZ","Microsoft Server Speech Text to Speech Voice (cs-CZ, Jakub)"),Object(P.a)(r,"da-DK","Microsoft Server Speech Text to Speech Voice (da-DK, HelleRUS)"),Object(P.a)(r,"de-AT","Microsoft Server Speech Text to Speech Voice (de-AT, Michael)"),Object(P.a)(r,"de-CH","Microsoft Server Speech Text to Speech Voice (de-CH, Karsten)"),Object(P.a)(r,"de-DE","Microsoft Server Speech Text to Speech Voice (de-DE, HeddaRUS)"),Object(P.a)(r,"el-GR","Microsoft Server Speech Text to Speech Voice (el-GR, Stefanos)"),Object(P.a)(r,"en-AU","Microsoft Server Speech Text to Speech Voice (en-AU, HayleyRUS)"),Object(P.a)(r,"en-CA","Microsoft Server Speech Text to Speech Voice (en-CA, HeatherRUS)"),Object(P.a)(r,"en-GB","Microsoft Server Speech Text to Speech Voice (en-GB, HazelRUS)"),Object(P.a)(r,"en-IE","Microsoft Server Speech Text to Speech Voice (en-IE, Sean)"),Object(P.a)(r,"en-IN","Microsoft Server Speech Text to Speech Voice (en-IN, PriyaRUS)"),Object(P.a)(r,"en-US","Microsoft Server Speech Text to Speech Voice (en-US, AriaRUS)"),Object(P.a)(r,"es-ES","Microsoft Server Speech Text to Speech Voice (es-ES, HelenaRUS)"),Object(P.a)(r,"es-MX","Microsoft Server Speech Text to Speech Voice (es-MX, HildaRUS)"),Object(P.a)(r,"fi-FI","Microsoft Server Speech Text to Speech Voice (fi-FI, Hei
2diRUS)"),Object(P.a)(r,"fr-CA","Microsoft Server Speech Text to Speech Voice (fr-CA, HarmonieRUS)"),Object(P.a)(r,"fr-CH","Microsoft Server Speech Text to Speech Voice (fr-CH, Guillaume)"),Object(P.a)(r,"fr-FR","Microsoft Server Speech Text to Speech Voice (fr-FR, HortenseRUS)"),Object(P.a)(r,"he-IL","Microsoft Server Speech Text to Speech Voice (he-IL, Asaf)"),Object(P.a)(r,"hi-IN","Microsoft Server Speech Text to Speech Voice (hi-IN, Kalpana)"),Object(P.a)(r,"hr-HR","Microsoft Server Speech Text to Speech Voice (hr-HR, Matej)"),Object(P.a)(r,"hu-HU","Microsoft Server Speech Text to Speech Voice (hu-HU, Szabolcs)"),Object(P.a)(r,"id-ID","Microsoft Server Speech Text to Speech Voice (id-ID, Andika)"),Object(P.a)(r,"it-IT","Microsoft Server Speech Text to Speech Voice (it-IT, LuciaRUS)"),Object(P.a)(r,"ja-JP","Microsoft Server Speech Text to Speech Voice (ja-JP, HarukaRUS)"),Object(P.a)(r,"ko-KR","Microsoft Server Speech Text to Speech Voice (ko-KR, HeamiRUS)"),Object(P.a)(r,"ms-MY","Microsoft Server Speech Text to Speech Voice (ms-MY, Rizwan)"),Object(P.a)(r,"nb-NO","Microsoft Server Speech Text to Speech Voice (nb-NO, HuldaRUS)"),Object(P.a)(r,"nl-NL","Microsoft Server Speech Text to Speech Voice (nl-NL, HannaRUS)"),Object(P.a)(r,"pl-PL","Microsoft Server Speech Text to Speech Voice (pl-PL, PaulinaRUS)"),Object(P.a)(r,"pt-BR","Microsoft Server Speech Text to Speech Voice (pt-BR, HeloisaRUS)"),Object(P.a)(r,"pt-PT","Microsoft Server Speech Text to Speech Voice (pt-PT, HeliaRUS)"),Object(P.a)(r,"ro-RO","Microsoft Server Speech Text to Speech Voice (ro-RO, Andrei)"),Object(P.a)(r,"ru-RU","Microsoft Server Speech Text to Speech Voice (ru-RU, EkaterinaRUS)"),Object(P.a)(r,"sk-SK","Microsoft Server Speech Text to Speech Voice (sk-SK, Filip)"),Object(P.a)(r,"sl-SI","Microsoft Server Speech Text to Speech Voice (sl-SI, Lado)"),Object(P.a)(r,"sv-SE","Microsoft Server Speech Text to Speech Voice (sv-SE, HedvigRUS)"),Object(P.a)(r,"ta-IN","Microsoft Server Speech Text to Speech Voice (ta-IN, Valluvar)"),Object(P.a)(r,"te-IN","Microsoft Server Speech Text to Speech Voice (te-IN, Chitra)"),Object(P.a)(r,"th-TH","Microsoft Server Speech Text to Speech Voice (th-TH, Pattara)"),Object(P.a)(r,"tr-TR","Microsoft Server Speech Text to Speech Voice (tr-TR, SedaRUS)"),Object(P.a)(r,"vi-VN","Microsoft Server Speech Text to Speech Voice (vi-VN, An)"),Object(P.a)(r,"zh-CN","Microsoft Server Speech Text to Speech Voice (zh-CN, HuihuiRUS)"),Object(P.a)(r,"zh-HK","Microsoft Server Speech Text to Speech Voice (zh-HK, TracyRUS)"),Object(P.a)(r,"zh-TW","Microsoft Server Speech Text to Speech Voice (zh-TW, HanHanRUS)"),r),i=this.properties.getProperty(ue.a.SpeechServiceConnection_SynthLanguage,"en-US"),o=this.properties.getProperty(ue.a.SpeechServiceConnection_SynthVoice,""),a=e.XMLEncode(t);return this.autoDetectSourceLanguage?i="en-US":o=o||n[i],o&&(a="<voice name='".concat(o,"'>").concat(a,"</voice>")),a="<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='".concat(i,"'>").concat(a,"</speak>")}},{key:"speakTextAsync",value:function(e,t,r,n){this.speakImpl(e,!1,t,r,n)}},{key:"speakSsmlAsync",value:function(e,t,r,n){this.speakImpl(e,!0,t,r,n)}},{key:"close",value:function(e,t){O.a.throwIfDisposed(this.privDisposed),Object(d.b)(this.dispose(!0),e,t)}},{key:"internalData",get:function(){return this.privAdapter}},{key:"dispose",value:function(e){return cn(this,void 0,void 0,p.a.mark((function t(){return p.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.privDisposed){t.next=2;break}return t.abrupt("return");case 2:if(!e){t.next=6;break}if(!this.privAdapter){t.next=6;break}return t.next=6,this.privAdapter.dispose();case 6:this.privDisposed=!0;case 7:case"end":return t.stop()}}),t,this)})))}},{key:"createSynthesizerConfig",value:function(e){return new an.a(e,this.privProperties)}},{key:"createSynthesisAdapter",value:function(e,t,r,n){return new N.a(e,t,n,this,this.audioConfig)}},{key:"implCommonSynthesizeSetup",value:function(){var e=this,t="undefined"!==typeof window?"Browser":"Node",r="unknown",n="unknown";"undefined"!==typeof navigator&&(t=t+"/"+navigator.platform,r=navigator.userAgent,n=navigator.appVersion);var i=this.createSynthesizerConfig(new f.e(new f.a(new f.b(t,r,n)))),o=this.privProperties.getProperty(ue.a.SpeechServiceConnection_Key,void 0),a=o&&""!==o?new ve.a(o):new me.a((function(t){var r=e.privProperties.getProperty(ue.a.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}),(function(t){var r=e.privProperties.getProperty(ue.a.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}));this.privAdapter=this.createSynthesisAdapter(a,this.privConnectionFactory,this.audioConfig,i),this.privAdapter.audioOutputFormat=un.a.fromSpeechSynthesisOutputFormat(pe.a[this.properties.getProperty(ue.a.SpeechServiceConnection_SynthOutputFormat,void 0)])}},{key:"speakImpl",value:function(e,t,r,n,i){var o=this;try{O.a.throwIfDisposed(this.privDisposed);var a,s=Object(y.b)();a=i instanceof j?new k.e(i):i instanceof k.b?i:void 0!==i?new U(i):void 0,this.synthesisRequestQueue.enqueue(new pn(s,e,t,(function(e){if(o.privSynthesizing=!1,r)try{r(e)}catch(e){n&&n(e)}r=void 0,o.adapterSpeak().catch((function(){}))}),(function(e){n&&n(e)}),a)),this.adapterSpeak().catch((function(){}))}catch(c){if(n)if(c instanceof Error){var u=c;n(u.name+": "+u.message)}else n(c);this.dispose(!0).catch((function(){}))}}},{key:"adapterSpeak",value:function(){return cn(this,void 0,void 0,p.a.mark((function e(){var t;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privDisposed||this.privSynthesizing){e.next=6;break}return this.privSynthesizing=!0,e.next=4,this.synthesisRequestQueue.dequeue();case 4:return t=e.sent,e.abrupt("return",this.privAdapter.Speak(t.text,t.isSSML,t.requestId,t.cb,t.err,t.dataStream));case 6:case"end":return e.stop()}}),e,this)})))}}],[{key:"FromConfig",value:function(t,r,n){var i=t;return r.properties.mergeTo(i.properties),new e(t,n)}},{key:"XMLEncode",value:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}}]),e}(),pn=function e(t,r,n,i,a,s){Object(o.a)(this,e),this.requestId=t,this.text=r,this.isSSML=n,this.cb=i,this.err=a,this.dataStream=s},fn=r(206),dn=r(205),hn=r(494),vn=r(495),mn=r(496),yn=r(505);!function(e){e[e.FivePoint=1]="FivePoint",e[e.HundredMark=2]="HundredMark"}(Kr||(Kr={})),function(e){e[e.Phoneme=1]="Phoneme",e[e.Word=2]="Word",e[e.FullText=3]="FullText"}($r||($r={}));var Tn=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kr.FivePoint,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$r.Phoneme,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Object(o.a)(this,e),O.a.throwIfNullOrUndefined(t,"referenceText"),this.privProperties=new ce.a,this.privProperties.setProperty(ue.a.PronunciationAssessment_ReferenceText,t),this.privProperties.setProperty(ue.a.PronunciationAssessment_GradingSystem,Kr[r]),this.privProperties.setProperty(ue.a.PronunciationAssessment_Granularity,$r[n]),this.privProperties.setProperty(ue.a.PronunciationAssessment_EnableMiscue,String(i))}return Object(a.a)(e,[{key:"toJSON",value:function(){return this.updateJson(),this.privProperties.getProperty(ue.a.PronunciationAssessment_Params)}},{key:"applyTo",value:function(e){this.updateJson(),e.internalData.speechContext.setPronunciationAssessmentParam
2s(this.properties.getProperty(ue.a.PronunciationAssessment_Params))}},{key:"referenceText",get:function(){return this.properties.getProperty(ue.a.PronunciationAssessment_ReferenceText)},set:function(e){O.a.throwIfNullOrWhitespace(e,"referenceText"),this.properties.setProperty(ue.a.PronunciationAssessment_ReferenceText,e)}},{key:"properties",get:function(){return this.privProperties}},{key:"updateJson",value:function(){var e=this.privProperties.getProperty(ue.a.PronunciationAssessment_Json,"{}"),t=JSON.parse(e),r=this.privProperties.getProperty(ue.a.PronunciationAssessment_ReferenceText);r&&(t.referenceText=r);var n=this.privProperties.getProperty(ue.a.PronunciationAssessment_GradingSystem);n&&(t.gradingSystem=n);var i=this.privProperties.getProperty(ue.a.PronunciationAssessment_Granularity);i&&(t.granularity=i),t.dimension="Comprehensive";var o=this.privProperties.getProperty(ue.a.PronunciationAssessment_EnableMiscue);"true"===o?t.enableMiscue=!0:"false"===o&&(t.enableMiscue=!1),this.privProperties.setProperty(ue.a.PronunciationAssessment_Params,JSON.stringify(t))}}],[{key:"fromJSON",value:function(t){O.a.throwIfNullOrUndefined(t,"json");var r=new e("");return r.privProperties=new ce.a,r.properties.setProperty(ue.a.PronunciationAssessment_Json,t),r}}]),e}(),bn=function(){function e(t){Object(o.a)(this,e);var r=JSON.parse(t);O.a.throwIfNullOrUndefined(r.NBest[0],"NBest"),this.privPronJson=r.NBest[0]}return Object(a.a)(e,[{key:"detailResult",get:function(){return this.privPronJson}},{key:"accuracyScore",get:function(){return this.detailResult.PronunciationAssessment.AccuracyScore}},{key:"pronunciationScore",get:function(){return this.detailResult.PronunciationAssessment.PronScore}},{key:"completenessScore",get:function(){return this.detailResult.PronunciationAssessment.CompletenessScore}},{key:"fluencyScore",get:function(){return this.detailResult.PronunciationAssessment.FluencyScore}}],[{key:"fromResult",value:function(t){O.a.throwIfNullOrUndefined(t,"result");var r=t.properties.getProperty(ue.a.SpeechServiceResponse_JsonResult);return O.a.throwIfNullOrUndefined(r,"json"),new e(r)}}]),e}();r.d(t,"b",(function(){return B})),r.d(t,"e",(function(){return b.b})),r.d(t,"c",(function(){return w.a})),r.d(t,"X",(function(){return w.b})),r.d(t,"ab",(function(){return w.d})),r.d(t,"d",(function(){return k.a})),r.d(t,"Z",(function(){return k.b})),r.d(t,"bb",(function(){return k.d})),r.d(t,"m",(function(){return z.a})),r.d(t,"Y",(function(){return I})),r.d(t,"cb",(function(){return j})),r.d(t,"I",(function(){return H})),r.d(t,"jb",(function(){return G.a})),r.d(t,"db",(function(){return q.a})),r.d(t,"M",(function(){return Y.a})),r.d(t,"F",(function(){return W.a})),r.d(t,"eb",(function(){return K.a})),r.d(t,"wb",(function(){return $.a})),r.d(t,"G",(function(){return J.a})),r.d(t,"J",(function(){return X})),r.d(t,"vb",(function(){return Q.b})),r.d(t,"w",(function(){return Q.a})),r.d(t,"ub",(function(){return ee.a})),r.d(t,"Ib",(function(){return te.a})),r.d(t,"Lb",(function(){return re.a})),r.d(t,"Jb",(function(){return ne.a})),r.d(t,"Mb",(function(){return ie.a})),r.d(t,"gb",(function(){return oe.a})),r.d(t,"sb",(function(){return ae.a})),r.d(t,"tb",(function(){return ae.b})),r.d(t,"Fb",(function(){return fe})),r.d(t,"Gb",(function(){return de})),r.d(t,"V",(function(){return ce.a})),r.d(t,"W",(function(){return ue.a})),r.d(t,"fb",(function(){return Te})),r.d(t,"xb",(function(){return Ee})),r.d(t,"H",(function(){return Pe})),r.d(t,"Xb",(function(){return Ne.a})),r.d(t,"Kb",(function(){return Me})),r.d(t,"Nb",(function(){return Le.a})),r.d(t,"L",(function(){return A})),r.d(t,"K",(function(){return Be})),r.d(t,"Hb",(function(){return Fe.a})),r.d(t,"E",(function(){return Ve.a})),r.d(t,"k",(function(){return ze})),r.d(t,"j",(function(){return qe})),r.d(t,"l",(function(){return Ge.a})),r.d(t,"o",(function(){return Ye})),r.d(t,"hb",(function(){return We})),r.d(t,"n",(function(){return Qe})),r.d(t,"P",(function(){return et})),r.d(t,"C",(function(){return tt.a})),r.d(t,"i",(function(){return rt})),r.d(t,"B",(function(){return nt})),r.d(t,"D",(function(){return dt})),r.d(t,"a",(function(){return ht.a})),r.d(t,"Ob",(function(){return vt.a})),r.d(t,"ib",(function(){return lt})),r.d(t,"Q",(function(){return le.a})),r.d(t,"h",(function(){return bt})),r.d(t,"q",(function(){return Ze})),r.d(t,"p",(function(){return Je})),r.d(t,"Qb",(function(){return gt})),r.d(t,"Vb",(function(){return _t})),r.d(t,"Ub",(function(){return St})),r.d(t,"Wb",(function(){return At})),r.d(t,"Sb",(function(){return Et})),r.d(t,"Rb",(function(){return Ct})),r.d(t,"Tb",(function(){return Pt})),r.d(t,"qb",(function(){return Lt})),r.d(t,"mb",(function(){return Nt})),r.d(t,"rb",(function(){return xt})),r.d(t,"f",(function(){return jt})),r.d(t,"g",(function(){return Dt})),r.d(t,"kb",(function(){return Ut})),r.d(t,"ob",(function(){return Rt})),r.d(t,"pb",(function(){return mt})),r.d(t,"nb",(function(){return kt})),r.d(t,"r",(function(){return Gr})),r.d(t,"s",(function(){return Tr})),r.d(t,"t",(function(){return Ur})),r.d(t,"x",(function(){return yr})),r.d(t,"y",(function(){return Fr})),r.d(t,"z",(function(){return br})),r.d(t,"A",(function(){return Xr})),r.d(t,"u",(function(){return nn})),r.d(t,"N",(function(){return zr})),r.d(t,"O",(function(){return lr})),r.d(t,"Pb",(function(){return Vr})),r.d(t,"Ab",(function(){return pe.a})),r.d(t,"Eb",(function(){return ln})),r.d(t,"Bb",(function(){return fn.a})),r.d(t,"zb",(function(){return dn.a})),r.d(t,"Db",(function(){return hn.a})),r.d(t,"yb",(function(){return vn.a})),r.d(t,"Cb",(function(){return mn.a})),r.d(t,"lb",(function(){return L})),r.d(t,"v",(function(){return yn.a})),r.d(t,"S",(function(){return Kr})),r.d(t,"T",(function(){return $r})),r.d(t,"R",(function(){return Tn})),r.d(t,"U",(function(){return bn}
2))},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.Raw8Khz8BitMonoMULaw=0]="Raw8Khz8BitMonoMULaw",e[e.Riff16Khz16KbpsMonoSiren=1]="Riff16Khz16KbpsMonoSiren",e[e.Audio16Khz16KbpsMonoSiren=2]="Audio16Khz16KbpsMonoSiren",e[e.Audio16Khz32KBitRateMonoMp3=3]="Audio16Khz32KBitRateMonoMp3",e[e.Audio16Khz128KBitRateMonoMp3=4]="Audio16Khz128KBitRateMonoMp3",e[e.Audio16Khz64KBitRateMonoMp3=5]="Audio16Khz64KBitRateMonoMp3",e[e.Audio24Khz48KBitRateMonoMp3=6]="Audio24Khz48KBitRateMonoMp3",e[e.Audio24Khz96KBitRateMonoMp3=7]="Audio24Khz96KBitRateMonoMp3",e[e.Audio24Khz160KBitRateMonoMp3=8]="Audio24Khz160KBitRateMonoMp3",e[e.Raw16Khz16BitMonoTrueSilk=9]="Raw16Khz16BitMonoTrueSilk",e[e.Riff16Khz16BitMonoPcm=10]="Riff16Khz16BitMonoPcm",e[e.Riff8Khz16BitMonoPcm=11]="Riff8Khz16BitMonoPcm",e[e.Riff24Khz16BitMonoPcm=12]="Riff24Khz16BitMonoPcm",e[e.Riff8Khz8BitMonoMULaw=13]="Riff8Khz8BitMonoMULaw",e[e.Raw16Khz16BitMonoPcm=14]="Raw16Khz16BitMonoPcm",e[e.Raw24Khz16BitMonoPcm=15]="Raw24Khz16BitMonoPcm",e[e.Raw8Khz16BitMonoPcm=16]="Raw8Khz16BitMonoPcm",e[e.Ogg16Khz16BitMonoOpus=17]="Ogg16Khz16BitMonoOpus",e[e.Ogg24Khz16BitMonoOpus=18]="Ogg24Khz16BitMonoOpus",e[e.Raw48Khz16BitMonoPcm=19]="Raw48Khz16BitMonoPcm",e[e.Riff48Khz16BitMonoPcm=20]="Riff48Khz16BitMonoPcm",e[e.Audio48Khz96KBitRateMonoMp3=21]="Audio48Khz96KBitRateMonoMp3",e[e.Audio48Khz192KBitRateMonoMp3=22]="Audio48Khz192KBitRateMonoMp3",e[e.Ogg48Khz16BitMonoOpus=23]="Ogg48Khz16BitMonoOpus",e[e.Webm16Khz16BitMonoOpus=24]="Webm16Khz16BitMonoOpus",e[e.Webm24Khz16BitMonoOpus=25]="Webm24Khz16BitMonoOpus",e[e.Raw24Khz16BitMonoTrueSilk=26]="Raw24Khz16BitMonoTrueSilk",e[e.Raw8Khz8BitMonoALaw=27]="Raw8Khz8BitMonoALaw",e[e.Riff8Khz8BitMonoALaw=28]="Riff8Khz8BitMonoALaw"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(200);function i(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=Object(n.a)(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(1),i=function e(){Object(n.a)(this,e)};i.AuthKey="Ocp-Apim-Subscription-Key",i.ConnectionId="X-ConnectionId",i.ContentType="Content-Type",i.CustomCommandsAppId="X-CommandsAppId",i.Path="Path",i.RequestId="X-RequestId",i.RequestStreamId="X-StreamId",i.RequestTimestamp="X-Timestamp"},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.NoMatch=0]="NoMatch",e[e.Canceled=1]="Canceled",e[e.RecognizingSpeech=2]="RecognizingSpeech",e[e.RecognizedSpeech=3]="RecognizedSpeech",e[e.RecognizedKeyword=4]="RecognizedKeyword",e[e.RecognizingIntent=5]="RecognizingIntent",e[e.RecognizedIntent=6]="RecognizedIntent",e[e.TranslatingSpeech=7]="TranslatingSpeech",e[e.TranslatedSpeech=8]="TranslatedSpeech",e[e.SynthesizingAudio=9]="SynthesizingAudio",e[e.SynthesizingAudioCompleted=10]="SynthesizingAudioCompleted",e[e.SynthesizingAudioStarted=11]="SynthesizingAudioStarted",e[e.EnrollingVoiceProfile=12]="EnrollingVoiceProfile",e[e.EnrolledVoiceProfile=13]="EnrolledVoiceProfile",e[e.RecognizedSpeakers=14]="RecognizedSpeakers",e[e.RecognizedSpeaker=15]="RecognizedSpeaker",e[e.ResetVoiceProfile=16]="ResetVoiceProfile",e[e.DeletedVoiceProfile=17]="DeletedVoiceProfile"}(n||(n={}))},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function i(e,t){return n.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=r(691);var p=/[&<>"]/,f=/[&<>"]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return d[e]}var v=/[.?*+^$[\]\\(){}|-]/g;var m=r(444);t.lib={},t.lib.mdurl=r(692),t.lib.ucmicro=r(1410),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1
2);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(u,(function(e,t,r){return t||function(e,t){var r=0;return i(l,t)?l[t]:35===t.charCodeAt(0)&&c.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(f,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(v,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},function(e,t,r){"use strict";var n=r(47),i=r(49),o=r(265).f,a=r(530),s=r(50),u=r(179),c=r(119),l=r(91),p=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,f,d,h,v,m,y,T,b=e.target,g=e.global,_=e.stat,S=e.proto,A=g?n:_?n[b]:(n[b]||{}).prototype,E=g?s:s[b]||c(s,b,{})[b],C=E.prototype;for(d in t)r=!a(g?d:b+(_?".":"#")+d,e.forced)&&A&&l(A,d),v=E[d],r&&(m=e.noTargetGet?(T=o(A,d))&&T.value:A[d]),h=r&&m?m:t[d],r&&typeof v===typeof h||(y=e.bind&&r?u(h,n):e.wrap&&r?p(h):S&&i(h)?u(Function.call,h):h,(e.sham||h&&h.sham||v&&v.sham)&&c(y,"sham",!0),c(E,d,y),S&&(l(s,f=b+"Prototype")||c(s,f,{}),c(s[f],d,h),e.real&&C&&!C[d]&&c(C,d,h)))}},function(e,t,r){var n=r(1257),i=r(1258),o=r(641),a=r(1259);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(1),i=function e(){Object(n.a)(this,e)};i.BotId="botid",i.CustomSpeechDeploymentId="cid",i.CustomVoiceDeploymentId="deploymentId",i.EnableAudioLogging="storeAudio",i.EnableLanguageId="lidEnabled",i.EnableWordLevelTimestamps="wordLevelTimestamps",i.EndSilenceTimeoutMs="endSilenceTimeoutMs",i.Format="format",i.InitialSilenceTimeoutMs="initialSilenceTimeoutMs",i.Language="language",i.Profanity="profanity",i.RequestBotStatusMessages="enableBotMessageStatus",i.StableIntermediateThreshold="stableIntermediateThreshold",i.StableTranslation="stableTranslation",i.TestHooks="testhooks"},function(e,t,r){"use strict";var n,i;r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),function(e){e[e.Success=0]="Success",e[e.SynthesisEnd=1]="SynthesisEnd",e[e.Error=2]="Error"}(n||(n={})),function(e){e[e.Success=0]="Success",e[e.NoMatch=1]="NoMatch",e[e.InitialSilenceTimeout=2]="InitialSilenceTimeout",e[e.BabbleTimeout=3]="BabbleTimeout",e[e.Error=4]="Error",e[e.EndOfDictation=5]="EndOfDictation",e[e.TooManyRequests=6]="TooManyRequests"}(i||(i={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().styleToEmotionObject};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";r.r(t);r(28),r(75);var n=r(15),i=r(8),o=(r(338),function(e){return{done:!0,value:e}}),a={};function s(e){return Object(n.b)(e)?"channel":Object(n.l)(e)?String(e):Object(n.d)(e)?e.name:String(e)}function u(e,t,r){var n,s,u,c=t;function l(t,r){if(c===a)return o(t);if(r&&!s)throw c=a,r;n&&n(t);var i=r?e[s](r):e[c]();return c=i.nextState,u=i.effect,n=i.stateUpdater,s=i.errorState,c===a?o(t):u}return Object(i.ab)(l,(function(e){return l(null,e)}),r)}function c(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,c={done:!1,value:Object(i.l)(e)},l=function(e){return{done:!1,value:i.m.apply(void 0,[t].concat(n,[e]))}},p=function(e){return a=e};return u({q1:function(){return{nextState:"q2",effect:c,stateUpdater:p}},q2:function(){return{nextState:"q1",effect:l(a)}}},"q1","takeEvery("+s(e)+", "+t.name+")")}function l(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,c,l={done:!1,value:Object(i.l)(e)},p=function(e){return{done:!1,value:i.m.apply(void 0,[t].concat(n,[e]))}},f=function(e){return{done:!1,value:Object(i.n)(e)}},d=function(e){return a=e},h=function(e){return c=e};return u({q1:function(){return{nextState:"q2",effect:l,stateUpdater:h}},q2:function(){return a?{nextState:"q3",effect:f(a)}:{nextState:"q1",effect:p(c),stateUpdater:d}},q3:function(){return{nextState:"q1",effect:p(c),stateUpdater:d}}},"q1","takeLatest("+s(e)+", "+t.name+")")}function p(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,c={done:!1,value:Object(i.l)(e)},l=function(e){return{done:!1,value:i.o.apply(void 0,[t].concat(n,[e]))}},p=function(e){return a=e};return u({q1:function(){return{nextState:"q2",effect:c,stateUpdater:p}},q2:function(){return{nextState:"q1",effect:l(a)}}},"q1","takeLeading("+s(e)+", "+t.name+")")}function f(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];var c,l,p={done:!1,value:Object(i.p)(t,Object(i.r)(1))},f=function(){return{done:!1,value:Object(i.l)(l)}},d=function(e){return{done:!1,value:i.m.apply(void 0,[r].concat(o,[e]))}},h={done:!1,value:Object(i.v)(e)},v=function(e){return c=e},m=function(e){return l=e};return u({q1:function(){return{nextState:"q2",effect:p,stateUpdater:m}},q2:function(){return{nextState:"q3",effect:f(),stateUpdater:v}},q3:function(){return{nextState:"q4",effect:d(c)}},q4:function(){return{nextState:"q2",effect:h}}},"q1","throttle("+s(t)+", "+r.name+")")}function d(e,t,r){for(var n=e,o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var l={done:!1,value:i.o.apply(void 0,[r].concat(s))},p={done:!1,value:Object(i.v)(t)};return u({q1:function(){return{nextState:"q2",effect:l,errorState:"q10"}},q2:function(){return{nextState:a}},q10:function(e){if((n-=1)<=0)throw e;return{nextState:"q1",effect:p}}},"q1","retry("+r.name+")")}function h(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];var c,l,p={done:!1,value:Object(i.l)(t)},f={done:!1,value:Object(i.w)({action:Object(i.l)(t),debounce:Object(i.v)(e)})},d=function(e){return{done:!1,value:i.m.apply(void 0,[r].concat(o,[e]))}},h=function(e){return{done:!1,value:e}},v=function(e){return c=e},m=function(e){return l=e};return u({q1:function(){return{nextState:"q2",effect:p,stateUpdater:v}},q2:function(){return{nextState:"q3",effect:f,stateUpdater:m}},q3:function(){return l.debounce?{nextState:"q1",effect:d(c)}:{nextState:"q2",effect:h(l.action),stateUpdater:v}}},"q1","debounce("+s(t)+", "+r.name+")")}function v(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return i.m.apply(void 0,[c,e,t].concat(n))}function m(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return i.m.apply(void 0,[l,e,t].concat(n))}function y(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return i.m.apply(void 0,[p,e,t].concat(n))}function T(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];return i.m.apply(void 0,[f,e,t,r].concat(o))}function b(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];return i.o.apply(void 0,[d,e,t,r].concat(o))}function g(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];return i.m.apply(void 0,[h,e,t,r].concat(o))}r.d(t,"actionChannel",(function(){return i.p})),r.d(t,"all",(function(){return i.B})),r.d(t,"apply",(function(){return i.a})),r.d(t,"call",(function(){return i.o})),r.d(t,"cancel",(function(){return i.n})),r.d(t,"cancelled",(function(){return i.H})),r.d(t,"cps",(function(){return i.D})),r.d(t,"delay",(function(){return i.v})),r.d(t,"effectTypes",(function(){return i.x}
2)),r.d(t,"flush",(function(){return i.I})),r.d(t,"fork",(function(){return i.m})),r.d(t,"getContext",(function(){return i.J})),r.d(t,"join",(function(){return i.F})),r.d(t,"put",(function(){return i.z})),r.d(t,"putResolve",(function(){return i.A})),r.d(t,"race",(function(){return i.w})),r.d(t,"select",(function(){return i.G})),r.d(t,"setContext",(function(){return i.K})),r.d(t,"spawn",(function(){return i.E})),r.d(t,"take",(function(){return i.l})),r.d(t,"takeMaybe",(function(){return i.y})),r.d(t,"debounce",(function(){return g})),r.d(t,"retry",(function(){return b})),r.d(t,"takeEvery",(function(){return v})),r.d(t,"takeLatest",(function(){return m})),r.d(t,"takeLeading",(function(){return y})),r.d(t,"throttle",(function(){return T}))},function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useContext)(o.default);if(!e)throw new Error("This hook can only be used on a component that is a descendant of <Composer>");return e};var n,i=r(0),o=(n=r(416))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(1),i=r(2),o=r(355),a=r(6),s=r(7),u=r(26),c=r(46),l=r(33),p=function(e){Object(a.a)(r,e);var t=Object(s.a)(r);function r(e,i,a,s,c,p,f,d){var h;if(Object(n.a)(this,r),!i)throw new u.a("path");if(!a)throw new u.a("requestId");var v={};if(v[l.a.Path]=i,v[l.a.RequestId]=a,v[l.a.RequestTimestamp]=(new Date).toISOString(),s&&(v[l.a.ContentType]=s),p&&(v[l.a.RequestStreamId]=p),f)for(var m in f)m&&(v[m]=f[m]);return(h=d?t.call(this,e,c,v,d):t.call(this,e,c,v)).privPath=i,h.privRequestId=a,h.privContentType=s,h.privStreamId=p,h.privAdditionalHeaders=f,Object(o.a)(h)}return Object(i.a)(r,[{key:"path",get:function(){return this.privPath}},{key:"requestId",get:function(){return this.privRequestId}},{key:"contentType",get:function(){return this.privContentType}},{key:"streamId",get:function(){return this.privStreamId}},{key:"additionalHeaders",get:function(){return this.privAdditionalHeaders}}]),r}(c.a);p.fromConnectionMessage=function(e){var t=null,r=null,n=null,i=null,o={};if(e.headers)for(var a in e.headers)a&&(a.toLowerCase()===l.a.Path.toLowerCase()?t=e.headers[a]:a.toLowerCase()===l.a.RequestId.toLowerCase()?r=e.headers[a]:a.toLowerCase()===l.a.RequestTimestamp.toLowerCase()?e.headers[a]:a.toLowerCase()===l.a.ContentType.toLowerCase()?n=e.headers[a]:a.toLowerCase()===l.a.RequestStreamId.toLowerCase()?i=e.headers[a]:o[a]=e.headers[a]);return new p(e.messageType,t,r,n,e.body,i,o,e.id)}},function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return u}));var n,i=r(1),o=r(2),a=r(26),s=r(65);!function(e){e[e.Text=0]="Text",e[e.Binary=1]="Binary"}(n||(n={}));var u=function(){function e(t,r,o,u){if(Object(i.a)(this,e),this.privBody=null,t===n.Text&&r&&"string"!==typeof r)throw new a.b("Payload must be a string");if(t===n.Binary&&r&&!(r instanceof ArrayBuffer))throw new a.b("Payload must be ArrayBuffer");switch(this.privMessageType=t,this.privBody=r,this.privHeaders=o||{},this.privId=u||Object(s.b)(),this.messageType){case n.Binary:this.privSize=null!==this.binaryBody?this.binaryBody.byteLength:0;break;case n.Text:this.privSize=this.textBody.length}}return Object(o.a)(e,[{key:"messageType",get:function(){return this.privMessageType}},{key:"headers",get:function(){return this.privHeaders}},{key:"body",get:function(){return this.privBody}}
2,{key:"textBody",get:function(){if(this.privMessageType===n.Binary)throw new a.b("Not supported for binary message");return this.privBody}},{key:"binaryBody",get:function(){if(this.privMessageType===n.Text)throw new a.b("Not supported for text message");return this.privBody}},{key:"id",get:function(){return this.privId}}]),e}()},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r(90))},function(e,t,r){var n=r(50),i=r(91),o=r(327),a=r(98).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t){e.exports=function(e){return"function"===typeof e}},function(e,t){e.exports={}},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r(90))},function(e,t,r){"use strict";var n=r(42);function i(e,t,r){return(i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(n.a)(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}r.d(t,"a",(function(){return i}))},function(e,t,r){var n=r(47),i=r(370),o=r(91),a=r(271),s=r(368),u=r(527),c=i("wks"),l=n.Symbol,p=u?l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(l,e)?c[e]=l[e]:c[e]=p("Symbol."+e)),c[e]}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"concatMiddleware",{enumerable:!0,get:function(){return i.concatMiddleware}}),Object.defineProperty(t,"localize",{enumerable:!0,get:function(){return i.localize}}),Object.defineProperty(t,"connectToWebChat",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Context",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"createCoreActivityMiddleware",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"createCoreActivityStatusMiddleware",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"createCoreAttachmentMiddleware",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"createStyleSet",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"getTabIndex",{enumerable:!0,get:function(){return M.default}}),t.version=t.hooks=t.Components=t.default=void 0;var i=r(13),o=U(r(1244)),a=U(r(688)),s=U(r(629)),u=U(r(1564)),c=U(r(325)),l=U(r(728)),p=D(r(703)),f=D(r(682)),d=U(r(705)),h=U(r(707)),v=U(r(708)),m=U(r(713)),y=U(r(709)),T=U(r(711)),b=U(r(712)),g=U(r(714)),_=U(r(715)),S=D(r(635)),A=D(r(417)),E=D(r(639)),C=D(r(434)),O=D(r(640)),I=D(r(676)),w=U(r(92)),P=U(r(416)),N=U(r(701)),R=U(r(702)),k=U(r(706)),x=U(r(689)),M=U(r(415)),L=D(r(1565));function j(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(j=function(e){return e?r:t})(e)}function D(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=j(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,r&&r.set(e,i),i}function U(e){return e&&e.__esModule?e:{default:e}}function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?B(Object(r),!0).forEach((function(t){V(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var z=F(F({},i.hooks),L);t.hooks=z;t.version="4.14.1";var H={BasicWebChat:s.default,Composer:a.default,Localize:i.Localize,AudioContent:h.default,FileContent:v.default,HTMLVideoContent:m.default,ImageContent:y.default,TextContent:T.default,VideoContent:b.default,VimeoContent:g.default,YouTubeContent:_.default,Avatar:u.default,Bubble:c.default,ErrorBox:l.default,SendStatus:p.default,SpeakActivity:f.default,Timestamp:d.default,connectSendStatus:p.connectSendStatus,connectSpeakActivity:f.connectSpeakActivity,DictationInterims:S.default,MicrophoneButton:A.default,SendButton:E.default,SendTextBox:C.default,SuggestedActions:O.default,UploadButton:I.default,connectDictationInterims:S.connectDictationInterims,connectMicrophoneButton:A.connectMicrophoneButton,connectSendButton:E.connectSendButton,connectSendTextBox:C.connectSendTextBox,connectSuggestedActions:O.connectSuggestedActions,connectUploadButton:I.connectUploadButton};t.Components=H;var G=o.default;t.default=G},function(e,t,r){var n=r(51),i=r(188).f,o=r(126),a=r(136),s=r(421),u=r(1262),c=r(649);e.exports=function(e,t){var r,l,p,f,d,h=e.target,v=e.global,m=e.stat;if(r=v?n:m?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in t){if(f=t[l],p=e.noTargetGet?(d=i(r,l))&&d.value:r[l],!c(v?l:h+(m?".":"#")+l,e.forced)&&void 0!==p){if(typeof f===typeof p)continue;u(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),a(r,l,f,e)}}},function(e,t,r){var n=r(49);e.exports=function(e){return"object"===typeof e?null!==e:n(e)}},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r(90))},function(e,t,r){var n=r(51),i=r(303),o=r(101),a=r(424),s=r(427),u=r(651),c=i("wks"),l=n.Symbol,p=u?l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(l,e)?c[e]=l[e]:c[e]=p("Symbol."+e)),c[e]}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return f}));var n,i=r(6),o=r(7),a=r(1),s=r(2),u=r(4),c=r(341),l=r(9),p=function(){function e(){Object(a.a)(this,e)}return Object(s.a)(e,[{key:"applicationId",set:function(e){}}]),e}();p.DialogTypes=((n=function e(){Object(a.a)(this,e)}).BotFramework="bot_framework",n.CustomCommands="custom_commands",n);var f=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){var e;return Object(a.a)(this,r),(e=t.call(this)).privSpeechConfig=new c.b,e}return Object(s.a)(r,[{key:"properties",get:function(){return this.privSpeechConfig.properties}},{key:"speechRecognitionLanguage",get:function(){return this.privSpeechConfig.speechRecognitionLanguage},set:function(e){u.a.throwIfNullOrWhitespace(e,"value"),this.privSpeechConfig.speechRecognitionLanguage=e}},{key:"outputFormat",get:function(){return this.privSpeechConfig.outputFormat},set:function(e){this.privSpeechConfig.outputFormat=e}},{key:"setProperty",value:function(e,t){this.privSpeechConfig.setProperty(e,t)}},{key:"getProperty",value:function(e,t){return this.privSpeechConfig.getProperty(e)}},{key:"setProxy",value:function(e,t,r,n){this.setProperty(l.a.SpeechServiceConnection_ProxyHostName,e),this.setProperty(l.a.SpeechServiceConnection_ProxyPort,"".concat(t)),r&&this.setProperty(l.a.SpeechServiceConnection_ProxyUserName,r),n&&this.setProperty(l.a.SpeechServiceConnection_ProxyPassword,n)}},{key:"setServiceProperty",value:function(e,t,r){this.privSpeechConfig.setServiceProperty(e,t,r)}},{key:"close",value:function(){}}]),r}(p)},function(e,t,r){"use strict";var n=r(22);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.call)(i.default.mark((function t(){var r,n,c,l,p,f;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.take)([a.CONNECT_FULFILLING,u.RECONNECT_FULFILLING]);case 2:return r=t.sent,n=r.meta,c=n.userID,l=n.username,p=r.payload.directLine,t.next=9,(0,o.fork)(e,{directLine:p,userID:c,username:l});case 9:return f=t.sent,t.next=12,(0,o.take)([s.DISCONNECT_PENDING,u.RECONNECT_PENDING]);case 12:return t.next=14,(0,o.cancel)(f);case 14:t.next=0;break;case 16:case"end":return t.stop()}}),t)})))};var i=n(r(25)),o=r(41),a=r(175),s=r(261),u=r(260)},function(e,t,r){var n=r(734),i=r(1571),o=r(452),a=r(736);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o}));var n=r(490),i=function(){return Object(n.v4)()},o=function(){return i().replace(new RegExp("-","g"),"").toUpperCase()}},function(e,t,r){"use strict";r.d(t,"k",(function(){return u})),r.d(t,"e",(function(){return c})),r.d(t,"i",(function(){return l})),r.d(t,"g",(function(){return p})),r.d(t,"l",(function(){return f})),r.d(t,"j",(function(){return d})),r.d(t,"h",(function(){return h})),r.d(t,"n",(function(){return v})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return y})),r.d(t,"d",(function(){return T})),r.d(t,"o",(function(){return b})),r.d(t,"c",(function(){return g})),r.d(t,"m",(function(){return _})),r.d(t,"f",(function(){return S}));var n=r(1),i=r(6),o=r(7),a=r(24),s=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,e,i)).privSignature=o,a}return r}(a.b),u=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPMemoryCacheHitEvent",a.a.Debug,e)}return r}(s),c=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPCacheMissEvent",a.a.Debug,e)}return r}(s),l=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPDiskCacheHitEvent",a.a.Debug,e)}return r}(s),p=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPCacheUpdateNeededEvent",a.a.Debug,e)}return r}(s),f=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPMemoryCacheStoreEvent",a.a.Debug,e)}return r}(s),d=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPDiskCacheStoreEvent",a.a.Debug,e)}return r}(s),h=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPCacheUpdatehCompleteEvent",a.a.Debug,e)}return r}(s),v=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){return Object(n.a)(this,r),t.call(this,"OCSPStapleReceivedEvent",a.a.Debug,"")}return r}(s),m=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,"OCSPCacheEntryExpiredEvent",a.a.Debug,e)).privExpireTime=i,o}return r}(s),y=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i,o){var s;return Object(n.a)(this,r),(s=t.call(this,"OCSPCacheEntryNeedsRefreshEvent",a.a.Debug,e)).privExpireTime=o,s.privStartTime=i,s}return r}(s),T=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i,o){var s;return Object(n.a)(this,r),(s=t.call(this,"OCSPCacheHitEvent",a.a.Debug,e)).privExpireTime=o,s.privExpireTimeString=new Date(o).toLocaleDateString(),s.privStartTime=i,s.privStartTimeString=new Date(i).toLocaleTimeString(),s}return r}(s),b=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,"OCSPVerificationFailedEvent",a.a.Debug,e)).privError=i,o}return r}(s),g=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,"OCSPCacheFetchErrorEvent",a.a.Debug,e)).privError=i,o}return r}(s),_=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"OCSPResponseRetrievedEvent",a.a.Debug,e)}
2return r}(s),S=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,"OCSPCacheUpdateErrorEvent",a.a.Debug,e)).privError=i,o}return r}(s)},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(9),a=function(){function e(){Object(n.a)(this,e),this.privKeys=[],this.privValues=[]}return Object(i.a)(e,[{key:"getProperty",value:function(e,t){var r;r="string"===typeof e?e:o.a[e];for(var n=0;n<this.privKeys.length;n++)if(this.privKeys[n]===r)return this.privValues[n];return t}},{key:"setProperty",value:function(e,t){var r;r="string"===typeof e?e:o.a[e];for(var n=0;n<this.privKeys.length;n++)if(this.privKeys[n]===r)return void(this.privValues[n]=t);this.privKeys.push(r),this.privValues.push(t)}},{key:"clone",value:function(){for(var t=new e,r=0;r<this.privKeys.length;r++)t.privKeys.push(this.privKeys[r]),t.privValues.push(this.privValues[r]);return t}},{key:"mergeTo",value:function(e){var t=this;this.privKeys.forEach((function(r){if(void 0===e.getProperty(r,void 0)){var n=t.getProperty(r);e.setProperty(r,n)}}))}}]),e}()},function(e,t,r){e.exports=r(727)},function(e,t,r){"use strict";var n=r(22),i=r(216);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearSuggestedActions",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"createStore",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"createStoreWithDevTools",{enumerable:!0,get:function(){return c.withDevTools}}),Object.defineProperty(t,"disconnect",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"dismissNotification",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"emitTypingIndicator",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"markActivity",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"postActivity",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"sendEvent",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"sendFiles",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"sendMessage",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"sendMessageBack",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"sendPostBack",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"setDictateInterims",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"setDictateState",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"setLanguage",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"setNotification",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"setSendBox",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"setSendTimeout",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"setSendTypingIndicator",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"singleToArray",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"startDictate",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"startSpeakingActivity",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"stopDictate",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"stopSpeakingActivity",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"submitSendBox",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return x.default}}),t.version=t.Constants=void 0;var o=L(r(519)),a=L(r(259)),s=n(r(520)),u=n(r(175)),c=L(r(900)),l=n(r(261)),p=n(r(523)),f=n(r(404)),d=n(r(217)),h=n(r(71)),v=n(r(606)),m=n(r(607)),y=n(r(406)),T=n(r(608)),b=n(r(609)),g=n(r(521)),_=n(r(262)),S=n(r(522)),A=n(r(359)),E=n(r(218)),C=n(r(526)),O=n(r(361)),I=n(r(1114)),w=n(r(358)),P=n(r(362)),N=n(r(263)),R=n(r(264)),k=n(r(610)),x=n(r(1115));function M(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(M=function(e){return e?r:t})(e)}
2function L(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=M(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var j={ActivityClientState:o,DictateState:a};t.Constants=j;t.version="4.14.1"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keyboard";return{type:n,meta:{method:t},payload:{activity:e}}},t.POST_ACTIVITY=t.POST_ACTIVITY_REJECTED=t.POST_ACTIVITY_PENDING=t.POST_ACTIVITY_FULFILLED=void 0;var n="DIRECT_LINE/POST_ACTIVITY";t.POST_ACTIVITY=n;var i="".concat(n,"_FULFILLED");t.POST_ACTIVITY_FULFILLED=i;var o="".concat(n,"_PENDING");t.POST_ACTIVITY_PENDING=o;var a="".concat(n,"_REJECTED");t.POST_ACTIVITY_REJECTED=a},function(e,t,r){var n=r(43);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){var n=r(57),i=r(550),o=r(110),a=r(554),s=r(555),u=r(954),c=i("wks"),l=n.Symbol,p=u?l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(l,e)?c[e]=l[e]:c[e]=p("Symbol."+e)),c[e]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(40));function a(e){return e&&e.__esModule?e:{default:e}}var s={color:"transparent",height:1,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1},u=function(e){var t=e.id,r=e.text,n=(0,o.default)()(s)+"";return i.default.createElement("div",{className:n,id:t},r)};u.defaultProps={id:void 0},u.propTypes={id:n.default.string,text:n.default.string.isRequired};var c=u;t.default=c},function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.NoError=0]="NoError",e[e.AuthenticationFailure=1]="AuthenticationFailure",e[e.BadRequestParameters=2]="BadRequestParameters",e[e.TooManyRequests=3]="TooManyRequests",e[e.ConnectionFailure=4]="ConnectionFailure",e[e.ServiceTimeout=5]="ServiceTimeout",e[e.ServiceError=6]="ServiceError",e[e.RuntimeError=7]="RuntimeError"}(n||(n={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(586),o=r(229),a=r(588),s=r(400),u=function(e){function t(t,r,n){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!t){this.destination=a.empty;break}if("object"===typeof t){if(l(t)){var i=t[s.rxSubscriber]();this.syncErrorThrowable=i.syncErrorThrowable,this.destination=i,i.add(this)}else this.syncErrorThrowable=!0,this.destination=new c(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,r,n)}}return n(t,e),t.prototype[s.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(o.Subscription);t.Subscriber=u;var c=function(e){function t(t,r,n,o){var s;e.call(this),this._parentSubscriber=t;var u=this;i.isFunction(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==a.empty&&(u=Object.create(r),i.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=s,this._error=n,this._complete=o}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(r){throw this.unsubscribe(),r}},t.prototype.__tryOrSetError=function(e,t,r){try{t.call(this._context,r)}catch(n){return e.syncErrorValue=n,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u);function l(e){return e instanceof u||"syncErrorThrowable"in e&&e[s.rxSubscriber]}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.useSelector=t.useDispatch=t.default=void 0;var n=r(0),i=r(486),o=(0,n.createContext)(),a=(0,i.createDispatchHook)(o);t.useDispatch=a;var s=(0,i.createSelectorHook)(o);t.useSelector=s,o.displayName="WebChatReduxContext";var u=o;t.default=u},function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return v})),r.d(t,"c",(function(){return m})),r.d(t,"d",(function(){return y})),r.d(t,"e",(function(){return T}));var n=r(3),i=r.n(n),o=r(6),a=r(7),s=r(1),u=r(2),c=r(65),l=r(884),p=r(4),f=r(146),d=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},h=function(){function e(){Object(s.a)(this,e)}return Object(u.a)(e,null,[{key:"createPullStream",value:function(){return v.create()}}]),e}(),v=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){return Object(s.a)(this,r),t.apply(this,arguments)}return Object(u.a)(r,null,[{key:"create",value:function(){return new m}}]),r}(h),m=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){var e;return Object(s.a)(this,r),(e=t.call(this)).privId=Object(c.b)(),e.privStream=new l.a,e}return Object(u.a)(r,[{key:"format",get:function(){return this.privFormat},set:function(e){void 0!==e&&null!==e||(this.privFormat=f.a.getDefaultOutputFormat()),this.privFormat=e}},{key:"isClosed",get:function(){return this.privStream.isClosed}},{key:"id",value:function(){return this.privId}},{key:"read",value:function(e){return d(this,void 0,void 0,i.a.mark((function t(){var r,n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=new Int8Array(e),n=0,void 0===this.privLastChunkView){t.next=10;break}if(!(this.privLastChunkView.length>e.byteLength)){t.next=7;break}return r.set(this.privLastChunkView.slice(0,e.byteLength)),this.privLastChunkView=this.privLastChunkView.slice(e.byteLength),t.abrupt("return",Promise.resolve(e.byteLength));case 7:r.set(this.privLastChunkView),n=this.privLastChunkView.length,this.privLastChunkView=void 0;case 10:if(!(n<e.byteLength)||this.privStream.isReadEnded){t.next=25;break}return t.next=13,this.privStream.read();case 13:if(void 0===(o=t.sent)||o.isEnd){t.next=21;break}a=void 0,o.buffer.byteLength>e.byteLength-n?(a=o.buffer.slice(0,e.byteLength-n),this.privLastChunkView=new Int8Array(o.buffer.slice(e.byteLength-n))):a=o.buffer,r.set(new Int8Array(a),n),n+=a.byteLength,t.next=23;break;case 21:return t.next=23,this.privStream.readEnded();case 23:t.next=10;break;case 25:return t.abrupt("return",n);case 26:case"end":return t.stop()}}),t,this)})))}},{key:"write",value:function(e){p.a.throwIfNullOrUndefined(this.privStream,"must set format before writing"),this.privStream.writeStreamChunk({buffer:e,isEnd:!1,timeReceived:Date.now()})}},{key:"close",value:function(){this.privStream.close()}}]),r}(v),y=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){return Object(s.a)(this,r),t.call(this)}return Object(u.a)(r,null,[{key:"create",value:function(e){return new T(e)}}]),r}(h),T=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e){var n;return Object(s.a)(this,r),(n=t.call(this)).privId=Object(c.b)(),n.privCallback=e,n}return Object(u.a)(r,[{key:"format",set:function(e){}},{key:"write",value:function(e){this.privCallback.write&&this.privCallback.write(e)}},{key:"close",value:function(){this.privCallback.close&&this.privCallback.close()}},{key:"id",value:function(){return this.privId}}]),r}(y)},function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(447),i=r(1847);function o(t){return"function"===typeof n&&"symbol"===typeof i?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"===typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(56);e.exports=function(e){if(n(e))return e;throw TypeError(String(e)+" is not an object")}},function(e,t,r){var n=r(112);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}}
2,function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(1604),t),i(r(1627),t),i(r(1628),t),i(r(1770),t),i(r(1771),t),i(r(1772),t),i(r(787),t),i(r(1783),t),i(r(1784),t),i(r(1785),t),i(r(465),t)},function(e,t,r){e.exports=function(e){if(!e)return Math.random;var t=Math.pow(2,32),r=new Uint32Array(1);return function(){return e.getRandomValues(r)[0]/t}}(r(914))},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(109),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(n(e),t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=v.apply(void 0,arguments);return function(t){var r=(0,n.connect)((function(t,r){var n=r.context,i=l(r,s);return e(f(f({},t),n),i)}),null,null,{context:a.default})(t);return function(e){return i.default.createElement(o.default.Consumer,null,(function(t){return i.default.createElement(r,c({},e,{context:t}))}))}}};var n=r(486),i=u(r(0)),o=u(r(407)),a=u(r(78)),s=["context"];function u(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){return Object.keys(e).reduce((function(t,r){var n=e[r];return"undefined"!==typeof n&&(t[r]=n),t}),{})}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.reduce((function(e,t){return f(f({},e),h(t&&t.apply(void 0,r)||{}))}),{})}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),i=r(2),o=r(11),a=r(9),s=r(38),u=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,[{key:"setCommonUrlParams",value:function(e,t,r){this.setUrlParameter(a.a.SpeechServiceConnection_EnableAudioLogging,s.a.EnableAudioLogging,e,t,r),this.setUrlParameter(a.a.SpeechServiceResponse_RequestWordLevelTimestamps,s.a.EnableWordLevelTimestamps,e,t,r),this.setUrlParameter(a.a.SpeechServiceResponse_ProfanityOption,s.a.Profanity,e,t,r),this.setUrlParameter(a.a.SpeechServiceConnection_InitialSilenceTimeoutMs,s.a.InitialSilenceTimeoutMs,e,t,r),this.setUrlParameter(a.a.SpeechServiceConnection_EndSilenceTimeoutMs,s.a.EndSilenceTimeoutMs,e,t,r),this.setUrlParameter(a.a.SpeechServiceResponse_StableParti
2alResultThreshold,s.a.StableIntermediateThreshold,e,t,r);var n=JSON.parse(e.parameters.getProperty(o.ServicePropertiesPropertyName,"{}"));Object.keys(n).forEach((function(e,r,i){t[e]=n[e]}))}},{key:"setUrlParameter",value:function(e,t,r,n,i){var o=r.parameters.getProperty(e,void 0);!o||i&&-1!==i.search(t)||(n[t]=o.toLocaleLowerCase())}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o,a,s,u,c,l,p,f,d){var h;return Object(n.a)(this,r),(h=t.call(this,e,i,o,a,s,u,c,p,f,d)).privSpeakerId=l,h}return Object(i.a)(r,[{key:"speakerId",get:function(){return this.privSpeakerId}}]),r}(r(497).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(1),i=r(2),o=r(34),a=r(148),s=r(76),u=r(39),c=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,null,[{key:"implTranslateRecognitionResult",value:function(e){var t=o.a.Canceled;switch(e){case u.a.Success:t=o.a.RecognizedSpeech;break;case u.a.NoMatch:case u.a.InitialSilenceTimeout:case u.a.BabbleTimeout:case u.a.EndOfDictation:t=o.a.NoMatch;break;case u.a.Error:default:t=o.a.Canceled}return t}},{key:"implTranslateCancelResult",value:function(e){var t=a.a.EndOfStream;switch(e){case u.a.Success:case u.a.EndOfDictation:case u.a.NoMatch:t=a.a.EndOfStream;break;case u.a.InitialSilenceTimeout:case u.a.BabbleTimeout:case u.a.Error:default:t=a.a.Error}return t}},{key:"implTranslateCancelErrorCode",value:function(e){var t=s.a.NoError;switch(e){case u.a.Error:t=s.a.ServiceError;break;case u.a.TooManyRequests:t=s.a.TooManyRequests;break;default:t=s.a.NoError}return t}}]),e}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"d",(function(){return l})),r.d(t,"c",(function(){return p})),r.d(t,"a",(function(){return f})),r.d(t,"f",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"g",(function(){return m})),r.d(t,"h",(function(){return y}));var n=r(1),i=r(2),o=r(6),a=r(7),s=r(24),u=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.a.Info;return Object(n.a)(this,r),(o=t.call(this,e,a)).privAudioSourceId=i,o}return Object(i.a)(r,[{key:"audioSourceId",get:function(){return this.privAudioSourceId}}]),r}(s.b),c=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"AudioSourceInitializingEvent",e)}return r}(u),l=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"AudioSourceReadyEvent",e)}return r}(u),p=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e){return Object(n.a)(this,r),t.call(this,"AudioSourceOffEvent",e)}return r}(u),f=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,"AudioSourceErrorEvent",e,s.a.Error)).privError=i,o}return Object(i.a)(r,[{key:"error",get:function(){return this.privError}}]),r}(u),d=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,e,i)).privAudioNodeId=o,a}return Object(i.a)(r,[{key:"audioNodeId",get:function(){return this.privAudioNodeId}}]),r}(u),h=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){return Object(n.a)(this,r),t.call(this,"AudioStreamNodeAttachingEvent",e,i)}return r}(d),v=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){return Object(n.a)(this,r),t.call(this,"AudioStreamNodeAttachedEvent",e,i)}return r}(d),m=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){return Object(n.a)(this,r),t.call(this,"AudioStreamNodeDetachedEvent",e,i)}return r}(d),y=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"AudioStreamNodeErrorEvent",e,i)).privError=o,a}return Object(i.a)(r,[{key:"error",get:function(){return this.privError}}]),r}(d)},,function(e,t,r){var n=r(72),i=r(529),o=r(82),a=r(268),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(135);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,r){var n=r(299),i=r(234);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(125),i={}.hasOwnProperty;e.exports=function(e,t){return i.call(n(e),t)}}
2,function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1500),i=r(1505),o=r(726),a=r(1546);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"d",(function(){return l})),r.d(t,"e",(function(){return p})),r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return h})),r.d(t,"f",(function(){return u})),r.d(t,"g",(function(){return c}));var n,i,o=r(1),a=r(2),s=r(9);!function(e){e[e.Interactive=0]="Interactive",e[e.Conversation=1]="Conversation",e[e.Dictation=2]="Dictation"}(n||(n={})),function(e){e[e.Simple=0]="Simple",e[e.Detailed=1]="Detailed"}(i||(i={}));var u,c,l=function(){function e(t,r){Object(o.a)(this,e),this.privRecognitionMode=n.Interactive,this.privSpeechServiceConfig=t||new p(new f(null)),this.privParameters=r,this.privMaxRetryCount=parseInt(r.getProperty("SPEECH-Error-MaxRetryCount","4"),10)}return Object(a.a)(e,[{key:"parameters",get:function(){return this.privParameters}},{key:"recognitionMode",get:function(){return this.privRecognitionMode},set:function(e){this.privRecognitionMode=e,this.privRecognitionActivityTimeout=e===n.Interactive?8e3:25e3,this.privSpeechServiceConfig.Recognition=n[e]}},{key:"SpeechServiceConfig",get:function(){return this.privSpeechServiceConfig}},{key:"recognitionActivityTimeout",get:function(){return this.privRecognitionActivityTimeout}},{key:"isContinuousRecognition",get:function(){return this.privRecognitionMode!==n.Interactive}},{key:"autoDetectSourceLanguages",get:function(){return this.parameters.getProperty(s.a.SpeechServiceConnection_AutoDetectSourceLanguages,void 0)}},{key:"maxRetryCount",get:function(){return this.privMaxRetryCount}}]),e}(),p=function(){function e(t){var r=this;Object(o.a)(this,e),this.serialize=function(){return JSON.stringify(r,(function(e,t){if(t&&"object"===typeof t){var r={};for(var n in t)Object.hasOwnProperty.call(t,n)&&(r[n&&n.charAt(0).toLowerCase()+n.substring(1)]=t[n]);return r}return t}))},this.context=t}return Object(a.a)(e,[{key:"Context",get:function(){return this.context}},{key:"Recognition",get:function(){return this.recognition},set:function(e){this.recognition=e.toLowerCase()}}]),e}(),f=function e(t){Object(o.a)(this,e),this.system=new d,this.os=t},d=function e(){Object(o.a)(this,e);this.name="SpeechSDK",this.version="1.17.0",this.build="JavaScript",this.lang="JavaScript"},h=function e(t,r,n){Object(o.a)(this,e),this.platform=t,this.name=r,this.version=n};!function(e){e.Bluetooth="Bluetooth",e.Wired="Wired",e.WiFi="WiFi",e.Cellular="Cellular",e.InBuilt="InBuilt",e.Unknown="Unknown"}(u||(u={})),function(e){e.Phone="Phone",e.Speaker="Speaker",e.Car="Car",e.Headset="Headset",e.Thermostat="Thermostat",e.Microphones="Microphones",e.Deskphone="Deskphone",e.RemoteControl="RemoteControl",e.Unknown="Unknown",e.File="File",e.Stream="Stream"}(c||(c={}))},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.Simple=0]="Simple",e[e.Detailed=1]="Detailed"}(n||(n={}))},function(e,t,r){var n=r(3);e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(i,o){var a=e.apply(r,n);function s(e){t(a,i,o,s,u,"next",e)}function u(e){t(a,i,o,s,u,"throw",e)}s(void 0)}))}}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)),n}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){return function(e){if(Array.isArray(e))return e}(e)||c(e)||l(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return p(e)}(e)||c(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=l(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}var d=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};function h(e,t,r){m(t);var n,i=f(function e(t,r){if(r.length){var n=s(r),i=n[0],o=n.slice(1);if("function"==typeof i){var a=[];if(Array.isArray(t))for(var c=0,l=t.length;c<l;c++)i.call(t,t[c],c)&&a.push.apply(a,u(e(t,[c].concat(u(o)))));else for(var p in t||{})i.call(t,t[p],p)&&a.push.apply(a,u(e(t,[p].concat(u(o)))));return a}var f=e(void 0!==t&&t[i],o);return f?f.map((function(e){return[i].concat(u(e))})):[[i]]}}(e,t));try{for(i.s();!(n=i.n()).done;){var o=n.value;e=_(e,o,r?r(g(e,o)):void 0)}}catch(e){i.e(e)}finally{i.f()}return e}function v(){return(v=r(n.mark((function e(t,r,i){var o,a,s,u;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(r),e.next=3,T(t,r);
2case 3:o=e.sent,a=f(o),e.prev=5,a.s();case 7:if((s=a.n()).done){e.next=23;break}if(u=s.value,e.t0=_,e.t1=t,e.t2=u,i)return e.next=15,i(g(t,u));e.next=18;break;case 15:e.t3=e.sent,e.next=19;break;case 18:e.t3=void 0;case 19:e.t4=e.t3,t=(0,e.t0)(e.t1,e.t2,e.t4);case 21:e.next=7;break;case 23:e.next=28;break;case 25:e.prev=25,e.t5=e.catch(5),a.e(e.t5);case 28:return e.prev=28,a.f(),e.finish(28);case 31:return e.abrupt("return",t);case 32:case"end":return e.stop()}}),e,null,[[5,25,28,31]])})))).apply(this,arguments)}function m(e){if(!Array.isArray(e))throw new Error("path must be an array")}h.updateInAsync=function(e,t,r){return v.apply(this,arguments)};var y=["__proto__","constructor","prototype"];function T(){return b.apply(this,arguments)}function b(){return(b=r(n.mark((function e(t,r){var i,o,a,c,l,p,f,d;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.length){e.next=2;break}return e.abrupt("return");case 2:if(i=s(r),o=i[0],a=i.slice(1),"function"!=typeof o){e.next=43;break}if(c=[],!Array.isArray(t)){e.next=25;break}l=0,p=t.length;case 7:if(l<p)return e.next=10,o.call(t,t[l],l);e.next=23;break;case 10:if(e.t0=e.sent,e.t0)return e.t1=c.push,e.t2=c,e.t3=u,e.next=17,T(t,[l].concat(u(a)));e.next=20;break;case 17:e.t4=e.sent,e.t5=(0,e.t3)(e.t4),e.t1.apply.call(e.t1,e.t2,e.t5);case 20:l++,e.next=7;break;case 23:e.next=42;break;case 25:e.t6=n.keys(t||{});case 26:if((e.t7=e.t6()).done){e.next=42;break}return f=e.t7.value,e.next=30,o.call(t,t[f],f);case 30:if(e.t8=e.sent,e.t8)return e.t9=c.push,e.t10=c,e.t11=u,e.next=37,T(t,[f].concat(u(a)));e.next=40;break;case 37:e.t12=e.sent,e.t13=(0,e.t11)(e.t12),e.t9.apply.call(e.t9,e.t10,e.t13);case 40:e.next=26;break;case 42:return e.abrupt("return",c);case 43:return e.next=45,T(void 0!==t&&t[o],a);case 45:return d=e.sent,e.abrupt("return",d?d.map((function(e){return[o].concat(u(e))})):[[o]]);case 47:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e,t){return t.reduce((function(e,t){return e&&e[t]}),e)}function _(t,r,n){if(!r.length)return n;var o,c=s(r),l=c[0],p=c.slice(1),f=void 0!==t&&t[l],h=t;if(o=l,y.includes(o))return t;if("string"!=typeof l||"object"===e(h)&&!Array.isArray(h)?"number"!=typeof l||Array.isArray(h)||(h=[]):h={},"number"==typeof l){var v=_(f,p,n);return void 0===v?void 0===t?t:(l in h&&(h=u(h)).splice(l,1),h):d(v,f)?t:((h=u(h))[l]=v,h)}var m=_(f,p,n);return void 0===m?void 0===t?t:(l in h&&delete(h=a({},h))[l],h):d(m,f)?t:a(a({},h),{},i({},l,m))}return h}()},function(e,t,r){var n=r(365),i=r(366);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(50),i=r(47),o=r(49),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e])||a(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},function(e,t,r){var n=r(366);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(553),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(n(e),t)}},function(e,t,r){var n=r(67);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,r){e.exports=r(150)},function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectDisposedError=t.InvalidOperationError=t.ArgumentNullError=void 0;var i=function(e){function t(t){var r=e.call(this,t)||this;return r.name="ArgumentNull",r.message=t,r}return n(t,e),t}(Error);t.ArgumentNullError=i;var o=function(e){function t(t){var r=e.call(this,t)||this;return r.name="InvalidOperation",r.message=t,r}return n(t,e),t}(Error);t.InvalidOperationError=o;var a=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t+"ObjectDisposed",n.message=r,n}return n(t,e),t}(Error);t.ObjectDisposedError=a},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderNames=void 0;var n=function(){function e(){}return e.AuthKey="Ocp-Apim-Subscription-Key",e.ConnectionId="X-ConnectionId",e.ContentType="Content-Type",e.CustomCommandsAppId="X-CommandsAppId",e.Path="Path",e.RequestId="X-RequestId",e.RequestStreamId="X-StreamId",e.RequestTimestamp="X-Timestamp",e}();t.HeaderNames=n},function(e,t,r){var n=r(471);e.exports=function(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=n(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},function(e,t,r){"use strict";r.d(t,"d",(function(){return l})),r.d(t,"b",(function(){return p})),r.d(t,"a",(function(){return f})),r.d(t,"c",(function(){return d}));var n,i=r(1),o=r(2),a=r(6),s=r(7),u=r(24),c=function(e){Object(a.a)(r,e);var t=Object(s.a)(r);function r(e,n,o){var a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.a.Info;return Object(i.a)(this,r),(a=t.call(this,e,s)).privRequestId=n,a.privSessionId=o,a}return Object(o.a)(r,[{key:"requestId",get:function(){return this.privRequestId}},{key:"sessionId",get:function(){return this.privSessionId}}]),r}(u.b),l=function(e){Object(a.a)(r,e);var t=Object(s.a)(r);function r(e,n,o,a){var s;return Object(i.a)(this,r),(s=t.call(this,"RecognitionTriggeredEvent",e,n)).privAudioSourceId=o,s.privAudioNodeId=a,s}return Object(o.a)(r,[{key:"audioSourceId",get:function(){return this.privAudioSourceId}},{key:"audioNodeId",get:function(){return this.privAudioNodeId}}]),r}(c),p=function(e){Object(a.a)(r,e);var t=Object(s.a)(r);function r(e,n,o,a){var s;return Object(i.a)(this,r),(s=t.call(this,"ListeningStartedEvent",e,n)).privAudioSourceId=o,s.privAudioNodeId=a,s}return Object(o.a)(r,[{key:"audioSourceId",get:function(){return this.privAudioSourceId}},{key:"audioNodeId",get:function(){return this.privAudioNodeId}}]),r}(c),f=function(e){Object(a.a)(r,e);var t=Object(s.a)(r);function r(e,n,o){var a;return Object(i.a)(this,r),(a=t.call(this,"ConnectingToServiceEvent",e,o)).privAuthFetchEventid=n,a}return Object(o.a)(r,[{key:"authFetchEventid",get:function(){return this.privAuthFetchEventid}}]),r}(c),d=function(e){Object(a.a)(r,e);var t=Object(s.a)(r);function r(e,n,o,a,s){var u;return Object(i.a)(this,r),(u=t.call(this,"RecognitionStartedEvent",e,s)).privAudioSourceId=n,u.privAudioNodeId=o,u.privAuthFetchEventId=a,u}return Object(o.a)(r,[{key:"audioSourceId",get:function(){return this.privAudioSourceId}},{key:"audioNodeId",get:function(){return this.privAudioNodeId}},{key:"authFetchEventId",get:function(){return this.privAuthFetchEventId}}]),r}(c);!function(e){e[e.Success=0]="Success",e[e.AudioSourceError=1]="AudioSourceError",e[e.AudioSourceTimeout=2]="AudioSourceTimeout",e[e.AuthTokenFetchError=3]="AuthTokenFetchError",e[e.AuthTokenFetchTimeout=4]="AuthTokenFetchTimeout",e[e.UnAuthorized=5]="UnAuthorized",e[e.ConnectTimeout=6]="ConnectTimeout",e[e.ConnectError=7]="ConnectError",e[e.ClientRecognitionActivityTimeout=8]="ClientRecognitionActivityTimeout",e[e.UnknownError=9]="UnknownError"}(n||(n={}))},function(e,t,r){var n=r(72),i=r(98),o=r(177);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){var n=r(133),i=r(134),o=r(282);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(57),i=r(393).f,o=r(121),a=r(186),s=r(383),u=r(959),c=r(563);e.exports=function(e,t){var r,l,p,f,d,h=e.target,v=e.global,m=e.stat;if(r=v?n:m?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in t){if(f=t[l],p=e.noTargetGet?(d=i(r,l))&&d.value:r[l],!c(v?l:h+(m?".":"#")+l,e.forced)&&void 0!==p){if(typeof f===typeof p)continue;u(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),a(r,l,f,e)}}},function(e,t,r){"use strict";(function(e){var r="undefined"!==typeof window&&window,n="undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=r||"undefined"!==typeof e&&e||n;t.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(this,r(90))},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().styleOptions]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(234);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(111),i=r(127),o=r(232);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(111),i=r(643),o=r(83),a=r(300),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().adaptiveCardsPackage]};var i=n(r(740))},function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(49),i=r(528);e.exports=function(e){if(n(e))return e;throw TypeError(i(e)+" is not a function")}},function(e,t,r){var n=r(220),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n,i,o,a=r(538),s=r(47),u=r(56),c=r(119),l=r(91),p=r(371),f=r(273),d=r(221),h=s.WeakMap;if(a||p.state){var v=p.state||(p.state=new h),m=v.get,y=v.has,T=v.set;n=function(e,t){if(y.call(v,e))throw new TypeError("Object already initialized");return t.facade=e,T.call(v,e,t),t},i=function(e){return m.call(v,e)||{}},o=function(e){return y.call(v,e)}}else{var b=f("state");d[b]=!0,n=function(e,t){if(l(e,b))throw new TypeError("Object already initialized");return t.facade=e,c(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},o=function(e){return l(e,b)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var n=r(120);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){var n=r(133),i=r(551),o=r(99),a=r(552),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,r){var n=r(51),i=r(126),o=r(101),a=r(421),s=r(422),u=r(301),c=u.get,l=u.enforce,p=String(String).split("String");(e.exports=function(e,t,r,s){var u,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),(u=l(r)).source||(u.source=p.join("string"==typeof t?t:""))),e!==n?(c?!d&&e[t]&&(f=!0):delete e[t],f?e[t]=r:i(e,t,r)):f?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,r){var n=r(236),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.useMemo)((function(){return(0,o.default)().toString(36).substr(2,5)}),[]);return e=e?"".concat(e,"--"):"","".concat(e).concat(t)};var n,i=r(0),o=(n=r(86))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o.hooks.useStyleOptions();return[(0,i.default)(e,1)[0]]};var i=n(r(63)),o=r(54)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=t.RefreshMode=t.ContainerFitStatus=t.ValidationEvent=t.ValidationPhase=t.ContainerStyle=t.InputTextStyle=t.ActionIconPlacement=t.FillMode=t.Orientation=t.ShowCardActionMode=t.ImageStyle=t.ActionAlignment=t.VerticalAlignment=t.HorizontalAlignment=t.TextColor=t.Spacing=t.FontType=t.TextWeight=t.TextSize=t.SizeUnit=t.ImageSize=t.Size=t.ActionStyle=void 0;var n=function(){function e(){}return e.Default="default",e.Positive="positive",e.Destructive="destructive",e}();t.ActionStyle=n,function(e){e[e.Auto=0]="Auto",e[e.Stretch=1]="Stretch",e[e.Small=2]="Small",e[e.Medium=3]="Medium",e[e.Large=4]="Large"}(t.Size||(t.Size={})),function(e){e[e.Small=0]="Small",e[e.Medium=1]="Medium",e[e.Large=2]="Large"}(t.ImageSize||(t.ImageSize={})),function(e){e[e.Weight=0]="Weight",e[e.Pixel=1]="Pixel"}(t.SizeUnit||(t.SizeUnit={})),function(e){e[e.Small=0]="Small",e[e.Default=1]="Default",e[e.Medium=2]="Medium",e[e.Large=3]="Large",e[e.ExtraLarge=4]="ExtraLarge"}(t.TextSize||(t.TextSize={})),function(e){e[e.Lighter=0]="Lighter",e[e.Default=1]="Default",e[e.Bolder=2]="Bolder"}(t.TextWeight||(t.TextWeight={})),function(e){e[e.Default=0]="Default",e[e.Monospace=1]="Monospace"}(t.FontType||(t.FontType={})),function(e){e[e.None=0]="None",e[e.Small=1]="Small",e[e.Default=2]="Default",e[e.Medium=3]="Medium",e[e.Large=4]="Large",e[e.ExtraLarge=5]="ExtraLarge",e[e.Padding=6]="Padding"}(t.Spacing||(t.Spacing={})),function(e){e[e.Default=0]="Default",e[e.Dark=1]="Dark",e[e.Light=2]="Light",e[e.Accent=3]="Accent",e[e.Good=4]="Good",e[e.Warning=5]="Warning",e[e.Attention=6]="Attention"}(t.TextColor||(t.TextColor={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(t.HorizontalAlignment||(t.HorizontalAlignment={})),function(e){e[e.Top=0]="Top",e[e.Center=1]="Center",e[e.Bottom=2]="Bottom"}(t.VerticalAlignment||(t.VerticalAlignment={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right",e[e.Stretch=3]="Stretch"}(t.ActionAlignment||(t.ActionAlignment={})),function(e){e[e.Default=0]="Default",e[e.Person=1]="Person"}(t.ImageStyle||(t.ImageStyle={})),function(e){e[e.Inline=0]="Inline",e[e.Popup=1]="Popup"}(t.ShowCardActionMode||(t.ShowCardActionMode={})),function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(t.Orientation||(t.Orientation={})),function(e){e[e.Cover=0]="Cover",e[e.RepeatHorizontally=1]="RepeatHorizontally",e[e.RepeatVertically=2]="RepeatVertically",e[e.Repeat=3]="Repeat"}(t.FillMode||(t.FillMode={})),function(e){e[e.LeftOfTitle=0]="LeftOfTitle",e[e.AboveTitle=1]="AboveTitle"}(t.ActionIconPlacement||(t.ActionIconPlacement={})),function(e){e[e.Text=0]="Text",e[e.Tel=1]="Tel",e[e.Url=2]="Url",e[e.Email=3]="Email"}(t.InputTextStyle||(t.InputTextStyle={}));var i=function(){function e(){}return e.Default="default",e.Emphasis="emphasis",e.Accent="accent",e.Good="good",e.Attention="attention",e.Warning="warning",e}();t.ContainerStyle=i,function(e){e[e.Parse=0]="Parse",e[e.ToJSON=1]="ToJSON",e[e.Validation=2]="Validation"}(t.ValidationPhase||(t.ValidationPhase={})),function(e){e[e.Hint=0]="Hint",e[e.ActionTypeNotAllowed=1]="ActionTypeNotAllowed",e[e.CollectionCantBeEmpty=2]="CollectionCantBeEmpty",e[e.Deprecated=3]="Deprecated",e[e.ElementTypeNotAllowed=4]="ElementTypeNotAllowed",e[e.InteractivityNotAllowed=5]="InteractivityNotAllowed",e[e.InvalidPropertyValue=6]="InvalidPropertyValue",e[e.MissingCardType=7]="MissingCardType",e[e.PropertyCantBeNull=8]="PropertyCantBeNull",e[e.TooManyActions=9]="TooManyActions",e[e.UnknownActionType=10]="UnknownActionType",e[e.UnknownElementType=11]="UnknownElementType",e[e.UnsupportedCardVersion=12]="UnsupportedCardVersion",e[e.DuplicateId=13]="DuplicateId",e[e.UnsupportedProperty=14]="UnsupportedProperty",e[e.RequiredInputsShouldHaveLabel=15]="RequiredInputsShouldHaveLabel",e[e.RequiredInputsShouldHaveErrorMessage=16]="RequiredInputsShouldHaveErrorMessage",e[e.Other=17]="Other"}(t.ValidationEvent||(t.ValidationEvent={})),function(e){e[e.FullyInContainer=0]="FullyInContainer",e[e.Overflowing=1]="Overflowing",e[e.FullyOutOfContainer=2]="FullyOutOfContainer"}(t.ContainerFitStatus||(t.ContainerFitStatus={})),function(e){e[e.Disabled=0]="Disabled",e[e.Manual=1]="Manual",e[e.Automatic=2]="Automatic"}(t.RefreshMode||(t.RefreshMode={})),function(e){e[e.Info=0]="Info",e[e.Warning=1]="Warning",e[e.Error=2]="Error"}(t.LogLevel||(t.LogLevel={}))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n,i=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.AudioStreamFormatImpl=t.AudioStreamFormat=t.AudioFormatTag=void 0,function(e){e[e.PCM=1]="PCM",e[e.MuLaw=2]="MuLaw",e[e.Siren=3]="Siren",e[e.MP3=4]="MP3",e[e.SILKSkype=5]="SILKSkype",e[e.OGG_OPUS=6]="OGG_OPUS",e[e.WEBM_OPUS=7]="WEBM_OPUS",e[e.ALaw=8]="ALaw"}(n=t.AudioFormatTag||(t.AudioFormatTag={}));var o=function(){function e(){}return e.getDefaultInputFormat=function(){return a.getDefaultInputFormat()},e.getWaveFormatPCM=function(e,t,r){return new a(e,t,r)},e}();t.AudioStreamFormat=o;var a=function(e){function t(t,r,i,o){void 0===t&&(t=16e3),void 0===r&&(r=16),void 0===i&&(i=1),void 0===o&&(o=n.PCM);var a=e.call(this)||this;switch(a.setString=function(e,t,r){for(var n=0;n<r.length;n++)e.setUint8(t+n,r.charCodeAt(n))},o){case n.PCM:a.formatTag=1;break;case n.ALaw:a.formatTag=6;break;case n.MuLaw:a.formatTag=7}a.bitsPerSample=r,a.samplesPerSec=t,a.channels=i,a.avgBytesPerSec=a.samplesPerSec*a.channels*(a.bitsPerSample/8),a.blockAlign=a.channels*Math.max(a.bitsPerSample,8),a.privHeader=new ArrayBuffer(44);var s=new DataView(a.privHeader);return a.setString(s,0,"RIFF"),s.setUint32(4,0,!0),a.setString(s,8,"WAVEfmt "),s.setUint32(16,16,!0),s.setUint16(20,a.formatTag,!0),s.setUint16(22,a.channels,!0),s.setUint32(24,a.samplesPerSec,!0),s.setUint32(28,a.avgBytesPerSec,!0),s.setUint16(32,a.channels*(a.bitsPerSample/8),!0),s.setUint16(34,a.bitsPerSample,!0),a.setString(s,36,"data"),s.setUint32(40,0,!0),a}return i(t,e),t.getDefaultInputFormat=function(){return new t},t.getAudioContext=function(e){var t=window.AudioContext||window.webkitAudioContext||!1;if(t)return void 0!==e&&navigator.mediaDevices.getSupportedConstraints().sampleRate?new t({sampleRate:e}):new t;throw new Error("Browser does not support Web Audio API (AudioContext is not available).")},t.prototype.close=function(){},Object.defineProperty(t.prototype,"header",{get:function(){return this.privHeader},enumerable:!1,configurable:!0}),t}(o);t.AudioStreamFormatImpl=a},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=r(245),a=r(839);i(r(839),t);var s=/\s+/g,u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(r=t,t=u),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:u,this.elementCB=null!==r&&void 0!==r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===o.ElementType.Text)t?r.data=(r.data+e).replace(s," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(s," "));var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e}
2,e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},function(e,t,r){var n=r(475);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},function(e,t,r){var n=r(198),i=r(848),o=r(1940);e.exports=function(e){return function(){var t,r=n(e);if(i()){var a=n(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return o(this,t)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n,i=r(10),o=r(1),a=r(2),s=r(6),u=r(7),c=r(31),l=r(14),p=function(e){Object(s.a)(r,e);var t=Object(u.a)(r);function r(e,n,i,a,s,u,c,l,p){var f;return Object(o.a)(this,r),(f=t.call(this,i,u,n,e)).formatTag=e,f.avgBytesPerSec=a,f.blockAlign=s,f.priAudioFormatString=c,f.priRequestAudioFormatString=l,f.priHasHeader=p,f}return Object(a.a)(r,[{key:"hasHeader",get:function(){return this.priHasHeader}},{key:"header",get:function(){if(this.hasHeader)return this.privHeader}},{key:"updateHeader",value:function(e){this.priHasHeader&&new DataView(this.privHeader).setUint32(40,e,!0)}},{key:"requestAudioFormatString",get:function(){return this.priRequestAudioFormatString}}],[{key:"fromSpeechSynthesisOutputFormat",value:function(e){return void 0===e?r.getDefaultOutputFormat():r.fromSpeechSynthesisOutputFormatString(r.SpeechSynthesisOutputFormatToString[e])}},{key:"fromSpeechSynthesisOutputFormatString",value:function(e){switch(e){case"raw-8khz-8bit-mono-mulaw":return new r(l.a.MuLaw,1,8e3,8e3,1,8,e,e,!1);case"riff-16khz-16kbps-mono-siren":return new r(l.a.Siren,1,16e3,2e3,40,0,e,"audio-16khz-16kbps-mono-siren",!0);case"audio-16khz-16kbps-mono-siren":return new r(l.a.Siren,1,16e3,2e3,40,0,e,e,!1);case"audio-16khz-32kbitrate-mono-mp3":return new r(l.a.MP3,1,16e3,4096,2,16,e,e,!1);case"audio-16khz-128kbitrate-mono-mp3":return new r(l.a.MP3,1,16e3,16384,2,16,e,e,!1);case"audio-16khz-64kbitrate-mono-mp3":return new r(l.a.MP3,1,16e3,8192,2,16,e,e,!1);case"audio-24khz-48kbitrate-mono-mp3":return new r(l.a.MP3,1,24e3,6144,2,16,e,e,!1);case"audio-24khz-96kbitrate-mono-mp3":return new r(l.a.MP3,1,24e3,12288,2,16,e,e,!1);case"audio-24khz-160kbitrate-mono-mp3":return new r(l.a.MP3,1,24e3,20480,2,16,e,e,!1);case"raw-16khz-16bit-mono-truesilk":return new r(l.a.SILKSkype,1,16e3,32e3,2,16,e,e,!1);case"riff-8khz-16bit-mono-pcm":return new r(l.a.PCM,1,8e3,16e3,2,16,e,"raw-8khz-16bit-mono-pcm",!0);case"riff-24khz-16bit-mono-pcm":return new r(l.a.PCM,1,24e3,48e3,2,16,e,"raw-24khz-16bit-mono-pcm",!0);case"riff-8khz-8bit-mono-mulaw":return new r(l.a.MuLaw,1,8e3,8e3,1,8,e,"raw-8khz-8bit-mono-mulaw",!0);case"raw-16khz-16bit-mono-pcm":return new r(l.a.PCM,1,16e3,32e3,2,16,e,"raw-16khz-16bit-mono-pcm",!1);case"raw-24khz-16bit-mono-pcm":return new r(l.a.PCM,1,24e3,48e3,2,16,e,"raw-24khz-16bit-mono-pcm",!1);case"raw-8khz-16bit-mono-pcm":return new r(l.a.PCM,1,8e3,16e3,2,16,e,"raw-8khz-16bit-mono-pcm",!1);case"ogg-16khz-16bit-mono-opus":return new r(l.a.OGG_OPUS,1,16e3,8192,2,16,e,e,!1);case"ogg-24khz-16bit-mono-opus":return new r(l.a.OGG_OPUS,1,24e3,8192,2,16,e,e,!1);case"raw-48khz-16bit-mono-pcm":return new r(l.a.PCM,1,48e3,96e3,2,16,e,"raw-48khz-16bit-mono-pcm",!1);case"riff-48khz-16bit-mono-pcm":return new r(l.a.PCM,1,48e3,96e3,2,16,e,"raw-48khz-16bit-mono-pcm",!0);case"audio-48khz-96kbitrate-mono-mp3":return new r(l.a.MP3,1,48e3,12288,2,16,e,e,!1);case"audio-48khz-192kbitrate-mono-mp3":return new r(l.a.MP3,1,48e3,24576,2,16,e,e,!1);case"ogg-48khz-16bit-mono-opus":return new r(l.a.OGG_OPUS,1,48e3,12e3,2,16,e,e,!1);case"webm-16khz-16bit-mono-opus":return new r(l.a.WEBM_OPUS,1,16e3,8e3,2,16,e,e,!1);case"webm-24khz-16bit-mono-opus":return new r(l.a.WEBM_OPUS,1,24e3,8e3,2,16,e,e,!1);case"raw-24khz-16bit-mono-truesilk":return new r(l.a.SILKSkype,1,24e3,48e3,2,16,e,e,!1);case"raw-8khz-8bit-mono-alaw":return new r(l.a.ALaw,1,8e3,8e3,1,8,e,e,!1);case"riff-8khz-8bit-mono-alaw":return new r(l.a.ALaw,1,8e3,8e3,1,8,e,"raw-8khz-8bit-mono-alaw",!0);case"riff-16khz-16bit-mono-pcm":default:return new r(l.a.PCM,1,16e3,32e3,2,16,"riff-16khz-16bit-mono-pcm","raw-16khz-16bit-mono-pcm",!0)}}},{key:"getDefaultOutputFormat",value:function(){return r.fromSpeechSynthesisOutputFormatString("undefined"!==typeof window?"audio-24khz-48kbitrate-mono-mp3":"riff-16khz-16bit-mono-pcm")}}]),r}(l.c);p.SpeechSynthesisOutputFormatToString=(n={},Object(i.a)(n,c.a.Raw8Khz8BitMonoMULaw,"raw-8khz-8bit-mono-mulaw"),Object(i.a)(n,c.a.Riff16Khz16KbpsMonoSiren,"riff-16khz-16kbps-mono-siren"),Object(i.a)(n,c.a.Audio16Khz16KbpsMonoSiren,"audio-16khz-16kbps-mono-siren"),Object(i.a)(n,c.a.Audio16Khz32KBitRateMonoMp3,"audio-16khz-32kbitrate-mono-mp3"),Object(i.a)(n,c.a.Audio16Khz128KBitRateMonoMp3,"audio-16khz-128kbitrate-mono-mp3"),Object(i.a)(n,c.a.Audio16Khz64KBitRateMonoMp3,"audio-16khz-64kbitrate-mono-mp3"),Object(i.a)(n,c.a.Audio24Khz48KBitRateMonoMp3,"audio-24khz-48kbitrate-mono-mp3"),Object(i.a)(n,c.a.Audio24Khz96KBitRateMonoMp3,"audio-24khz-96kbitrate-mono-mp3"),Object(i.a)(n,c.a.Audio24Khz160KBitRateMonoMp3,"audio-24khz-160kbitrate-mono-mp3"),Object(i.a)(n,c.a.Raw16Khz16BitMonoTrueSilk,"raw-16khz-16bit-mono-truesilk"),Object(i.a)(n,c.a.Riff16Khz16BitMonoPcm,"riff-16khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Riff8Khz16BitMonoPcm,"riff-8khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Riff24Khz16BitMonoPcm,"riff-24khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Riff8Khz8BitMonoMULaw,"riff-8khz-8bit-mono-mulaw"),Object(i.a)(n,c.a.Raw16Khz16BitMonoPcm,"raw-16khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Raw24Khz16BitMonoPcm,"raw-24khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Raw8Khz16BitMonoPcm,"raw-8khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Ogg16Khz16BitMonoOpus,"ogg-16khz-16bit-mono-opus"),Object(i.a)(n,c.a.Ogg24Khz16BitMonoOpus,"ogg-24khz-16bit-mono-opus"),Object(i.a)(n,c.a.Raw48Khz16BitMonoPcm,"raw-48khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Riff48Khz16BitMonoPcm,"riff-48khz-16bit-mono-pcm"),Object(i.a)(n,c.a.Audio48Khz96KBitRateMonoMp3,"audio-48khz-96kbitrate-mono-mp3"),Object(i.a)(n,c.a.Audio48Khz192KBitRateMonoMp3,"audio-48khz-192kbitrate-mono-mp3"),Object(i.a)(n,c.a.Ogg48Khz16BitMonoOpus,"ogg-48khz-16bit-mono-opus"),Object(i.a)(n,c.a.Webm16Khz16BitMonoOpus,"webm-16khz-16bit-mono-opus"),Object(i.a)(n,c.a.Webm24Khz16BitMonoOpus,"webm-24khz-16bit-mono-opus"),Object(i.a)(n,c.a.Raw24Khz16BitMonoTrueSilk,"raw-24khz-16bit-mono-truesilk"),Object(i.a)(n,c.a.Raw8Khz8BitMonoALaw,"raw-8khz-8bit-mono-alaw"),Object(i.a)(n,c.a.Riff8Khz8BitMonoALaw,"riff-8khz-8bit-mono-alaw"),n)},function(e,t,r){"use strict";var n=r(18);
2Object.defineProperty(t,"__esModule",{value:!0});var i={createDirectLine:!0,createDirectLineAppServiceExtension:!0,Components:!0,hooks:!0,renderWebChat:!0,createAdaptiveCardsAttachmentMiddleware:!0,createAdaptiveCardsAttachmentForScreenReaderMiddleware:!0,createCognitiveServicesSpeechServicesPonyfillFactory:!0,createDirectLineSpeechAdapters:!0,createStyleSet:!0,renderMarkdown:!0};Object.defineProperty(t,"createAdaptiveCardsAttachmentMiddleware",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"createAdaptiveCardsAttachmentForScreenReaderMiddleware",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createCognitiveServicesSpeechServicesPonyfillFactory",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"createDirectLineSpeechAdapters",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"createStyleSet",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"renderMarkdown",{enumerable:!0,get:function(){return E.default}}),t.renderWebChat=t.hooks=t.Components=t.default=t.createDirectLineAppServiceExtension=t.createDirectLine=void 0;var o=n(r(88)),a=r(899);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(r(733)),u=n(r(729)),c=n(r(743)),l=n(r(751)),p=n(r(730)),f=n(r(752)),d=n(r(759)),h=n(r(1591)),v=n(r(1812)),m=n(r(1894)),y=n(r(731)),T=n(r(732)),b=n(r(1898)),g=n(r(753)),_=n(r(754)),S=n(r(1965)),A=n(r(755)),E=n(r(833)),C=n(r(756)),O=n(r(757)),I=n(r(738)),w=n(r(128)),P=n(r(139)),N=n(r(758));function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x=p.default.bind(null,S.default);t.renderWebChat=x;var M=function(e){return e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),(0,y.default)(k(k({},e),{},{botAgent:"WebChat/".concat(a.version," (Full)")}))};t.createDirectLine=M;var L=function(e){return e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),(0,T.default)(k(k({},e),{},{botAgent:"WebChat/".concat(a.version," (Full)")}))};t.createDirectLineAppServiceExtension=L;var j=k(k({},a.hooks),{},{useAdaptiveCardsHostConfig:I.default,useAdaptiveCardsPackage:w.default,useStyleOptions:P.default});t.hooks=j;var D={AdaptiveCardContent:s.default,AnimationCardContent:c.default,AudioCardContent:l.default,Composer:b.default,HeroCardContent:g.default,OAuthCardContent:_.default,ReceiptCardContent:A.default,SignInCardContent:C.default,ThumbnailCardContent:O.default,VideoCardContent:N.default},U=k(k({},a.Components),D);t.Components=U;var B=S.default;t.default=B,window.WebChat=k(k({},window.WebChat),{},{Components:U,createAdaptiveCardsAttachmentMiddleware:f.default,createAdaptiveCardsAttachmentForScreenReaderMiddleware:d.default,createCognitiveServicesSpeechServicesPonyfillFactory:h.default,createDirectLine:M,createDirectLineAppServiceExtension:L,createDirectLineSpeechAdapters:v.default,createStyleSet:m.default,hooks:j,ReactWebChat:S.default,renderMarkdown:E.default,renderWebChat:x}),(0,u.default)("full")},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.Error=0]="Error",e[e.EndOfStream=1]="EndOfStream"}(n||(n={}))},function(e,t,r){e.exports=r(1911)},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"===typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(O){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof p?t:p,o=Object.create(i.prototype),a=new A(n||[]);return o._invoke=function(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return C()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=g(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=c(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(e,r,a),o}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(O){return{type:"throw",arg:O}}}e.wrap=u;var l={};function p(){}function f(){}function d(){}var h={};s(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(E([])));m&&m!==t&&r.call(m,i)&&(h=m);var y=d.prototype=p.prototype=Object.create(h);function T(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}
vendor: 6,280 bytes, line 2
2))}function b(e,t){var n;this._invoke=function(i,o){function a(){return new t((function(n,a){!function n(i,o,a,s){var u=c(e[i],e,o);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"===typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(p).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}(i,o,n,a)}))}return n=n?n.then(a,a):a()}}function g(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,g(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=c(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return f.prototype=d,s(y,"constructor",d),s(d,"constructor",f),f.displayName=s(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},T(b.prototype),s(b.prototype,o,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new b(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(y),s(y,a,"Generator"),s(y,i,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=E,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),u=r.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"DIRECT_LINE/INCOMING_ACTIVITY",payload:{activity:e}}},t.INCOMING_ACTIVITY=void 0;t.INCOMING_ACTIVITY="DIRECT_LINE/INCOMING_ACTIVITY"},function(e,t,r){var n,i=r(82),o=r(933),a=r(374),s=r(221),u=r(534),c=r(372),l=r(273),p=l("IE_PROTO"),f=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}v="undefined"!=typeof document?document.domain&&n?h(n):function(){var e,t=c("iframe");return t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F}():h(n);for(var e=a.length;e--;)delete v.prototype[a[e]];return v()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=i(e),r=new f,f.prototype=null,r[p]=e):r=v(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(82),i=r(535),o=r(131),a=r(179),s=r(536),u=r(275),c=r(537),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var p,f,d,h,v,m,y,T=r&&r.that,b=!(!r||!r.AS_ENTRIES),g=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),S=a(t,T,1+b+_),A=function(e){return p&&
2c(p,"normal",e),new l(!0,e)},E=function(e){return b?(n(e),_?S(e[0],e[1],A):S(e[0],e[1])):_?S(e,A):S(e)};if(g)p=e;else{if(!(f=u(e)))throw TypeError(String(e)+" is not iterable");if(i(f)){for(d=0,h=o(e.length);h>d;d++)if((v=E(e[d]))&&v instanceof l)return v;return new l(!1)}p=s(e,f)}for(m=p.next;!(y=m.call(p)).done;){try{v=E(y.value)}catch(C){c(p,"throw",C)}if("object"==typeof v&&v&&v instanceof l)return v}return new l(!1)}},function(e,t,r){r(182);var n=r(949),i=r(47),o=r(181),a=r(119),s=r(180),u=r(53)("toStringTag");for(var c in n){var l=i[c],p=l&&l.prototype;p&&o(p)!==u&&a(p,u,c),s[c]=s.Array}},function(e,t,r){var n=r(386),i=r(57),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,r){"use strict";(function(e){var n=r(292),i=r(1067),o=r(1068);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t);return e}(e,t,r,n):"string"===typeof t?function(e,t,r){"string"===typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),i=(e=s(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|d(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(n=t.length)!==n?s(e,0):f(e,t);if("Buffer"===t.type&&o(t.data))return f(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(l(t),e=s(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|d(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return F(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return O(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return w(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}
vendor: 8,160 bytes, line 2
2else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:T(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):T(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function T(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var p=!0,f=0;f<u;f++)if(c(e,o+f)!==c(t,f)){p=!1;break}if(p)return o}return-1}function b(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function g(e,t,r,n){return z(F(t,e.length-r),e,r,n)}function _(e,t,r,n){return z(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function S(e,t,r,n){return _(e,t,r,n)}function A(e,t,r,n){return z(V(t),e,r,n)}function E(e,t,r,n){return z(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function C(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function O(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,c=e[i],l=null,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"===typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return p(null,e)},u.allocUnsafeSlow=function(e){return p(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):v.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),p=0;p<s;++p)if(c[p]!==l[p]){o=c[p],a=l[p];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return g(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function w(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function P(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=B(e[o]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function R(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function x(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function M(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>
vendor: 7,078 bytes, line 2
2>8*(n?i:3-i)&255}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,o){return o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,o){return o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||k(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||k(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);k(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);k(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:F(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>
2-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function V(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function z(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(90))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)(),t=e.focusSendBoxCallbacksRef,r=e.focusTranscriptCallbacksRef;return(0,i.useCallback)((function(e){if("sendBoxWithoutKeyboard"===e)return t.current.forEach((function(e){return e({noKeyboard:!0})}));("sendBox"===e?t:r).current.forEach((function(e){return e()}))}),[t,r])};var n,i=r(0),o=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(50);e.exports=function(e){return n[e+"Prototype"]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=t.SizeAndUnit=t.PaddingDefinition=t.SpacingDefinition=t.StringWithSubstitutions=t.ContentTypes=t.GlobalSettings=void 0;var n=r(140),i=function(){function e(){}return e.useAdvancedTextBlockTruncation=!0,e.useAdvancedCardBottomTruncation=!1,e.useMarkdownInRadioButtonAndCheckbox=!0,e.allowMarkForTextHighlighting=!1,e.alwaysBleedSeparators=!1,e.enableFullJsonRoundTrip=!1,e.displayInputValidationErrors=!0,e.allowPreProcessingPropertyValues=!1,e.setTabIndexAtCardRoot=!0,e.enableFallback=!0,e.useWebkitLineClamp=!0,e.applets={logEnabled:!0,logLevel:n.LogLevel.Error,maximumRetryAttempts:3,defaultTimeBetweenRetryAttempts:3e3,authPromptWidth:400,authPromptHeight:600,refresh:{mode:n.RefreshMode.Manual,timeBetweenAutomaticRefreshes:3e3,maximumConsecutiveAutomaticRefreshes:3,allowManualRefreshesAfterAutomaticRefreshes:!0}},e}();t.GlobalSettings=i,t.ContentTypes={applicationJson:"application/json",applicationXWwwFormUrlencoded:"application/x-www-form-urlencoded"};var o=function(){function e(){this._isProcessed=!1}return e.prototype.getReferencedInputs=function(e,t){if(!t)throw new Error("The referencedInputs parameter cannot be null.");for(var r=0,n=e;r<n.length;r++){var i=n[r];null!=new RegExp("\\{{2}("+i.id+").value\\}{2}","gi").exec(this._original)&&i.id&&(t[i.id]=i)}},e.prototype.substituteInputValues=function(e,r){if(this._processed=this._original,this._original)for(var n=/\{{2}([a-z0-9_$@]+).value\}{2}/gi,i=void 0;null!==(i=n.exec(this._original));)for(var o=0,a=Object.keys(e);o<a.length;o++){var s=a[o];if(s.toLowerCase()==i[1].toLowerCase()){var u=e[s],c="";u.value&&(c=u.value),r===t.ContentTypes.applicationJson?c=(c=JSON.stringify(c)).slice(1,-1):r===t.ContentTypes.applicationXWwwFormUrlencoded&&(c=encodeURIComponent(c)),this._processed=this._processed.replace(i[0],c);break}}this._isProcessed=!0},e.prototype.getOriginal=function(){return this._original},e.prototype.get=function(){return this._isProcessed?this._processed:this._original},e.prototype.set=function(e){this._original=e,this._isProcessed=!1},e}();t.StringWithSubstitutions=o;var a=function(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.left=0,this.top=0,this.right=0,this.bottom=0,this.top=e,this.right=t,this.bottom=r,this.left=n};t.SpacingDefinition=a;var s=function(e,t,r,i){void 0===e&&(e=n.Spacing.None),void 0===t&&(t=n.Spacing.None),void 0===r&&(r=n.Spacing.None),void 0===i&&(i=n.Spacing.None),this.top=n.Spacing.None,this.right=n.Spacing.None,this.bottom=n.Spacing.None,this.left=n.Spacing.None,this.top=e,this.right=t,this.bottom=r,this.left=i};t.PaddingDefinition=s;var u=function(){function e(e,t){this.physicalSize=e,this.unit=t}return e.parse=function(t,r){void 0===r&&(r=!1);var i=new e(0,n.SizeUnit.Weight);if("number"===typeof t)return i.physicalSize=t,i;if("string"===typeof t){var o=/^([0-9]+)(px|\*)?$/g.exec(t),a=r?3:2;if(o&&o.length>=a)return i.physicalSize=parseInt(o[1]),3==o.length&&"px"==o[2]&&(i.unit=n.SizeUnit.Pixel),i}throw new Error("Invalid size: "+t)},e}();t.SizeAndUnit=u;var c=function(){function e(){}return e.generate=function(){var t=4294967295*Math.random()|0,r=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return e.lut[255&t]+e.lut[t>>8&255]+e.lut[t>>16&255]+e.lut[t>>24&255]+"-"+e.lut[255&r]+e.lut[r>>8&255]+"-"+e.lut[r>>16&15|64]+e.lut[r>>24&255]+"-"+e.lut[63&n|128]+e.lut[n>>8&255]+"-"+e.lut[n>>16&255]+e.lut[n>>24&255]+e.lut[255&i]+e.lut[i>>8&255]+e.lut[i>>16&255]+e.lut[i>>24&255]},e.initialize=function(){for(var t=0;t<256;t++)e.lut[t]=(t<16?"0":"")+t.toString(16)},e.lut=[],e}();t.UUID=c,c.initialize()},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.createNoDashGuid=t.createGuid=void 0;var n=r(490),i=function(){return n.v4()};t.createGuid=i;t.createNoDashGuid=function(){return i().replace(new RegExp("-","g"),"").toUpperCase()}},function(e,t,r){e.exports=r(150)},function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n,i,o,a=r(850),s=r(60),u=r(64),c=r(480),l=r(198),p=r(144),f=r(145),d=r(117),h=r(476),v=h.isClean,m=h.my,y=r(335),T=r(337);var b=function(e){p(r,e);var t=f(r);function r(){return s(this,r),t.apply(this,arguments)}return u(r,[{key:"push",value:function(e){return e.parent=this,this.proxyOf.nodes.push(e),this}},{key:"each",value:function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}}},{key:"walk",value:function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(i){throw t.addToError(i)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}},{key:"walkDecls",value:function(e,t){return t?e instanceof RegExp?this.walk((function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk((function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("decl"===e.type)return t(e,r)})))}},{key:"walkRules",value:function(e,t){return t?e instanceof RegExp?this.walk((function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk((function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("rule"===e.type)return t(e,r)})))}},{key:"walkAtRules",value:function(e,t){return t?e instanceof RegExp?this.walk((function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk((function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("atrule"===e.type)return t(e,r)})))}},{key:"walkComments",value:function(e){return this.walk((function(t,r){if("comment"===t.type)return e(t,r)}))}},{key:"append",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=0,i=t;n<i.length;n++){var o,a=i[n],s=this.normalize(a,this.last),u=d(s);try{for(u.s();!(o=u.n()).done;){var c=o.value;this.proxyOf.nodes.push(c)}}catch(l){u.e(l)}finally{u.f()}}return this.markDirty(),this}},{key:"prepend",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t=t.reverse();var n,i=d(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),u=d(s);try{for(u.s();!(o=u.n()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}}catch(p){u.e(p)}finally{u.f()}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+s.length}}catch(p){i.e(p)}finally{i.f()}return this.markDirty(),this}},{key:"cleanRaws",value:function(e){if(c(l(r.prototype),"cleanRaws",this).call(this,e),this.nodes){var t,n=d(this.nodes);try{for(n.s();!(t=n.n()).done;){t.value.cleanRaws(e)}}catch(i){n.e(i)}finally{n.f()}}}},{key:"insertBefore",value:function(e,t){var r,n,i=0===(e=this.index(e))&&"prepend",o=this.normalize(t,this.proxyOf.nodes[e],i).reverse(),a=d(o);try{for(a.s();!(r=a.n()).done;){var s=r.value;this.proxyOf.nodes.splice(e,0,s)}}catch(c){a.e(c)}finally{a.f()}for(var u in this.indexes)e<=(n=this.indexes[u])&&(this.indexes[u]=n+o.length);return this.markDirty(),this}},{key:"insertAfter",value:function(e,t){e=this.index(e);var r,n,i=this.normalize(t,this.proxyOf.nodes[e]).reverse(),o=d(i);try{for(o.s();!(r=o.n()).done;){var a=r.value;this.proxyOf.nodes.splice(e+1,0,a)}}catch(u){o.e(u)}finally{o.f()}for(var s in this.indexes)e<(n=this.indexes[s])&&(this.indexes[s]=n+i.length);return this.markDirty(),this}},{key:"removeChild",value:function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}},{key:"removeAll",value:function(){var e,t=d(this.proxyOf.nodes);try{for(t.s();!(e=t.n()).done;){e.value.parent=void 0}}catch(r){t.e(r)}finally{t.f()}return this.proxyOf.nodes=[],this.markDirty(),this}},{key:"replaceValues",value:function(e,t,r){return r||(r=t,t={}),this.walkDecls((function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}},{key:"every",value:function(e){return this.nodes.every(e)}},{key:"some",value:function(e){return this.nodes.some(e)}},{key:"index",value:function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}},{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}},{key:"normalize",value:function(e,t){var a=this;if("string"===typeof e)e=function e(t){return t.map((function(t){return t.nodes&&(t.no
2des=e(t.nodes)),delete t.source,t}))}(n(e).nodes);else if(Array.isArray(e)){e=e.slice(0);var s,u=d(e);try{for(u.s();!(s=u.n()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,"ignore")}}catch(h){u.e(h)}finally{u.f()}}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);var l,p=d(e);try{for(p.s();!(l=p.n()).done;){var f=l.value;f.parent&&f.parent.removeChild(f,"ignore")}}catch(h){p.e(h)}finally{p.f()}}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new y(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new T(e)]}return e.map((function(e){return e[m]||r.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[v]&&function e(t){if(t[v]=!1,t.proxyOf.nodes){var r,n=d(t.proxyOf.nodes);try{for(n.s();!(r=n.n()).done;){e(r.value)}}catch(h){n.e(h)}finally{n.f()}}}(e),"undefined"===typeof e.raws.before&&t&&"undefined"!==typeof t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=a,e}))}},{key:"getProxyProcessor",value:function(){return{set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0},get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e[t].apply(e,a(n.map((function(e){return"function"===typeof e?function(t,r){return e(t.toProxy(),r)}:e}))))}:"every"===t||"some"===t?function(r){return e[t]((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[e.toProxy()].concat(n))}))}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map((function(e){return e.toProxy()})):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}}},{key:"getIterator",value:function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e}}]),r}(r(336));b.registerParse=function(e){n=e},b.registerRule=function(e){i=e},b.registerAtRule=function(e){o=e},e.exports=b,b.default=b,b.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,y.prototype):"comment"===e.type&&Object.setPrototypeOf(e,T.prototype),e[m]=!0,e.nodes&&e.nodes.forEach((function(e){b.rebuild(e)}))}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}r.r(t);var s=r(201);function u(e,t,r,n){return(u="undefined"!==typeof Reflect&&Reflect.set?Reflect.set:function(e,t,r,n){var i,o=a(e,t);if(o){if((i=Object.getOwnPropertyDescriptor(o,t)).set)return i.set.call(n,r),!0;if(!i.writable)return!1}if(i=Object.getOwnPropertyDescriptor(n,t)){if(!i.writable)return!1;i.value=r,Object.defineProperty(n,t,i)}else Object(s.a)(n,t,r);return!0})(e,t,r,n)}function c(e,t,r,n,i){if(!u(e,t,r,n||e)&&i)throw new Error("failed to set property");return r}function l(e,t,r){return(l="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=a(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}var h,v=r(489),m=r.n(v);function y(e,t){if(t&&("object"===m()(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function b(e,t,r){return(b=T()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&f(i,r.prototype),i}).apply(null,arguments)}function g(e){var t="function"===typeof Map?new Map:void 0;return(g=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return b(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)})(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&S(e.prototype,t),r&&S(e,r),e}function E(e){return(E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=o(e);if(t){var i=o(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?O(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(e,t){if(!e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];throw new TypeError(P(t,n))}}function P(e,t){var r=0;return e.replace(/%[os]/g,(function(){return N(t[r++])}))}function N(e){return"object"!==E(e)||null===e?String(e):Object.prototype.toString.call(e)}function R(e){w("function"===typeof e||void 0===e,"The error handler must be a function or undefined, but got %o.",e),h=e}r.d(t,"Event",(function(){return q})),r.d(t,"EventTarget",(function(){return ge})),r.d(t,"defineCustomEventTarget",(function(){return we})),r.d(t,"defineEventAttribute",(function(){return Pe})),r.d(t,"getEventAttributeValue",(function(){return Oe})),r.d(t,"setErrorHandler",(function(){return R})),r.d(t,"setEventAttributeValue",(function(){return Ie})),r.d(t,"setWarningHandler",(function(){return M}));var k,x="undefined"!==typeof window?window:"undefined"!==typeof self?self:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:void 0;function M(e){w("function"===typeof e||void 0===e,"The warning handler must be a function or undefined, but got %o.",e),k=e}var L=function(){function e(t,r){_(this,e),this.code=t,this.message=r}return A(e,[{key:"warn",value:function(){var e;try{for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if(k)return void k(I(I({},this),{},{args:n}));var o=(null!==(e=(new Error).stack)&&void 0!==e?e:"").replace(/^(?:(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+?\n){2}/g,"\n");(t=console).warn.apply(t,[this.message].concat(n,[o]))}catch(a){}}}]),e}(),j=new L("W01","Unable to initialize event under dispatching."),D=new L("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),U=new L("W03","Assigning any truthy value to 'returnValue' property has no effect."),B=new L("W04","Unable to preventDefault on non-cancelable events."),F=new L("W05","Unable to preventDefault inside passive event listener invocation."),V=new L("W06","An event listener wasn't added because it has been added already: %o, %o"),z=new L("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),H=new L("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o"),G=new L("W09","Event attribute handler must be a function: %o"),q=function(){function e(t,r){_(this,e),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});var n=null!==r&&void 0!==r?r:{};J.set(this,{type:String(t),bubbles:Boolean(n.bubbles),cancelable:Boolean(n.cancelable),composed:Boolean(n.composed),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}return A(e,null,[{key:"NONE",get:function(){return Y}},{key:"CAPTURING_PHASE",get:function(){return W}},{key:"AT_TARGET",get:function(){return K}},{key:"BUBBLING_PHASE",get:function(){return $}}]),A(e,[{key:"composedPath",value:function(){var e=X(this).currentTarget;return e?[e]:[]}},{key:"stopPropagation",value:function(){X(this).stopPropagationFlag=!0}},{key:"stopImmediatePropagation",value:function(){var e=X(this);e.stopPropagationFlag=e.stopImmediatePropagationFlag=!0}},{key:"preventDefault",value:function(){Z(X(this))}},{key:"initEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=X(this);n.dispatchFlag?j.warn():J.set(this,I(I({},n),{},{type:String(e),bubbles:Boolean(t),cancelable:Boolean(r),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1}))}},{key:"type",get:function(){return X(this).type}},{key:"target",get:function(){return X(this).target}},{key:"srcElement",get:function(){return X(this).target}},{key:"currentTarget",get:function(){return X(this).currentTarget}},{key:"NONE",get:function(){return Y}},{key:"CAPTURING_PHASE",get:function(){return W}},{key:"AT_TARGET",get:function(){return K}},{key:"BUBBLING_PHASE",get:function(){return $}},{key:"eventPhase",get:function(){return X(this).dispatchFlag?2:0}},{key:"cancelBubble",get:function(){return X(this).stopPropagationFlag},set:function(e){e?X(this).stopPropagationFlag=!0:D.warn()}},{key:"bubbles",get:function(){return X(this).bubbles}},{key:"cancelable",get:function(){return X(this).cancelable}},{key:"returnValue",get:function(){return!X(this).canceledFlag},set:function(e){e?U.warn():Z(X(this))}},{key:"defaultPrevented",get:function(){return X(this).canceledFlag}},{key:"composed",get:function(){return X(this).composed}},{key:"isTrusted",get:function(){return!1}},{key:"timeStamp",get:function(){return X(this).timeStamp}}]),e}(),Y=0,W=1,K=2,$=3,J=new WeakMap;function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"this",r=J.get(e);return w(null!=r,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function Z(e){e.inPassiveListenerFlag?F.warn():e.cancelable?e.canceledFlag=!0:B.warn()}Object.defineProperty(q,"NONE",{enumerable:!0}),Object.defineProperty(q,"CAPTURING_PHASE",{enumerable:!0}),Object.defineProperty(q,"AT_TARGET",{enumerable:!0}),Object.defineProperty(q,"BUBBLING_PHASE",{enumerable:!0});for(var Q,ee=Object.getOwnPropertyNames(q.prototype),te=0;te<ee.length;++te)"constructor"!==ee[te]&&Object.defineProperty(q.prototype,ee[te],{enumerable:!0});"undefined"!==typeof x&&"undefined"!==typeof x.Event&&Object.setPrototypeOf(q.prototype,x.Event.prototype);var re={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ER
2R:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};function ne(e){for(var t=Object.keys(re),r=function(r){var n=t[r],i=re[n];Object.defineProperty(e,n,{get:function(){return i},configurable:!0,enumerable:!0})},n=0;n<t.length;++n)r(n)}var ie=function(e){d(r,e);var t=C(r);function r(e){var n,i,a;_(this,r),a=t.call(this,e.type,{bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed}),e.cancelBubble&&l((n=p(a),o(r.prototype)),"stopPropagation",n).call(n),e.defaultPrevented&&l((i=p(a),o(r.prototype)),"preventDefault",i).call(i),oe.set(p(a),{original:e});for(var s=Object.keys(e),u=0;u<s.length;++u){var c=s[u];c in p(a)||Object.defineProperty(p(a),c,ue(e,c))}return a}return A(r,null,[{key:"wrap",value:function(e){return new(function e(t){var r=Object.getPrototypeOf(t);if(null==r)return ie;var n=se.get(r);null==n&&(n=function(e,t){for(var r=function(e){d(r,e);var t=C(r);function r(){return _(this,r),t.apply(this,arguments)}return r}(e),n=Object.keys(t),i=0;i<n.length;++i)Object.defineProperty(r.prototype,n[i],ue(t,n[i]));return r}(e(r),r),se.set(r,n));return n}(e))(e)}}]),A(r,[{key:"stopPropagation",value:function(){l(o(r.prototype),"stopPropagation",this).call(this);var e=ae(this).original;"stopPropagation"in e&&e.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){l(o(r.prototype),"stopImmediatePropagation",this).call(this);var e=ae(this).original;"stopImmediatePropagation"in e&&e.stopImmediatePropagation()}},{key:"preventDefault",value:function(){l(o(r.prototype),"preventDefault",this).call(this);var e=ae(this).original;"preventDefault"in e&&e.preventDefault()}},{key:"cancelBubble",get:function(){return l(o(r.prototype),"cancelBubble",this)},set:function(e){c(o(r.prototype),"cancelBubble",e,this,!0);var t=ae(this).original;"cancelBubble"in t&&(t.cancelBubble=e)}},{key:"returnValue",get:function(){return l(o(r.prototype),"returnValue",this)},set:function(e){c(o(r.prototype),"returnValue",e,this,!0);var t=ae(this).original;"returnValue"in t&&(t.returnValue=e)}},{key:"timeStamp",get:function(){var e=ae(this).original;return"timeStamp"in e?e.timeStamp:l(o(r.prototype),"timeStamp",this)}}]),r}(q),oe=new WeakMap;function ae(e){var t=oe.get(e);return w(null!=t,"'this' is expected an Event object, but got",e),t}var se=new WeakMap;function ue(e,t){var r=Object.getOwnPropertyDescriptor(e,t);return{get:function(){var e=ae(this).original,r=e[t];return"function"===typeof r?r.bind(e):r},set:function(e){ae(this).original[t]=e},configurable:r.configurable,enumerable:r.enumerable}}function ce(e){e.flags|=8}function le(e){return 1===(1&e.flags)}function pe(e){return 2===(2&e.flags)}function fe(e){return 4===(4&e.flags)}function de(e){return 8===(8&e.flags)}function he(e,t,r){var n=e.callback;try{"function"===typeof n?n.call(t,r):"function"===typeof n.handleEvent&&n.handleEvent(r)}catch(i){!function(e){try{var t=e instanceof Error?e:new Error(N(e));if(h)return void h(t);if("function"===typeof dispatchEvent&&"function"===typeof ErrorEvent)dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if("undefined"!==typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",t);console.error(t)}catch(r){}}(i)}}function ve(e,t,r){for(var n=e.listeners,i=0;i<n.length;++i)if(n[i].callback===t&&le(n[i])===r)return i;return-1}function me(e,t,r,n,o,a){var s;a&&(s=ye.bind(null,e,t,r),a.addEventListener("abort",s));var u=function(e,t,r,n,i,o){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:o}}(t,r,n,o,a,s);return e.cow?(e.cow=!1,e.listeners=[].concat(i(e.listeners),[u])):e.listeners.push(u),u}function ye(e,t,r){var n=ve(e,t,r);return-1!==n&&Te(e,n)}function Te(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.listeners[t];return ce(n),n.signal&&n.signal.removeEventListener("abort",n.signalListener),e.cow&&!r?(e.cow=!1,e.listeners=e.listeners.filter((function(e,r){return r!==t})),!1):(e.listeners.splice(t,1),!0)}function be(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}se.set(Object.prototype,ie),"undefined"!==typeof x&&"undefined"!==typeof x.Event&&se.set(x.Event.prototype,ie);
2var ge=function(){function e(){_(this,e),_e.set(this,Object.create(null))}return A(e,[{key:"addEventListener",value:function(e,t,r){var n=Se(this),i=function(e,t,r){var n;if(Ae(t),"object"===E(r)&&null!==r)return{type:String(e),callback:null!==t&&void 0!==t?t:void 0,capture:Boolean(r.capture),passive:Boolean(r.passive),once:Boolean(r.once),signal:null!==(n=r.signal)&&void 0!==n?n:void 0};return{type:String(e),callback:null!==t&&void 0!==t?t:void 0,capture:Boolean(r),passive:!1,once:!1,signal:void 0}}(e,t,r),o=i.callback,a=i.capture,s=i.once,u=i.passive,c=i.signal,l=i.type;if(null!=o&&!(null===c||void 0===c?void 0:c.aborted)){var p=be(n,l),f=ve(p,o,a);-1===f?me(p,o,a,u,s,c):function(e,t,r,n){V.warn(le(e)?"capture":"bubble",e.callback),pe(e)!==t&&z.warn("passive");fe(e)!==r&&z.warn("once");e.signal!==n&&z.warn("signal")}(p.listeners[f],u,s,c)}}},{key:"removeEventListener",value:function(e,t,r){var n=Se(this),i=function(e,t,r){if(Ae(t),"object"===E(r)&&null!==r)return{type:String(e),callback:null!==t&&void 0!==t?t:void 0,capture:Boolean(r.capture)};return{type:String(e),callback:null!==t&&void 0!==t?t:void 0,capture:Boolean(r)}}(e,t,r),o=i.callback,a=i.capture,s=n[i.type];null!=o&&s&&ye(s,o,a)}},{key:"dispatchEvent",value:function(e){var t=Se(this)[String(e.type)];if(null==t)return!0;var r,n=e instanceof q?e:ie.wrap(e),i=X(n,"event");if(i.dispatchFlag)throw r="This event has been in dispatching.",x.DOMException?new x.DOMException(r,"InvalidStateError"):(null==Q&&(Q=function(e){d(r,e);var t=C(r);function r(e){var n;return _(this,r),n=t.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(p(n),r),n}return A(r,[{key:"code",get:function(){return 11}},{key:"name",get:function(){return"InvalidStateError"}}]),r}(g(Error)),Object.defineProperties(Q.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),ne(Q),ne(Q.prototype)),new Q(r));if(i.dispatchFlag=!0,i.target=i.currentTarget=this,!i.stopPropagationFlag){var o=t.cow,a=t.listeners;t.cow=!0;for(var s=0;s<a.length;++s){var u=a[s];if(!de(u)&&(fe(u)&&Te(t,s,!o)&&(s-=1),i.inPassiveListenerFlag=pe(u),he(u,this,n),i.inPassiveListenerFlag=!1,i.stopImmediatePropagationFlag))break}o||(t.cow=!1)}return i.target=null,i.currentTarget=null,i.stopImmediatePropagationFlag=!1,i.stopPropagationFlag=!1,i.dispatchFlag=!1,!i.canceledFlag}}]),e}(),_e=new WeakMap;function Se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"this",r=_e.get(e);return w(null!=r,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function Ae(e){if("function"!==typeof e&&("object"!==E(e)||null===e||"function"!==typeof e.handleEvent)){if(null!=e&&"object"!==E(e))throw new TypeError(P(H.message,[e]));H.warn(e)}}for(var Ee=Object.getOwnPropertyNames(ge.prototype),Ce=0;Ce<Ee.length;++Ce)"constructor"!==Ee[Ce]&&Object.defineProperty(ge.prototype,Ee[Ce],{enumerable:!0});function Oe(e,t){var r,n;return null!==(n=null===(r=Se(e,"target")[t])||void 0===r?void 0:r.attrCallback)&&void 0!==n?n:null}function Ie(e,t,r){null!=r&&"function"!==typeof r&&G.warn(r),"function"===typeof r||"object"===E(r)&&null!==r?function(e,t,r){var n=be(Se(e,"target"),String(t));n.attrCallback=r,null==n.attrListener&&(n.attrListener=me(n,function(e){return function(t){var r=e.attrCallback;"function"===typeof r&&r.call(this,t)}}(n),!1,!1,!1,void 0))}(e,t,r):function(e,t){var r=Se(e,"target")[String(t)];r&&r.attrListener&&(ye(r,r.attrListener.callback,!1),r.attrCallback=r.attrListener=void 0)}(e,t)}function we(){for(var e=function(e){d(r,e);var t=C(r);function r(){return _(this,r),t.apply(this,arguments)}return r}(ge),t=0;t<arguments.length;++t)Pe(e.prototype,t<0||arguments.length<=t?void 0:arguments[t]);return e}function Pe(e,t,r){Object.defineProperty(e,"on".concat(t),{get:function(){return Oe(this,t)},set:function(e){Ie(this,t,e)},configurable:!0,enumerable:!0})}"undefined"!==typeof x&&"undefined"!==typeof x.EventTarget&&Object.setPrototypeOf(ge.prototype,x.EventTarget.prototype);t.default=ge},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r){Object(n.a)(this,e),this.privHeaderName=t,this.privToken=r}return Object(i.a)(e,[{key:"headerName",get:function(){return this.privHeaderName}},{key:"token",get:function(){return this.privToken}}]),e}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return u}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,i,o)).privResult=e,a}return Object(i.a)(r,[{key:"result",get:function(){return this.privResult}}]),r}(r(208).a),u=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return r}(s)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o,a,s,u,c,l,p){var f;return Object(n.a)(this,r),(f=t.call(this,i,o,a,s,u,void 0,void 0,void 0,c,l,p)).privTranslations=e,f}return Object(i.a)(r,[{key:"translations",get:function(){return this.privTranslations}}]),r}(r(94).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return s}));r(32);var n,i=r(1),o=r(2);!function(e){e[e.None=0]="None",e[e.Resolved=1]="Resolved",e[e.Rejected=2]="Rejected"}(n||(n={}));var a=function(){function e(){var t=this;Object(i.a)(this,e),this.resolve=function(e){return t.privResolve(e),t},this.reject=function(e){return t.privReject(e),t},this.privPromise=new Promise((function(e,r){t.privResolve=e,t.privReject=r}))}return Object(o.a)(e,[{key:"promise",get:function(){return this.privPromise}}]),e}();function s(e,t,r){e.then((function(e){try{t&&t(e)}catch(i){if(r)try{if(i instanceof Error){var n=i;r(n.name+": "+n.message)}else r(i)}catch(i){}}}),(function(e){if(r)try{if(e instanceof Error){var t=e;
2r(t.name+": "+t.message)}else r(e)}catch(e){}}))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,i,o)).privResult=e,a}return Object(i.a)(r,[{key:"result",get:function(){return this.privResult}}]),r}(r(208).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o,a,s,u,c,l,p,f,d){var h;return Object(n.a)(this,r),(h=t.call(this,i,o,a,s,u,c,l,void 0,p,f,d)).privIntentId=e,h}return Object(i.a)(r,[{key:"intentId",get:function(){return this.privIntentId}}]),r}(r(94).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(32),i=r(1),o=r(170),a=r(46),s=r(886),u=function e(){var t=this;Object(i.a)(this,e),this.toConnectionMessage=function(e){var r=new o.a;try{if(e.messageType===a.b.Text){var n=e.textContent,i={},s=null;if(n){var u=n.split("\r\n\r\n");u&&u.length>0&&(i=t.parseHeaders(u[0]),u.length>1&&(s=u[1]))}r.resolve(new a.a(e.messageType,s,i,e.id))}else if(e.messageType===a.b.Binary){var c,l=e.binaryContent,p=null;if(!l||l.byteLength<2)throw new Error("Invalid binary message format. Header length missing.");var f=new DataView(l),d=f.getInt16(0);if(l.byteLength<d+2)throw new Error("Invalid binary message format. Header content missing.");for(var h="",v=0;v<d;v++)h+=String.fromCharCode(f.getInt8(v+2));c=t.parseHeaders(h),l.byteLength>d+2&&(p=l.slice(2+d)),r.resolve(new a.a(e.messageType,p,c,e.id))}}catch(m){r.reject("Error formatting the message. Error: ".concat(m))}return r.promise},this.fromConnectionMessage=function(e){var r=new o.a;try{if(e.messageType===a.b.Text){var n="".concat(t.makeHeaders(e)).concat("\r\n").concat(e.textBody?e.textBody:"");r.resolve(new s.a(a.b.Text,n,e.id))}else if(e.messageType===a.b.Binary){var i=t.makeHeaders(e),u=e.binaryBody,c=t.stringToArrayBuffer(i),l=new Int8Array(c),p=l.byteLength,f=new Int8Array(2+p+(u?u.byteLength:0));if(f[0]=p>>8&255,f[1]=255&p,f.set(l,2),u){var d=new Int8Array(u);f.set(d,2+p)}var h=f.buffer;r.resolve(new s.a(a.b.Binary,h,e.id))}}catch(v){r.reject("Error formatting the message. ".concat(v))}return r.promise},this.makeHeaders=function(e){var t="";if(e.headers)for(var r in e.headers)r&&(t+="".concat(r,": ").concat(e.headers[r]).concat("\r\n"));return t},this.parseHeaders=function(e){var t={};if(e){var r=e.match(/[^\r\n]+/g);if(t){var i,o=Object(n.a)(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(a){var s=a.indexOf(":"),u=s>0?a.substr(0,s).trim().toLowerCase():a,c=s>0&&a.length>s+1?a.substr(s+1).trim():"";t[u]=c}}}catch(l){o.e(l)}finally{o.f()}}}return t},this.stringToArrayBuffer=function(e){for(var t=new ArrayBuffer(e.length),r=new DataView(t),n=0;n<e.length;n++)r.setUint8(n,e.charCodeAt(n));return t}}},function(e,t){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.directLine,r=e.userID,i=e.username;return{type:n,payload:{directLine:t,userID:r,username:i}}},t.CONNECT_STILL_PENDING=t.CONNECT_REJECTED=t.CONNECT_PENDING=t.CONNECT_FULFILLING=t.CONNECT_FULFILLED=t.CONNECT=void 0;var n="DIRECT_LINE/CONNECT";t.CONNECT=n;var i="".concat(n,"_FULFILLED");t.CONNECT_FULFILLED=i;var o="".concat(n,"_FULFILLING");t.CONNECT_FULFILLING=o;var a="".concat(n,"_PENDING");t.CONNECT_PENDING=a;var s="".concat(n,"_REJECTED");t.CONNECT_REJECTED=s;var u="".concat(n,"_STILL_PENDING");t.CONNECT_STILL_PENDING=u},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return i}));var n=r(866);var i=function(){var e={};return e.promise=new n((function(t,r){e.resolve=t,e.reject=r})),e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!0},function(e,t,r){var n=r(130);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports={}},function(e,t,r){var n=r(375),i=r(49),o=r(267),a=r(53)("toStringTag"),s="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),a))?r:s?o(t):"Object"==(n=o(t))&&i(t.callee)?"Arguments":n}},function(e,t,r){"use strict";var n=r(107),i=r(935),o=r(180),a=r(132),s=r(377),u=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,r){var n=r(119);e.exports=function(e,t,r,i){i&&i.enumerable?e[t]=r:n(e,t,r)}},function(e,t,r){var n=r(375),i=r(98).f,o=r(119),a=r(91),s=r(938),u=r(53)("toStringTag");e.exports=function(e,t,r,c){if(e){var l=r?e:e.prototype;a(l,u)||i(l,u,{configurable:!0,value:t}),c&&!n&&o(l,"toString",s)}}},function(e,t){},function(e,t,r){var n=r(57),i=r(121),o=r(110),a=r(383),s=r(392),u=r(226),c=u.get,l=u.enforce,p=String(String).split("String");
2(e.exports=function(e,t,r,s){var u,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),(u=l(r)).source||(u.source=p.join("string"==typeof t?t:""))),e!==n?(c?!d&&e[t]&&(f=!0):delete e[t],f?e[t]=r:i(e,t,r)):f?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().webSpeechPonyfill]};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(111),i=r(419),o=r(232),a=r(100),s=r(300),u=r(101),c=r(643),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t,!0),c)try{return l(e,t)}catch(r){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,r){var n=r(645),i=r(51),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];r.forEach((function(t){for(var r;~(r=e.indexOf(t));)e.splice(r,1)}))}},function(e,t,r){var n=r(179),i=r(365),o=r(109),a=r(131),s=r(448),u=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,l=4==e,p=6==e,f=7==e,d=5==e||p;return function(h,v,m,y){for(var T,b,g=o(h),_=i(g),S=n(v,m,3),A=a(_.length),E=0,C=y||s,O=t?C(h,A):r||f?C(h,0):void 0;A>E;E++)if((d||E in _)&&(b=S(T=_[E],E,g),e))if(t)O[E]=b;else if(b)switch(e){case 3:return!0;case 5:return T;case 6:return E;case 2:u.call(O,T)}else switch(e){case 4:return!1;case 7:u.call(O,T)}return p?-1:c||l?l:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(63)),a=n(r(453)),s=r(54),u=n(r(20)),c=n(r(5)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),p=n(r(738)),f=n(r(128));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}s.Components.ErrorBox;var h=s.hooks.useDisabled,v=s.hooks.useLocalizer,m=s.hooks.usePerformCardAction,y=s.hooks.useRenderMarkdownAsHTML,T=s.hooks.useScrollToEnd,b=s.hooks.useStyleSet;function g(e,t){var r=new Set(e.className.split(" "));return!r.has(t)&&(r.add(t),e.className=Array.from(r).join(" "),!0)}function _(e,t,r){var n=e.getAttribute(t);if(n!==r)return e.setAttribute(t,r),function(){return n?e.setAttribute(t,n):e.removeAttribute(t)}}var S=function(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()};function A(e){var t=[],r=e===document.activeElement,n=e.nodeName.toLowerCase();switch(n){case"button":case"input":case"select":case"textarea":t.push(_(e,"aria-disabled","true")),r?t.push(function(e,t,r){var n,i=function(e){try{r(e)}finally{n()}};return n=function(){return e.removeEventListener(t,i)},e.addEventListener(t,i,{once:!0}),n}(e,"blur",(function(){return t.push(_(e,"disabled","disabled"))}))):t.push(_(e,"disabled","disabled")),"input"===n||"textarea"===n?(t.push(function(e,t,r){return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}}(e,"click",S)),t.push(_(e,"readonly","readonly"))):"select"===n&&t.push.apply(t,(0,a.default)([].map.call(e.querySelectorAll("option"),(function(e){return _(e,"disabled","disabled")}))))}return function(){return t.forEach((function(e){return e&&e()}))}}function E(e,t,r){!1===r?e.removeAttribute(t):e.setAttribute(t,r)}function C(e,t,r){var n=function(e,t){return e.hasAttribute(t)&&e.getAttribute(t)}(e,t);return E(e,t,r),function(){return E(e,t,n)}}function O(e,t){if(e.length){if(!e.some((function(e){return t="ac-pushButton",!(e.className||"").split(" ").includes(t);var t}))){var r=new Set;e.forEach((function(e){var t=function(e,t){for(var r=e.parentElement;r;){if(t.call(e,r))return r;r=r.parentElement}}(e,(function(e){return"menubar"===e.getAttribute("role")}));t&&r.add(t)}));var n=[];return r.forEach((function(r){n.push(C(r,"role",!1)),Array.from(r.querySelectorAll(".ac-pushButton")).forEac
2h((function(r){e.includes(r)?(n.push(C(r,"aria-pressed","true")),n.push(C(r,"role","button")),t&&n.push(function(e,t){if(g(e,t)){var r=new MutationObserver((function(){return g(e,t)}));return r.observe(e,{attributes:!0,attributeFilter:["class"]}),function(){var n=new Set(e.className.split(" "));n.delete(t),e.className=Array.from(n).join(" "),r.disconnect()}}}(r,t))):n.push(C(r,"role",!1))}))})),function(){return n.forEach((function(e){return e()}))}}console.warn('botframework-webchat: Cannot mark selected action in the card, some elements are not an "ac-pushButton".')}}function I(e){return[].filter.call(e.querySelectorAll(["a","body","button","frame","iframe","img","input","isindex","object","select","textarea","[tabindex]"].join(", ")),(function(e){var t=(0,s.getTabIndex)(e);return"number"===typeof t&&t>=0}))}var w=function(e){var t=e.actionPerformedClassName,r=e.adaptiveCard,n=e.disabled,i=e.tapAction,c=b(),d=(0,o.default)(c,1)[0].adaptiveCardRenderer,g=(0,f.default)(),S=(0,o.default)(g,1)[0],E=S.GlobalSettings,C=S.HostConfig,w=(0,l.useState)([]),P=(0,o.default)(w,2),N=P[0],R=P[1],k=(0,p.default)(),x=(0,o.default)(k,1)[0],M=h(),L=(0,o.default)(M,1)[0],j=(0,l.useState)([]),D=(0,o.default)(j,2),U=D[0],B=D[1],F=(0,l.useState)(0),V=(0,o.default)(F,2),z=V[0],H=V[1],G=(0,l.useRef)(-1),q=(0,l.useRef)(),Y=(0,l.useRef)(),W=(0,l.useRef)([]),K=(v(),m()),$=y(),J=T(),X=L||n,Z=(0,l.useCallback)((function(e){var t=e.key,r=e.target,n=e.type,o=Y.current.querySelector('.ac-adaptiveCard[tabindex="0"]');if(!o)return console.warn("botframework-webchat: No Adaptive Card root container can be found; the card is probably on an unsupported Adaptive Card version.");if("keypress"===n){if("Enter"!==t&&" "!==t)return;e.preventDefault()}if(r!==o){var a=(0,s.getTabIndex)(r);if("number"===typeof a&&a>=0)return}K(i),J()}),[Y,K,J,i]),Q=!X&&i?Z:void 0,ee=(0,l.useCallback)((function(e){return!~N.indexOf(e)&&R([].concat((0,a.default)(N),[e]))}),[N,R]),te=(0,l.useCallback)((function(e){if(!X){ee(e);var t=e.getJsonTypeName(),r=e.iconUrl,n=e.title;if("Action.OpenUrl"===t){var i=e.url;K({image:r,title:n,type:"openUrl",value:i})}else if("Action.Submit"===t){var o=e.data;"undefined"!==typeof o&&("string"===typeof o?K({image:r,title:n,type:"imBack",value:o}):o.__isBotFrameworkCardAction?K(o.cardAction):K({image:r,title:n,type:"postBack",value:o})),J()}else console.error("Web Chat: received unknown action from Adaptive Cards"),console.error(e)}}),[ee,X,K,J]);return(0,l.useLayoutEffect)((function(){var e,t=Y.current;t&&r||(G.current=-1,W.current=[]),r.constructor.onProcessMarkdown=function(e,t){$&&(t.outputHtml=$(e),t.didProcess=!0)},x&&(r.hostConfig=(e=x,Object.getPrototypeOf(e)===Object.prototype?new C(x):x)),E.setTabIndexAtCardRoot=!!i;var n,o=r.validateProperties().validationEvents;if(o.length)return B(o.reduce((function(e,t){var r=t.message;return[].concat((0,a.default)(e),[new Error(r)])}),[]));try{n=r.render()}catch(s){return B([s])}return n?(B([]),function(e,t){var r=e.querySelectorAll("input, select, textarea");[].forEach.call(r,(function(e,r){var n=t[r];if("undefined"!==typeof n){var i=e.tagName,o=e.type;"INPUT"!==i||"checkbox"!==o&&"radio"!==o?e.value=n:e.checked=n}}))}(n,W.current),t.appendChild(n),q.current=n,function(e,t){var r=I(e)[t];r&&r.focus()}(n,G.current),H(Date.now()),function(){G.current=function(e){return I(e).indexOf(document.activeElement)}(n),W.current=function(e){var t=e.querySelectorAll("input, select, textarea");return[].map.call(t,(function(e){var t=e.checked,r=e.tagName,n=e.type,i=e.value;return"INPUT"!==r||"checkbox"!==n&&"radio"!==n?i:t}))}(n),t.removeChild(q.current),q.current=void 0}):B([new Error("Adaptive Card rendered as empty element")])}),[r,x,Y,E,C,$,B,i]),(0,l.useEffect)((function(){r.onExecuteAction=X?void 0:te}),[r,X,te]),(0,l.useEffect)((function(){return function(e){var t=[];return t.push.apply(t,(0,a.default)(Array.from(e.querySelectorAll('.ac-actionSet[role="menubar"] [role="button"]')).map((function(e){return _(e,"role","menuitem")})))),function(){return t.forEach((function(e){return e()}))}}(q.current)}),[q,z]),(0,l.useEffect)((function(){if(X)return function e(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[].map.call(t.querySelectorAll("button, input, select, textarea"),(function(e){return A(e)})),i=t.nodeName.toLowerCase();if(("a"===i||"button"===i||"input"===i||"select"===i||"textarea"===i)&&n.push(_(t,"tabindex","-1")),r){var o=new MutationObserver((function(t){return t.forEach((function(t){var r=t.addedNodes;return n.push.apply(n,(0,a.default)([].map.call(r,(function(t){return e(t,!1)}))))}
2))}));o.observe(t,{childList:!0,subtree:!0}),n.push((function(){return o.disconnect()}))}return function(){return n.forEach((function(e){return e&&e()}))}}(q.current)}),[q,X,z]),(0,l.useEffect)((function(){R([])}),[r]),(0,l.useEffect)((function(){return O(N.map((function(e){return e.renderedElement})).filter((function(e){return e})),t)}),[N,t,z]),!U.length&&l.default.createElement("div",{className:(0,u.default)(d+"","webchat__adaptive-card-renderer"),onClick:Q,onKeyPress:Q,ref:Y})};w.defaultProps={actionPerformedClassName:"",disabled:void 0,tapAction:void 0},w.propTypes={actionPerformedClassName:c.default.string,adaptiveCard:c.default.any.isRequired,disabled:c.default.bool,tapAction:c.default.shape({image:c.default.string,title:c.default.string,type:c.default.string.isRequired,value:c.default.string})};var P=w;t.default=P},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SerializableObject=t.property=t.SerializableObjectSchema=t.CustomProperty=t.SerializableObjectCollectionProperty=t.SerializableObjectProperty=t.EnumProperty=t.ValueSetProperty=t.StringArrayProperty=t.PixelSizeProperty=t.NumProperty=t.BoolProperty=t.StringProperty=t.PropertyDefinition=t.BaseSerializationContext=t.isVersionLessOrEqual=t.Versions=t.Version=void 0;var i=r(160),o=r(242),a=r(140),s=r(243),u=function(){function e(e,t,r){void 0===e&&(e=1),void 0===t&&(t=1),this._isValid=!0,this._major=e,this._minor=t,this._label=r}return e.parse=function(t,r){if(t){var n=new e;n._versionString=t;var i=/(\d+).(\d+)/gi.exec(t);return null!=i&&3==i.length?(n._major=parseInt(i[1]),n._minor=parseInt(i[2])):n._isValid=!1,n._isValid||r.logParseEvent(void 0,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.invalidVersionString(n._versionString)),n}},e.prototype.toString=function(){return this._isValid?this._major+"."+this._minor:this._versionString},e.prototype.toJSON=function(){return this.toString()},e.prototype.compareTo=function(e){if(!this.isValid||!e.isValid)throw new Error("Cannot compare invalid version.");return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:0},Object.defineProperty(e.prototype,"label",{get:function(){return this._label?this._label:this.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"major",{get:function(){return this._major},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minor",{get:function(){return this._minor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isValid",{get:function(){return this._isValid},enumerable:!1,configurable:!0}),e}();t.Version=u;var c=function(){function e(){}return e.v1_0=new u(1,0),e.v1_1=new u(1,1),e.v1_2=new u(1,2),e.v1_3=new u(1,3),e.v1_4=new u(1,4),e.latest=e.v1_4,e}();t.Versions=c,t.isVersionLessOrEqual=function(e,t){return!(e instanceof u)||(!(t instanceof u)||t.compareTo(e)>=0)};var l=function(){function e(e){void 0===e&&(e=c.latest),this.targetVersion=e,this._validationEvents=[]}return e.prototype.serializeValue=function(e,t,r,n,o){void 0===n&&(n=void 0),void 0===o&&(o=!1),null===r||void 0===r||r===n?i.GlobalSettings.enableFullJsonRoundTrip&&!o||delete e[t]:e[t]=r},e.prototype.serializeString=function(e,t,r,n){null===r||void 0===r||r===n?delete e[t]:e[t]=r},e.prototype.serializeBool=function(e,t,r,n){null===r||void 0===r||r===n?delete e[t]:e[t]=r},e.prototype.serializeNumber=function(e,t,r,n){null===r||void 0===r||r===n||isNaN(r)?delete e[t]:e[t]=r},e.prototype.serializeEnum=function(e,t,r,n,i){void 0===i&&(i=void 0);var o=t[r],a=void 0==o||void 0!==e[o];n==i||void 0==n?a&&delete t[r]:t[r]=e[n]},e.prototype.serializeArray=function(e,t,r){var n=[];if(r)for(var i=0,o=r;i<o.length;i++){var a=o[i],s=void 0;void 0!==(s=a instanceof E?a.toJSON(this):a.toJSON?a.toJSON():a)&&n.push(s)}0==n.length?e.hasOwnProperty(t)&&Array.isArray(e[t])&&delete e[t]:this.serializeValue(e,t,n)}
2,e.prototype.clearEvents=function(){this._validationEvents=[]},e.prototype.logEvent=function(e,t,r,n){this._validationEvents.push({source:e,phase:t,event:r,message:n})},e.prototype.logParseEvent=function(e,t,r){this.logEvent(e,a.ValidationPhase.Parse,t,r)},e.prototype.getEventAt=function(e){return this._validationEvents[e]},Object.defineProperty(e.prototype,"eventCount",{get:function(){return this._validationEvents.length},enumerable:!1,configurable:!0}),e}();t.BaseSerializationContext=l;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(l),f=function(){function e(t,r,n,i){this.targetVersion=t,this.name=r,this.defaultValue=n,this.onGetInitialValue=i,this.isSerializationEnabled=!0,this.sequentialNumber=e._sequentialNumber,e._sequentialNumber++}return e.prototype.getInternalName=function(){return this.name},e.prototype.parse=function(e,t,r){return t[this.name]},e.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r,this.defaultValue)},e._sequentialNumber=0,e}();t.PropertyDefinition=f;var d=function(e){function t(t,r,n,i,o,a){void 0===n&&(n=!0);var s=e.call(this,t,r,o,a)||this;return s.targetVersion=t,s.name=r,s.treatEmptyAsUndefined=n,s.regEx=i,s.defaultValue=o,s.onGetInitialValue=a,s}return n(t,e),t.prototype.parse=function(e,t,r){var n=o.parseString(t[this.name],this.defaultValue);if(!(void 0===n||""===n&&this.treatEmptyAsUndefined)&&void 0!==this.regEx&&!this.regEx.exec(n))return void r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.invalidPropertyValue(n,this.name));return n},t.prototype.toJSON=function(e,t,r,n){n.serializeString(t,this.name,""===r&&this.treatEmptyAsUndefined?void 0:r,this.defaultValue)},t}(f);t.StringProperty=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.parse=function(e,t,r){return o.parseBool(t[this.name],this.defaultValue)},t.prototype.toJSON=function(e,t,r,n){n.serializeBool(t,this.name,r,this.defaultValue)},t}(f);t.BoolProperty=h;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.parse=function(e,t,r){return o.parseNumber(t[this.name],this.defaultValue)},t.prototype.toJSON=function(e,t,r,n){n.serializeNumber(t,this.name,r,this.defaultValue)},t}(f);t.NumProperty=v;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.parse=function(e,t,r){var n=void 0,o=t[this.name];if("string"===typeof o){var u=!1;try{var c=i.SizeAndUnit.parse(o,!0);c.unit==a.SizeUnit.Pixel&&(n=c.physicalSize,u=!0)}catch(l){}u||r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.invalidPropertyValue(t[this.name],"minHeight"))}return n},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,"number"!==typeof r||isNaN(r)?void 0:r+"px")},t}(f);t.PixelSizeProperty=m;var y=function(e){function t(t,r,n,i){var o=e.call(this,t,r,n,i)||this;return o.targetVersion=t,o.name=r,o.defaultValue=n,o.onGetInitialValue=i,o}return n(t,e),t.prototype.parse=function(e,t,r){var n=t[this.name];if(void 0===n||!Array.isArray(n))return this.defaultValue;for(var i=[],o=0,s=n;o<s.length;o++){var u=s[o];"string"===typeof u?i.push(u):r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,'Invalid array value "'+u+'" of type "'+typeof u+'" ignored for "'+this.name+'".')}return i},t.prototype.toJSON=function(e,t,r,n){n.serializeArray(t,this.name,r)},t}(f);t.StringArrayProperty=y;var T=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,i,o)||this;return a.targetVersion=t,a.name=r,a.values=n,a.defaultValue=i,a.onGetInitialValue=o,a}return n(t,e),t.prototype.isValidValue=function(e,t){for(var r=0,n=this.values;r<n.length;r++){var i=n[r];if(e.toLowerCase()===i.value.toLowerCase())return(i.targetVersion?i.targetVersion:this.targetVersion).compareTo(t.targetVersion)<=0}return!1},t.prototype.parse=function(e,t,r){var n=t[this.name];if(void 0===n)return this.defaultValue;if("string"===typeof n)for(var i=0,o=this.values;i<o.length;i++){var u=o[i];if(n.toLowerCase()===u.value.toLowerCase()){var c=u.targetVersion?u.targetVersion:this.targetVersion;return c.compareTo(r.targetVersion)<=0?u.value:(r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,
2s.Strings.errors.propertyValueNotSupported(n,this.name,c.toString(),r.targetVersion.toString())),this.defaultValue)}}return r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.invalidPropertyValue(n,this.name)),this.defaultValue},t.prototype.toJSON=function(e,t,r,n){for(var i=!1,o=0,u=this.values;o<u.length;o++){var c=u[o];if(c.value===r){var l=c.targetVersion?c.targetVersion:this.targetVersion;if(l.compareTo(n.targetVersion)<=0){i=!0;break}n.logEvent(e,a.ValidationPhase.ToJSON,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.propertyValueNotSupported(r,this.name,l.toString(),n.targetVersion.toString()))}}i&&n.serializeValue(t,this.name,r,this.defaultValue)},t}(f);t.ValueSetProperty=T;var b=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t,r,i,a)||this;if(s.targetVersion=t,s.name=r,s.enumType=n,s.defaultValue=i,s.onGetInitialValue=a,s._values=[],o)s._values=o;else for(var u in n){var c=parseInt(u,10);c>=0&&s._values.push({value:c})}return s}return n(t,e),t.prototype.parse=function(e,t,r){var n=t[this.name];if("string"!==typeof n)return this.defaultValue;var i=o.getEnumValueByName(this.enumType,n);if(void 0!==i)for(var u=0,c=this.values;u<c.length;u++){var l=c[u];if(l.value===i){var p=l.targetVersion?l.targetVersion:this.targetVersion;return p.compareTo(r.targetVersion)<=0?i:(r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.propertyValueNotSupported(n,this.name,p.toString(),r.targetVersion.toString())),this.defaultValue)}}return r.logParseEvent(e,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.invalidPropertyValue(n,this.name)),this.defaultValue},t.prototype.toJSON=function(e,t,r,n){if(void 0!==r){for(var i=!1,o=0,u=this.values;o<u.length;o++){var c=u[o];if(c.value===r){if((c.targetVersion?c.targetVersion:this.targetVersion).compareTo(n.targetVersion)<=0){i=!0;break}n.logEvent(e,a.ValidationPhase.ToJSON,a.ValidationEvent.InvalidPropertyValue,s.Strings.errors.invalidPropertyValue(r,this.name))}}i&&n.serializeEnum(this.enumType,t,this.name,r,this.defaultValue)}},Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!1,configurable:!0}),t}(f);t.EnumProperty=b;var g=function(e){function t(t,r,n,i,o){void 0===i&&(i=!1);var a=e.call(this,t,r,o,(function(e){return a.nullable?void 0:new a.objectType}))||this;return a.targetVersion=t,a.name=r,a.objectType=n,a.nullable=i,a}return n(t,e),t.prototype.parse=function(e,t,r){var n=t[this.name];if(void 0===n)return this.onGetInitialValue?this.onGetInitialValue(e):this.defaultValue;var i=new this.objectType;return i.parse(n,r),i},t.prototype.toJSON=function(e,t,r,n){var i=void 0;void 0===r||r.hasAllDefaultValues()||(i=r.toJSON(n)),"object"===typeof i&&0===Object.keys(i).length&&(i=void 0),n.serializeValue(t,this.name,i,this.defaultValue,!0)},t}(f);t.SerializableObjectProperty=g;var _=function(e){function t(t,r,n,i){var o=e.call(this,t,r,void 0,(function(e){return[]}))||this;return o.targetVersion=t,o.name=r,o.objectType=n,o.onItemAdded=i,o}return n(t,e),t.prototype.parse=function(e,t,r){var n=[],i=t[this.name];if(Array.isArray(i))for(var o=0,a=i;o<a.length;o++){var s=a[o],u=new this.objectType;u.parse(s,r),n.push(u),this.onItemAdded&&this.onItemAdded(e,u)}return n.length>0?n:this.onGetInitialValue?this.onGetInitialValue(e):void 0},t.prototype.toJSON=function(e,t,r,n){n.serializeArray(t,this.name,r)},t}(f);t.SerializableObjectCollectionProperty=_;var S=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t,r,o,a)||this;if(s.targetVersion=t,s.name=r,s.onParse=n,s.onToJSON=i,s.defaultValue=o,s.onGetInitialValue=a,!s.onParse)throw new Error("CustomPropertyDefinition instances must have an onParse handler.");if(!s.onToJSON)throw new Error("CustomPropertyDefinition instances must have an onToJSON handler.");return s}return n(t,e),t.prototype.parse=function(e,t,r){return this.onParse(e,this,t,r)},t.prototype.toJSON=function(e,t,r,n){this.onToJSON(e,this,t,r,n)},t}(f);t.CustomProperty=S;var A=function(){function e(){this._properties=[]}return e.prototype.indexOf=function(e){for(var t=0;t<this._properties.length;t++)if(this._properties[t]===e)return t;return-1},e.prototype.add=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0;r<e.length;r++)-1===this.indexOf(e[r])&&this._properties.push(e[r])},e.prototype.remove=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++)for(var i=n[r];;){var o=this.indexOf(i);if(!(o>=0))break;this._properties.splice(o,1)}},e.prototype.getItemAt=function(e){return this._properties[e]},e.prototype.getCount=function(){return this._properties.length},e}();t.SerializableObjectSchema=A,t.property=function(e){return function(t,r){var n=Object.getOwnPropertyDescriptor(t,r)||{};
2n.get||n.set||(n.get=function(){return this.getValue(e)},n.set=function(t){this.setValue(e,t)},Object.defineProperty(t,r,n))}};var E=function(){function e(){this._propertyBag={},this._rawProperties={},this.maxVersion=e.defaultMaxVersion;for(var t=this.getSchema(),r=0;r<t.getCount();r++){var n=t.getItemAt(r);n.onGetInitialValue&&this.setValue(n,n.onGetInitialValue(this))}}return e.prototype.getDefaultSerializationContext=function(){return new p},e.prototype.populateSchema=function(t){var r=this.constructor,n=[];for(var i in r)try{var o=r[i];o instanceof f&&n.push(o)}catch(s){}if(n.length>0){var a=n.sort((function(e,t){return e.sequentialNumber>t.sequentialNumber?1:e.sequentialNumber<t.sequentialNumber?-1:0}));t.add.apply(t,a)}e.onRegisterCustomProperties&&e.onRegisterCustomProperties(this,t)},e.prototype.getValue=function(e){return this._propertyBag.hasOwnProperty(e.getInternalName())?this._propertyBag[e.getInternalName()]:e.defaultValue},e.prototype.setValue=function(e,t){void 0===t||null===t?delete this._propertyBag[e.getInternalName()]:this._propertyBag[e.getInternalName()]=t},e.prototype.internalParse=function(e,t){if(this._propertyBag={},this._rawProperties=i.GlobalSettings.enableFullJsonRoundTrip&&e||{},e)for(var r=this.getSchema(),n=0;n<r.getCount();n++){var o=r.getItemAt(n);if(o.isSerializationEnabled){var u=o.onGetInitialValue?o.onGetInitialValue(this):void 0;e.hasOwnProperty(o.name)&&(o.targetVersion.compareTo(t.targetVersion)<=0?u=o.parse(this,e,t):t.logParseEvent(this,a.ValidationEvent.UnsupportedProperty,s.Strings.errors.propertyNotSupported(o.name,o.targetVersion.toString(),t.targetVersion.toString()))),this.setValue(o,u)}}else this.resetDefaultValues()},e.prototype.internalToJSON=function(e,t){for(var r=this.getSchema(),n=[],i=0;i<r.getCount();i++){var o=r.getItemAt(i);o.isSerializationEnabled&&o.targetVersion.compareTo(t.targetVersion)<=0&&-1===n.indexOf(o.name)&&(o.toJSON(this,e,this.getValue(o),t),n.push(o.name))}},e.prototype.shouldSerialize=function(e){return!0},e.prototype.parse=function(e,t){this.internalParse(e,t||new p)},e.prototype.toJSON=function(e){var t;if(e&&e instanceof l?t=e:(t=this.getDefaultSerializationContext()).toJSONOriginalParam=e,this.shouldSerialize(t)){var r=void 0;return r=i.GlobalSettings.enableFullJsonRoundTrip&&this._rawProperties&&"object"===typeof this._rawProperties?this._rawProperties:{},this.internalToJSON(r,t),r}},e.prototype.hasDefaultValue=function(e){return this.getValue(e)===e.defaultValue},e.prototype.hasAllDefaultValues=function(){for(var e=this.getSchema(),t=0;t<e.getCount();t++){var r=e.getItemAt(t);if(!this.hasDefaultValue(r))return!1}return!0},e.prototype.resetDefaultValues=function(){for(var e=this.getSchema(),t=0;t<e.getCount();t++){var r=e.getItemAt(t);this.setValue(r,r.defaultValue)}},e.prototype.setCustomProperty=function(e,t){"string"===typeof t&&!t||void 0===t||null===t?delete this._rawProperties[e]:this._rawProperties[e]=t},e.prototype.getCustomProperty=function(e){return this._rawProperties[e]},e.prototype.getSchema=function(){var t=e._schemaCache[this.getSchemaKey()];return t||(t=new A,this.populateSchema(t),e._schemaCache[this.getSchemaKey()]=t),t},e.defaultMaxVersion=c.v1_3,e._schemaCache={},e}();t.SerializableObject=E},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PushAudioOutputStreamImpl=t.PushAudioOutputStream=t.PullAudioOutputStreamImpl=t.PullAudioOutputStream=t.AudioOutputStream=void 0;var a=r(16),s=r(27),u=r(332),c=function(){function e(){}return e.createPullStream=function(){return l.create()},e}();t.AudioOutputStream=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.create=function(){return new p},t}(c);t.PullAudioOutputStream=l;var p=function(e){function t(){var t=e.call(this)||this;return t.privId=a.createNoDashGuid(),t.privStream=new a.Stream,t}return n(t,e),Object.defineProperty(t.prototype,"format",{get:function(){return this.privFormat},set:function(e){void 0!==e&&null!==e||(this.privFormat=u.AudioOutputFormatImpl.getDefaultOutputFormat()),this.privFormat=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClosed",{get:function(){return this.privStream.isClosed},enumerable:!1,configurable:!0}),t.prototype.id=function(){return this.privId},t.prototype.read=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i;return o(this,(function(o){switch(o.label){case 0:if(t=new Int8Array(e),r=0,void 0!==this.privLastChunkView){if(this.privLastChunkView.length>e.byteLength)return t.set(this.privLastChunkView.slice(0,e.byteLength)),this.privLastChunkView=this.privLastChunkView.slice(e.byteLength),[2,Promise.resolve(e.byteLength)];t.set(this.privLastChunkView),r=this.privLastChunkView.length,this.privLastChunkView=void 0}o.label=1;case 1:return r<e.byteLength&&!this.privStream.isReadEnded?[4,this.privStream.read()]:[3,6];case 2:return void 0===(n=o.sent())||n.isEnd?[3,3]:(i=void 0,n.buffer.byteLength>e.byteLength-r?(i=n.buffer.slice(0,e.byteLength-r),this.privLastChunkView=new Int8Array(n.buffer.slice(e.byteLength-r))):i=n.buffer,t.set(new Int8Array(i),r),r+=i.byteLength,[3,5]);case 3:return[4,this.privStream.readEnded()];case 4:o.sent(),o.label=5;case 5:return[3,1];case 6:return[2,r]}}))}))},t.prototype.write=function(e){s.Contracts.throwIfNullOrUndefined(this.privStream,"must set format before writing"),this.privStream.writeStreamChunk({buffer:e,isEnd:!1,timeReceived:Date.now()})},t.prototype.close=function(){this.privStream.close()},t}(l);t.PullAudioOutputStreamImpl=p;var f=function(e){function t(){return e.call(this)||this}return n(t,e),t.create=function(e){return new d(e)},t}(c);t.PushAudioOutputStream=f;var d=function(e){function t(t){var r=e.call(this)||this;return r.privId=a.createNoDashGuid(),r.privCallback=t,r}return n(t,e),Object.defineProperty(t.prototype,"format",{set:function(e){},enumerable:!1,configurable:!0}),t.prototype.write=function(e){this.privCallback.write&&this.privCallback.write(e)},t.prototype.close=function(){this.privCallback.close&&this.privCallback.close()},t.prototype.id=function(){return this.privId},t}(f);t.PushAudioOutputStreamImpl=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionFactoryBase=void 0;var n=r(17),i=r(12),o=r(197),a=function(){function e(){}return e.prototype.setCommonUrlParams=function(e,t,r){this.setUrlParameter(i.PropertyId.SpeechServiceConnection_EnableAudioLogging,o.QueryParameterNames.EnableAudioLogging,e,t,r),this.setUrlParameter(i.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,o.QueryParameterNames.EnableWordLevelTimestamps,e,t,r),this.setUrlParameter(i.PropertyId.SpeechServiceResponse_ProfanityOption,o.QueryParameterNames.Profanity,e,t,r),this.setUrlParameter(i.PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs,o.QueryParameterNames.InitialSilenceTimeoutMs,e,t,r),this.setUrlParameter(i.PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs,o.QueryParameterNames.EndSilenceTimeoutMs,e,t,r),this.setUrlParameter(i.PropertyId.SpeechServiceResponse_StableParti
2alResultThreshold,o.QueryParameterNames.StableIntermediateThreshold,e,t,r);var a=JSON.parse(e.parameters.getProperty(n.ServicePropertiesPropertyName,"{}"));Object.keys(a).forEach((function(e,r,n){t[e]=a[e]}))},e.prototype.setUrlParameter=function(e,t,r,n,i){var o=r.parameters.getProperty(e,void 0);!o||i&&-1!==i.search(t)||(n[t]=o.toLocaleLowerCase())},e}();t.ConnectionFactoryBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueryParameterNames=void 0;var n=function(){function e(){}return e.BotId="botid",e.CustomSpeechDeploymentId="cid",e.CustomVoiceDeploymentId="deploymentId",e.EnableAudioLogging="storeAudio",e.EnableLanguageId="lidEnabled",e.EnableWordLevelTimestamps="wordLevelTimestamps",e.EndSilenceTimeoutMs="endSilenceTimeoutMs",e.Format="format",e.InitialSilenceTimeoutMs="initialSilenceTimeoutMs",e.Language="language",e.Profanity="profanity",e.RequestBotStatusMessages="enableBotMessageStatus",e.StableIntermediateThreshold="stableIntermediateThreshold",e.StableTranslation="stableTranslation",e.TestHooks="testhooks",e}();t.QueryParameterNames=n},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y})),r.d(t,"d",(function(){return T})),r.d(t,"b",(function(){return g})),r.d(t,"c",(function(){return _}));var n=r(3),i=r.n(n),o=r(6),a=r(7),s=r(1),u=r(2),c=r(104),l=r(517),p=r(212),f=r(1974),d=r(96),h=r(65),v=r(14),m=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},y=function(){function e(){Object(s.a)(this,e)}return Object(u.a)(e,null,[{key:"createPushStream",value:function(e){return T.create(e)}},{key:"createPullStream",value:function(e,t){return g.create(e,t)}}]),e}(),T=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){return Object(s.a)(this,r),t.apply(this,arguments)}return Object(u.a)(r,null,[{key:"create",value:function(e){return new b(e)}}]),r}(y),b=function(t){Object(o.a)(n,t);var r=Object(a.a)(n);function n(e){var t;return Object(s.a)(this,n),(t=r.call(this)).onEvent=function(e){t.privEvents.onEvent(e),l.a.instance.onEvent(e)},t.privFormat=void 0===e?v.c.getDefaultInputFormat():e,t.privEvents=new p.a,t.privId=Object(h.b)(),t.privStream=new f.a(t.privFormat.avgBytesPerSec/10),t}return Object(u.a)(n,[{key:"format",get:function(){return Promise.resolve(this.privFormat)}},{key:"write",value:function(e){this.privStream.writeStreamChunk({buffer:e,isEnd:!1,timeReceived:Date.now()})}},{key:"close",value:function(){this.privStream.close()}},{key:"id",value:function(){return this.privId}},{key:"blob",get:function(){var t=this;return this.attach("id").then((function(r){var n=[],i=e.from("");return function o(){return r.read().then((function(r){return!r||r.isEnd?"undefined"!==typeof XMLHttpRequest&&"undefined"!==typeof Blob?Promise.resolve(new Blob(n)):Promise.resolve(e.from(i)):("undefined"!==typeof Blob?n.push(r.buffer):i=e.concat([i,t.toBuffer(r.buffer)]),o())}))}()}))}},{key:"turnOn",value:function(){this.onEvent(new d.b(this.privId)),this.onEvent(new d.d(this.privId))}},{key:"attach",value:function(e){return m(this,void 0,void 0,i.a.mark((function t(){var r,n=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.onEvent(new d.f(this.privId,e)),t.next=3,this.turnOn();case 3:return r=this.privStream,this.onEvent(new d.e(this.privId,e)),t.abrupt("return",{detach:function(){return m(n,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.readEnded(),this.onEvent(new d.g(this.privId,e)),t.abrupt("return",this.turnOff());case 3:case"end":return t.stop()}}),t,this)})))},id:function(){return e},read:function(){return r.read()}});case 6:case"end":return t.stop()}}),t,this)})))}},{key:"detach",value:function(e){this.onEvent(new d.g(this.privId,e))}},{key:"turnOff",value:function(){}},{key:"events",get:function(){return this.privEvents}},{key:"deviceInfo",get:function(){return Promise.resolve({bitspersample:this.privFormat.bitsPerSample,channelcount:this.privFormat.channels,connectivity:c.f.Unknown,manufacturer:"Speech SDK",model:"PushStream",samplerate:this.privFormat.samplesPerSec,type:c.g.Stream})}},{key:"toBuffer",value:function(t){for(var r=e.alloc(t.byteLength),n=new Uint8Array(t),i=0;i<r.length;++i)r[i]=n[i];return r}}]),n}(T),g=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){return Object(s.a)(this,r),t.call(this)}return Object(u.a)(r,null,[{key:"create",value:function(e,t){return new _(e,t)}}]),r}(y),_=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,n){var i;return Object(s.a)(this,r),(i=t.call(this)).onEvent=function(e){i.privEvents.onEvent(e),l.a.instance.onEvent(e)},i.privFormat=void 0===n?v.b.getDefaultInputFormat():n,i.privEvents=new p.a,i.privId=Object(h.b)(),i.privCallback=e,i.privIsClosed=!1,i.privBufferSize=i.privFormat.avgBytesPerSec/10,i}return Object(u.a)(r,[{key:"format",get:function(){return Promise.resolve(this.privFormat)}},{key:"close",value:function(){this.privIsClosed=!0,this.privCallback.close()}},{key:"id",value:function(){return this.privId}},{key:"blob",get:function(){return Promise.reject("Not implemented")}},{key:"turnOn",value:function(){this.onEvent(new d.b(this.privId)
2),this.onEvent(new d.d(this.privId))}},{key:"attach",value:function(e){return m(this,void 0,void 0,i.a.mark((function t(){var r=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.onEvent(new d.f(this.privId,e)),t.next=3,this.turnOn();case 3:return this.onEvent(new d.e(this.privId,e)),t.abrupt("return",{detach:function(){return r.privCallback.close(),r.onEvent(new d.g(r.privId,e)),r.turnOff()},id:function(){return e},read:function(){for(var e,t=0;t<r.privBufferSize;){var n=new ArrayBuffer(r.privBufferSize-t),i=r.privCallback.read(n);if(void 0===e)e=n;else new Int8Array(e).set(new Int8Array(n),t);if(0===i)break;t+=i}return Promise.resolve({buffer:e.slice(0,t),isEnd:r.privIsClosed||0===t,timeReceived:Date.now()})}});case 5:case"end":return t.stop()}}),t,this)})))}},{key:"detach",value:function(e){this.onEvent(new d.g(this.privId,e))}},{key:"turnOff",value:function(){}},{key:"events",get:function(){return this.privEvents}},{key:"deviceInfo",get:function(){return Promise.resolve({bitspersample:this.privFormat.bitsPerSample,channelcount:this.privFormat.channels,connectivity:c.f.Unknown,manufacturer:"Speech SDK",model:"PullStream",samplerate:this.privFormat.samplesPerSec,type:c.g.Stream})}}]),r}(g)}).call(this,r(157).Buffer)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(250);function i(e,t){if(e){if("string"===typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o,a,s){var u;return Object(n.a)(this,r),(u=t.call(this,a,s)).privReason=e,u.privErrorDetails=i,u.privErrorCode=o,u}return Object(i.a)(r,[{key:"reason",get:function(){return this.privReason}},{key:"errorCode",get:function(){return this.privErrorCode}},{key:"errorDetails",get:function(){return this.privErrorDetails}}]),r}(r(208).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privResult=t}return Object(i.a)(e,[{key:"result",get:function(){return this.privResult}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r,i,o,a){Object(n.a)(this,e),this.privResultId=t,this.privReason=r,this.privAudioData=i,this.privErrorDetails=o,this.privProperties=a}return Object(i.a)(e,[{key:"resultId",get:function(){return this.privResultId}},{key:"reason",get:function(){return this.privReason}},{key:"audioData",get:function(){return this.privAudioData}},{key:"errorDetails",get:function(){return this.privErrorDetails}},{key:"properties",get:function(){return this.privProperties}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var n,i=r(1),o=r(2);!function(e){e.WordBoundary="WordBoundary",e.Bookmark="Bookmark",e.Viseme="Viseme"}(n||(n={}));var a=function(){function e(t){Object(i.a)(this,e),this.privSynthesisAudioMetadata=JSON.parse(t)}return Object(o.a)(e,[{key:"Metadata",get:function(){return this.privSynthesisAudioMetadata.Metadata}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,i)).privOffset=e,o}return Object(i.a)(r,[{key:"offset",get:function(){return this.privOffset}}]),r}(r(345).a)},function(e,t,r){e.exports=r(826)},function(e,t,r){e.exports=r(1858)},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(1978),u=r(46),c=r(26),l=r(2
212),p=function e(){Object(o.a)(this,e)};p.workerTimers=null,p.clearTimeout=function(e){return p.timers().clearTimeout(e)},p.setTimeout=function(e,t){return p.timers().setTimeout(e,t)},p.load=function(e){var t=new Map([[0,function(){}]]),r=new Map,n=new Worker(e);n.addEventListener("message",(function(e){var n=e.data;if(p.isCallNotification(n)){var i=n.params.timerId,o=t.get(i);if("number"===typeof o){var a=r.get(o);if(void 0===a||a!==i)throw new Error("The timer is in an undefined state.")}else{if("undefined"===typeof o)throw new Error("The timer is in an undefined state.");o(),t.delete(i)}}else{if(!p.isClearResponse(n)){var s=n.error.message;throw new Error(s)}var u=n.id,c=r.get(u);if(void 0===c)throw new Error("The timer is in an undefined state.");r.delete(u),t.delete(c)}}));return{clearTimeout:function(e){var i=Math.random();r.set(i,e),t.set(e,i),n.postMessage({id:i,method:"clear",params:{timerId:e}})},setTimeout:function(e,r){var i=Math.random();return t.set(i,e),n.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:i}}),i}}},p.loadWorkerTimers=function(){return function(){if(null!==p.workerTimers)return p.workerTimers;var e=new Blob(['!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return d}));const r=new Map,o=new Map,i=e=>{const t=r.get(e);if(void 0===t)throw new Error(\'There is no interval scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(t),r.delete(e)},u=e=>{const t=o.get(e);if(void 0===t)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(t),o.delete(e)},f=(e,t)=>{let n,r;if("performance"in self){const o=performance.now();n=o,r=e-Math.max(0,o-t)}else n=Date.now(),r=e;return{expected:n+r,remainingDelay:r}},c=(e,t,n,r)=>{const o="performance"in self?performance.now():Date.now();o>n?postMessage({id:null,method:"call",params:{timerId:t}}):e.set(t,setTimeout(c,n-o,e,t,n))},a=(e,t,n)=>{const{expected:o,remainingDelay:i}=f(e,n);r.set(t,setTimeout(c,i,r,t,o))},d=(e,t,n)=>{const{expected:r,remainingDelay:i}=f(e,n);o.set(t,setTimeout(c,i,o,t,r))}},function(e,t,n){"use strict";n.r(t);var r=n(2);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var i=n(3);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n(4);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);var f=n(5);for(var o in f)"default"!==o&&function(e){n.d(t,e,(function(){return f[e]}))}(o);var c=n(6);for(var o in c)"default"!==o&&function(e){n.d(t,e,(function(){return c[e]}))}(o);var a=n(7);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);var d=n(8);for(var o in d)"default"!==o&&function(e){n.d(t,e,(function(){return d[e]}))}(o);var s=n(9);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(11);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var i=n(12);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n(13);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o)},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var u=n(10);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);addEventListener("message",({data:e})=>{try{if("clear"===e.method){const{id:t,params:{timerId:n}}=e;Object(r.b)(n),postMessage({error:null,id:t})}else{if("set"!==e.method)throw new Error(\'The given method "\'.concat(e.method,\'" is not supported\'));{const{params:{delay:t,now:n,timerId:o}}=e;Object(r.d)(t,o,n)}}}catch(t){postMessage({error:{message:t.message},id:e.id,result:null})}})}]);'],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return(p.workerTimers=p.load(t)).setTimeout((function(){return URL.revokeObjectURL(t)}),0),p.workerTimers}},p.timers=p.loadWorkerTimers(),p.isCallNotification=function(e){return void 0!==e.method&&"call"===e.method},p.isClearResponse=function(e){return null===e.error&&"number"===typeof e.id};var f=r(1975),d=r(885),h=r(65),v=r(148),m=r(76),y=r(9),T=r(345),b=r(208),g=r(863),_=r(800),S=r(801),A=r(493),E=r(104),C=r(802),O=r(45);r.d(t,"a",(function(){return w}));var I=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},w=function(){function e(t,r,n,a,s){var f=this;if(Object(o.a)(this,e),this.privSetTimeout=setTimeout,this.privIsLiveAudio=!1,this.recognizeOverride=void 0,this.disconnectOverride=void 0,this.receiveMessageOverride=void 0,this.sendSpeechContext=function(e){var t=f.
2speechContext.toJSON();if(t)return e.send(new O.a(u.b.Text,"speech.context",f.privRequestSession.requestId,"application/json",t))},this.sendPrePayloadJSONOverride=void 0,this.postConnectImplOverride=void 0,this.configConnectionOverride=void 0,this.sendSpeechServiceConfig=function(t,r,n){if(!0!==e.telemetryDataEnabled){var i={context:{system:JSON.parse(n).context.system}};n=JSON.stringify(i)}if("true"===f.privRecognizerConfig.parameters.getProperty("TranscriptionService_SingleChannel","false").toLowerCase()){var o=JSON.parse(n);o.context.DisableReferenceChannel="True",o.context.MicSpec="1_0_0",n=JSON.stringify(o)}if(n)return t.send(new O.a(u.b.Text,"speech.config",r.requestId,"application/json",n))},!t)throw new c.a("authentication");if(!r)throw new c.a("connectionFactory");if(!n)throw new c.a("audioSource");if(!a)throw new c.a("recognizerConfig");this.privMustReportEndOfStream=!1,this.privAuthentication=t,this.privConnectionFactory=r,this.privAudioSource=n,this.privRecognizerConfig=a,this.privIsDisposed=!1,this.privRecognizer=s,this.privRequestSession=new g.a(this.privAudioSource.id()),this.privConnectionEvents=new l.a,this.privServiceEvents=new l.a,this.privDynamicGrammar=new _.a,this.privSpeechContext=new S.a(this.privDynamicGrammar),this.privAgentConfig=new A.a,"undefined"!==typeof Blob&&"undefined"!==typeof Worker&&(this.privSetTimeout=p.setTimeout),this.connectionEvents.attach((function(e){return I(f,void 0,void 0,i.a.mark((function t(){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("ConnectionClosedEvent"!==e.name){t.next=5;break}if(!(1003===(r=e).statusCode||1007===r.statusCode||1002===r.statusCode||4e3===r.statusCode||this.privRequestSession.numConnectionAttempts>this.privRecognizerConfig.maxRetryCount)){t.next=5;break}return t.next=5,this.cancelRecognitionLocal(v.a.Error,1007===r.statusCode?m.a.BadRequestParameters:m.a.ConnectionFailure,r.reason+" websocket error code: "+r.statusCode);case 5:case"end":return t.stop()}}),t,this)})))}))}return Object(a.a)(e,[{key:"audioSource",get:function(){return this.privAudioSource}},{key:"speechContext",get:function(){return this.privSpeechContext}},{key:"dynamicGrammar",get:function(){return this.privDynamicGrammar}},{key:"agentConfig",get:function(){return this.privAgentConfig}},{key:"conversationTranslatorToken",set:function(e){this.privRecognizerConfig.parameters.setProperty(y.a.ConversationTranslator_Token,e)}},{key:"authentication",set:function(e){this.privAuthentication=this.authentication}},{key:"isDisposed",value:function(){return this.privIsDisposed}},{key:"dispose",value:function(e){return I(this,void 0,void 0,i.a.mark((function t(){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.privIsDisposed=!0,!this.privConnectionConfigurationPromise){t.next=13;break}return t.prev=2,t.next=5,this.privConnectionConfigurationPromise;case 5:return r=t.sent,t.next=8,r.dispose(e);case 8:t.next=13;break;case 10:return t.prev=10,t.t0=t.catch(2),t.abrupt("return");case 13:case"end":return t.stop()}}),t,this,[[2,10]])})))}},{key:"connectionEvents",get:function(){return this.privConnectionEvents}},{key:"serviceEvents",get:function(){return this.privServiceEvents}},{key:"recognitionMode",get:function(){return this.privRecognizerConfig.recognitionMode}},{key:"recognize",value:function(e,t,r){return I(this,void 0,void 0,i.a.mark((function n(){var o,a,u,c,l,p,f=this;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(void 0===this.recognizeOverride){n.next=2;break}return n.abrupt("return",this.recognizeOverride(e,t,r));case 2:return this.privConnectionConfigurationPromise=null,this.privRecognizerConfig.recognitionMode=e,this.privSuccessCallback=t,this.privErrorCallback=r,this.privRequestSession.startNewRecognition(),this.privRequestSession.listenForServiceTelemetry(this.privAudioSource.events),o=this.connectImpl(),n.prev=9,n.next=12,this.audioSource.attach(this.privRequestSession.audioNodeId);case 12:return u=n.sent,n.next=15,this.audioSource.format;case 15:return c=n.sent,n.next=18,this.audioSource.deviceInfo;case 18:return l=n.sent,this.privIsLiveAudio=l.type&&l.type===E.g.Microphones,a=new s.a(u,c.avgBytesPerSec),n.next=23,this.privRequestSession.onAudioSourceAttachCompleted(a,!1);case 23:this.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:l},n.next=31;break;case 26:return n.prev=26,n.t0=n.catch(9),n.next=30,this.privRequestSession.onStopRecognizing(
2);case 30:throw n.t0;case 31:return n.prev=31,n.next=34,o;case 34:n.next=41;break;case 36:return n.prev=36,n.t1=n.catch(31),n.next=40,this.cancelRecognitionLocal(v.a.Error,m.a.ConnectionFailure,n.t1);case 40:return n.abrupt("return");case 41:return p=new T.a(this.privRequestSession.sessionId),this.privRecognizer.sessionStarted&&this.privRecognizer.sessionStarted(this.privRecognizer,p),this.receiveMessage(),this.sendAudio(a).catch((function(e){return I(f,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.cancelRecognitionLocal(v.a.Error,m.a.RuntimeError,e);case 2:case"end":return t.stop()}}),t,this)})))})),n.abrupt("return");case 47:case"end":return n.stop()}}),n,this,[[9,26],[31,36]])})))}},{key:"stopRecognizing",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privRequestSession.isRecognizing){e.next=14;break}return e.prev=1,e.next=4,this.audioSource.turnOff();case 4:return e.next=6,this.sendFinalAudio();case 6:return e.next=8,this.privRequestSession.onStopRecognizing(
2);case 8:return e.next=10,this.privRequestSession.turnCompletionPromise;case 10:return e.prev=10,e.next=13,this.privRequestSession.dispose();case 13:return e.finish(10);case 14:return e.abrupt("return");case 15:case"end":return e.stop()}}),e,this,[[1,,10,14]])})))}},{key:"connect",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.connectImpl();case 2:return e.abrupt("return",Promise.resolve());case 3:case"end":return e.stop()}}),e,this)})))}},{key:"connectAsync",value:function(e,t){this.connectImpl().then((function(r){try{e&&e()}catch(n){t&&t(n)}}),(function(e){try{t&&t(e)}catch(r){}}))}},{key:"disconnect",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.cancelRecognitionLocal(v.a.Error,m.a.NoError,"Disconnecting");case 2:if(void 0===this.disconnectOverride){e.next=5;break}return e.next=5,this.disconnectOverride();case 5:return e.prev=5,e.next=8,this.privConnectionPromise;case 8:return e.next=10,e.sent.dispose();case 10:e.next=14;break;case 12:e.prev=12,e.t0=e.catch(5);case 14:this.privConnectionPromise=null;case 15:case"end":return e.stop()}}),e,this,[[5,12]])})))}},{key:"sendMessage",value:function(e){}},{key:"sendNetworkMessage",value:function(e,t){return I(this,void 0,void 0,i.a.mark((function r(){var n,o,a;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n="string"===typeof t?u.b.Text:u.b.Binary,o="string"===typeof t?"application/json":"",r.next=4,this.fetchConnection();case 4:return a=r.sent,r.abrupt("return",a.send(new O.a(n,e,this.privRequestSession.requestId,o,t)));case 6:case"end":return r.stop()}}),r,this)})))}},{key:"activityTemplate",get:function(){return this.privActivityTemplate},set:function(e){this.privActivityTemplate=e}},{key:"sendTelemetryData",value:function(){return I(this,void 0,void 0,i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.privRequestSession.getTelemetry(),!0===e.telemetryDataEnabled&&!this.privIsDisposed&&null!==r){t.next=3;break}return t.abrupt("return");case 3:if(e.telemetryData)try{e.telemetryData(r)}catch(i){}return t.next=6,this.fetchConnection();case 6:return n=t.sent,t.next=9,n.send(new O.a(u.b.Text,"telemetry",this.privRequestSession.requestId,"application/json",r));case 9:case"end":return t.stop()}}),t,this)})))}},{key:"cancelRecognitionLocal",value:function(e,t,r){return I(this,void 0,void 0,i.a.mark((function n(){return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.privRequestSession.isRecognizing){n.next=4;break}
2return n.next=3,this.privRequestSession.onStopRecognizing();case 3:this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,e,t,r);case 4:case"end":return n.stop()}}),n,this)})))}},{key:"receiveMessage",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){var t,r,n,o,a,s,u,c,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!this.privIsDisposed){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,this.fetchConnection();case 5:return t=e.sent,e.next=8,t.read();case 8:if(r=e.sent,void 0===this.receiveMessageOverride){e.next=11;break}return e.abrupt("return",this.receiveMessageOverride());case 11:if(r){e.next=17;break}if(this.privRequestSession.isRecognizing){e.next=16;break}return e.abrupt("return");case 16:return e.abrupt("return",this.receiveMessage());case 17:if(this.privServiceHasSentMessage=!0,(n=O.a.fromConnectionMessage(r)).requestId.toLowerCase()!==this.privRequestSession.requestId.toLowerCase()){e.next=60;break}e.t0=n.path.toLowerCase(),e.next="turn.start"===e.t0?23:"speech.startdetected"===e.t0?26:"speech.enddetected"===e.t0?30:"turn.end"===e.t0?36:56;break;case 23:return this.privMustReportEndOfStream=!0,this.privRequestSession.onServiceTurnStartResponse(),e.abrupt("break",60);case 26:return o=C.a.fromJSON(n.textBody),a=new b.a(o.Offset,this.privRequestSession.sessionId),this.privRecognizer.speechStartDetected&&this.privRecognizer.speechStartDetected(this.privRecognizer,a),e.abrupt("break",60);case 30:return s=n.textBody.length>0?n.textBody:"{ Offset: 0 }",u=C.a.fromJSON(s),this.privRecognizerConfig.isContinuousRecognition&&this.privRequestSession.onServiceRecognized(u.Offset+this.privRequestSession.currentTurnAudioOffset),c=new b.a(u.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privRecognizer.speechEndDetected&&this.privRecognizer.speechEndDetected(this.privRecognizer,c),e.abrupt("break",60);case 36:return e.next=38,this.sendTelemetryData();case 38:if(!this.privRequestSession.isSpeechEnded||!this.privMustReportEndOfStream){e.next=42;break}return this.privMustReportEndOfStream=!1,e.next=42,this.cancelRecognitionLocal(v.a.EndOfStream,m.a.NoError,void 0);case 42:return l=new T.a(this.privRequestSession.sessionId),e.next=45,this.privRequestSession.onServiceTurnEndResponse(this.privRecognizerConfig.isContinuousRecognition);case 45:if(this.privRecognizerConfig.isContinuousRecognition&&!this.privRequestSession.isSpeechEnded&&this.privRequestSession.isRecognizing){e.next=50;break}return this.privRecognizer.sessionStopped&&this.privRecognizer.sessionStopped(this.privRecognizer,l),e.abrupt("return");case 50:return e.next=52,this.fetchConnection();case 52:return t=e.sent,e.next=55,this.sendPrePayloadJSON(t);case 55:return e.abrupt("break",60);case 56:return e.next=58,this.processTypeSpecificMessages(n);case 58:if(e.sent){e.next=60;break}this.privServiceEvents&&this.serviceEvents.onEvent(new f.h(n.path.toLowerCase(),n.textBody));case 60:return e.abrupt("return",this.receiveMessage());case 63:return e.prev=63,e.t1=e.catch(0),e.abrupt("return",null);case 66:case"end":return e.stop()}}),e,this,[[0,63]])})))}},{key:"sendPrePayloadJSON",value:function(e){return I(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this.sendPrePayloadJSONOverride){t.next=2;break}return t.abrupt("return",this.sendPrePayloadJSONOverride(e));case 2:return t.next=4,this.sendSpeechContext(e);case 4:return t.next=6,this.sendWaveHeader(e);case 6:return t.abrupt("return");case 7:case"end":return t.stop()}}),t,this)})))}},{key:"sendWaveHeader",value:function(e){return I(this,void 0,void 0,i.a.mark((function t(){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.audioSource.format;case 2:return r=t.sent,t.abrupt("return",e.send(new O.a(u.b.Binary,"audio",this.privRequestSession.requestId,"audio/x-wav",r.header)));case 4:case"end":return t.stop()}}),t,this)})))}},{key:"connectImpl",value:function(){var e=this;return this.privConnectionPromise?this.privConnectionPromise.then((function(t){return t.state()===d.a.Disconnected?(e.privConnectionId=null,e.privConnectionPromise=null,e.privServiceHasSentMessage=!1,e.connectImpl()):e.privConnectionPromise}),(function(t){return e.privConnectionId=null,e.privConnectionPromise=null,e.privServiceHasSentMessage=!1,e.connectImpl()})):(this.privConnectionPromise=this.retryableConnect(),this.privConnectionPromise.catch((function(){})),void 0!==this.postConnectImplOverride?this.postConnectImplOverride(this.privConnectionPromise):this.privConnectionPromise)}},{key:"fetchConnection",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){var t=this;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privConnectionConfigurationPromise){e.next=2;break}return e.abrupt("return",this.privConnectionConfigurationPromise.then((function(e){return e.state()===d.a.Disconnected?(t.privConnectionId=null,t.privConnectionConfigurationPromise=null,t.privServiceHasSentMessage=!1,t.fetchConnection()):t.privConnectionConfigurationPromise}),(function(e){return t.privConnectionId=null,t.privConnectionConfigurationPromise=null,t.privServiceHasSentMessage=!1,t.fetchConnection()})));case 2:return this.privConnectionConfigurationPromise=this.configureConnection(),e.next=5,this.privConnectionConfigurationPromise;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"sendAudio",value:function(e){return I(this,void 0,void 0,i.a.mark((function t(){var r,n,o,a,s,c,l=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.audioSource.format;case 2:return r=t.sent,n=Date.now(),o=this.privRecognizerConfig.parameters.getProperty("SPEECH-TransmitLengthBeforThrottleMs","5000"),a=r.avgBytesPerSec/1e3*parseInt(o,10),s=this.privRequestSession.recogNumber,c=function t(){return I(l,void 0,void 0,i.a.mark((function o(){var c,l,p,f,d=this;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(this.privIsDisposed||this.privRequestSession.isSpeechEnded||!this.privRequestSession.isRecognizing||this.privRequestSession.recogNumber!==s){i.next=21;break}return i.next=3,this.fetchConnection();case 3:return c=i.sent,i.next=6,e.read();case 6:if(l=i.sent,!this.privRequestSession.isSpeechEnded){i.next=9;break}return i.abrupt("return");case 9:if(!l||l.isEnd?(p=null,f=0):(p=l.buffer,this.privRequestSession.onAudioSent(p.byteLength),f=a>=this.privRequestSession.bytesSent?0:Math.max(0,n-Date.now())),0===f){i.next=13;break}return i.next=13,this.delay(f);
2case 13:if(null!==p&&(n=Date.now()+1e3*p.byteLength/(2*r.avgBytesPerSec)),this.privIsDisposed||this.privRequestSession.isSpeechEnded||!this.privRequestSession.isRecognizing||this.privRequestSession.recogNumber!==s){i.next=21;break}if(c.send(new O.a(u.b.Binary,"audio",this.privRequestSession.requestId,null,p)).catch((function(){d.privRequestSession.onServiceTurnEndResponse(d.privRecognizerConfig.isContinuousRecognition).catch((function(){}))})),null===l||void 0===l?void 0:l.isEnd){i.next=20;break}return i.abrupt("return",t());case 20:this.privIsLiveAudio||this.privRequestSession.onSpeechEnded();case 21:case"end":return i.stop()}}),o,this)})))},t.abrupt("return",c());case 9:case"end":return t.stop()}}),t,this)})))}},{key:"retryableConnect",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){var t,r,n,o,a,s,u,c,l=this;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=!1,this.privAuthFetchEventId=Object(h.b)(),r=this.privRequestSession.sessionId,this.privConnectionId=void 0!==r?r:Object(h.b)(),this.privRequestSession.onPreConnectionStart(this.privAuthFetchEventId,this.privConnectionId),n=0,o="";case 7:if(!(this.privRequestSession.numConnectionAttempts<=this.privRecognizerConfig.maxRetryCount)){e.next=32;break}return a=t?this.privAuthentication.fetchOnExpiry(this.privAuthFetchEventId):this.privAuthentication.fetch(this.privAuthFetchEventId),e.next=11,a;case 11:return s=e.sent,e.next=14,this.privRequestSession.onAuthCompleted(!1);case 14:return u=this.privConnectionFactory.create(this.privRecognizerConfig,s,this.privConnectionId),this.privRequestSession.listenForServiceTelemetry(u.events),u.events.attach((function(e){l.connectionEvents.onEvent(e)})),e.next=19,u.open();case 19:if(200!==(c=e.sent).statusCode){e.next=26;break}return e.next=23,this.privRequestSession.onConnectionEstablishCompleted(c.statusCode);case 23:return e.abrupt("return",Promise.resolve(u));case 26:1006===c.statusCode&&(t=!0);case 27:n=c.statusCode,o=c.reason,this.privRequestSession.onRetryConnection(),e.next=7;break;case 32:return e.next=34,this.privRequestSession.onConnectionEstablishCompleted(n,o);case 34:return e.abrupt("return",Promise.reject("Unable to contact server. StatusCode: ".concat(n,", ").concat(this.privRecognizerConfig.parameters.getProperty(y.a.SpeechServiceConnection_Endpoint)," Reason: ").concat(o)));case 35:case"end":return e.stop()}}),e,this)})))}},{key:"delay",value:function(e){var t=this;return new Promise((function(r,n){t.privSetTimeout(r,e)}))}},{key:"writeBufferToConsole",value:function(e){var t="Buffer Size: ";if(null===e)t+="null";else{var r=new Uint8Array(e);t+=e.byteLength+"\r\n";for(var n=0;n<e.byteLength;n++)t+=r[n].toString(16).padStart(2,"0")+" "}console.info(t)}},{key:"sendFinalAudio",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchConnection();case 2:return t=e.sent,e.next=5,t.send(new O.a(u.b.Binary,"audio",this.privRequestSession.requestId,null,null));case 5:return e.abrupt("return");case 6:case"end":return e.stop()}}),e,this)})))}},{key:"configureConnection",value:function(){return I(this,void 0,void 0,i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.connectImpl();case 2:if(t=e.sent,void 0===this.configConnectionOverride){e.next=5;break}return e.abrupt("return",this.configConnectionOverride(t));case 5:return e.next=7,this.sendSpeechServiceConfig(t,this.privRequestSession,this.privRecognizerConfig.SpeechServiceConfig.serialize());case 7:return e.next=9,this.sendPrePayloadJSON(t);case 9:return e.abrupt("return",t);case 10:case"end":return e.stop()}}),e,this)})))}}]),e}();w.telemetryDataEnabled=!0},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(26),a=r(65),s=function(){function e(t){var r=this;Object(n.a)(this,e),this.privEventListeners={},this.privIsDisposed=!1,this.onEvent=function(e){if(r.isDisposed())throw new o.c("EventSource");if(r.metadata)for(var t in r.metadata)t&&e.metadata&&(e.metadata[t]||(e.metadata[t]=r.metadata[t]));for(var n in r.privEventListeners)n&&r.privEventListeners[n]&&r.privEventListeners[n](e)},this.attach=function(e){var t=Object(a.b)();return r.privEventListeners[t]=e,{detach:function(){return delete r.privEventListeners[t],Promise.resolve()}}},this.attachListener=function(e){return r.attach(e.onEvent)},this.isDisposed=function(){return r.privIsDisposed},this.dispose=function(){r.privEventListeners=null,r.privIsDisposed=!0},this.privMetadata=t}return Object(i.a)(e,[{key:"metadata",get:function(){return this.privMetadata}}]),e}()},function(e,t){},function(e,t,r){e.exports=r(1861)},function(e,t,r){e.exports=r(1907)},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=e.id;return{type:"WEB_CHAT/MARK_ACTIVITY",payload:{activityID:n,name:t,value:r}}},t.MARK_ACTIVITY=void 0;t.MARK_ACTIVITY="WEB_CHAT/MARK_ACTIVITY"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_SEND_BOX",payload:{text:e}}},t.SET_SEND_BOX=void 0;t.SET_SEND_BOX="WEB_CHAT/SET_SEND_BOX"},function(e,t,r){var n=r(532),i=r(374);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(948).charAt,i=r(276),o=r(132),a=r(377),s=o.set,u=o.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:i(e),index:0})}),(function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(952),i=r(381);e.exports=function(e){return n(i(e))}},function(e,t){e.exports=!1},function(e,t){e.exports={}},function(e,t,r){var n,i,o,a=r(958),s=r(57),u=r(135),c=r(121),l=r(110),p=r(382),f=r(391),d=r(389),h=s.WeakMap;if(a||p.state){var v=p.state||(p.state=new h),m=v.get,y=v.has,T=v.set;n=function(e,t){if(y.call(v,e))throw new TypeError("Object already initialized");return t.facade=e,T.call(v,e,t),t},i=function(e){return m.call(v,e)||{}},o=function(e){return y.call(v,e)}}else{var b=f("state");d[b]=!0,n=function(e,t){if(l(e,b))throw new TypeError("Object already initialized");return t.facade=e,c(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},o=function(e){return l(e,b)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var n=r(99),i=r(968),o=r(559),a=r(571),s=r(572),u=r(969),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var l,p,f,d,h,v,m,y=r&&r.that,T=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),g=!(!r||!r.INTERRUPTED),_=a(t,y,1+T+g),S=function(e){return l&&u(l),new c(!0,e)},A=function(e){return T?(n(e),g?_(e[0],e[1],S):_(e[0],e[1])):g?_(e,S):_(e)};if(b)l=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(i(p)){for(f=0,d=o(e.length);d>f;f++)if((h=A(e[f]))&&h instanceof c)return h;return new c(!1)}l=p.call(e)}for(v=l.next;!(m=v.call(l)).done;){try{h=A(m.value)}catch(E){throw u(l),E}if("object"==typeof h&&h&&h instanceof c)return h}return new c(!1)}},function(e,t,r){"use strict";var n=r(156),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";var n=r(286),i=r(587),o=r(586),a=r(399),s=r(287),u=r(987),c=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var r=this._parent,c=this._parents,p=this._unsubscribe,f=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,h=c?c.length:0;r;)r.remove(this),r=++d<h&&c[d]||null;if(o.isFunction(p))a.tryCatch(p).call(this)===s.errorObject&&(t=!0,e=e||(s.errorObject.e instanceof u.UnsubscriptionError?l(s.errorObject.e.errors):[s.errorObject.e]));if(n.isArray(f))for(d=-1,h=f.length;++d<h;){var v=f[d];if(i.isObject(v))if(a.tryCatch(v.unsubscribe).call(v)===s.errorObject){t=!0,e=e||[];var m=s.errorObject.e;m instanceof u.UnsubscriptionError?e=e.concat(l(m.errors)):e.push(m)}}if(t)throw new u.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var r=t;switch(typeof t){case"function":r=new e(t);case"object":if(r.closed||"function"!==typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if("function"!==typeof r._addParent){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.prototype._addParent=function(e){var t=this._parent,r=this._parents;t&&t!==e?r?-1===r.indexOf(e)&&r.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function l(e){return e.reduce((function(e,t){return e.concat(t instanceof u.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=c},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)().language,r=(0,n.default)();if("speech"===e)return[r.SPEECH_LANGUAGE||t];return[t]};var n=o(r(618)),i=o(r(21));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){var n,i;!function(o,a){"use strict";void 0===(i="function"===typeof(n=function(){var e=function(e,t){return e=e.replace(/{[0-9a-zA-Z-_. ]+}/g,(function(e){return e=e.replace(/^{([^}]*)}$/,"$1"),"string"===typeof(r=t[e])?r:"number"===typeof r?""+r:JSON.stringify(r);var r}))},t=function(t,r,n){var i;return r=t+(r?": "+e(r,n):""),(i=new Error(r)).code=t,function(){var e=arguments[0],t=[].slice.call(arguments,1);t.forEach((function(t){var r;for(r in t)e[r]=t[r]}))}(i,n),i},r=function(e,t,r){e.length&&e[e.length-1].type===t?e[e.length-1].value+=r:e.push({type:t,value:r})},n=function(e,r,n,i){if(!n)throw t(e,r,i)},i=function(e,t){n("E_MISSING_PARAMETER","Missing required parameter `{name}`.",void 0!==e,{name:t})},o=function(e,t,r,i){n("E_INVALID_PAR_TYPE","Invalid `{name}` parameter ({value}). {expected} expected.",r,{expected:i,name:t,value:e})},a=function(e,t){o(e,t,void 0===e||"string"===typeof e,"a string")};function s(e){if(!(this instanceof s))return new s(e);i(e,"locale"),a(e,"locale"),this._locale=e}return s.locale=function(e){return a(e,"locale"),arguments.length&&(this._locale=e),this._locale},s._createError=t,s._formatMessage=e,s._formatMessageToParts=function(e,t){var n=0,i=[];return e.replace(/{[0-9a-zA-Z-_. ]+}/g,(function(o,a){var s=o.slice(1,-1);r(i,"literal",e.slice(n,a)),r(i,"variable",t[s]),i[i.length-1].name=s,n+=a+o.length})),i.filter((function(e){return""!==e.value}))},s._partsJoin=function(e){return e.map((function(e){return e.value})).join("")},s._partsPush=r,s._regexpEscape=function(e){return e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")},s._runtimeKey=function(e,t,r,n){var i;return n=n||function(e){return JSON.stringify(e,(function(e,t){return t&&t.runtimeKey?t.runtimeKey:t}))}(r),(i=function(e){return[].reduce.call(e,(function(e,t){return 0|(e=(e<<5)-e+t.charCodeAt(0))}),0)}(e+t+n))>0?"a"+i:"b"+Math.abs(i)},s._stringPad=function(e,t,r){var n;"string"!==typeof e&&(e=String(e));for(n=e.length;n<t;n+=1)e=r?e+"0":"0"+e;return e},s._validateParameterPresence=i,s._validateParameterTypeString=a,s._validateParameterType=o,s})?n.call(t,r,t,e):n)||(e.exports=i)}()},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=!1},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){e.exports={}},function(e,t,r){var n=r(267);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(43),i=r(53),o=r(269),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(454)),o=n(r(455)),a=n(r(88)),s=r(744);function u(e,t){var r,n=e.type;return"imBack"===n||"messageBack"===n||"postBack"===n||"signin"===n&&t?((r=new s.SubmitAction).data={__isBotFrameworkCardAction:!0,cardAction:e},r.title=e.title):((r=new s.OpenUrlAction).title=e.title,r.url="call"===e.type?"tel:".concat(e.value):e.value),r}var c=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr";(0,i.default)(this,e),(0,a.default)(this,"card",void 0),(0,a.default)(this,"container",void 0),(0,a.default)(this,"styleOptions",void 0),this.card=new t.AdaptiveCard,this.container=new s.Container,this.container.rtl="rtl"===n,this.styleOptions=r,this.card.addItem(this.container)}return(0,o.default)(e,[{key:"addColumnSet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.container,r=arguments.length>2?arguments[2]:void 0,n=new s.ColumnSet;return n.selectAction=r&&u(r),t.addItem(n),e.map((function(e){var t=new s.Column;return t.width=new s.SizeAndUnit(e,s.SizeUnit.Weight),n.addColumn(t),t}))}},{key:"addItems",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.container;e.forEach((function(e){return t.addItem(e)}))}},{key:"addTextBlock",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.container;if("undefined"!==typeof e){var n=new s.TextBlock;for(var i in t)n[i]=t[i];n.text=e,r.addItem(n)}}},{key:"addButtons",value:function(e,t){var r=this;e&&e.forEach((function(e){r.card.addAction(u(e,t))}))}},{key:"addCommonHeaders",value:function(e){var t=this.styleOptions.richCardWrapTitle;this.addTextBlock(e.title,{color:s.TextColor.Default,size:s.TextSize.Medium,weight:s.TextWeight.Bolder,wrap:t}
2),this.addTextBlock(e.subtitle,{color:s.TextColor.Default,isSubtle:!0,wrap:t}),this.addTextBlock(e.text,{color:s.TextColor.Default,wrap:!0})}},{key:"addCommon",value:function(e){this.addCommonHeaders(e),this.addButtons(e.buttons)}},{key:"addImage",value:function(e,t,r,n){t=t||this.container;var i=new s.Image;i.altText=n,i.url=e,i.selectAction=r&&u(r),i.size=s.Size.Stretch,t.addItem(i)}}]),e}();t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearElementChildren=t.getFitStatus=t.truncate=t.stringToCssColor=t.renderSeparation=t.parseEnum=t.getEnumValueByName=t.parseBool=t.parseNumber=t.parseString=t.appendChild=t.generateUniqueId=t.isMobileOS=t.isInternetExplorer=void 0;var n=r(140),i=r(160);function o(e,t){for(var r in e){var n=parseInt(r,10);if(n>=0){var i=e[r];if(i&&"string"===typeof i&&i.toLowerCase()===t.toLowerCase())return n}}}function a(e){if(e){var t=/#([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?/gi.exec(e);if(t&&t[4]){var r=parseInt(t[1],16)/255;return"rgba("+parseInt(t[2],16)+","+parseInt(t[3],16)+","+parseInt(t[4],16)+","+r+")"}}return e}function s(e,t){for(t+=1;t<e.length&&"<"==e[t];)for(;t<e.length&&">"!=e[t++];);return t}t.isInternetExplorer=function(){return void 0!==window.document.documentMode},t.isMobileOS=function(){var e=window.navigator.userAgent;return!!e.match(/Android/i)||!!e.match(/iPad/i)||!!e.match(/iPhone/i)},t.generateUniqueId=function(){return"__ac-"+i.UUID.generate()},t.appendChild=function(e,t){t&&e.appendChild(t)},t.parseString=function(e,t){return"string"===typeof e?e:t},t.parseNumber=function(e,t){return"number"===typeof e?e:t},t.parseBool=function(e,t){if("boolean"===typeof e)return e;if("string"===typeof e)switch(e.toLowerCase()){case"true":return!0;case"false":return!1;default:return t}return t},t.getEnumValueByName=o,t.parseEnum=function(e,t,r){if(!t)return r;var n=o(e,t);return void 0!==n?n:r},t.renderSeparation=function(e,t,r){if(t.spacing>0||t.lineThickness&&t.lineThickness>0){var i=document.createElement("div");i.className=e.makeCssClassName("ac-"+(r==n.Orientation.Horizontal?"horizontal":"vertical")+"-separator"),i.setAttribute("aria-hidden","true");var o=t.lineColor?a(t.lineColor):"";return r==n.Orientation.Horizontal?t.lineThickness?(i.style.paddingTop=t.spacing/2+"px",i.style.marginBottom=t.spacing/2+"px",i.style.borderBottom=t.lineThickness+"px solid "+o):i.style.height=t.spacing+"px":t.lineThickness?(i.style.paddingLeft=t.spacing/2+"px",i.style.marginRight=t.spacing/2+"px",i.style.borderRight=t.lineThickness+"px solid "+o):i.style.width=t.spacing+"px",i.style.overflow="hidden",i.style.flex="0 0 auto",i}},t.stringToCssColor=a,t.truncate=function(e,t,r){var n=function(){return t-e.scrollHeight>=-1};if(!n()){for(var i=e.innerHTML,o=function(t){e.innerHTML=i.substring(0,t)+"..."},a=function(e){var t=[],r=s(e,-1);for(;r<e.length;)" "==e[r]&&t.push(r),r=s(e,r);return t}(i),u=0,c=a.length,l=0;u<c;){var p=Math.floor((u+c)/2);o(a[p]),n()?(l=a[p],u=p+1):c=p}if(o(l),r&&t-e.scrollHeight>=r-1){for(var f=s(i,l);f<i.length&&(o(f),n());)l=f,f=s(i,f);o(l)}}},t.getFitStatus=function(e,t){var r=e.offsetTop;return r+e.clientHeight<=t?n.ContainerFitStatus.FullyInContainer:r<t?n.ContainerFitStatus.Overflowing:n.ContainerFitStatus.FullyOutOfContainer},t.clearElementChildren=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Strings=void 0;var n=function(){function e(){}return e.errors={unknownElementType:function(e){return'Unknown element type "'+e+'". Fallback will be used if present.'},unknownActionType:function(e){return'Unknown action type "'+e+'". Fallback will be used if present.'},elementTypeNotAllowed:function(e){return'Element type "'+e+'" is not allowed in this context.'},actionTypeNotAllowed:function(e){return'Action type "'+e+'" is not allowed in this context.'},invalidPropertyValue:function(e,t){return'Invalid value "'+e+'" for property "'+t+'".'},showCardMustHaveCard:function(){return'"An Action.ShowCard must have its "card" property set to a valid AdaptiveCard object.'},invalidColumnWidth:function(e){return'Invalid column width "'+e+'" - defaulting to "auto".'},invalidCardVersion:function(e){return'Invalid card version. Defaulting to "'+e+'".'},invalidVersionString:function(e){return'Invalid version string "'+e+'".'},propertyValueNotSupported:function(e,t,r,n){return'Value "'+e+'" for property "'+t+'" is supported in version '+r+", but you are using version "+n+"."},propertyNotSupported:function(e,t,r){return'Property "'+e+'" is supported in version '+t+", but you are using version "+r+"."},indexOutOfRange:function(e){return"Index out of range ("+e+")."},elementCannotBeUsedAsInline:function(){return"RichTextBlock.addInline: the specified card element cannot be used as a RichTextBlock inline."},inlineAlreadyParented:function(){return"RichTextBlock.addInline: the specified inline already belongs to another RichTextBlock."},interactivityNotAllowed:function(){return"Interactivity is not allowed."},inputsMustHaveUniqueId:function(){return"All inputs must have a unique Id."},choiceSetMustHaveAtLeastOneChoice:function(){return"An Input.ChoiceSet must have at least one choice defined."},choiceSetChoicesMustHaveTitleAndValue:function(){return"All choices in an Input.ChoiceSet must have their title and value properties set."},propertyMustBeSet:function(e){return'Property "'+e+'" must be set.'},actionHttpHeadersMustHaveNameAndValue:function(){return"All headers of an Action.Http must have their name and value properties set."},tooManyActions:function(e){return"Maximum number of actions exceeded ("+e+")."},columnAlreadyBelongsToAnotherSet:function(){return"This column already belongs to another ColumnSet."},invalidCardType:function(){return'Invalid or missing card type. Make sure the card\'s type property is set to "AdaptiveCard".'},unsupportedCardVersion:function(e,t){return"The specified card version ("+e+") is not supported. The maximum supported card version is "+t+"."},duplicateId:function(e){return'Duplicate Id "'+e+'".'},markdownProcessingNotEnabled:function(){return"Markdown processing isn't enabled. Please see https://www.npmjs.com/package/adaptivecards#supporting-markdown"},processMarkdownEventRemoved:function(){return"The processMarkdown event has been removed. Please update your co
2de and set onProcessMarkdown instead."},elementAlreadyParented:function(){return"The element already belongs to another container."},actionAlreadyParented:function(){return"The action already belongs to another element."},elementTypeNotStandalone:function(e){return"Elements of type "+e+" cannot be used as standalone elements."}},e.magicCodeInputCard={tryAgain:function(){return"That didn't work... let's try again."},pleaseLogin:function(){return'Please login in the popup. You will obtain a magic code. Paste that code below and select "Submit"'},enterMagicCode:function(){return"Enter magic code"},pleaseEnterMagicCodeYouReceived:function(){return"Please enter the magic code you received."},submit:function(){return"Submit"},cancel:function(){return"Cancel"},somethingWentWrong:function(){return"Something went wrong. This action can't be handled."},authenticationFailed:function(){return"Authentication failed."}},e.runtime={automaticRefreshPaused:function(){return"Automatic refresh paused."},clckToRestartAutomaticRefresh:function(){return"Click to restart."},refreshThisCard:function(){return"Refresh this card"}},e.hints={dontUseWeightedAndStrecthedColumnsInSameSet:function(){return"It is not recommended to use weighted and stretched columns in the same ColumnSet, because in such a situation stretched columns will always get the minimum amount of space."}},e.defaults={inlineActionTitle:function(){return"Inline Action"},mediaPlayerAriaLabel:function(){return"Media content"},mediaPlayerPlayMedia:function(){return"Play media"}},e}();t.Strings=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformEvent=t.EventType=void 0;var n=r(162);!function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(t.EventType||(t.EventType={}));var i=function(){function e(e,t){this.privName=e,this.privEventId=n.createNoDashGuid(),this.privEventTime=(new Date).toISOString(),this.privEventType=t,this.privMetadata={}}return Object.defineProperty(e.prototype,"name",{get:function(){return this.privName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventId",{get:function(){return this.privEventId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventTime",{get:function(){return this.privEventTime},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventType",{get:function(){return this.privEventType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"metadata",{get:function(){return this.privMetadata},enumerable:!1,configurable:!0}),e}();t.PlatformEvent=i},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},function(e,t,r){var n=r(1946);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t,r){"use strict";var n,i,o=r(117),a=r(60),s=r(64),u=r(480),c=r(198),l=r(144),p=r(145),f=function(e){l(r,e);var t=p(r);function r(e){var n;return a(this,r),(n=t.call(this,e)).type="root",n.nodes||(n.nodes=[]),n}return s(r,[{key:"removeChild",value:function(e,t){var n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),u(c(r.prototype),"removeChild",this).call(this,e)}},{key:"normalize",value:function(e,t,n){var i=u(c(r.prototype),"normalize",this).call(this,e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t){var a,s=o(i);try{for(s.s();!(a=s.n()).done;){a.value.raws.before=t.raws.before}}catch(l){s.e(l)}finally{s.f()}}return i}},{key:"toResult",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new n(new i,this,e);return t.stringify()}}]),r}(r(165));f.registerLazyResult=function(e){n=e},f.registerProcessor=function(e){i=e},e.exports=f,f.default=f},function(e,t,r){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=r(895)},function(e,t,r){e.exports=r(150)},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}
2));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privSpeechHypothesis=JSON.parse(t)}return Object(i.a)(e,[{key:"Text",get:function(){return this.privSpeechHypothesis.Text}},{key:"Offset",get:function(){return this.privSpeechHypothesis.Offset}},{key:"Duration",get:function(){return this.privSpeechHypothesis.Duration}},{key:"Language",get:function(){return void 0===this.privSpeechHypothesis.PrimaryLanguage?void 0:this.privSpeechHypothesis.PrimaryLanguage.Language}},{key:"LanguageDetectionConfidence",get:function(){return void 0===this.privSpeechHypothesis.PrimaryLanguage?void 0:this.privSpeechHypothesis.PrimaryLanguage.Confidence}},{key:"SpeakerId",get:function(){return this.privSpeechHypothesis.SpeakerId}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(39),a=function(){function e(t){Object(n.a)(this,e),this.privSimpleSpeechPhrase=JSON.parse(t),this.privSimpleSpeechPhrase.RecognitionStatus=o.a[this.privSimpleSpeechPhrase.RecognitionStatus]}return Object(i.a)(e,[{key:"RecognitionStatus",get:function(){return this.privSimpleSpeechPhrase.RecognitionStatus}},{key:"DisplayText",get:function(){return this.privSimpleSpeechPhrase.DisplayText}},{key:"Offset",get:function(){return this.privSimpleSpeechPhrase.Offset}},{key:"Duration",get:function(){return this.privSimpleSpeechPhrase.Duration}},{key:"Language",get:function(){return void 0===this.privSimpleSpeechPhrase.PrimaryLanguage?void 0:this.privSimpleSpeechPhrase.PrimaryLanguage.Language}},{key:"LanguageDetectionConfidence",get:function(){return void 0===this.privSimpleSpeechPhrase.PrimaryLanguage?void 0:this.privSimpleSpeechPhrase.PrimaryLanguage.Confidence}},{key:"SpeakerId",get:function(){return this.privSimpleSpeechPhrase.SpeakerId}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.Success=0]="Success",e[e.Error=1]="Error"}(n||(n={}))},function(e,t,r){e.exports=r(1852)},function(e,t,r){e.exports=r(1870)},function(e,t,r){e.exports=r(1916)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(9),a=function(){function e(t,r,i,o){Object(n.a)(this,e),this.privProxyHostName=t,this.privProxyPort=r,this.privProxyUserName=i,this.privProxyPassword=o}return Object(i.a)(e,[{key:"HostName",get:function(){return this.privProxyHostName}},{key:"Port",get:function(){return this.privProxyPort}},{key:"UserName",get:function(){return this.privProxyUserName}},{key:"Password",get:function(){return this.privProxyPassword}}],[{key:"fromParameters",value:function(t){return new e(t.getProperty(o.a.SpeechServiceConnection_ProxyHostName),parseInt(t.getProperty(o.a.SpeechServiceConnection_ProxyPort),10),t.getProperty(o.a.SpeechServiceConnection_ProxyUserName),t.getProperty(o.a.SpeechServiceConnection_ProxyPassword))}},{key:"fromRecognizerConfig",value:function(e){return this.fromParameters(e.parameters)}}]),e}()},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(26),u=r(65),c=r(33),l=r(885),p=r(170),f=r(516),d=r(517),h=r(1977),v=function(){function e(t,r){Object(o.a)(this,e),this.privStatusCode=t,this.privReason=r}return Object(a.a)(e,[{key:"statusCode",get:function(){return this.privStatusCode}},{key:"reason",get:function(){return this.privReason}}]),e}(),m=r(1975),y=r(886),T=r(46),b=r(212),g=r(871),_=r.n(g),S=r(872),A=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},E=function(){function e(t,r,n,i,a,u){var g=this;if(Object(o.a)(this,e),this.open=function(){if(g.privConnectionState===l.a.Disconnected)return Promise.reject("Cannot open a connection that is in ".concat(g.privConnectionState," state"));if(g.privConnectionEstablishDeferral)return g.privConnectionEstablishDeferral.promise;g.privConnectionEstablishDeferral=new p.a,g.privCertificateValidatedDeferral=new p.a,g.privConnectionState=l.a.Connecting;try{if("undefined"===typeof WebSocket||e.forceNpmWebSocket){var t={headers:g.privHeaders,perMessageDeflate:g.privEnableCompression};g.privCertificateValidatedDeferral.resolve();var r=new S.a(g.proxyInfo);t.agent=r.GetAgent(),g.privWebsocketClient=new _.a(g.privUri,t)}else g.privCertificateValidatedDeferral.resolve(),g.privWebsocketClient=new WebSocket(g.privUri);g.privWebsocketClient.binaryType="arraybuffer",g.privReceivingMessageQueue=new f.a,g.privDisconnectDeferral=new p.a,g.privSendMessageQueue=new f.a,g.processSendQueue().catch((function(e){d.a.instance.onEvent(new h.a(e))}))}catch(n){return g.privConnectionEstablishDeferral.resolve(new v(500,n)),g.privConnectionEstablishDeferral.promise}return g.onEvent(new m.g(g.privConnectionId,g.privUri)),g.privWebsocketClient.onopen=function(e){g.privCertificateValidatedDeferral.promise.then((function(){g.privConnectionState=l.a.Connected,g.onEvent(new m.d(g.privConnectionId)),g.privConnectionEstablishDeferral.resolve(new v(200,""))}),(function(e){g.privConnectionEstablishDeferral.reject(e)}))},g.privWebsocketClient.onerror=function(e){g.onEvent(new m.b(g.privConnectionId,e.message,e.type)),g.privLastErrorReceived=e.message},g.privWebsocketClient.onclose=function(e){g.privConnectionState===l.a.Connecting?(g.privConnectionState=l.a.Disconnected,g.privConnectionEstablishDeferral.resolve(new v(e.code,e.reason+" "+g.privLastErrorReceived))):(g.privConnectionState=l.a.Disconnected,g.privWebsocketClient=null,g.onEvent(new m.a(g.privConnectionId,e.code,e.reason))),g.onClose(e.code,e.reason).catch((function(e){d.a.instance.onEvent(new h.a(e))}))},g.privWebsocketClient.onmessage=function(e){var t=(new Date).toISOString();if(g.privConnectionState===l.a.Connected){var r=new p.a;if(g.privReceivingMessageQueue.enqueueFromPromise(r.promise),e.data instanceof ArrayBuffer){var n=new y.a(T.b.Binary,e.data);g.privMessageFormatter.toConnectionMessage(n).then((function(e){g.onEvent(new m.e(g.privConnectionId,t,e)),r.resolve(e)}),(function(e){r.reject("Invalid binary message format. Error: ".concat(e))}))}else{var i=new y.a(T.b.Text,e.data);g.privMessageFormatter.toConnectionMessage(i).then((function(e){g.onEvent(new m.e(g.privConnectionId,t,e)),r.resolve(e)}),(function(e){r.reject("Invalid text message format. Error: ".concat(e))}))}}},g.privConnectionEstablishDeferral.promise},this.send=function(e){if(g.privConnectionState!==l.a.Connected)return Promise.reject("Cannot send on connection that is in ".concat(l.a[g.privConnectionState]," state"));var t=new p.a,r=new p.a;return g.privSendMessageQueue.enqueueFromPromise(r.promise),g.privMessageFormatter.fromConnectionMessage(e).then((function(n){r.resolve({Message:e,RawWebsocketMessage:n,sendStatusDeferral:t})}),(function(e){r.reject("Error formatting the message. ".concat(e))})),t.promise},this.read=function(){return g.privConnectionState!==l.a.Connected?Promise.reject("Cannot read on connection that is in ".concat(g.privConnectionState," state")):g.privReceivingMessageQueue.dequeue()},this.close=function(e){return g.privWebsocketClient?(g.privConnectionState!==l.a.Disconnected&&g.privWebsocketClient.close(1e3,e||"Normal closure by client"),g.privDisconnectDeferral.promise):Promise.resolve()},this.sendRawMessage=function(e){try{return e?(g.onEvent(new m.f(g.privConnectionId,(new Date).toISOString(),e.Message)),g.isWebsocketOpen?(g.privWebsocketClient.send(e.RawWebsocketMessage.payload),Promise.resolve()):Promise.reject("websocket send error: Websocket not ready "+g.privConnectionId+" "+e.Message.id+" "+(new Error).stack)):Promise.resolve()}catch(t){return Promise.reject("websocket send error: ".concat(t))}},this.onEvent=function(e){g.privConnectionEvents.onEvent(e),d.a.instance.onEvent(e)},!t)throw new s.a("uri");if(!n)throw new s.a("messageFormatter");this.proxyInfo=i,this.privConnectionEvents=new b.a,this.privConnectionId=r,this.privMe
2ssageFormatter=n,this.privConnectionState=l.a.None,this.privUri=t,this.privHeaders=a,this.privEnableCompression=u,this.privHeaders[c.a.ConnectionId]=this.privConnectionId,this.privLastErrorReceived=""}return Object(a.a)(e,[{key:"state",get:function(){return this.privConnectionState}},{key:"events",get:function(){return this.privConnectionEvents}},{key:"onClose",value:function(e,t){return A(this,void 0,void 0,i.a.mark((function r(){var n;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n="Connection closed. ".concat(e,": ").concat(t),this.privConnectionState=l.a.Disconnected,this.privDisconnectDeferral.resolve(),r.next=5,this.privReceivingMessageQueue.drainAndDispose((function(e){}),n);case 5:return r.next=7,this.privSendMessageQueue.drainAndDispose((function(e){e.sendStatusDeferral.reject(n)}),n);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"processSendQueue",value:function(){return A(this,void 0,void 0,i.a.mark((function e(){var t,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.privSendMessageQueue.dequeue(),e.next=4,t;case 4:if(r=e.sent){e.next=7;break}return e.abrupt("return");case 7:return e.prev=7,e.next=10,this.sendRawMessage(r);case 10:r.sendStatusDeferral.resolve(),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),r.sendStatusDeferral.reject(e.t0);case 16:e.next=0;break;case 18:case"end":return e.stop()}}),e,this,[[7,13]])})))}},{key:"isWebsocketOpen",get:function(){return this.privWebsocketClient&&this.privWebsocketClient.readyState===this.privWebsocketClient.OPEN}}]),e}();E.forceNpmWebSocket=!1,r.d(t,"a",(function(){return O}));var C=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},O=function(){function e(t,r,n,i,a){var c=this,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],p=arguments.length>6?arguments[6]:void 0;if(Object(o.a)(this,e),this.privIsDisposed=!1,this.isDisposed=function(){return c.privIsDisposed},this.state=function(){return c.privConnectionMessageAdapter.state},this.open=function(){return c.privConnectionMessageAdapter.open()},this.send=function(e){return c.privConnectionMessageAdapter.send(e)},this.read=function(){return c.privConnectionMessageAdapter.read()},!t)throw new s.a("uri");if(!i)throw new s.a("messageFormatter");this.privMessageFormatter=i;var f="",d=0;if(r)for(var h in r)if(h){f+=0===d&&-1===t.indexOf("?")?"?":"&";var v=encodeURIComponent(r[h]);f+="".concat(h,"=").concat(v),d++}if(n)for(var m in n)if(m){f+=0===d&&-1===t.indexOf("?")?"?":"&";var y=encodeURIComponent(n[m]);f+="".concat(m,"=").concat(y),d++}this.privUri=t+f,this.privId=p||Object(u.b)(),this.privConnectionMessageAdapter=new E(this.privUri,this.id,this.privMessageFormatter,a,n,l)}return Object(a.a)(e,[{key:"dispose",value:function(){return C(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privIsDisposed=!0,!this.privConnectionMessageAdapter){e.next=4;break}return e.next=4,this.privConnectionMessageAdapter.close();case 4:case"end":return e.stop()}}),e,this)})))}},{key:"id",get:function(){return this.privId}},{key:"events",get:function(){return this.privConnectionMessageAdapter.events}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WILL_START=t.STOPPING=t.STARTING=t.IDLE=t.DICTATING=void 0;t.IDLE=0;t.WILL_START=1;t.STARTING=2;t.DICTATING=3;t.STOPPING=4},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RECONNECT_REJECTED=t.RECONNECT_PENDING=t.RECONNECT_FULFILLING=t.RECONNECT_FULFILLED=t.RECONNECT=void 0;var n="DIRECT_LINE/RECONNECT";t.RECONNECT=n;var i="".concat(n,"_FULFILLED");t.RECONNECT_FULFILLED=i;var o="".concat(n,"_FULFILLING");t.RECONNECT_FULFILLING=o;var a="".concat(n,"_PENDING");t.RECONNECT_PENDING=a;var s="".concat(n,"_REJECTED");t.RECONNECT_REJECTED=s},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:n}},t.DISCONNECT_FULFILLED=t.DISCONNECT_REJECTED=t.DISCONNECT_PENDING=t.DISCONNECT=void 0;var n="DIRECT_LINE/DISCONNECT";t.DISCONNECT=n;var i="".concat(n,"_PENDING");t.DISCONNECT_PENDING=i;var o="".concat(n,"_REJECTED");t.DISCONNECT_REJECTED=o;var a="".concat(n,"_FULFILLED");t.DISCONNECT_FULFILLED=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_DICTATE_STATE",payload:{dictateState:e}}},t.SET_DICTATE_STATE=void 0;t.SET_DICTATE_STATE="WEB_CHAT/SET_DICTATE_STATE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/STOP_DICTATE"}},t.STOP_DICTATE=void 0;t.STOP_DICTATE="WEB_CHAT/STOP_DICTATE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/STOP_SPEAKING"}},t.STOP_SPEAKING_ACTIVITY=void 0;t.STOP_SPEAKING_ACTIVITY="WEB_CHAT/STOP_SPEAKING"},function(e,t,r){var n=r(72),i=r(266),o=r(177),a=r(107),s=r(268),u=r(91),c=r(529),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t),c)try{return l(e,t)}catch(r){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(929),i=r(367);e.exports=function(e){var t=n(e,"string");return i(t)?t:String(t)}},function(e,t,r){var n,i,o=r(47),a=r(270),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l?i=(n=l.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},function(e,t,r){var n=r(108);e.exports=n("navigator","userAgent")||""},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t,r){var n=r(91),i=r(49),o=r(109),a=r(273),s=r(531),u=a("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=o(e);if(n(t,u))return t[u];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof Object?c:null}},function(e,t,r){var n=r(370),i=r(271),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,r){var n=r(82),i=r(932);
2e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},function(e,t,r){var n=r(181),i=r(369),o=r(180),a=r(53)("iterator");e.exports=function(e){if(void 0!=e)return i(e,a)||i(e,"@@iterator")||o[n(e)]}},function(e,t,r){var n=r(181);e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},function(e,t,r){var n=r(183);e.exports=function(e,t,r){for(var i in t)r&&r.unsafe&&e[i]?e[i]=t[i]:n(e,i,t[i],r);return e}},function(e,t){e.exports=function(e,t,r){if(e instanceof t)return e;throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")}},function(e,t,r){var n=r(43),i=r(49),o=r(181),a=r(108),s=r(376),u=[],c=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=l.exec,f=!l.exec((function(){})),d=function(e){if(!i(e))return!1;try{return c(Object,u,e),!0}catch(t){return!1}};e.exports=!c||n((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return f||!!p.call(l,s(e))}:d},function(e,t,r){"use strict";var n=r(130),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";r(549),r(565),r(967),r(974),r(578),r(976),r(978),r(980),r(982),r(579);var n=r(284),i=r(580);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DirectLineStreaming",{enumerable:!0,get:function(){return h.DirectLineStreaming}}),t.DirectLine=t.ConnectionStatus=void 0;var o=n(r(581)),a=n(r(582)),s=n(r(583)),u=n(r(584));r(985);var c=r(585),l=r(29),p=r(288),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=m(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(590));r(995),r(999),r(1003),r(1006),r(1010),r(1013),r(1016),r(1018),r(1020),r(1023),r(1026),r(1031),r(1035),r(1038),r(1040),r(1047),r(1051),r(1053);var d=n(r(1056)),h=r(1061),v=["contentUrl"];function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(m=function(e){return e?r:t})(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,u.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b;t.ConnectionStatus=b,function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Connecting=1]="Connecting",e[e.Online=2]="Online",e[e.ExpiredToken=3]="ExpiredToken",e[e.FailedToConnect=4]="FailedToConnect",e[e.Ended=5]="Ended"}(b||(t.ConnectionStatus=b={}));var g=function(e,t){var r=function(){throw new Error("not implemented")};return Object.assign((function(r){return e(r).catch((function(e){if(429===e.status){var r=e.xhr.getResponseHeader("Retry-After"),n=Number(r);if(!isNaN(n))return l.Observable.timer(n,t).flatMap((function(r){return l.Observable.throw(e,t)}))}return l.Observable.throw(e,t)}))}),{get:function(e,t){return r()},post:function(e,t,n){return r()},put:function(e,t,n){return r()},patch:function(e,t,n){return r()},delete:function(e,t){return r()},getJSON:function(e,t){return r()}})},_=new Error("expired token"),S=new Error("conversation ended"),A=new Error("failed to connect"),E=function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];"undefined"!==typeof window&&window.botchatDebug&&e&&(t=console).log.a
2pply(t,[e].concat(n))},C=function(){function e(t){(0,a.default)(this,e),(0,u.default)(this,"connectionStatus$",new c.BehaviorSubject(b.Uninitialized)),(0,u.default)(this,"domain","https://directline.botframework.com/v3/directline"),(0,u.default)(this,"watermark",""),(0,u.default)(this,"_botAgent",""),(0,u.default)(this,"timeout",2e4),(0,u.default)(this,"pollingInterval",1e3),this.secret=t.secret,this.token=t.secret||t.token,this.webSocket=(void 0===t.webSocket||t.webSocket)&&"undefined"!==typeof WebSocket&&void 0!==WebSocket,t.conversationStartProperties&&t.conversationStartProperties.locale&&("[object String]"===Object.prototype.toString.call(t.conversationStartProperties.locale)?this.localeOnStartConversation=t.conversationStartProperties.locale:console.warn("DirectLineJS: conversationStartProperties.locale was ignored: the locale name may be a BCP 47 language tag")),t.domain&&(this.domain=t.domain),t.conversationId&&(this.conversationId=t.conversationId),t.watermark&&(this.watermark=t.watermark),t.streamUrl&&(t.token&&t.conversationId?this.streamUrl=t.streamUrl:console.warn("DirectLineJS: streamUrl was ignored: you need to provide a token and a conversationid")),void 0!==t.timeout&&(this.timeout=t.timeout),this.retries=9e5/this.timeout,this._botAgent=this.getBotAgent(t.botAgent),this.services=function(e){var t=e.scheduler||p.async;return{scheduler:t,ajax:g(e.ajax||l.Observable.ajax,t),WebSocket:e.WebSocket||WebSocket,random:e.random||Math.random}}(t);var r=~~t.pollingInterval;r<200?"undefined"!==typeof t.pollingInterval&&console.warn("DirectLineJS: provided pollingInterval (".concat(t.pollingInterval,") is under lower bound (200ms), using default of 1000ms")):this.pollingInterval=r,this.expiredTokenExhaustion=this.setConnectionStatusFallback(b.ExpiredToken,b.FailedToConnect,5),this.activity$=(this.webSocket?this.webSocketActivity$():this.pollingGetActivity$()).share()}return(0,s.default)(e,[{key:"checkConnection",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.connectionStatus$.flatMap((function(t){return t===b.Uninitialized?(e.connectionStatus$.next(b.Connecting),e.token&&e.streamUrl?(e.connectionStatus$.next(b.Online),l.Observable.of(t,e.services.scheduler)):e.startConversation().do((function(t){e.conversationId=t.conversationId,e.token=e.secret||t.token,e.streamUrl=t.streamUrl,e.referenceGrammarId=t.referenceGrammarId,e.secret||e.refreshTokenLoop(),e.connectionStatus$.next(b.Online)}),(function(t){e.connectionStatus$.next(b.FailedToConnect)})).map((function(e){return t}))):l.Observable.of(t,e.services.scheduler)})).filter((function(e){return e!=b.Uninitialized&&e!=b.Connecting})).flatMap((function(t){switch(t){case b.Ended:return l.Observable.throw(S,e.services.scheduler);case b.FailedToConnect:return l.Observable.throw(A,e.services.scheduler);case b.ExpiredToken:default:return l.Observable.of(t,e.services.scheduler)}}));return t?r.take(1):r}},{key:"setConnectionStatusFallback",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;r--;var n=0,i=null;return function(o){return o===e&&i===o&&n>=r?(n=0,t):(n++,i=o,o)}}},{key:"expiredToken",value:function(){var e=this.connectionStatus$.getValue();e!=b.Ended&&e!=b.FailedToConnect&&this.connectionStatus$.next(b.ExpiredToken);var t=this.expiredTokenExhaustion(this.connectionStatus$.getValue());this.connectionStatus$.next(t)}},{key:"startConversation",value:function(){var e=this,t=this.conversationId?"".concat(this.domain,"/conversations/").concat(this.conversationId,"?watermark=").concat(this.watermark):"".concat(this.domain,"/conversations"),r=this.conversationId?"GET":"POST",n=this.conversationId?void 0:{user:{id:this.userIdOnStartConversation},locale:this.localeOnStartConversation};return this.services.ajax({method:r,url:t,body:n,timeout:this.timeout,headers:T({Accept:"application/json","Content-Type":"application/json"},this.commonHeaders())}).map((function(e){return e.response})).retryWhen((function(t){return t.mergeMap((function(t){return t.status>=400&&t.status<600?l.Observable.throw(t,e.services.scheduler):l.Observable.of(t,e.services.scheduler)})).delay(e.timeout,e.services.scheduler).take(e.retries)}))}},{key:"refreshTokenLoop",value:function(){var e=this;this.tokenRefreshSubscription=l.Observable.interval(9e5,this.services.scheduler).flatMap((function(t){return e.refreshToken()})).subscribe((function(t){E("refreshing token",t,"at",new Date),e.token=t}))}},{key:"refreshToken",value:function(){var e=this;return this.checkConnection(!0).flatMap((function(t){return e.services.ajax({method:"POST",url:"".concat(e.domain,"/tokens/refresh"),timeout:e.timeout,headers:T({},e.commonHeaders())}).map((function(e){return e.response.token})).retryWhen((function(t){return t.mergeMap((function(t){return 403===t.status?(e.expiredToken(),l.Observable.throw(t,e.services.scheduler)):404===t.status?l.Observable.throw(t,e.services.scheduler):l.Observable.of(t,e.services.scheduler)})).delay(e.timeout,e.services.scheduler).take(e.retries)}))}))}},{key:"reconnect",value:function(e){this.token=e.token,this.streamUrl=e.streamUrl,this.connectionStatus$.getValue()===b.ExpiredToken&&this.connectionStatus$.
2next(b.Online)}},{key:"end",value:function(){this.tokenRefreshSubscription&&this.tokenRefreshSubscription.unsubscribe();try{this.connectionStatus$.next(b.Ended)}catch(e){if(e===S)return;throw e}}},{key:"getSessionId",value:function(){var e=this;return E("getSessionId"),this.checkConnection(!0).flatMap((function(t){return e.services.ajax({method:"GET",url:"".concat(e.domain,"/session/getsessionid"),withCredentials:!0,timeout:e.timeout,headers:T({"Content-Type":"application/json"},e.commonHeaders())}).map((function(e){return e&&e.response&&e.response.sessionId?(E("getSessionId response: "+e.response.sessionId),e.response.sessionId):""})).catch((function(t){return E("getSessionId error: "+t.status),l.Observable.of("",e.services.scheduler)}))})).catch((function(t){return e.catchExpiredToken(t)}))}},{key:"postActivity",value:function(e){var t=this;return this.userIdOnStartConversation&&e.from&&e.from.id!==this.userIdOnStartConversation&&(console.warn("DirectLineJS: Activity.from.id does not match with user id, ignoring activity.from.id"),e.from.id=this.userIdOnStartConversation),"message"===e.type&&e.attachments&&e.attachments.length>0?this.postMessageWithAttachments(e):(E("postActivity",e),this.checkConnection(!0).flatMap((function(r){return t.services.ajax({method:"POST",url:"".concat(t.domain,"/conversations/").concat(t.conversationId,"/activities"),body:e,timeout:t.timeout,headers:T({"Content-Type":"application/json"},t.commonHeaders())}).map((function(e){return e.response.id})).catch((function(e){return t.catchPostError(e)}))})).catch((function(e){return t.catchExpiredToken(e)})))}},{key:"postMessageWithAttachments",value:function(e){var t,r=this,n=e.attachments,i=(0,d.default)(n.map((function(e){return e.name||"blob"}))),a=n.map((function(e,t){return T(T({},e),{},{name:i[t]})}));return this.checkConnection(!0).flatMap((function(n){return(t=new FormData).append("activity",new Blob([JSON.stringify(T(T({},e),{},{attachments:a.map((function(e){e.contentUrl;return T({},(0,o.default)(e,v))}))}))],{type:"application/vnd.microsoft.activity"})),l.Observable.from(a,r.services.scheduler).flatMap((function(e){return r.services.ajax({method:"GET",url:e.contentUrl,responseType:"arraybuffer"}).do((function(r){return t.append("file",new Blob([r.response],{type:e.contentType}),e.name)}))})).count()})).flatMap((function(n){return r.services.ajax({method:"POST",url:"".concat(r.domain,"/conversations/").concat(r.conversationId,"/upload?userId=").concat(e.from.id),body:t,timeout:r.timeout,headers:T({},r.commonHeaders())}).map((function(e){return e.response.id})).catch((function(e){return r.catchPostError(e)}))})).catch((function(e){return r.catchPostError(e)}))}},{key:"catchPostError",value:function(e){if(403===e.status)this.expiredToken();else if(e.status>=400&&e.status<500)return l.Observable.throw(e,this.services.scheduler);return l.Observable.of("retry",this.services.scheduler)}},{key:"catchExpiredToken",value:function(e){return e===_?l.Observable.of("retry",this.services.scheduler):l.Observable.throw(e,this.services.scheduler)}},{key:"pollingGetActivity$",value:function(){var e=this,t=l.Observable.create((function(t){var r=new c.BehaviorSubject({});r.subscribe((function(){if(e.connectionStatus$.getValue()===b.Online){var n=Date.now();e.services.ajax({headers:T({Accept:"application/json"},e.commonHeaders()),method:"GET",url:"".concat(e.domain,"/conversations/").concat(e.conversationId,"/activities?watermark=").concat(e.watermark),timeout:e.timeout}).subscribe((function(i){t.next(i),setTimeout((function(){return r.next(null)}),Math.max(0,e.pollingInterval-Date.now()+n))}),(function(n){switch(n.status){case 403:e.connectionStatus$.next(b.ExpiredToken),setTimeout((function(){return r.next(null)}),e.pollingInterval);break;case 404:e.connectionStatus$.next(b.Ended);break;default:t.error(n)}}))}}))}));return this.checkConnection().flatMap((function(r){return t.catch((function(){return l.Observable.empty()})).map((function(e){return e.response})).flatMap((function(t){return e.observableFromActivityGroup(t)}))}))}},{key:"observableFromActivityGroup",value:function(e){return e.watermark&&(this.watermark=e.watermark),l.Observable.from(e.activities,this.services.scheduler)}},{key:"webSocketActivity$",value:function(){var e=this;return this.checkConnection().flatMap((function(t){return e.observableWebSocket().retryWhen((function(t){return t.delay(e.getRetryDelay(),e.services.scheduler).mergeMap((function(t){return e.reconnectToConversation()}))}))})).flatMap((function(t){return e.observableFromActivityGroup(t)}))}},{key:"getRetryDelay",value:function(){return Math.floor(3e3+12e3*this.services.random())}},{key:"observableWebSocket",value:function(){var e=this;return l.Observable.create((function(t){E("creating WebSocket",e.streamUrl);var r,n,i=new e.services.WebSocket(e.streamUrl);return i.onopen=function(t){E("WebSocket open",t),r=l.Observable.interval(e.timeout,e.services.scheduler).subscribe((function(e){try{i.send("")}catch(t){E("Ping error",t)}}))}
2,i.onclose=function(e){E("WebSocket close",e),r&&r.unsubscribe(),n||t.error(e),n=!0},i.onerror=function(e){E("WebSocket error",e),r&&r.unsubscribe(),n||t.error(e),n=!0},i.onmessage=function(e){return e.data&&t.next(JSON.parse(e.data))},function(){0!==i.readyState&&1!==i.readyState||i.close()}}))}},{key:"reconnectToConversation",value:function(){var e=this;return this.checkConnection(!0).flatMap((function(t){return e.services.ajax({method:"GET",url:"".concat(e.domain,"/conversations/").concat(e.conversationId,"?watermark=").concat(e.watermark),timeout:e.timeout,headers:T({Accept:"application/json"},e.commonHeaders())}).do((function(t){e.secret||(e.token=t.response.token),e.streamUrl=t.response.streamUrl})).map((function(e){return null})).retryWhen((function(t){return t.mergeMap((function(t){if(403===t.status)e.expiredToken();else if(404===t.status)return l.Observable.throw(S,e.services.scheduler);return l.Observable.of(t,e.services.scheduler)})).delay(e.timeout,e.services.scheduler).take(e.retries)}))}))}},{key:"commonHeaders",value:function(){return{Authorization:"Bearer ".concat(this.token),"x-ms-bot-agent":this._botAgent}}},{key:"getBotAgent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="directlinejs";return e&&(t+="; ".concat(e)),"".concat("DirectLine/3.0"," (").concat(t," ").concat("0.15.0",")")}},{key:"setUserId",value:function(e){if(this.connectionStatus$.getValue()===b.Online)throw new Error("DirectLineJS: It is connected, we cannot set user id.");return this.parseToken(this.token)?console.warn("DirectLineJS: user id is already set in token, will ignore this user id."):/^dl_/.test(e)?console.warn('DirectLineJS: user id prefixed with "dl_" is reserved and must be embedded into the Direct Line token to prevent forgery.'):void(this.userIdOnStartConversation=e)}},{key:"parseToken",value:function(e){try{return(0,f.default)(e).user}catch(t){if(t instanceof f.InvalidTokenError)return}}}]),e}();t.DirectLine=C},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(29),o=r(77),a=r(229),s=r(589),u=r(990),c=r(400),l=function(e){function t(t){e.call(this,t),this.destination=t}return n(t,e),t}(o.Subscriber);t.SubjectSubscriber=l;var p=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(t,e),t.prototype[c.rxSubscriber]=function(){return new l(this)},t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new s.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new s.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),a.Subscription.EMPTY):this.isStopped?(e.complete(),a.Subscription.EMPTY):(this.observers.push(e),new u.SubjectSubscription(this,e))},t.prototype.asObservable=function(){var e=new i.Observable;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(i.Observable);t.Subject=p;var f=function(e){function t(t,r){e.call(this),this.destination=t,this.source=r}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):a.Subscription.EMPTY},t}(p);t.AnonymousSubject=f},function(e,t,r){"use strict";t.isArray=Array.isArray||function(e){return e&&"number"===typeof e.length}},function(e,t,r){"use strict";t.errorObject={e:{}}},function(e,t,r){"use strict";var n=r(991),i=r(993);t.async=new i.AsyncScheduler(n.AsyncAction)},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(){e.apply(this,arguments)}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(77).Subscriber);t.OuterSubscriber=i},function(e,t,r){"use strict";var n=r(123),i=r(591),o=r(592),a=r(587),s=r(29),u=r(402),c=r(998),l=r(401);t.subscribeToResult=function(e,t,r,p){var f=new c.InnerSubscriber(e,r,p);if(f.closed)return null;
2if(t instanceof s.Observable)return t._isScalar?(f.next(t.value),f.complete(),null):(f.syncErrorThrowable=!0,t.subscribe(f));if(i.isArrayLike(t)){for(var d=0,h=t.length;d<h&&!f.closed;d++)f.next(t[d]);f.closed||f.complete()}else{if(o.isPromise(t))return t.then((function(e){f.closed||(f.next(e),f.complete())}),(function(e){return f.error(e)})).then(null,(function(e){n.root.setTimeout((function(){throw e}))})),f;if(t&&"function"===typeof t[u.iterator])for(var v=t[u.iterator]();;){var m=v.next();if(m.done){f.complete();break}if(f.next(m.value),f.closed)break}else if(t&&"function"===typeof t[l.observable]){var y=t[l.observable]();if("function"===typeof y.subscribe)return y.subscribe(new c.InnerSubscriber(e,r,p));f.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var T="You provided "+(a.isObject(t)?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";f.error(new TypeError(T))}}return null}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t){e.call(this),this.scheduler=t}return n(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var r=this.scheduler;if(r)return r.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(r(29).Observable);t.EmptyObservable=i},function(e,t,r){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=c(e),a=n[0],s=n[1],u=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Promise((function(t){return setTimeout(t,e)}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().localizedGlobalizeState};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){var n,i,o;!function(a,s){"use strict";i=[r(231)],void 0===(o="function"===typeof(n=function(e){var t=e._createError,r=e._partsJoin,n=e._partsPush,i=(e._regexpEscape,e._runtimeKey),o=e._stringPad,a=e._validateParameterType,s=e._validateParameterPresence,u=e._validateParameterTypeString,c=function(e){return t("E_UNSUPPORTED","Unsupported {feature}.",{feature:e})},l=function(e,t){a(e,t,void 0===e||"number"===typeof e,"Number")},p=/^([^0]*)(0+)([^0]*)$/,f=function(e,t,r){var n;return 0===e?e:(n=Math.ceil(Math.log(Math.abs(e))/Math.log(10)),r(e,{exponent:n-=t}))},d={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","\u2030":"perMille"},h=function(e){return e[0]+e[e.length-1]!=="''"?e:"''"===e?"'":e.replace(/''/g,"'").slice(1,-1)},v=function(e,t,r){var i,a,s,u,l,v,m,y,T,b,g,_,S,A,E,C,O,I,w,P,N,R,k,x;return t[1],m=t[2],v=t[3],u=t[4],y=t[5],l=t[6],E=t[7],_=t[8],C=t[9],A=t[15],s=t[16],T=t[17],w=t[18],b=t[19],a=t[20],isNaN(e)?[{type:"nan",value:T}
2]:(e<0?(S=t[12],g=t[13],I=t[14]):(S=t[11],g=t[0],I=t[10]),g=(O=function(e){var t="integer",r=[];return e.replace(/('([^']|'')+'|'')|./g,(function(e,i){i?n(r,"literal",h(i)):"\xa4"!==e?(e=(e=e.replace(/[.,\-+E%\u2030]/,(function(e){return"."===e&&(t="fraction"),n(r,d[e],w[e]),""}))).replace(/[0-9]/,(function(e){return b&&(e=b[+e]),n(r,t,e),""}))).replace(/./,(function(e){n(r,"literal",e)})):n(r,"currency",e)})),r})(g),I=O(I),isFinite(e)?(-1!==S.indexOf("%")?e*=100:-1!==S.indexOf("\u2030")&&(e*=1e3),a&&(k=Math.abs(Math.floor(e)).toString().length-1,(k=Math.min(k,a.maxExponent))>=3&&(P=a[k]&&a[k].other),"0"===P?P=null:P&&(R=k-(P.split("0").length-1-1),e/=Math.pow(10,R))),e=isNaN(y*l)?function(e,t,r,n,i,a){return e=n?i(e,a||{exponent:-n}):i(e),e=String(e),n&&/e-/.test(e)&&(e=(+e).toFixed(n).replace(/0+$/,"").replace(/\.$/,"")),r&&((e=e.split("."))[1]=o(e[1]||"",r,!0),e=e.join(".")),t&&((e=e.split("."))[0]=o(e[0],t),e=e.join(".")),e}(e,m,v,u,A,E):function(e,t,r,n){var i,a;if(t>r&&(r=t),e=(+(e=+(i=f(e,t,n))===+(a=f(e,r,n))?i:a)).toString(10),/e/.test(e))throw c({feature:"integers out of (1e21, 1e-7)"});return t-e.replace(/^0+|\./g,"").length>0&&((e=e.split("."))[1]=o(e[1]||"",t-e[0].replace(/^0+/,"").length,!0),e=e.join(".")),e}(e,y,l,A),a&&P&&(x=r?r(+e):"other",N=(P=a[k][x]||P).match(p),i=function(e){var t=[];return e.replace(/(\s+)|([^\s0]+)/g,(function(e,r,i){r?n(t,"literal",r):i&&n(t,"compact",i)})),t},g=g.concat(i(N[1])),I=i(N[3]).concat(I)),e=e.replace(/^-/,""),_&&(e=function(e,t,r){var n,i=t,o="",a=!!r;for(n=(e=String(e).split("."))[0].length;n>i;)o=e[0].slice(n-i,n)+(o.length?",":"")+o,n-=i,a&&(i=r,a=!1);return e[0]=e[0].slice(0,n)+(o.length?",":"")+o,e.join(".")}(e,_,C)),g.concat(O(e),I)):g.concat({type:"infinity",value:s},I))},m=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,y=/[\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u2212]/g,T=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g,b=function(e){return e.replace(m,"").replace(y,"-").replace(T," ")},g=function(e,t){var r,n,i,o,a,s,u,c,l;return r=[["nan"],["prefix","infinity","suffix"],["prefix","number","suffix"],["negativePrefix","infinity","negativeSuffix"],["negativePrefix","number","negativeSuffix"]],i=t[0],n=t[1]||{},l=t[2],!function(e,t){return t.some((function(t){var r=e;return t.every((function(e){return null!==r.match(l[e])&&(r=r.replace(l[e],function(e){return function(t){switch(t=t.split("").map((function(e){return i[e]||n[e]||e})).join(""),e){case"infinity":a=1/0;break;case"nan":a=NaN;break;case"number":t=t.replace(/,/g,""),a=+t;break;case"prefix":case"negativePrefix":s=t;break;case"suffix":c=t;break;case"negativeSuffix":c=t,o=!0;break;default:throw new Error("Internal error")}return""}}(e)),!0)}))&&!r.length}))}(e=b(e),r)||isNaN(a)?NaN:(-1!==(u=""+s+c).indexOf("%")?a/=100:-1!==u.indexOf("\u2030")&&(a/=1e3),o&&(a*=-1),a)},_=function(e){return isNaN(e)?NaN:Math[e<0?"ceil":"floor"](e)};function S(t){return e[t].runtimeKey=t,e[t]}return e._createErrorUnsupportedFeature=c,e._looseMatching=b,e._numberFormat=v,e._numberFormatterFn=function(e){return function(t){return r(e(t))}},e._numberParse=g,e._numberParserFn=function(e){return function(t){return s(t,"value"),u(t,"value"),g(t,e)}},e._numberRound=function(e){return e="truncate"===(e=e||"round")?_:Math[e],function(t,r){var n,i;if(t=+t,isNaN(t))return NaN;if("object"===typeof r&&r.exponent){if(i=1,0===(n=+r.exponent))return e(t);if("number"!==typeof n||n%1!==0)return NaN}else{if(1===(i=+r||1))return e(t);if(isNaN(i))return NaN;n=+(i=i.toExponential().split("e"))[1],i=+i[0]}return(t=t.toString().split("e"))[0]=+t[0]/i,t[1]=t[1]?+t[1]-n:-n,(t=(t=e(+(t[0]+"e"+t[1]))).toString().split("e"))[0]=+t[0]*i,t[1]=t[1]?+t[1]+n:n,+(t[0]+"e"+t[1])}},e._numberToPartsFormatterFn=function(e,t){return function(r){return s(r,"value"),l(r,"value"),v(r,e,t)}},e._removeLiteralQuotes=h,e._validateParameterPresence=s,e._validateParameterTypeNumber=l,e._validateParameterTypeString=u,e.numberFormatter=e.prototype.numberFormatter=function(e){return e=e||{},S(i("numberFormatter",this._locale,[e]))},e.numberToPartsFormatter=e.prototype.numberToPartsFormatter=function(e){return e=e||{},S(i("numberToPartsFormatter",this._locale,[e]))},e.numberParser=e.prototype.numberParser=function(t){return t=t||{},e[i("numberParser",this._locale,[t])]},e.formatNumber=e.prototype.formatNumber=function(e,t){return s(e,"value"),l(e,"value"),this.numberFormatter(t)(e)},e.formatNumberToParts=e.prototype.formatNumberToParts=function(e,t){return s(e,"value"),l(e,"value"),this.numberFormatter(t)(e)},e.parseNumber=e.prototype.parseNumber=function(e,t){return s(e,"value"),u(e,"value"),this.numberParser(t)(e)},e})?n.apply(t,i):n)||(e.exports=o)}()},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,s.default)().onTelemetry,t=(0,a.default)(),r=(0,n.useCallback)((function(r,n,a){if(!n||"string"!==typeof n)return console.warn('botframework-webchat: "name" passed to "useTrackEvent" hook must be a string.');if("undefined"!==typeof a)if((0,o.default)(a)){if(!Object.values(a).every((function(e){return c(e)})))return console.warn('botframework-webchat: Every value in "data" map passed to "useTrackEvent" hook must be a non-negative finite number or string.')}else if(!c(a))return console.warn('botframework-webchat: "data" passed to "useTrackEvent" hook must be a non-negative finite number or string.');e&&e((0,i.default)("event",{data:a,dimensions:t(),level:r,name:n}))}),[e,t]);return(0,n.useMemo)((function(){var e=r.bind(null,"info");return e.debug=r.bind(null,"debug"),e.error=r.bind(null,"error"),e.info=e,e.warn=r.bind(null,"warn"),e}),[r])};var n=r(0),i=u(r(297)),o=u(r(412)),a=u(r(413)),s=u(r(21));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return"number"===typeof e&&isFinite(e)&&e>=0||"string"===typeof e}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;"function"===typeof CustomEvent?r=new CustomEvent(e):(r=document.createEvent("Event")).initEvent(e,!0,!0);return Object.entries(t).forEach((function(e){var t,i,o=(i=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,i)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],s=o[1];r[a]=s})),r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().scrollToEndCallbacksRef;return(0,i.useCallback)((function(){return e.current.forEach((function(e){return e({behavior:"smooth"})}))}),[e])};var n,i=r(0),o=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(67),i=r(233),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,r){var n=r(112);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n,i,o,a=r(1261),s=r(51),u=r(112),c=r(126),l=r(101),p=r(423),f=r(302),d=r(304),h=s.WeakMap;if(a||p.state){var v=p.state||(p.state=new h),m=v.get,y=v.has,T=v.set;n=function(e,t){if(y.call(v,e))throw new TypeError("Object already initialized");return t.facade=e,T.call(v,e,t),t},i=function(e){return m.call(v,e)||{}},o=function(e){return y.call(v,e)}}else{var b=f("state");d[b]=!0,n=function(e,t){if(l(e,b))throw new TypeError("Object already initialized");return t.facade=e,c(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},o=function(e){return l(e,b)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var n=r(303),i=r(424),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,r){var n=r(235),i=r(423);
vendor: 2,130 bytes, line 2
2(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.12.1",mode:n?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports={}},function(e,t,r){var n=r(236),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},function(e,t,r){var n,i,o=r(51),a=r(428),s=o.process,u=s&&s.versions,c=u&&u.v8;c?i=(n=c.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},function(e,t,r){var n=r(646),i=r(426);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(55),i=r(309).map;n({target:"Array",proto:!0,forced:!r(310)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(430),i=r(299),o=r(125),a=r(137),s=r(653),u=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,l=4==e,p=6==e,f=7==e,d=5==e||p;return function(h,v,m,y){for(var T,b,g=o(h),_=i(g),S=n(v,m,3),A=a(_.length),E=0,C=y||s,O=t?C(h,A):r||f?C(h,0):void 0;A>E;E++)if((d||E in _)&&(b=S(T=_[E],E,g),e))if(t)O[E]=b;else if(b)switch(e){case 3:return!0;case 5:return T;case 6:return E;case 2:u.call(O,T)}else switch(e){case 4:return!1;case 7:u.call(O,T)}return p?-1:c||l?l:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,r){var n=r(67),i=r(58),o=r(306),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,r){"use strict";var n=r(55),i=r(51),o=r(189),a=r(235),s=r(111),u=r(427),c=r(651),l=r(67),p=r(101),f=r(431),d=r(112),h=r(83),v=r(125),m=r(100),y=r(300),T=r(232),b=r(429),g=r(307),_=r(425),S=r(1265),A=r(648),E=r(188),C=r(127),O=r(419),I=r(126),w=r(136),P=r(303),N=r(302),R=r(304),k=r(424),x=r(58),M=r(654),L=r(1266),j=r(312),D=r(301),U=r(309).forEach,B=N("hidden"),F=x("toPrimitive"),V=D.set,z=D.getterFor("Symbol"),H=Object.prototype,G=i.Symbol,q=o("JSON","stringify"),Y=E.f,W=C.f,K=S.f,$=O.f,J=P("symbols"),X=P("op-symbol
2s"),Z=P("string-to-symbol-registry"),Q=P("symbol-to-string-registry"),ee=P("wks"),te=i.QObject,re=!te||!te.prototype||!te.prototype.findChild,ne=s&&l((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(H,t);n&&delete H[t],W(e,t,r),n&&e!==H&&W(H,t,n)}:W,ie=function(e,t){var r=J[e]=b(G.prototype);return V(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},oe=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof G},ae=function(e,t,r){e===H&&ae(X,t,r),h(e);var n=y(t,!0);return h(r),p(J,n)?(r.enumerable?(p(e,B)&&e[B][n]&&(e[B][n]=!1),r=b(r,{enumerable:T(0,!1)})):(p(e,B)||W(e,B,T(1,{})),e[B][n]=!0),ne(e,n,r)):W(e,n,r)},se=function(e,t){h(e);var r=m(t),n=g(r).concat(pe(r));return U(n,(function(t){s&&!ue.call(r,t)||ae(e,t,r[t])})),e},ue=function(e){var t=y(e,!0),r=$.call(this,t);return!(this===H&&p(J,t)&&!p(X,t))&&(!(r||!p(this,t)||!p(J,t)||p(this,B)&&this[B][t])||r)},ce=function(e,t){var r=m(e),n=y(t,!0);if(r!==H||!p(J,n)||p(X,n)){var i=Y(r,n);return!i||!p(J,n)||p(r,B)&&r[B][n]||(i.enumerable=!0),i}},le=function(e){var t=K(m(e)),r=[];return U(t,(function(e){p(J,e)||p(R,e)||r.push(e)})),r},pe=function(e){var t=e===H,r=K(t?X:m(e)),n=[];return U(r,(function(e){!p(J,e)||t&&!p(H,e)||n.push(J[e])})),n};(u||(w((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=k(e),r=function e(r){this===H&&e.call(X,r),p(this,B)&&p(this[B],t)&&(this[B][t]=!1),ne(this,t,T(1,r))};return s&&re&&ne(H,t,{configurable:!0,set:r}),ie(t,e)}).prototype,"toString",(function(){return z(this).tag})),w(G,"withoutSetter",(function(e){return ie(k(e),e)})),O.f=ue,C.f=ae,E.f=ce,_.f=S.f=le,A.f=pe,M.f=function(e){return ie(x(e),e)},s&&(W(G.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||w(H,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),U(g(ee),(function(e){L(e)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=String(e);if(p(Z,t))return Z[t];var r=G(t);return Z[t]=r,Q[r]=t,r},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(p(Q,e))return Q[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:le,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:l((function(){A.f(1)}))},{getOwnPropertySymbols:function(e){return A.f(v(e))}}),q)&&n({target:"JSON",stat:!0,forced:!u||l((function(){var e=G();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}))},{stringify:function(e,t,r){for(var n,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=t,(d(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!oe(t))return t}),i[1]=t,q.apply(null,i)}});G.prototype[F]||I(G.prototype,F,G.prototype.valueOf),j(G,"Symbol"),R[B]=!0},function(e,t,r){var n=r(127).f,i=r(101),o=r(58)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){"use strict";var n=r(55),i=r(309).filter;n({target:"Array",proto:!0,forced:!r(310)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(55),i=r(67),o=r(100),a=r(188).f,s=r(111),u=i((function(){a(1)}));n({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},function(e,t,r){var n=r(55),i=r(111),o=r(644),a=r(100),s=r(188),u=r(316);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),i=s.f,c=o(n),l={},p=0;c.length>p;)void 0!==(r=i(n,t=c[p++]))&&u(l,t,r);return l}})},function(e,t,r){"use strict";var n=r(300),i=r(127),o=r(232);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},function(e,t,r){var n=r(55),i=r(125),o=r(307);n({target:"Object",stat:!0,forced:r(67)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},function(e,t,r){var n=r(51),i=r(1270),o=r(1271),a=r(126);for(var s in i){var u=n[s],c=u&&u.prototype;
2if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(l){c.forEach=o}}},function(e,t,r){"use strict";var n=r(67);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},function(e,t,r){var n=r(233),i=r(51);e.exports="process"==n(i.process)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return 1/e>=0}},function(e,t,r){var n=r(489).default;function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}return o.default=e,r&&r.set(e,o),o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(0)).default.createContext();t.default=i},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=e.ponyfill,n=e.speak,l=e.speechSynthesis,p=e.speechSynthesisUtterance,f=e.text,d=(0,o.default)(e,["ponyfill","speak","speechSynthesis","speechSynthesisUtterance","text"]);r||!l&&!p||(c.ponyfill&&(console.warn('react-say: "speechSynthesis" and "speechSynthesisUtterance" props has been renamed to "ponyfill". Please update your code. The deprecated props will be removed in version >= 3.0.0.'),c.ponyfill=!1),r={speechSynthesis:l,SpeechSynthesisUtterance:p});t!==a.default&&t!==s.default||n&&!f&&(c.saySpeak&&(console.warn('react-say: "speak" prop has been renamed to "text". Please update your code. The deprecated props will be removed in version >= 3.0.0.'),c.saySpeak=!1),f=n);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(r,!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({ponyfill:r,text:f},d)};var i=n(r(87)),o=n(r(440)),a=n(r(439)),s=n(r(685));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}
2var c={ponyfill:!0,saySpeak:!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=l(r(20)),o=l(r(5)),a=l(r(0)),s=l(r(321)),u=l(r(23)),c=l(r(40));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=n.hooks.useDirection,h=n.hooks.useStyleOptions,v={"&.webchat__bubble":{display:"flex",position:"relative","& .webchat__bubble__nub-pad":{flexShrink:0},"& .webchat__bubble__content":{flexGrow:1,overflow:"hidden"}}};var m=function(e){var t=e["aria-hidden"],r=e.children,n=e.className,o=e.fromUser,l=e.nub,f=p((0,u.default)(),1)[0].bubble,m=p(d(),1)[0],y=p(h(),1)[0],T=y.bubbleBorderWidth,b=y.bubbleFromUserBorderWidth,g=y.bubbleFromUserNubSize,_=y.bubbleNubSize,S=y.bubbleNubOffset,A=y.bubbleFromUserNubOffset,E=(0,c.default)()(v)+"",C=o?{borderWidth:b,nubOffset:A,nubSize:g,side:"user"}:{borderWidth:T,nubOffset:S,nubSize:_,side:"bot"},O=C.borderWidth,I=C.nubOffset,w=C.nubSize,P=C.side;return a.default.createElement("div",{"aria-hidden":t,className:(0,i.default)("webchat__bubble",{"webchat__bubble--from-user":o,"webchat__bubble--hide-nub":!0!==l&&!1!==l,"webchat__bubble--nub-on-top":(0,s.default)(I),"webchat__bubble--rtl":"rtl"===m,"webchat__bubble--show-nub":!0===l},E,f+"",(n||"")+"")},a.default.createElement("div",{className:"webchat__bubble__nub-pad"}),a.default.createElement("div",{className:"webchat__bubble__content"},r),!0===l&&function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("number"!==typeof e)return!1;var i=e/2,o=t/2,s="bot"===r?"":"translate(".concat(i," 0) scale(-1 1) translate(").concat(-i," 0)"),u=n?"translate(0 ".concat(i,") scale(1 -1) translate(0 ").concat(-i,")"):"",c=[e,o].join(" "),l=[t,o].join(" "),p=[e+t,e+o].join(" ");return a.default.createElement("svg",{className:"webchat__bubble__nub",version:"1.1",viewBox:"0 0 ".concat(e," ").concat(e),xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{transform:"".concat(s," ").concat(u)},a.default.createElement("path",{className:"webchat__bubble__nub-outline",d:"M".concat(c," L").concat(l," L").concat(p)})))}(w,O,P,!(0,s.default)(I)))};m.defaultProps={"aria-hidden":void 0,children:void 0,className:"",fromUser:!1,nub:!1},m.propTypes={"aria-hidden":o.default.bool,children:o.default.any,className:o.default.string,fromUser:o.default.bool,nub:o.default.oneOf([
2!0,!1,"hidden"])};var y=m;t.default=y},function(e,t,r){"use strict";var n=r(268),i=r(98),o=r(177);e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},function(e,t,r){var n=r(53);t.f=n},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(63)),a=n(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),u=r(54),c=n(r(241)),l=n(r(192)),p=n(r(128)),f=n(r(139));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}var h=u.hooks.useDirection,v=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,i=(0,p.default)(),a=(0,o.default)(i,1)[0],u=h(),d=(0,o.default)(u,1)[0],v=(0,f.default)(),m=(0,o.default)(v,1)[0],y=(0,s.useMemo)((function(){if(r){var e=new c.default(a,m,d);return e.addCommon(r),e.card}}),[a,r,d,m]);return s.default.createElement(l.default,{actionPerformedClassName:t,adaptiveCard:y,disabled:n,tapAction:r&&r.tap})};v.defaultProps={actionPerformedClassName:"",disabled:void 0},v.propTypes={actionPerformedClassName:a.default.string,content:a.default.shape({tap:a.default.any}).isRequired,disabled:a.default.bool};var m=v;t.default=m},function(e,t,r){var n=r(1599);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(456).default,i=r(1600);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n,i=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AudioOutputFormatImpl=void 0;var o=r(774),a=r(142),s=function(e){function t(t,r,n,i,o,a,s,u,c){var l=e.call(this,n,a,r,t)||this;return l.formatTag=t,l.avgBytesPerSec=i,l.blockAlign=o,l.priAudioFormatString=s,l.priRequestAudioFormatString=u,l.priHasHeader=c,l}return i(t,e),t.fromSpeechSynthesisOutputFormat=function(e){return void 0===e?t.getDefaultOutputFormat():t.fromSpeechSynthesisOutputFormatString(t.SpeechSynthesisOutputFormatToString[e])},t.fromSpeechSynthesisOutputFormatString=function(e){switch(e){case"raw-8khz-8bit-mono-mulaw":return new t(a.AudioFormatTag.MuLaw,1,8e3,8e3,1,8,e,e,!1);case"riff-16khz-16kbps-mono-siren":return new t(a.AudioFormatTag.Siren,1,16e3,2e3,40,0,e,"audio-16khz-16kbps-mono-siren",!0);case"audio-16khz-16kbps-mono-siren":return new t(a.AudioFormatTag.Siren,1,16e3,2e3,40,0,e,e,!1);case"audio-16khz-32kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,16e3,4096,2,16,e,e,!1);case"audio-16khz-128kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,16e3,16384,2,16,e,e,!1);case"audio-16khz-64kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,16e3,8192,2,16,e,e,!1);case"audio-24khz-48kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,24e3,6144,2,16,e,e,!1);case"audio-24khz-96kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,24e3,12288,2,16,e,e,!1);case"audio-24khz-160kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,24e3,20480,2,16,e,e,!1);case"raw-16khz-16bit-mono-truesilk":return new t(a.AudioFormatTag.SILKSkype,1,16e3,32e3,2,16,e,e,!1);case"riff-8khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,8e3,16e3,2,16,e,"raw-8khz-16bit-mono-pcm",!0);case"riff-24khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,24e3,48e3,2,16,e,"raw-24khz-16bit-mono-pcm",!0);case"riff-8khz-8bit-mono-mulaw":return new t(a.AudioFormatTag.MuLaw,1,8e3,8e3,1,8,e,"raw-8khz-8bit-mono-mulaw",!0);case"raw-16khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,16e3,32e3,2,16,e,"raw-16khz-16bit-mono-pcm",!1);case"raw-24khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,24e3,48e3,2,16,e,"raw-24khz-16bit-mono-pcm",!1);case"raw-8khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,8e3,16e3,2,16,e,"raw-8khz-16bit-mono-pcm",!1);case"ogg-16khz-16bit-mono-opus":return new t(a.AudioFormatTag.OGG_OPUS,1,16e3,8192,2,16,e,e,!1);case"ogg-24khz-16bit-mono-opus":return new t(a.AudioFormatTag.OGG_OPUS,1,24e3,8192,2,16,e,e,!1);case"raw-48khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,48e3,96e3,2,16,e,"raw-48khz-16bit-mono-pcm",!1);case"riff-48khz-16bit-mono-pcm":return new t(a.AudioFormatTag.PCM,1,48e3,96e3,2,16,e,"raw-48khz-16bit-mono-pcm",!0);case"audio-48khz-96kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,48e3,12288,2,16,e,e,!1);case"audio-48khz-192kbitrate-mono-mp3":return new t(a.AudioFormatTag.MP3,1,48e3,24576,2,16,e,e,!1);case"ogg-48khz-16bit-mono-opus":return new t(a.AudioFormatTag.OGG_OPUS,1,48e3,12e3,2,16,e,e,!1);case"webm-16khz-16bit-mono-opus":return new t(a.AudioFormatTag.WEBM_OPUS,1,16e3,8e3,2,16,e,e,!1);case"webm-24khz-16bit-mono-opus":return new t(a.AudioFormatTag.WEBM_OPUS,1,24e3,8e3,2,16,e,e,!1);case"raw-24khz-16bit-mono-truesilk":return new t(a.AudioFormatTag.SILKSkype,1,24e3,48e3,2,16,e,e,!1);case"raw-8khz-8bit-mono-alaw":return new t(a.AudioFormatTag.ALaw,1,8e3,8e3,1,8,e,e,!1);case"riff-8khz-8bit-mono-alaw":return new t(a.AudioFormatTag.ALaw,1,8e3,8e3,1,8,e,"raw-8khz-8bit-mono-alaw",!0);case"riff-16khz-16bit-mono-pcm":default:return new t(a.AudioFormatTag.PCM,1,16e3,32e3,2,16,"riff-16khz-16bit-mono-pcm","raw-16khz-16bit-mono-pcm",!0)}},t.getDefaultOutputFormat=function(){return t.fromSpeechSynthesisOutputFormatString("undefined"!==typeof window?"audio-24khz-48kbitrate-mono-mp3":"riff-16khz-16bit-mono-pcm")},Object.defineProperty(t.prototype,"hasHeader",{get:function(){return this.priHasHeader}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"header",{get:function(){if(this.hasHeader)return this.privHeader},enumerable:!1,configurable:!0}),t.prototype.updateHeader=function(e){this.priHasHeader&&new DataView(this.privHeader).setUint32(40,e,!0)},Object.defineProperty(t.prototype,"requestAudioFormatString",{get:function(){return this.priRequestAudioFormatString},enumerable:!1,configurable:!0}),t.SpeechSynthesisOutputFormatToString=((n={})[o.SpeechSynthesisOutputFormat.Raw8Khz8BitMonoMULaw]="raw-8khz-8bit-mono-mulaw",n[o.SpeechSynthesisOutputFormat.Riff16Khz16KbpsMonoSiren]="riff-16khz-16kbps-mono-siren",n[o.SpeechSynthesisOutputFormat.Audio16Khz16KbpsMonoSiren]="audio-16khz-16kbps-mono-siren",n[o.SpeechSynthesisOutputFormat.Audio16Khz32KBitRateMonoMp3]="audio-16khz-32kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Audio16Khz128KBitRateMonoMp3]="audio-16khz-128kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Audio16Khz64KBitRateMonoMp3]="audio-16khz-64kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Audio24Khz48KBitRateMonoMp3]="audio-24khz-48kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Audio24Khz96KBitRateMonoMp3]="audio-24khz-96kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Audio24Khz160KBitRateMonoMp3]="audio-24khz-160kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Raw16Khz16BitMonoTrueSilk]="raw-16khz-16bit-mono-truesilk",n[o.SpeechSynthesisOutputFormat.Riff16Khz16BitMonoPcm]="riff-16khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Riff8Khz16BitMonoPcm]="riff-8khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm]="riff-24khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Riff8Khz8BitMonoMULaw]="riff-8khz-8bit-mono-mulaw",n[o.SpeechSynthesisOutputFormat.Raw16Khz16BitMonoPcm]="raw-16khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Raw24Khz16BitMonoPcm]="raw-24khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Raw8Khz16BitMonoPcm]="raw-8khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Ogg16Khz16BitMonoOpus]="ogg-16khz-16bit-mono-opus",n[o.SpeechSynthesisOutputFormat.Ogg24Khz16BitMonoOpus]="ogg-24khz-16bit-mono-opus",n[o.SpeechSynthesisOutputFormat.Raw48Khz16BitMonoPcm]="raw-48khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Riff48Khz16BitMonoPcm]="riff-48khz-16bit-mono-pcm",n[o.SpeechSynthesisOutputFormat.Audio48Khz96KBitRateMonoMp3]="audio-48khz-96kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Audio48Khz192KBitRateMonoMp3]="audio-48khz-192kbitrate-mono-mp3",n[o.SpeechSynthesisOutputFormat.Ogg48Khz16BitMonoOpus]="ogg-48khz-16bit-mono-opus",n[o.SpeechSynthesisOutputFormat.Webm16Khz16BitMonoOpus]="webm-16khz-16bit-mono-opus",n[o.SpeechSynthesisOutputFormat.Webm24Khz16BitMonoOpus]="webm-24khz-16bit-mono-opus",n[o.SpeechSynthesisOutputFormat.Raw24Khz16BitMonoTrueSilk]="raw-24khz-16bit-mono-truesilk",n[o.SpeechSynthesisOutputFormat.Raw8Khz8BitMonoALaw]="raw-8khz-8bit-mono-alaw",n[o.SpeechSynthesisOutputFormat.Riff8Khz8BitMonoALaw]="riff-8khz-8bit-mono-alaw",n),t}(a.AudioStreamFormatImpl);t.AudioOutputFormatImpl=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechConnectionMessage=void 0;var i=r(16),o=r(116),a=function(e){function t(t,r,n,a,s,u,c,l){var p=this;if(!r)throw new i.ArgumentNullError("path");if(!n)throw new i.ArgumentNullError("requestId");var f={};if(f[o.HeaderNames.Path]=r,f[o.HeaderNames.RequestId]=n,f[o.HeaderNames.RequestTimestamp]=(new Date).toISOString(),a&&(f[o.HeaderNames.ContentType]=a),u&&(f[o.HeaderNames.RequestStreamId]=u),c)for(var d in c)d&&(f[d]=c[d]);return(p=l?e.call(this,t,s,f,l)||this:e.call(this,t,s,f)||this).privPath=r,p.privRequestId=n,p.privContentType=a,p.privStreamId=u,p.privAdditionalHeaders=c,p}return n(t,e),Object.defineProperty(t.prototype,"path",{get:function(){return this.privPath}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"requestId",{get:function(){return this.privRequestId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentType",{get:function(){return this.privContentType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"streamId",{get:function(){return this.privStreamId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"additionalHeaders",{get:function(){return this.privAdditionalHeaders},enumerable:!1,configurable:!0}),t.fromConnectionMessage=function(e){var r=null,n=null,i=null,a=null,s={};if(e.headers)for(var u in e.headers)u&&(u.toLowerCase()===o.HeaderNames.Path.toLowerCase()?r=e.headers[u]:u.toLowerCase()===o.HeaderNames.RequestId.toLowerCase()?n=e.headers[u]:u.toLowerCase()===o.HeaderNames.RequestTimestamp.toLowerCase()?e.headers[u]:u.toLowerCase()===o.HeaderNames.ContentType.toLowerCase()?i=e.headers[u]:u.toLowerCase()===o.HeaderNames.RequestStreamId.toLowerCase()?a=e.headers[u]:s[u]=e.headers[u]);return new t(e.messageType,r,n,i,e.body,a,s,e.id)},t}(i.ConnectionMessage);t.SpeechConnectionMessage=a},function(e,t,r){var n=r(36),i=r(221),o=r(56),a=r(91),s=r(98).f,u=r(449),c=r(450),l=r(271),p=r(1864),f=!1,d=l("meta"),h=0,v=Object.isExtensible||function(){return!0},m=function(e){s(e,d,{value:{objectID:"O"+h++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},f=!0;var e=u.f,t=[].splice,r={};r[d]=1,e(r).length&&(u.f=function(r){for(var n=e(r),i=0,o=n.length;i<o;i++)if(n[i]===d){t.call(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,d)){if(!v(e))return"F";if(!t)return"E";m(e)}return e[d].objectID},getWeakData:function(e,t){if(!a(e,d)){if(!v(e))return!0;if(!t)return!1;m(e)}return e[d].weakData},onFreeze:function(e){return p&&f&&v(e)&&!a(e,d)&&m(e),e}};i[d]=!0},function(e,t,r){"use strict";var n=r(246),i=r(60),o=r(64),a=r(144),s=r(145),u=function(e){a(r,e);var t=s(r);function r(e){var o;return i(this,r),e&&"undefined"!==typeof e.value&&"string"!==typeof e.value&&(e=n(n({},e),{},{value:String(e.value)})),(o=t.call(this,e)).type="decl",o}return o(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),r}(r(336));e.exports=u,u.default=u},function(e,t,r){"use strict";var n=r(850),i=r(117),o=r(60),a=r(64),s=r(476),u=s.isClean,c=s.my,l=r(474),p=r(851),f=r(477);function d(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o=typeof i;"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((function(e){return d(e,r)})):("object"===o&&null!==i&&(i=d(i)),r[n]=i)}return r}var h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var r in o(this,e),this.raws={},this[u]=!1,this[c]=!0,t)if("nodes"===r){this.nodes=[];var n,a=i(t[r]);try{for(a.s();!(n=a.n()).done;){var s=n.value;"function"===typeof s.clone?this.append(s.clone()):this.append(s)}}catch(l){a.e(l)}finally{a.f()}}else this[r]=t[r]}return a(e,[{key:"error",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new l(e)}},{key:"warn",value:function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)}},{key:"remove",value:function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t}},{key:"assign",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e)this[t]=e[t];return this}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=d(this);for(var r in e)t[r]=e[r];return t}},{key:"cloneBefore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t}},{key:"cloneAfter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t}},{key:"replaceWith",value:function(){if(this.parent){for(var e=this,t=!1,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];for(var o=0,a=n;o<a.length;o++){var s=a[o];s===this?t=!0:t?(this.parent.insertAfter(e,s),e=s):this.parent.insertBefore(e,s)}t||this.remove()}return this}},{key:"next",value:function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}}},{key:"prev",value:function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}}},{key:"before",value:function(e){return this.parent.insertBefore(this,e),this}},{key:"after",value:function(e){return this.parent.insertAfter(this,e),this}},{key:"root",value:function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}},{key:"raw",value:function(e,t){return(new p).raw(this,e,t)}},{key:"cleanRaws",value:function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}},{key:"toJSON",value:function(e,t){var r={},i=null==t;t=t||new Map;var o=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&"parent"!==a&&"proxyCache"!==a){var s=this[a];if(Array.isArray(s))r[a]=s.map((function(e){return"object"===typeof e&&e.toJSON?e.toJSON(null,t):e}));
2else if("object"===typeof s&&s.toJSON)r[a]=s.toJSON(null,t);else if("source"===a){var u=t.get(s.input);null==u&&(u=o,t.set(s.input,o),o++),r[a]={inputId:u,start:s.start,end:s.end}}else r[a]=s}return i&&(r.inputs=n(t.keys()).map((function(e){return e.toJSON()}))),r}},{key:"positionInside",value:function(e){for(var t=this.toString(),r=this.source.start.column,n=this.source.start.line,i=0;i<e;i++)"\n"===t[i]?(r=1,n+=1):r+=1;return{line:n,column:r}}},{key:"positionBy",value:function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}},{key:"getProxyProcessor",value:function(){return{set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0},get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]}}}},{key:"toProxy",value:function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}},{key:"addToError",value:function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&".concat(t.input.from,":").concat(t.start.line,":").concat(t.start.column,"$&"))}return e}},{key:"markDirty",value:function(){if(this[u]){this[u]=!1;for(var e=this;e=e.parent;)e[u]=!1}}},{key:"proxyOf",get:function(){return this}}]),e}();e.exports=h,h.default=h},function(e,t,r){"use strict";var n=r(60),i=r(144),o=r(145),a=function(e){i(r,e);var t=o(r);function r(e){var i;return n(this,r),(i=t.call(this,e)).type="comment",i}return r}(r(336));e.exports=a,a.default=a},function(e,t,r){"use strict";var n=r(28);t.a=function(e,t){var r;void 0===t&&(t=!0);var i=new Promise((function(n){r=setTimeout(n,e,t)}));return i[n.a]=function(){clearTimeout(r)},i}},function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function i(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(i=e[r],o=t[r],!(i===o||n(i)&&n(o)))return!1;var i,o;return!0}t.default=function(e,t){var r;void 0===t&&(t=i);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return R}));var n=r(32),i=r(3),o=r.n(i),a=r(1),s=r(2),u=r(46),c=r(26),l=r(212),p=r(1975),f=r(885),d=r(65),h=r(148),v=r(76),m=r(205),y=r(206),T=r(34),b=r(68),g=r(494),_=r(495),S=r(496),A=r(9),E=r(507),C=r(492),O=r(493),I=r(11),w=r(207),P=r(45),N=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},R=function(){function e(t,r,n,i,o){var s=this;if(Object(a.a)(this,e),this.speakOverride=void 0,this.receiveMessageOverride=void 0,this.connectImplOverride=void 0,this.configConnectionOverride=void 0,this.sendSynthesisContext=function(e){var t=s.synthesisContext.toJSON();if(t)return e.send(new P.a(u.b.Text,"synthesis.context",s.privSynthesisTurn.requestId,"application/json",t))},this.sendSpeechServiceConfig=function(e,t){if(t)return e.send(new P.a(u.b.Text,"speech.config",s.privSynthesisTurn.requestId,"application/json",t))},this.sendSsmlMessage=function(e,t,r){return e.send(new P.a(u.b.Text,"ssml",r,"application/ssml+xml",t))},!t)throw new c.a("authentication");if(!r)throw new c.a("connectionFactory");if(!n)throw new c.a("synthesizerConfig");this.privAuthentication=t,this.privConnectionFactory=r,this.privSynthesizerConfig=n,this.privIsDisposed=!1,this.privSpeechSynthesizer=i,this.privSessionAudioDestination=o,this.privSynthesisTurn=new E.a,this.privConnectionEvents=new l.a,this.privServiceEvents=new l.a,this.privSynthesisContext=new C.a(this.privSpeechSynthesizer),this.privAgentConfig=new O.a,this.connectionEvents.attach((function(e){if("ConnectionClosedEvent"===e.name){var t=e;1e3!==t.statusCode&&s.cancelSynthesisLocal(h.a.Error,1007===t.statusCode?v.a.BadRequestParameters:v.a.ConnectionFailure,t.reason+" websocket error code: "+t.statusCode)}}))}return Object(s.a)(e,[{key:"synthesisContext",get:function(){return this.privSynthesisContext}},{key:"agentConfig",get:function(){return this.privAgentConfig}},{key:"connectionEvents",get:function(){return this.privConnectionEvents}},{key:"serviceEvents",get:function(){return this.privServiceEvents}},{key:"activityTemplate",get:function(){return this.privActivityTemplate},set:function(e){this.privActivityTemplate=e}},{key:"audioOutputFormat",set:function(e){this.privAudioOutputFormat=e,this.privSynthesisTurn.audioOutputFormat=e,void 0!==this.privSessionAudioDestination&&(this.privSessionAudioDestination.format=e),void 0!==this.synthesisContext&&(this.synthesisContext.audioOutputFormat=e)}},{key:"isDisposed",value:function(){return this.privIsDisposed}},{key:"dispose",value:function(e){return N(this,void 0,void 0,o.a.mark((function t(){var r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.privIsDisposed=!0,void 0!==this.privSessionAudioDestination&&this.privSessionAudioDestination.close(),!this.privConnectionConfigurationPromise){t.next=8;break}return t.next=5,this.privConnectionConfigurationPromise;case 5:return r=t.sent,t.next=8,r.dispose(e);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"connect",value:function(){return N(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.connectImpl();case 2:case"end":return e.stop()}}),e,this)})))}},{key:"sendNetworkMessage",value:function(e,t){return N(this,void 0,void 0,o.a.mark((function r(){var n,i,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n="string"===typeof t?u.b.Text:u.b.Binary,i="string"===typeof t?"application/json":"",r.next=4,this.fetchConnection();case 4:return a=r.sent,r.abrupt("return",a.send(new P.a(n,e,this.privSynthesisTurn.requestId,i,t)));case 6:case"end":return r.stop()}}),r,this)})))}},{key:"Speak",value:function(e,t,r,n,i,a){return N(this,void 0,void 0,o.a.mark((function s(){var u,c,l;return o.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(u=t?e:this.privSpeechSynthesizer.buildSsml(e),void 0===this.speakOverride){o.next=3;break}
2return o.abrupt("return",this.speakOverride(u,r,n,i));case 3:return this.privSuccessCallback=n,this.privErrorCallback=i,this.privSynthesisTurn.startNewSynthesis(r,e,t,a),o.prev=6,o.next=9,this.connectImpl();case 9:return o.next=11,this.fetchConnection();case 11:return c=o.sent,o.next=14,this.sendSynthesisContext(c);case 14:return o.next=16,this.sendSsmlMessage(c,u,r);case 16:l=new m.a(new y.a(r,T.a.SynthesizingAudioStarted)),this.privSpeechSynthesizer.synthesisStarted&&this.privSpeechSynthesizer.synthesisStarted(this.privSpeechSynthesizer,l),this.receiveMessage(),o.next=25;break;case 21:return o.prev=21,o.t0=o.catch(6),this.cancelSynthesisLocal(h.a.Error,v.a.ConnectionFailure,o.t0),o.abrupt("return",Promise.reject(o.t0));case 25:case"end":return o.stop()}}),s,this,[[6,21]])})))}},{key:"cancelSynthesis",value:function(e,t,r,n){var i=new b.a;i.setProperty(I.CancellationErrorCodePropertyName,v.a[r]);var o=new y.a(e,T.a.Canceled,void 0,n,i);if(this.privSpeechSynthesizer.SynthesisCanceled){var a=new m.a(o);try{this.privSpeechSynthesizer.SynthesisCanceled(this.privSpeechSynthesizer,a)}catch(s){}}if(this.privSuccessCallback)try{this.privSuccessCallback(o)}catch(u){}}},{key:"cancelSynthesisLocal",value:function(e,t,r){this.privSynthesisTurn.isSynthesizing&&(this.privSynthesisTurn.onStopSynthesizing(),this.cancelSynthesis(this.privSynthesisTurn.requestId,e,t,r))}},{key:"processTypeSpecificMessages",value:function(e,t,r){return!0}},{key:"receiveMessage",value:function(){return N(this,void 0,void 0,o.a.mark((function t(){var r,i,a,s,u,c,l,f,d,h,v,b,A,E;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.fetchConnection();case 3:return r=t.sent,t.next=6,r.read();case 6:if(i=t.sent,void 0===this.receiveMessageOverride){t.next=9;break}return t.abrupt("return",this.receiveMessageOverride());case 9:if(!this.privIsDisposed){t.next=11;break}return t.abrupt("return");case 11:if(i){t.next=17;break}if(this.privSynthesisTurn.isSynthesizing){t.next=16;break}return t.abrupt("return");case 16:return t.abrupt("return",this.receiveMessage());case 17:if(this.privServiceHasSentMessage=!0,(a=P.a.fromConnectionMessage(i)).requestId.toLowerCase()!==this.privSynthesisTurn.requestId.toLowerCase()){t.next=74;break}t.t0=a.path.toLowerCase(),t.next="turn.start"===t.t0?23:"response"===t.t0?25:"audio"===t.t0?27:"audio.metadata"===t.t0?29:"turn.end"===t.t0?59:73;break;case 23:return this.privSynthesisTurn.onServiceTurnStartResponse(),t.abrupt("break",74);case 25:return this.privSynthesisTurn.onServiceResponseMessage(a.textBody),t.abrupt("break",74);case 27:if(this.privSynthesisTurn.streamId.toLowerCase()===a.streamId.toLowerCase()&&a.binaryBody){if(this.privSynthesisTurn.onAudioChunkReceived(a.binaryBody),this.privSpeechSynthesizer.synthesizing)try{s=e.addHeader(a.binaryBody,this.privSynthesisTurn.audioOutputFormat),u=new m.a(new y.a(this.privSynthesisTurn.requestId,T.a.SynthesizingAudio,s)),this.privSpeechSynthesizer.synthesizing(this.privSpeechSynthesizer,u)}catch(o){}void 0!==this.privSessionAudioDestination&&this.privSessionAudioDestination.write(a.binaryBody)}return t.abrupt("break",74);case 29:c=w.b.fromJSON(a.textBody).Metadata,l=Object(n.a)(c),t.prev=31,l.s();case 33:if((f=l.n()).done){t.next=50;break}d=f.value,t.t1=d.Type,t.next=t.t1===w.a.WordBoundary?38:t.t1===w.a.Bookmark?42:t.t1===w.a.Viseme?45:48;break;case 38:if(this.privSynthesisTurn.onWordBoundaryEvent(d.Data.text.Text),h=new g.a(d.Data.Offset,d.Data.text.Text,d.Data.text.Length,this.privSynthesisTurn.currentTextOffset),this.privSpeechSynthesizer.wordBoundary)try{this.privSpeechSynthesizer.wordBoundary(this.privSpeechSynthesizer,h)}catch(o){}return t.abrupt("break",48);case 42:if(v=new _.a(d.Data.Offset,d.Data.Bookmark),this.privSpeechSynthesizer.bookmarkReached)try{this.privSpeechSynthesizer.bookmarkReached(this.privSpeechSynthesizer,v)}catch(o){}return t.abrupt("break",48);case 45:if(this.privSynthesisTurn.onVisemeMetadataReceived(d),d.Data.IsLastAnimation&&(b=new S.a(d.Data.Offset,d.Data.VisemeId,this.privSynthesisTurn.getAndClearVisemeAnimation()),this.privSpeechSynthesizer.visemeReceived))try{this.privSpeechSynthesizer.visemeReceived(this.privSpeechSynthesizer,b)}catch(o){}return t.abrupt("break",48);case 48:t.next=33;break;case 50:t.next=55;break;case 52:t.prev=52,t.t2=t.catch(31),l.e(t.t2);case 55:return t.prev=55,l.f(),t.finish(55);case 58:return t.abrupt("break",74);case 59:return this.privSynthesisTurn.onServiceTurnEndResponse(),t.prev=60,t.next=63,this.privSynthesisTurn.getAllReceivedAudioWith
2Header();case 63:E=t.sent,A=new y.a(this.privSynthesisTurn.requestId,T.a.SynthesizingAudioCompleted,E),this.privSuccessCallback&&this.privSuccessCallback(A),t.next=71;break;case 68:t.prev=68,t.t3=t.catch(60),this.privErrorCallback&&this.privErrorCallback(t.t3);case 71:if(this.privSpeechSynthesizer.synthesisCompleted)try{this.privSpeechSynthesizer.synthesisCompleted(this.privSpeechSynthesizer,new m.a(A))}catch(C){}return t.abrupt("break",74);case 73:this.processTypeSpecificMessages(a)||this.privServiceEvents&&this.serviceEvents.onEvent(new p.h(a.path.toLowerCase(),a.textBody));case 74:return t.abrupt("return",this.receiveMessage());case 77:t.prev=77,t.t4=t.catch(0);case 79:case"end":return t.stop()}}),t,this,[[0,77],[31,52,55,58],[60,68]])})))}},{key:"connectImpl",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.privConnectionPromise)return this.privConnectionPromise.then((function(t){return t.state()===f.a.Disconnected?(e.privConnectionId=null,e.privConnectionPromise=null,e.privServiceHasSentMessage=!1,e.connectImpl()):e.privConnectionPromise}),(function(t){return e.privConnectionId=null,e.privConnectionPromise=null,e.privServiceHasSentMessage=!1,e.connectImpl()}));this.privAuthFetchEventId=Object(d.b)(),this.privConnectionId=Object(d.b)(),this.privSynthesisTurn.onPreConnectionStart(this.privAuthFetchEventId,this.privConnectionId);var r=t?this.privAuthentication.fetchOnExpiry(this.privAuthFetchEventId):this.privAuthentication.fetch(this.privAuthFetchEventId);return this.privConnectionPromise=r.then((function(r){return N(e,void 0,void 0,o.a.mark((function e(){var n,i,a=this;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.privSynthesisTurn.onAuthCompleted(!1);case 2:return(n=this.privConnectionFactory.create(this.privSynthesizerConfig,r,this.privConnectionId)).events.attach((function(e){a.connectionEvents.onEvent(e)})),e.next=6,n.open();case 6:if(200!==(i=e.sent).statusCode){e.next=13;break}return e.next=10,this.privSynthesisTurn.onConnectionEstablishCompleted(i.statusCode);case 10:return e.abrupt("return",Promise.resolve(n));case 13:if(403!==i.statusCode||t){e.next=17;break}return e.abrupt("return",this.connectImpl(!0));case 17:return e.next=19,this.privSynthesisTurn.onConnectionEstablishCompleted(i.statusCode,i.reason);case 19:return e.abrupt("return",Promise.reject("Unable to contact server. StatusCode: ".concat(i.statusCode,", ").concat(this.privSynthesizerConfig.parameters.getProperty(A.a.SpeechServiceConnection_Endpoint)," Reason: ").concat(i.reason)));case 20:case"end":return e.stop()}}),e,this)})))}),(function(t){return N(e,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.privSynthesisTurn.onAuthCompleted(!0,t);case 2:throw new Error(t);case 3:case"end":return e.stop()}}),e,this)})))})),this.privConnectionPromise.catch((function(){})),this.privConnectionPromise}},{key:"fetchConnection",value:function(){return N(this,void 0,void 0,o.a.mark((function e(){var t=this;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privConnectionConfigurationPromise){e.next=2;break}return e.abrupt("return",this.privConnectionConfigurationPromise.then((function(e){return e.state()===f.a.Disconnected?(t.privConnectionId=null,t.privConnectionConfigurationPromise=null,t.privServiceHasSentMessage=!1,t.fetchConnection()):t.privConnectionConfigurationPromise}),(function(e){return t.privConnectionId=null,t.privConnectionConfigurationPromise=null,t.privServiceHasSentMessage=!1,t.fetchConnection()})));case 2:return this.privConnectionConfigurationPromise=this.configureConnection(),e.next=5,this.privConnectionConfigurationPromise;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"configureConnection",value:function(){return N(this,void 0,void 0,o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.connectImpl();case 2:if(t=e.sent,void 0===this.configConnectionOverride){e.next=5;break}return e.abrupt("return",this.configConnectionOverride(t));case 5:return e.next=7,this.sendSpeechServiceConfig(t,this.privSynthesizerConfig.SpeechServiceConfig.serialize());case 7:return e.abrupt("return",t);case 8:case"end":return e.stop()}}),e,this)})))}}],[{key:"addHeader",value:function(e,t){if(!t.hasHeader)return e;t.updateHeader(e.byteLength);
2var r=new Uint8Array(e.byteLength+t.header.byteLength);return r.set(new Uint8Array(t.header),0),r.set(new Uint8Array(e),t.header.byteLength),r.buffer}}]),e}();R.telemetryDataEnabled=!0},function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return v}));var n=r(6),i=r(7),o=r(1),a=r(2),s=r(11),u=r(4),c=r(9),l=r(68),p=r(105),f=r(499),d=r(31),h=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"close",value:function(){}}],[{key:"fromSubscription",value:function(e,t){u.a.throwIfNullOrWhitespace(e,"subscriptionKey"),u.a.throwIfNullOrWhitespace(t,"region");var r=new v;return r.setProperty(c.a.SpeechServiceConnection_Region,t),r.setProperty(c.a.SpeechServiceConnection_IntentRegion,t),r.setProperty(c.a.SpeechServiceConnection_Key,e),r}},{key:"fromEndpoint",value:function(e,t){u.a.throwIfNull(e,"endpoint");var r=new v;return r.setProperty(c.a.SpeechServiceConnection_Endpoint,e.href),void 0!==t&&r.setProperty(c.a.SpeechServiceConnection_Key,t),r}},{key:"fromHost",value:function(e,t){u.a.throwIfNull(e,"hostName");var r=new v;return r.setProperty(c.a.SpeechServiceConnection_Host,e.protocol+"//"+e.hostname+(""===e.port?"":":"+e.port)),void 0!==t&&r.setProperty(c.a.SpeechServiceConnection_Key,t),r}},{key:"fromAuthorizationToken",value:function(e,t){u.a.throwIfNull(e,"authorizationToken"),u.a.throwIfNullOrWhitespace(t,"region");var r=new v;return r.setProperty(c.a.SpeechServiceConnection_Region,t),r.setProperty(c.a.SpeechServiceConnection_IntentRegion,t),r.authorizationToken=e,r}}]),e}(),v=function(e){Object(n.a)(r,e);var t=Object(i.a)(r);function r(){var e;return Object(o.a)(this,r),(e=t.call(this)).privProperties=new l.a,e.speechRecognitionLanguage="en-US",e.outputFormat=p.a.Simple,e}return Object(a.a)(r,[{key:"properties",get:function(){return this.privProperties}},{key:"endPoint",get:function(){return new URL(this.privProperties.getProperty(c.a.SpeechServiceConnection_Endpoint))}},{key:"subscriptionKey",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_Key)}},{key:"region",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_Region)}},{key:"authorizationToken",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceAuthorization_Token)},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceAuthorization_Token,e)}},{key:"speechRecognitionLanguage",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_RecoLanguage)},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceConnection_RecoLanguage,e)}},{key:"autoDetectSourceLanguages",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_AutoDetectSourceLanguages)},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceConnection_AutoDetectSourceLanguages,e)}},{key:"outputFormat",get:function(){return p.a[this.privProperties.getProperty(s.OutputFormatPropertyName,void 0)]},set:function(e){this.privProperties.setProperty(s.OutputFormatPropertyName,p.a[e])}},{key:"endpointId",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_EndpointId)},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceConnection_EndpointId,e)}},{key:"setProperty",value:function(e,t){u.a.throwIfNull(t,"value"),this.privProperties.setProperty(e,t)}},{key:"getProperty",value:function(e,t){return this.privProperties.getProperty(e,t)}},{key:"setProxy",value:function(e,t,r,n){this.setProperty(c.a[c.a.SpeechServiceConnection_ProxyHostName],e),this.setProperty(c.a[c.a.SpeechServiceConnection_ProxyPort],t),this.setProperty(c.a[c.a.SpeechServiceConnection_ProxyUserName],r),this.setProperty(c.a[c.a.SpeechServiceConnection_ProxyPassword],n)}},{key:"setServiceProperty",value:function(e,t,r){var n=JSON.parse(this.privProperties.getProperty(s.ServicePropertiesPropertyName,"{}"));n[e]=t,this.privProperties.setProperty(s.ServicePropertiesPropertyName,JSON.stringify(n))}},{key:"setProfanity",value:function(e){this.privProperties.setProperty(c.a.SpeechServiceResponse_ProfanityOption,f.a[e])}},{key:"enableAudioLogging",value:function(){this.privProperties.setProperty(c.a.SpeechServiceConnection_EnableAudioLogging,"true")}},{key:"requestWordLevelTimestamps",value:function(){this.privProperties.setProperty(c.a.SpeechServiceResponse_RequestWordLevelTimestamps,"true")}},{key:"enableDictation",value:function(){this.privProperties.setProperty(s.ForceDictationPropertyName,"true")}},{key:"clone",value:function(){var e=new r;return e.privProperties=this.privProperties.clone(),e}},{key:"speechSynthesisLanguage",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_SynthLanguage)},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceConnection_SynthLanguage,e)}},{key:"speechSynthesisVoiceName",get:function(){return this.privProperties.getProperty(c.a.SpeechServiceConnection_SynthVoice)},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceConnection_SynthVoice,e)}},{key:"speechSynthesisOutputFormat",get:function(){return d.a[this.privProperties.getProperty(c.a.SpeechServiceConnection_SynthOutputFormat,void 0)]},set:function(e){this.privProperties.setProperty(c.a.SpeechServiceConnection_SynthOutputFormat,d.a[e])}}]),r}(h)},function(e,t,r){"use strict";t.a=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},function(e,t,r){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
2idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,r){"use strict";function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privSessionId=t}return Object(i.a)(e,[{key:"sessionId",get:function(){return this.privSessionId}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,i,o)).privResult=e,a}return Object(i.a)(r,[{key:"result",get:function(){return this.privResult}}]),r}(r(208).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,i)).privResult=e,o}return Object(i.a)(r,[{key:"result",get:function(){return this.privResult}}]),r}(r(345).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r){Object(n.a)(this,e),this.privReason=t,this.privAudio=r}return Object(i.a)(e,[{key:"audio",get:function(){return this.privAudio}},{key:"reason",get:function(){return this.privReason}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(39),a=function(){function e(t){Object(n.a)(this,e),this.privDetailedSpeechPhrase=JSON.parse(t),this.privDetailedSpeechPhrase.RecognitionStatus=o.a[this.privDetailedSpeechPhrase.RecognitionStatus]}return Object(i.a)(e,[{key:"RecognitionStatus",get:function(){return this.privDetailedSpeechPhrase.RecognitionStatus}},{key:"NBest",get:function(){return this.privDetailedSpeechPhrase.NBest}},{key:"Duration",get:function(){return this.privDetailedSpeechPhrase.Duration}},{key:"Offset",get:function(){return this.privDetailedSpeechPhrase.Offset}},{key:"Language",get:function(){return void 0===this.privDetailedSpeechPhrase.PrimaryLanguage?void 0:this.privDetailedSpeechPhrase.PrimaryLanguage.Language}},{key:"LanguageDetectionConfidence",get:function(){return void 0===this.privDetailedSpeechPhrase.PrimaryLanguage?void 0:this.privDetailedSpeechPhrase.PrimaryLanguage.Confidence}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(39),a=r(253),s=function(){function e(t){Object(n.a)(this,e),this.privTranslationPhrase=JSON.parse(t),this.privTranslationPhrase.RecognitionStatus=o.a[this.privTranslationPhrase.RecognitionStatus],void 0!==this.privTranslationPhrase.Translation&&(this.privTranslationPhrase.Translation.TranslationStatus=a.a[this.privTranslationPhrase.Translation.TranslationStatus])}return Object(i.a)(e,[{key:"RecognitionStatus",get:function(){return this.privTranslationPhrase.RecognitionStatus}},{key:"Offset",get:function(){return this.privTranslationPhrase.Offset}},{key:"Duration",get:function(){return this.privTranslationPhrase.Duration}},{key:"Text",get:function(){return this.privTranslationPhrase.Text}},{key:"Translation",get:function(){return this.privTranslationPhrase.Translation}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r,i,o,a){Object(n.a)(this,e),this.privCancelReason=r,this.privErrorDetails=i,this.privResult=a,this.privSessionId=t,this.privErrorCode=o}return Object(i.a)(e,[{key:"result",get:function(){return this.privResult}},{key:"sessionId",get:function(){return this.privSessionId}},{key:"reason",get:function(){return this.privCancelReason}},{key:"errorCode",get:function(){return this.privErrorCode}},{key:"errorDetails",get:function(){return this.privErrorDetails}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}
2));var n=r(1),i=r(2),o=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,null,[{key:"requestOptions",get:function(){return e.privDefaultRequestOptions}},{key:"configParams",get:function(){return e.privDefaultParams}},{key:"restErrors",get:function(){return e.privRestErrors}}]),e}();o.privDefaultRequestOptions={headers:{Accept:"application/json"},ignoreCache:!1,timeout:1e4},o.privRestErrors={authInvalidSubscriptionKey:"You must specify either an authentication token to use, or a Cognitive Speech subscription key.",authInvalidSubscriptionRegion:"You must specify the Cognitive Speech region to use.",invalidArgs:"Required input not found: {arg}.",invalidCreateJoinConversationResponse:"Creating/Joining conversation failed with HTTP {status}.",invalidParticipantRequest:"The requested participant was not found.",permissionDeniedConnect:"Required credentials not found.",permissionDeniedConversation:"Invalid operation: only the host can {command} the conversation.",permissionDeniedParticipant:"Invalid operation: only the host can {command} a participant.",permissionDeniedSend:"Invalid operation: the conversation is not in a connected state.",permissionDeniedStart:"Invalid operation: there is already an active conversation."},o.privDefaultParams={apiVersion:"api-version",authorization:"Authorization",clientAppId:"X-ClientAppId",contentTypeKey:"Content-Type",correlationId:"X-CorrelationId",languageCode:"language",nickname:"nickname",profanity:"profanity",requestId:"X-RequestId",roomId:"roomid",sessionToken:"token",subscriptionKey:"Ocp-Apim-Subscription-Key",subscriptionRegion:"Ocp-Apim-Subscription-Region",token:"X-CapitoToken"}},function(e,t,r){var n=r(447),i=r(725),o=r(717),a=r(726);e.exports=function(e,t){var r="undefined"!==typeof n&&i(e)||e["@@iterator"];if(!r){if(o(e)||(r=a(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,p=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){p=!0,c=e},f:function(){try{l||null==r.return||r.return()}finally{if(p)throw c}}}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(1855)},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=r(80);function o(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?Object(i.a)(e):t}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";r.r(t),r.d(t,"__DO_NOT_USE__ActionTypes",(function(){return o})),r.d(t,"applyMiddleware",(function(){return m})),r.d(t,"bindActionCreators",(function(){return p})),r.d(t,"combineReducers",(function(){return c})),r.d(t,"compose",(function(){return v})),r.d(t,"createStore",(function(){return s}));var n=r(508),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,r){var i;if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error("Expected the enhancer to be a function.");return r(s)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,l=[],p=l,f=!1;function d(){p===l&&(p=l.slice())}function h(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function v(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");
2if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return d(),p.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,d();var r=p.indexOf(e);p.splice(r,1),l=null}}}function m(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,c=u(c,e)}finally{f=!1}for(var t=l=p,r=0;r<t.length;r++){(0,t[r])()}return e}function y(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,m({type:o.REPLACE})}function T(){var e,t=v;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(h())}return r(),{unsubscribe:t(r)}}})[n.a]=function(){return this},e}return m({type:o.INIT}),(i={dispatch:m,subscribe:v,getState:h,replaceReducer:y})[n.a]=T,i}function u(e,t){var r=t&&t.type;return"Given "+(r&&'action "'+String(r)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];0,"function"===typeof e[i]&&(r[i]=e[i])}var a,s=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if("undefined"===typeof r(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof r(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(r)}catch(c){a=c}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var n=!1,i={},o=0;o<s.length;o++){var c=s[o],l=r[c],p=e[c],f=l(p,t);if("undefined"===typeof f){var d=u(c,t);throw new Error(d)}i[c]=f,n=n||f!==p}return(n=n||s.length!==Object.keys(e).length)?i:e}}function l(e,t){return function(){return t(e.apply(this,arguments))}}function p(e,t){if("function"===typeof e)return l(e,t);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var r={};for(var n in e){var i=e[n];"function"===typeof i&&(r[n]=l(i,t))}return r}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(r,!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return h({},r,{dispatch:n=v.apply(void 0,o)(r.dispatch)})}}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/SAGA_ERROR"}},t.SAGA_ERROR=void 0;t.SAGA_ERROR="WEB_CHAT/SAGA_ERROR"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/START_DICTATE"}},t.START_DICTATE=void 0;t.START_DICTATE="WEB_CHAT/START_DICTATE"},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.alt,r=e.data,n=e.id,o=e.level,a=e.message;n&&"string"===typeof n||(console.warn('botframework-webchat: The "id" argument passed to "setNotification" must be a string; defaulting to a random value.'),n=(0,i.default)());o&&"string"===typeof o||(console.warn('botframework-webchat: The "level" argument passed to "setNotification" must be a string; defaulting to "info".'),o="info");return{type:"WEB_CHAT/SET_NOTIFICATION",payload:{alt:t,data:r,id:n,level:o,message:a}}},t.SET_NOTIFICATION=void 0;var i=n(r(360));t.SET_NOTIFICATION="WEB_CHAT/SET_NOTIFICATION"},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return Date.now()+(0,i.default)().toString(36).substr(2)};var i=n(r(86))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_SEND_TYPING_INDICATOR",payload:{sendTypingIndicator:!!e}}},t.SET_SEND_TYPING_INDICATOR=void 0;t.SET_SEND_TYPING_INDICATOR="WEB_CHAT/SET_SEND_TYPING_INDICATOR"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/START_SPEAKING"}},t.START_SPEAKING_ACTIVITY=void 0;t.START_SPEAKING_ACTIVITY="WEB_CHAT/START_SPEAKING"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return{type:"WEB_CHAT/SET_SUGGESTED_ACTIONS",payload:{suggestedActions:e}}},t.SET_SUGGESTED_ACTIONS=void 0;var n=[];t.SET_SUGGESTED_ACTIONS="WEB_CHAT/SET_SUGGESTED_ACTIONS"},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{push:function(r){if(e){var n=e.resolve;e=null,n(r)}else t.push(r)},shift:function(){return t.length?Promise.resolve(t.shift()):(e||(e=(0,i.default)())).promise}}};var i=n(r(176))},function(e,t,r){var n=r(43),i=r(267),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(49),i=r(108),o=r(527);e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return n(t)&&Object(e)instanceof t}},function(e,t,r){var n=r(269),i=r(43);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){var n=r(130);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},function(e,t,r){var n=r(178),i=r(371);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:n?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(47),i=r(931),o=n["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,r){var n=r(47),i=r(56),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(220),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){var n={};n[r(53)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){var n=r(49),i=r(371),o=Function.toString;n(i.inspectSource)||(i.inspectSource=function(e){return o.call(e)}),e.exports=i.inspectSource},function(e,t,r){"use strict";var n=r(36),i=r(178),o=r(936),a=r(49),s=r(937),u=r(272),c=r(274),l=r(184),p=r(119),f=r(183),d=r(53),h=r(180),v=r(539),m=o.PROPER,y=o.CONFIGURABLE,T=v.IteratorPrototype,b=v.BUGGY_SAFARI_ITERATORS,g=d("iterator"),_=function(){return this};e.exports=function(e,t,r,o,d,v,S){s(r,t,o);var A,E,C,O=function(e){if(e===d&&R)return R;if(!b&&e in P)return P[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",w=!1,P=e.prototype,N=P[g]||P["@@iterator"]||d&&P[d],R=!b&&N||O(d),k="Array"==t&&P.entries||N;if(k&&(A=u(k.call(new e)))!==Object.prototype&&A.next&&(i||u(A)===T||(c?c(A,T):a(A[g])||f(A,g,_)),l(A,I,!0,!0),i&&(h[I]=_)),m&&"values"==d&&N&&"values"!==N.name&&(!i&&y?p(P,"
2name","values"):(w=!0,R=function(){return N.call(this)})),d)if(E={values:O("values"),keys:v?R:O("keys"),entries:O("entries")},S)for(C in E)(b||w||!(C in P))&&f(P,C,E[C]);else n({target:t,proto:!0,forced:b||w},E);return i&&!S||P[g]===R||f(P,g,R,{name:d}),h[t]=R,E}},function(e,t,r){var n=r(267),i=r(47);e.exports="process"==n(i.process)},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(57),i=r(383),o=n["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,r){var n=r(57),i=r(121);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},function(e,t,r){var n=r(57),i=r(135),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(155);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n=r(57);e.exports=n},function(e,t,r){var n,i=r(99),o=r(955),a=r(390),s=r(389),u=r(560),c=r(384),l=r(391),p=l("IE_PROTO"),f=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}h=n?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):function(){var e,t=c("iframe");return t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F}();for(var e=a.length;e--;)delete h.prototype[a[e]];return h()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=i(e),r=new f,f.prototype=null,r[p]=e):r=h(),void 0===t?r:o(r,t)}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports={}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){var n=r(550),i=r(554),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,r){var n=r(382),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},function(e,t,r){var n=r(133),i=r(562),o=r(282),a=r(223),s=r(552),u=r(110),c=r(551),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t,!0),c)try{return l(e,t)}catch(r){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,r){var n=r(110),i=r(553),o=r(391),a=r(964),s=o("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,r){var n=r(134).f,i=r(110),o=r(73)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){var n=r(99),i=r(965);
2e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},function(e,t,r){var n={};n[r(73)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){var n=r(380),i=r(57);e.exports="process"==n(i.process)},function(e,t,r){"use strict";var n,i=r(287);function o(){try{return n.apply(this,arguments)}catch(e){return i.errorObject.e=e,i.errorObject}}t.tryCatch=function(e){return n=e,o}},function(e,t,r){"use strict";var n=r(123).root.Symbol;t.rxSubscriber="function"===typeof n&&"function"===typeof n.for?n.for("rxSubscriber"):"@@rxSubscriber",t.$$rxSubscriber=t.rxSubscriber},function(e,t,r){"use strict";var n=r(123);function i(e){var t,r=e.Symbol;return"function"===typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}t.getSymbolObservable=i,t.observable=i(n.root),t.$$observable=t.observable},function(e,t,r){"use strict";var n=r(123);function i(e){var t=e.Symbol;if("function"===typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var r=e.Set;if(r&&"function"===typeof(new r)["@@iterator"])return"@@iterator";var n=e.Map;if(n)for(var i=Object.getOwnPropertyNames(n.prototype),o=0;o<i.length;++o){var a=i[o];if("entries"!==a&&"size"!==a&&n.prototype[a]===n.prototype.entries)return a}return"@@iterator"}t.symbolIteratorPonyfill=i,t.iterator=i(n.root),t.$$iterator=t.iterator},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(29),o=r(593),a=r(291),s=r(1002),u=function(e){function t(t,r){e.call(this),this.array=t,this.scheduler=r,r||1!==t.length||(this._isScalar=!0,this.value=t[0])}return n(t,e),t.create=function(e,r){return new t(e,r)},t.of=function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=e[e.length-1];s.isScheduler(n)?e.pop():n=null;var i=e.length;return i>1?new t(e,n):1===i?new o.ScalarObservable(e[0],n):new a.EmptyObservable(n)},t.dispatch=function(e){var t=e.array,r=e.index,n=e.count,i=e.subscriber;r>=n?i.complete():(i.next(t[r]),i.closed||(e.index=r+1,this.schedule(e)))},t.prototype._subscribe=function(e){var r=this.array,n=r.length,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{array:r,index:0,count:n,subscriber:e});for(var o=0;o<n&&!e.closed;o++)e.next(r[o]);e.complete()},t}(i.Observable);t.ArrayObservable=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/EMIT_TYPING_INDICATOR"}},t.EMIT_TYPING_INDICATOR=void 0;t.EMIT_TYPING_INDICATOR="WEB_CHAT/EMIT_TYPING_INDICATOR"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ofType=t.ofID=t.of=t.default=void 0;var n=function(e){var t=e.activities;return t},i=function(e){return function(t){return n(t).filter(e)}};t.of=i;t.ofID=function(e){return i((function(t){return t.id===e}))};t.ofType=function(e){return i((function(t){return t.type===e}))};var o=n;t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.channelData;return{type:"WEB_CHAT/SEND_MESSAGE",payload:{channelData:n,method:t,text:e}}},t.SEND_MESSAGE=void 0;t.SEND_MESSAGE="WEB_CHAT/SEND_MESSAGE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(0).createContext)(void 0);n.displayName="WebChatAPIContext";var i=n;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(n=(0,o.default)(),s=1,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(n,s)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}
2(n,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],t=e.sendTimeout,r=e.sendTimeoutForAttachments;var n,s;return(0,i.useMemo)((function(){return function(e){var n=e.activity;return"function"===typeof t?t(n):n.attachments&&n.attachments.length?r:t}}),[t,r])};var n,i=r(0),o=(n=r(124))&&n.__esModule?n:{default:n};function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n,i,o;!function(a,s){"use strict";i=[r(231)],void 0===(o="function"===typeof(n=function(e){var t=e._runtimeKey,r=e._validateParameterPresence,n=e._validateParameterType,i=function(e,t){n(e,t,void 0===e||"number"===typeof e,"Number")};return e._pluralGeneratorFn=function(e){return function(t){return r(t,"value"),i(t,"value"),e(t)}},e._validateParameterTypeNumber=i,e.plural=e.prototype.plural=function(e,t){return r(e,"value"),i(e,"value"),this.pluralGenerator(t)(e)},e.pluralGenerator=e.prototype.pluralGenerator=function(r){return r=r||{},e[t("pluralGenerator",this._locale,[r])]},e})?n.apply(t,i):n)||(e.exports=o)}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=ee(r(1150)),o=ee(r(1151)),a=ee(r(1152)),s=ee(r(1153)),u=ee(r(1154)),c=ee(r(1155)),l=ee(r(1156)),p=ee(r(1157)),f=ee(r(1158)),d=ee(r(1159)),h=ee(r(1160)),v=ee(r(1161)),m=ee(r(1162)),y=ee(r(1163)),T=ee(r(1164)),b=ee(r(1165)),g=ee(r(1166)),_=ee(r(1167)),S=ee(r(1168)),A=ee(r(1169)),E=ee(r(1170)),C=ee(r(1171)),O=ee(r(1172)),I=ee(r(1173)),w=ee(r(1174)),P=ee(r(1175)),N=ee(r(1176)),R=ee(r(1177)),k=ee(r(1178)),x=ee(r(1179)),M=ee(r(1180)),L=ee(r(1181)),j=ee(r(1182)),D=ee(r(1183)),U=ee(r(1184)),B=ee(r(1185)),F=ee(r(1186)),V=ee(r(1187)),z=ee(r(1188)),H=ee(r(1189)),G=ee(r(1190)),q=ee(r(1191)),Y=ee(r(1192)),W=ee(r(1193)),K=ee(r(1194)),$=ee(r(1195)),J=ee(r(1196)),X=ee(r(1197)),Z=ee(r(1198)),Q=ee(r(1199));function ee(e){return e&&e.__esModule?e:{default:e}}var te=function(){return n||(n=(0,Q.default)({"ar-EG":i.default,"ar-JO":o.default,"ar-SA":a.default,"bg-BG":s.default,"ca-ES":u.default,"cs-CZ":c.default,"da-DK":l.default,"de-DE":p.default,"el-GR":f.default,"en-US":d.default,"es-ES":h.default,"et-EE":v.default,"eu-ES":m.default,"fi-FI":y.default,"fr-FR":T.default,"gl-ES":b.default,"he-IL":g.default,"hi-IN":_.default,"hr-HR":S.default,"hu-HU":A.default,"id-ID":E.default,"it-IT":C.default,"ja-JP":O.default,"kk-KZ":I.default,"ko-KR":w.default,"lt-LT":P.default,"lv-LV":N.default,"ms-MY":R.default,"nb-NO":k.default,"nl-NL":x.default,"pl-PL":M.default,"pt-BR":L.default,"pt-PT":j.default,"ro-RO":D.default,"ru-RU":U.default,"sk-SK":B.default,"sl-SI":F.default,"sr-Cyrl":V.default,"sr-Latn":z.default,"sv-SE":H.default,"th-TH":G.default,"tr-TR":q.default,"uk-UA":Y.default,"vi-VN":W.default,yue:K.default,"zh-Hans":$.default,"zh-Hant":X.default,"zh-Hans-SG":$.default,"zh-Hant-HK":J.default,"zh-Hant-MO":X.default},Z.default))};t.default=te},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.plural,r=(0,o.default)(),i=l(r,1),u=i[0],p=(0,a.default)();return(0,n.useCallback)((function(e){for(var r=e,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];if(t){var a=e;if(!(0,s.default)(a))throw new Error('useLocalizer: Plural string must pass "id" as a map instead of string.');if("string"!==typeof a.other)throw new Error('useLocalizer: Plural string must have "id.other" of string.');if("number"!==typeof i[0])throw new Error("useLocalizer: Plural string must have first argument as a number.");for(var d=0,h=["zero","one","two","few","many"];d<h.length;d++){var v=h[d],m=c(e[v]);if("string"!==m&&"undefined"!==m)throw new Error('useLocalizer: Plural string must have "id.'.concat(v,'" of string or undefined.'))}var y=Object.keys(e).filter((function(e){return!["zero","one","two","few","many","other"].includes(e)}));if(y.length)throw new Error('useLocalizer: Plural string "id" must be either "zero", "one", "two", "few", "many", "other". But not '.concat(y.map((function(e){return'"'.concat(e,'"')})).join(", "),"."));r=a[u.plural(i[0])]||a.other}else if("string"!==typeof e)throw new Error('useLocalizer: "id" must be a string.');return Object.entries(i).reduce((function(e,t){var r=l(t,2),n=r[0],i=r[1];return e.replace("$".concat(+n+1),i)}),p[r]||f[r]||"")}),[u,p,t])};var n=r(0),i=u(r(410)),o=u(r(294)),a=u(r(618)),s=u(r(412));
2function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=(0,i.default)()["en-US"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"[object Object]"===n.call(e)};var n={}.toString},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().telemetryDimensionsRef;return(0,i.useCallback)((function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.current)}),[e])};var n,i=r(0),o=(n=r(21))&&n.__esModule?n:{default:n};function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)().onTelemetry,t=(0,o.default)();return(0,n.useCallback)((function(r){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!(r instanceof Error))return console.warn('botframework-webchat: "error" passed to "useTrackException" must be specified and of type Error.');e&&e((0,i.default)("exception",{dimensions:c({},t()),error:r,fatal:!!n}))}),[e,t])};var n=r(0),i=s(r(297)),o=s(r(413)),a=s(r(21));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.tabIndex;if(a){var r=e.attributes.getNamedItem("tabindex");if(!r||!r.specified)return~i.indexOf(e.nodeName.toLowerCase())?0:null}else if(!~t){var n=e.getAttribute("tabindex");if(null===n||""===n&&!o)return null}return t};var n=window.navigator.userAgent,i=["a","body","button","frame","iframe","img","input","isindex","object","select","textarea"],o=/Firefox\//i.test(n),a=/Trident\//i.test(n)},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(0).createContext)();t.default=n},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.useMicrophoneButtonClick=R,t.useMicrophoneButtonDisabled=k,t.connectMicrophoneButton=t.default=void 0;var i=r(70),o=r(13),a=T(r(20)),s=T(r(339)),u=T(r(5)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),l=T(r(92)),p=T(r(418)),f=T(r(1255)),d=T(r(637)),h=T(r(23)),v=T(r(40)),m=T(r(187));function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var _=i.Constants.DictateState,S=o.hooks.useDictateInterims,A=o.hooks.useDictateState,E=o.hooks.useDisabled,C=o.hooks.useLocalizer,O=o.hooks.useSendBoxValue,I=o.hooks.useShouldSpeakIncomingActivity,w=o.hooks.useStartDictate,P=o.hooks.useStopDictate,N={display:"flex","& > .sr-only":{color:"transparent",height:1,left:-1e4,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}};function R(){var e=b(O(),2)[1],t=b(I(),2)[1],r=b(S(),1)[0],n=b(A(),1)[0],i=b((0,m.default)(),1)[0],o=w(),a=P(),u=i||{},l=u.speechSynthesis,p=u.SpeechSynthesisUtterance,f=(0,c.useState)((function(){return(0,s.default)((function(e,t){if(e&&t){var r=new t(""),n=b(e.getVoices(),1);r.voice=n[0],e.speak(r)}}))})),d=b(f,1)[0];return(0,c.useCallback)((function(){n===_.WILL_START?t(!1):n===_.DICTATING?(a(),e(r.join(" "))):(t(!1),o()),d(l,p)}),[r,n,d,e,t,l,p,o,a])}function k(){var e=b((0,d.default)(),1)[0],t=b(A(),1)[0];return[b(E(),1)[0]||t===_.STARTING||t===_.STOPPING||t===_.DICTATING&&!e]}t.connectMicrophoneButton=function(){for(var e=(0,s.default)((function(e,t){if(e&&t){var r=new t(""),n=b(e.getVoices(),1);r.voice=n[0],e.speak(r)}})),t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return l.default.apply(void 0,[function(t){var r=t.disabled,n=t.dictateInterims,i=t.dictateState,o=t.language,a=t.setSendBox,s=t.startDictate,u=t.stopDictate,c=t.stopSpeakingActivity,l=t.webSpeechPonyfill||{},p=l.speechSynthesis,f=l.SpeechSynthesisUtterance;return{click:function(){i===_.WILL_START?c():i===_.DICTATING?(u(),a(n.join(" "))):(c(),s()),e(p,f)},dictating:i===_.DICTATING,disabled:r||i===_.STARTING&&i===_.STOPPING,language:o}}].concat(r))};var x=function(e){var t=e.className,r=b((0,h.default)(),1)[0].microphoneButton,n=b(A(),1)[0],i=b(k(),1)[0],o=R(),s=C(),u=(0,v.default)()(N)+"",l=n===_.DICTATING;return c.default.createElement("div",{"aria-controls":"webchatSendBoxMicrophoneButton",className:(0,a.default)("webchat__microphone-button",{"webchat__microphone-button--dictating":l},r+"",u,(t||"")+"")},c.default.createElement(p.default,{alt:s("TEXT_INPUT_SPEAK_BUTTON_ALT"),className:"webchat__microphone-button__button",disabled:i,onClick:o},c.default.createElement(f.default,{className:"webchat__microphone-button__icon"})),c.default.createElement("div",{"aria-live":"polite",className:"sr-only",id:"webchatSendBoxMicrophoneButton",role:"status"},s(l?"SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT")))};x.defaultProps={className:""},x.propTypes={className:u.default.string};var M=x;t.default=M},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=c(r(20)),o=c(r(5)),a=c(r(0)),s=c(r(636)),u=c(r(23));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useStyleOptions,d=function(e){var t=e.alt,r=e.children,n=e.className,o=e.disabled,c=e.onClick,p=l(f(),1)[0].sendBoxButtonAlignment,d=l((0,u.default)(),1)[0].sendBoxButton;return a.default.createElement(s.default,{className:(0,i.default)(d+"","webchat__icon-button",{"webchat__icon-button--stretch":"bottom"!==p&&"top"!==p},n+""),disabled:o,onClick:o?void 0:c,title:t,type:"button"},r)};d.defaultProps={alt:"",children:void 0,className:"",disabled:!1,onClick:void 0},d.propTypes={alt:o.default.string,children:o.default.any,className:o.default.string,disabled:o.default.bool,onClick:o.default.func};var h=d;t.default=h},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},function(e,t,r){var n=r(51),i=r(112),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(51),i=r(126);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},function(e,t,r){var n=r(423),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},function(e,t,r){var n=r(51),i=r(421),o=n["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t,r){var n=r(646),i=r(426).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){var n=r(306),i=r(67);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())||!Symbol.sham&&n&&n<41}))},function(e,t,r){var n=r(189);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n,i=r(83),o=r(1264),a=r(426),s=r(304),u=r(652),c=r(420),l=r(302),p=l("IE_PROTO"),f=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}h=n?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):function(){var e,t=c("iframe");return t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F}();for(var e=a.length;e--;)delete h.prototype[a[e]];return h()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=i(e),r=new f,f.prototype=null,r[p]=e):r=h(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(237);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(233);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n={};n[r(58)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){"use strict";var n=r(664),i=r(1285),o=r(303),a=RegExp.prototype.exec,s=o("native-string-replace",String.prototype.replace),u=a,c=function(){var e=/a/,t=/b*/g;return a.call(e,"a"),a.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=i.UNSUPPORTED_Y||i.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(c||p||l)&&(u=function(e){var t,r,i,o,u=this,f=l&&u.sticky,d=n.call(u),h=u.source,v=0,m=e;return f&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),m=String(e).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==e[u.lastIndex-1])&&(h="(?: "+h+")",m=" "+m,v++),r=new RegExp("^(?:"+h+")",d)),p&&(r=new RegExp("^"+h+"$(?!\\s)",d)),c&&(t=u.lastIndex),i=a.call(f?r:u,m),f?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:c&&i&&(u.lastIndex=u.global?i.index+i[0].length:t),p&&i&&i.length>1&&s.call(i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i}),e.exports=u},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
2Object.defineProperty(t,"__esModule",{value:!0}),t.useTextBoxSubmit=L,t.useTextBoxValue=j,t.connectSendTextBox=t.default=void 0;var i=r(13),o=S(r(20)),a=S(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=_(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=r(671),c=S(r(1316)),l=S(r(1317)),p=S(r(92)),f=S(r(1319)),d=S(r(158)),h=S(r(1320)),v=S(r(1321)),m=S(r(673)),y=S(r(298)),T=S(r(675)),b=S(r(23)),g=S(r(40));function _(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_=function(e){return e?r:t})(e)}function S(e){return e&&e.__esModule?e:{default:e}}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){C(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return I(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var w=i.hooks.useDisabled,P=i.hooks.useLocalizer,N=i.hooks.useSendBoxValue,R=i.hooks.useStopDictate,k=i.hooks.useStyleOptions,x=i.hooks.useSubmitSendBox,M={"&.webchat__send-box-text-box":{display:"flex","& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area":{flex:1}}};function L(){var e=O(N(),1)[0],t=(0,d.default)(),r=(0,y.default)(),n=x();return(0,s.useCallback)((function(i){return e&&(r(),n(),i&&(!0===i?(console.warn('"botframework-webchat: Passing "true" to "useTextBoxSubmit" is deprecated and will be removed on or after 2022-04-23. Please pass "sendBox" instead."'),t("sendBox")):t(i))),!!e}),[t,r,e,n])}function j(){var e=O(N(),2),t=e[0],r=e[1],n=(0,v.default)(),i=R(),o=(0,s.useCallback)((function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.selectionEnd,s=o.selectionStart;if("string"!==typeof e)throw new Error("botframework-webchat: First argument passed to useTextBoxValue() must be a string.");if(e.length===t.length+1){var u=n({selectionEnd:a,selectionStart:s,value:e}),c=u.selectionEnd,l=u.selectionStart,p=u.value;a=c,s=l,e=p}return r(e),i(),{selectionEnd:a,selectionStart:s,value:e}}),[n,r,i,t]);return[t,o]}t.connectSendTextBox=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return p.default.apply(void 0,[function(e){var t=e.disabled,r=e.focusSendBox,n=e.language,i=e.scrollToEnd,o=e.sendBoxValue,a=e.setSendBox,s=e.stopDictate,u=e.submitSendBox;return{disabled:t,language:n,onChange:function(e){var t=e.target.value;a(t),s()},onKeyPress:function(e){var t=e.key,n=e.shiftKey;"Enter"!==t||n||(e.preventDefault(),o&&(i(),u(),r()))},onSubmit:function(e){e.preventDefault(),o&&(i(),u())},value:o}}].concat(t))};var D=function(e){return e.preventDefault()},U=function(e){var t=e.className,r=O(N(),2)[1],n=O((0,b.default)(),1)[0].sendBoxTextBox,i=O(k(),1)[0].sendBoxTextWrap,a=O(w(),1)[0],p=O(j(),2),d=p[0],v=p[1],y=(0,s.useRef)(),_=P(),S=(0,s.useRef)(!1),A=(0,s.useRef)(),C=(0,g.default)()(M)+"",I=(0,m.default)(),R=(0,T.default)(),x=L(),U=(0,s.useRef)([]),B=_("TEXT_INPUT_ALT"),F=_("TEXT_INPUT_PLACEHOLDER"),V=(0,s.useCallback)((function(){var e=y.current,t=e.selectionEnd,r=e.selectionStart,n=e.value;A.current={selectionEnd:t,selectionStart:r,value:n}}),[y,A]);(0,s.useEffect)(V,[V]);var z=(0,s.useCallback)((function(e){var t=e.selectionEnd,n=e.selectionStart,i=e.value;y.current&&(y.current.value=i,y.current.selectionStart=n,y.current.selectionEnd=t),r(i)}),[y,r]),H=(0,s.useCallback)((function(e){var t=e.target,r=t.selectionEnd,n=t.selectionStart,i=t.value;S.current&&(U.current.push(E({},A.current)),S.current=!1);var o=v(i,{selectionEnd:r,selectionStart:n});o.value!==i&&(U.current.push({selectionEnd:r,selectionStart:n,value:i}),S.current=!0,z(o))}),[S,A,z,v,U]),G=(0,s.useCallback)((function(){V(),S.current=!0}),[S,V]),q=(0,s.useCallback)((function(e){var t=e.ctrlKey,r=e.key,n=e.metaKey;if((t||n)&&("Z"===r||"z"===r)){e.preventDefault();var i=U.current.pop();A.current=i?E({},i):{selectionEnd:0,selectionStart:0,value:""},z(A.current)}}),[A,z,U]),Y=(0,s.useCallback)((function(e){var t=e.key,r=e.shiftKey;"Enter"!==t||r||(e.preventDefault(),x("sendBox"),U.current=[])}),[x,U]),W=(0,s.useCallback)((function(e){var t=e.target,r=t.selectionEnd,n=t.selectionStart,i=t.value;i===A.current.value&&(S.current=!0),A.current={selectionEnd:r,selectionStart:n,value:i}}),[S,A]),K=(0,s.useCallback)((function(e){e.preventDefault(),x(),U.current=[]}
2),[x,U]),$=(0,s.useCallback)((function(e){var t=e.ctrlKey,r=e.metaKey,n=e.shiftKey;if(!(t||r||n)&&(0,f.default)(e)){var i=!0;switch(e.key){case"End":I({displacement:1/0});break;case"Home":R({displacement:1/0});break;case"PageDown":I();break;case"PageUp":R();break;default:i=!1}i&&(e.preventDefault(),e.stopPropagation())}}),[I,R]),J=(0,s.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.noKeyboard,r=y.current;if(r)if(t&&!u.ie11){var n=r.getAttribute("readonly");r.setAttribute("readonly","readonly"),setTimeout((function(){var e=y.current;e&&(e.focus(),n?e.setAttribute("readonly",n):e.removeAttribute("readonly"))}),0)}else r.focus()}),[y]);return(0,h.default)(J),s.default.createElement("form",{"aria-disabled":a,className:(0,o.default)("webchat__send-box-text-box",C,n+"",(t||"")+""),onSubmit:a?D:K},i?s.default.createElement(l.default,{"aria-label":B,className:"webchat__send-box-text-box__text-area","data-id":"webchat-sendbox-input",disabled:a,enterKeyHint:"send",inputMode:"text",onChange:a?void 0:H,onFocus:a?void 0:G,onKeyDown:a?void 0:q,onKeyDownCapture:a?void 0:$,onKeyPress:a?void 0:Y,onSelect:a?void 0:W,placeholder:F,readOnly:a,ref:y,rows:1,textAreaClassName:"webchat__send-box-text-box__html-text-area",value:d}):s.default.createElement(c.default,{"aria-label":B,className:"webchat__send-box-text-box__input","data-id":"webchat-sendbox-input",disabled:a,enterKeyHint:"send",inputMode:"text",onChange:a?void 0:H,onFocus:a?void 0:G,onKeyDown:a?void 0:q,onKeyDownCapture:a?void 0:$,onKeyPress:a?void 0:Y,onSelect:a?void 0:W,placeholder:F,readOnly:a,ref:y,type:"text",value:d}),a&&s.default.createElement("div",{className:"webchat__send-box-text-box__glass"}))};U.defaultProps={className:""},U.propTypes={className:a.default.string};var B=U;t.default=B},function(e,t,r){"use strict";var n=r(3);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){return p.apply(this,arguments)};var o,a=(o=r(1323))&&o.__esModule?o:{default:o},s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(677));function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){c(o,n,i,a,s,"next",e)}function s(e){c(o,n,i,a,s,"throw",e)}a(void 0)}))}}function p(){return(p=l(n.mark((function e(t,r,i,o,u){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.checkSupport)();case 2:if(!e.sent){e.next=4;break}return e.abrupt("return",(0,s.default)(t,r,i,o,u));case 4:return e.abrupt("return",(0,a.default)(t,r,i,o,u));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return(0,i.default)().toString(36).substr(2,e)};var n,i=(n=r(86))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){switch(e){case"plain":return"text/plain";case"xml":return"text/xml";default:return"text/markdown"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)().renderMarkdown,t=(n=c(),i=1,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(n,i)||function(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}
2(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],r=u()("MARKDOWN_EXTERNAL_LINK_ALT");var n,i;return(0,o.useMemo)((function(){return e&&function(n){return e(n,t,{externalLinkAlt:r})}}),[r,e,t])};var n,i=r(13),o=r(0),a=(n=r(44))&&n.__esModule?n:{default:n};function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=i.hooks.useLocalizer,c=i.hooks.useStyleOptions},function(e,t,r){"use strict";var n=r(322),i=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(87)),a=i(r(440)),s=i(r(1339)),u=i(r(5)),c=n(r(0)),l=i(r(441)),p=i(r(323)),f=i(r(686)),d=i(r(324)),h=i(r(687));function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(r,!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function e(t){var r=(0,d.default)(t,e),n=r.lang,i=r.onBoundary,o=r.onEnd,a=r.onError,u=r.onStart,l=r.pitch,v=r.rate,m=r.speak,y=r.text,T=r.voice,b=r.volume,g=(0,c.useContext)(p.default).ponyfill;m&&!y&&(console.warn('react-say: "speak" prop is being deprecated and renamed to "text".'),(0,s.default)("text"),y=m);var _=(0,c.useMemo)((function(){return(0,f.default)(g,{lang:n,onBoundary:i,pitch:l,rate:v,text:y,voice:T,volume:b})}),[n,i,l,g,v,y,T,b]);return c.default.createElement(h.default,{onEnd:o,onError:a,onStart:u,ponyfill:g,utterance:_})};y.defaultProps={children:void 0,lang:void 0,onBoundary:void 0,onEnd:void 0,onError:void 0,onStart:void 0,pitch:void 0,rate:void 0,speak:void 0,voice:void 0,volume:void 0},y.propTypes={children:u.default.any,lang:u.default.string,onBoundary:u.default.func,onEnd:u.default.func,onError:u.default.func,onStart:u.default.func,pitch:u.default.number,rate:u.default.number,speak:u.default.string,text:u.default.string.isRequired,voice:u.default.oneOfType([u.default.any,u.default.func]),volume:u.default.number};var T=function(e){var t=e.ponyfill,r=(0,a.default)(e,["ponyfill"]);return c.default.createElement(l.default,{ponyfill:t},c.default.createElement(y,r))};T.defaultProps=m({},h.default.defaultProps,{ponyfill:void 0}),T.propTypes=m({},h.default.propTypes,{ponyfill:u.default.shape({speechSynthesis:u.default.any.isRequired,SpeechSynthesisUtterance:u.default.any.isRequired})});var b=T;t.default=b},function(e,t,r){var n=r(1338);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(322),i=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(37)),a=i(r(5)),s=n(r(0)),u=i(r(323)),c=i(r(1340)),l=i(r(324)),p=i(r(1349)),f=function e(t){var r=(0,l.default)(t,e),n=r.children,i=r.ponyfill,a=(0,s.useContext)(u.default)||{},f=a.ponyfill,d=a.synthesize,h=i||f||{speechSynthesis:window.speechSynthesis||window.webkitSpeechSynthesis,SpeechSynthesisUtterance:window.SpeechSynthesisUtterance||window.webkitSpeechSynthesisUtterance},v=(0,s.useMemo)((function(){return d||(0,c.default)()}),[d]),m=h.speechSynthesis,y=(0,s.useState)(m.getVoices()),T=(0,o.default)(y,2),b=T[0],g=T[1];(0,p.default)(m,"voiceschanged",(function(){return g(m.getVoices())}));var _=(0,s.useMemo)((function(){return{ponyfill:h,synthesize:v,voices:b}}),[h,v,b]);return s.default.createElement(u.default.Provider,{value:_},"function"===typeof n?s.default.createElement(u.default.Consumer,null,(function(e){return n(e)})):n)};f.defaultProps={children:void 0,ponyfill:void 0}
2,f.propTypes={children:a.default.any,ponyfill:a.default.shape({speechSynthesis:a.default.any,SpeechSynthesisUtterance:a.default.any})};var d=f;t.default=d},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("error"===e){if("function"===typeof ErrorEvent)return new ErrorEvent(e,t)}else if("function"===typeof CustomEvent)return new CustomEvent(e,t);var r=document.createEvent("Event");return r.initEvent(e,!0,!0),Object.entries(t||{}).forEach((function(e){var t=(0,i.default)(e,2),n=t[0],o=t[1];r[n]=o})),r};var i=n(r(37))},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){for(var o,a={},s=0,u=Object.entries(r);s<u.length;s++){var c=(d=u[s],h=2,function(e){if(Array.isArray(e))return e}(d)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(d,h)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(d,h)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=c[0],p=c[1];if("number"===typeof p||"string"===typeof p){var f=l.replace(/(^left|^right|Left|Right)/,(function(e){return"Left"===e?"Right":"left"===e?"right":"Right"===e?"Left":"left"}));a[f]=p}else a[l]=e("",p)}var d,h;var v=/^&[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*/g.exec(t)||"";return t?(n(o={},"".concat(v,":not(").concat(t.substr(v.length),")"),r),n(o,t,a),o):a}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))}
2))}))},n.prototype.at=function(e,t,r){var n=this.__find__(e),i=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=i.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var i=this.__find__(e),o=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var i=this.__find__(e),o=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)}),this),this.__cache__=null,r},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)}),this),this.__cache__=null,r},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},n.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=n},function(e,t,r){e.exports=r(1506)},function(e,t,r){var n=r(1509);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},function(e,t,r){var n=r(532),i=r(374).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){var n=r(107),i=r(449).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(n(e))}},function(e,t,r){"use strict";var n=r(43);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},function(e,t,r){var n=r(735);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1572),i=r(737),o=r(452),a=r(1573);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n;
2Object.defineProperty(t,"__esModule",{value:!0}),t.marshalPromiseToCallbacks=t.Sink=t.Deferred=t.PromiseResultEventSource=t.PromiseResult=t.PromiseState=void 0,function(e){e[e.None=0]="None",e[e.Resolved=1]="Resolved",e[e.Rejected=2]="Rejected"}(n=t.PromiseState||(t.PromiseState={}));var i=function(){function e(e){var t=this;this.throwIfError=function(){if(t.isError)throw t.error},e.on((function(e){t.privIsCompleted||(t.privIsCompleted=!0,t.privIsError=!1,t.privResult=e)}),(function(e){t.privIsCompleted||(t.privIsCompleted=!0,t.privIsError=!0,t.privError=e)}))}return Object.defineProperty(e.prototype,"isCompleted",{get:function(){return this.privIsCompleted},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isError",{get:function(){return this.privIsError},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"error",{get:function(){return this.privError},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),e}();t.PromiseResult=i;var o=function(){var e=this;this.setResult=function(t){e.privOnSetResult(t)},this.setError=function(t){e.privOnSetError(t)},this.on=function(t,r){e.privOnSetResult=t,e.privOnSetError=r}};t.PromiseResultEventSource=o;var a=function(){function e(){var e=this;this.resolve=function(t){return e.privResolve(t),e},this.reject=function(t){return e.privReject(t),e},this.privPromise=new Promise((function(t,r){e.privResolve=t,e.privReject=r}))}return Object.defineProperty(e.prototype,"promise",{get:function(){return this.privPromise},enumerable:!1,configurable:!0}),e}();t.Deferred=a;var s=function(){function e(){var e=this;this.privState=n.None,this.privPromiseResult=null,this.privPromiseResultEvents=null,this.privSuccessHandlers=[],this.privErrorHandlers=[],this.resolve=function(t){if(e.privState!==n.None)throw new Error("'Cannot resolve a completed promise'");e.privState=n.Resolved,e.privPromiseResultEvents.setResult(t);for(var r=0;r<e.privSuccessHandlers.length;r++)e.executeSuccessCallback(t,e.privSuccessHandlers[r],e.privErrorHandlers[r]);e.detachHandlers()},this.reject=function(t){if(e.privState!==n.None)throw new Error("'Cannot reject a completed promise'");e.privState=n.Rejected,e.privPromiseResultEvents.setError(t);for(var r=0,i=e.privErrorHandlers;r<i.length;r++){var o=i[r];e.executeErrorCallback(t,o)}e.detachHandlers()},this.on=function(t,r){null==t&&(t=function(e){}),e.privState===n.None?(e.privSuccessHandlers.push(t),e.privErrorHandlers.push(r)):(e.privState===n.Resolved?e.executeSuccessCallback(e.privPromiseResult.result,t,r):e.privState===n.Rejected&&e.executeErrorCallback(e.privPromiseResult.error,r),e.detachHandlers())},this.executeSuccessCallback=function(t,r,n){try{r(t)}catch(i){e.executeErrorCallback("'Unhandled callback error: "+i+"'",n)}},this.executeErrorCallback=function(e,t){if(!t)throw new Error("'Unhandled error: "+e+"'");try{t(e)}catch(r){throw new Error("'Unhandled callback error: "+r+". InnerError: "+e+"'")}},this.detachHandlers=function(){e.privErrorHandlers=[],e.privSuccessHandlers=[]},this.privPromiseResultEvents=new o,this.privPromiseResult=new i(this.privPromiseResultEvents)}return Object.defineProperty(e.prototype,"state",{get:function(){return this.privState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"result",{get:function(){return this.privPromiseResult},enumerable:!1,configurable:!0}),e}();t.Sink=s,t.marshalPromiseToCallbacks=function(e,t,r){e.then((function(e){try{t&&t(e)}catch(i){if(r)try{if(i instanceof Error){var n=i;r(n.name+": "+n.message)}else r(i)}catch(i){}}}),(function(e){if(r)try{if(e instanceof Error){var t=e;r(t.name+": "+t.message)}else r(e)}catch(e){}}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationStatus=void 0,function(e){e[e.Success=0]="Success",e[e.Error=1]="Error"}(t.TranslationStatus||(t.TranslationStatus={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthInfo=void 0;var n=function(){function e(e,t){this.privHeaderName=e,this.privToken=t}return Object.defineProperty(e.prototype,"headerName",{get:function(){return this.privHeaderName}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"token",{get:function(){return this.privToken},enumerable:!1,configurable:!0}),e}();t.AuthInfo=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationEventArgsBase=void 0;var i=function(e){function t(t,r,n,i,o){var a=e.call(this,i,o)||this;return a.privReason=t,a.privErrorDetails=r,a.privErrorCode=n,a}return n(t,e),Object.defineProperty(t.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorCode",{get:function(){return this.privErrorCode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),t}(r(12).RecognitionEventArgs);t.CancellationEventArgsBase=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyId=void 0,function(e){e[e.SpeechServiceConnection_Key=0]="SpeechServiceConnection_Key",e[e.SpeechServiceConnection_Endpoint=1]="SpeechServiceConnection_Endpoint",e[e.SpeechServiceConnection_Region=2]="SpeechServiceConnection_Region",e[e.SpeechServiceAuthorization_Token=3]="SpeechServiceAuthorization_Token",e[e.SpeechServiceAuthorization_Type=4]="SpeechServiceAuthorization_Type",e[e.SpeechServiceConnection_EndpointId=5]="SpeechServiceConnection_EndpointId",e[e.SpeechServiceConnection_TranslationToLanguages=6]="SpeechServiceConnection_TranslationToLanguages",e[e.SpeechServiceConnection_TranslationVoice=7]="SpeechServiceConnection_TranslationVoice",e[e.SpeechServiceConnection_TranslationFeatures=8]="SpeechServiceConnection_TranslationFeatures",e[e.SpeechServiceConnection_IntentRegion=9]="SpeechServiceConnection_IntentRegion",e[e.SpeechServiceConnection_ProxyHostName=10]="SpeechServiceConnection_ProxyHostName",e[e.SpeechServiceConnection_ProxyPort=11]="SpeechServiceConnection_ProxyPort",e[e.SpeechServiceConnection_ProxyUserName=12]="SpeechServiceConnection_ProxyUserName",e[e.SpeechServiceConnection_ProxyPassword=13]="SpeechServiceConnection_ProxyPassword",e[e.SpeechServiceConnection_RecoMode=14]="SpeechServiceConnection_RecoMode",e[e.SpeechServiceConnection_RecoLanguage=15]="SpeechServiceConnection_RecoLanguage",e[e.Speech_SessionId=16]="Speech_SessionId",e[e.SpeechServiceConnection_SynthLanguage=17]="SpeechServiceConnection_SynthLanguage",e[e.SpeechServiceConnection_SynthVoice=18]="SpeechServiceConnection_SynthVoice",e[e.SpeechServiceConnection_SynthOutputFormat=19]="SpeechServiceConnection_SynthOutputFormat",e[e.SpeechServiceConnection_AutoDetectSourceLanguages=20]="SpeechServiceConnection_AutoDetectSourceLanguages",e[e.SpeechServiceResponse_RequestDetailedResultTrueFalse=21]="SpeechServiceResponse_RequestDetailedResultTrueFalse",e[e.SpeechServiceResponse_RequestProfanityFilterTrueFalse=22]="SpeechServiceResponse_RequestProfanityFilterTrueFalse",e[e.SpeechServiceResponse_JsonResult=23]="SpeechServiceResponse_JsonResult",e[e.SpeechServiceResponse_JsonErrorDetails=24]="SpeechServiceResponse_JsonErrorDetails",e[e.CancellationDetails_Reason=25]="CancellationDetails_Reason",e[e.CancellationDetails_ReasonText=26]="CancellationDetails_ReasonText",e[e.CancellationDetails_ReasonDetailedText=27]="CancellationDetails_ReasonDetailedText",e[e.LanguageUnderstandingServiceResponse_JsonResult=28]="LanguageUnderstandingServiceResponse_JsonResult",e[e.SpeechServiceConnection_Url=29]="SpeechServiceConnection_Url",e[e.SpeechServiceConnection_InitialSilenceTimeoutMs=30]="SpeechServiceConnection_InitialSilenceTimeoutMs",e[e.SpeechServiceConnection_EndSilenceTimeoutMs=31]="SpeechServiceConnection_EndSilenceTimeoutMs",e[e.SpeechServiceConnection_EnableAudioLogging=32]="SpeechServiceConnection_EnableAudioLogging",e[e.SpeechServiceResponse_ProfanityOption=33]="SpeechServiceResponse_ProfanityOption",e[e.SpeechServiceResponse_PostProcessingOption=34]="SpeechServiceResponse_PostProcessingOption",e[e.SpeechServiceResponse_RequestWordLevelTimestamps=35]="SpeechServiceResponse_RequestWordLevelTimestamps",e[e.SpeechServiceResponse_StableParti
2alResultThreshold=36]="SpeechServiceResponse_StablePartialResultThreshold",e[e.SpeechServiceResponse_OutputFormatOption=37]="SpeechServiceResponse_OutputFormatOption",e[e.SpeechServiceResponse_TranslationRequestStablePartialResult=38]="SpeechServiceResponse_TranslationRequestStablePartialResult",e[e.Conversation_ApplicationId=39]="Conversation_ApplicationId",e[e.Conversation_DialogType=40]="Conversation_DialogType",e[e.Conversation_Initial_Silence_Timeout=41]="Conversation_Initial_Silence_Timeout",e[e.Conversation_From_Id=42]="Conversation_From_Id",e[e.Conversation_Conversation_Id=43]="Conversation_Conversation_Id",e[e.Conversation_Custom_Voice_Deployment_Ids=44]="Conversation_Custom_Voice_Deployment_Ids",e[e.Conversation_Speech_Activity_Template=45]="Conversation_Speech_Activity_Template",e[e.Conversation_Request_Bot_Status_Messages=46]="Conversation_Request_Bot_Status_Messages",e[e.Conversation_Agent_Connection_Id=47]="Conversation_Agent_Connection_Id",e[e.SpeechServiceConnection_Host=48]="SpeechServiceConnection_Host",e[e.ConversationTranslator_Host=49]="ConversationTranslator_Host",e[e.ConversationTranslator_Name=50]="ConversationTranslator_Name",e[e.ConversationTranslator_CorrelationId=51]="ConversationTranslator_CorrelationId",e[e.ConversationTranslator_Token=52]="ConversationTranslator_Token",e[e.PronunciationAssessment_ReferenceText=53]="PronunciationAssessment_ReferenceText",e[e.PronunciationAssessment_GradingSystem=54]="PronunciationAssessment_GradingSystem",e[e.PronunciationAssessment_Granularity=55]="PronunciationAssessment_Granularity",e[e.PronunciationAssessment_EnableMiscue=56]="PronunciationAssessment_EnableMiscue",e[e.PronunciationAssessment_Json=57]="PronunciationAssessment_Json",e[e.PronunciationAssessment_Params=58]="PronunciationAssessment_Params"}(t.PropertyId||(t.PropertyId={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.DialogServiceConfigImpl=t.DialogServiceConfig=void 0;var i=r(27),o=r(12),a=function(){function e(){}var t;return Object.defineProperty(e.prototype,"applicationId",{set:function(e){},enumerable:!1,configurable:!0}),e.DialogTypes=((t=function(){}).BotFramework="bot_framework",t.CustomCommands="custom_commands",t),e}();t.DialogServiceConfig=a;var s=function(e){function t(){var t=e.call(this)||this;return t.privSpeechConfig=new o.SpeechConfigImpl,t}return n(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privSpeechConfig.properties},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return this.privSpeechConfig.speechRecognitionLanguage},set:function(e){i.Contracts.throwIfNullOrWhitespace(e,"value"),this.privSpeechConfig.speechRecognitionLanguage=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outputFormat",{get:function(){return this.privSpeechConfig.outputFormat},set:function(e){this.privSpeechConfig.outputFormat=e},enumerable:!1,configurable:!0}),t.prototype.setProperty=function(e,t){this.privSpeechConfig.setProperty(e,t)},t.prototype.getProperty=function(e,t){return this.privSpeechConfig.getProperty(e)},t.prototype.setProxy=function(e,t,r,n){this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyHostName,e),this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyPort,""+t),r&&this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyUserName,r),n&&this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyPassword,n)},t.prototype.setServiceProperty=function(e,t,r){this.privSpeechConfig.setServiceProperty(e,t,r)},t.prototype.close=function(){},t}(a);t.DialogServiceConfigImpl=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.RecognitionEndedEvent=t.RecognitionCompletionStatus=t.RecognitionStartedEvent=t.ConnectingToServiceEvent=t.ListeningStartedEvent=t.RecognitionTriggeredEvent=t.SpeechRecognitionEvent=void 0;var i=r(16),o=function(e){function t(t,r,n,o){void 0===o&&(o=i.EventType.Info);var a=e.call(this,t,o)||this;return a.privRequestId=r,a.privSessionId=n,a}return n(t,e),Object.defineProperty(t.prototype,"requestId",{get:function(){return this.privRequestId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sessionId",{get:function(){return this.privSessionId},enumerable:!1,configurable:!0}),t}(i.PlatformEvent);t.SpeechRecognitionEvent=o;var a=function(e){function t(t,r,n,i){var o=e.call(this,"RecognitionTriggeredEvent",t,r)||this;return o.privAudioSourceId=n,o.privAudioNodeId=i,o}return n(t,e),Object.defineProperty(t.prototype,"audioSourceId",{get:function(){return this.privAudioSourceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioNodeId",{get:function(){return this.privAudioNodeId},enumerable:!1,configurable:!0}),t}(o);t.RecognitionTriggeredEvent=a;var s=function(e){function t(t,r,n,i){var o=e.call(this,"ListeningStartedEvent",t,r)||this;return o.privAudioSourceId=n,o.privAudioNodeId=i,o}return n(t,e),Object.defineProperty(t.prototype,"audioSourceId",{get:function(){return this.privAudioSourceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioNodeId",{get:function(){return this.privAudioNodeId},enumerable:!1,configurable:!0}),t}(o);t.ListeningStartedEvent=s;var u=function(e){function t(t,r,n){var i=e.call(this,"ConnectingToServiceEvent",t,n)||this;return i.privAuthFetchEventid=r,i}return n(t,e),Object.defineProperty(t.prototype,"authFetchEventid",{get:function(){return this.privAuthFetchEventid},enumerable:!1,configurable:!0}),t}(o);t.ConnectingToServiceEvent=u;var c,l=function(e){function t(t,r,n,i,o){var a=e.call(this,"RecognitionStartedEvent",t,o)||this;return a.privAudioSourceId=r,a.privAudioNodeId=n,a.privAuthFetchEventId=i,a}return n(t,e),Object.defineProperty(t.prototype,"audioSourceId",{get:function(){return this.privAudioSourceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioNodeId",{get:function(){return this.privAudioNodeId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authFetchEventId",{get:function(){return this.privAuthFetchEventId},enumerable:!1,configurable:!0}),t}(o);t.RecognitionStartedEvent=l,function(e){e[e.Success=0]="Success",e[e.AudioSourceError=1]="AudioSourceError",e[e.AudioSourceTimeout=2]="AudioSourceTimeout",e[e.AuthTokenFetchError=3]="AuthTokenFetchError",e[e.AuthTokenFetchTimeout=4]="AuthTokenFetchTimeout",e[e.UnAuthorized=5]="UnAuthorized",e[e.ConnectTimeout=6]="ConnectTimeout",e[e.ConnectError=7]="ConnectError",e[e.ClientRecognitionActivityTimeout=8]="ClientRecognitionActivityTimeout",e[e.UnknownError=9]="UnknownError"}(c=t.RecognitionCompletionStatus||(t.RecognitionCompletionStatus={}));var p=function(e){function t(t,r,n,o,a,s,u,l){var p=e.call(this,"RecognitionEndedEvent",t,a,u===c.Success?i.EventType.Info:i.EventType.Error)||this;return p.privAudioSourceId=r,p.privAudioNodeId=n,p.privAuthFetchEventId=o,p.privStatus=u,p.privError=l,p.privServiceTag=s,p}return n(t,e),Object.defineProperty(t.prototype,"audioSourceId",{get:function(){return this.privAudioSourceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioNodeId",{get:function(){return this.privAudioNodeId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authFetchEventId",{get:function(){return this.privAuthFetchEventId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"serviceTag",{get:function(){return this.privServiceTag},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.privStatus},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return this.privError},enumerable:!1,configurable:!0}),t}(o);t.RecognitionEndedEvent=p},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationConnectionConfig=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),Object.defineProperty(t,"host",{get:function(){return t.privHost},enumerable:!1,configurable:!0}),Object.defineProperty(t,"apiVersion",{get:function(){return t.privApiVersion},enumerable:!1,configurable:!0}),Object.defineProperty(t,"clientAppId",{get:function(){return t.privClientAppId},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultLanguageCode",{get:function(){return t.privDefaultLanguageCode},enumerable:!1,configurable:!0}),Object.defineProperty(t,"restPath",{get:function(){return t.privRestPath},enumerable:!1,configurable:!0}),Object.defineProperty(t,"webSocketPath",{get:function(){return t.privWebSocketPath},enumerable:!1,configurable:!0}),Object.defineProperty(t,"speechHost",{get:function(){return t.privSpeechHost},enumerable:!1,configurable:!0}),Object.defineProperty(t,"speechPath",{get:function(){return t.privSpeechPath},enumerable:!1,configurable:!0}),Object.defineProperty(t,"transcriptionEventKeys",{get:function(){return t.privTranscriptionEventKeys},enumerable:!1,configurable:!0}),t.privHost="dev.microsofttranslator.com",t.privRestPath="/capito/room",t.privApiVersion="2.0",t.privDefaultLanguageCode="en-US",t.privClientAppId="FC539C22-1767-4F1F-84BC-B4D811114F15",t.privWebSocketPath="/capito/translate",t.privSpeechHost="{region}.s2s.speech.microsoft.com",t.privSpeechPath="/speech/translation/cognitiveservices/v1",t.privTranscriptionEventKeys=["iCalUid","callId","organizer","FLAC","MTUri","DifferenciateGuestSpeakers","audiorecording","Threadid","OrganizerMri","OrganizerTenantId","UserToken"],t}(r(465).RestConfigBase);t.ConversationConnectionConfig=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestConfigBase=void 0;var n=function(){function e(){}return Object.defineProperty(e,"requestOptions",{get:function(){return e.privDefaultRequestOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e,"configParams",{get:function(){return e.privDefaultParams},enumerable:!1,configurable:!0}),Object.defineProperty(e,"restErrors",{get:function(){return e.privRestErrors},enumerable:!1,configurable:!0}),e.privDefaultRequestOptions={headers:{Accept:"application/json"},ignoreCache:!1,timeout:1e4},e.privRestErrors={authInvalidSubscriptionKey:"You must specify either an authentication token to use, or a Cognitive Speech subscription key.",authInvalidSubscriptionRegion:"You must specify the Cognitive Speech region to use.",invalidArgs:"Required input not found: {arg}.",invalidCreateJoinConversationResponse:"Creating/Joining conversation failed with HTTP {status}.",invalidParticipantRequest:"The requested participant was not found.",permissionDeniedConnect:"Required credentials not found.",permissionDeniedConversation:"Invalid operation: only the host can {command} the conversation.",permissionDeniedParticipant:"Invalid operation: only the host can {command} a participant.",permissionDeniedSend:"Invalid operation: the conversation is not in a connected state.",permissionDeniedStart:"Invalid operation: there is already an active conversation."},e.privDefaultParams={apiVersion:"api-version",authorization:"Authorization",clientAppId:"X-ClientAppId",contentTypeKey:"Content-Type",correlationId:"X-CorrelationId",languageCode:"language",nickname:"nickname",profanity:"profanity",requestId:"X-RequestId",roomId:"roomid",sessionToken:"token",subscriptionKey:"Ocp-Apim-Subscription-Key",subscriptionRegion:"Ocp-Apim-Subscription-Region",token:"X-CapitoToken"},e}();t.RestConfigBase=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(834);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},function(e){e.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslo
2pe":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","Cir
2clePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","
2Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail"
2:"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace"
2:"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u228
20","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr"
2:"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","
2subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(e,t,r){"use strict";var n=r(60),i=r(64),o=r(847),a=r(144),s=r(145),u=r(1942),c=r(1945),l=c.red,p=c.bold,f=c.gray,d=c.isColorSupported,h=r(849),v=function(e){a(r,e);var t=s(r);function r(e,i,a,s,u,c){var l;return n(this,r),(l=t.call(this,e)).name="CssSyntaxError",l.reason=e,u&&(l.file=u),s&&(l.source=s),c&&(l.plugin=c),"undefined"!==typeof i&&"undefined"!==typeof a&&(l.line=i,l.column=a),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(o(l),r),l}return i(r,[{key:"setMessage",value:function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}},{key:"showSourceCode",value:function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=d),h&&e&&(r=h(r));var n,i,o=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,o.length),u=String(s).length;return e?(n=function(e){return p(l(e))},i=function(e){return f(e)}):n=i=function(e){return e},o.slice(a,s).map((function(e,r){var o=a+1+r,s=" "+(" "+o).slice(-u)+" | ";if(o===t.line){var c=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(s)+e+"\n "+c+n("^")}return" "+i(s)+e})).join("\n")}},{key:"toString",value:function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}]),r}(u(Error));e.exports=v,v.default=v},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}
2e.exports=r},function(e,t,r){"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},function(e,t,r){"use strict";var n=r(851);function i(e,t){new n(t).stringify(e)}e.exports=i,i.default=i},function(e,t){},function(e,t){},function(e,t,r){var n=r(1955);function i(t,r,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,r){var i=n(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(r):o.value}},i(t,r,o||t)}e.exports=i},function(e,t,r){"use strict";var n,i,o=r(246),a=r(60),s=r(64),u=r(144),c=r(145),l=function(e){u(r,e);var t=c(r);function r(e){var n;return a(this,r),(n=t.call(this,o({type:"document"},e))).nodes||(n.nodes=[]),n}return s(r,[{key:"toResult",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new n(new i,this,e);return t.stringify()}}]),r}(r(165));l.registerLazyResult=function(e){n=e},l.registerProcessor=function(e){i=e},e.exports=l,l.default=l},function(e,t,r){"use strict";var n=r(60),i=r(64),o=r(480),a=r(198),s=r(144),u=r(145),c=r(165),l=function(e){s(r,e);var t=u(r);function r(e){var i;return n(this,r),(i=t.call(this,e)).type="atrule",i}return i(r,[{key:"append",value:function(){var e;this.proxyOf.nodes||(this.nodes=[]);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=o(a(r.prototype),"append",this)).call.apply(e,[this].concat(n))}},{key:"prepend",value:function(){var e;this.proxyOf.nodes||(this.nodes=[]);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=o(a(r.prototype),"prepend",this)).call.apply(e,[this].concat(n))}}]),r}(c);e.exports=l,l.default=l,c.registerAtRule(l)},function(e,t,r){"use strict";var n=r(60),i=r(64),o=r(144),a=r(145),s=r(165),u=r(858),c=function(e){o(r,e);var t=a(r);function r(e){var i;return n(this,r),(i=t.call(this,e)).type="rule",i.nodes||(i.nodes=[]),i}return i(r,[{key:"selectors",get:function(){return u.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),r}(s);e.exports=c,c.default=c,s.registerRule(c)},function(e,t,r){"use strict";var n=r(246),i=r(60),o=r(64),a=r(478),s=a.SourceMapConsumer,u=a.SourceMapGenerator,c=r(854),l=c.fileURLToPath,p=c.pathToFileURL,f=r(479),d=f.resolve,h=f.isAbsolute,v=r(1959).nanoid,m=r(849),y=r(474),T=r(859),b=Symbol("fromOffsetCac
2he"),g=Boolean(s&&u),_=Boolean(d&&h),S=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,e),null===t||"undefined"===typeof t||"object"===typeof t&&!t.toString)throw new Error("PostCSS received ".concat(t," instead of CSS string"));if(this.css=t.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!_||/^\w+:\/\//.test(r.from)||h(r.from)?this.file=r.from:this.file=d(r.from)),_&&g){var n=new T(this.css,r);if(n.text){this.map=n;var o=n.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+v(6)+">"),this.map&&(this.map.file=this.from)}return o(e,[{key:"fromOffset",value:function(e){var t;if(this[b])t=this[b];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[b]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,u=t.length-2;a<u;)if(e<t[s=a+(u-a>>1)])u=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{line:a+1,col:e-t[a]+1}}},{key:"error",value:function(e,t,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){var o=this.fromOffset(t);t=o.line,r=o.col}var a=this.origin(t,r);return(n=a?new y(e,a.line,a.column,a.source,a.file,i.plugin):new y(e,t,r,this.css,this.file,i.plugin)).input={line:t,column:r,source:this.css},this.file&&(p&&(n.input.url=p(this.file).toString()),n.input.file=this.file),n}},{key:"origin",value:function(e,t){if(!this.map)return!1;var r,n=this.map.consumer(),i=n.originalPositionFor({line:e,column:t});if(!i.source)return!1;var o={url:(r=h(i.source)?p(i.source):new URL(i.source,this.map.consumer().sourceRoot||p(this.map.mapFile))).toString(),line:i.line,column:i.column};if("file:"===r.protocol){if(!l)throw new Error("file: protocol is not available in this PostCSS build");o.file=l(r)}var a=n.sourceContentFor(i.source);return a&&(o.source=a),o}},{key:"mapResolve",value:function(e){return/^\w+:\/\//.test(e)?e:d(this.map.consumer().sourceRoot||this.map.root||".",e)}},{key:"from",get:function(){return this.file||this.id}},{key:"toJSON",value:function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var i=r[t];null!=this[i]&&(e[i]=this[i])}return this.map&&(e.map=n({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}]),e}();e.exports=S,S.default=S,m&&m.registerInput&&m.registerInput(S)},function(e,t,r){"use strict";r.r(t);var n=r(37),i=r.n(n),o=r(20),a=r.n(o),s=r(5),u=r.n(s),c=r(0),l=r.n(c),p=(r(1260),r(308),Object(c.createContext)());function f(){return Object(c.useContext)(p)}function d(){return[f().index]}var h=Object(c.createContext)();function v(){var e=Object(c.useContext)(h);if(!e)throw new Error("react-film: Hooks can only be used inside the component.");return e}function m(){return v().scrollTo}var y=function(e){var t=e["aria-label"],r=e.itemIndex,n=d(),o=i()(n,1)[0],a=m(),s=o===r,u=Object(c.useCallback)((function(){return a((function(){return r}))}),[r,a]),p=Object(c.useCallback)((function(e){var t=e.keyCode;13!==t&&32!==t||(e.preventDefault(),e.stopPropagation(),u())}),[u]);return l.a.createElement("li",{className:"react-film__dot"},l.a.createElement("input",{"aria-label":t,"aria-pressed":s,checked:s,className:"react-film__dot__input",onChange:u,onKeyPress:p,role:"button",type:"checkbox"}),l.a.createElement("div",{className:"react-film__dot__handle"}))};y.defaultProps={"aria-label":void 0},y.propTypes={"aria-label":u.a.string,itemIndex:u.a.number.isRequired};var T=y,b=Object(c.createContext)();function g(){var e=Object(c.useContext)(b);if(!e)throw new Error("react-film: Hooks can only be used inside the component.");return e}function _(){return[g().numItems]}var S=function(){var e=_(),t=i()(e,1)[0];return l.a.createElement("ul",{className:"react-film__dots"},new Array(t).fill().map((function(e,t){return l.a.createElement(T,{"aria-label":t+1+"",itemIndex:t,key:t})})))},A=Object(c.createContext)();function E(){var e=Object(c.useContext)(A);if(!e)throw new Error("react-film: Hooks can only be used inside the component.");return e}function C(){var e=E().itemContainerCallbackRefWithSubscribe;return Object(c.useCallback)((function(t){return e(t)}),[e])}function O(){var e=E().scrollableCallbackRefWithSubscribe;return Object(c.useCallback)((function(t){return e(t)}),[e])}var I=function(e){var t=e.children,r=C(),n=O();return l.a.createElement("div",{className:"react-film__filmstrip",ref:n},l.a.createElement("ul",{className:"react-film__filmstrip__list",ref:r},c.Children.map(t,(function(e){return l.a.createElement("li",{className:"react-film__filmstrip__item"},e)}))))};I.defaultProps={children:void 0},I.propTypes={children:u.a.any};var w=I;function P(){return[g().dir]}function N(){return[f().scrollBarPercentage]}function R(){return v().scrollOneLeft}function k(){return v().scrollOneRight}var x=function(e){var t,r=e["aria-label"],n=e.blurFocusOnClick,o=e.children,s=e.mode,u=P(),p=i()(u,1)[0],f=N(),d=i()(f,1)[0],h=Object(c.useRef)(),v="left"
2===s,m=R(),y=k(),T=Object(c.useCallback)((function(){v?m():y(),n&&h.current&&h.current.blur()}),[n,h,v,m,y]),b=Object(c.useCallback)((function(e){var t=e.key;"Enter"!==t&&" "!==t||(e.preventDefault(),v?m():y())}),[v,m,y]);return t="rtl"===p?v?"100%"===d||"-100%"===d:"0%"===d:v?"0%"===d:"100%"===d,l.a.createElement("button",{"aria-label":r||(v?"left":"right"),className:a()("react-film__flipper","react-film__main__overlay",{"react-film__flipper--left":v,"react-film__flipper--right":!v}),onClick:T,onKeyDown:b,ref:h,type:"button"},l.a.createElement("div",{className:a()("react-film__flipper__slider","react-film__main__slider",{"react-film__main__slider--hide":t,"react-film__main__slider--left":v,"react-film__main__slider--right":!v})},l.a.createElement("div",{className:"react-film__flipper__body"},o)))};x.defaultProps={"aria-label":void 0,blurFocusOnClick:!1,children:void 0,mode:"left"},x.propTypes={"aria-label":u.a.string,blurFocusOnClick:u.a.bool,children:u.a.any,mode:u.a.oneOf(["left","right"])};var M=x,L=(r(311),r(313),r(314),r(315),r(317),r(1267),r(318),r(87)),j=r.n(L),D=navigator.userAgent,U=(!/Edge\//.test(D)&&/Chrome\//.test(D),/Edg\//.test(D),/Edge\//.test(D)),B=(/Firefox\//.test(D),/Trident\/7(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])0/.test(D));function F(){return[f().scrollBarWidth]}function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){j()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var H=function(){var e=P(),t=i()(e,1)[0],r=N(),n=i()(r,1)[0],o=F(),a=i()(o,1)[0];return l.a.createElement("div",{className:"react-film__scroll-bar react-film__main__slider react-film__main__slider--bottom"},l.a.createElement("div",{className:"react-film__scroll-bar__handle",style:z(z({},"rtl"===t?U||B?{marginRight:"".concat((1-parseFloat(a)/100)*parseFloat(n),"%")}:{marginRight:"".concat((parseFloat(a)/100-1)*parseFloat(n),"%")}:{marginLeft:"".concat((1-parseFloat(a)/100)*parseFloat(n),"%")}),{},{width:a})}))};function G(){return[g().height]}function q(){return[f().scrolling]}function Y(){return[g().styleOptions]}function W(){return[g().styleSetClassNames]}var K=function(e){var t=e.children,r=e.className,n=P(),o=i()(n,1)[0],s=G(),u=i()(s,1)[0],p=_(),f=i()(p,1)[0],d=F(),h=i()(d,1)[0],v=q(),m=i()(v,1)[0],y=W(),T=i()(y,1)[
20].root,b=Y(),g=i()(b,1)[0],A=g.flipperBlurFocusOnClick,E=g.leftFlipperText,C=g.rightFlipperText,O=g.showDots,I=g.showFlipper,N=g.showScrollBar,R=Object(c.useMemo)((function(){return{height:u}}),[u]);return l.a.createElement("div",{className:a()(T,(r||"")+""),dir:o},l.a.createElement("div",{className:a()("react-film__main",{"react-film__main--scrolling":m}),style:R},!!f&&"100%"!==h&&!!I&&l.a.createElement(M,{blurFocusOnClick:A,mode:"left"},E),l.a.createElement(w,null,t),!!f&&"100%"!==h&&!!I&&l.a.createElement(M,{blurFocusOnClick:A,mode:"right"},C),!!f&&"100%"!==h&&!!N&&l.a.createElement(H,null)),!!f&&"100%"!==h&&!!O&&l.a.createElement(S,null))};K.defaultProps={children:void 0,className:void 0},K.propTypes={children:u.a.any,className:u.a.string};var $=K,J=(r(1272),r(1277),r(1279),r(506));function X(){var e,t,r=Y(),n=i()(r,1)[0].autoCenter,o=q(),a=i()(o,1)[0],s=m(),u=Object(c.useCallback)((function(){return s((function(e){return e.index}))}),[s]);e=!n||a?void 0:u,t=0,Object(c.useEffect)((function(){if(e){var r=setTimeout(e,t);return function(){return clearTimeout(r)}}}),[t,e])}var Z=function(){return X(),!1};r(1283);function Q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoCenter,r=e.autoHide,n=e.autoHideFlipperOnEdge,i=e.cursor,o=e.dir,a=e.dotBoxSize,s=e.dotSize,u=e.flipperBlurFocusOnClick,c=e.flipperBoxWidth,l=e.flipperSize,p=e.leftFlipperText,f=e.rightFlipperText,d=e.scrollBarHeight,h=e.scrollBarMargin,v=e.showDots,m=e.showFlipper,y=e.showScrollBar,T="rtl"===o;return{autoCenter:!1!==t,autoHide:!1!==r,autoHideFlipperOnEdge:!1!==n,cursor:"undefined"===typeof i?"pointer":i,dotBoxSize:"number"===typeof a?a:20,dotSize:"number"===typeof s?s:6,flipperBlurFocusOnClick:!0===u,flipperBoxWidth:"number"===typeof c?c:60,flipperSize:"number"===typeof l?l:40,leftFlipperText:p||(T?">":"<"),rightFlipperText:f||(T?"<":">"),scrollBarHeight:"number"===typeof d?d:8,scrollBarMargin:"number"===typeof h?h:4,showDots:!1!==v,showFlipper:!1!==m,showScrollBar:!1!==y}}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){j()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var re=function(e){var t=e.cursor,r=e.dotBoxSize,n=e.dotSize;return{"& .react-film__dot":{alignItems:"center",display:"flex",height:r,justifyContent:"center",position:"relative",width:r,"& .react-film__dot__input":te(te({},t?{cursor:t}:{}),{},{height:"100%",left:0,margin:0,opacity:0,position:"absolute",top:0,touchAction:"none",userSelect:"none",width:"100%"}),"& .react-film__dot__handle":{background:"rgba(0, 0, 0, .2)",borderRadius:n/2,height:n,width:n},"&:hover .react-film__dot__handle, & .react-film__dot__input:focus + .react-film__dot__handle":{background:"rgba(0, 0, 0, .4)"},"& .react-film__dot__input:active + .react-film__dot__handle":{background:"rgba(0, 0, 0, .8)"},"& .react-film__dot__input:checked:not(:active) + .react-film__dot__handle":{background:"rgba(0, 0, 0, .6)"}}}},ne=function(e){var t=e.cursor,r=e.flipperBoxWidth,n=e.flipperSize;return{"& .react-film__flipper":te(te({},t?{cursor:t}:{}),{},{background:"Transparent",border:0,height:"100%",outline:0,overflow:"hidden",position:"absolute",top:0,touchAction:"none",userSelect:"none",width:r,zIndex:1,"&.react-film__flipper--left":{left:0,"& .react-film__flipper__slider":{left:0}},"&.react-film__flipper--right":{right:0,"& .react-film__flipper__slider":{right:0}},"& .react-film__flipper__slider":{alignItems:"center",display:"flex",height:"100%",justifyContent:"center",position:"absolute",top:0,width:"100%"},"& .react-film__flipper__body":{backgroundColor:"rgba(0, 0, 0, .6)",borderRadius:"50%",color:"rgba(255, 255, 255, .6)",fontFamily:["Consolas","monospace"].map((function(e){return"'".concat(e,"'")})).join(", "),fontSize:16,height:n,lineHeight:"".concat(n,"px"),overflow:"hidden",position:"relative",transitionDuration:"100ms",transitionProperty:"background-color",width:n},"&:hover, &:focus":{"& .react-film__flipper__body":{backgroundColor:"rgba(0, 0, 0, .8)",color:"rgba(255, 255, 255, .8)",transitionDuration:0}},"&:active .react-film__flipper__body":{backgroundColor:"Black",color:"White",transitionDuration:0}})}},ie=function(e){var t=e.autoHide,r=e.scrollBarHeight;return{"& .react-film__scroll-bar":{bottom:t?-30:0,boxSizing:"border-box",padding:e.scrollBarMargin,position:"absolute",transitionDelay:"1s",transitionDuration:"300ms",transitionProperty:"bottom",width:"100%","& .react-film__scroll-bar__handle":{backdropFilter:"blur(4px)",background:"rgba(255, 255, 255, .4)",borderRadius:r/2,height:r}}}},oe=function(e){var t=e.autoHide,r=e.autoHideFlipperOnEdge,n=e.flipperBoxWidth,i=e.flipperSize;return{"& .react-film__main":te({overflow:"hidden",position:"relative"},t?{"&:hover, &.react-film__main--scrolling":{"& .react-film__main__slider":{transitionDelay:"0s","&.react-film__main__slider--bottom":{bottom:0},"&.react-film__main__slider--left":j()({}
2,r?"&:not(.react-film__main__slider--hide)":"&",{left:0}),"&.react-film__main__slider--right":j()({},r?"&:not(.react-film__main__slider--hide)":"&",{right:0})}},"& .react-film__main__overlay:focus .react-film__main__slider:not(.react-film__main__slider--hide)":{transitionDelay:"0s","&.react-film__main__slider--left":{left:0},"&.react-film__main__slider--right":{right:0}},"& .react-film__main__slider":{transitionDelay:"1s",transitionDuration:"300ms","&.react-film__main__slider--left":{left:(n+i)/-2,transitionProperty:"left"},"&.react-film__main__slider--right":{right:(n+i)/-2,transitionProperty:"right"}}}:{})}};function ae(e){return e=Q(e),{root:te(te(te(te(te(te({},(t=e,{"& .react-film__dots":{alignItems:"center",bottom:0,display:"flex",height:t.dotBoxSize,justifyContent:"center",listStyleType:"none",margin:0,padding:0,width:"100%"}})),re(e)),{"& .react-film__filmstrip":{MsOverflowStyle:"none",overflowX:"scroll",overflowY:"hidden",overscrollBehaviorX:"contain",position:"relative",touchAction:"manipulation",zIndex:0,"&::-webkit-scrollbar":{display:"none"},"& .react-film__filmstrip__list":{display:"flex",listStyleType:"none",margin:0,padding:0}}}),ne(e)),oe(e)),ie(e))};var t}r(662),r(663),r(1286),r(1287);var se=r(86),ue=r.n(se);r(1293),r(1294);function ce(e,t,r,n){var i,o,a="rtl"===e;if(r&&t){var s=n||t.scrollLeft,u=a&&(U||B)?-s:s,c=r.children,l=u+t.offsetWidth/2,p=(i=[].slice.call(c),o=function(e){var t=e.offsetLeft+e.offsetWidth/2;return 1/Math.abs(l-t)},i.reduce((function(e,t,r){var n=o.call(i,t,r);return n>e.score?{index:r,score:n}:e}),{index:-1,score:-1/0}).index);if(~p){var f=c[p],d=f.offsetLeft+f.offsetWidth/2,h=p+(l-d)/f.offsetWidth*(a?-1:1);return(h%1>.99||h%1<.01)&&(h=Math.round(h)),{index:Math.abs(u)<1?0:(a?u<=t.offsetWidth-t.scrollWidth:u>=t.scrollWidth-t.offsetWidth)?c.length-1:Math.round(h),indexFraction:h}}}}var le=Object(c.createContext)();r(1296);function pe(e,t){var r=Math.sign(t-e),n=e+Math.sqrt(Math.abs(t-e))*r;return r>0?Math.min(t,n):Math.max(t,n)}r(1298),r(1299);function fe(){return Object(c.useMemo)((function(){var e=[],t=function t(r){t.current=r,e.forEach((function(e){e.cleanup&&e.cleanup(),e.cleanup=e.callback(r)}))};return t.subscribe=function(r){var n={callback:r};return e.push(n),e.length>=10&&console.warn("useSubscribe: Reaching maximum limit of subscribers (".concat(10,"), please make sure your code did clean up properly.")),n.cleanup=r(t.current),function(){n.cleanup&&n.cleanup();var t=e.indexOf(n);~t&&e.splice(t,1)}},t}),[])}r(1300);var de=r(867),he=r.n(de),ve=r(249),me=r.n(ve),ye=r(339);function Te(e,t){if(t>0)return setTimeout(e,t);e()}function be(e,t){Object(c.useEffect)((function(){return e.subscribe((function(e){if(e){var r=Object(ye.default)((function(e,r,n){return t&&t({initial:e,fraction:r,width:n})})),n=function(t){var n=e.offsetWidth,i=e.scrollLeft,o=e.scrollWidth;r(t,"".concat(o===n?0:i/(o-n)*100,"%"),"".concat(n/o*100,"%"))},i=function(){return n(!1)},o=function(e,t){var r,n=0;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r||(r=Te((function(){r=null,n=Date.now(),e.apply(void 0,o)}),t+n-Date.now()))}}((function(){n(!1)}));return e.addEventListener("pointerover",o,{passive:!0}),e.addEventListener("scroll",i,{passive:!0}),he()(me.a.mark((function t(){return me.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.scrollWidth!==e.offsetWidth){t.next=3;break}return t.next=3,new Promise((function(e){return setTimeout((function(){return e()}))}));case 3:n(!0);case 4:case"end":return t.stop()}}),t)})))(),function(){e.removeEventListener("pointerover",o),e.removeEventListener("scroll",i)}}}))}),[e,t])}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){j()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEac
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Se={},Ae=function(e){var t=e.children,r=e.dir,n=e.height,o=e.nonce,a=e.numItems,s=e.styleOptions,u=e.styleSet;r="ltr"===r||"rtl"===r?r:void 0;var f=Object(c.useMemo)((function(){return Q(s)}),[s]),d=Object(c.useMemo)((function(){return u||ae(f)}),[f,u]),v=Object(c.useMemo)((function(){var e=Se[o]||(Se[o]=Object(J.default)({key:"react-film--css-".concat(ue()().toString(26).substr(2,5).replace(/[0-9]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65)}))),nonce:o}));return Object.fromEntries(Object.entries(d).map((function(t){var r=i()(t,2),n=r[0],o=r[1];return[n,e.css(o)+""]})))}),[o,d]),m=Object(c.useState)(),y=i()(m,2),T=(y[0],y[1]),g=fe(),_=fe(),S=Object(c.useRef)(null),E=Object(c.useRef)();Object(c.useEffect)((function(){return function(){return clearTimeout(E.current)}}),[E]);var C,O,I,w=Object(c.useCallback)((function(e){var t=ce(r,_.current,g.current,S.current);if(t){var n=e({index:t.index,indexFraction:t.indexFraction});"number"===typeof n&&(S.current=function(e,t,r,n){var i="rtl"===e;if(r&&t){var o=r.children,a=o[Math.max(0,Math.min(o.length-1,n))];if(a){if(t.offsetWidth===t.scrollWidth)return 0;var s=a.offsetLeft+(a.offsetWidth-t.offsetWidth)/2;return i?(s=Math.min(s,0),s=Math.max(s,t.offsetWidth-t.scrollWidth)):(s=Math.max(s,0),s=Math.min(s,t.scrollWidth-t.offsetWidth)),i&&(U||B)&&(s=-s),s}}}(r,_.current,g.current,n),T({}))}}),[r,T,g,_,S]),P=Object(c.useCallback)((function(){w((function(e){var t=e.indexFraction;return"rtl"===r?Math.floor(t)+1:Math.ceil(t)-1}))}),[r,w]),N=Object(c.useCallback)((function(){w((function(e){var t=e.indexFraction;return"rtl"===r?Math.ceil(t)-1:Math.floor(t)+1}))}),[r,w]),R=Object(c.useMemo)((function(){return{scrollTo:w,scrollOneLeft:P,scrollOneRight:N}}),[w,P,N]),k=Object(c.useMemo)((function(){return{itemContainerCallbackRefWithSubscribe:g,scrollableCallbackRefWithSubscribe:_}}),[g,_]),x=Object(c.useMemo)((function(){return{dir:r,height:n,nonce:o,numItems:a,styleOptions:f,styleSetClassNames:v}}),[r,n,o,a,f,v]),M=Object(c.useState)({index:0,indexFraction:0,scrollBarPercentage:"0%",scrollBarWidth:"0%",scrolling:!1}),L=i()(M,2),j=L[0],D=L[1],F=Object(c.useCallback)((function(e){D(e),clearTimeout(E.current),e.scrolling&&(E.current=setTimeout((function(){return D(_e(_e({},e),{},{scrolling:!1}))}),500))}),[E,D]),V=Object(c.useCallback)((function(e){var t=e.fraction,n=e.initial,i=e.width,o=ce(r,_.current,g.current,S.current);if(o){var a=o.index,s=o.indexFraction;F({index:a,indexFraction:s,scrolling:!n,scrollBarPercentage:t,scrollBarWidth:i})}}),[r,g,_,S,F]),z=Object(c.useCallback)((function(){S.current=null,T({})}),[T,S]),H=Object(c.useMemo)((function(){return _e(_e(_e(_e({},R),k),x),j)}),[R,k,x,j]);return C="number"===typeof S.current&&_.current,O=S.current,I=z,Object(c.useEffect)((function(){if(C){var e,t=Date.now();return function r(n){e=requestAnimationFrame((function(){var e=function(e,t,r,n){for(var i=e,o=0;o<n;o++)i=r(i,t);return i}(n,O,pe,(Date.now()-t)/5);Math.abs(O-e)<.5&&(e=O),C.scrollLeft=e,O===e?I&&I(!0):r(n)}))}(C.scrollLeft),function(){return cancelAnimationFrame(e)}}}),[C,O,I]),Object(c.useEffect)((function(){return _.subscribe((function(e){if(e)return e.addEventListener("pointerdown",z,{passive:!0}),function(){return e.removeEventListener("pointerdown",z)}}))}),[z,_]),be(_,V),l.a.createElement(b.Provider,{value:x},l.a.createElement(A.Provider,{value:k},l.a.createElement(h.Provider,{value:R},l.a.createElement(p.Provider,{value:j},l.a.createElement(le.Provider,{value:H},t,f.autoCenter&&l.a.createElement(Z,null))))))};Ae.defaultProps={children:void 0,dir:void 0,height:void 0,nonce:void 0,styleOptions:void 0,styleSet:void 0},Ae.propTypes={children:u.a.oneOfType([u.a.arrayOf(u.a.element),u.a.element]),dir:u.a.oneOf(["ltr","rtl"]),height:u.a.number,nonce:u.a.string,numItems:u.a.number.isRequired,styleOptions:u.a.any,styleSet:u.a.any};var Ee,Ce=Ae,Oe=function(e){return Ee||(console.warn("react-film: <FilmStrip> is being renamed to <Filmstrip>."),Ee=!0),l.a.createElement(w,e)};Oe.defaultProps=w.defaultProps,Oe.propTypes=w.propTypes;var Ie=Oe;function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?we(Object(r),!0).forEach((function(t){j()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ne=function(e){var t=e.autoCenter,r=e.autoHide,n=e.autoHideFlipperOnEdge,i=e.children,o=e.className,a=e.dir,s=e.flipperBlurFocusOnClick,u=e.height,p=e.leftFlipperText,f=e.nonce,d=e.rightFlipperText,h=e.showDots,v=e.showFlipper,m=e.showScrollBar,y=e.styleSet,T=Object(c.useMemo)((function(){return{autoCenter:t,autoHide:r,autoHideFlipperOnEdge:n,dir:a,leftFlipperText:p,flipperBlurFocusOnClick:s,rightFlipperText:d,showDots:h,showFlipper:v,showScrollBar:m}}),[t,r,n,a,p,s,d,h,v,m]);return l.a.createElement(Ce,{dir:a,height:u,nonce:f,numItems:i?c.Children.count(i):0,styleOptions:T,styleSet:y},l.a.createElement($,{className:o},i))};Ne.defaultProps=Pe(Pe({},$.defaultProps),{},{autoCenter:void 0,autoHide:void 0,autoHideFlipperOnEdge:void 0,children:void 0,className:void 0,dir:void 0,flipperBlurFocusOnClick:void 0,leftFlipperText:void 0,nonce:void 0,rightFlipperText:void 0,showDots:void 0,showFlipper:void 0,showScrollBar:void 0,styleSet:void 0}),Ne.propTypes=Pe(Pe({},$.propTypes),{},{autoCenter:u.a.bool,autoHide:u.a.bool,autoHideFlipperOnEdge:u.a.bool,children:u.a.any,className:u.a.string,dir:u.a.oneOf(["auto","ltr","rtl"]),flipperBlurFocusOnClick:u.a.bool,height:u.a.number,leftFlipperText:u.a.string,nonce:u.a.string,rightFlipperText:u.a.string,showDots:u.a.bool,showFlipper:u.a.bool,showScrollBar:u.a.bool,styleSet:u.a.any});var Re=Ne;function ke(){return[f().indexFraction]}r.d(t,"BasicFilm",(function(){return $})),r.d(t,"Composer",(function(){return Ce})),r.d(t,"Context",(function(){return le})),r.d(t,"createBasicStyleSet",(function(){return ae})),r.d(t,"FilmStrip",(function(){return Ie})),r.d(t,"Dots",(function(){return S})),r.d(t,"Filmstrip",(function(){return w})),r.d(t,"Flipper",(function(){return M})),r.d(t,"ScrollBar",(function(){return H})),r.d(t,"useDir",(function(){return P})),r.d(t,"useHeight",(function(){return G})),r.d(t,"useIndex",(function(){return d})),r.d(t,"useIndexFraction",(function(){return ke})),r.d(t,"useItemContainerCallbackRef",(function(){return C})),r.d(t,"useNumItems",(function(){return _})),r.d(t,"useScrollableCallbackRef",(function(){return O})),r.d(t,"useScrollBarPercentage",(function(){return N})),r.d(t,"useScrollBarWidth",(function(){return F})),r.d(t,"useScrolling",(function(){return q})),r.d(t,"useScrollOneLeft",(function(){return R})),r.d(t,"useScrollOneRight",(function(){return k})),r.d(t,"useScrollTo",(function(){return m})),r.d(t,"useStyleOptions",(function(){return Y})),r.d(t,"useStyleSetClassNames",(function(){return W}));t.default=Re;if("undefined"!==typeof document&&document.head){var xe=document.createElement("meta");xe.setAttribute("name","react-film"),xe.setAttribute("content","version=".concat("3.0.1")),document.head.appendChild(xe)}},function(e,t,r){"use strict";r.r(t);var n=r(0),i=r.n(n),o=(r(5),i.a.createContext(null));var a=function(e){e()},s={notify:function(){}};function u(){var e=a,t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=s,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=u())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},e}(),l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect;var p=function(e){var t=e.store,r=e.context,a=e.children,s=Object(n.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=Object(n.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=s.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,u]);var p=r||o;return i.a.createElement(p.Provider,{value:s},a)},f=r(75),d=r(129),h=r(509),v=r.n(h),m=r(488),y=[],T=[null,null];function b(e,t){var r=e[1];return[t.payload,r+1]}function g(e,t,r){l((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,i,o,a){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,a())}function S(e,t,r,n,i,o,a,s,u,c){if(e){var l=!1,p=null,f=function(){if(!l){var e,r,f=t.getState();try{e=n(f,i.current)}catch(d){r=d,p=d}r||(p=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,
2c({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=f,r.trySubscribe(),f();return function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,p)throw p}}}var A=function(){return[null,0]};function E(e,t){void 0===t&&(t={});var r=t,a=r.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=r.methodName,l=void 0===u?"connectAdvanced":u,p=r.renderCountProp,h=void 0===p?void 0:p,E=r.shouldHandleStateChanges,C=void 0===E||E,O=r.storeKey,I=void 0===O?"store":O,w=(r.withRef,r.forwardRef),P=void 0!==w&&w,N=r.context,R=void 0===N?o:N,k=Object(d.a)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),x=R;return function(t){var r=t.displayName||t.name||"Component",o=s(r),a=Object(f.a)({},k,{getDisplayName:s,methodName:l,renderCountProp:h,shouldHandleStateChanges:C,storeKey:I,displayName:o,wrappedComponentName:r,WrappedComponent:t}),u=k.pure;var p=u?n.useMemo:function(e){return e()};function E(r){var o=Object(n.useMemo)((function(){var e=r.reactReduxForwardedRef,t=Object(d.a)(r,["reactReduxForwardedRef"]);return[r.context,e,t]}),[r]),s=o[0],u=o[1],l=o[2],h=Object(n.useMemo)((function(){return s&&s.Consumer&&Object(m.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:x}),[s,x]),v=Object(n.useContext)(h),E=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(v)&&Boolean(v.store);var O=E?r.store:v.store,I=Object(n.useMemo)((function(){return function(t){return e(t.dispatch,a)}(O)}),[O]),w=Object(n.useMemo)((function(){if(!C)return T;var e=new c(O,E?null:v.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[O,E,v]),P=w[0],N=w[1],R=Object(n.useMemo)((function(){return E?v:Object(f.a)({},v,{subscription:P})}),[E,v,P]),k=Object(n.useReducer)(b,y,A),M=k[0][0],L=k[1];if(M&&M.error)throw M.error;var j=Object(n.useRef)(),D=Object(n.useRef)(l),U=Object(n.useRef)(),B=Object(n.useRef)(!1),F=p((function(){return U.current&&l===D.current?U.current:I(O.getState(),l)}),[O,M,l]);g(_,[D,j,B,l,F,U,N]),g(S,[C,O,P,I,D,j,B,U,N,L],[O,P,I]);var V=Object(n.useMemo)((function(){return i.a.createElement(t,Object(f.a)({},F,{ref:u}))}),[u,t,F]);return Object(n.useMemo)((function(){return C?i.a.createElement(h.Provider,{value:R},V):V}),[h,V,R])}var O=u?i.a.memo(E):E;if(O.WrappedComponent=t,O.displayName=E.displayName=o,P){var w=i.a.forwardRef((function(e,t){return i.a.createElement(O,Object(f.a)({},e,{reactReduxForwardedRef:t}))}));return w.displayName=o,w.WrappedComponent=t,v()(w,t)}return v()(O,t)}}function C(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function O(e,t){if(C(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!C(e[r[i]],t[r[i]]))return!1;return!0}function I(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function w(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=w(e);var i=n(t,r);return"function"===typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=w(i),i=n(t,r)),i},n}}var N=[function(e){return"function"===typeof e?P(e):void 0},function(e){return e?void 0:I((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?I((function(t){return function(e,t){var r={},n=function(n){var i=e[n];"function"===typeof i&&(r[n]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)n(i);return r}(e,t)})):void 0}];var R=[function(e){return"function"===typeof e?P(e):void 0},function(e){return e?void 0:I((function(){return{}}))}];function k(e,t,r){return Object(f.a)({},r,e,t)}var x=[function(e){return"function"===typeof e?function(e){return function(t,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(t,r,s){var u=e(t,r,s);return a?i&&o(u,n)||(n=u):(a=!0,n=u),n}}}(e):void 0},function(e){return e?void 0:function(){return k}}];function M(e,t,r,n){return function(i,o){return r(e(i,o),t(n,o),o)}}function L(e,t,r,n,i){var o,a,s,u,c,l=i.areStatesEqual,p=i.areOwnPropsEqual,f=i.areStatePropsEqual,d=!1;function h(i,d){var h=!p(d,a),v=!l(i,o);
vendor: 6,228 bytes, line 2
2return o=i,a=d,h&&v?(s=e(o,a),t.dependsOnOwnProps&&(u=t(n,a)),c=r(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(n,a)),c=r(s,u,a)):v?function(){var t=e(o,a),n=!f(t,s);return s=t,n&&(c=r(s,u,a)),c}():c}return function(i,l){return d?h(i,l):(s=e(o=i,a=l),u=t(n,a),c=r(s,u,a),d=!0,c)}}function j(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,o=Object(d.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(e,o),s=n(e,o),u=i(e,o);return(o.pure?L:M)(a,s,u,e,o)}function D(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function U(e,t){return e===t}function B(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?E:r,i=t.mapStateToPropsFactories,o=void 0===i?R:i,a=t.mapDispatchToPropsFactories,s=void 0===a?N:a,u=t.mergePropsFactories,c=void 0===u?x:u,l=t.selectorFactory,p=void 0===l?j:l;return function(e,t,r,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,h=a.areStatesEqual,v=void 0===h?U:h,m=a.areOwnPropsEqual,y=void 0===m?O:m,T=a.areStatePropsEqual,b=void 0===T?O:T,g=a.areMergedPropsEqual,_=void 0===g?O:g,S=Object(d.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),A=D(e,o,"mapStateToProps"),E=D(t,s,"mapDispatchToProps"),C=D(r,c,"mergeProps");return n(p,Object(f.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:A,initMapDispatchToProps:E,initMergeProps:C,pure:l,areStatesEqual:v,areOwnPropsEqual:y,areStatePropsEqual:b,areMergedPropsEqual:_},S))}}var F=B();function V(){return Object(n.useContext)(o)}function z(e){void 0===e&&(e=o);var t=e===o?V:function(){return Object(n.useContext)(e)};return function(){return t().store}}var H=z();function G(e){void 0===e&&(e=o);var t=e===o?H:z(e);return function(){return t().dispatch}}var q=G(),Y=function(e,t){return e===t};function W(e){void 0===e&&(e=o);var t=e===o?V:function(){return Object(n.useContext)(e)};return function(e,r){void 0===r&&(r=Y);var i=t(),o=function(e,t,r,i){var o,a=Object(n.useReducer)((function(e){return e+1}),0)[1],s=Object(n.useMemo)((function(){return new c(r,i)}),[r,i]),u=Object(n.useRef)(),p=Object(n.useRef)(),f=Object(n.useRef)(),d=Object(n.useRef)(),h=r.getState();try{if(e!==p.current||h!==f.current||u.current){var v=e(h);o=void 0!==d.current&&t(v,d.current)?d.current:v}else o=d.current}catch(m){throw u.current&&(m.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),m}return l((function(){p.current=e,f.current=h,d.current=o,u.current=void 0})),l((function(){function e(){try{var e=r.getState(),n=p.current(e);if(t(n,d.current))return;d.current=n,f.current=e}catch(m){u.current=m}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(e,r,i.store,i.subscription);return Object(n.useDebugValue)(o),o}}var K,$=W(),J=r(248);r.d(t,"Provider",(function(){return p})),r.d(t,"connectAdvanced",(function(){return E})),r.d(t,"ReactReduxContext",(function(){return o})),r.d(t,"connect",(function(){return F})),r.d(t,"batch",(function(){return J.unstable_batchedUpdates})),r.d(t,"useDispatch",(function(){return q})),r.d(t,"createDispatchHook",(function(){return G})),r.d(t,"useSelector",(function(){return $})),r.d(t,"createSelectorHook",(function(){return W})),r.d(t,"useStore",(function(){return H})),r.d(t,"createStoreHook",(function(){return z})),r.d(t,"shallowEqual",(function(){return O})),K=J.unstable_batchedUpdates,a=K},function(e,t,r){"use strict";r.r(t);var n=r(1),i=r(24),o=r(517),a=r(30);r.d(t,"AudioConfig",(function(){return a.b})),r.d(t,"AudioStreamFormat",(function(){return a.e})),r.d(t,"AudioInputStream",(function(){return a.c})),r.d(t,"PullAudioInputStream",(function(){return a.X})),r.d(t,"PushAudioInputStream",(function(){return a.ab})),r.d(t,"AudioOutputStream",(function(){return a.d})),r.d(t,"PullAudioOutputStream",(function(){return a.Z})),r.d(t,"PushAudioOutputStream",(function(){return a.bb})),r.d(t,"CancellationReason",(function(){return a.m})),r.d(t,"PullAudioInputStreamCallback",(function(){return a.Y})),r.d(t,"PushAudioOutputStreamCallback",(function(){return a.cb})),r.d(t,"KeywordRecognitionModel",(function(){return a.I})),r.d(t,"SessionEventArgs",(function(){return a.jb})),r.d(t,"RecognitionEventArgs",(function(){return a.db})),r.d(t,"OutputFormat",(function(){return a.M})),r.d(t,"IntentRecognitionEventArgs",(function(){return a.F})),r.d(t,"RecognitionResult",(function(){return a.eb})),r.d(t,"SpeechRecognitionResult",(function(){return a.wb})),r.d(t,"IntentRecognitionResult",(function(){return a.G})),r.d(t,"LanguageUnderstandingModel",(function(){return a.J})),r.d(t,"SpeechRecognitionEventArgs",(function(){return a.vb})),r.d(t,"ConversationTranscriptionEventArgs",(function(){return a.w})),r.d(t,"SpeechRecognitionCanceledEventArgs",(function(){return a.ub})),r.d(t,"TranslationRecognitionEventArgs",(function(){return a.Ib})),r.d(t,"TranslationSynthesisEventArgs",(function(){return a.Lb})),r.d(t,"TranslationRecognitionResult",(function(){return a.Jb})),r.d(t,"TranslationSynthesisResult",(function(){return a.Mb})),r.d(t,"ResultReason",(function(){return a.gb})),r.d(t,"SpeechConfig",(function(){return a.sb})),r.d(t,"SpeechConfigImpl",(function(){return a.tb})),r.d(t,"SpeechTranslationConfig",(function(){return a.Fb})),r.d(t,"SpeechTranslationConfigImpl",(function(){return a.Gb})),r.d(t,"PropertyCollection",(function(){return a.V})),r.d(t,"PropertyId",(function(){return a.W})),r.d(t,"Recognizer",(function(){return a.fb})),r.d(t,"SpeechRecognizer",(function(){return a.xb})),r.d(t,"IntentRecognizer",(function(){return a.H})),r.d(t,"VoiceProfileType",(function(){return a.Xb})),r.d(t,"TranslationRecognizer",(function(){return a.Kb})),r.d(t,"Translations",(function(){return a.Nb})),r.d(t,"NoMatchReason",(function(){return a.L})),r.d(t,"NoMatchDetails",(function(){return a.K})),r.d(t,"TranslationRecognitionCanceledEventArgs",(function(){return a.Hb})),r.d(t,"IntentRecognitionCanceledEventArgs",(function(){return a.E}
2)),r.d(t,"CancellationDetailsBase",(function(){return a.k})),r.d(t,"CancellationDetails",(function(){return a.j})),r.d(t,"CancellationErrorCode",(function(){return a.l})),r.d(t,"ConnectionEventArgs",(function(){return a.o})),r.d(t,"ServiceEventArgs",(function(){return a.hb})),r.d(t,"Connection",(function(){return a.n})),r.d(t,"PhraseListGrammar",(function(){return a.P})),r.d(t,"DialogServiceConfig",(function(){return a.C})),r.d(t,"BotFrameworkConfig",(function(){return a.i})),r.d(t,"CustomCommandsConfig",(function(){return a.B})),r.d(t,"DialogServiceConnector",(function(){return a.D})),r.d(t,"ActivityReceivedEventArgs",(function(){return a.a})),r.d(t,"TurnStatusReceivedEventArgs",(function(){return a.Ob})),r.d(t,"ServicePropertyChannel",(function(){return a.ib})),r.d(t,"ProfanityOption",(function(){return a.Q})),r.d(t,"BaseAudioPlayer",(function(){return a.h})),r.d(t,"ConnectionMessageEventArgs",(function(){return a.q})),r.d(t,"ConnectionMessage",(function(){return a.p})),r.d(t,"VoiceProfile",(function(){return a.Qb})),r.d(t,"VoiceProfileEnrollmentResult",(function(){return a.Vb})),r.d(t,"VoiceProfileEnrollmentCancellationDetails",(function(){return a.Ub})),r.d(t,"VoiceProfileResult",(function(){return a.Wb})),r.d(t,"VoiceProfileCancellationDetails",(function(){return a.Sb})),r.d(t,"VoiceProfileAuthorizationPhraseResult",(function(){return a.Rb})),r.d(t,"VoiceProfileClient",(function(){return a.Tb})),r.d(t,"SpeakerRecognizer",(function(){return a.qb})),r.d(t,"SpeakerIdentificationModel",(function(){return a.mb})),r.d(t,"SpeakerVerificationModel",(function(){return a.rb})),r.d(t,"AutoDetectSourceLanguageConfig",(function(){return a.f})),r.d(t,"AutoDetectSourceLanguageResult",(function(){return a.g})),r.d(t,"SourceLanguageConfig",(function(){return a.kb})),r.d(t,"SpeakerRecognitionResult",(function(){return a.ob})),r.d(t,"SpeakerRecognitionResultType",(function(){return a.pb})),r.d(t,"SpeakerRecognitionCancellationDetails",(function(){return a.nb})),r.d(t,"Conversation",(function(){return a.r})),r.d(t,"ConversationExpirationEventArgs",(function(){return a.s})),r.d(t,"ConversationParticipantsChangedEventArgs",(function(){return a.t})),r.d(t,"ConversationTranslationCanceledEventArgs",(function(){return a.x})),r.d(t,"ConversationTranslationEventArgs",(function(){return a.y})),r.d(t,"ConversationTranslationResult",(function(){return a.z})),r.d(t,"ConversationTranslator",(function(){return a.A})),r.d(t,"ConversationTranscriber",(function(){return a.u})),r.d(t,"Participant",(function(){return a.N})),r.d(t,"ParticipantChangedReason",(function(){return a.O})),r.d(t,"User",(function(){return a.Pb})),r.d(t,"SpeechSynthesisOutputFormat",(function(){return a.Ab})),r.d(t,"SpeechSynthesizer",(function(){return a.Eb})),r.d(t,"SpeechSynthesisResult",(function(){return a.Bb})),r.d(t,"SpeechSynthesisEventArgs",(function(){return a.zb})),r.d(t,"SpeechSynthesisWordBoundaryEventArgs",(function(){return a.Db})),r.d(t,"SpeechSynthesisBookmarkEventArgs",(function(){return a.yb})),r.d(t,"SpeechSynthesisVisemeEventArgs",(function(){return a.Cb})),r.d(t,"SpeakerAudioDestination",(function(){return a.lb})),r.d(t,"ConversationTranscriptionCanceledEventArgs",(function(){return a.v})),r.d(t,"PronunciationAssessmentGradingSystem",(function(){return a.S})),r.d(t,"PronunciationAssessmentGranularity",(function(){return a.T})),r.d(t,"PronunciationAssessmentConfig",(function(){return a.R})),r.d(t,"PronunciationAssessmentResult",(function(){return a.U})),o.a.instance.attachListener(new function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.a.Warning;Object(n.a)(this,e),this.onEvent=function(e){if(e.eventType>=t.privLogLevelFilter){var r=t.toString(e);switch(e.eventType){case i.a.Debug:console.debug(r);break;case i.a.Info:console.info(r);break;case i.a.Warning:console.warn(r);break;case i.a.Error:console.error(r);break;default:console.log(r)}}},this.toString=function(e){var t=["".concat(e.EventTime),"".concat(e.Name)];for(var r in e)if(r&&e.hasOwnProperty(r)&&"eventTime"!==r&&"eventType"!==r&&"eventId"!==r&&"name"!==r&&"constructor"!==r){var n=e[r],i="<NULL>";void 0!==n&&null!==n&&(i="number"===typeof n||"string"===typeof n?n.toString():JSON.stringify(n)),t.push("".concat(r,": ").concat(i))}return t.join(" | ")},this.privLogLevelFilter=r})},function(e,t,r){"use strict";e.exports=r(1121)},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1606),i=r(1607),o=i;o.v1=n,o.v4=i,e.exports=o},function(e,t,r){"use strict";(function(t){var n=r(1776),i=r(1777),o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=/^[a-zA-Z]:/,u=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function c(e){return(e||"").toString().replace(u,"")}var l=[["#","hash"],["?","query"],function(e,t){return d(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function f(e){var r,n=("undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{}).location||{},i={},a=typeof(e=e||n);if("blob:"===e.protocol)i=new v(unescape(e.pathname),{});else if("string"===a)for(r in i=new v(e,{}),p)delete i[r];else if("object"===a){for(r in e)r in p||(i[r]=e[r]);void 0===i.slashes&&(i.slashes=o.test(e.href))}return i}function d(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function h(e,t){e=c(e),t=t||{};var r,n=a.exec(e),i=n[1]?n[1].toLowerCase():"",o=!!n[2],s=!!n[3],u=0;return o?s?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):s?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===i?u>=2&&(r=r.slice(2)):d(i)?r=n[4]:i?o&&(r=r.slice(2)):u>=2&&d(t.protocol)&&(r=n[4]),{protocol:i,slashes:o||d(i),slashesCount:u,rest:r}}function v(e,t,r){if(e=c(e),!(this instanceof v))return new v(e,t,r);var o,a,u,p,m,y,T=l.slice(),b=typeof t,g=this,_=0;for("object"!==b&&"string"!==b&&(r=t,t=null),r&&"function"!==typeof r&&(r=i.parse),o=!(a=h(e||"",t=f(t))).protocol&&!a.slashes,g.slashes=a.slashes||o&&t.slashes,g.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||s.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!d(g.protocol)))&&(T[3]=[/(.*)/,"pathname"]);_<T.length;_++)"function"!==typeof(p=T[_])?(u=p[0],y=p[1],u!==u?g[y]=e:"string"===typeof u?~(m=e.indexOf(u))&&("number"===typeof p[2]?(g[y]=e.slice(0,m),e=e.slice(m+p[2])):(g[y]=e.slice(m),e=e.slice(0,m))):(m=u.exec(e))&&(g[y]=m[1],e=e.slice(0,m.index)),g[y]=g[y]||o&&p[3]&&t[y]||"",p[4]&&(g[y]=g[y].toLowerCase())):e=p(e,g);r&&(g.query=r(g.query)),o&&t.slashes&&"/"!==g.pathname.charAt(0)&&(""!==g.pathname||""!==t.pathname)&&(g.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,i=r[n-1],o=!1,a=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),a++):a&&(0===n&&(o=!0),r.splice(n,1),a--);return o&&r.unshift(""),"."!==i&&".."!==i||r.push(""),r.join("/")}(g.pathname,t.pathname)),"/"!==g.pathname.charAt(0)&&d(g.protocol)&&(g.pathname="/"+g.pathname),n(g.port,g.protocol)||(g.host=g.hostname,g.port=""),g.username=g.password="",g.auth&&(p=g.auth.split(":"),g.username=p[0]||"",g.password=p[1]||""),g.origin="file:"!==g.protocol&&d(g.protocol)&&g.host?g.protocol+"//"+g.host:"null",g.href=g.toString()}v.prototype={set:function(e,t,r){var o=this;switch(e){case"query":"string"===typeof t&&t.length&&(t=(r||i.parse)(t)),o[e]=t;break;case"port":o[e]=t,n(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,/:\d+$/.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!r;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";o[e]=t.charAt(0)!==a?a+t:t}else o[e]=t;break;default:o[e]=t}for(var s=0;s<l.length;s++){var u=l[s];u[4]&&(o[u[1]]=o[u[1]].toLowerCase())}return o.origin="file:"!==o.protocol&&d(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"===typeof e||(e=i.stringify);var t,r=this,n=r.protocol;n&&":"!==n.charAt(n.length-1)&&(n+=":");var o=n+(r.slashes||d(r.protocol)?"//":"");return r.username&&(o+=r.username,r.password&&(o+=":"+r.password),o+="@"),o+=r.host+r.pathname,(t="object"===typeof r.query?e(r.query):r.query)&&(o+="?"!==t.charAt(0)?"?"+t:t),r.hash&&(o+=r.hash),o}},v.extractProtocol=h,v.location=f,v.trimLeft=c,v.qs=i,e.exports=v}).call(this,r(90))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}
2));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privContext={},this.privSpeechSynthesizer=t}return Object(i.a)(e,[{key:"setSection",value:function(e,t){this.privContext[e]=t}},{key:"audioOutputFormat",set:function(e){this.privAudioOutputFormat=e}},{key:"toJSON",value:function(){var e=this.buildSynthesisContext();return this.setSection("synthesis",e),JSON.stringify(this.privContext)}},{key:"buildSynthesisContext",value:function(){return{audio:{metadataOptions:{bookmarkEnabled:!!this.privSpeechSynthesizer.bookmarkReached,sentenceBoundaryEnabled:!1,visemeEnabled:!!this.privSpeechSynthesizer.visemeReceived,wordBoundaryEnabled:!!this.privSpeechSynthesizer.wordBoundary},outputFormat:this.privAudioOutputFormat.requestAudioFormatString},language:{autoDetection:this.privSpeechSynthesizer.autoDetectSourceLanguage}}}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,[{key:"toJsonString",value:function(){return JSON.stringify(this.iPrivConfig)}},{key:"get",value:function(){return this.iPrivConfig}},{key:"set",value:function(e){this.iPrivConfig=e}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r,i,o){Object(n.a)(this,e),this.privAudioOffset=t,this.privText=r,this.privWordLength=i,this.privTextOffset=o}return Object(i.a)(e,[{key:"audioOffset",get:function(){return this.privAudioOffset}},{key:"text",get:function(){return this.privText}},{key:"wordLength",get:function(){return this.privWordLength}},{key:"textOffset",get:function(){return this.privTextOffset}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r){Object(n.a)(this,e),this.privAudioOffset=t,this.privText=r}return Object(i.a)(e,[{key:"audioOffset",get:function(){return this.privAudioOffset}},{key:"text",get:function(){return this.privText}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r,i){Object(n.a)(this,e),this.privAudioOffset=t,this.privVisemeId=r,this.privAnimation=i}return Object(i.a)(e,[{key:"audioOffset",get:function(){return this.privAudioOffset}},{key:"visemeId",get:function(){return this.privVisemeId}},{key:"animation",get:function(){return this.privAnimation}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r,i,o,a,s,u,c,l,p){Object(n.a)(this,e),this.privResultId=t,this.privReason=r,this.privText=i,this.privDuration=o,this.privOffset=a,this.privLanguage=s,this.privLanguageDetectionConfidence=u,this.privErrorDetails=c,this.privJson=l,this.privProperties=p}return Object(i.a)(e,[{key:"resultId",get:function(){return this.privResultId}},{key:"reason",get:function(){return this.privReason}},{key:"text",get:function(){return this.privText}},{key:"duration",get:function(){return this.privDuration}},{key:"offset",get:function(){return this.privOffset}},{key:"language",get:function(){return this.privLanguage}},{key:"languageDetectionConfidence",get:function(){return this.privLanguageDetectionConfidence}},{key:"errorDetails",get:function(){return this.privErrorDetails}},{key:"json",get:function(){return this.privJson}},{key:"properties",get:function(){return this.privProperties}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(6),o=r(7),a=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return r}(r(204).a)},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.Masked=0]="Masked",e[e.Removed=1]="Removed",e[e.Raw=2]="Raw"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privIntentResponse=JSON.parse(t)}return Object(i.a)(e,[{key:"query",get:function(){return this.privIntentResponse.query}},{key:"topScoringIntent",get:function(){return this.privIntentResponse.topScoringIntent}},{key:"entities",get:function(){return this.privIntentResponse.entities}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(6),a=r(7),s=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o,a,s,u){var c;return Object(n.a)(this,r),(c=t.call(this,a,s,u)).privReason=e,c.privErrorDetails=i,c.privErrorCode=o,c}return Object(i.a)(r,[{key:"reason",get:function(){return this.privReason}},{key:"errorCode",get:function(){return this.privErrorCode}},{key:"errorDetails",get:function(){return this.privErrorDetails}}]),r}(r(171).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(253),a=function(){function e(t){Object(n.a)(this,e),this.privTranslationHypothesis=JSON.parse(t),this.privTranslationHypothesis.Translation.TranslationStatus=o.a[this.privTranslationHypothesis.Translation.TranslationStatus]}return Object(i.a)(e,[{key:"Duration",get:function(){return this.privTranslationHypothesis.Duration}},{key:"Offset",get:function(){return this.privTranslationHypothesis.Off
2set}},{key:"Text",get:function(){return this.privTranslationHypothesis.Text}},{key:"Translation",get:function(){return this.privTranslationHypothesis.Translation}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(39),a=function(){function e(t){Object(n.a)(this,e),this.privSynthesisEnd=JSON.parse(t),this.privSynthesisEnd.SynthesisStatus=o.b[this.privSynthesisEnd.SynthesisStatus]}return Object(i.a)(e,[{key:"SynthesisStatus",get:function(){return this.privSynthesisEnd.SynthesisStatus}},{key:"FailureReason",get:function(){return this.privSynthesisEnd.FailureReason}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(68),a=function(){function e(){Object(n.a)(this,e),this.privMap=new o.a}return Object(i.a)(e,[{key:"get",value:function(e,t){return this.privMap.getProperty(e,t)}},{key:"set",value:function(e,t){this.privMap.setProperty(e,t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(6),o=r(7),a=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return r}(r(204).a)},function(e,t,r){"use strict";r.r(t);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(i){0}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 9,564 bytes, line 2
2,t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i="-ms-",o="-moz-",a="-webkit-",s="comm",u="rule",c="decl",l=Math.abs,p=String.fromCharCode;function f(e){return e.trim()}function d(e,t,r){return e.replace(t,r)}function h(e,t){return e.indexOf(t)}function v(e,t){return 0|e.charCodeAt(t)}function m(e,t,r){return e.slice(t,r)}function y(e){return e.length}function T(e){return e.length}function b(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}var _=1,S=1,A=0,E=0,C=0,O="";function I(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:_,column:S,length:a,return:""}}function w(e,t,r){return I(e,t.root,t.parent,r,t.props,t.children,0)}function P(){return C=E>0?v(O,--E):0,S--,10===C&&(S=1,_--),C}function N(){return C=E<A?v(O,E++):0,S++,10===C&&(S=1,_++),C}function R(){return v(O,E)}function k(){return E}function x(e,t){return m(O,e,t)}function M(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function L(e){return _=S=1,A=y(O=e),E=0,[]}function j(e){return O="",e}function D(e){return f(x(E-1,function e(t){for(;N();)switch(C){case t:return E;case 34:case 39:return e(34===t||39===t?t:C);case 40:41===t&&e(t);break;case 92:N()}return E}(91===e?e+2:40===e?e+1:e)))}function U(e){for(;(C=R())&&C<33;)N();return M(e)>2||M(C)>3?"":" "}function B(e,t){for(;--t&&N()&&!(C<48||C>102||C>57&&C<65||C>70&&C<97););return x(e,k()+(t<6&&32==R()&&32==N()))}function F(e,t){for(;N()&&e+C!==57&&(e+C!==84||47!==R()););return"/*"+x(t,E-1)+"*"+p(47===e?e:N())}function V(e){for(;!M(R());)N();return x(e,E)}function z(e){return j(function e(t,r,n,i,o,a,s,u,c){var l=0,f=0,h=s,v=0,m=0,T=0,g=1,_=1,S=1,A=0,E="",C=o,O=a,I=i,w=E;for(;_;)switch(T=A,A=N()){case 34:case 39:case 91:case 40:w+=D(A);break;case 9:case 10:case 13:case 32:w+=U(T);break;case 92:w+=B(k()-1,7);continue;case 47:switch(R()){case 42:case 47:b(G(F(N(),k()),r,n),c);break;default:w+="/"}break;case 123*g:u[l++]=y(w)*S;case 125*g:case 59:case 0:switch(A){case 0:case 125:_=0;case 59+f:m>0&&y(w)-h&&b(m>32?q(w+";",i,n,h-1):q(d(w," ","")+";",i,n,h-2),c);break;case 59:w+=";";default:if(b(I=H(w,r,n,l,f,o,u,E,C=[],O=[],h),a),123===A)if(0===f)e(w,r,I,I,C,a,h,u,O);else switch(v){case 100:case 109:case 115:e(t,I,I,i&&b(H(t,I,I,0,0,o,u,E,o,C=[],h),O),o,O,h,u,i?C:O);break;default:e(w,I,I,I,[""],O,h,u,O)}}l=f=m=0,g=S=1,E=w="",h=s;break;case 58:h=1+y(w),m=T;default:if(g<1)if(123==A)--g;else if(125==A&&0==g++&&125==P())continue;switch(w+=p(A),A*g){case 38:S=f>0?1:(w+="\f",-1);break;case 44:u[l++]=(y(w)-1)*S,S=1;break;case 64:45===R()&&(w+=D(N())),v=R(),f=y(E=w+=V(k())),A++;break;case 45:45===T&&2==y(w)&&(g=0)}}return a}("",null,null,null,[""],e=L(e),0,[0],e))}function H(e,t,r,n,i,o,a,s,c,p,h){for(var v=i-1,y=0===i?o:[""],b=T(y),g=0,_=0,S=0;g<n;++g)for(var A=0,E=m(e,v+1,v=l(_=a[g])),C=e;A<b;++A)(C=f(_>0?y[A]+" "+E:d(E,/&\f/g,y[A])))&&(c[S++]=C);return I(e,t,r,0===i?u:s,c,p,h)}function G(e,t,r){return I(e,t,r,s,p(C),m(e,2,-2),0)}function q(e,t,r,n){return I(e,t,r,c,m(e,0,n),m(e,n+1,-1),n)}function Y(e,t){switch(function(e,t){return(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3)}(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+o+e+i+e+e;case 6828:case 4268:return a+e+i+e+e;case 6165:return a+e+i+"flex-"+e+e;case 5187:return a+e+d(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return a+e+i+"flex-item-"+d(e,/flex-|-self/,"")+e;case 4675:return a+e+i+"flex-line-pack"+d(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+i+d(e,"shrink","negative")+e;case 5292:return a+e+i+d(e,"basis","preferred-size")+e;case 6060:return a+"box-"+d(e,"-grow","")+a+e+i+d(e,"grow","positive")+e;case 4554:return a+d(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return d(d(d(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return d(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return d(d(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+i+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return d(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(y(e)-1-t>6)switch(v(e,t+1)){case 109:if(45!==v(e,t+4))break;case 102:return d(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==v(e,t+3)?"$3":"$2-$3"))+e;case 115:return~h(e,"stretch")?Y(d(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==v(e,t+1))break;case 6444:switch(v(e,y(e)-3-(~h(e,"!important")&&10))){case 107:return d(e,":",":"+a)+e;case 101:return d(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===v(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(v(e,t+11)){case 114:return a+e+i+d(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+i+d(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+i+d(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+i+e+e}return e}function W(e,t){for(var r="",n=T(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function K(e,t,r,n){switch(e.type){case"@import":case c:return e.return=e.return||e.value;case s:return"";case u:e.value=e.props.join(",")}return y(r=W(e.children,n))?e.return=e.value+"{"+r+"}":""}function $(e){return function(t){t.root||(t=t.return)&&e(t)}}r(661);var J=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}},X=function(e,t){return j(function(e,t){var r=-1,n=44;do{switch(M(n)){case 0:38===n&&12===R()&&(t[r]=1),e[r]+=V(E-1);break;case 2:e[r]+=D(n);break;case 4:if(44===n){e[++r]=58===R()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=p(n)}}while(n=N());return e}(L(e),t))},Z=new WeakMap,Q=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var i=[],o=X(t,i),a=r.props,s=0,u=0;s<o.length;s++)for(var c=0;c<a.length;c++,u++)e.props[u]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},te=[function(e,t,r,n){if(!e.return)switch(e.type){case c:e.return=Y(e.value,e.length);break;case"@keyframes":return W([w(d(e.value,"@","@"+a),e,"")],n);case u:if(e.length)return g(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([w(d(t,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return W([w(d(t,/:(plac\w+)/,":"+a+"input-$1"),e,""),w(d(t,/:(plac\w+)/,":-moz-$1"),e,""),w(d(t,/:(plac\w+)/,i+"input-$1"),e,"")],n)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||te;var o,a,s={},u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;u.push(e)}));var c=[Q,ee];var l,p=[K,$((function(e){l.insert(e)}))],f=function(e){var t=T(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}(c.concat(i,p));a=function(e,t,r,n){l=r,W(z(e?e+"{"+t.styles+"}":t.styles),f),n&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new n({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:s,registered:{},insert:a};return d.sheet.hydrate(u),d},ne=r(342),ie=r(343),oe=/[A-Z]|^ms/g,ae=/_EMO_([^_]+?)_([^]*?)_EMO_/g,se=function(e){return 45===e.charCodeAt(1)},ue=function(e){return null!=e&&"boolean"!==typeof e},ce=J((function(e){return se(e)?e:e.replace(oe,"-$&").toLowerCase()})),le=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(ae,(function(e,t,r){return fe={name:t,styles:r,next:fe},t}))}return 1===ie.a[e]||se(e)||"number"!==typeof t||0===t?t:t+"px"};function pe(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return fe={name:r.name,styles:r.styles,next:fe},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)fe={name:n.name,styles:n.styles,next:fe},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=pe(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!==typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":ue(a)&&(n+=ce(o)+":"+le(o,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=pe(e,t,a);switch(o){case"animation":case"animationName":n+=ce(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var u=0;u<a.length;u++)ue(a[u])&&(n+=ce(o)+":"+le(o,a[u])+";")}return n}(e,t,r);case"function":if(void 0!==e){var i=fe,o=r(e);return fe=i,pe(e,t,o)}break;case"string":}if(null==t)return r;var a=t[r];return void 0!==a?a:r}
2var fe,de=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var he=function(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";fe=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=pe(r,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=pe(r,t,e[a]),n&&(i+=o[a]);de.lastIndex=0;for(var s,u="";null!==(s=de.exec(i));)u+="-"+s[1];return{name:Object(ne.a)(i)+u,styles:i,next:fe}};function ve(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var me=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0);i=i.next}while(void 0!==i)}};function ye(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Te(e,t,r){var n=[],i=ve(e,n,r);return n.length<2?r:i+t(n)}var be=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r};t.default=function(e){var t=re(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=he(r,t.registered,void 0);return me(t,i,!1),t.key+"-"+i.name};return{css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return Te(t.registered,r,be(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=he(r,t.registered);ye(t,i)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=he(r,t.registered),o="animation-"+i.name;return ye(t,{name:i.name,styles:"@keyframes "+o+"{"+i.styles+"}"}),o},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:ve.bind(null,t.registered),merge:Te.bind(null,t.registered,r)}}},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(170),u=r(517),c=r(65),l=r(79),p=r(340),f=r(6),d=r(7),h=r(24),v=function(e){Object(f.a)(r,e);var t=Object(d.a)(r);function r(e,n){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.a.Info;return Object(o.a)(this,r),(i=t.call(this,e,a)).privRequestId=n,i}return Object(a.a)(r,[{key:"requestId",get:function(){return this.privRequestId}}]),r}(h.b),m=function(e){Object(f.a)(r,e);var t=Object(d.a)(r);function r(e,n,i){var a;return Object(o.a)(this,r),(a=t.call(this,"SynthesisTriggeredEvent",e)).privSessionAudioDestinationId=n,a.privTurnAudioDestinationId=i,a}return Object(a.a)(r,[{key:"audioSessionDestinationId",get:function(){return this.privSessionAudioDestinationId}},{key:"audioTurnDestinationId",get:function(){return this.privTurnAudioDestinationId}}]),r}(v),y=function(e){Object(f.a)(r,e);var t=Object(d.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,"ConnectingToSynthesisServiceEvent",e)).privAuthFetchEventId=n,i}return Object(a.a)(r,[{key:"authFetchEventId",get:function(){return this.privAuthFetchEventId}}]),r}(v),T=function(e){Object(f.a)(r,e);var t=Object(d.a)(r);function r(e,n){var i;return Object(o.a)(this,r),(i=t.call(this,"SynthesisStartedEvent",e)).privAuthFetchEventId=n,i}return Object(a.a)(r,[{key:"authFetchEventId",get:function(){return this.privAuthFetchEventId}}]),r}(v);r.d(t,"a",(function(){return g}));var b=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},g=function(){function e(){var t=this;Object(o.a)(this,e),this.privIsDisposed=!1,this.privIsSynthesizing=!1,this.privIsSynthesisEnded=!1,this.privBytesReceived=0,this.privInTurn=!1,this.privTextOffset=0,this.privNextSearchTextIndex=0,this.onPreConnectionStart=function(e,r){t.privAuthFetchEventId=e,t.onEvent(new y(t.privRequestId,t.privAuthFetchEventId))},this.onAuthCompleted=function(e,r){e&&t.onComplete()},this.onConnectionEstablishCompleted=function(e,r){if(200===e)return t.onEvent(new T(t.requestId,t.privAuthFetchEventId)),void(t.privBytesReceived=0);403===e&&t.onComplete()},this.onServiceResponseMessage=function(e){var r=JSON.parse(e);t.streamId=r.audio.streamId},this.onServiceTurnEndResponse=function(){t.privInTurn=!1,t.privTurnDeferral.resolve(),t.onComplete()},this.onServiceTurnStartResponse=function(){t.privTurnDeferral&&t.privInTurn&&(t.privTurnDeferral.reject("Another turn started before current completed."),t.privTurnDeferral.promise.then().catch((function(){}))),t.privInTurn=!0,t.privTurnDeferral=new s.a},this.dispose=function(e){t.privIsDisposed||(t.privIsDisposed=!0)},this.onEvent=function(e){u.a.instance.onEvent(e)},this.onComplete=function(){t.privIsSynthesizing&&(t.privIsSynthesizing=!1,t.privIsSynthesisEnded=!0,t.privAudioOutputStream.close(),t.privInTurn=!1,void 0!==t.privTurnAudioDestination&&(t.privTurnAudioDestination.close(),t.privTurnAudioDestination=void 0))},this.privRequestId=Object(c.b)(),this.privTurnDeferral=new s.a,this.privTurnDeferral.resolve()}return Object(a.a)(e,[{key:"requestId",get:function(){return this.privRequestId}},{key:"streamId",get:function(){return this.privStreamId},set:function(e){this.privStreamId=e}},{key:"audioOutputFormat",get:function(){return this.privAudioOutputFormat},set:function(e){this.privAudioOutputFormat=e}},{key:"turnCompletionPromise",get:function(){return this.privTurnDeferral.promise}},{key:"isSynthesisEnded",get:function(){return this.privIsSynthesisEnded}},{key:"isSynthesizing",get:function(){return this.privIsSynthesizing}},{key:"currentTextOffset",get:function(){return this.privTextOffset}},{key:"bytesReceived",get:function(){return this.privBytesReceived}},{key:"getAllReceivedAudio",value:function(){return b(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privReceivedAudio){e.next=2;break}return e.abrupt("return",Promise.resolve(this.privReceivedAudio));case 2:if(this.privIsSynthesisEnded){e.next=4;break}return e.abrupt("return",null);case 4:return e.next=6,this.readAllAudioFromStream();case 6:return e.abrupt("return",Promise.resolve(this.privReceivedAudio));case 7:case"end":return e.stop()}}),e,this)})))}}
2,{key:"getAllReceivedAudioWithHeader",value:function(){return b(this,void 0,void 0,i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privReceivedAudioWithHeader){e.next=2;break}return e.abrupt("return",this.privReceivedAudioWithHeader);case 2:if(this.privIsSynthesisEnded){e.next=4;break}return e.abrupt("return",null);case 4:if(!this.audioOutputFormat.hasHeader){e.next=12;break}return e.next=7,this.getAllReceivedAudio();case 7:return t=e.sent,this.privReceivedAudioWithHeader=p.a.addHeader(t,this.audioOutputFormat),e.abrupt("return",this.privReceivedAudioWithHeader);case 12:return e.abrupt("return",this.getAllReceivedAudio());case 13:case"end":return e.stop()}}),e,this)})))}},{key:"startNewSynthesis",value:function(e,t,r,n){this.privIsSynthesisEnded=!1,this.privIsSynthesizing=!0,this.privRequestId=e,this.privRawText=t,this.privIsSSML=r,this.privAudioOutputStream=new l.c,this.privAudioOutputStream.format=this.privAudioOutputFormat,this.privReceivedAudio=null,this.privReceivedAudioWithHeader=null,this.privBytesReceived=0,this.privTextOffset=0,this.privNextSearchTextIndex=0,this.privPartialVisemeAnimation="",void 0!==n&&(this.privTurnAudioDestination=n,this.privTurnAudioDestination.format=this.privAudioOutputFormat),this.onEvent(new m(this.requestId,void 0,void 0===n?void 0:n.id()))}},{key:"onAudioChunkReceived",value:function(e){this.isSynthesizing&&(this.privAudioOutputStream.write(e),this.privBytesReceived+=e.byteLength,void 0!==this.privTurnAudioDestination&&this.privTurnAudioDestination.write(e))}},{key:"onWordBoundaryEvent",value:function(e){this.updateTextOffset(e)}},{key:"onVisemeMetadataReceived",value:function(e){void 0!==e.Data.AnimationChunk&&(this.privPartialVisemeAnimation+=e.Data.AnimationChunk)}},{key:"onStopSynthesizing",value:function(){this.onComplete()}},{key:"getAndClearVisemeAnimation",value:function(){var e=this.privPartialVisemeAnimation;return this.privPartialVisemeAnimation="",e}},{key:"updateTextOffset",value:function(e){this.privTextOffset>=0&&(this.privTextOffset=this.privRawText.indexOf(e,this.privNextSearchTextIndex),this.privTextOffset>=0&&(this.privNextSearchTextIndex=this.privTextOffset+e.length),this.privIsSSML&&this.privRawText.indexOf("<",this.privTextOffset+1)>this.privRawText.indexOf(">",this.privTextOffset+1)&&this.updateTextOffset(e))}},{key:"readAllAudioFromStream",value:function(){return b(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privIsSynthesisEnded){e.next=10;break}return this.privReceivedAudio=new ArrayBuffer(this.bytesReceived),e.prev=2,e.next=5,this.privAudioOutputStream.read(this.privReceivedAudio);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),this.privReceivedAudio=new ArrayBuffer(0);case 10:case"end":return e.stop()}}),e,this,[[2,7]])})))}}]),e}()},function(e,t,r){"use strict";(function(e,n){var i,o=r(865);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:n;var a=Object(o.a)(i);t.a=a}).call(this,r(90),r(901)(e))},function(e,t,r){"use strict";var n=r(488),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(h){var i=d(r);i&&i!==h&&e(t,i,n)}var a=l(r);p&&(a=a.concat(p(r)));for(var s=u(t),v=u(r),m=0;m<a.length;++m){var y=a[m];if(!o[y]&&(!n||!n[y])&&(!v||!v[y])&&(!s||!s[y])){var T=f(r,y);try{c(t,y,T)}catch(b){}}}}return t}},function(e,t,r){e.exports=r(1547)},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1821);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];
2i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),n(e,i.key,i)}}e.exports=function(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(824)},function(e,t,r){e.exports=r(718)},function(e,t,r){e.exports=r(1920)},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(32),a=r(1),s=r(2),u=r(26),c=function e(t){var r=this;if(Object(a.a)(this,e),this.privSubscriptionIdCounter=0,this.privAddSubscriptions={},this.privRemoveSubscriptions={},this.privDisposedSubscriptions={},this.privDisposeReason=null,this.get=function(e){return r.throwIfDisposed(),r.privList[e]},this.first=function(){return r.get(0)},this.last=function(){return r.get(r.length()-1)},this.add=function(e){r.throwIfDisposed(),r.insertAt(r.privList.length,e)},this.insertAt=function(e,t){r.throwIfDisposed(),0===e?r.privList.unshift(t):e===r.privList.length?r.privList.push(t):r.privList.splice(e,0,t),r.triggerSubscriptions(r.privAddSubscriptions)},this.removeFirst=function(){return r.throwIfDisposed(),r.removeAt(0)},this.removeLast=function(){return r.throwIfDisposed(),r.removeAt(r.length()-1)},this.removeAt=function(e){return r.throwIfDisposed(),r.remove(e,1)[0]},this.remove=function(e,t){r.throwIfDisposed();var n=r.privList.splice(e,t);return r.triggerSubscriptions(r.privRemoveSubscriptions),n},this.clear=function(){r.throwIfDisposed(),r.remove(0,r.length())},this.length=function(){return r.throwIfDisposed(),r.privList.length},this.onAdded=function(e){r.throwIfDisposed();var t=r.privSubscriptionIdCounter++;return r.privAddSubscriptions[t]=e,{detach:function(){return delete r.privAddSubscriptions[t],Promise.resolve()}}},this.onRemoved=function(e){r.throwIfDisposed();var t=r.privSubscriptionIdCounter++;return r.privRemoveSubscriptions[t]=e,{detach:function(){return delete r.privRemoveSubscriptions[t],Promise.resolve()}}},this.onDisposed=function(e){r.throwIfDisposed();var t=r.privSubscriptionIdCounter++;return r.privDisposedSubscriptions[t]=e,{detach:function(){return delete r.privDisposedSubscriptions[t],Promise.resolve()}}},this.join=function(e){return r.throwIfDisposed(),r.privList.join(e)},this.toArray=function(){var e=Array();return r.privList.forEach((function(t){e.push(t)})),e},this.any=function(e){return r.throwIfDisposed(),e?r.where(e).length()>0:r.length()>0},this.all=function(e){return r.throwIfDisposed(),r.where(e).length()===r.length()},this.forEach=function(e){r.throwIfDisposed();for(var t=0;t<r.length();t++)e(r.privList[t],t)},this.select=function(t){r.throwIfDisposed();for(var n=[],i=0;i<r.privList.length;i++)n.push(t(r.privList[i],i));return new e(n)},this.where=function(t){r.throwIfDisposed();for(var n=new e,i=0;i<r.privList.length;i++)t(r.privList[i],i)&&n.add(r.privList[i]);return n},this.orderBy=function(t){r.throwIfDisposed();var n=r.toArray().sort(t);return new e(n)},this.orderByDesc=function(e){return r.throwIfDisposed(),r.orderBy((function(t,r){return e(r,t)}))},this.clone=function(){return r.throwIfDisposed(),new e(r.toArray())},this.concat=function(t){return r.throwIfDisposed(),new e(r.privList.concat(t.toArray()))},this.concatArray=function(t){return r.throwIfDisposed(),new e(r.privList.concat(t))},this.isDisposed=function(){return null==r.privList},this.dispose=function(e){r.isDisposed()||(r.privDisposeReason=e,r.privList=null,r.privAddSubscriptions=null,r.privRemoveSubscriptions=null,r.triggerSubscriptions(r.privDisposedSubscriptions))},this.throwIfDisposed=function(){if(r.isDisposed())throw new u.c("List",r.privDisposeReason)},this.triggerSubscriptions=function(e){if(e)for(var t in e)t&&e[t]()},this.privList=[],t){var n,i=Object(o.a)(t);try{for(i.s();!(n=i.n()).done;){var s=n.value;this.privList.push(s)}}catch(c){i.e(c)}finally{i.f()}}},l=r(170);r.d(t,"a",(function(){return d}));var p,f=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))};!function(e){e[e.Dequeue=0]="Dequeue",e[e.Peek=1]="Peek"}(p||(p={}));var d=function(){function e(t){var r=this;Object(a.a)(this,e),this.privPromiseStore=new c,this.privIsDrainInProgress=!1,this.privIsDisposing=!1,this.privDisposeReason=null,this.enqueue=function(e){r.throwIfDispose(),r.enqueueFromPromise(new Promise((function(t,r){t(e)})))},this.enqueueFromPromise=function(e){r.throwIfDispose(),e.then((function(e){r.privList.add(e)}),(function(e){}))},this.dequeue=function(){r.throwIfDispose();var e=new l.a;return r.privSubscribers&&(r.privSubscribers.add({deferral:e,type:p.Dequeue}),r.drain()),e.promise},this.peek=function(){r.throwIfDispose();var e=new l.a;return r.privSubscribers&&(r.privSubscribers.add({deferral:e,type:p.Peek}),r.drain()),e.promise},this.length=function(){return r.throwIfDispose(),r.privList.length()},this.isDisposed=function(){return null==r.privSubscribers},this.drain=function(){if(!r.privIsDrainInProgress&&!r.privIsDisposing){r.privIsDrainInProgress=!0;var e=r.privSubscribers,t=r.privList;if(e&&t){for(;t.length()>0&&e.length()>0&&!r.privIsDisposing;){var n=e.removeFirst();if(n.type===p.Peek)n.deferral.resolve(t.first());else{var i=t.removeFirst();n.deferral.resolve(i)}}r.privSubscribers===e&&(r.privSubscribers=e),r.privList===t&&(r.privList=t)}r.privIsDrainInProgress=!1}},this.throwIfDispose=function(){if(r.isDisposed()){if(r.privDisposeReason)throw new u.b(r.privDisposeReason);throw new u.c("Queue")}if(r.privIsDisposing)throw new u.b("Queue disposing")},this.privList=t||new c,this.privDetachables=[],this.privSubscribers=new c,this.privDetachables.push(this.privList.onAdded(this.drain))}return Object(s.a)(e,[{key:"drainAndDispose",value:function(e,t){return f(this,void 0,void 0,i.a.mark((function r(){var n,a,s,u,c,l=this;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(this.isDisposed()||this.privIsDisposing){r.next=30;break}if(this.privDisposeReason=t,this.privIsDisposing=!0,n=this.privSubscribers){for(;n.length()>0;)n.removeFirst().deferral.resolve(void 0);this.privSubscribers===n&&(this.privSubscribers=n)}a=Object(o.a)(this.privDetachables),r.prev=6,a.s();case 8:if((s=a.n()).done){r.next=14;break}return u=s.value,r.next=12,u.detach();case 12:r.next=8;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(6),a.e(r.t0);case 19:return r.prev=19,a.f(),r.finish(19);case 22:if(!(this.privPromiseStore.length()>0&&e)){r.next=28;break}
2return c=[],this.privPromiseStore.toArray().forEach((function(e){c.push(e)})),r.abrupt("return",Promise.all(c).finally((function(){l.privSubscribers=null,l.privList.forEach((function(t,r){e(t)})),l.privList=null})).then());case 28:this.privSubscribers=null,this.privList=null;case 30:case"end":return r.stop()}}),r,this,[[6,16,19,22]])})))}},{key:"dispose",value:function(e){return f(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.drainAndDispose(null,e);case 2:case"end":return t.stop()}}),t,this)})))}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(2),o=r(26),a=r(212),s=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,null,[{key:"instance",get:function(){return e.privInstance}}]),e}();s.privInstance=new a.a,s.setEventSource=function(e){if(!e)throw new o.a("eventSource");s.privInstance=e}},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var r,s,u=a(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))i.call(r,l)&&(u[l]=r[l]);if(n){s=n(r);for(var p=0;p<s.length;p++)o.call(r,s[p])&&(u[s[p]]=r[s[p]])}}return u}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SENT=t.SENDING=t.SEND_FAILED=void 0;t.SEND_FAILED="send failed";t.SENDING="sending";t.SENT="sent"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{type:"WEB_CHAT/CLEAR_SUGGESTED_ACTIONS"}},t.CLEAR_SUGGESTED_ACTIONS=void 0;t.CLEAR_SUGGESTED_ACTIONS="WEB_CHAT/CLEAR_SUGGESTED_ACTIONS"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_DICTATE_INTERIMS",payload:{dictateInterims:e}}},t.SET_DICTATE_INTERIMS=void 0;t.SET_DICTATE_INTERIMS="WEB_CHAT/SET_DICTATE_INTERIMS"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_LANGUAGE",payload:{language:e}}},t.SET_LANGUAGE=void 0;t.SET_LANGUAGE="WEB_CHAT/SET_LANGUAGE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DISMISS_NOTIFICATION=t.default=void 0;t.DISMISS_NOTIFICATION="WEB_CHAT/DISMISS_NOTIFICATION";var n=function(e){return{type:"WEB_CHAT/DISMISS_NOTIFICATION",payload:{id:e}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"DIRECT_LINE/CONNECTION_STATUS_UPDATE",payload:{connectionStatus:e}}},t.CONNECTION_STATUS_UPDATE=void 0;t.CONNECTION_STATUS_UPDATE="DIRECT_LINE/CONNECTION_STATUS_UPDATE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_REFERENCE_GRAMMAR_ID",payload:{referenceGrammarID:e}}},t.SET_REFERENCE_GRAMMAR_ID=void 0;t.SET_REFERENCE_GRAMMAR_ID="WEB_CHAT/SET_REFERENCE_GRAMMAR_ID"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SET_SEND_TIMEOUT",payload:{sendTimeout:e}}},t.SET_SEND_TIMEOUT=void 0;t.SET_SEND_TIMEOUT="WEB_CHAT/SET_SEND_TIMEOUT"},function(e,t,r){var n=r(368);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t){e.exports=function(e){try{return String(e)}catch(t){return"Object"}}},function(e,t,r){var n=r(72),i=r(43),o=r(372);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(43),i=r(49),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==l||r!=c&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},function(e,t,r){var n=r(43);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(91),i=r(107),o=r(533).indexOf,a=r(221);e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>u;
vendor: 3,354 bytes, line 2
2)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t,r){var n=r(107),i=r(131),o=r(373),a=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){var n=r(108);e.exports=n("document","documentElement")},function(e,t,r){var n=r(53),i=r(180),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,r){var n=r(130),i=r(82),o=r(275);e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(n(r))return i(r.call(e));throw TypeError(String(e)+" is not iterable")}},function(e,t,r){var n=r(82),i=r(369);e.exports=function(e,t,r){var o,a;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=o.call(e)}catch(s){a=!0,o=s}if("throw"===t)throw r;if(a)throw o;return n(o),r}},function(e,t,r){var n=r(47),i=r(49),o=r(376),a=n.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},function(e,t,r){"use strict";var n,i,o,a=r(43),s=r(49),u=r(152),c=r(272),l=r(183),p=r(53),f=r(178),d=p("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):h=!0),void 0==n||a((function(){var e={};return n[d].call(e)!==e}))?n={}:f&&(n=u(n)),s(n[d])||l(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},function(e,t,r){var n=r(47);e.exports=n.Promise},function(e,t,r){"use strict";var n=r(108),i=r(98),o=r(53),a=r(72),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(53)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(s){}return r}},function(e,t,r){var n=r(82),i=r(544),o=r(53)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){var n=r(279),i=r(528);e.exports=function(e){if(n(e))return e;throw TypeError(i(e)+" is not a constructor")}},function(e,t,r){var n,i,o,a,s=r(47),u=r(49),c=r(43),l=r(179),p=r(534),f=r(372),d=r(546),h=r(378),v=s.setImmediate,m=s.clearImmediate,y=s.process,T=s.MessageChannel,b=s.Dispatch,g=0,_={};try{n=s.location}catch(O){}var S=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},A=function(e){return function(){S(e)}},E=function(e){S(e.data)},C=function(e){s.postMessage(String(e),n.protocol+"//"+n.host)};v&&m||(v=function(e){for(var t=[],r=arguments.length,n=1;r>n;)t.push(arguments[n++]);return _[++g]=function(){(u(e)?e:Function(e)).apply(void 0,t)},i(g),g},m=function(e){delete _[e]},h?i=function(e){y.nextTick(A(e))}:b&&b.now?i=function(e){b.now(A(e))}:T&&!d?(a=(o=new T).port2,o.port1.onmessage=E,i=l(a.postMessage,a,1)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!c(C)?(i=C,s.addEventListener("message",E,!1)):i="onreadystatechange"in f("script")?function(e){p.appendChild(f("script")).onreadystatechange=function(){p.removeChild(this),S(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:v,clear:m}},function(e,t,r){var n=r(270);
2e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},function(e,t,r){var n=r(82),i=r(56),o=r(280);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.call)(i.default.mark((function r(){var n,s,u;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=(0,a.default)(),s=e.subscribe({next:n.push}),r.prev=2;case 3:return r.next=5,(0,o.call)(n.shift);case 5:return u=r.sent,r.next=8,(0,o.call)(t,u);case 8:r.next=3;break;case 10:return r.prev=10,s.unsubscribe(),r.finish(10);case 13:case"end":return r.stop()}}),r,null,[[2,,10,13]])})))};var i=n(r(25)),o=r(41),a=n(r(364))},function(e,t,r){"use strict";var n=r(223),i=r(953),o=r(225),a=r(226),s=r(561),u=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,r){var n=r(224),i=r(382);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.2",mode:n?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(133),i=r(120),o=r(384);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(135);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(381);e.exports=function(e){return Object(n(e))}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t,r){var n=r(556),i=r(120);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){var n,i,o=r(57),a=r(385),s=o.process,u=s&&s.versions,c=u&&u.v8;c?i=(n=c.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},function(e,t,r){var n=r(558),i=r(390);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(110),i=r(223),o=r(956).indexOf,a=r(389);e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>u;
2)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t,r){var n=r(388),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(155);e.exports=n("document","documentElement")},function(e,t,r){"use strict";var n=r(122),i=r(963),o=r(394),a=r(396),s=r(395),u=r(121),c=r(186),l=r(73),p=r(224),f=r(225),d=r(564),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,m=l("iterator"),y=function(){return this};e.exports=function(e,t,r,l,d,T,b){i(r,t,l);var g,_,S,A=function(e){if(e===d&&w)return w;if(!v&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},E=t+" Iterator",C=!1,O=e.prototype,I=O[m]||O["@@iterator"]||d&&O[d],w=!v&&I||A(d),P="Array"==t&&O.entries||I;if(P&&(g=o(P.call(new e)),h!==Object.prototype&&g.next&&(p||o(g)===h||(a?a(g,h):"function"!=typeof g[m]&&u(g,m,y)),s(g,E,!0,!0),p&&(f[E]=y))),"values"==d&&I&&"values"!==I.name&&(C=!0,w=function(){return I.call(this)}),p&&!b||O[m]===w||u(O,m,w),f[t]=w,d)if(_={values:A("values"),keys:T?w:A("keys"),entries:A("entries")},b)for(S in _)(v||C||!(S in O))&&c(O,S,_[S]);else n({target:t,proto:!0,forced:v||C},_);return _}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},function(e,t,r){var n=r(120),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==c||r!=u&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,r){"use strict";var n,i,o,a=r(120),s=r(394),u=r(121),c=r(110),l=r(73),p=r(224),f=l("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(n=i):d=!0);var h=void 0==n||a((function(){var e={};return n[f].call(e)!==e}));h&&(n={}),p&&!h||c(n,f)||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},function(e,t,r){var n=r(397),i=r(186),o=r(966);n||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,r){var n=r(397),i=r(380),o=r(73)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},function(e,t,r){var n=r(57);e.exports=n.Promise},function(e,t,r){var n=r(186);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";var n=r(155),i=r(134),o=r(73),a=r(133),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},function(e,t,r){var n=r(156);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(566),i=r(225),o=r(73)("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(99),i=r(156),o=r(73)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){var n,i,o,a=r(57),s=r(120),u=r(571),c=r(560),l=r(384),p=r(575),f=r(398),d=a.location,h=a.setImmediate,v=a.clearImmediate,m=a.process,y=a.MessageChannel,T=a.Dispatch,b=0,g={},_=function(e){if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},S=function(e){return function(){_(e)}},A=function(e){_(e.data)},E=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete g[e]},f?n=function(e){m.nextTick(S(e))}:T&&T.now?n=function(e){T.now(S(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=A,n=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(E)?(n=E,a.addEventListener("message",A,!1)):n="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:h,clear:v}},function(e,t,r){var n=r(385);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},function(e,t,r){var n=r(99),i=r(135),o=r(228);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){var n=r(57);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t,r){"use strict";var n=r(975).charAt,i=r(226),o=r(561),a=i.set,s=i.getterFor("String Iterator");o(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(57),i=r(983),o=r(549),a=r(121),s=r(73),u=s("iterator"),c=s("toStringTag"),l=o.values;for(var p in i){var f=n[p],d=f&&f.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(v){d[u]=l}if(d[c]||a(d,c,p),i[p])for(var h in o)if(d[h]!==o[h])try{a(d,h,o[h])}catch(v){d[h]=o[h]}}}},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(984);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(285),o=r(589),a=function(e){function t(t){e.call(this),this._value=t}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.Subject);t.BehaviorSubject=a},function(e,t,r){"use strict";t.isFunction=function(e){return"function"===typeof e}},function(e,t,r){"use strict";t.isObject=function(e){return null!=e&&"object"===typeof e}},function(e,t,r){"use strict";t.empty={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);t.ObjectUnsubscribedError=i},function(e,t,r){"use strict";function n(e){this.message=e}r.r(t),r.d(t,"InvalidTokenError",(function(){return a})),n.prototype=new Error,n.prototype.name="InvalidCharacterError";var i="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,o=0,a=0,s="";i=t.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/=".indexOf(i);return s};function o(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(i(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(t)}catch(e){return i(t)}}function a(e){this.message=e}a.prototype=new Error,a.prototype.name="InvalidTokenError",t.default=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified");var r=!0===(t=t||{}).header?0:1;try{return JSON.parse(o(e.split(".")[r]))}catch(e){throw new a("Invalid token specified: "+e.message)}}},function(e,t,r){"use strict";t.isArrayLike=function(e){return e&&"number"===typeof e.length}},function(e,t,r){"use strict";t.isPromise=function(e){return e&&"function"!==typeof e.subscribe&&"function"===typeof e.then}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t,r){e.call(this),this.value=t,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.done,r=e.value,n=e.subscriber;t?n.complete():(n.next(r),n.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var r=this.value,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{done:!1,value:r,subscriber:e});e.next(r),e.closed||e.complete()},t}(r(29).Observable);t.ScalarObservable=i},function(e,t,r){"use strict";var n=r(29),i=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"===typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){switch(this.kind){case"N":return n.Observable.of(this.value);case"E":return n.Observable.throw(this.error);case"C":return n.Observable.empty()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return"undefined"!==typeof t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();t.Notification=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77);t.map=function(e,t){return function(r){if("function"!==typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new o(e,t))}};var o=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}();t.MapOperator=o;var a=function(e){function t(t,r,n){e.call(this,t),this.project=r,this.count=0,this.thisArg=n||this}return n(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)},t}(i.Subscriber)},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(290),o=r(289);t.mergeMap=function(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(n){return"number"===typeof t&&(r=t,t=null),n.lift(new a(e,t,r))}};var a=function(){function e(e,t,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=r}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.resultSelector,this.concurrent))},e}();t.MergeMapOperator=a;var s=function(e){function t(t,r,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY),e.call(this,t),this.project=r,this.resultSelector=n,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return n(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){this.add(i.subscribeToResult(this,e,t,r))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){this.resultSelector?this._notifyResultSelector(e,t,r,n):this.destination.next(t)},t.prototype._notifyResultSelector=function(e,t,r,n){var i;try{i=this.resultSelector(e,t,r,n)}catch(o){return void this.destination.error(o)}this.destination.next(i)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber);
2t.MergeMapSubscriber=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77);t.refCount=function(){return function(e){return e.lift(new o(e))}};var o=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new a(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),a=function(e){function t(t,r){e.call(this,t),this.connectable=r}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(i.Subscriber)},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(600);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.channelData&&e.channelData.speak}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"DIRECT_LINE/QUEUE_INCOMING_ACTIVITY",payload:{activity:e}}},t.QUEUE_INCOMING_ACTIVITY=void 0;t.QUEUE_INCOMING_ACTIVITY="DIRECT_LINE/QUEUE_INCOMING_ACTIVITY"},function(e,t,r){var n=r(1078),i=r(1079),o=r(1080),a=r(1081);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return{type:"WEB_CHAT/SEND_EVENT",payload:{name:e,value:t}}},t.SEND_EVENT=void 0;t.SEND_EVENT="WEB_CHAT/SEND_EVENT"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SEND_FILES",payload:{files:e}}},t.SEND_FILES=void 0;t.SEND_FILES="WEB_CHAT/SEND_FILES"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return{type:"WEB_CHAT/SEND_MESSAGE_BACK",payload:{displayText:r,text:t,value:e}}},t.SEND_MESSAGE_BACK=void 0;t.SEND_MESSAGE_BACK="WEB_CHAT/SEND_MESSAGE_BACK"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"WEB_CHAT/SEND_POST_BACK",payload:{value:e}}},t.SEND_POST_BACK=void 0;t.SEND_POST_BACK="WEB_CHAT/SEND_POST_BACK"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.channelData;return{type:"WEB_CHAT/SUBMIT_SEND_BOX",payload:{channelData:r,method:e}}},t.SUBMIT_SEND_BOX=void 0;t.SUBMIT_SEND_BOX="WEB_CHAT/SUBMIT_SEND_BOX"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(0);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(){var e=i((0,n.useState)(),2)[1];return(0,n.useCallback)((function(){return e({})}),[e])};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)().activityRenderer,r=(0,i.default)(),a=e||r;return(0,n.useMemo)((function(){return function(){var e=t.apply(void 0,arguments);return!!e&&function(t){if((0,n.isValidElement)(e))return e;var r=e((function(){return a.apply(void 0,arguments)}),t);return r||console.warn("botframework-webchat: To hide an activity, the activity renderer should return false. It should not return a function that will return false when called."),r}}}),[t,a])};var n=r(0),i=a(r(613)),o=a(r(21));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().attachmentRenderer};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,o.useMemo)((function(){return function(e){var t=e.activity,r=e.nextVisibleActivity;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.hideTimestamp;return o.default.createElement(v,{activity:t,hideTimestamp:n,nextVisibleActivity:r})}}}),[])};var i=r(70),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),a=c(r(408)),s=c(r(1128)),u=c(r(21));function c(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}var p=i.Constants.ActivityClientState,f=p.SEND_FAILED,d=p.SENDING,h=p.SENT,v=function(e){var t=e.activity,r=e.hideTimestamp,n=e.nextVisibleActivity,i=(0,u.default)().activityStatusRenderer,c=(0,a.default)(),l=t.channelData,p=(l=void 0===l?{}:l).clientTimestamp,v=void 0===p?0:p,m=l.state,y=t.from.role,T=m!==d&&m!==f,b="user"===y,g=c({activity:t}),_=(0,s.default)(b&&!T?new Date(v).getTime()+g:0),S=T||!b?h:_?f:d;return(0,o.useMemo)((function(){return i({activity:t,hideTimestamp:r,nextVisibleActivity:n,sameTimestampGroup:r,sendState:S})}),[t,i,r,n,S])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(r=(0,i.default)(),a=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(r,a)||function(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(r,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],t=(0,o.default)().avatarRenderer;var r,a;return(0,n.useMemo)((function(){return function(r){var n=r.activity,i=n.from,o=(i=void 0===i?{}:i).role,a=t({activity:n,fromUser:"user"===o,styleOptions:e});return!1!==a&&"function"!==typeof a?(console.warn("botframework-webchat: avatarMiddleware should return a function to render the avatar, or return false if avatar should be hidden. Please refer to HOOKS.md for details."),function(){return a}):a}}),[t,e])};
2var n=r(0),i=a(r(124)),o=a(r(21));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(t=(0,o.default)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,r)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];var t,r;return(0,i.useMemo)((function(){return function(t){return e.dateFormatter({skeleton:"MMMMdhm"})(new Date(t))}}),[e])};var n,i=r(0),o=(n=r(294))&&n.__esModule?n:{default:n};function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return["ar-EG","ar-JO","ar-SA","he-IL"]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().localizedStrings};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleString=function(e,t){n||(console.warn("botframework-webchat: localize() is deprecated. Please use the useLocalizer() hooks instead. This function will be removed on or after 2022-02-12."),n=!0);return(0,i.default)(e,t)},t.localize=function(e,t){n||(console.warn("botframework-webchat: localize() is deprecated. Please use the useLocalizer() hooks instead. This function will be removed on or after 2022-02-12."),n=!0);for(var r=(0,o.default)(),i=(0,s.default)(t),a=r[i],u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];return Object.entries(c).reduce((function(e,t){var r=p(t,2),n=r[0],i=r[1];return"string"===typeof e?e.replace("$".concat(+n+1),i):e}),a&&a[e]||r["en-US"][e]||"")},Object.defineProperty(t,"getRTLList",{enumerable:!0,get:function(){return a.default}}),t.default=void 0;var n,i=c(r(620)),o=c(r(410)),a=c(r(617)),s=c(r(622)),u=c(r(411));function c(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.default=function(e){var t=e.args,r=e.text;return n||(console.warn("botframework-webchat: <Localize> is deprecated. Please use the useLocalizer() hooks instead. This function will be removed on or after 2022-02-12."),n=!0),(0,u.default)().apply(void 0,[r].concat(l(t||[])))}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(t).dateFormatter({skeleton:"MMMMdhm"})(new Date(e))};var n,i=(n=r(621))&&n.__esModule?n:{default:n}},function(e,t,r){var n,i,o;i=[r(295),r(409),r(1147),r(1148),r(1149)],void 0===(o="function"===typeof(n=function(e){var t=e._numberRound,r=e._numberToPartsFormatterFn,n=e._numberFormatterFn,i=e._pluralGeneratorFn,o=e._dateToPartsFormatterFn,a=e._dateFormatterFn,s=e._relativeTimeFormatterFn,u=e._unitFormatterFn;return e.a1941952454=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645",{".":"\u066b",",":"\u066c","%":"\u066a\u061c","+":"\u061c+","-":"\u061c-",E:"\u0627\u0633","\u2030":"\u0609"},"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]),e.a71314638=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645",{".":"\u066b",",":"\u066c","%":"\u066a\u061c","+":"\u061c+","-":"\u061c-",E:"\u0627\u0633","\u2030":"\u0609"},"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]),e.b1800711952=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645",{".":"\u066b",",":"\u066c","%":"\u066a\u061c","+":"\u061c+","-":"\u061c-",E:"\u0627\u0633","\u2030":"\u0609"},"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]),e.a311225754=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645",{".":"\u066b",",":"\u066c","%":"\u066a\u061c","+":"\u061c+","-":"\u061c-",E:"\u0627\u0633","\u2030":"\u0609"},"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]),e.a1058394490=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645",{".":"\u066b",",":"\u066c","%":"\u066a\u061c","+":"\u061c+","-":"\u061c-",E:"\u0627\u0633","\u2030":"\u0609"},"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]),e.b1405444964=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645",{".":"\u066b",",":"\u066c","%":"\u066a\u061c","+":"\u061c+","-":"\u061c-",E:"\u0627\u0633","\u2030":"\u0609"},"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]),e.b162621629=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b745972495=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1541980371=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a83314634=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1711882934=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1565068396=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b426806024=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b345754148=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1581691774=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1590866443=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2072550185=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1593697547=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b431368057=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b487177171=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1597391631=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1832240673=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"e","\u2030":"\u2030"}]),e.a965216723=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"e","\u2030":"\u2030"}]),e.a1632485429=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"e","\u2030":"\u2030"}]),e.a821123423=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b314646955=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1634332471=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1706669702=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1366822502=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1638950076=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2082738969=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a140729307=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a1639873597=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a1577180344=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a1648281116=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a1640797118=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a561501061=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","ep\xe4luku",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a226994415=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","ep\xe4luku",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a1658344017=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","ep\xe4luku",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a306440732=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\u202f","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a910058808=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\u202f","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1666655706=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\u202f","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a552376995=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b55851631=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1689743731=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1303871883=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"\u200e+","-":"\u200e-",E:"E","\u2030":"\u2030"}]),e.a1765653417=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"\u200e+","-":"\u200e-",E:"E","\u2030":"\u2030"}]),e.a1711908235=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"\u200e+","-":"\u200e-",E:"E","\u2030":"\u2030"}]),e.b718362617=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b794073939=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1715602319=r(["",,1,0,3,,,,3,2,"","#,##,##0.###","-#,##,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b973422946=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b111009546=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1723914008=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1804868475=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a116678585=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1726684571=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b977984979=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b252432569=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1739613865=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b476988387=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1901407401=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1754390201=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2046242705=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b990654877=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1765472453=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1501791736=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u0441\u0430\u043d\xa0\u0435\u043c\u0435\u0441",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a689427148=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u0441\u0430\u043d\xa0\u0435\u043c\u0435\u0441",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1803336814=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u0441\u0430\u043d\xa0\u0435\u043c\u0435\u0441",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a770941060=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1870300208=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1807030898=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b249300256=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a861957364=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a1840277654=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.b1260417506=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NS",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b417906314=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NS",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1842124696=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NS",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1763810178=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1156128622=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1867983284=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1019043276=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.b1525239776=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.a1880912578=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"E","\u2030":"\u2030"}]),e.b1779662230=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a665376426=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1890147788=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1235441388=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b355691928=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1947406090=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1485939684=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1180179344=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1954794258=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b296705673=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b607610563=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a669821983=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1561098165=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1149072151=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2007434955=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b299482619=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b693695889=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E"
2,"\u2030":"\u2030"}]),e.a2012976081=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1968688144=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"e","\u2030":"\u2030"}]),e.a900121028=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"e","\u2030":"\u2030"}]),e.a2032370022=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"e","\u2030":"\u2030"}]),e.a1463129519=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"\u2212",E:"e","\u2030":"\u2030"}]),e.b1887294459=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"\u2212",E:"e","\u2030":"\u2030"}]),e.a2033293543=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"\u2212",E:"e","\u2030":"\u2030"}]),e.a1435181062=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1541270670=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a985776304=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2101971175=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a736927693=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b274946385=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a702510565=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a303321743=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a2042528753=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"\u2212",E:"\xd710^","\u2030":"\u2030"}]),e.a697948532=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a161898720=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2058228610=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b62670422=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1942452374=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2067463820=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a688824466=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"\u0415","\u2030":"\u2030"}]),e.b120947326=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"\u0415","\u2030":"\u2030"}]),e.a2089628324=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":"\xa0","%":"%","+":"+","-":"-",E:"\u0415","\u2030":"\u2030"}]),e.b1087473771=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a648382175=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a2116410433=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":",",",":".","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1418994715=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1039493913=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b96411397=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b711487865=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b580956627=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b847000305=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1759276636=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1297329840=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a876307794=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","NaN",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1217046490=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a926595182=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b846076784=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1831402154=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b938561218=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1987075744=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b610844905=r(["",,1,0,0,,,,,,"","0","-0","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1755992163=r(["",,2,0,0,,,,,,"","00","-00","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.b1840235905=r(["",,1,0,3,,,,3,,"","#,##0.###","-#,##0.###","-","",t(),"\u221e","\u975e\u6578\u503c",{".":".",",":",","%":"%","+":"+","-":"-",E:"E","\u2030":"\u2030"}]),e.a1038316025=n(e("ar-EG").numberToPartsFormatter({raw:"0"})),e.a2123356411=n(e("ar-EG").numberToPartsFormatter({raw:"00"})),e.b1798381219=n(e("ar-EG").numberToPartsFormatter({})),e.b592410675=n(e("ar-SA").numberToPartsFormatter({raw:"0"})),e.b1184531033=n(e("ar-SA").numberToPartsFormatter({raw:"00"})),e.b1403114231=n(e("ar-SA").numberToPartsFormatter({})),e.a395141616=n(e("bg").numberToPartsFormatter({raw:"0"})),e.b635181084=n(e("bg").numberToPartsFormatter({raw:"00"})),e.b560738426=n(e("bg").numberToPartsFormatter({})),e.a641077879=n(e("ca").numberToPartsFormatter({raw:"0"})),e.b1601091523=n(e("ca").numberToPartsFormatter({raw:"00"})),e.b537650401=n(e("ca").numberToPartsFormatter({})),e.a130957221=n(e("cs").numberToPartsFormatter({raw:"0"})),e.b234962737=n(e("cs").numberToPartsFormatter({raw:"00"})),e.b521027023=n(e("cs").numberToPartsFormatter({})),e.b2146337608=n(e("da").numberToPartsFormatter({raw:"0"})),e.b2111625700=n(e("da").numberToPartsFormatter({raw:"00"})),e.b509021250=n(e("da").numberToPartsFormatter({})),e.a126395188=n(e("de").numberToPartsFormatter({raw:"0"})),e.b376385760=n(e("de").numberToPartsFormatter({raw:"00"})),e.b505327166=n(e("de").numberToPartsFormatter({}
2)),e.b1904963378=n(e("el").numberToPartsFormatter({raw:"0"})),e.a1076008134=n(e("el").numberToPartsFormatter({raw:"00"})),e.b470233368=n(e("el").numberToPartsFormatter({})),e.a1378886668=n(e("en").numberToPartsFormatter({raw:"0"})),e.b203855544=n(e("en").numberToPartsFormatter({raw:"00"})),e.b468386326=n(e("en").numberToPartsFormatter({})),e.b1148906457=n(e("es").numberToPartsFormatter({raw:"0"})),e.b1256031091=n(e("es").numberToPartsFormatter({raw:"00"})),e.b463768721=n(e("es").numberToPartsFormatter({})),e.b1654465082=n(e("et").numberToPartsFormatter({raw:"0"})),e.a251520718=n(e("et").numberToPartsFormatter({raw:"00"})),e.b462845200=n(e("et").numberToPartsFormatter({})),e.a2134943589=n(e("eu").numberToPartsFormatter({raw:"0"})),e.a1759072527=n(e("eu").numberToPartsFormatter({raw:"00"})),e.b461921679=n(e("eu").numberToPartsFormatter({})),e.a1119264306=n(e("fi").numberToPartsFormatter({raw:"0"})),e.a337785826=n(e("fi").numberToPartsFormatter({raw:"00"})),e.b444374780=n(e("fi").numberToPartsFormatter({})),e.a864203977=n(e("fr").numberToPartsFormatter({raw:"0"})),e.a1020850219=n(e("fr").numberToPartsFormatter({raw:"00"})),e.b436063091=n(e("fr").numberToPartsFormatter({})),e.a1110140240=n(e("gl").numberToPartsFormatter({raw:"0"})),e.a54939780=n(e("gl").numberToPartsFormatter({raw:"00"})),e.b412975066=n(e("gl").numberToPartsFormatter({})),e.a1861635128=n(e("he").numberToPartsFormatter({raw:"0"})),e.a1876444828=n(e("he").numberToPartsFormatter({raw:"00"})),e.b390810562=n(e("he").numberToPartsFormatter({})),e.b160599372=n(e("hi").numberToPartsFormatter({raw:"0"})),e.b683282528=n(e("hi").numberToPartsFormatter({raw:"00"})),e.b387116478=n(e("hi").numberToPartsFormatter({})),e.b415659701=n(e("hr").numberToPartsFormatter({raw:"0"})),e.b218135=n(e("hr").numberToPartsFormatter({raw:"00"})),e.b378804789=n(e("hr").numberToPartsFormatter({})),e.b1932335576=n(e("hu").numberToPartsFormatter({raw:"0"})),e.a227469996=n(e("hu").numberToPartsFormatter({raw:"00"})),e.b376034226=n(e("hu").numberToPartsFormatter({})),e.b420221734=n(e("id").numberToPartsFormatter({raw:"0"})),e.b141641158=n(e("id").numberToPartsFormatter({raw:"00"})),e.b363104932=n(e("id").numberToPartsFormatter({})),e.a80774858=n(e("it").numberToPartsFormatter({raw:"0"})),e.b1790615990=n(e("it").numberToPartsFormatter({raw:"00"})),e.b348328596=n(e("it").numberToPartsFormatter({})),e.b1690961346=n(e("ja").numberToPartsFormatter({raw:"0"})),e.b879863466=n(e("ja").numberToPartsFormatter({raw:"00"})),e.b337246344=n(e("ja").numberToPartsFormatter({})),e.b944028491=n(e("kk").numberToPartsFormatter({raw:"0"})),e.a800218559=n(e("kk").numberToPartsFormatter({raw:"00"})),e.b299381983=n(e("kk").numberToPartsFormatter({})),e.a1328704305=n(e("ko").numberToPartsFormatter({raw:"0"})),e.b1759508797=n(e("ko").numberToPartsFormatter({raw:"00"})),e.b295687899=n(e("ko").numberToPartsFormatter({})),e.a308462989=n(e("lt").numberToPartsFormatter({raw:"0"})),e.a972748775=n(e("lt").numberToPartsFormatter({raw:"00"})),e.b262441143=n(e("lt").numberToPartsFormatter({})),e.b702654261=n(e("lv").numberToPartsFormatter({raw:"0"})),e.b307114903=n(e("lv").numberToPartsFormatter({raw:"00"})),e.b260594101=n(e("lv").numberToPartsFormatter({})),e.b1973393873=n(e("ms").numberToPartsFormatter({raw:"0"})),e.b1045337211=n(e("ms").numberToPartsFormatter({raw:"00"})),e.b234735513=n(e("ms").numberToPartsFormatter({})),e.b461280031=n(e("nb").numberToPartsFormatter({raw:"0"})),e.b1414448365=n(e("nb").numberToPartsFormatter({raw:"00"})),e.b221806219=n(e("nb").numberToPartsFormatter({})),e.b1221898985=n(e("nl").numberToPartsFormatter({raw:"0"})),e.a776167837=n(e("nl").numberToPartsFormatter({raw:"00"})),e.b212571009=n(e("nl").numberToPartsFormatter({})),e.a1793204633=n(e("pl").numberToPartsFormatter({raw:"0"})),e.b244900517=n(e("pl").numberToPartsFormatter({raw:"00"})),e.b155312707=n(e("pl").numberToPartsFormatter({})),e.a2043702929=n(e("pt").numberToPartsFormatter({raw:"0"})),e.b1069387933=n(e("pt").numberToPartsFormatter({raw:"00"})),e.b147924539=n(e("pt").numberToPartsFormatter({})),e.b1200342102=n(e("pt-PT").numberToPartsFormatter({raw:"0"})),e.a1444431210=n(e("pt-PT").numberToPartsFormatter({raw:"00"})),e.a672152716=n(e("pt-PT").numberToPartsFormatter({})),e.b1003334920=n(e("ro").numberToPartsFormatter({raw:"0"})),e.b1038280740=n(e("ro").numberToPartsFormatter({raw:"00"})),e.b95283842=n(e("ro").numberToPartsFormatter({})),e.a258280626=n(e("ru").numberToPartsFormatter({raw:"0"})),e.b582904478=n(e("ru").numberToPartsFormatter({raw:"00"})),e.b89742716=n(e("ru").numberToPartsFormatter({})),e.b1768515907=n(e("sk").numberToPartsFormatter({raw:"0"})),e.a1010912439=n(e("sk").numberToPartsFormatter({raw:"00"})),e.b70348775=n(e("sk").numberToPartsFormatter({})),e.a2020892764=n(e("sl").numberToPartsFormatter({raw:"0"})),e.b1776503048=n(e("sl").numberToPartsFormatter({raw:"00"})),e.b69425254=n(e("sl").numberToPartsFormatter({})),e.a623966585=n(e("sr-Cyrl").numberToPartsFormatter({raw:"0"})),e.b2131541637=n(e("sr-Cyrl").numberToPartsFormatter({raw:"00"})),e.b1069356579=n(e("sr-Cyrl").numberToPartsFormatter({})),e.a1290756698=n(e("sr-Latn").numberToPartsFormatter({raw:"0"})),e.a1359082682=n(e("sr-Latn").numberToPartsFormatter({raw:"00"})),e.a1964888028=n(e("sr-Latn").numberToPartsFormatter({})),e.a1260273810=n(e("sv").numberToPartsFormatter({raw:"0"})),e.a414113154=n(e("sv").numberToPartsFormatter({raw:"00"})),e.b60190044=n(e("sv").numberToPartsFormatter({})),e.a1255711777=n(e("th").numberToPartsFormatter({raw:"0"})),e.a272690131=n(e("th").numberToPartsFormatter({raw:"00"})),e.b44490187=n(e("th").numberToPartsFormatter({})),e.a495092823=n(e("tr").numberToPartsFormatter({raw:"0"})),e.b1831660963=n(e("tr").numberToPartsFormatter({raw:"00"})),e.b35254977=n(e("tr").numberToPartsFormatter({})),e.a1246587711=n(e("uk").numberToPartsFormatter({raw:"0"})),e.b10155915=n(e("uk").numberToPartsFormatter({raw:"00"})),e.b13090473=n(e("uk").numberToPartsFormatter({})),e.b529710526=n(e("vi").numberToPartsFormatter({raw:"0"})),e.a759173586=n(e("vi").numberToPartsFormatter({raw:"00"})),e.a13691636=n(e("vi").numberToPartsFormatter({})),e.a1529786126=n(e("yue").numberToPartsFormatter({raw:"0"})),e.a179060358=n(e("yue").numberToPartsFormatter({raw:"00"})),e.b856184664=n(e("yue").numberToPartsFormatter({})),e.b1522702342=n(e("zh-Hans").numberToPartsFormatter({raw:"0"})),e.a41198362=n(e("zh-Hans").numberToPartsFormatter({raw:"00"})),e.a1392834108=n(e("zh-Hans").numberToPartsFormatter({})),e.b868786351=n(e("zh-Hans-SG").numberToPartsFormatter({raw:"0"})),e.b1162242397=n(e("zh-Hans-SG").numberToPartsFormatter({raw:"00"})),e.a1171394821=n(e("zh-Hans-SG").numberToPartsFormatter({})),e.b2028260967=n(e("zh-Hant").numberToPartsFormatter({raw:"0"})),e.a1548750171=n(e("zh-Hant").numberToPartsFormatter({raw:"00"})),e.a1393757629=n(e("zh-Hant").numberToPartsFormatter({})),e.b940911869=n(e("zh-Hant-HK").numberToPartsFormatter({raw:"0"})),e.a896833841=n(e("zh-Hant-HK").numberToPartsFormatter({raw:"00"})),e.b1691988717=n(e("zh-Hant-HK").numberToPartsFormatter({})),e.a279645380=n(e("zh-Hant-MO").numberToPartsFormatter({raw:"0"})),e.a79402896=n(e("zh-Hant-MO").numberToPartsFormatter({raw:"00"})),e.b1545148878=n(e("zh-Hant-MO").numberToPartsFormatter({})),e.b469273361=i((function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"})),e.b74006373=i((function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"})),e.a1569994036=i((function(e){return 1==e?"one":"other"})),e.a1593082061=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1609705439=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"})),e.a1621711212=i((function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"})),e.a1625405296=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1660499094=i((function(e){return 1==e?"one":"other"})),e.a1662346136=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1666963741=i((function(e){return 1==e?"one":"other"})),e.a1667887262=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1668810783=i((function(e){return 1==e?"one":"other"})),e.a1686357682=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1694669371=i((function(e){return e>
2=0&&e<2?"one":"other"})),e.a1717757396=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1739921900=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=Number(t[0])==e,o=i&&t[0].slice(-1);return 1==e&&n?"one":2==r&&n?"two":n&&(e<0||e>10)&&i&&0==o?"many":"other"})),e.a1743615984=i((function(e){return e>=0&&e<=1?"one":"other"})),e.a1751927673=i((function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"})),e.a1754698236=i((function(e){return 1==e?"one":"other"})),e.a1767627530=i((function(e){return"other"})),e.a1782403866=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1793486118=i((function(e){return"other"})),e.a1831350479=i((function(e){return 1==e?"one":"other"})),e.a1835044563=i((function(e){return"other"})),e.a1868291319=i((function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,i=n&&t[0].slice(-1),o=n&&t[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=r?"many":"other"})),e.a1870138361=i((function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,o=i&&t[0].slice(-1),a=i&&t[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return i&&0==o||a>=11&&a<=19||2==n&&s>=11&&s<=19?"zero":1==o&&11!=a||2==n&&1==u&&11!=s||2!=n&&1==u?"one":"other"})),e.a1895996949=i((function(e){return"other"})),e.a1908926243=i((function(e){return 1==e?"one":"other"})),e.a1918161453=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a1975419755=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return 1==e&&n?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&1!=r&&(0==i||1==i)||n&&i>=5&&i<=9||n&&o>=12&&o<=14?"many":"other"})),e.a1982807923=i((function(e){var t=String(e).split(".")[0];return 0==t||1==t?"one":"other"})),e.a2001260574=i((function(e){var t=String(e).split(".")[0];return 0==t||1==t?"one":"other"})),e.a2035448620=i((function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||n>=2&&n<=19?"few":"other"})),e.a2040989746=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"})),e.a2060383687=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"})),e.a2061307208=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":n&&(3==i||4==i)||!n?"few":"other"})),e.a598008047=i((function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"})),e.b662714642=i((function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],o=r.slice(-1),a=r.slice(-2),s=n.slice(-1),u=n.slice(-2);return i&&1==o&&11!=a||1==s&&11!=u?"one":i&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"})),e.a2070542418=i((function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"})),e.a2086242275=i((function(e){return"other"})),e.a2095477485=i((function(e){return 1==e?"one":"other"})),e.a2117641989=i((function(e){var t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),o=r.slice(-2);return n&&1==i&&11!=o?"one":n&&i>=2&&i<=4&&(o<12||o>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&o>=11&&o<=14?"many":"other"})),e.a2144424098=i((function(e){return"other"})),e.a772012218=i((function(e){return"other"})),e.b1234768562=i((function(e){return"other"})),e.b1960777549=i((function(e){return"other"})),e.b1233845041=i((function(e){return"other"})),e.b529193791=i((function(e){return"other"})),e.b382353952=i((function(e){return"other"})),e.a1178402495=o({1:e("ar-EG").numberFormatter({raw:"0"}),2:e("ar-EG").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"\u064a\u0646\u0627\u064a\u0631",2:"\u0641\u0628\u0631\u0627\u064a\u0631",3:"\u0645\u0627\u0631\u0633",4:"\u0623\u0628\u0631\u064a\u0644",5:"\u0645\u0627\u064a\u0648",6:"\u064a\u0648\u0646\u064a\u0648",7:"\u064a\u0648\u0644\u064a\u0648",8:"\u0623\u063a\u0633\u0637\u0633",9:"\u0633\u0628\u062a\u0645\u0628\u0631",10:"\u0623\u0643\u062a\u0648\u0628\u0631",11:"\u0646\u0648\u0641\u0645\u0628\u0631",12:"\u062f\u064a\u0633\u0645\u0628\u0631"}}},dayPeriods:{am:"\u0635",pm:"\u0645"}}),e.a1191033963=o({1:e("ar-SA").numberFormatter({raw:"0"}),2:e("ar-SA").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"\u064a\u0646\u0627\u064a\u0631",2:"\u0641\u0628\u0631\u0627\u064a\u0631",3:"\u0645\u0627\u0631\u0633",4:"\u0623\u0628\u0631\u064a\u0644",5:"\u0645\u0627\u064a\u0648",6:"\u064a\u0648\u0646\u064a\u0648",7:"\u064a\u0648\u0644\u064a\u0648",8:"\u0623\u063a\u0633\u0637\u0633",9:"\u0633\u0628\u062a\u0645\u0628\u0631",10:"\u0623\u0643\u062a\u0648\u0628\u0631",11:"\u0646\u0648\u0641\u0645\u0628\u0631",12:"\u062f\u064a\u0633\u0645\u0628\u0631"}}},dayPeriods:{am:"\u0635",pm:"\u0645"}}),e.b474539636=o({1:e("bg").numberFormatter({raw:"0"}),2:e("bg").numberFormatter({raw:"00"})},{pattern:"d MMMM, h:mm a",timeSeparator:":",months:{M:{4:{1:"\u044f\u043d\u0443\u0430\u0440\u0438",2:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",3:"\u043c\u0430\u0440\u0442",4:"\u0430\u043f\u0440\u0438\u043b",5:"\u043c\u0430\u0439",6:"\u044e\u043d\u0438",7:"\u044e\u043b\u0438",8:"\u0430\u0432\u0433\u0443\u0441\u0442",9:"\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438",10:"\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438",11:"\u043d\u043e\u0435\u043c\u0432\u0440\u0438",12:"\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438"}}},dayPeriods:{am:"\u043f\u0440.\u043e\u0431.",pm:"\u0441\u043b.\u043e\u0431."}}),e.b865165659=o({1:e("ca").numberFormatter({raw:"0"}),2:e("ca").numberFormatter({raw:"00"})},{pattern:"d MMMM 'a' 'les' h:mm a",timeSeparator:":",months:{M:{4:{1:"de gener",2:"de febrer",3:"de mar\xe7",4:"d\u2019abril",5:"de maig",6:"de juny",7:"de juliol",8:"d\u2019agost",9:"de setembre",10:"d\u2019octubre",11:"de novembre",12:"de desembre"}}
2},dayPeriods:{am:"a.\xa0m.",pm:"p.\xa0m."}}),e.a399771831=o({1:e("cs").numberFormatter({raw:"0"}),2:e("cs").numberFormatter({raw:"00"})},{pattern:"d. MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"ledna",2:"\xfanora",3:"b\u0159ezna",4:"dubna",5:"kv\u011btna",6:"\u010dervna",7:"\u010dervence",8:"srpna",9:"z\xe1\u0159\xed",10:"\u0159\xedjna",11:"listopadu",12:"prosince"}}},dayPeriods:{am:"dop.",pm:"odp."}}),e.b834145852=o({1:e("da").numberFormatter({raw:"0"}),2:e("da").numberFormatter({raw:"00"})},{pattern:"d. MMMM 'kl'. h.mm a",timeSeparator:".",months:{M:{4:{1:"januar",2:"februar",3:"marts",4:"april",5:"maj",6:"juni",7:"juli",8:"august",9:"september",10:"oktober",11:"november",12:"december"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.b553048632=o({1:e("de").numberFormatter({raw:"0"}),2:e("de").numberFormatter({raw:"00"})},{pattern:"d. MMMM 'um' h:mm a",timeSeparator:":",months:{M:{4:{1:"Januar",2:"Februar",3:"M\xe4rz",4:"April",5:"Mai",6:"Juni",7:"Juli",8:"August",9:"September",10:"Oktober",11:"November",12:"Dezember"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a2117374958=o({1:e("el").numberFormatter({raw:"0"}),2:e("el").numberFormatter({raw:"00"})},{pattern:"d MMMM - h:mm a",timeSeparator:":",months:{M:{4:{1:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5",2:"\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5",3:"\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5",4:"\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5",5:"\u039c\u03b1\u0390\u03bf\u03c5",6:"\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5",7:"\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5",8:"\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5",9:"\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5",10:"\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5",11:"\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5",12:"\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5"}}},dayPeriods:{am:"\u03c0.\u03bc.",pm:"\u03bc.\u03bc."}}),e.b2037043728=o({1:e("en").numberFormatter({raw:"0"}),2:e("en").numberFormatter({raw:"00"})},{pattern:"MMMM d 'at' h:mm a",timeSeparator:":",months:{M:{4:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a461811445=o({1:e("es").numberFormatter({raw:"0"}),2:e("es").numberFormatter({raw:"00"})},{pattern:"d 'de' MMMM, h:mm a",timeSeparator:":",months:{M:{4:{1:"enero",2:"febrero",3:"marzo",4:"abril",5:"mayo",6:"junio",7:"julio",8:"agosto",9:"septiembre",10:"octubre",11:"noviembre",12:"diciembre"}}},dayPeriods:{am:"a.\xa0m.",pm:"p.\xa0m."}}),e.b1615397898=o({1:e("et").numberFormatter({raw:"0"}),2:e("et").numberFormatter({raw:"00"})},{pattern:"d. MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"jaanuar",2:"veebruar",3:"m\xe4rts",4:"aprill",5:"mai",6:"juuni",7:"juuli",8:"august",9:"september",10:"oktoober",11:"november",12:"detsember"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a602360055=o({1:e("eu").numberFormatter({raw:"0"}),2:e("eu").numberFormatter({raw:"00"})},{pattern:"MMMM d h:mm a",timeSeparator:":",months:{M:{4:{1:"urtarrila",2:"otsaila",3:"martxoa",4:"apirila",5:"maiatza",6:"ekaina",7:"uztaila",8:"abuztua",9:"iraila",10:"urria",11:"azaroa",12:"abendua"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.b209911798=o({1:e("fi").numberFormatter({raw:"0"}),2:e("fi").numberFormatter({raw:"00"})},{pattern:"d. MMMM 'klo' h.mm a",timeSeparator:".",months:{M:{4:{1:"tammikuuta",2:"helmikuuta",3:"maaliskuuta",4:"huhtikuuta",5:"toukokuuta",6:"kes\xe4kuuta",7:"hein\xe4kuuta",8:"elokuuta",9:"syyskuuta",10:"lokakuuta",11:"marraskuuta",12:"joulukuuta"}}},dayPeriods:{am:"ap.",pm:"ip."}}),e.b1724926701=o({1:e("fr").numberFormatter({raw:"0"}),2:e("fr").numberFormatter({raw:"00"})},{pattern:"d MMMM '\xe0' h:mm a",timeSeparator:":",months:{M:{4:{1:"janvier",2:"f\xe9vrier",3:"mars",4:"avril",5:"mai",6:"juin",7:"juillet",8:"ao\xfbt",9:"septembre",10:"octobre",11:"novembre",12:"d\xe9cembre"}}
2},dayPeriods:{am:"AM",pm:"PM"}}),e.b2115552724=o({1:e("gl").numberFormatter({raw:"0"}),2:e("gl").numberFormatter({raw:"00"})},{pattern:"h:mm a 'do' d 'de' MMMM",timeSeparator:":",dayPeriods:{am:"a.m.",pm:"p.m."},months:{M:{4:{1:"xaneiro",2:"febreiro",3:"marzo",4:"abril",5:"maio",6:"xu\xf1o",7:"xullo",8:"agosto",9:"setembro",10:"outubro",11:"novembro",12:"decembro"}}}}),e.b428969404=o({1:e("he").numberFormatter({raw:"0"}),2:e("he").numberFormatter({raw:"00"})},{pattern:"d \u05d1MMMM \u05d1\u05e9\u05e2\u05d4 h:mm a",timeSeparator:":",months:{M:{4:{1:"\u05d9\u05e0\u05d5\u05d0\u05e8",2:"\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8",3:"\u05de\u05e8\u05e5",4:"\u05d0\u05e4\u05e8\u05d9\u05dc",5:"\u05de\u05d0\u05d9",6:"\u05d9\u05d5\u05e0\u05d9",7:"\u05d9\u05d5\u05dc\u05d9",8:"\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8",9:"\u05e1\u05e4\u05d8\u05de\u05d1\u05e8",10:"\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8",11:"\u05e0\u05d5\u05d1\u05de\u05d1\u05e8",12:"\u05d3\u05e6\u05de\u05d1\u05e8"}}},dayPeriods:{am:"\u05dc\u05e4\u05e0\u05d4\u05f4\u05e6",pm:"\u05d0\u05d7\u05d4\u05f4\u05e6"}}),e.b147872184=o({1:e("hi").numberFormatter({raw:"0"}),2:e("hi").numberFormatter({raw:"00"})},{pattern:"d MMMM \u0915\u094b h:mm a",timeSeparator:":",months:{M:{4:{1:"\u091c\u0928\u0935\u0930\u0940",2:"\u092b\u093c\u0930\u0935\u0930\u0940",3:"\u092e\u093e\u0930\u094d\u091a",4:"\u0905\u092a\u094d\u0930\u0948\u0932",5:"\u092e\u0908",6:"\u091c\u0942\u0928",7:"\u091c\u0941\u0932\u093e\u0908",8:"\u0905\u0917\u0938\u094d\u0924",9:"\u0938\u093f\u0924\u0902\u092c\u0930",10:"\u0905\u0915\u094d\u0924\u0942\u092c\u0930",11:"\u0928\u0935\u0902\u092c\u0930",12:"\u0926\u093f\u0938\u0902\u092c\u0930"}}},dayPeriods:{am:"am",pm:"pm"}}),e.b1662887087=o({1:e("hr").numberFormatter({raw:"0"}),2:e("hr").numberFormatter({raw:"00"})},{pattern:"d. MMMM 'u' hh:mm a",timeSeparator:":",months:{M:{4:{1:"sije\u010dnja",2:"velja\u010de",3:"o\u017eujka",4:"travnja",5:"svibnja",6:"lipnja",7:"srpnja",8:"kolovoza",9:"rujna",10:"listopada",11:"studenoga",12:"prosinca"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a695419476=o({1:e("hu").numberFormatter({raw:"0"}),2:e("hu").numberFormatter({raw:"00"})},{pattern:"MMMM d. a h:mm",timeSeparator:":",months:{M:{4:{1:"janu\xe1r",2:"febru\xe1r",3:"m\xe1rcius",4:"\xe1prilis",5:"m\xe1jus",6:"j\xfanius",7:"j\xfalius",8:"augusztus",9:"szeptember",10:"okt\xf3ber",11:"november",12:"december"}}},dayPeriods:{am:"de.",pm:"du."}}),e.a1679259746=o({1:e("id").numberFormatter({raw:"0"}),2:e("id").numberFormatter({raw:"00"})},{pattern:"d MMMM h.mm a",timeSeparator:".",months:{M:{4:{1:"Januari",2:"Februari",3:"Maret",4:"April",5:"Mei",6:"Juni",7:"Juli",8:"Agustus",9:"September",10:"Oktober",11:"November",12:"Desember"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.b1491318670=o({1:e("it").numberFormatter({raw:"0"}),2:e("it").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"gennaio",2:"febbraio",3:"marzo",4:"aprile",5:"maggio",6:"giugno",7:"luglio",8:"agosto",9:"settembre",10:"ottobre",11:"novembre",12:"dicembre"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.b648027010=o({1:e("ja").numberFormatter({raw:"0"}),2:e("ja").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 aK:mm",timeSeparator:":",dayPeriods:{am:"\u5348\u524d",pm:"\u5348\u5f8c"}}),e.a85735847=o({1:e("kk").numberFormatter({raw:"0"}),2:e("kk").numberFormatter({raw:"00"})},{pattern:"d MMMM, h:mm a",timeSeparator:":",months:{M:{4:{1:"\u049b\u0430\u04a3\u0442\u0430\u0440",2:"\u0430\u049b\u043f\u0430\u043d",3:"\u043d\u0430\u0443\u0440\u044b\u0437",4:"\u0441\u04d9\u0443\u0456\u0440",5:"\u043c\u0430\u043c\u044b\u0440",6:"\u043c\u0430\u0443\u0441\u044b\u043c",7:"\u0448\u0456\u043b\u0434\u0435",8:"\u0442\u0430\u043c\u044b\u0437",9:"\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a",10:"\u049b\u0430\u0437\u0430\u043d",11:"\u049b\u0430\u0440\u0430\u0448\u0430",12:"\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a366833067=o({1:e("ko").numberFormatter({raw:"0"}),2:e("ko").numberFormatter({raw:"00"})},{pattern:"MMMM d\uc77c a h:mm",timeSeparator:":",months:{M:{4:{1:"1\uc6d4",2:"2\uc6d4",3:"3\uc6d4",4:"4\uc6d4",5:"5\uc6d4",6:"6\uc6d4",7:"7\uc6d4",8:"8\uc6d4",9:"9\uc6d4",10:"10\uc6d4",11:"11\uc6d4",12:"12\uc6d4"}}},dayPeriods:{am:"\uc624\uc804",pm:"\uc624\ud6c4"}}),e.b1398259249=o({1:e("lt").numberFormatter({raw:"0"}),2:e("lt").numberFormatter({raw:"00"})}
2,{pattern:"MMMM d 'd'. hh:mm a",timeSeparator:":",months:{M:{4:{1:"sausio",2:"vasario",3:"kovo",4:"baland\u017eio",5:"gegu\u017e\u0117s",6:"bir\u017eelio",7:"liepos",8:"rugpj\u016b\u010dio",9:"rugs\u0117jo",10:"spalio",11:"lapkri\u010dio",12:"gruod\u017eio"}}},dayPeriods:{am:"prie\u0161piet",pm:"popiet"}}),e.b1257710639=o({1:e("lv").numberFormatter({raw:"0"}),2:e("lv").numberFormatter({raw:"00"})},{pattern:"d. MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"janv\u0101ris",2:"febru\u0101ris",3:"marts",4:"apr\u012blis",5:"maijs",6:"j\u016bnijs",7:"j\u016blijs",8:"augusts",9:"septembris",10:"oktobris",11:"novembris",12:"decembris"}}},dayPeriods:{am:"priek\u0161pusdien\u0101",pm:"p\u0113cpusdien\u0101"}}),e.a709969901=o({1:e("ms").numberFormatter({raw:"0"}),2:e("ms").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"Januari",2:"Februari",3:"Mac",4:"April",5:"Mei",6:"Jun",7:"Julai",8:"Ogos",9:"September",10:"Oktober",11:"November",12:"Disember"}}},dayPeriods:{am:"PG",pm:"PTG"}}),e.a1693810171=o({1:e("nb").numberFormatter({raw:"0"}),2:e("nb").numberFormatter({raw:"00"})},{pattern:"d. MMMM 'kl'. h:mm a",timeSeparator:":",months:{M:{4:{1:"januar",2:"februar",3:"mars",4:"april",5:"mai",6:"juni",7:"juli",8:"august",9:"september",10:"oktober",11:"november",12:"desember"}}},dayPeriods:{am:"a.m.",pm:"p.m."}}),e.b1898414075=o({1:e("nl").numberFormatter({raw:"0"}),2:e("nl").numberFormatter({raw:"00"})},{pattern:"d MMMM 'om' h:mm a",timeSeparator:":",months:{M:{4:{1:"januari",2:"februari",3:"maart",4:"april",5:"mei",6:"juni",7:"juli",8:"augustus",9:"september",10:"oktober",11:"november",12:"december"}}},dayPeriods:{am:"a.m.",pm:"p.m."}}),e.b1836374461=o({1:e("pl").numberFormatter({raw:"0"}),2:e("pl").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"stycznia",2:"lutego",3:"marca",4:"kwietnia",5:"maja",6:"czerwca",7:"lipca",8:"sierpnia",9:"wrze\u015bnia",10:"pa\u017adziernika",11:"listopada",12:"grudnia"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.b1274180021=o({1:e("pt").numberFormatter({raw:"0"}),2:e("pt").numberFormatter({raw:"00"})},{pattern:"d 'de' MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"janeiro",2:"fevereiro",3:"mar\xe7o",4:"abril",5:"maio",6:"junho",7:"julho",8:"agosto",9:"setembro",10:"outubro",11:"novembro",12:"dezembro"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a1582820462=o({1:e("pt-PT").numberFormatter({raw:"0"}),2:e("pt-PT").numberFormatter({raw:"00"})},{pattern:"d 'de' MMMM '\xe0s' h:mm a",timeSeparator:":",months:{M:{4:{1:"janeiro",2:"fevereiro",3:"mar\xe7o",4:"abril",5:"maio",6:"junho",7:"julho",8:"agosto",9:"setembro",10:"outubro",11:"novembro",12:"dezembro"}}},dayPeriods:{am:"da manh\xe3",pm:"da tarde"}}),e.a583971716=o({1:e("ro").numberFormatter({raw:"0"}),2:e("ro").numberFormatter({raw:"00"})},{pattern:"d MMMM, h:mm a",timeSeparator:":",months:{M:{4:{1:"ianuarie",2:"februarie",3:"martie",4:"aprilie",5:"mai",6:"iunie",7:"iulie",8:"august",9:"septembrie",10:"octombrie",11:"noiembrie",12:"decembrie"}}},dayPeriods:{am:"a.m.",pm:"p.m."}}),e.a1005617546=o({1:e("ru").numberFormatter({raw:"0"}),2:e("ru").numberFormatter({raw:"00"})},{pattern:"d MMMM, h:mm a",timeSeparator:":",months:{M:{4:{1:"\u044f\u043d\u0432\u0430\u0440\u044f",2:"\u0444\u0435\u0432\u0440\u0430\u043b\u044f",3:"\u043c\u0430\u0440\u0442\u0430",4:"\u0430\u043f\u0440\u0435\u043b\u044f",5:"\u043c\u0430\u044f",6:"\u0438\u044e\u043d\u044f",7:"\u0438\u044e\u043b\u044f",8:"\u0430\u0432\u0433\u0443\u0441\u0442\u0430",9:"\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f",10:"\u043e\u043a\u0442\u044f\u0431\u0440\u044f",11:"\u043d\u043e\u044f\u0431\u0440\u044f",12:"\u0434\u0435\u043a\u0430\u0431\u0440\u044f"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.a333894303=o({1:e("sk").numberFormatter({raw:"0"}),2:e("sk").numberFormatter({raw:"00"})},{pattern:"d. MMMM, h:mm a",timeSeparator:":",months:{M:{4:{1:"janu\xe1ra",2:"febru\xe1ra",3:"marca",4:"apr\xedla",5:"m\xe1ja",6:"j\xfana",7:"j\xfala",8:"augusta",9:"septembra",10:"okt\xf3bra",11:"novembra",12:"decembra"}}},dayPeriods:{am:"AM",pm:"PM"}}),e.b1743315040=o({1:e("sl").numberFormatter({raw:"0"}),2:e("sl").numberFormatter({raw:"00"})},{pattern:"d. MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"januar",2:"februar",3:"marec",4:"april",5:"maj",6:"junij",7:"julij",8:"avgust",9:"september",10:"oktober",11:"november",12:"december"}}},dayPeriods:{am:"dop.",pm:"pop."}}),e.a374999999=o({1:e("sr-Cyrl").numberFormatter({raw:"0"}),2:e("sr-Cyrl").numberFormatter({raw:"00"})},{pattern:"d. MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"\u0458\u0430\u043d\u0443\u0430\u0440",2:"\u0444\u0435\u0431\u0440\u0443\u0430\u0440",3:"\u043c\u0430\u0440\u0442",4:"\u0430\u043f\u0440\u0438\u043b",5:"\u043c\u0430\u0458",6:"\u0458\u0443\u043d",7:"\u0458\u0443\u043b",8:"\u0430\u0432\u0433\u0443\u0441\u0442",9:"\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440",10:"\u043e\u043a\u0442\u043e\u0431\u0430\u0440",11:"\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440",12:"\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440"}}},dayPeriods:{am:"\u043f\u0440\u0435 \u043f\u043e\u0434\u043d\u0435",pm:"\u043f\u043e \u043f\u043e\u0434\u043d\u0435"}}),e.a976026686=o({1:e("sr-Latn").numberFormatter({raw:"0"}),2:e("sr-Latn").numberFormatter({raw:"00"})},{pattern:"d. MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"januar",2:"februar",3:"mart",4:"april",5:"maj",6:"jun",7:"jul",8:"avgust",9:"septembar",10:"oktobar",11:"novembar",12:"decembar"}}},dayPeriods:{am:"pre podne",pm:"po podne"}}),e.b1040571990=o({1:e("sv").numberFormatter({raw:"0"}),2:e("sv").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"januari",2:"februari",3:"mars",4:"april",5:"maj",6:"juni",7:"juli",8:"augusti",9:"september",10:"oktober",11:"november",12:"december"}}},dayPeriods:{am:"fm",pm:"em"}}),e.b1993392453=o({1:e("th").numberFormatter({raw:"0"}),2:e("th").numberFormatter({raw:"00"})},{pattern:"d MMMM h:mm a",timeSeparator:":",months:{M:{4:{1:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21",2:"\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c",3:"\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21",4:"\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19",5:"\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21",6:"\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19",7:"\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21",8:"\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21",9:"\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19",10:"\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21",11:"\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19",12:"\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21"}}},dayPeriods:{am:"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",pm
2:"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"}}),e.b1290649403=o({1:e("tr").numberFormatter({raw:"0"}),2:e("tr").numberFormatter({raw:"00"})},{pattern:"d MMMM a h:mm",timeSeparator:":",months:{M:{4:{1:"Ocak",2:"\u015eubat",3:"Mart",4:"Nisan",5:"May\u0131s",6:"Haziran",7:"Temmuz",8:"A\u011fustos",9:"Eyl\xfcl",10:"Ekim",11:"Kas\u0131m",12:"Aral\u0131k"}}},dayPeriods:{am:"\xd6\xd6",pm:"\xd6S"}}),e.a395933917=o({1:e("uk").numberFormatter({raw:"0"}),2:e("uk").numberFormatter({raw:"00"})},{pattern:"d MMMM '\u043e' h:mm a",timeSeparator:":",months:{M:{4:{1:"\u0441\u0456\u0447\u043d\u044f",2:"\u043b\u044e\u0442\u043e\u0433\u043e",3:"\u0431\u0435\u0440\u0435\u0437\u043d\u044f",4:"\u043a\u0432\u0456\u0442\u043d\u044f",5:"\u0442\u0440\u0430\u0432\u043d\u044f",6:"\u0447\u0435\u0440\u0432\u043d\u044f",7:"\u043b\u0438\u043f\u043d\u044f",8:"\u0441\u0435\u0440\u043f\u043d\u044f",9:"\u0432\u0435\u0440\u0435\u0441\u043d\u044f",10:"\u0436\u043e\u0432\u0442\u043d\u044f",11:"\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430",12:"\u0433\u0440\u0443\u0434\u043d\u044f"}}},dayPeriods:{am:"\u0434\u043f",pm:"\u043f\u043f"}}),e.a286405114=o({1:e("vi").numberFormatter({raw:"0"}),2:e("vi").numberFormatter({raw:"00"})},{pattern:"h:mm a d MMMM",timeSeparator:":",dayPeriods:{am:"SA",pm:"CH"},months:{M:{4:{1:"th\xe1ng 1",2:"th\xe1ng 2",3:"th\xe1ng 3",4:"th\xe1ng 4",5:"th\xe1ng 5",6:"th\xe1ng 6",7:"th\xe1ng 7",8:"th\xe1ng 8",9:"th\xe1ng 9",10:"th\xe1ng 10",11:"th\xe1ng 11",12:"th\xe1ng 12"}}}}),e.b222114294=o({1:e("yue").numberFormatter({raw:"0"}),2:e("yue").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 ah:mm",timeSeparator:":",dayPeriods:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348"}}),e.b1939787106=o({1:e("zh-Hans").numberFormatter({raw:"0"}),2:e("zh-Hans").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 ah:mm",timeSeparator:":",dayPeriods:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348"}}),e.b621833333=o({1:e("zh-Hans-SG").numberFormatter({raw:"0"}),2:e("zh-Hans-SG").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 ah:mm",timeSeparator:":",dayPeriods:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348"}}),e.a277970847=o({1:e("zh-Hant").numberFormatter({raw:"0"}),2:e("zh-Hant").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 ah:mm",timeSeparator:":",dayPeriods:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348"}}),e.b936690535=o({1:e("zh-Hant-HK").numberFormatter({raw:"0"}),2:e("zh-Hant-HK").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 ah:mm",timeSeparator:":",dayPeriods:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348"}}),e.b500494280=o({1:e("zh-Hant-MO").numberFormatter({raw:"0"}),2:e("zh-Hant-MO").numberFormatter({raw:"00"})},{pattern:"M\u6708d\u65e5 ah:mm",timeSeparator:":",dayPeriods:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348"}}),e.a50097046=a(e("ar-EG").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a62728514=a(e("ar-SA").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b46681067=a(e("bg").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b437307090=a(e("ca").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a827630400=a(e("cs").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b406287283=a(e("da").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b125190063=a(e("de").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1749733769=a(e("el").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1609185159=a(e("en").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a889670014=a(e("es").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1187539329=a(e("et").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a1030218624=a(e("eu").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a217946771=a(e("fi").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1297068132=a(e("fr").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1687694155=a(e("gl").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1110835=a(e("he").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a279986385=a(e("hi").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1235028518=a(e("hr").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a1123278045=a(e("hu").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a2107118315=a(e("id").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1063460101=a(e("it").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b220168441=a(e("ja").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a513594416=a(e("kk").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a794691636=a(e("ko").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b970400680=a(e("lt").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b829852070=a(e("lv").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a1137828470=a(e("ms").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a2121668740=a(e("nb").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1470555506=a(e("nl").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1408515892=a(e("pl").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b846321452=a(e("pt").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a454515013=a(e("pt-PT").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a1011830285=a(e("ro").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a1433476115=a(e("ru").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a761752872=a(e("sk").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1315456471=a(e("sl").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1594777898=a(e("sr-Cyrl").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b993751211=a(e("sr-Latn").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b612713421=a(e("sv").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1565533884=a(e("th").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b862790834=a(e("tr").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a823792486=a(e("uk").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a714263683=a(e("vi").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a156599457=a(e("yue").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.a385402293=a(e("zh-Hans").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b136997612=a(e("zh-Hans-SG").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1691807050=a(e("zh-Hant").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b451854814=a(e("zh-Hant-HK").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b15658559=a(e("zh-Hant-MO").dateToPartsFormatter({skeleton:"MMMMdhm"})),e.b1129493863=s(e("ar-EG").numberFormatter({}),e("ar-EG").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-zero":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-one":"\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u062a\u064a\u0646","relativeTimePattern-count-few":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0627\u062a","relativeTimePattern-count-many":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-other":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629"},"relativeTime-type-past":{"relativeTimePattern-count-zero":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-one":"\u0642\u0628\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u0642\u0628\u0644 \u0633\u0627\u0639\u062a\u064a\u0646","relativeTimePattern-count-few":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0627\u062a","relativeTimePattern-count-many":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-other":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629"},"relative-type-0":"\u0627\u0644\u0633\u0627\u0639\u0629 \u0627\u0644\u062d\u0627\u0644\u064a\u0629"}),e.b318696087=s(e("ar-EG").numberFormatter({}),e("ar-EG").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-zero":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-one":"\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646","relativeTimePattern-count-few":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u0627\u0626\u0642","relativeTimePattern-count-many":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-other":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629"},"relativeTime-type-past":{"relativeTimePattern-count-zero":"\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-one":"\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646","relativeTimePattern-count-few":"\u0642\u0628\u0644 {0} \u062f\u0642\u0627\u0626\u0642","relativeTimePattern-count-many":"\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-other":"\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629"},"relative-type-0":"\u0647\u0630\u0647 \u0627\u0644\u062f\u0642\u064a\u0642\u0629"}),e.b1716664979=s(e("ar-SA").numberFormatter({}),e("ar-SA").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-zero":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-one":"\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u062a\u064a\u0646","relativeTimePattern-count-few":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0627\u062a","relativeTimePattern-count-many":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-other":"\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629"},"relativeTime-type-past":{"relativeTimePattern-count-zero":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-one":"\u0642\u0628\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u0642\u0628\u0644 \u0633\u0627\u0639\u062a\u064a\u0646","relativeTimePattern-count-few":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0627\u062a","relativeTimePattern-count-many":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629","relativeTimePattern-count-other":"\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629"},"relative-type-0":"\u0627\u0644\u0633\u0627\u0639\u0629 \u0627\u0644\u062d\u0627\u0644\u064a\u0629"}),e.b1949422787=s(e("ar-SA").numberFormatter({}),e("ar-SA").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-zero":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-one":"\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646","relativeTimePattern-count-few":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u0627\u0626\u0642","relativeTimePattern-count-many":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-other":"\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629"},"relativeTime-type-past":{"relativeTimePattern-count-zero":"\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-one":"\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629","relativeTimePattern-count-two":"\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646","relativeTimePattern-count-few":"\u0642\u0628\u0644 {0} \u062f\u0642\u0627\u0626\u0642","relativeTimePattern-count-many":"\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629","relativeTimePattern-count-other":"\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629"},"relative-type-0":"\u0647\u0630\u0647 \u0627\u0644\u062f\u0642\u064a\u0642\u0629"}),e.b1132152016=s(e("bg").numberFormatter({}),e("bg").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0441\u043b\u0435\u0434 {0} \u0447\u0430\u0441","relativeTimePattern-count-other":"\u0441\u043b\u0435\u0434 {0} \u0447\u0430\u0441\u0430"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u043f\u0440\u0435\u0434\u0438 {0} \u0447\u0430\u0441","relativeTimePattern-count-other":"\u043f\u0440\u0435\u0434\u0438 {0} \u0447\u0430\u0441\u0430"},"relative-type-0":"\u0432 \u0442\u043e\u0437\u0438 \u0447\u0430\u0441"}),e.a1421786176=s(e("bg").numberFormatter({}),e("bg").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0441\u043b\u0435\u0434 {0} \u043c\u0438\u043d\u0443\u0442\u0430","relativeTimePattern-count-other":"\u0441\u043b\u0435\u0434 {0} \u043c\u0438\u043d\u0443\u0442\u0438"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u043f\u0440\u0435\u0434\u0438 {0} \u043c\u0438\u043d\u0443\u0442\u0430","relativeTimePattern-count-other":"\u043f\u0440\u0435\u0434\u0438 {0} \u043c\u0438\u043d\u0443\u0442\u0438"},"relative-type-0":"\u0432 \u0442\u0430\u0437\u0438 \u043c\u0438\u043d\u0443\u0442\u0430"}),e.a2094915959=s(e("ca").numberFormatter({}),e("ca").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"d\u2019aqu\xed a {0} hora","relativeTimePattern-count-other":"d\u2019aqu\xed a {0} hores"},"relativeTime-type-past":{"relativeTimePattern-count-one":"fa {0} hora","relativeTimePattern-count-other":"fa {0} hores"},"relative-type-0":"aquesta hora"}),e.a1667722439=s(e("ca").numberFormatter({}),e("ca").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"d\u2019aqu\xed a {0} minut","relativeTimePattern-count-other":"d\u2019aqu\xed a {0} minuts"},"relativeTime-type-past":{"relativeTimePattern-count-one":"fa {0} minut","relativeTimePattern-count-other":"fa {0} minuts"},"relative-type-0":"aquest minut"}),e.a123437605=s(e("cs").numberFormatter({}),e("cs").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} hodinu","relativeTimePattern-count-few":"za {0} hodiny","relativeTimePattern-count-many":"za {0} hodiny","relativeTimePattern-count-other":"za {0} hodin"},"relativeTime-type-past":{"relativeTimePattern-count-one":"p\u0159ed {0} hodinou","relativeTimePattern-count-few":"p\u0159ed {0} hodinami","relativeTimePattern-count-many":"p\u0159ed {0} hodiny","relativeTimePattern-count-other":"p\u0159ed {0} hodinami"},"relative-type-0":"tuto hodinu"}),e.a1157601781=s(e("cs").numberFormatter({}),e("cs").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} minutu","relativeTimePattern-count-few":"za {0} minuty","relativeTimePattern-count-many":"za {0} minuty","relativeTimePattern-count-other":"za {0} minut"},"relativeTime-type-past":{"relativeTimePattern-count-one":"p\u0159ed {0} minutou","relativeTimePattern-count-few":"p\u0159ed {0} minutami","relativeTimePattern-count-many":"p\u0159ed {0} minuty","relativeTimePattern-count-other":"p\u0159ed {0} minutami"},"relative-type-0":"tuto minutu"}),e.a1801512952=s(e("da").numberFormatter({}),e("da").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"om {0} time","relativeTimePattern-count-other":"om {0} timer"},"relativeTime-type-past":{"relativeTimePattern-count-one":"for {0} time siden","relativeTimePattern-count-other":"for {0} timer siden"},"relative-type-0":"i den kommende time"}),e.b1119693048=s(e("da").numberFormatter({}),e("da").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"om {0} minut","relativeTimePattern-count-other":"om {0} minutter"},"relativeTime-type-past":{"relativeTimePattern-count-one":"for {0} minut siden","relativeTimePattern-count-other":"for {0} minutter siden"},"relative-type-0":"i det kommende minut"}),e.b1977123468=s(e("de").numberFormatter({}),e("de").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} Stunde","relativeTimePattern-count-other":"in {0} Stunden"},"relativeTime-type-past":{"relativeTimePattern-count-one":"vor {0} Stunde","relativeTimePattern-count-other":"vor {0} Stunden"},"relative-type-0":"in dieser Stunde"}),e.a1153039748=s(e("de").numberFormatter({}),e("de").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} Minute","relativeTimePattern-count-other":"in {0} Minuten"},"relativeTime-type-past":{"relativeTimePattern-count-one":"vor {0} Minute","relativeTimePattern-count-other":"vor {0} Minuten"},"relative-type-0":"in dieser Minute"}),e.b1366947442=s(e("el").numberFormatter({}),e("el").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u03c3\u03b5 {0} \u03ce\u03c1\u03b1","relativeTimePattern-count-o
2ther":"\u03c3\u03b5 {0} \u03ce\u03c1\u03b5\u03c2"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03ce\u03c1\u03b1","relativeTimePattern-count-other":"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03ce\u03c1\u03b5\u03c2"},"relative-type-0":"\u03c4\u03c1\u03ad\u03c7\u03bf\u03c5\u03c3\u03b1 \u03ce\u03c1\u03b1"}),e.b878318818=s(e("el").numberFormatter({}),e("el").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u03c3\u03b5 {0} \u03bb\u03b5\u03c0\u03c4\u03cc","relativeTimePattern-count-other":"\u03c3\u03b5 {0} \u03bb\u03b5\u03c0\u03c4\u03ac"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03bb\u03b5\u03c0\u03c4\u03cc","relativeTimePattern-count-other":"\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03bb\u03b5\u03c0\u03c4\u03ac"},"relative-type-0":"\u03c4\u03c1\u03ad\u03c7\u03bf\u03bd \u03bb\u03b5\u03c0\u03c4\u03cc"}),e.b1108782004=s(e("en").numberFormatter({}),e("en").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hour","relativeTimePattern-count-other":"in {0} hours"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hour ago","relativeTimePattern-count-other":"{0} hours ago"},"relative-type-0":"this hour"}),e.b1889436068=s(e("en").numberFormatter({}),e("en").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} minute","relativeTimePattern-count-other":"in {0} minutes"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minute ago","relativeTimePattern-count-other":"{0} minutes ago"},"relative-type-0":"this minute"}),e.b463368409=s(e("es").numberFormatter({}),e("es").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"dentro de {0} hora","relativeTimePattern-count-other":"dentro de {0} horas"},"relativeTime-type-past":{"relativeTimePattern-count-one":"hace {0} hora","relativeTimePattern-count-other":"hace {0} horas"},"relative-type-0":"esta hora"}),e.b122261897=s(e("es").numberFormatter({}),e("es").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"dentro de {0} minuto","relativeTimePattern-count-other":"dentro de {0} minutos"},"relativeTime-type-past":{"relativeTimePattern-count-one":"hace {0} minuto","relativeTimePattern-count-other":"hace {0} minutos"},"relative-type-0":"este minuto"}),e.b334285690=s(e("et").numberFormatter({}),e("et").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} tunni p\xe4rast","relativeTimePattern-count-other":"{0} tunni p\xe4rast"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} tunni eest","relativeTimePattern-count-other":"{0} tunni eest"},"relative-type-0":"praegusel tunnil"}),e.b627820522=s(e("et").numberFormatter({}),e("et").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} minuti p\xe4rast","relativeTimePattern-count-other":"{0} minuti p\xe4rast"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minuti eest","relativeTimePattern-count-other":"{0} minuti eest"},"relative-type-0":"praegusel minutil"}),e.b205202971=s(e("eu").numberFormatter({}),e("eu").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} ordu barru","relativeTimePattern-count-other":"{0} ordu barru"},"relativeTime-type-past":{"relativeTimePattern-count-one":"Duela {0} ordu","relativeTimePattern-count-other":"Duela {0} ordu"},"relative-type-0":"ordu honetan"}),e.b1133379147=s(e("eu").numberFormatter({}),e("eu").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} minutu barru","relativeTimePattern-count-other":"{0} minutu barru"},"relativeTime-type-past":{"relativeTimePattern-count-one":"Duela {0} minutu","relativeTimePattern-count-other":"Duela {0} minutu"},"relative-type-0":"minutu honetan"}),e.b2047598606=s(e("fi").numberFormatter({}),e("fi").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} tunnin p\xe4\xe4st\xe4","relativeTimePattern-count-other":"{0} tunnin p\xe4\xe4st\xe4"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} tunti sitten","relativeTimePattern-count-other":"{0} tuntia sitten"},"relative-type-0":"t\xe4m\xe4n tunnin aikana"}),e.a2145908866=s(e("fi").numberFormatter({}),e("fi").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} minuutin p\xe4\xe4st\xe4","relativeTimePattern-count-other":"{0} minuutin p\xe4\xe4st\xe4"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minuutti sitten","relativeTimePattern-count-other":"{0} minuuttia sitten"},"relative-type-0":"t\xe4m\xe4n minuutin aikana"}),e.b885854135=s(e("fr").numberFormatter({}),e("fr").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"dans {0} heure","relativeTimePattern-count-other":"dans {0} heures"},"relativeTime-type-past":{"relativeTimePattern-count-one":"il y a {0} heure","relativeTimePattern-count-other":"il y a {0} heures"},"relative-type-0":"cette heure-ci"}),e.a1890848537=s(e("fr").numberFormatter({}),e("fr").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"dans {0} minute","relativeTimePattern-count-other":"dans {0} minutes"},"relativeTime-type-past":{"relativeTimePattern-count-one":"il y a {0} minute","relativeTimePattern-count-other":"il y a {0} minutes"},"relative-type-0":"cette minute-ci"}),e.b1953753456=s(e("gl").numberFormatter({}),e("gl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"en {0} hora","relativeTimePattern-count-other":"en {0} horas"},"relativeTime-type-past":{"relativeTimePattern-count-one":"hai {0} hora","relativeTimePattern-count-other":"hai {0} horas"},"relative-type-0":"esta hora"}),e.a2136784800=s(e("gl").numberFormatter({}),e("gl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"en {0} minuto","relativeTimePattern-count-other":"en {0} minutos"},"relativeTime-type-past":{"relativeTimePattern-count-one":"hai {0} minuto","relativeTimePattern-count-other":"hai {0} minutos"},"relative-type-0":"este minuto"}),e.a1144231800=s(e("he").numberFormatter({}),e("he").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u05d1\u05e2\u05d5\u05d3 \u05e9\u05e2\u05d4","relativeTimePattern-count-two":"\u05d1\u05e2\u05d5\u05d3 \u05e9\u05e2\u05ea\u05d9\u05d9\u05dd","relativeTimePattern-count-many":"\u05d1\u05e2\u05d5\u05d3 {0} \u05e9\u05e2\u05d5\u05ea","relativeTimePattern-count-other":"\u05d1\u05e2\u05d5\u05d3 {0} \u05e9\u05e2\u05d5\u05ea"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05d4","relativeTimePattern-count-two":"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05ea\u05d9\u05d9\u05dd","relativeTimePattern-count-many":"\u05dc\u05e4\u05e0\u05d9 {0} \u05e9\u05e2\u05d5\u05ea","relativeTimePattern-count-other":"\u05dc\u05e4\u05e0\u05d9 {0} \u05e9\u05e2\u05d5\u05ea"},"relative-type-0":"\u05d1\u05e9\u05e2\u05d4 \u05d6\u05d5"}),e.b1406687608=s(e("he").numberFormatter({}),e("he").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u05d1\u05e2\u05d5\u05d3 \u05d3\u05e7\u05d4","relativeTimePattern-count-two":"\u05d1\u05e2\u05d5\u05d3 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea","relativeTimePattern-count-many":"\u05d1\u05e2\u05d5\u05d3 {0} \u05d3\u05e7\u05d5\u05ea","relativeTimePattern-count-other":"\u05d1\u05e2\u05d5\u05d3 {0} \u05d3\u05e7\u05d5\u05ea"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u05dc\u05e4\u05e0\u05d9 \u05d3\u05e7\u05d4","relativeTimePattern-count-two":"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea","relativeTimePattern-count-many":"\u05dc\u05e4\u05e0\u05d9 {0} \u05d3\u05e7\u05d5\u05ea","relativeTimePattern-count-other":"\u05dc\u05e4\u05e0\u05d9 {0} \u05d3\u05e7\u05d5\u05ea"},"relative-type-0":"\u05d1\u05d3\u05e7\u05d4 \u05d6\u05d5"}),e.a1660562676=s(e("hi").numberFormatter({}),e("hi").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} \u0918\u0902\u091f\u0947 \u092e\u0947\u0902","relativeTimePattern-count-other":"{0} \u0918\u0902\u091f\u0947 \u092e\u0947\u0902"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u0918\u0902\u091f\u0947 \u092a\u0939\u0932\u0947","relativeTimePattern-count-other":"{0} \u0918\u0902\u091f\u0947 \u092a\u0939\u0932\u0947"},"relative-type-0":"\u092f\u0939 \u0918\u0902\u091f\u093e"}),e.a866045188=s(e("hi").numberFormatter({}),e("hi").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} \u092e\u093f\u0928\u091f \u092e\u0947\u0902","relativeTimePattern-count-other":"{0} \u092e\u093f\u0928\u091f \u092e\u0947\u0902"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u092e\u093f\u0928\u091f \u092a\u0939\u0932\u0947","relativeTimePattern-count-other":"{0} \u092e\u093f\u0928\u091f \u092a\u0939\u0932\u0947"},"relative-type-0":"\u092f\u0939 \u092e\u093f\u0928\u091f"}),e.b1472660149=s(e("hr").numberFormatter({}),e("hr").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} sat","relativeTimePattern-count-few":"za {0} sata","relativeTimePattern-count-other":"za {0} sati"},"relativeTime-type-past":{"relativeTimePattern-count-one":"prije {0} sat","relativeTimePattern-count-few":"prije {0} sata","relativeTimePattern-count-other":"prije {0} sati"},"relative-type-0":"ovaj sat"}),e.a610984859=s(e("hr").numberFormatter({}),e("hr").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} minutu","relativeTimePattern-count-few":"za {0} minute","relativeTimePattern-count-other":"za {0} minuta"},"relativeTime-type-past":{"relativeTimePattern-count-one":"prije {0} minutu","relativeTimePattern-count-few":"prije {0} minute","relativeTimePattern-count-other":"prije {0} minuta"},"relative-type-0":"ova minuta"}),e.b1085411992=s(e("hu").numberFormatter({}),e("hu").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} \xf3ra m\xfalva","relativeTimePattern-count-other":"{0} \xf3ra m\xfalva"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \xf3r\xe1val ezel\u0151tt","relativeTimePattern-count-other":"{0} \xf3r\xe1val ezel\u0151tt"},"relative-type-0":"ebben az \xf3r\xe1ban"}),e.b905691016=s(e("hu").numberFormatter({}),e("hu").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} perc m\xfalva","relativeTimePattern-count-other":"{0} perc m\xfalva"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} perccel ezel\u0151tt","relativeTimePattern-count-other":"{0} perccel ezel\u0151tt"},"relative-type-0":"ebben a percben"}),e.a721746074=s(e("id").numberFormatter({}),e("id").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"dalam {0} jam"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} jam yang lalu"},"relative-type-0":"jam ini"}),e.a606422826=s(e("id").numberFormatter({}),e("id").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"dalam {0} menit"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} menit yang lalu"},"relative-type-0":"menit ini"}),e.b1507897718=s(e("it").numberFormatter({}),e("it").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"tra {0} ora","relativeTimePattern-count-other":"tra {0} ore"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} ora fa","relativeTimePattern-count-other":"{0} ore fa"},"relative-type-0":"quest\u2019ora"}),e.a1107419418=s(e("it").numberFormatter({}),e("it").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"tra {0} minuto","relativeTimePattern-count-other":"tra {0} minuti"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minuto fa","relativeTimePattern-count-other":"{0} minuti fa"},"relative-type-0":"questo minuto"}),e.a41094910=s(e("ja").numberFormatter({}),e("ja").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u6642\u9593\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u6642\u9593\u524d"},"relative-type-0":"1 \u6642\u9593\u4ee5\u5185"}),e.b664316786=s(e("ja").numberFormatter({}),e("ja").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5206\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5206\u524d"},"relative-type-0":"1 \u5206\u4ee5\u5185"}),e.a1038519093=s(e("kk").numberFormatter({}),e("kk").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} \u0441\u0430\u0493\u0430\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d","relativeTimePattern-count-other":"{0} \u0441\u0430\u0493\u0430\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d","relativeTimePattern-count-other":"{0} \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d"},"relative-type-0":"\u043e\u0441\u044b \u0441\u0430\u0493\u0430\u0442"}),e.a82616069=s(e("kk").numberFormatter({}),e("kk").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} \u043c\u0438\u043d\u0443\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d","relativeTimePattern-count-other":"{0} \u043c\u0438\u043d\u0443\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d","relativeTimePattern-count-other":"{0} \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d"},"relative-type-0":"\u043e\u0441\u044b \u043c\u0438\u043d\u0443\u0442"}),e.a1554849969=s(e("ko").numberFormatter({}),e("ko").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0}\uc2dc\uac04 \ud6c4"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0}\uc2dc\uac04 \uc804"},"relative-type-0":"\ud604\uc7ac \uc2dc\uac04"}),e.b1939618431=s(e("ko").numberFormatter({}),e("ko").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0}\ubd84 \ud6c4"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0}\ubd84 \uc804"},"relative-type-0":"\ud604\uc7ac \ubd84"}),e.a1906860557=s(e("lt").numberFormatter({}),e("lt").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"po {0} valandos","relativeTimePattern-count-few":"po {0} valand\u0173","relativeTimePattern-count-many":"po {0} valandos","relativeTimePattern-count-other":"po {0} valand\u0173"},"relativeTime-type-past":{"relativeTimePattern-count-one":"prie\u0161 {0} valand\u0105","relativeTimePattern-count-few":"prie\u0161 {0} valandas","relativeTimePattern-count-many":"prie\u0161 {0} valandos","relativeTimePattern-count-other":"prie\u0161 {0} valand\u0173"},"relative-type-0":"\u0161i\u0105 valand\u0105"}),e.a1335107549=s(e("lt").numberFormatter({}),e("lt").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"po {0} minut\u0117s","relativeTimePattern-count-few":"po {0} minu\u010di\u0173","relativeTimePattern-count-many":"po {0} minut\u0117s","relativeTimePattern-count-other":"po {0} minu\u010di\u0173"},"relativeTime-type-past":{"relativeTimePattern-count-one":"prie\u0161 {0} minut\u0119","relativeTimePattern-count-few":"prie\u0161 {0} minutes","relativeTimePattern-count-many":"prie\u0161 {0} minut\u0117s","relativeTimePattern-count-other":"prie\u0161 {0} minu\u010di\u0173"},"relative-type-0":"\u0161i\u0105 minut\u0119"}),e.b2129941301=s(e("lv").numberFormatter({}),e("lv").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-zero":"p\u0113c {0} stund\u0101m","relativeTimePattern-count-one":"p\u0113c {0} stundas","relativeTimePattern-count-other":"p\u0113c {0} stund\u0101m"},"relativeTime-type-past":{"relativeTimePattern-count-zero":"pirms {0} stund\u0101m","relativeTimePattern-count-one":"pirms {0} stundas","relativeTimePattern-count-other":"pirms {0} stund\u0101m"},"relative-type-0":"\u0161aj\u0101 stund\u0101"}),e.a323990299=s(e("lv").numberFormatter({}),e("lv").pluralGenerator({}),{"relativeTim
2e-type-future":{"relativeTimePattern-count-zero":"p\u0113c {0} min\u016bt\u0113m","relativeTimePattern-count-one":"p\u0113c {0} min\u016btes","relativeTimePattern-count-other":"p\u0113c {0} min\u016bt\u0113m"},"relativeTime-type-past":{"relativeTimePattern-count-zero":"pirms {0} min\u016bt\u0113m","relativeTimePattern-count-one":"pirms {0} min\u016btes","relativeTimePattern-count-other":"pirms {0} min\u016bt\u0113m"},"relative-type-0":"\u0161aj\u0101 min\u016bt\u0113"}),e.a1484374831=s(e("ms").numberFormatter({}),e("ms").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"dalam {0} jam"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} jam lalu"},"relative-type-0":"jam ini"}),e.b946749313=s(e("ms").numberFormatter({}),e("ms").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"dalam {0} minit"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} minit lalu"},"relative-type-0":"pada minit ini"}),e.b1003434399=s(e("nb").numberFormatter({}),e("nb").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"om {0} time","relativeTimePattern-count-other":"om {0} timer"},"relativeTime-type-past":{"relativeTimePattern-count-one":"for {0} time siden","relativeTimePattern-count-other":"for {0} timer siden"},"relative-type-0":"denne timen"}),e.a565364529=s(e("nb").numberFormatter({}),e("nb").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"om {0} minutt","relativeTimePattern-count-other":"om {0} minutter"},"relativeTime-type-past":{"relativeTimePattern-count-one":"for {0} minutt siden","relativeTimePattern-count-other":"for {0} minutter siden"},"relative-type-0":"dette minuttet"}),e.a287392791=s(e("nl").numberFormatter({}),e("nl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"over {0} uur","relativeTimePattern-count-other":"over {0} uur"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} uur geleden","relativeTimePattern-count-other":"{0} uur geleden"},"relative-type-0":"binnen een uur"}),e.b195254425=s(e("nl").numberFormatter({}),e("nl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"over {0} minuut","relativeTimePattern-count-other":"over {0} minuten"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minuut geleden","relativeTimePattern-count-other":"{0} minuten geleden"},"relative-type-0":"binnen een minuut"}),e.b299413223=s(e("pl").numberFormatter({}),e("pl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} godzin\u0119","relativeTimePattern-count-few":"za {0} godziny","relativeTimePattern-count-many":"za {0} godzin","relativeTimePattern-count-other":"za {0} godziny"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} godzin\u0119 temu","relativeTimePattern-count-few":"{0} godziny temu","relativeTimePattern-count-many":"{0} godzin temu","relativeTimePattern-count-other":"{0} godziny temu"},"relative-type-0":"ta godzina"}),e.b1475118103=s(e("pl").numberFormatter({}),e("pl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} minut\u0119","relativeTimePattern-count-few":"za {0} minuty","relativeTimePattern-count-many":"za {0} minut","relativeTimePattern-count-other":"za {0} minuty"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minut\u0119 temu","relativeTimePattern-count-few":"{0} minuty temu","relativeTimePattern-count-many":"{0} minut temu","relativeTimePattern-count-other":"{0} minuty temu"},"relative-type-0":"ta minuta"}),e.a733248529=s(e("pt").numberFormatter({}),e("pt").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"em {0} hora","relativeTimePattern-count-other":"em {0} horas"},"relativeTime-type-past":{"relativeTimePattern-count-one":"h\xe1 {0} hora","relativeTimePattern-count-other":"h\xe1 {0} horas"},"relative-type-0":"esta hora"}),e.b1224619807=s(e("pt").numberFormatter({}),e("pt").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"em {0} minuto","relativeTimePattern-count-other":"em {0} minutos"},"relativeTime-type-past":{"relativeTimePattern-count-one":"h\xe1 {0} minuto","relativeTimePattern-count-other":"h\xe1 {0} minutos"},"relative-type-0":"este minuto"}),e.a1268173962=s(e("pt-PT").numberFormatter({}),e("pt-PT").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"dentro de {0} hora","relativeTimePattern-count-other":"dentro de {0} horas"},"relativeTime-type-past":{"relativeTimePattern-count-one":"h\xe1 {0} hora","relativeTimePattern-count-other":"h\xe1 {0} horas"},"relative-type-0":"esta hora"}),e.a1737613082=s(e("pt-PT").numberFormatter({}),e("pt-PT").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"dentro de {0} minuto","relativeTimePattern-count-other":"dentro de {0} minutos"},"relativeTime-type-past":{"relativeTimePattern-count-one":"h\xe1 {0} minuto","relativeTimePattern-count-other":"h\xe1 {0} minutos"},"relative-type-0":"este minuto"}),e.b498971080=s(e("ro").numberFormatter({}),e("ro").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"peste {0} or\u0103","relativeTimePattern-count-few":"peste {0} ore","relativeTimePattern-count-other":"peste {0} de ore"},"relativeTime-type-past":{"relativeTimePattern-count-one":"acum {0} or\u0103","relativeTimePattern-count-few":"acum {0} ore","relativeTimePattern-count-other":"acum {0} de ore"},"relative-type-0":"ora aceasta"}),e.a23309640=s(e("ro").numberFormatter({}),e("ro").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"peste {0} minut","relativeTimePattern-count-few":"peste {0} minute","relativeTimePattern-count-other":"peste {0} de minute"},"relativeTime-type-past":{"relativeTimePattern-count-one":"acum {0} minut","relativeTimePattern-count-few":"acum {0} minute","relativeTimePattern-count-other":"acum {0} de minute"},"relative-type-0":"minutul acesta"}),e.a275525234=s(e("ru").numberFormatter({}),e("ru").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441","relativeTimePattern-count-few":"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u0430","relativeTimePattern-count-many":"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u043e\u0432","relativeTimePattern-count-other":"\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u0430"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u0447\u0430\u0441 \u043d\u0430\u0437\u0430\u0434","relativeTimePattern-count-few":"{0} \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434","relativeTimePattern-count-many":"{0} \u0447\u0430\u0441\u043e\u0432 \u043d\u0430\u0437\u0430\u0434","relativeTimePattern-count-other":"{0} \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434"},"relative-type-0":"\u0432 \u044d\u0442\u043e\u0442 \u0447\u0430\u0441"}),e.a1284925186=s(e("ru").numberFormatter({}),e("ru").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u0443","relativeTimePattern-count-few":"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u044b","relativeTimePattern-count-many":"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442","relativeTimePattern-count-other":"\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u044b"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u043c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434","relativeTimePattern-count-few":"{0} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434","relativeTimePattern-count-many":"{0} \u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434","relativeTimePattern-count-other":"{0} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434"},"relative-type-0":"\u0432 \u044d\u0442\u0443 \u043c\u0438\u043d\u0443\u0442\u0443"}),e.b1308704963=s(e("sk").numberFormatter({}),e("sk").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"o {0} hodinu","relativeTimePattern-count-few":"o {0} hodiny","relativeTimePattern-count-many":"o {0} hodiny","relativeTimePattern-count-other":"o {0} hod\xedn"},"relativeTime-type-past":{"relativeTimePattern-count-one":"pred {0} hodinou","relativeTimePattern-count-few":"pred {0} hodinami","relativeTimePattern-count-many":"pred {0} hodinou","relativeTimePattern-count-other":"pred {0} hodinami"},"relative-type-0":"v tejto hodine"}),e.b741871347=s(e("sk").numberFormatter({}),e("sk").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"o {0} min\xfatu","relativeTimePattern-count-few":"o {0} min\xfaty","relativeTimePattern-count-many":"o {0} min\xfaty","relativeTimePattern-count-other":"o {0} min\xfat"},"relativeTime-type-past":{"relativeTimePattern-count-one":"pred {0} min\xfatou","relativeTimePattern-count-few":"pred {0} min\xfatami","relativeTimePattern-count-many":"pred {0} min\xfaty","relativeTimePattern-count-other":"pred {0} min\xfatami"},"relative-type-0":"v tejto min\xfate"}),e.b1179622244=s(e("sl").numberFormatter({}),e("sl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u010dez {0} uro","relativeTimePattern-count-two":"\u010dez {0} uri","relativeTimePattern-count-few":"\u010dez {0} ure","relativeTimePattern-count-other":"\u010dez {0} ur"},"relativeTime-type-past":{"relativeTimePattern-count-one":"pred {0} uro","relativeTimePattern-count-two":"pred {0} urama","relativeTimePattern-count-few":"pred {0} urami","relativeTimePattern-count-other":"pred {0} urami"},"relative-type-0":"v tej uri"}),e.b1247429972=s(e("sl").numberFormatter({}),e("sl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u010dez {0} minuto","relativeTimePattern-count-two":"\u010dez {0} minuti","relativeTimePattern-count-few":"\u010dez {0} minute","relativeTimePattern-count-other":"\u010dez {0} minut"},"relativeTime-type-past":{"relativeTimePattern-count-one":"pred {0} minuto","relativeTimePattern-count-two":"pred {0} minutama","relativeTimePattern-count-few":"pred {0} minutami","relativeTimePattern-count-other":"pred {0} minutami"},"relative-type-0":"to minuto"}),e.b105017831=s(e("sr-Cyrl").numberFormatter({}),e("sr-Cyrl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0437\u0430 {0} \u0441\u0430\u0442","relativeTimePattern-count-few":"\u0437\u0430 {0} \u0441\u0430\u0442\u0430","relativeTimePattern-count-other":"\u0437\u0430 {0} \u0441\u0430\u0442\u0438"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u043f\u0440\u0435 {0} \u0441\u0430\u0442\u0430","relativeTimePattern-count-few":"\u043f\u0440\u0435 {0} \u0441\u0430\u0442\u0430","relativeTimePattern-count-other":"\u043f\u0440\u0435 {0} \u0441\u0430\u0442\u0438"},"relative-type-0":"\u043e\u0432\u043e\u0433 \u0441\u0430\u0442\u0430"}),e.a655259881=s(e("sr-Cyrl").numberFormatter({}),e("sr-Cyrl").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0437\u0430 {0} \u043c\u0438\u043d\u0443\u0442","relativeTimePattern-count-few":"\u0437\u0430 {0} \u043c\u0438\u043d\u0443\u0442\u0430","relativeTimePattern-count-other":"\u0437\u0430 {0} \u043c\u0438\u043d\u0443\u0442\u0430"},"relativeTime-type-past":{"relativeTimePattern-count-one":"\u043f\u0440\u0435 {0} \u043c\u0438\u043d\u0443\u0442\u0430","relativeTimePattern-count-few":"\u043f\u0440\u0435 {0} \u043c\u0438\u043d\u0443\u0442\u0430","relativeTimePattern-count-other":"\u043f\u0440\u0435 {0} \u043c\u0438\u043d\u0443\u0442\u0430"},"relative-type-0":"\u043e\u0432\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"}),e.b502088902=s(e("sr-Latn").numberFormatter({}),e("sr-Latn").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} sat","relativeTimePattern-count-few":"za {0} sata","relativeTimePattern-count-other":"za {0} sati"},"relativeTime-type-past":{"relativeTimePattern-count-one":"pre {0} sata","relativeTimePattern-count-few":"pre {0} sata","relativeTimePattern-count-other":"pre {0} sati"},"relative-type-0":"ovog sata"}),e.a1322049994=s(e("sr-Latn").numberFormatter({}),e("sr-Latn").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"za {0} minut","relativeTimePattern-count-few":"za {0} minuta","relativeTimePattern-count-other":"za {0} minuta"},"relativeTime-type-past":{"relativeTimePattern-count-one":"pre {0} minuta","relativeTimePattern-count-few":"pre {0} minuta","relativeTimePattern-count-other":"pre {0} minuta"},"relative-type-0":"ovog minuta"}),e.a111204946=s(e("sv").numberFormatter({}),e("sv").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"om {0} timme","relativeTimePattern-count-other":"om {0} timmar"},"relativeTime-type-past":{"relativeTimePattern-count-one":"f\xf6r {0} timme sedan","relativeTimePattern-count-other":"f\xf6r {0} timmar sedan"},"relative-type-0":"denna timme"}),e.b2008048926=s(e("sv").numberFormatter({}),e("sv").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"om {0} minut","relativeTimePattern-count-other":"om {0} minuter"},"relativeTime-type-past":{"relativeTimePattern-count-one":"f\xf6r {0} minut sedan","relativeTimePattern-count-other":"f\xf6r {0} minuter sedan"},"relative-type-0":"denna minut"}),e.b1989356127=s(e("th").numberFormatter({}),e("th").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"\u0e43\u0e19\u0e2d\u0e35\u0e01 {0} \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32"},"relative-type-0":"\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07\u0e19\u0e35\u0e49"}),e.b2012610959=s(e("th").numberFormatter({}),e("th").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"\u0e43\u0e19\u0e2d\u0e35\u0e01 {0} \u0e19\u0e32\u0e17\u0e35"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u0e19\u0e32\u0e17\u0e35\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32"},"relative-type-0":"\u0e19\u0e32\u0e17\u0e35\u0e19\u0e35\u0e49"}),e.b698528937=s(e("tr").numberFormatter({}),e("tr").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} saat sonra","relativeTimePattern-count-other":"{0} saat sonra"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} saat \xf6nce","relativeTimePattern-count-other":"{0} saat \xf6nce"},"relative-type-0":"bu saat"}),e.a1521737383=s(e("tr").numberFormatter({}),e("tr").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"{0} dakika sonra","relativeTimePattern-count-other":"{0} dakika sonra"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} dakika \xf6nce","relativeTimePattern-count-other":"{0} dakika \xf6nce"},"relative-type-0":"bu dakika"}),e.b1895510977=s(e("uk").numberFormatter({}),e("uk").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d\u0443","relativeTimePattern-count-few":"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d\u0438","relativeTimePattern-count-many":"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d","relativeTimePattern-count-other":"\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d\u0438"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u0433\u043e\u0434\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","relativeTimePattern-count-few":"{0} \u0433\u043e\u0434\u0438\u043d\u0438 \u0442\u043e\u043c\u0443","relativeTimePattern-count-many":"{0} \u0433\u043e\u0434\u0438\u043d \u0442\u043e\u043c\u0443","relativeTimePattern-count-other":"{0} \u0433\u043e\u0434\u0438\u043d\u0438 \u0442\u043e\u043c\u0443"},"relative-type-0":"\u0446\u0456\u0454\u0457 \u0433\u043e\u0434\u0438\u043d\u0438"}),e.b2021735025=s(e("uk").numberFormatter({}),e("uk").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-one":"\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d\u0443","relativeTimePattern-count-fe
2w":"\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438","relativeTimePattern-count-many":"\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d","relativeTimePattern-count-other":"\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","relativeTimePattern-count-few":"{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438 \u0442\u043e\u043c\u0443","relativeTimePattern-count-many":"{0} \u0445\u0432\u0438\u043b\u0438\u043d \u0442\u043e\u043c\u0443","relativeTimePattern-count-other":"{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438 \u0442\u043e\u043c\u0443"},"relative-type-0":"\u0446\u0456\u0454\u0457 \u0445\u0432\u0438\u043b\u0438\u043d\u0438"}),e.a1847887874=s(e("vi").numberFormatter({}),e("vi").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"sau {0} gi\u1edd n\u1eefa"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} gi\u1edd tr\u01b0\u1edbc"},"relative-type-0":"gi\u1edd n\xe0y"}),e.a496934034=s(e("vi").numberFormatter({}),e("vi").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"sau {0} ph\xfat n\u1eefa"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} ph\xfat tr\u01b0\u1edbc"},"relative-type-0":"ph\xfat n\xe0y"}),e.a2068901102=s(e("yue").numberFormatter({}),e("yue").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u524d"},"relative-type-0":"\u5462\u500b\u5c0f\u6642"}),e.b1857718658=s(e("yue").numberFormatter({}),e("yue").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u524d"},"relative-type-0":"\u5462\u5206\u9418"}),e.a1130735834=s(e("zh-Hans").numberFormatter({}),e("zh-Hans").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0}\u5c0f\u65f6\u540e"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0}\u5c0f\u65f6\u524d"},"relative-type-0":"\u8fd9\u4e00\u65f6\u95f4 / \u6b64\u65f6"}),e.b1491409046=s(e("zh-Hans").numberFormatter({}),e("zh-Hans").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0}\u5206\u949f\u540e"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0}\u5206\u949f\u524d"},"relative-type-0":"\u6b64\u523b"}),e.b970642223=s(e("zh-Hans-SG").numberFormatter({}),e("zh-Hans-SG").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0}\u5c0f\u65f6\u540e"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0}\u5c0f\u65f6\u524d"},"relative-type-0":"\u8fd9\u4e00\u65f6\u95f4 / \u6b64\u65f6"}),e.a2013874593=s(e("zh-Hans-SG").numberFormatter({}),e("zh-Hans-SG").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0}\u5206\u949f\u540e"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0}\u5206\u949f\u524d"},"relative-type-0":"\u6b64\u523b"}),e.a1259818553=s(e("zh-Hant").numberFormatter({}),e("zh-Hant").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u524d"},"relative-type-0":"\u9019\u4e00\u5c0f\u6642"}),e.b1996967671=s(e("zh-Hant").numberFormatter({}),e("zh-Hant").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u524d"},"relative-type-0":"\u9019\u4e00\u5206\u9418"}),e.b14293757=s(e("zh-Hant-HK").numberFormatter({}),e("zh-Hant-HK").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u524d"},"relative-type-0":"\u9019\u500b\u5c0f\u6642"}),e.a1941749075=s(e("zh-Hant-HK").numberFormatter({}),e("zh-Hant-HK").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u524d"},"relative-type-0":"\u9019\u5206\u9418"}),e.b964977916=s(e("zh-Hant-MO").numberFormatter({}),e("zh-Hant-MO").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5c0f\u6642\u524d"},"relative-type-0":"\u9019\u500b\u5c0f\u6642"}),e.b1132660972=s(e("zh-Hant-MO").numberFormatter({}),e("zh-Hant-MO").pluralGenerator({}),{"relativeTime-type-future":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u5f8c"},"relativeTime-type-past":{"relativeTimePattern-count-other":"{0} \u5206\u9418\u524d"},"relative-type-0":"\u9019\u5206\u9418"}
2),e.a1260780216=u(e("ar-EG").numberFormatter({}),e("ar-EG").pluralGenerator({}),{compoundUnitPattern:"{0} \u0644\u0643\u0644 {1}",unitProperties:{displayName:"\u0628\u0627\u064a\u062a",zero:"{0} \u0628\u0627\u064a\u062a",one:"{0} \u0628\u0627\u064a\u062a",two:"{0} \u0628\u0627\u064a\u062a",few:"{0} \u0628\u0627\u064a\u062a",many:"{0} \u0628\u0627\u064a\u062a",other:"{0} \u0628\u0627\u064a\u062a"}}),e.b852797741=u(e("ar-EG").numberFormatter({}),e("ar-EG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",zero:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",one:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",two:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",few:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",many:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",other:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a"}}),e.b614409566=u(e("ar-EG").numberFormatter({}),e("ar-EG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",zero:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",one:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",two:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",few:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",many:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",other:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a"}}),e.b1965047144=u(e("ar-EG").numberFormatter({}),e("ar-EG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",zero:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",one:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",two:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",few:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",many:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",other:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a"}}),e.a1273411684=u(e("ar-SA").numberFormatter({}),e("ar-SA").pluralGenerator({}),{compoundUnitPattern:"{0} \u0644\u0643\u0644 {1}",unitProperties:{displayName:"\u0628\u0627\u064a\u062a",zero:"{0} \u0628\u0627\u064a\u062a",one:"{0} \u0628\u0627\u064a\u062a",two:"{0} \u0628\u0627\u064a\u062a",few:"{0} \u0628\u0627\u064a\u062a",many:"{0} \u0628\u0627\u064a\u062a",other:"{0} \u0628\u0627\u064a\u062a"}}),e.b304462681=u(e("ar-SA").numberFormatter({}),e("ar-SA").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",zero:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",one:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",two:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",few:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",many:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a",other:"{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a"}}),e.b66074506=u(e("ar-SA").numberFormatter({}),e("ar-SA").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",zero:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",one:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",two:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",few:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",many:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a",other:"{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a"}}),e.b1416712084=u(e("ar-SA").numberFormatter({}),e("ar-SA").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",zero:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",one:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",two:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",few:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",many:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a",other:"{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a"}}),e.b595460021=u(e("bg").numberFormatter({}),e("bg").pluralGenerator({}),{compoundUnitPattern:"{0} \u043d\u0430 {1}
2",unitProperties:{displayName:"\u0431\u0430\u0439\u0442\u043e\u0432\u0435",one:"{0} \u0431\u0430\u0439\u0442",other:"{0} \u0431\u0430\u0439\u0442\u0430"}}),e.a946001184=u(e("bg").numberFormatter({}),e("bg").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.a1184389359=u(e("bg").numberFormatter({}),e("bg").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.b166248219=u(e("bg").numberFormatter({}),e("bg").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b986086044=u(e("ca").numberFormatter({}),e("ca").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"bytes",one:"{0} byte",other:"{0} bytes"}}),e.a1228904359=u(e("ca").numberFormatter({}),e("ca").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.a1467292534=u(e("ca").numberFormatter({}),e("ca").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a116654956=u(e("ca").numberFormatter({}),e("ca").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.a278851446=u(e("cs").numberFormatter({}),e("cs").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"bajty",one:"{0} bajt",few:"{0} bajty",many:"{0} bajtu",other:"{0} bajt\u016f"}}),e.a1432594645=u(e("cs").numberFormatter({}),e("cs").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",many:"{0} kB",other:"{0} kB"}}),e.a1670982820=u(e("cs").numberFormatter({}),e("cs").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",many:"{0} MB",other:"{0} MB"}}),e.a320345242=u(e("cs").numberFormatter({}),e("cs").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",many:"{0} GB",other:"{0} GB"}}),e.b955066237=u(e("da").numberFormatter({}),e("da").pluralGenerator({}),{compoundUnitPattern:"{0} pr. {1}",unitProperties:{displayName:"bytes",one:"{0} byte",other:"{0} bytes"}}),e.a1579704296=u(e("da").numberFormatter({}),e("da").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.a1818092471=u(e("da").numberFormatter({}),e("da").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a467454893=u(e("da").numberFormatter({}),e("da").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b673969017=u(e("de").numberFormatter({}),e("de").pluralGenerator({}),{compoundUnitPattern:"{0} pro {1}",unitProperties:{displayName:"Bytes",one:"{0}\xa0Byte",other:"{0}\xa0Bytes"}}),e.a1624968804=u(e("de").numberFormatter({}),e("de").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kbyte",one:"{0} kB",other:"{0} kB"}}),e.a1863356979=u(e("de").numberFormatter({}),e("de").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"Mbyte",one:"{0} MB",other:"{0} MB"}}),e.a512719401=u(e("de").numberFormatter({}),e("de").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"Gigabyte",one:"{0}\xa0GB",other:"{0}\xa0GB"}}),e.a1996454573=u(e("el").numberFormatter({}),e("el").pluralGenerator({}),{compoundUnitPattern:"{0} \u03b1\u03bd\u03ac {1}",unitProperties:{displayName:"byte",one:"{0} byte",other:"{0} byte"}}),e.a2054981630=u(e("el").numberFormatter({}),e("el").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b2001597491=u(e("el").numberFormatter({}),e("el").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a942732227=u(e("el").numberFormatter({}),e("el").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.a2137003183=u(e("en").numberFormatter({}),e("en").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"bytes",one:"{0} byte",other:"{0} bytes"}}),e.a2077613884=u(e("en").numberFormatter({}),e("en").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kByte",one:"{0} kB",other:"{0} kB"}}),e.b1978965237=u(e("en").numberFormatter({}),e("en").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MByte",one:"{0} MB",other:"{0} MB"}}),e.a965364481=u(e("en").numberFormatter({}),e("en").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GByte",one:"{0} GB",other:"{0} GB"}}),e.a340891060=u(e("es").numberFormatter({}),e("es").pluralGenerator({}),{compoundUnitPattern:"{0} por {1}",unitProperties:{displayName:"bytes",one:"{0} byte",other:"{0} bytes"}}),e.a2134194519=u(e("es").numberFormatter({}),e("es").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b1922384602=u(e("es").numberFormatter({}),e("es").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1021945116=u(e("es").numberFormatter({}),e("es").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b1736318283=u(e("et").numberFormatter({}),e("et").pluralGenerator({}),{compoundUnitPattern:"{0} {1} kohta",unitProperties:{displayName:"baidid",one:"{0} bait",other:"{0} baiti"}}),e.a2145510646=u(e("et").numberFormatter({}),e("et").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b1911068475=u(e("et").numberFormatter({}),e("et").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1033261243=u(e("et").numberFormatter({}),e("et").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.a481439670=u(e("eu").numberFormatter({}),e("eu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"byte-ak",one:"{0} byte",other:"{0} byte"}}),e.b2138140523=u(e("eu").numberFormatter({}),e("eu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b1899752348=u(e("eu").numberFormatter({}),e("eu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1044577370=u(e("eu").numberFormatter({}),e("eu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b330832183=u(e("fi").numberFormatter({}),e("fi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"tavut",one:"{0} tavu",other:"{0} tavua"}}),e.b1923134110=u(e("fi").numberFormatter({}),e("fi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kt",one:"{0} kt",other:"{0} kt"}}),e.b1684745935=u(e("fi").numberFormatter({}),e("fi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"Mt",one:"{0} Mt",other:"{0} Mt"}}),e.a1259583783=u(e("fi").numberFormatter({}),e("fi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"Gt",one:"{0} Gt",other:"{0} Gt"}}),e.b1845847086=u(e("fr").numberFormatter({}),e("fr").pluralGenerator({}),{compoundUnitPattern:"{0} par {1}",unitProperties:{displayName:"octets",one:"{0}\xa0octet",other:"{0}\xa0octets"}}),e.b1821288967=u(e("fr").numberFormatter({}),e("fr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"ko",one:"{0}\u202fko",other:"{0}\u202fko"}}),e.b1582900792=u(e("fr").numberFormatter({}),e("fr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"Mo",one:"{0}\u202fMo",other:"{0}\u202fMo"}}),e.a1361428926=u(e("fr").numberFormatter({}),e("fr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"Go",one:"{0}\u202fGo",other:"{0}\u202fGo"}}),e.a2058494187=u(e("gl").numberFormatter({}),e("gl").pluralGenerator({}),{compoundUnitPattern:"{0} por {1}",unitProperties:{displayName:"bytes",one:"{0} byte",other:"{0} bytes"}}),e.b1538385792=u(e("gl").numberFormatter({}),e("gl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b1299997617=u(e("gl").numberFormatter({}),e("gl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1644332101=u(e("gl").numberFormatter({}),e("gl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b549889789=u(e("he").numberFormatter({}),e("he").pluralGenerator({}),{compoundUnitPattern:"{0} \u05dc{1}",unitProperties:{displayName:"\u05d1\u05d9\u05d9\u05d8",one:"{0} \u05d1\u05d9\u05d9\u05d8",two:"{0} \u05d1\u05d9\u05d9\u05d8",many:"{0} \u05d1\u05d9\u05d9\u05d8",other:"{0} \u05d1\u05d9\u05d9\u05d8"}}),e.b1266798744=u(e("he").numberFormatter({}),e("he").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",two:"{0} kB",many:"{0} kB",other:"{0} kB"}}),e.b1028410569=u(e("he").numberFormatter({}),e("he").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",two:"{0} MB",many:"{0} MB",other:"{0} MB"}}),e.a1915919149=u(e("he").numberFormatter({}),e("he").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",two:"{0} GB",many:"{0} GB",other:"{0} GB"}}),e.b268792569=u(e("hi").numberFormatter({}),e("hi").pluralGenerator({}),{compoundUnitPattern:"{0} \u092a\u094d\u0930\u0924\u093f {1}",unitProperties:{displayName:"\u092c\u093e\u0907\u091f",one:"{0} \u092c\u093e\u0907\u091f",other:"{0} \u092c\u093e\u0907\u091f"}}),e.b1221534236=u(e("hi").numberFormatter({}),e("hi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b983146061=u(e("hi").numberFormatter({}),e("hi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1961183657=u(e("hi").numberFormatter({}),e("hi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b1783807472=u(e("hr").numberFormatter({}),e("hr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"bajtovi",one:"{0} bajt",few:"{0} bajta",other:"{0} bajtova"}}),e.b1119689093=u(e("hr").numberFormatter({}),e("hr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",other:"{0} kB"}}),e.b881300918=u(e("hr").numberFormatter({}),e("hr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",other:"{0} MB"}}),e.a2063028800=u(e("hr").numberFormatter({}),e("hr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",other:"{0} GB"}}),e.a574499091=u(e("hu").numberFormatter({}),e("hu").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"b\xe1jt",one:"{0} b\xe1jt",other:"{0} b\xe1jt"}}),e.b1085740712=u(e("hu").numberFormatter({}),e("hu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b847352537=u(e("hu").numberFormatter({}),e("hu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a2096977181=u(e("hu").numberFormatter({}),e("hu").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.a1558339361=u(e("id").numberFormatter({}),e("id").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"byte",other:"{0} byte"}}),e.b927314934=u(e("id").numberFormatter({}),e("id").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"kByte",other:"{0} kB"}}),e.b688926759=u(e("id").numberFormatter({}),e("id").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MByte",other:"{0} MB"}}),e.b2039564337=u(e("id").numberFormatter({}),e("id").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GByte",other:"{0} GB"}}),e.b1612239055=u(e("it").numberFormatter({}),e("it").pluralGenerator({}),{compoundUnitPattern:"{0} al {1}",unitProperties:{displayName:"byte",one:"{0} byte",other:"{0} byte"}}),e.b746256902=u(e("it").numberFormatter({}),e("it").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b507868727=u(e("it").numberFormatter({}),e("it").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.b1858506305=u(e("it").numberFormatter({}),e("it").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b768947395=u(e("ja").numberFormatter({}),e("ja").pluralGenerator({}),{compoundUnitPattern:"{0}\u6bce{1}",unitProperties:{displayName:"\u30d0\u30a4\u30c8",other:"{0} \u30d0\u30a4\u30c8"}}),e.b610463378=u(e("ja").numberFormatter({}),e("ja").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"KB",other:"{0} KB"}}),e.b372075203=u(e("ja").numberFormatter({}),e("ja").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.b1722712781=u(e("ja").numberFormatter({}),e("ja").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.b35184538=u(e("kk").numberFormatter({}),e("kk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0431\u0430\u0439\u0442",one:"{0} \u0431\u0430\u0439\u0442",other:"{0} \u0431\u0430\u0439\u0442"}}),e.b146502171=u(e("kk").numberFormatter({}),e("kk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u043a\u0431\u0430\u0439\u0442",one:"{0} \u043a\u0411",other:"{0} \u043a\u0411"}}),e.a91886004=u(e("kk").numberFormatter({}),e("kk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u041c\u0431\u0430\u0439\u0442",one:"{0} M\u0411",other:"{0} M\u0411"}}),e.b1258751574=u(e("kk").numberFormatter({}),e("kk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0413\u0431\u0430\u0439\u0442",one:"{0} \u0413\u0411",other:"{0} \u0413\u0411"}}),e.a245912682=u(e("ko").numberFormatter({}),e("ko").pluralGenerator({}),{compoundUnitPattern:"{1}\ub2f9 {0}",unitProperties:{displayName:"\ubc14\uc774\ud2b8",other:"{0}\ubc14\uc774\ud2b8"}}),e.b101237663=u(e("ko").numberFormatter({}),e("ko").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0}kB"}}),e.a137150512=u(e("ko").numberFormatter({}),e("ko").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0}MB"}}),e.b1213487066=u(e("ko").numberFormatter({}),e("ko").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0}GB"}}),e.b1519179634=u(e("lt").numberFormatter({}),e("lt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"baitai",one:"{0} baitas",few:"{0} baitai",many:"{0} baito",other:"{0} bait\u0173"}}),e.a306142909=u(e("lt").numberFormatter({}),e("lt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",many:"{0} kB",other:"{0} kB"}}),e.a544531084=u(e("lt").numberFormatter({}),e("lt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",many:"{0} MB",other:"{0} MB"}}),e.b806106494=u(e("lt").numberFormatter({}),e("lt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",many:"{0} GB",other:"{0} GB"}}),e.b1378631024=u(e("lv").numberFormatter({}),e("lv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"baiti",zero:"{0} baitu",one:"{0} baits",other:"{0} baiti"}}),e.a328775163=u(e("lv").numberFormatter({}),e("lv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",zero:"{0} kB",one:"{0} kB",other:"{0} kB"}}),e.a567163338=u(e("lv").numberFormatter({}),e("lv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",zero:"{0} MB",one:"{0} MB",other:"{0} MB"}}),e.b783474240=u(e("lv").numberFormatter({}),e("lv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",zero:"{0} GB",one:"{0} GB",other:"{0} GB"}}),e.a589049516=u(e("ms").numberFormatter({}),e("ms").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"bait",other:"{0} bait"}}),e.a645626719=u(e("ms").numberFormatter({}),e("ms").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kBait",other:"{0} kB"}}),e.a884014894=u(e("ms").numberFormatter({}),e("ms").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MBait",other:"{0} MB"}}),e.b466622684=u(e("ms").numberFormatter({}),e("ms").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GBait",other:"{0} GB"}}),e.a1572889786=u(e("nb").numberFormatter({}),e("nb").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"byte",one:"{0} byte",other:"{0} byte"}}),e.a804052497=u(e("nb").numberFormatter({}),e("nb").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.a1042440672=u(e("nb").numberFormatter({}),e("nb").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.b308196906=u(e("nb").numberFormatter({}),e("nb").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b2019334460=u(e("nl").numberFormatter({}),e("nl").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"byte",one:"{0} byte",other:"{0} byte"}}),e.a917213767=u(e("nl").numberFormatter({}),e("nl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.a1155601942=u(e("nl").numberFormatter({}),e("nl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.b195035636=u(e("nl").numberFormatter({}),e("nl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b1957294846=u(e("pl").numberFormatter({}),e("pl").pluralGenerator({}),{compoundUnitPattern:"{0} na {1}",unitProperties:{displayName:"bajty",one:"{0} bajt",few:"{0} bajty",many:"{0} bajt\xf3w",other:"{0} bajta"}}),e.a1618813641=u(e("pl").numberFormatter({}),e("pl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.a1857201816=u(e("pl").numberFormatter({}),e("pl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.a506564238=u(e("pl").numberFormatter({}),e("pl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.b1395100406=u(e("pt").numberFormatter({}),e("pt").pluralGenerator({}),{compoundUnitPattern:"{0} por {1}",unitProperties:{displayName:"bytes",one:"{0} bytes",other:"{0} bytes"}}),e.a1709342657=u(e("pt").numberFormatter({}),e("pt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kByte",other:"{0} kB"}}),e.a1947730832=u(e("pt").numberFormatter({}),e("pt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MByte",other:"{0} MB"}}),e.a597093254=u(e("pt").numberFormatter({}),e("pt").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GByte",other:"{0} GB"}}),e.a1665198183=u(e("pt-PT").numberFormatter({}),e("pt-PT").pluralGenerator({}),{compoundUnitPattern:"{0} por {1}",unitProperties:{displayName:"bytes",one:"{0} byte",other:"{0} bytes"}}),e.a1283235460=u(e("pt-PT").numberFormatter({}),e("pt-PT").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"kByte",one:"{0} kB",other:"{0} kB"}}),e.a1521623635=u(e("pt-PT").numberFormatter({}),e("pt-PT").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MByte",one:"{0} MB",other:"{0} MB"}}),e.a170986057=u(e("pt-PT").numberFormatter({}),e("pt-PT").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GByte",one:"{0} GB",other:"{0} GB"}}),e.a463051331=u(e("ro").numberFormatter({}),e("ro").pluralGenerator({}),{compoundUnitPattern:"{0} pe {1}",unitProperties:{displayName:"by\u021bi",one:"{0} byte",few:"{0} by\u021bi",other:"{0} de by\u021bi"}}),e.b1940605400=u(e("ro").numberFormatter({}),e("ro").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",other:"{0} kB"}}),e.b1702217225=u(e("ro").numberFormatter({}),e("ro").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",other:"{0} MB"}}),e.a1242112493=u(e("ro").numberFormatter({}),e("ro").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",other:"{0} GB"}}),e.a884697161=u(e("ru").numberFormatter({}),e("ru").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0431\u0430\u0439\u0442\u044b",one:"{0} \u0431\u0430\u0439\u0442",few:"{0} \u0431\u0430\u0439\u0442\u0430",many:"{0} \u0431\u0430\u0439\u0442",other:"{0} \u0431\u0430\u0439\u0442\u0430"}}),e.b1872708638=u(e("ru").numberFormatter({}),e("ru").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u043a\u0411",one:"{0} \u043a\u0411",few:"{0} \u043a\u0411",many:"{0} \u043a\u0411",other:"{0} \u043a\u0411"}}),e.b1634320463=u(e("ru").numberFormatter({}),e("ru").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u041c\u0411",one:"{0} \u041c\u0411",few:"{0} \u041c\u0411",many:"{0} \u041c\u0411",other:"{0} \u041c\u0411"}}),e.a1310009255=u(e("ru").numberFormatter({}),e("ru").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0413\u0411",one:"{0} \u0413\u0411",few:"{0} \u0413\u0411",many:"{0} \u0413\u0411",other:"{0} \u0413\u0411"}}),e.a212973918=u(e("sk").numberFormatter({}),e("sk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"bajty",one:"{0} bajt",few:"{0} bajty",many:"{0} bajtu",other:"{0} bajtov"}}),e.b1635069971=u(e("sk").numberFormatter({}),e("sk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",many:"{0} kB",other:"{0} kB"}}),e.b1396681796=u(e("sk").numberFormatter({}),e("sk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",many:"{0} MB",other:"{0} MB"}}),e.a1547647922=u(e("sk").numberFormatter({}),e("sk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",many:"{0} GB",other:"{0} GB"}}),e.b1864235425=u(e("sl").numberFormatter({}),e("sl").pluralGenerator({}),{compoundUnitPattern:"{0} na {1}",unitProperties:{displayName:"bajt",one:"{0} bajt",two:"{0} bajta",few:"{0} bajti",other:"{0} bajtov"}}),e.b1623753844=u(e("sl").numberFormatter({}),e("sl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",two:"{0} kB",few:"{0} kB",other:"{0} kB"}}),e.b1385365669=u(e("sl").numberFormatter({}),e("sl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",two:"{0} MB",few:"{0} MB",other:"{0} MB"}}),e.a1558964049=u(e("sl").numberFormatter({}),e("sl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",two:"{0} GB",few:"{0} GB",other:"{0} GB"}}),e.b1064685448=u(e("sr-Cyrl").numberFormatter({}),e("sr-Cyrl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u0431\u0430\u0458\u0442\u043e\u0432\u0438",one:"{0} \u0431\u0430\u0458\u0442",few:"{0} \u0431\u0430\u0458\u0442\u0430",other:"{0} \u0431\u0430\u0458\u0442\u043e\u0432\u0430"}}),e.b826099437=u(e("sr-Cyrl").numberFormatter({}),e("sr-Cyrl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",other:"{0} kB"}}),e.b587711262=u(e("sr-Cyrl").numberFormatter({}),e("sr-Cyrl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",other:"{0} MB"}}),e.b1938348840=u(e("sr-Cyrl").numberFormatter({}),e("sr-Cyrl").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",other:"{0} GB"}}),e.b463658761=u(e("sr-Latn").numberFormatter({}),e("sr-Latn").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"bajtovi",one:"{0} bajt",few:"{0} bajta",other:"{0} bajtova"}}),e.b1577238540=u(e("sr-Latn").numberFormatter({}),e("sr-Latn").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",few:"{0} kB",other:"{0} kB"}}),e.b1338850365=u(e("sr-Latn").numberFormatter({}),e("sr-Latn").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",few:"{0} MB",other:"{0} MB"}}),e.a1605479353=u(e("sr-Latn").numberFormatter({}),e("sr-Latn").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",few:"{0} GB",other:"{0} GB"}}),e.b1161492375=u(e("sv").numberFormatter({}),e("sv").pluralGenerator({}),{compoundUnitPattern:"{0} per {1}",unitProperties:{displayName:"byte",one:"{0} byte",other:"{0} byte"}}),e.b1510592574=u(e("sv").numberFormatter({}),e("sv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b1272204399=u(e("sv").numberFormatter({}),e("sv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1672125319=u(e("sv").numberFormatter({}),e("sv").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.b2114312838=u(e("th").numberFormatter({}),e("th").pluralGenerator({}),{compoundUnitPattern:"{0}\u0e15\u0e48\u0e2d{1}",unitProperties:{displayName:"\u0e44\u0e1a\u0e15\u0e4c",other:"{0} \u0e44\u0e1a\u0e15\u0e4c"}}),e.b1318218415=u(e("th").numberFormatter({}),e("th").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.b1079830240=u(e("th").numberFormatter({}),e("th").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.a1864499478=u(e("th").numberFormatter({}),e("th").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.b1411569788=u(e("tr").numberFormatter({}),e("tr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"bayt",one:"{0} bayt",other:"{0} bayt"}}),e.b1205057145=u(e("tr").numberFormatter({}),e("tr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",one:"{0} kB",other:"{0} kB"}}),e.b966668970=u(e("tr").numberFormatter({}),e("tr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",one:"{0} MB",other:"{0} MB"}}),e.a1977660748=u(e("tr").numberFormatter({}),e("tr").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",one:"{0} GB",other:"{0} GB"}}),e.a275013532=u(e("uk").numberFormatter({}),e("uk").pluralGenerator({}),{compoundUnitPattern:"{0} \u043d\u0430 {1}",unitProperties:{displayName:"\u0431\u0430\u0439\u0442\u0438",one:"{0} \u0431\u0430\u0439\u0442",few:"{0} \u0431\u0430\u0439\u0442\u0438",many:"{0} \u0431\u0430\u0439\u0442\u0456\u0432",other:"{0} \u0431\u0430\u0439\u0442\u0430"}}),e.b933470097=u(e("uk").numberFormatter({}),e("uk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u043a\u0431\u0430\u0439\u0442",one:"{0} \u043a\u0411",few:"{0} \u043a\u0411",many:"{0} \u043a\u0411",other:"{0} \u043a\u0411"}}),e.b695081922=u(e("uk").numberFormatter({}),e("uk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u041c\u0431\u0430\u0439\u0442",one:"{0} \u041c\u0411",few:"{0} \u041c\u0411",many:"{0} \u041c\u0411",other:"{0} \u041c\u0411"}}),e.b2045719500=u(e("uk").numberFormatter({}),e("uk").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"\u0413\u0431\u0430\u0439\u0442",one:"{0} \u0413\u0411",few:"{0} \u0413\u0411",many:"{0} \u0413\u0411",other:"{0} \u0413\u0411"}}),e.a165484729=u(e("vi").numberFormatter({}),e("vi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"byte",other:"{0} byte"}}),e.b605302414=u(e("vi").numberFormatter({}),e("vi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.b366914239=u(e("vi").numberFormatter({}),e("vi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.b1717551817=u(e("vi").numberFormatter({}),e("vi").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.b1657704125=u(e("yue").numberFormatter({}),e("yue").pluralGenerator({}),{compoundUnitPattern:"\u6bcf {1} {0}",unitProperties:{displayName:"byte",other:"{0} byte"}}),e.a1393245992=u(e("yue").numberFormatter({}),e("yue").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.a1631634167=u(e("yue").numberFormatter({}),e("yue").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.a280996589=u(e("yue").numberFormatter({}),e("yue").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.a915494743=u(e("zh-Hans").numberFormatter({}),e("zh-Hans").pluralGenerator({}),{compoundUnitPattern:"\u6bcf{1}{0}",unitProperties:{displayName:"\u5b57\u8282",other:"{0}\u5b57\u8282"}}),e.a1506542996=u(e("zh-Hans").numberFormatter({}),e("zh-Hans").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5343\u5b57\u8282",other:"{0}\u5343\u5b57\u8282"}}),e.a1744931171=u(e("zh-Hans").numberFormatter({}),e("zh-Hans").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5146\u5b57\u8282",other:"{0}\u5146\u5b57\u8282"}}),e.a394293593=u(e("zh-Hans").numberFormatter({}),e("zh-Hans").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5409\u5b57\u8282",other:"{0}\u5409\u5b57\u8282"}}),e.b1803561142=u(e("zh-Hans-SG").numberFormatter({}),e("zh-Hans-SG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5b57\u8282",other:"{0}\u5b57\u8282"}}),e.b692157055=u(e("zh-Hans-SG").numberFormatter({}),e("zh-Hans-SG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5343\u5b57\u8282",other:"{0}\u5343\u5b57\u8282"}}),e.b453768880=u(e("zh-Hans-SG").numberFormatter({}),e("zh-Hans-SG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5146\u5b57\u8282",other:"{0}\u5146\u5b57\u8282"}}),e.b1804406458=u(e("zh-Hans-SG").numberFormatter({}),e("zh-Hans-SG").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"\u5409\u5b57\u8282",other:"{0}\u5409\u5b57\u8282"}}),e.b1161714600=u(e("zh-Hant").numberFormatter({}),e("zh-Hant").pluralGenerator({}),{compoundUnitPattern:"\u6bcf{1} {0}",unitProperties:{displayName:"byte",other:"{0} byte"}}),e.a1517859123=u(e("zh-Hant").numberFormatter({}),e("zh-Hant").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.a1756247298=u(e("zh-Hant").numberFormatter({}),e("zh-Hant").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.a405609720=u(e("zh-Hant").numberFormatter({}),e("zh-Hant").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.b2118418344=u(e("zh-Hant-HK").numberFormatter({}),e("zh-Hant-HK").pluralGenerator({}),{compoundUnitPattern:"{0}\u6bcf{1}",unitProperties:{displayName:"\u4f4d\u5143\u7d44",other:"{0} \u4f4d\u5143\u7d44"}}),e.a1900565811=u(e("zh-Hant-HK").numberFormatter({}),e("zh-Hant-HK").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.a2138953986=u(e("zh-Hant-HK").numberFormatter({}),e("zh-Hant-HK").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}
2",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.a788316408=u(e("zh-Hant-HK").numberFormatter({}),e("zh-Hant-HK").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e.b1682222089=u(e("zh-Hant-MO").numberFormatter({}),e("zh-Hant-MO").pluralGenerator({}),{compoundUnitPattern:"{0}\u6bcf{1}",unitProperties:{displayName:"\u4f4d\u5143\u7d44",other:"{0} \u4f4d\u5143\u7d44"}}),e.b595137292=u(e("zh-Hant-MO").numberFormatter({}),e("zh-Hant-MO").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"kB",other:"{0} kB"}}),e.b356749117=u(e("zh-Hant-MO").numberFormatter({}),e("zh-Hant-MO").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"MB",other:"{0} MB"}}),e.b1707386695=u(e("zh-Hant-MO").numberFormatter({}),e("zh-Hant-MO").pluralGenerator({}),{compoundUnitPattern:"{0}/{1}",unitProperties:{displayName:"GB",other:"{0} GB"}}),e})?n.apply(t,i):n)||(e.exports=o)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("ar-eg"===(e=e.toLowerCase()))return"ar-EG";if("ar-jo"===e)return"ar-JO";if(e.startsWith("ar"))return"ar-SA";if(e.startsWith("bg"))return"bg-BG";if(e.startsWith("ca"))return"ca-ES";if(e.startsWith("cs"))return"cs-CZ";if(e.startsWith("da"))return"da-DK";if(e.startsWith("de"))return"de-DE";if(e.startsWith("el"))return"el-GR";if(e.startsWith("es"))return"es-ES";if(e.startsWith("et"))return"et-EE";if(e.startsWith("eu"))return"eu-ES";if(e.startsWith("fi"))return"fi-FI";if(e.startsWith("fr"))return"fr-FR";if(e.startsWith("gl"))return"gl-ES";if(e.startsWith("he"))return"he-IL";if(e.startsWith("hi"))return"hi-IN";if(e.startsWith("hr"))return"hr-HR";if(e.startsWith("hu"))return"hu-HU";if(e.startsWith("id"))return"id-ID";if(e.startsWith("it"))return"it-IT";if(e.startsWith("ja"))return"ja-JP";if(e.startsWith("kk"))return"kk-KZ";if(e.startsWith("ko"))return"ko-KR";if(e.startsWith("lt"))return"lt-LT";if(e.startsWith("lv"))return"lv-LV";if(e.startsWith("ms"))return"ms-MY";if(e.startsWith("nb")||e.startsWith("nn")||e.startsWith("no"))return"nb-NO";if(e.startsWith("nl"))return"nl-NL";if(e.startsWith("pl"))return"pl-PL";if("pt-br"===e)return"pt-BR";if(e.startsWith("pt"))return"pt-PT";if(e.startsWith("ro"))return"ro-RO";if(e.startsWith("ru"))return"ru-RU";if(e.startsWith("sk"))return"sk-SK";if(e.startsWith("sl"))return"sl-SI";if(e.startsWith("sr-cyrl"))return"sr-Cyrl";if(e.startsWith("sr-latn"))return"sr-Latn";if(e.startsWith("sv"))return"sv-SE";if(e.startsWith("th"))return"th-TH";if(e.startsWith("tr"))return"tr-TR";if(e.startsWith("uk"))return"uk-UA";if(e.startsWith("vi"))return"vi-VN";if(e.startsWith("yue")||"zh-yue"===e)return"zh-yue"===e&&console.warn('botframework-webchat: The locale "zh-YUE" is being renamed to "yue" and deprecated. It will be removed on or after 2022-02-12.'),"yue";if("zh-hant"===e||"zh-tw"===e)return"zh-Hant";if("zh-hant-hk"===e||"zh-hk"===e)return"zh-Hant-HK";if("zh-hant-mo"===e||"zh-mo"===e)return"zh-Hant-MO";if("zh-hans-sg"===e||"zh-sg"===e)return"zh-Hans-SG";if(e.startsWith("zh"))return"zh-Hans";return"en-US"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().trackDimension};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(i,a,u):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),a=(i=r(5))&&i.__esModule?i:{default:i};function s(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
2function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f(e);if(t){var i=f(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){var t=e.children;return"function"===typeof t?t():t},h=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(a,e);var t,r,n,i=l(a);function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this)).state={hasError:!1},e}return t=a,(r=[{key:"componentDidCatch",value:function(e){var t=this.props.onError;this.setState({hasError:!0}),t(e)}},{key:"render",value:function(){var e=this.props.children;return!this.state.hasError&&o.default.createElement(d,null,e)}}])&&u(t.prototype,r),n&&u(t,n),a}(o.Component);h.defaultProps={children:void 0,onError:void 0},h.propTypes={children:a.default.any,onError:a.default.func};var v=h;t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.hideScrollToEndButton,s=n.newMessagesButtonFontSize,c=l(n,a),d=u(u({},o.default),c),h=d.bubbleFromUserNubOffset,v=d.bubbleNubOffset,m=d.emojiSet;e="top"===h?0:"number"!==typeof h?-0:h;t="top"===v?0:"number"!==typeof v?-0:v;!0===m?r={":)":"\ud83d\ude0a",":-)":"\ud83d\ude0a","(:":"\ud83d\ude0a","(-:":"\ud83d\ude0a",":-|":"\ud83d\ude10",":|":"\ud83d\ude10",":-(":"\u2639\ufe0f",":(":"\u2639\ufe0f",":-D":"\ud83d\ude00",":D":"\ud83d\ude00",":-p":"\ud83d\ude1b",":p":"\ud83d\ude1b",":-P":"\ud83d\ude1b",":P":"\ud83d\ude1b",":-o":"\ud83d\ude32",":o":"\ud83d\ude32",":O":"\ud83d\ude32",":-O":"\ud83d\ude32",":-0":"\ud83d\ude32",":0":"\ud83d\ude32",";-)":"\ud83d\ude09",";)":"\ud83d\ude09","<3":"\u2764\ufe0f","</3":"\ud83d\udc94","<\\3":"\ud83d\udc94"}:"[object Object]"!==Object.prototype.toString.call(m)?(console.warn("botframework-webchat: emojiSet must be a boolean or an object with emoticon: emojiValues"),r=!1):r=m;i&&(p(),d.scrollToEndButtonBehavior=c.scrollToEndButtonBehavior||!1);var y=d.scrollToEndButtonBehavior;"any"!==y&&!1!==y&&("unread"===y||console.warn('Web Chat: "scrollToEndButtonBehavior" must be either "unread", "any", or false, will set to "unread".'),y="unread");s&&(f(),d.scrollToEndButtonFontSize=c.scrollToEndButtonFontSize||s);return u(u({},d),{},{bubbleFromUserNubOffset:e,bubbleNubOffset:t,emojiSet:r,scrollToEndButtonBehavior:y})};var n,i=r(70),o=(n=r(626))&&n.__esModule?n:{default:n},a=["hideScrollToEndButton","newMessagesButtonFontSize"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=(0,i.warnOnce)('"styleOptions.hideScrollToEndButton" has been deprecated. To hide scroll to end button, set "scrollToEndBehavior" to false. This deprecation migration will be removed on or after 2023-06-02.'),f=(0,i.warnOnce)('"styleOptions.newMessagesButtonFontSize" has been renamed to "styleOptions.scrollToEndButtonFontSize". This deprecation migration will be removed on or after 2023-06-02.')},function(e,t,r){"use strict";function n(e){return e.map((function(e){return"'".concat(e,"'")})).join(", ")}
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={accent:"#0063B1",backgroundColor:"White",subtle:"#767676",paddingRegular:10,paddingWide:20,fontSizeSmall:"80%",monospaceFont:n(["Consolas","Courier New","monospace"]),primaryFont:n(["Calibri","Helvetica Neue","Arial","sans-serif"]),rootHeight:"100%",rootWidth:"100%",rootZIndex:0,transitionDuration:"0s",avatarBorderRadius:"50%",avatarSize:40,botAvatarBackgroundColor:void 0,botAvatarImage:void 0,botAvatarInitials:void 0,userAvatarBackgroundColor:void 0,userAvatarImage:void 0,userAvatarInitials:void 0,showAvatarInGroup:"status",bubbleBackground:"White",bubbleBorderColor:"#E6E6E6",bubbleBorderRadius:2,bubbleBorderStyle:"solid",bubbleBorderWidth:1,bubbleFromUserBackground:"White",bubbleFromUserBorderColor:"#E6E6E6",bubbleFromUserBorderRadius:2,bubbleFromUserBorderStyle:"solid",bubbleFromUserBorderWidth:1,bubbleFromUserNubOffset:0,bubbleFromUserNubSize:void 0,bubbleFromUserTextColor:"Black",bubbleImageHeight:240,bubbleMaxWidth:480,bubbleMinHeight:40,bubbleMinWidth:250,bubbleNubOffset:0,bubbleNubSize:void 0,bubbleTextColor:"Black",messageActivityWordBreak:"break-word",connectivityIconPadding:12,connectivityMarginLeftRight:14,connectivityMarginTopBottom:8,connectivityTextSize:"75%",failedConnectivity:"#C50F1F",slowConnectivity:"#EAA300",notificationText:"#5E5E5E",slowConnectionAfter:15e3,emojiSet:!0,internalLiveRegionFadeAfter:1e3,markdownExternalLinkIconImage:"url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIzIDMgMTggMTgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMjUwMSA0LjUwMDE3SDEwLjc0OTVDMTEuMTYzNyA0LjUwMDE3IDExLjQ5OTUgNC44MzU5NiAxMS40OTk1IDUuMjUwMTdDMTEuNDk5NSA1LjYyOTg2IDExLjIxNzMgNS45NDM2NiAxMC44NTEzIDUuOTkzMzJMMTAuNzQ5NSA2LjAwMDE3SDcuMjQ5NzRDNi4wNzA3OSA1Ljk5OTYxIDUuMTAzNDkgNi45MDY1NiA1LjAwNzg2IDguMDYxMTJMNS4wMDAyOCA4LjIyMDAzTDUuMDAzMTIgMTYuNzUwN0M1LjAwMzQzIDE3Ljk0MTUgNS45Mjg4NSAxOC45MTYxIDcuMDk5NjYgMTguOTk0OUw3LjI1MzcxIDE5LjAwMDFMMTUuNzUxOCAxOC45ODg0QzE2Ljk0MTUgMTguOTg2OCAxNy45MTQ1IDE4LjA2MiAxNy45OTM1IDE2Ljg5MjNMMTcuOTk4NyAxNi43Mzg0VjEzLjIzMjFDMTcuOTk4NyAxMi44MTc5IDE4LjMzNDUgMTIuNDgyMSAxOC43NDg3IDEyLjQ4MjFDMTkuMTI4NCAxMi40ODIxIDE5LjQ0MjIgMTIuNzY0MyAxOS40OTE4IDEzLjEzMDNMMTkuNDk4NyAxMy4yMzIxVjE2LjczODRDMTkuNDk4NyAxOC43NDA3IDE3LjkyOTMgMjAuMzc2OSAxNS45NTI4IDIwLjQ4MjlMMTUuNzUzOCAyMC40ODg0TDcuMjU4MjcgMjAuNTAwMUw3LjA1NDk1IDIwLjQ5NDlDNS4xNDIzOSAyMC4zOTU0IDMuNjA4OTUgMTguODYyNyAzLjUwODM3IDE2Ljk1MDJMMy41MDMxMiAxNi43NTExTDMuNTAwODkgOC4yNTI3TDMuNTA1MjkgOC4wNTAyQzMuNjA1MzkgNi4xMzc0OSA1LjEzODY3IDQuNjA0NDkgNy4wNTA5NiA0LjUwNTI3TDcuMjUwMSA0LjUwMDE3SDEwLjc0OTVINy4yNTAxWk0xMy43NDgxIDMuMDAxNDZMMjAuMzAxOCAzLjAwMTk3TDIwLjQwMTQgMy4wMTU3NUwyMC41MDIyIDMuMDQzOTNMMjAuNTU5IDMuMDY4MDNDMjAuNjEyMiAzLjA5MTIyIDIwLjY2MzQgMy4xMjE2MyAyMC43MTExIDMuMTU4ODVMMjAuNzgwNCAzLjIyMTU2TDIwLjg2NDEgMy4zMjAxNEwyMC45MTgzIDMuNDEwMjVMMjAuOTU3IDMuNTAwNTdMMjAuOTc2MiAzLjU2NDc2TDIwLjk4OTggMy42Mjg2MkwyMC45OTkyIDMuNzIyODJMMjAuOTk5NyAxMC4yNTU0QzIwLjk5OTcgMTAuNjY5NiAyMC42NjM5IDExLjAwNTQgMjAuMjQ5NyAxMS4wMDU0QzE5Ljg3IDExLjAwNTQgMTkuNTU2MiAxMC43MjMyIDE5LjUwNjUgMTAuMzU3MUwxOS40OTk3IDEwLjI1NTRMMTkuNDk4OSA1LjU2MTQ3TDEyLjI3OTcgMTIuNzg0N0MxMi4wMTM0IDEzLjA1MSAxMS41OTY4IDEzLjA3NTMgMTEuMzAzMSAxMi44NTc1TDExLjIxOSAxMi43ODQ5QzEwLjk1MjcgMTIuNTE4NyAxMC45Mjg0IDEyLjEwMjEgMTEuMTQ2MiAxMS44MDg0TDExLjIxODggMTEuNzI0M0wxOC40MzY5IDQuNTAxNDZIMTMuNzQ4MUMxMy4zNjg0IDQuNTAxNDYgMTMuMDU0NiA0LjIxOTMxIDEzLjAwNSAzLjg1MzI0TDEyLjk5ODEgMy43NTE0NkMxMi45OTgxIDMuMzcxNzcgMTMuMjgwMyAzLjA1Nzk3IDEzLjY0NjQgMy4wMDgzMUwxMy43NDgxIDMuMDAxNDZaIiBmaWxsPSIjMjEyMTIxIiAvPjwvc3ZnPg==)",markdownRespectCRLF:!0,hideScrollToEndButton:void 0,autoScrollSnapOnActivity:!1,autoScrollSnapOnActivityOffset:0,autoScrollSnapOnPage:!1,autoScrollSnapOnPageoffset:0,hideSendBox:!1,hideUploadButton:!1,microphoneButtonColorOnDictate:"#F33",sendBoxBackground:"White",sendBoxButtonColor:void 0,sendBoxButtonColorOnDisabled:"#CCC",sendBoxButtonColorOnFocus:"#333",sendBoxButtonColorOnHover:"#333",sendBoxDisabledTextColor:void 0,sendBoxHeight:40,sendBoxMaxHeight:200,sendBoxTextColor:"Black",sendBoxBorderBottom:void 0,sendBoxBorderLeft:void 0,sendBoxBorderRight:void 0,sendBoxBorderTop:"solid 1px #E6E6E6",sendBoxPlaceholderColor:void 0,sendBoxTextWrap:!1,sendBoxButtonAlignment:"stretch",showSpokenText:!1,spinnerAnimationBackgroun
2dImage:void 0,spinnerAnimationHeight:16,spinnerAnimationWidth:16,spinnerAnimationPadding:12,suggestedActionBackground:"White",suggestedActionBorderColor:void 0,suggestedActionBorderRadius:0,suggestedActionBorderStyle:"solid",suggestedActionBorderWidth:2,suggestedActionDisabledBackground:void 0,suggestedActionDisabledBorderColor:"#E6E6E6",suggestedActionDisabledBorderStyle:"solid",suggestedActionDisabledBorderWidth:2,suggestedActionDisabledTextColor:void 0,suggestedActionHeight:40,suggestedActionImageHeight:20,suggestedActionLayout:"carousel",suggestedActionTextColor:void 0,suggestedActionsCarouselFlipperCursor:void 0,suggestedActionsCarouselFlipperBoxWidth:40,suggestedActionsCarouselFlipperSize:20,suggestedActionsFlowMaxHeight:void 0,suggestedActionsStackedHeight:void 0,suggestedActionsStackedOverflow:void 0,suggestedActionsStackedLayoutButtonMaxHeight:void 0,suggestedActionsStackedLayoutButtonTextWrap:!1,groupTimestamp:!0,sendTimeout:2e4,sendTimeoutForAttachments:12e4,timestampColor:void 0,timestampFormat:"relative",scrollToEndButtonBehavior:"unread",scrollToEndButtonFontSize:"85%",newMessagesButtonFontSize:void 0,transcriptOverlayButtonBackground:"rgba(0, 0, 0, .6)",transcriptOverlayButtonBackgroundOnDisabled:"rgba(0, 0, 0, .6)",transcriptOverlayButtonBackgroundOnFocus:"rgba(0, 0, 0, .8)",transcriptOverlayButtonBackgroundOnHover:"rgba(0, 0, 0, .8)",transcriptOverlayButtonColor:"White",transcriptOverlayButtonColorOnDisabled:"White",transcriptOverlayButtonColorOnFocus:void 0,transcriptOverlayButtonColorOnHover:void 0,notificationDebounceTimeout:400,hideToaster:!1,toasterHeight:32,toasterMaxHeight:160,toasterSingularMaxHeight:50,toastFontSize:"87.5%",toastIconWidth:36,toastSeparatorColor:"#E8EAEC",toastTextPadding:6,toastErrorBackgroundColor:"#FDE7E9",toastErrorColor:"#A80000",toastInfoBackgroundColor:"#CEF1FF",toastInfoColor:"#105E7D",toastSuccessBackgroundColor:"#DFF6DD",toastSuccessColor:"#107C10",toastWarnBackgroundColor:"#FFF4CE",toastWarnColor:"#3B3A39",transcriptTerminatorBackgroundColor:"#595959",transcriptTerminatorBorderRadius:5,transcriptTerminatorColor:"White",transcriptTerminatorFontSize:12,transcriptActivityVisualKeyboardIndicatorColor:"#767676",transcriptActivityVisualKeyboardIndicatorStyle:"dashed",transcriptActivityVisualKeyboardIndicatorWidth:1,transcriptVisualKeyboardIndicatorColor:"Black",transcriptVisualKeyboardIndicatorStyle:"solid",transcriptVisualKeyboardIndicatorWidth:2,typingAnimationBackgroundImage:void 0,typingAnimationDuration:5e3,typingAnimationHeight:20,typingAnimationWidth:64,enableUploadThumbnail:!0,uploadThumbnailContentType:"image/jpeg",uploadThumbnailHeight:360,uploadThumbnailQuality:.6,uploadThumbnailWidth:720,videoHeight:270};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(0),i=s(r(5)),o=s(r(1242)),a=s(r(414));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=function(e){var t=e.error,r=e.type,i=u((0,o.default)(),1)[0],s=(0,a.default)();return(0,n.useEffect)((function(){s(t,!1)}),[t,s]),(0,n.useEffect)((function(){console.group("botframework-webchat: ".concat(r)),console.error(t),console.groupEnd()}),[t,r]),!!i&&(0,n.createElement)(i,{error:t,type:r})};l.defaultProps={type:void 0},l.propTypes={error:i.default.any.isRequired,type:i.default.string};var p=l;t.default=p},function(e,t,r){"use strict";function n(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){var r=t.reduce((function(t,r){return r?[].concat(n(t),[r(e)]):t}),[]);return function(e){var t=r.slice();return function r(n){return function(){var i=t[n];return(i?i(r(n+1)):e).apply(void 0,arguments)}}(0)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=h(r(20)),o=h(r(5)),a=h(r(0)),s=h(r(1245)),u=h(r(1247)),c=h(r(634)),l=h(r(1326)),p=h(r(1331)),f=h(r(23)),d=h(r(40));function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=n.hooks.useStyleOptions,T={display:"flex",flexDirection:"column"},b={flexShrink:0},g={flexShrink:0},_={flexShrink:0},S={flex:1},A=["complementary","contentinfo","form","main","region"],E=function(e){var t=e.className,r=e.role,n=v((0,f.default)(),1)[0].root,o=v(y(),1)[0],h=(0,d.default)(),m=h(b)+"",E=h(T)+"",C=h(g)+"",O=h(_)+"",I=h(S)+"";return A.includes(r)||(r="complementary"),a.default.createElement(s.default,{className:(0,i.default)(E,n+"",(t||"")+""),role:r},!o.hideToaster&&a.default.createElement(l.default,{className:O}),a.default.createElement(p.default,{className:I}),a.default.createElement(u.default,{className:m}),!o.hideSendBox&&a.default.createElement(c.default,{className:C}))};E.defaultProps={className:"",role:"complementary"},E.propTypes={className:o.default.string,role:o.default.oneOf(A)};var C=E;t.default=C},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(0).createContext)();t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=window.navigator.platform;return(0,n.useMemo)((function(){var t=i.test(e),r=o.test(e),n=s.test(e);return[{android:t,apple:r,linux:!t&&a.test(e),windows:n}]}),[e])};var n=r(0),i=/^(android|linux armv7l)/gi,o=/^(mac|ipad|iphone|ipod)/gi,a=/^linux/gi,s=/^win/gi},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.useEffect)((function(){if("number"===typeof e){var r=setTimeout(t,Math.max(0,e-Date.now()));return function(){return clearTimeout(r)}}}),[e,t])};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(20)),o=s(r(5)),a=s(r(0));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=n.hooks.useDirection,p=function(e){var t=e.className,r=e.size,n=u(l(),1)[0];return a.default.createElement("svg",{alt:"",className:(0,i.default)(t+"","rtl"===n&&"webchat__error--rtl"),height:16*r,viewBox:"0 0 13.1 13.1",width:16*r},a.default.createElement("path",{d:"M6.5,13C2.9,13,0,10.1,0,6.5S2.9,0,6.5,0S13,2.9,13,6.5S10.1,13,6.5,13z M6.1,3.5v4.3h0.9V3.5H6.1z M6.1,8.7v0.9h0.9V8.7H6.1z",fillRule:"evenodd"}))};p.defaultProps={className:"",size:1},p.propTypes={className:o.default.string,size:o.default.number};var f=p;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSendBoxSpeechInterimsVisible=P,t.default=void 0;var n=r(70),i=r(13),o=y(r(20)),a=y(r(5)),s=y(r(0)),u=y(r(635)),c=y(r(417)),l=y(r(639)),p=y(r(640)),f=y(r(434)),d=y(r(676)),h=y(r(23)),v=y(r(40)),m=y(r(187));function y(e){return e&&e.__esModule?e:{default:e}}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g=n.Constants.DictateState,_=g.DICTATING,S=g.STARTING,A=i.hooks.useActivities,E=i.hooks.useDirection,C=i.hooks.useDictateState,O=i.hooks.useStyleOptions,I={"&.webchat__send-box":{"& .webchat__send-box__button":{flexShrink:0},"& .webchat__send-box__dictation-interims":{flex:1e4},"& .webchat__send-box__main":{display:"flex"},"& .webchat__send-box__microphone-button":{flex:1},"& .webchat__send-box__text-box":{flex:1e4}}};function w(e){var t=e.channelData;return!!(t=void 0===t?{}:t).speak}function P(){var e=T(A(),1)[0],t=T(C(),1)[0];return[(t===S||t===_)&&!e.filter(w).length]}var N=function(e){var t=e.className,r=T(O(),1)[0],n=r.hideUploadButton,i=r.sendBoxButtonAlignment,a=T((0,h.default)(),1)[0].sendBox,y=T((0,m.default)(),1)[0],b=(y=void 0===y?{}:y).SpeechRecognition,g=void 0===b?void 0:b,_=T(E(),1)[0],S=T(P(),1)[0],A=(0,v.default)()(I)+"",C=!!g,w=(0,o.default)("webchat__send-box__button",{"webchat__send-box__button--align-bottom":"bottom"===i,"webchat__send-box__button--align-stretch":"bottom"!==i&&"top"!==i,"webchat__send-box__button--align-top":"top"===i});return s.default.createElement("div",{className:(0,o.default)("webchat__send-box",a+"",A+"",(t||"")+""),dir:_,role:"form"},s.default.createElement(p.default,null),s.default.createElement("div",{className:"webchat__send-box__main"},!n&&s.default.createElement(d.default,{className:w}),S?s.default.createElement(u.default,{className:"webchat__send-box__dictation-interims"}):s.default.createElement(f.default,{className:"webchat__send-box__text-box"}),C?s.default.createElement(c.default,{className:(0,o.default)(w,"webchat__send-box__microphone-button")}):s.default.createElement(l.default,{className:w})))};N.defaultProps={className:""},N.propTypes={className:a.default.string};var R=N;t.default=R},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectDictationInterims=t.default=void 0;var n=r(70),i=r(13),o=p(r(20)),a=p(r(5)),s=p(r(0)),u=p(r(92)),c=p(r(23)),l=p(r(40));
2function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=n.Constants.DictateState,v=h.DICTATING,m=h.STARTING,y=h.STOPPING,T=i.hooks.useDictateInterims,b=i.hooks.useDictateState,g=i.hooks.useLocalizer,_={alignItems:"center",display:"flex"};t.connectDictationInterims=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.default.apply(void 0,[function(e){return{dictateInterims:e.dictateInterims,dictateState:e.dictateState,language:e.language}}].concat(t))};var S=function(e){var t=e.className,r=f(T(),1)[0],n=f(b(),1)[0],i=f((0,c.default)(),1)[0].dictationInterims,a=g(),u=(0,l.default)()(_)+"";return n===m||n===y?s.default.createElement("p",{className:(0,o.default)(i+"",u,(t||"")+"","status")},n===m&&a("SPEECH_INPUT_STARTING")):n===v&&(r.length?s.default.createElement("p",{className:(0,o.default)(i+"",u,(t||"")+"","dictating")},r.map((function(e,t){return s.default.createElement("span",{key:t},e,"\xa0")}))):s.default.createElement("p",{className:(0,o.default)(i+"",u,(t||"")+"","status")},a("SPEECH_INPUT_LISTENING")))};S.defaultProps={className:""},S.propTypes={className:a.default.string};var A=S;t.default=A},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=r(5))&&i.__esModule?i:{default:i},a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=["aria-hidden","disabled","onClick","tabIndex"];function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=function(e){return e.preventDefault()},f=(0,a.forwardRef)((function(e,t){var r=e["aria-hidden"],n=e.disabled,i=e.onClick,o=e.tabIndex,u=l(e,s),f=(0,a.useRef)(),d=t||f;return a.default.createElement("button",c({"aria-disabled":n||void 0,"aria-hidden":r,onClick:n?p:i,ref:d,tabIndex:n?-1:o},u,{type:"button"}))}));f.defaultProps={"aria-hidden":void 0,disabled:void 0,onClick:void 0,tabIndex:void 0}
2,f.displayName="AccessibleButton",f.propTypes={"aria-hidden":o.default.bool,disabled:o.default.bool,onClick:o.default.func,tabIndex:o.default.number,type:o.default.oneOf(["button"]).isRequired};var d=f;t.default=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(e=(0,i.default)(),t=1,c(e)||u(e,t)||a(e,t)||o())[0]];var e,t};var n,i=(n=r(638))&&n.__esModule?n:{default:n};function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}function c(e){if(Array.isArray(e))return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)(),t=e.dictateAbortable,r=e.setDictateAbortable;return[t,r]};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectSendButton=t.default=void 0;var i=r(13),o=h(r(20)),a=h(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=h(r(92)),c=h(r(418)),l=h(r(1256)),p=h(r(158)),f=h(r(298));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=i.hooks.useDisabled,T=i.hooks.useLocalizer,b=i.hooks.useSubmitSendBox;t.connectSendButton=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.default.apply(void 0,[function(e){return{disabled:e.disabled,language:e.language,submitSendBox:e.submitSendBox}}].concat(t))};var g=function(e){var t=e.className,r=v(y(),1)[0],n=(0,p.default)(),i=T(),a=(0,f.default)(),u=b(),d=(0,s.useCallback)((function(){n("sendBoxWithoutKeyboard"),a(),u()}),[n,a,u]);return s.default.createElement(c.default,{alt:i("TEXT_INPUT_SEND_BUTTON_ALT"),className:(0,o.default)("webchat__send-button",t),disabled:r,onClick:d},s.default.createElement(l.default,null))};g.defaultProps={className:void 0}
2,g.propTypes={className:a.default.string};var _=g;t.default=_},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectSuggestedActions=t.default=void 0;var i=r(13),o=g(r(485)),a=T(r(20)),s=T(r(5)),u=g(r(0)),c=T(r(92)),l=T(r(74)),p=T(r(1313)),f=T(r(668)),d=T(r(670)),h=T(r(23)),v=T(r(40)),m=T(r(669)),y=T(r(138));function T(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,r&&r.set(e,i),i}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var A=i.hooks.useDirection,E=i.hooks.useLocalizer,C=i.hooks.useStyleOptions,O={"&.webchat__suggested-actions":{"&.webchat__suggested-actions--flow-layout .webchat__suggested-actions__flow-box":{display:"flex",flexWrap:"wrap"},"&.webchat__suggested-actions--stack-layout .webchat__suggested-actions__stack":{display:"flex",flexDirection:"column"}}};function I(e){var t=e.displayText,r=e.title,n=e.type,i=e.value;return"messageBack"===n?r||t:r||("string"===typeof i?i:JSON.stringify(i))}var w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.default.apply(void 0,[function(e){return{language:e.language,suggestedActions:e.suggestedActions}}].concat(t))};t.connectSuggestedActions=w;var P=function(e){var t=e.children,r=e.className,n=e.screenReaderText,i=_(C(),1)[0],s=i.suggestedActionsCarouselFlipperBoxWidth,c=i.suggestedActionsCarouselFlipperCursor,p=i.suggestedActionsCarouselFlipperSize,f=_((0,h.default)(),1)[0].suggestedActions,m=_(A(),1)[0],T=_((0,d.default)(),1)[0],b=(0,y.default)("webchat__suggested-actions"),g=(0,v.default)()(O)+"",S=(0,u.useMemo)((function(){return(0,o.createBasicStyleSet)({autoHide:!1,cursor:c,flipperBoxWidth:s,flipperSize:p})}),[s,c,p]);return u.default.createElement("div",{"aria-labelledby":b,"aria-live":"polite",className:(0,a.default)("webchat__suggested-actions","webchat__suggested-actions--carousel-layout",{"webchat__suggested-actions--rtl":"rtl"===m},g,f+"",(r||"")+""),role:"status"},u.default.createElement(l.default,{id:b,text:n}),!!t&&!!u.default.Children.count(t)&&u.default.createElement(o.default,{autoCenter:!1,className:"webchat__suggested-actions__carousel",dir:m,flipperBlurFocusOnClick:!0,nonce:T,showDots:!1,showScrollBar:!1,styleSet:S},t))};P.defaultProps={children:void 0,className:void 0},P.propTypes={children:s.default.any,className:s.default.string,screenReaderText:s.default.string.isRequired};var N=function(e){var t=e.children,r=e.className,n=e.screenReaderText,i=_((0,h.default)(),1)[0].suggestedActions,o=(0,y.default)("webchat__suggested-actions"),s=(0,v.default)()(O)+"";return u.default.createElement("div",{"aria-labelledby":o,"aria-live":"polite",className:(0,a.default)("webchat__suggested-actions","webchat__suggested-actions--flow-layout",s,i+"",(r||"")+""),role:"status"},u.default.createElement(l.default,{id:o,text:n}),!!t&&!!u.default.Children.count(t)&&u.default.createElement("div",{className:"webchat__suggested-actions__flow-box"},u.default.Children.map(t,(function(e){return u.default.createElement("div",{className:"webchat__suggested-actions__item"},e)}))))};N.defaultProps={children:void 0,className:void 0},N.propTypes={children:s.default.any,className:s.default.string,screenReaderText:s.default.string.isRequired};var R=function(e){var t=e.children,r=e.className,n=e.screenReaderText,i=_((0,h.default)(),1)[0].suggestedActions,o=(0,y.default)("webchat__suggested-actions"),s=(0,v.default)()(O)+"";return u.default.createElement("div",{"aria-labelledby":o,"aria-live":"polite",className:(0,a.default)("webchat__suggested-actions","webchat__suggested-actions--stacked-layout",s,i+"",(r||"")+""),role:"status"},u.default.createElement(l.default,{id:o,text:n}),!!t&&!!u.default.Children.count(t)&&u.default.createElement("div",{className:"webchat__suggested-actions__stack"},t))};R.defaultProps={children:void 0,className:void 0},R.propTypes={children:s.default.any,className:s.default.string,screenReaderText:s.default.string.isRequired};var k=function(e){var t=e.className,r=e.suggestedActions,n=void 0===r?[]:r,
2i=_(C(),1)[0],o=i.suggestedActionLayout,a=i.suggestedActionsStackedLayoutButtonTextWrap,s=_((0,m.default)(),1)[0],c=E(),l=(0,f.default)(),d=c("SUGGESTED_ACTIONS_ALT",n.length?s?c("SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY",l(s)):c("SUGGESTED_ACTIONS_ALT_HAS_CONTENT"):c("SUGGESTED_ACTIONS_ALT_NO_CONTENT")),h=n.map((function(e,t){var r=e,n=r.displayText,i=r.image,s=r.imageAltText,c=r.text,l=r.title,f=r.type,d=r.value;return u.default.createElement(p.default,{buttonText:I({displayText:n,title:l,type:f,value:d}),className:"webchat__suggested-actions__button",displayText:n,image:i,imageAlt:s,key:t,text:c,textClassName:"stacked"===o&&a?"webchat__suggested-actions__button-text-stacked-text-wrap":"webchat__suggested-actions__button-text",type:f,value:d})}));return"flow"===o?u.default.createElement(N,{className:t,screenReaderText:d},h):"stacked"===o?u.default.createElement(R,{className:t,screenReaderText:d},h):u.default.createElement(P,{className:t,screenReaderText:d},h)};k.defaultProps={className:""},k.propTypes={className:s.default.string,suggestedActions:s.default.arrayOf(s.default.shape({displayText:s.default.string,image:s.default.string,imageAltText:s.default.string,text:s.default.string,title:s.default.string,type:s.default.string.isRequired,value:s.default.any})).isRequired};var x=w()(k);t.default=x},function(e,t,r){var n=r(642);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(111),i=r(67),o=r(420);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(189),i=r(425),o=r(648),a=r(83);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},function(e,t,r){var n=r(51);e.exports=n},function(e,t,r){var n=r(101),i=r(100),o=r(647).indexOf,a=r(304);e.exports=function(e,t){var r,s=i(e),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>u;
vendor: 2,093 bytes, line 2
2)n(s,r=t[u++])&&(~o(c,r)||c.push(r));return c}},function(e,t,r){var n=r(100),i=r(137),o=r(305),a=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(67),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==c||r!=u&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,r){var n=r(58),i=r(429),o=r(127),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,r){var n=r(427);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){var n=r(189);e.exports=n("document","documentElement")},function(e,t,r){var n=r(112),i=r(431),o=r(58)("species");e.exports=function(e,t){var r;return i(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},function(e,t,r){var n=r(58);t.f=n},function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t,r){"use strict";var n,i,o,a=r(67),s=r(657),u=r(126),c=r(101),l=r(58),p=r(235),f=l("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(n=i):d=!0);var h=void 0==n||a((function(){var e={};return n[f].call(e)!==e}));h&&(n={}),p&&!h||c(n,f)||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},function(e,t,r){var n=r(101),i=r(125),o=r(302),a=r(1275),s=o("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,r){var n=r(83),i=r(1276);
vendor: 1,033 bytes, line 2
2e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},function(e,t,r){var n=r(83),i=r(1280),o=r(137),a=r(430),s=r(1281),u=r(1282),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var l,p,f,d,h,v,m,y=r&&r.that,T=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),g=!(!r||!r.INTERRUPTED),_=a(t,y,1+T+g),S=function(e){return l&&u(l),new c(!0,e)},A=function(e){return T?(n(e),g?_(e[0],e[1],S):_(e[0],e[1])):g?_(e,S):_(e)};if(b)l=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(i(p)){for(f=0,d=o(e.length);d>f;f++)if((h=A(e[f]))&&h instanceof c)return h;return new c(!1)}l=p.call(e)}for(v=l.next;!(m=v.call(l)).done;){try{h=A(m.value)}catch(E){throw u(l),E}if("object"==typeof h&&h&&h instanceof c)return h}return new c(!1)}},function(e,t,r){var n=r(432),i=r(233),o=r
2(58)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},function(e,t,r){"use strict"},function(e,t,r){var n=r(432),i=r(136),o=r(1284);n||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,r){"use strict";var n=r(55),i=r(433);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,r){"use strict";var n=r(83);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,r){var n,i,o,a=r(51),s=r(67),u=r(430),c=r(652),l=r(420),p=r(666),f=r(320),d=a.location,h=a.setImmediate,v=a.clearImmediate,m=a.process,y=a.MessageChannel,T=a.Dispatch,b=0,g={},_=function(e){if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},S=function(e){return function(){_(e)}},A=function(e){_(e.data)},E=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete g[e]},f?n=function(e){m.nextTick(S(e))}:T&&T.now?n=function(e){T.now(S(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=A,n=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(E)?(n=E,a.addEventListener("message",A,!1)):n="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:h,clear:v}},function(e,t,r){var n=r(428);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},function(e,t,r){"use strict";var n=r(237),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(r=(0,a.default)(),n=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(r,n)||function(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].apple,t=u();var r,n;return(0,i.useCallback)((function(r){if(!r||"string"!==typeof r||!r.length)throw new Error('useLocalizeAccessKey: "accessKey" must be a non-empty string');return t(e?"ACCESS_KEY_FOR_MAC_ALT":"ACCESS_KEY_ALT",r[0])}),[e,t])};var n,i=r(0),o=r(13),a=(n=r(631))&&n.__esModule?n:{default:n};function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=o.hooks.useLocalizer},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().suggestedActionsAccessKey]};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().nonce]};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safari=t.ie11=t.firefox=t.edgeUWP=t.edgeAnaheim=t.chromium=t.chrome=void 0;var n=navigator.userAgent,i=!/Edge\//.test(n)&&/Chrome\//.test(n);t.chromium=i;var o=/Edg\//.test(n);t.edgeAnaheim=o;var a=/Edge\//.test(n);t.edgeUWP=a;var s=/Firefox\//.test(n);t.firefox=s;var u=/Trident\/7(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])0/.test(n);t.ie11=u;var c=i&&!o;t.chrome=c;var l=!(c||a||u||s);t.safari=l},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.useEffect)((function(){var r=e.current;r&&(r.enterKeyHint=t)}),[t,e])};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return(0,i.useCallback)((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(void 0,["down"].concat(r))}),[e])};var n,i=r(0),o=(n=r(674))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().scrollRelativeCallbacksRef;return(0,i.useCallback)((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.current.forEach((function(e){return e.apply(void 0,r)}))}),[e])};var n,i=r(0),o=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return(0,i.useCallback)((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(void 0,["up"].concat(r))}),[e])};var n,i=r(0),o=(n=r(674))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";var n=r(3);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectUploadButton=t.default=void 0;var o=r(13),a=y(r(20)),s=y(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=m(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),c=y(r(1322)),l=y(r(92)),p=y(r(435)),f=y(r(418)),d=y(r(678)),h=y(r(23)),v=y(r(40));function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(m=function(e){return e?r:t})(e)}function y(e){return e&&e.__esModule?e:{default:e}}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function E(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){A(o,n,i,a,s,"next",e)}function s(e){A(o,n,i,a,s,"throw",e)}a(void 0)}))}}var C=o.hooks.useDisabled,O=o.hooks.useLocalizer,I={"&.webchat__upload-button":{display:"flex",overflow:"hidden",position:"relative","& .webchat__upload-button--file-input"
2:{height:0,width:0,opacity:0,position:"absolute",left:0,top:0}}},w=function(e){return e.preventDefault()};function P(e,t,r,n,i){return N.apply(this,arguments)}function N(){return(N=E(n.mark((function e(t,r,i,o,a){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!/\.(gif|jpe?g|png)$/i.test(t.name)){e.next=10;break}return e.prev=1,e.next=4,(0,p.default)(t,r,i,o,a);case 4:return e.abrupt("return",e.sent);case 7:e.prev=7,e.t0=e.catch(1),console.warn("Web Chat: Failed to downscale image due to ".concat(e.t0,"."));case 10:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}t.connectUploadButton=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return l.default.apply(void 0,[function(e){var t=e.disabled,r=e.language,i=e.sendFiles,o=e.styleSet.options,a=o.enableUploadThumbnail,s=o.uploadThumbnailContentType,u=o.uploadThumbnailHeight,c=o.uploadThumbnailQuality,l=o.uploadThumbnailWidth;return{disabled:t,language:r,sendFiles:function(){var e=E(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||!t.length){e.next=6;break}return e.t0=i,e.next=4,Promise.all([].map.call(t,function(){var e=E(n.mark((function e(t){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=_,e.t1={name:t.name,size:t.size,url:window.URL.createObjectURL(t)},e.t2=a,!e.t2){e.next=8;break}return e.next=6,P(t,l,u,s,c);case 6:e.t3=e.sent,e.t2={thumbnail:e.t3};case 8:return e.t4=e.t2,e.abrupt("return",(0,e.t0)(e.t1,e.t4));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 4:e.t1=e.sent,(0,e.t0)(e.t1);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}}].concat(t))};var R=function(e){var t=e.className,r=T((0,h.default)(),1)[0].uploadButton,n=T(C(),1)[0],i=(0,u.useRef)(),o=O(),s=(0,v.default)()(I)+"",l=(0,d.default)(),p=i.current,m=o("TEXT_INPUT_UPLOAD_BUTTON_ALT"),y=(0,u.useCallback)((function(){p&&p.click()}),[p]),b=(0,u.useCallback)((function(e){var t=e.target.files;l(t),p&&(p.value=null)}),[p,l]);return u.default.createElement("div",{className:(0,a.default)(s,"webchat__upload-button",r+"",t)},u.default.createElement("input",{"aria-disabled":n,"aria-hidden":"true",className:"webchat__upload-button--file-input",multiple:!0,onChange:n?void 0:b,onClick:n?w:void 0,readOnly:n,ref:i,role:"button",tabIndex:-1,type:"file"}),u.default.createElement(f.default,{alt:m,"aria-label":m,disabled:n,onClick:y},u.default.createElement(c.default,null)))};R.defaultProps={className:void 0},R.propTypes={className:s.default.string};var k=R;t.default=k},function(e,t,r){"use strict";var n=r(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){return new Promise((function(a,s){var c=new MessageChannel,l=c.port1,p=c.port2;l.onmessage=function(e){var t=e.data,r=t.error,n=t.result;if(r){var i=new Error(r.message);i.stack=r.stack,s(i)}else a(n);l.close(),p.close()},Promise.all([(0,o.default)(e),f()]).then((function(e){var o,a,s=(a=2,function(e){if(Array.isArray(e))return e}(o=e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(o,a)||function(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(o,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0];return s[1].postMessage({arrayBuffer:c,maxHeight:r,maxWidth:t,quality:i,type:n},[c,p])}))}))},t.checkSupport=function(){return v||(v=l(n.mark((function e(){var t;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Promise.all([m(),h||(h=l(n.mark((function e(){var t;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"!==typeof window.MessageChannel&&"undefined"!==typeof window.Worker){e.next=2;break}return e.abrupt("return",!1);case 2:return e.prev=2,e.next=5,p('function(){postMessage("ready")}');case 5:t=e.sent,e.next=11;break;case 8:return e.prev=8,e.t0=e.catch(2),e.abrupt("return",!1);case 11:return t.terminate(),e.abrupt("return",!0);case 13:case"end":return e.stop()}}),e,null,[[2,8]])})))())]);case 3:return t=e.sent,e.abrupt("return",t.every((function(e){return e})));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))())};var i,o=s(r(1324)),a=s(r(1325));
2function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){c(o,n,i,a,s,"next",e)}function s(e){c(o,n,i,a,s,"throw",e)}a(void 0)}))}}function p(e){var t=new Blob(["(".concat(e,")()")],{type:"text/javascript"}),r=window.URL.createObjectURL(t);return new Promise((function(e,t){var n=new Worker(r);n.onerror=function(e){var r=e.error,n=e.message;return t(r||new Error(n))},n.onmessage=function(t){return"ready"===t.data&&e(n)}})).finally((function(){window.URL.revokeObjectURL(r)}))}function f(){return d.apply(this,arguments)}function d(){return(d=l(n.mark((function e(){var t;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=6;break}return e.next=3,i;case 3:t=e.sent,e.next=11;break;case 6:return i=p(a.default),e.next=9,i;case 9:(t=e.sent).addEventListener("error",(function(){i=null,t.terminate()}));case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h,v,m=function(){var e,t="undefined"!==typeof window.OffscreenCanvas&&("undefined"!==typeof window.OffscreenCanvas.prototype.convertToBlob||"undefined"!==typeof window.OffscreenCanvas.prototype.toBlob);if(t)try{new OffscreenCanvas(1,1).getContext("2d"),e=!0}catch(r){e=!1}return"undefined"!==typeof window.createImageBitmap&&t&&e}},function(e,t,r){"use strict";var n=r(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=h(),t=(b=v(),g=1,function(e){if(Array.isArray(e))return e}(b)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(b,g)||function(e,t){if(e){if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(b,g)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],r=t.enableUploadThumbnail,i=t.uploadThumbnailContentType,o=t.uploadThumbnailHeight,u=t.uploadThumbnailQuality,l=t.uploadThumbnailWidth,f=m();var b,g;return(0,a.useCallback)(function(){var t=d(n.mark((function t(a){var p;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a||!a.length){t.next=6;break}return a=[].slice.call(a),t.next=4,Promise.all([].map.call(a,function(){var e=d(n.mark((function e(t){var a;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(s.default&&r&&y(t))){e.next=4;break}return e.next=3,f("sendFiles:makeThumbnail",T(t,l,o,i,u));case 3:a=e.sent;case 4:return e.abrupt("return",c({name:t.name,size:t.size,url:window.URL.createObjectURL(t)},a&&{thumbnail:a}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 4:p=t.sent,e(p);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[r,e,f,i,o,u,l])};var i,o=r(13),a=r(0),s=(i=r(435))&&i.__esModule?i:{default:i};function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){f(o,n,i,a,s,"next",e)}function s(e){f(o,n,i,a,s,"throw",e)}a(void 0)}))}}var h=o.hooks.useSendFiles,v=o.hooks.useStyleOptions,m=o.hooks.useTrackTiming;function y(e){var t=e.name;return/\.(gif|jpe?g|png)$/i.test(t)}function T(e,t,r,n,i){return b.apply(this,arguments)}function b(){return(b=d(n.mark((function e(t,r,i,o,a){return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,s.default)(t,r,i,o,a);case 3:return e.abrupt("return",e.sent);case 6:e.prev=6,e.t0=e.catch(0),console.warn("Web Chat: Failed to downscale image due to ".concat(e.t0,"."));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=u(r(5)),o=u(r(0)),a=u(r(1329)),s=u(r(1330));function u(e){return e&&e.__esModule?e:{default:e}}var c=n.hooks.useLocalizer,l=function(e){var t=e.className,r=e.level,n=c(),i={error:n("TOAST_ALT_ERROR"),info:n("TOAST_ALT_INFO"),success:n("TOAST_ALT_SUCCESS"),warn:n("TOAST_ALT_WARN")}[r]||"";return o.default.createElement(o.default.Fragment,null,"success"===r?o.default.createElement(a.default,{"aria-label":i,className:t}):o.default.createElement(s.default,{"aria-label":i,className:t}))};l.defaultProps={className:void 0},l.propTypes={className:i.default.string,level:i.default.oneOf(["error","info","success","warn"]).isRequired};var p=l;t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTypingIndicatorVisible=u,t.default=void 0;var n=r(13);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=n.hooks.useActiveTyping,s=n.hooks.useRenderTypingIndicator;function u(){var e=i(a(),1)[0];return[!!Object.values(e).filter((function(e){return"user"!==e.role})).length]}var c=function(){var e=i(a(),1)[0],t=i(u(),1)[0],r=i(a(1/0),1)[0];return s()({activeTyping:e,typing:r,visible:t})};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&(e.channelData&&e.channelData.clientActivityID||e.id)}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectSpeakActivity=t.default=void 0;var i=r(13),o=f(r(5)),a=p(r(0)),s=p(r(683)),u=f(r(92)),c=f(r(1352));function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,r&&r.set(e,i),i}function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=i.hooks.useMarkActivityAsSpoken,T=i.hooks.useStyleOptions,b=i.hooks.useVoiceSelector;t.connectSpeakActivity=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.default.apply(void 0,[function(e,t){var r=e.language,n=e.markActivity,i=e.selectVoice,o=t.activity;return{language:r,markAsSpoken:function(){return n(o,"speak",!1)},selectVoice:function(e){return i(e,o)}}}].concat(t))};var g=function(e){var t=e.activity,r=h(T(),1)[0].showSpokenText,n=y(),i=b(t),o=(0,a.useCallback)((function(){n(t)}),[t,n]),u=(0,a.useMemo)((function(){var e=t.attachments,r=void 0===e?[]:e,n=t.speak,i=t.text;return!!t&&[n||i].concat(d(r.filter((function(e){return"application/vnd.microsoft.card.adaptive"===e.contentType})).map((function(e){var t;return null===e||void 0===e||null===(t=e.content)||void 0===t?void 0:t.speak})))).filter((function(e){return e})).join("\r\n")}),[t]),l=t.channelData,p=(l=void 0===l?{}:l).speechSynthesisUtterance;return!!t&&a.default.createElement(a.default.Fragment,null,p?a.default.createElement(s.SayUtterance,{onEnd:o,onError:o,utterance:p}):a.default.createElement(s.default,{onEnd:o,onError:o,text:u,voice:i}),!!r&&a.default.createElement(c.default,{speak:u}))};g.propTypes={activity:o.default.shape({attachments:o.default.arrayOf(o.default.shape({speak:o.default.string,subtitle:o.default.string,text:o.default.string,title:o.default.string})),channelData:o.default.shape({speechSynthesisUtterance:o.default.any}),speak:o.default.string,text:o.default.string}).isRequired};var _=g;t.default=_},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Composer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Context",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"SayButton",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"SayUtterance",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var i=n(r(439)),o=n(r(441)),a=n(r(323)),s=n(r(685)),u=n(r(687)),c=i.default;t.default=c},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)("error",{error:e})};var i=n(r(442))},function(e,t,r){"use strict";var n=r(322),i=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(37)),a=i(r(5)),s=n(r(0)),u=i(r(324)),c=i(r(439)),l=function e(t){var r=(0,u.default)(t,e),n=r.children,i=r.disabled,a=r.lang,l=r.onBoundary,p=r.onEnd,f=r.onError,d=r.onStart,h=r.pitch,v=r.ponyfill,m=r.rate,y=r.text,T=r.voice,b=r.volume,g=(0,s.useState)(!1),_=(0,o.default)(g,2),S=_[0],A=_[1],E=(0,s.useCallback)((function(){return A(!0)})),C={lang:a,onBoundary:l,onEnd:function(e){A(!1),p&&p(e)},onError:f,onStart:d,pitch:h,ponyfill:v,rate:m,text:y,voice:T,volume:b};return s.default.createElement(s.default.Fragment,null,s.default.createElement("button",{disabled:"boolean"===typeof i?i:S,onClick:E},n),S&&s.default.createElement(c.default,C))};l.defaultProps={children:void 0,disabled:void 0,lang:void 0,onBoundary:void 0,onEnd:void 0,onError:void 0,onStart:void 0,pitch:void 0,ponyfill:void 0,rate:void 0,text:void 0,voice:void 0,volume:void 0},l.propTypes={children:a.default.any,disabled:a.default.bool,lang:a.default.string,onBoundary:a.default.func,onEnd:a.default.func,onError:a.default.func,onStart:a.default.func,pitch:a.default.number,ponyfill:a.default.shape({speechSynthesis:a.default.any.isRequired,SpeechSynthesisUtterance:a.default.any.isRequired}),rate:a.default.number,text:a.default.string,voice:a.default.oneOfType([a.default.any,a.default.func]),volume:a.default.number};var p=l;t.default=p},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n=e.speechSynthesis,i=e.SpeechSynthesisUtterance,o=t.lang,a=t.onBoundary,s=t.pitch,u=t.rate,c=t.text,l=t.voice,p=t.volume,f=new i(c);if("function"===typeof l)r=l.call(n,n.getVoices());else{var d=(l||{}).voiceURI;r=d&&[].find.call([].slice.call(n.getVoices()),(function(e){return e.voiceURI===d}))}f.lang=o||"",(s||0===s)&&(f.pitch=s);(u||0===u)&&(f.rate=u);r&&(f.voice=r);(p||0===p)&&(f.volume=p);return a&&f.addEventListener("boundary",a),f}},function(e,t,r){"use strict";var n=r(322),i=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r(87)),a=i(r(440)),s=i(r(5)),u=n(r(0)),c=i(r(441)),l=i(r(442)),p=i(r(684)),f=i(r(324)),d=i(r(1351));function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(r,!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(e){var t=(0,f.default)(e),r=t.onEnd,n=t.onError,i=t.onStart,o=t.utterance,a=(0,u.useRef)(!1),s=(0,d.default)();return(0,u.useEffect)((function(){if(a.current)return console.warn("react-say: Should not change utterance after synthesis started.");var e,t=s(o,(function(){a.current=!0,!e&&i&&i((0,l.default)("start"))})),u=t.cancel;return t.promise.then((function(){return!e&&r&&r((0,l.default)("end"))}),(function(t){return!e&&n&&n((0,p.default)(t))})),function(){e=!0,u()}}),[]),!1};m.defaultProps={onEnd:void 0,onError:void 0,onStart:void 0},m.propTypes={onEnd:s.default.func,onError:s.default.func,onStart:s.default.func};var y=function(e){var t=e.ponyfill,r=(0,a.default)(e,["ponyfill"]);return u.default.createElement(c.default,{ponyfill:t},u.default.createElement(m,r))};y.defaultProps=v({},m.defaultProps,{ponyfill:void 0}),y.propTypes=v({},m.propTypes,{ponyfill:s.default.shape({speechSynthesis:s.default.any.isRequired,SpeechSynthesisUtterance:s.default.any.isRequired})});var T=y;t.default=T},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=r(683),a=r(70),s=R(r(506)),u=R(r(689)),c=R(r(690)),l=R(r(5)),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=N(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),f=r(699),d=R(r(1459)),h=R(r(1461)),v=R(r(701)),m=R(r(702)),y=R(r(1474)),T=R(r(706)),b=R(r(716)),g=R(r(1489)),_=R(r(1490)),S=R(r(1492)),A=R(r(1497)),E=R(r(1499)),C=R(r(435)),O=(R(r(728)),R(r(1562))),I=R(r(1563)),w=R(r(416)),P=["activityMiddleware","activityStatusMiddleware","attachmentForScreenReaderMiddleware","attachmentMiddleware","avatarMiddleware","cardActionMiddleware","children","extraStyleSet","renderMarkdown","scrollToEndButtonMiddleware","styleSet","suggestedActionsAccessKey","toastMiddleware","typingIndicatorMiddleware","webSpeechPonyfillFactory"];function N(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(N=function(e){return e?r:t})(e)}function R(e){return e&&e.__esModule?e:{default:e}}function k(){return(k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function x(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function M(e){return function(e){if(Array.isArray(e))return F(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||B(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?L(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||B(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){if(e){if("string"===typeof e)return F(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var V=i.hooks.useReferenceGrammarID,z=i.hooks.useStyleOptions,H={};var G=function(e){var t=e.children,r=e.extraStyleSet,n=e.nonce,i=e.renderMarkdown,a=e.styleSet,l=e.suggestedActionsAccessKey,v=e.webSpeechPonyfillFactory,m=U((0,p.useState)(),2),y=m[0],T=m[1],b=U(V(),1)[0],g=U(z(),1)[0],_=(0,p.useRef)([]),S=(0,p.useRef)([]),A=(0,p.useMemo)((function(){return new c.default}),[]),C=(0,p.useRef)([]),I=(0,p.useRef)([]),P=(0,p.useRef)([]),N=(0,p.useCallback)((function(e){console.error(e)}),[]),R=(0,p.useMemo)((function(){return function(e){var t=A.parseInline(e),r=(0,d.default)(t);return A.renderer.render(r)}}),[A]),k=(0,p.useMemo)((function(){var e=H[n]||(H[n]=(0,s.default)({key:"webchat--css-".concat((0,h.default)()),nonce:n}));return function(t){return e.css(t)}}),[n]),x=(0,p.useMemo)((function(){return function(e,t){return(0,O.default)(t,(function(t,r){return"options"===r?t:e(t)}))}(k,j(j({},a||(0,u.default)(g)),r))}),[r,g,a,k]),L=(0,p.useMemo)((function(){var e=v&&v({referenceGrammarID:b}),t=e||{},r=t.speechSynthesis,n=t.SpeechSynthesisUtterance;return j(j({},e),{},{speechSynthesis:r||f.speechSynthesis,SpeechSynthesisUtterance:n||f.SpeechSynthesisUtterance})}),[b,v]),D=(0,p.useRef)([]),B=U((0,p.useState)(0),2),F=B[0],G=B[1],q=(0,p.useCallback)((function(e){return D.current.forEach((function(t){return t(e)}))}),[D]),Y=(0,p.useCallback)((function(e){return D.current=[].concat(M(D.current),[e]),G(D.current.length),function(){D.current=D.current.filter((function(t){return t!==e})),G(D.current.length)}}),[D,G]),W=(0,p.useRef)([]),K=U((0,p.useState)(0),2),$=K[0],J=K[1],X=(0,p.useCallback)((function(e){return W.current.forEach((function(t){return t(e)}))}),[W]),Z=(0,p.useCallback)((function(e){return W.current=[].concat(M(W.current),[e]),J(W.current.length),function(){W.current=W.current.filter((function(t){return t!==e})),J(W.current.length)}}),[W,J]),Q=(0,p.useMemo)((function(){return{dictateAbortable:y,dispatchScrollPosition:q,dispatchTranscriptFocus:X,focusSendBoxCallbacksRef:_,focusTranscriptCallbacksRef:S,internalMarkdownItState:[A],internalRenderMarkdownInline:R,nonce:n,numScrollPositionObservers:F,numTranscriptFocusObservers:$,observeScrollPosition:Y,observeTranscriptFocus:Z,renderMarkdown:i,scrollRelativeCallbacksRef:P,scrollToCallbacksRef:C,scrollToEndCallbacksRef:I,setDictateAbortable:T,styleSet:x,styleToEmotionObject:k,suggestedActionsAccessKey:l,webSpeechPonyfill:L}}),[y,q,X,_,S,A,R,n,F,$,Y,Z,x,i,P,C,I,T,k,l,L]);return p.default.createElement(o.Composer,{ponyfill:L},p.default.createElement(w.default.Provider,{value:Q},t,p.default.createElement(E.default,{onError:N})))};G.defaultProps={extraStyleSet:void 0,nonce:void 0,renderMarkdown:void 0,styleSet:void 0,suggestedActionsAccessKey:"A a \xc5 \xe5",webSpeechPonyfillFactory:void 0}
2,G.propTypes={extraStyleSet:l.default.any,nonce:l.default.string,renderMarkdown:l.default.func,styleSet:l.default.any,suggestedActionsAccessKey:l.default.oneOfType([l.default.oneOf([!1]),l.default.string]),webSpeechPonyfillFactory:l.default.func};var q=function(e){var t=e.activityMiddleware,r=e.activityStatusMiddleware,n=e.attachmentForScreenReaderMiddleware,o=e.attachmentMiddleware,s=e.avatarMiddleware,u=e.cardActionMiddleware,c=e.children,l=e.extraStyleSet,f=e.renderMarkdown,d=e.scrollToEndButtonMiddleware,h=e.styleSet,E=e.suggestedActionsAccessKey,O=e.toastMiddleware,w=e.typingIndicatorMiddleware,N=e.webSpeechPonyfillFactory,R=x(e,P),L=R.nonce,j=R.onTelemetry,D=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(t)),M((0,v.default)()))}),[t]),U=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(r)),M((0,m.default)()))}),[r]),B=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(n)),M((0,y.default)()))}),[n]),F=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(o)),M((0,T.default)()))}),[o]),V=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(s)),M((0,b.default)()))}),[s]),z=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(u)),M((0,g.default)()))}),[u]),H=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(O)),M((0,S.default)()))}),[O]),q=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(w)),M((0,A.default)()))}),[w]),Y=(0,p.useMemo)((function(){return(0,_.default)()}),[]),W=(0,p.useMemo)((function(){return[].concat(M((0,a.singleToArray)(d)),M(Y))}),[Y,d]);return p.default.createElement(p.default.Fragment,null,p.default.createElement(i.Composer,k({activityMiddleware:D,activityStatusMiddleware:U,attachmentForScreenReaderMiddleware:B,attachmentMiddleware:F,avatarMiddleware:V,cardActionMiddleware:z,downscaleImageToDataURL:C.default,internalErrorBoxClass:void 0,nonce:L,scrollToEndButtonMiddleware:W,toastMiddleware:H,typingIndicatorMiddleware:q},R),p.default.createElement(G,{extraStyleSet:l,nonce:L,renderMarkdown:f,styleSet:h,suggestedActionsAccessKey:E,webSpeechPonyfillFactory:N},c,j&&p.default.createElement(I.default,null))))};q.defaultProps=j(j(j({},i.Composer.defaultProps),G.defaultProps),{},{children:void 0}),q.propTypes=j(j(j({}
2,i.Composer.propTypes),G.propTypes),{},{children:l.default.any});var Y=q;t.default=Y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,n.normalizeStyleOptions)(e);return{activities:(0,i.default)(),audioAttachment:(0,o.default)(t),audioContent:(0,a.default)(),autoResizeTextArea:(0,s.default)(t),avatar:(0,u.default)(t),basicTranscript:(0,c.default)(t),bubble:(0,l.default)(t),carouselFilmStrip:(0,p.default)(t),carouselFilmStripAttachment:(0,f.default)(t),carouselFlipper:(0,d.default)(t),connectivityNotification:(0,h.default)(t),dictationInterims:(0,v.default)(t),errorBox:(0,m.default)(t),errorNotification:(0,y.default)(t),fileContent:(0,T.default)(t),imageAvatar:(0,b.default)(t),initialsAvatar:(0,g.default)(t),microphoneButton:(0,_.default)(t),options:Y({},t),root:(0,S.default)(t),scrollToEndButton:(0,A.default)(t),sendBox:(0,C.default)(t),sendBoxButton:(0,E.default)(t),sendBoxTextBox:(0,O.default)(t),sendStatus:(0,I.default)(t),singleAttachmentActivity:(0,w.default)(t),spinnerAnimation:(0,P.default)(t),stackedLayout:(0,N.default)(t),suggestedAction:(0,k.default)(t),suggestedActions:(0,R.default)(t),textContent:(0,x.default)(t),toast:(0,L.default)(t),toaster:(0,M.default)(t),typingAnimation:(0,j.default)(t),typingIndicator:(0,D.default)(t),uploadButton:(0,U.default)(t),videoAttachment:(0,B.default)(),videoContent:(0,F.default)(t),vimeoContent:(0,V.default)(t),warningNotification:(0,z.default)(t),youTubeContent:(0,H.default)(t)}};var n=r(13),i=G(r(1364)),o=G(r(1365)),a=G(r(1366)),s=G(r(1367)),u=G(r(1368)),c=G(r(1369)),l=G(r(1370)),p=G(r(1371)),f=G(r(1372)),d=G(r(1373)),h=G(r(1374)),v=G(r(1375)),m=G(r(1376)),y=G(r(1377)),T=G(r(1378)),b=G(r(1379)),g=G(r(1380)),_=G(r(1381)),S=G(r(1382)),A=G(r(1383)),E=G(r(1384)),C=G(r(1385)),O=G(r(1386)),I=G(r(1387)),w=G(r(1388)),P=G(r(1389)),N=G(r(1390)),R=G(r(1391)),k=G(r(1392)),x=G(r(1393)),M=G(r(1394)),L=G(r(1395)),j=G(r(1396)),D=G(r(1397)),U=G(r(1398)),B=G(r(1399)),F=G(r(1400)),V=G(r(1401)),z=G(r(1402)),H=G(r(1403));function G(e){return e&&e.__esModule?e:{default:e}}function q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?q(Object(r),!0).forEach((function(t){W(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";e.exports=r(1404)},function(e,t,r){"use strict";e.exports=r(1405)},function(e,t,r){"use strict";e.exports.encode=r(1406),e.exports.decode=r(1407),e.exports.format=r(1408),e.exports.parse=r(1409)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+n+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+n+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,r){"use strict";function n(e,t){var r,n,i,o,a,s=[],u=t.length;for(r=0;r<u;r++)126===(i=t[r]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[o.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(n=(r=s.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;r!==--n&&(a=e.tokens[n],e.tokens[n]=e.tokens[r],e.tokens[r]=a)}}e.exports.tokenize=function(e,t){var r,n,i,o,a=e.pos,s=e.src.charCo
2deAt(a);if(t)return!1;if(126!==s)return!1;if(i=(n=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),r=0;r<i;r+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:r/2,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(e,e.delimiters),t=0;t<i;t++)r[t]&&r[t].delimiters&&n(e,r[t].delimiters)}},function(e,t,r){"use strict";function n(e,t){var r,n,i,o,a,s;for(r=t.length-1;r>=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(i=t[n.end],s=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1&&t[r-1].marker===n.marker,a=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=e.tokens[i.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}e.exports.tokenize=function(e,t){var r,n,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:n.length,jump:r,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(e,e.delimiters),t=0;t<i;t++)r[t]&&r[t].delimiters&&n(e,r[t].delimiters)}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisVoice=t.SpeechSynthesisUtterance=t.SpeechSynthesisEvent=t.speechSynthesis=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}i.default=e,r&&r.set(e,i);return i}(r(166));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d(e);if(t){var i=d(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){c(r,e);var t=p(r);function r(e,n){var i;return a(this,r),(i=t.call(this,e))._utterance=n,i}return u(r,[{key:"charIndex",get:function(){return 0}},{key:"elapsedTime",get:function(){return 0}},{key:"name",get:function(){}},{key:"utterance",get:function(){return this._utterance}}]),r}(i.Event);t.SpeechSynthesisEvent=h;var v=function(e){c(r,e);var t=p(r);function r(e){var n;return a(this,r),(n=t.call(this))._lang="en-US",n._pitch=1,n._rate=1,n._text=e,n._voice=null,n._volume=1,n}return u(r,[{key:"lang",get:function(){return this._lang},set:function(e){this._lang=e}},{key:"pitch",get:function(){return this._pitch},set:function(e){this._pitch=e}},{key:"rate",get:function(){return this._rate},set:function(e){this._rate=e}},{key:"text",get:function(){return this._text},set:function(e){this._text=e}},{key:"voice",get:function(){return this._voice},set:function(e){this._voice=e}},{key:"volume",get:function(){return this._volume},set:function(e){this._volume=e}},{key:"onboundary",get:function(){return(0,i.getEventAttributeValue)(this,"boundary")},set:function(e){(0,i.setEventAttributeValue)(this,"boundary",e)}},{key:"onend",get:function(){return(0,i.getEventAttributeValue)(this,"end")},set:function(e){(0,i.setEventAttributeValue)(this,"end",e)}},{key:"onerror",get:function(){return(0,i.getEventAttributeValue)(this,"error")}
2,set:function(e){(0,i.setEventAttributeValue)(this,"error",e)}},{key:"onmark",get:function(){return(0,i.getEventAttributeValue)(this,"mark")},set:function(e){(0,i.setEventAttributeValue)(this,"mark",e)}},{key:"onpause",get:function(){return(0,i.getEventAttributeValue)(this,"pause")},set:function(e){(0,i.setEventAttributeValue)(this,"pause",e)}},{key:"onresume",get:function(){return(0,i.getEventAttributeValue)(this,"resume")},set:function(e){(0,i.setEventAttributeValue)(this,"resume",e)}},{key:"onstart",get:function(){return(0,i.getEventAttributeValue)(this,"start")},set:function(e){(0,i.setEventAttributeValue)(this,"start",e)}}]),r}(i.default);t.SpeechSynthesisUtterance=v;var m=function(){function e(){a(this,e)}return u(e,[{key:"default",get:function(){return!0}},{key:"lang",get:function(){return"en-US"}},{key:"localService",get:function(){return!0}},{key:"name",get:function(){return"English (US)"}},{key:"voiceURI",get:function(){return"English (US)"}}]),e}();t.SpeechSynthesisVoice=m;var y=new(function(e){c(r,e);var t=p(r);function r(){return a(this,r),t.apply(this,arguments)}return u(r,[{key:"paused",get:function(){return!1}},{key:"pending",get:function(){return!1}},{key:"speaking",get:function(){return!1}},{key:"cancel",value:function(){}},{key:"getVoices",value:function(){return[new m]}},{key:"pause",value:function(){throw new Error("pause is not implemented.")}},{key:"resume",value:function(){throw new Error("resume is not implemented.")}},{key:"speak",value:function(e){e.dispatchEvent(new h("start",e)),e.dispatchEvent(new h("end",e))}},{key:"onvoiceschanged",get:function(){return(0,i.getEventAttributeValue)(this,"voiceschanged")},set:function(e){(0,i.setEventAttributeValue)(this,"voiceschanged",e)}}]),r}(i.default));t.speechSynthesis=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){return t.map((function(t){if(t){var n=r(t);return n.children&&(n.children=e(n.children,r)),n}return t}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var u=r[0].activity,c=u.type;if("conversationUpdate"===c||"event"===c||"invoke"===c||"typing"===c)return!1;if("message"===c){var l=u.attachments,p=void 0===l?[]:l,f=u.channelData,d=u.text;if(f&&f.postBack||f&&f.messageBack&&!f.messageBack.displayText||!d&&!p.length)return!1}else if("typing"===c&&"user"===u.from.role)return!1;return"message"===c||"typing"===c?"message"===c&&(u.attachments||[]).length>1&&"carousel"===u.attachmentLayout?function(e,t){return"undefined"===typeof t&&console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."),n.default.createElement(i.default,s({activity:u,renderAttachment:e},t))}:function(e,t){return"undefined"===typeof t&&console.warn("botframework-webchat: One or more arguments were missing after passing through the activity middleware. Please check your custom activity middleware to make sure it passes all arguments."),n.default.createElement(o.default,s({activity:u,renderAttachment:e},t))}:e.apply(void 0,r)}}}]};var n=a(r(0)),i=a(r(1462)),o=a(r(1465));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.default)(),(0,i.default)()]};var n=o(r(1466)),i=o(r(1471));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
2Object.defineProperty(t,"__esModule",{value:!0}),t.connectSendStatus=t.default=void 0;var i=r(70),o=r(13),a=h(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=h(r(92)),c=h(r(74)),l=h(r(1467)),p=h(r(158)),f=h(r(23));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=o.hooks.useLocalizer,T=o.hooks.usePostActivity,b=i.Constants.ActivityClientState,g=b.SEND_FAILED,_=b.SENDING;t.connectSendStatus=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.default.apply(void 0,[function(e,t){var r=e.focusSendBox,n=e.language,i=e.postActivity,o=t.activity;return{language:n,retrySend:function(e){e.preventDefault(),i(o),r()}}}].concat(t))};var S=function(e){var t=e.activity,r=e.sendState,n=v((0,f.default)(),1)[0].sendStatus,i=(0,p.default)(),o=y(),a=T(),u=o("ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING"),d=o("ACTIVITY_STATUS_SEND_STATUS_ALT",u),h=(0,s.useCallback)((function(){a(t),i("sendBoxWithoutKeyboard")}),[t,i,a]);return s.default.createElement(s.default.Fragment,null,s.default.createElement(c.default,{text:d}),s.default.createElement("span",{"aria-hidden":!0,className:n},r===_?u:r===g&&s.default.createElement(l.default,{onRetryClick:h})))};S.propTypes={activity:a.default.shape({channelData:a.default.shape({clientTimestamp:a.default.string,state:a.default.string})}).isRequired,sendState:a.default.oneOf([_,g]).isRequired};var A=S;t.default=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(5)),o=s(r(0)),a=s(r(74));function s(e){return e&&e.__esModule?e:{default:e}}var u=n.hooks.useDateFormatter,c=n.hooks.useLocalizer,l=function(e){var t=e.hide,r=e.value,n=c(),i=u()(r);return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.default,{text:n("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",i)}),!t&&o.default.createElement("span",{"aria-hidden":!0},i))};l.defaultProps={hide:!1},l.propTypes={hide:i.default.bool,value:i.default.string.isRequired};var p=l;t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=l(r(20)),o=l(r(5)),a=l(r(0)),s=l(r(704)),u=l(r(1472)),c=l(r(23));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=n.hooks.useStyleOptions,h=function(e){var t=e.activity.timestamp,r=e.className,n=p(d(),1)[0].timestampFormat,o=p((0,c.default)(),1)[0],l=o.timestamp,f=o.sendStatus;return l&&console.warn('botframework-webchat: "styleSet.timestamp" is deprecated. Please use "styleSet.sendStatus". This deprecation migration will be removed on or after December 31, 2021.'),!!t&&a.default.createElement("span",{className:(0,i.default)((l||"")+"",(f||"")+"",(r||"")+"")},"relative"===n?a.default.createElement(u.default,{value:t}):a.default.createElement(s.default,{value:t}))};h.defaultProps={className:""},h.propTypes={activity:o.default.shape({timestamp:o.default.string.isRequired}).isRequired,className:o.default.string};var v=h;t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),c=0;c<t;c++)r[c]=arguments[c];var l=r[0],p=l.activity,f=void 0===p?{}:p,d=l.activity,h=(d=void 0===d?{}:d).from,v=(h=void 0===h?{}:h).role,m=void 0===v?void 0:v,y=l.attachment,T=l.attachment,b=(T=void 0===T?{}:T).contentType,g=void 0===b?void 0:b,_=T.contentUrl,S=void 0===_?void 0:_,A=T.thumbnailUrl,E=void 0===A?void 0:A,C=/^text\//.test(g);return(C?y.content:"user"!==m||E)?/^audio\//.test(g)?n.default.createElement(i.default,{attachment:y}):/^image\//.test(g)?n.default.createElement(a.default,{attachment:y}):/^video\//.test(g)?n.default.createElement(u.default,{attachment:y}):S||"application/octet-stream"===g?n.default.createElement(o.default,{activity:f,attachment:y}):C?n.default.createElement(s.default,{attachment:y}):e.apply(void 0,r):n.default.createElement(o.default,{activity:f,attachment:y})}}}]};var n=c(r(0)),i=c(r(1480)),o=c(r(1481)),a=c(r(1483)),s=c(r(1485)),u=c(r(1486));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(23));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e){var t=e.alt,r=e.autoPlay,n=e.loop,a=e.src,u=s((0,o.default)(),1)[0].audioContent;return i.default.createElement("audio",{"aria-label":t,autoPlay:r,className:u,controls:!0,loop:n,src:a})};c.defaultProps={alt:"",autoPlay:!1,loop:!1,poster:""},c.propTypes={alt:n.default.string,autoPlay:n.default.bool,loop:n.default.bool,poster:n.default.string,src:n.default.string.isRequired};var l=c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=l(r(20)),o=l(r(5)),a=l(r(0)),s=l(r(1482)),u=l(r(23)),c=l(r(40));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=n.hooks.useByteFormatter,h=n.hooks.useDirection,v=n.hooks.useLocalizer,m={display:"flex","& .webchat__fileContent__buttonLink":{display:"flex",flex:1},"& .webchat__fileContent__badge":{display:"flex",flex:1,flexDirection:"column"}},y=function(e){var t=e.downloadIcon,r=e.fileName,n=e.size,o=p(h(),1)[0],u=d(),c="number"===typeof n&&u(n);return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{"aria-hidden":!0,className:"webchat__fileContent__badge"},a.default.createElement("div",{className:"webchat__fileContent__fileName"},r),!!c&&a.default.createElement("div",{className:"webchat__fileContent__size"},c)),t&&a.default.createElement(s.default,{className:(0,i.default)("webchat__fileContent__downloadIcon","rtl"===o&&"webchat__fileContent__downloadIcon--rtl"),size:1.5}))};y.defaultProps={downloadIcon:!1,size:void 0},y.propTypes={downloadIcon:o.default.bool,fileName:o.default.string.isRequired,size:o.default.number};var T=function(e){var t=e.className,r=e.href,n=e.fileName,o=e.size,s=p((0,u.default)(),1)[0].fileContent,l=v(),f=d(),h=(0,c.default)()(m)+"",T="number"===typeof o&&f(o),b=l(r?T?"FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"FILE_CONTENT_DOWNLOADABLE_ALT":T?"FILE_CONTENT_WITH_SIZE_ALT":"FILE_CONTENT_ALT",n,T);return a.default.createElement("div",{className:(0,i.default)("webchat__fileContent",h,s+"",(t||"")+"")},r?a.default.createElement("a",{"aria-label":b,className:"webchat__fileContent__buttonLink",download:n,href:r,rel:"noopener noreferrer",target:"_blank"},a.default.createElement(y,{downloadIcon:!0,fileName:n,size:o})):a.default.createElement(y,{downloadIcon:!1,fileName:n,size:o}))};T.defaultProps={className:"",href:void 0,size:void 0},T.propTypes={className:o.default.string,fileName:o.default.string.isRequired,href:o.default.string,size:o.default.number};var b=T;t.default=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(5)),o=s(r(0)),a=s(r(710));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=n.hooks.useStyleOptions,p=function(e){var t=e.alt,r=e.src,n=u(l(),1)[0].bubbleImageHeight;return o.default.createElement(a.default,{alt:t,height:n,src:r,width:"100%"})};p.defaultProps={alt:""},p.propTypes={alt:i.default.string,src:i.default.string.isRequired};var f=p;t.default=f},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r(20)),o=c(r(5)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=c(r(40));function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}
2function c(e){return e&&e.__esModule?e:{default:e}}var l={overflow:"hidden",position:"relative","& > img":{height:"auto",left:"50%",position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"100%"}},p=function(e){var t=e.alt,r=e.className,n=e.height,o=e.src,u=e.width,c=(0,s.default)()(l)+"",p=(0,a.useMemo)((function(){return{height:n,width:u}}),[n,u]);return a.default.createElement("div",{className:(0,i.default)(c,(r||"")+""),style:p},a.default.createElement("img",{alt:t,src:o}))};p.defaultProps={alt:"",className:""},p.propTypes={alt:o.default.string,className:o.default.string,height:o.default.oneOfType([o.default.number,o.default.string]).isRequired,src:o.default.string.isRequired,width:o.default.oneOfType([o.default.number,o.default.string]).isRequired};var f=p;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(20)),i=u(r(5)),o=u(r(0)),a=u(r(438)),s=u(r(23));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=function(e){var t=e.contentType,r=e.text,i=c((0,s.default)(),1)[0].textContent,u=(0,a.default)();return"text/markdown"===t&&u?o.default.createElement("div",{className:(0,n.default)("markdown",i+""),dangerouslySetInnerHTML:{__html:u(r||"")}}):o.default.createElement(o.default.Fragment,null,(r||"").split("\n").map((function(e,t){return o.default.createElement("p",{className:(0,n.default)("plain",i+""),key:t},e.trim())})))};p.defaultProps={contentType:"text/markdown"},p.propTypes={contentType:i.default.string,text:i.default.string.isRequired};var f=p;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(5)),i=u(r(0)),o=u(r(713)),a=u(r(714)),s=u(r(715));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.alt,r=e.autoPlay,n=e.loop,u=e.poster,c=e.src,l=function(e){var t;"function"===typeof URL?t=new URL(e):(t=document.createElement("a")).setAttribute("href",e);var r=t;return{hostname:r.hostname,pathname:r.pathname,search:r.search}}(c),p=l.hostname,f=l.pathname,d=l.search,h=f.split("/").pop(),v=new URLSearchParams(d);switch(p){case"vimeo.com":case"www.vimeo.com":return i.default.createElement(a.default,{alt:t,autoPlay:r,embedID:h,loop:n});case"youtube.com":case"www.youtube.com":return i.default.createElement(s.default,{alt:t,autoPlay:r,embedID:v.get("v"),loop:n});case"youtu.be":case"www.youtu.be":return i.default.createElement(s.default,{alt:t,autoPlay:r,embedID:h,loop:n});default:return i.default.createElement(o.default,{alt:t,autoPlay:r,loop:n,poster:u,src:c})}};c.defaultProps={alt:"",autoPlay:!1,loop:!1,poster:""},c.propTypes={alt:n.default.string,autoPlay:n.default.bool,loop:n.default.bool,poster:n.default.string,src:n.default.string.isRequired};var l=c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(23));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e){var t=e.alt,r=e.autoPlay,n=e.loop,a=e.poster,u=e.src,c=s((0,o.default)(),1)[0].videoContent;return i.default.createElement("video",{"aria-label":t,autoPlay:r,className:c,controls:!0,loop:n,poster:a,src:u})};c.defaultProps={alt:"",autoPlay:!1,loop:!1,poster:""},c.propTypes={alt:n.default.string,autoPlay:n.default.bool,loop:n.default.bool,poster:n.default.string,src:n.default.string.isRequired};var l=c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(23));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e){var t=e.alt,r=e.autoPlay,n=e.embedID,a=e.loop,u=s((0,o.default)(),1)[0].vimeoContent,c=new URLSearchParams({autoplay:r?"1":"0",badge:"0",byline:"0",loop:a?"1":"0",portrait:"0",title:"0"}).toString();return i.default.createElement("iframe",{allowFullScreen:!0,"aria-label":t,className:u,src:"https://player.vimeo.com/video/".concat(encodeURI(n),"?").concat(c)})};c.defaultProps={alt:"",autoPlay:!1,loop:!1},c.propTypes={alt:n.default.string,autoPlay:n.default.bool,embedID:n.default.string.isRequired,loop:n.default.bool};var l=c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(23));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e){var t=e.alt,r=e.autoPlay,n=e.embedID,a=e.loop,u=s((0,o.default)(),1)[0].youTubeContent,c=new URLSearchParams({autoplay:r?"1":"0",loop:a?"1":"0",modestbranding:"1"}).toString();return i.default.createElement("iframe",{allowFullScreen:!0,"aria-label":t,className:u,src:"https://youtube.com/embed/".concat(n,"?").concat(c)})};c.defaultProps={alt:"",autoPlay:!1,loop:!1},c.propTypes={alt:n.default.string,autoPlay:n.default.bool,embedID:n.default.string.isRequired,loop:n.default.bool};var l=c;t.default=l},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(){return function(e){var t=e.fromUser,r=e.styleOptions,n=r.botAvatarImage,i=r.botAvatarInitials,a=r.userAvatarImage,s=r.userAvatarInitials;return!!(t?a||s:n||i)&&function(){return o.default.createElement(h,{fromUser:t})}}}}]},t.DefaultAvatar=void 0;var n=l(r(20)),i=l(r(5)),o=l(r(0)),a=l(r(1487)),s=l(r(1488)),u=l(r(23)),c=l(r(40));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d={overflow:"hidden",position:"relative","> *":{left:0,position:"absolute",top:0}},h=function(e){var t=e["aria-hidden"],r=e.className,i=e.fromUser,l=p((0,u.default)(),1)[0].avatar,f=(0,c.default)()(d)+"";return o.default.createElement("div",{"aria-hidden":t,className:(0,n.default)("webchat__defaultAvatar",{"webchat__defaultAvatar--fromUser":i},f,l+"",(r||"")+"")},o.default.createElement(s.default,{fromUser:i}),o.default.createElement(a.default,{fromUser:i}))};t.DefaultAvatar=h,h.defaultProps={"aria-hidden":!0,className:""},h.propTypes={"aria-hidden":i.default.bool,className:i.default.string,fromUser:i.default.bool.isRequired}},function(e,t,r){e.exports=r(1501)},function(e,t,r){var n=r(1507);r(154),e.exports=n},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){r(48)("iterator")},function(e,t,r){r(48)("toStringTag")},function(e,t,r){var n=r(47);r(184)(n.JSON,"JSON",!0)},function(e,t){},function(e,t){},function(e,t,r){e.exports=r(1530)},function(e,t,r){var n=r(1533),i=r(1538),o=r(1545);e.exports=function(e,t){var r;if(e){if("string"===typeof e)return o(e,t);var a=n(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?i(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1535);e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=u(r(5)),o=u(r(0)),a=u(r(74)),s=u(r(23));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=n.hooks.useLocalizer,f=function(e){var t=e.error,r=e.type,n=c((0,s.default)(),1)[0].errorBox,i=p();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.default,{text:i("ACTIVITY_ERROR_BOX_TITLE")}),o.default.createElement("div",{className:n},o.default.createElement("div",null,r),o.default.createElement("details",null,o.default.createElement("summary",null,t.message),o.default.createElement("pre",null,t.stack))))};f.defaultProps={type:""}
2,f.propTypes={error:i.default.instanceOf(Error).isRequired,type:i.default.string};var d=f;t.default=d},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o("botframework-webchat:bundle:variant",e),o("botframework-webchat:bundle:version","4.14.1"),o("botframework-webchat:core:version",i.version),o("botframework-webchat:ui:version",n.version)};var n=r(54),i=r(70);function o(t,r){try{var n=e.document;if("undefined"!==typeof n&&n.createElement&&n.head&&n.head.appendChild){var i=n.querySelector('html meta[name="'.concat(encodeURI(t),'"]'))||n.createElement("meta");i.setAttribute("name",t),i.setAttribute("content",r),n.head.appendChild(i)}}catch(o){}}}).call(this,r(90))},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){o.default.render(i.default.createElement(e,t),r)};var i=n(r(0)),o=n(r(248))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.botAgent,r=e.conversationId,i=e.conversationStartProperties,o=e.domain,a=e.fetch,s=e.pollingInterval,u=e.secret,c=e.streamUrl,l=e.token,p=e.watermark,f=e.webSocket;return new n.DirectLine({botAgent:t,conversationId:r,conversationStartProperties:i,domain:o,fetch:a,pollingInterval:s,secret:u,streamUrl:c,token:l,watermark:p,webSocket:f,createFormData:function(e){var t=new FormData;return e.forEach((function(e){var r=e.contentType,n=e.data,i=e.filename,o=e.name;t.append(o,new Blob(n,{type:r}),i)})),t}})};var n=r(281)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.botAgent,r=e.conversationId,i=e.domain,o=e.token;return Promise.resolve(new n.DirectLineStreaming({botAgent:t,conversationId:r,domain:i,token:o}))};var n=r(281)},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(89)),a=n(r(88)),s=n(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),c=n(r(192)),l=n(r(742));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,a.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,i=(0,l.default)(),a=(0,u.useMemo)((function(){return i(function e(t){if(!t.actions)return t;var r=t.actions.filter((function(e){return"Action.Submit"!==e.type})).map((function(t){return"Action.ShowCard"===t.type?d(d({},t),{},{card:e(t.card)}):t}));return d(d({},t),{},{nextActions:r})}(d({version:"1.0"},"object"===(0,o.default)(r)?r:{})),{ignoreErrors:!0})}),[r,i]);return!!a&&u.default.createElement(c.default,{actionPerformedClassName:t,adaptiveCard:a,disabled:n})};h.defaultProps={actionPerformedClassName:"",disabled:void 0},h.propTypes={actionPerformedClassName:s.default.string,content:s.default.any.isRequired,disabled:s.default.bool};var v=h;t.default=v},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,s.default)().hostConfigFromProps,t=(0,u.default)(),r=(0,i.default)(t,1)[0];return[(0,o.useMemo)((function(){return e||(0,a.default)(r)}),[e,r])]};var i=n(r(63)),o=r(0),a=n(r(1574)),s=n(r(740)),u=n(r(139))},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s(s({},o.default),e)};var i=n(r(88)),o=n(r(1575));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useContext)(o.default);if(!e)throw new Error("This hook can only be used on component that is decendants of <ComposerWithAdaptiveCards>");return e};var i=r(0),o=n(r(741))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(0).createContext)(void 0);t.default=n},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,s.default)(),t=(0,i.default)(e,1)[0],r=c(),n=(0,i.default)(r,1)[0],o=(0,u.default)(),p=(0,i.default)(o,1)[0].adaptiveCardsParserMaxVersion,f=t.AdaptiveCard,d=t.SerializationContext,h=t.Version,v=(0,a.useMemo)((function(){var e=h.parse(p,new d);if(!e||e.isValid)return e;console.warn('botframework-webchat: "adaptiveCardsParserMaxVersion" specified is not a valid version.')}),[p,d,h]);return(0,a.useCallback)((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.ignoreErrors,o=void 0!==i&&i;if(e){var a=new f,s=[],u=new d(v);a.parse(e,u);for(var c=u.eventCount,p=0;p<c;p++)s.push(u.getEventAt(p));if(!o&&s.length)throw console.error("botframework-webchat: Failed to parse Adaptive Card",{errors:s}),new Error("botframework-webchat: Failed to parse Adaptive Card");return l(a,"rtl"===n,t),a}}),[f,t,n,v,d])};var i=n(r(63)),o=r(54),a=r(0),s=n(r(128)),u=n(r(139)),c=o.hooks.useDirection;function l(e,t,r){if(e instanceof r.Container&&(e.rtl=t),e.getItemAt&&e.getItemCount)for(var n=e.getItemCount(),i=0;i<n;i++){l(e.getItemAt(i),t,r)}}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(63)),o=r(54),a=n(r(5)),s=n(r(0)),u=n(r(328)),c=o.Components.ImageContent,l=o.Components.VideoContent,p=o.hooks.useStyleSet,f=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,o=r.media,a=void 0===o?[]:o,f=p(),d=(0,i.default)(f,1)[0].animationCardAttachment;return s.default.createElement("div",{className:d},s.default.createElement("ul",{className:"media-list"},a.map((function(e,t){var r=e.profile,n=void 0===r?"":r,i=e.url;return s.default.createElement("li",{key:t},/\.gif$/i.test(i)?s.default.createElement(c,{alt:n,src:i}):s.default.createElement(l,{alt:n,src:i}))}))),s.default.createElement(u.default,{actionPerformedClassName:t,content:r,disabled:n}))};f.defaultProps={actionPerformedClassName:"",disabled:void 0},f.propTypes={actionPerformedClassName:a.default.string,content:a.default.shape({media:a.default.arrayOf(a.default.shape({profile:a.default.string,url:a.default.string.isRequired})).isRequired}).isRequired,disabled:a.default.bool};var d=f;t.default=d},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};
2Object.defineProperty(t,"__esModule",{value:!0}),i(r(193),t),i(r(745),t),i(r(746),t),i(r(748),t),i(r(140),t),i(r(749),t),i(r(160),t),i(r(242),t),i(r(243),t),i(r(1577),t),i(r(750),t),i(r(1578),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardObjectRegistry=void 0;var n=r(193),i=function(){function e(){this._items={}}return e.prototype.findByName=function(e){return this._items.hasOwnProperty(e)?this._items[e]:void 0},e.prototype.clear=function(){this._items={}},e.prototype.register=function(e,t,r){void 0===r&&(r=n.Versions.v1_0);var i=this.findByName(e);void 0!==i?i.objectType=t:i={typeName:e,objectType:t,schemaVersion:r},this._items[e]=i},e.prototype.unregister=function(e){delete this._items[e]},e.prototype.createInstance=function(e,t){var r=this.findByName(e);return r&&r.schemaVersion.compareTo(t)<=0?new r.objectType:void 0},e.prototype.getItemCount=function(){return Object.keys(this._items).length},e.prototype.getItemAt=function(e){var t=this;return Object.keys(this._items).map((function(e){return t._items[e]}))[e]},e}();t.CardObjectRegistry=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.CardObject=t.ValidationResults=void 0;var o=r(140),a=r(243),s=r(160),u=r(747),c=r(193),l=function(){function e(){this.allIds={},this.validationEvents=[]}return e.prototype.addFailure=function(e,t,r){this.validationEvents.push({phase:o.ValidationPhase.Validation,source:e,event:t,message:r})},e}();t.ValidationResults=l;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._shouldFallback=!1,t}return n(t,e),t.prototype.getSchemaKey=function(){return this.getJsonTypeName()},Object.defineProperty(t.prototype,"requires",{get:function(){return this.getValue(t.requiresProperty)},enumerable:!1,configurable:!0}),t.prototype.contains=function(e){return!!this._renderedElement&&this._renderedElement.contains(e)},t.prototype.preProcessPropertyValue=function(e,t){var r=void 0===t?this.getValue(e):t;if(s.GlobalSettings.allowPreProcessingPropertyValues){for(var n=this;n&&!n.onPreProcessPropertyValue;)n=n.parent;if(n&&n.onPreProcessPropertyValue)return n.onPreProcessPropertyValue(this,e,r)}return r},t.prototype.setParent=function(e){this._parent=e},t.prototype.setShouldFallback=function(e){this._shouldFallback=e},t.prototype.shouldFallback=function(){return this._shouldFallback||!this.requires.areAllMet(this.hostConfig.hostCapabilities)},t.prototype.getRootObject=function(){for(var e=this;e.parent;)e=e.parent;return e},t.prototype.internalValidateProperties=function(e){this.id&&(e.allIds.hasOwnProperty(this.id)?(1==e.allIds[this.id]&&e.addFailure(this,o.ValidationEvent.DuplicateId,a.Strings.errors.duplicateId(this.id)),e.allIds[this.id]+=1):e.allIds[this.id]=1)},t.prototype.validateProperties=function(){var e=new l;return this.internalValidateProperties(e),e},t.prototype.findDOMNodeOwner=function(e){return this.contains(e)?this:void 0},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedElement",{get:function(){return this._renderedElement},enumerable:!1,configurable:!0}),t.typeNameProperty=new c.StringProperty(c.Versions.v1_0,"type",void 0,void 0,void 0,(function(e){return e.getJsonTypeName()})),t.idProperty=new c.StringProperty(c.Versions.v1_0,"id"),t.requiresProperty=new c.SerializableObjectProperty(c.Versions.v1_2,"requires",u.HostCapabilities,!1,new u.HostCapabilities),i([c.property(t.idProperty)],t.prototype,"id",void 0),i([c.property(t.requiresProperty)],t.prototype,"requires",null),t}(c.SerializableObject);t.CardObject=p},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.HostCapabilities=void 0;var i=r(193),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._capabilities={},t}return n(t,e),t.prototype.getSchemaKey=function(){return"HostCapabilities"},t.prototype.internalParse=function(t,r){if(e.prototype.internalParse.call(this,t,r),t)for(var n in t){var o=t[n];if("string"===typeof o)if("*"==o)this.addCapability(n,"*");else{var a=i.Version.parse(o,r);a&&a.isValid&&this.addCapability(n,a)}}},t.prototype.internalToJSON=function(t,r){for(var n in e.prototype.internalToJSON.call(this,t,r),this._capabilities)t[n]=this._capabilities[n]},t.prototype.addCapability=function(e,t){this._capabilities[e]=t},t.prototype.removeCapability=function(e){delete this._capabilities[e]},t.prototype.clear=function(){this._capabilities={}},t.prototype.hasCapability=function(e,t){return!!this._capabilities.hasOwnProperty(e)&&("*"==t||"*"==this._capabilities[e]||t.compareTo(this._capabilities[e])<=0)},t.prototype.areAllMet=function(e){for(var t in this._capabilities)if(!e.hasCapability(t,this._capabilities[t]))return!1;return!0},t}(i.SerializableObject);t.HostCapabilities=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.SerializationContext=t.GlobalRegistry=t.AdaptiveCard=t.Authentication=t.TokenExchangeResource=t.AuthCardButton=t.RefreshDefinition=t.RefreshActionProperty=t.ContainerWithActions=t.ColumnSet=t.Column=t.Container=t.BackgroundImage=t.StylableCardElementContainer=t.ActionSet=t.ShowCardAction=t.HttpAction=t.HttpHeader=t.ToggleVisibilityAction=t.OpenUrlAction=t.ExecuteAction=t.SubmitAction=t.SubmitActionBase=t.Action=t.TimeInput=t.TimeProperty=t.DateInput=t.NumberInput=t.ChoiceSetInput=t.Choice=t.ToggleInput=t.TextInput=t.Input=t.Media=t.MediaSource=t.ImageSet=t.CardElementContainer=t.Image=t.FactSet=t.Fact=t.RichTextBlock=t.TextRun=t.TextBlock=t.BaseTextBlock=t.ActionProperty=t.CardElement=void 0;var o=r(140),a=r(160),s=r(242),u=r(749),c=r(1576),l=r(746),p=r(193),f=r(745),d=r(243),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._truncatedDueToOverflow=!1,t}return n(t,e),Object.defineProperty(t.prototype,"lang",{get:function(){var e=this.getValue(t.langProperty);return e||(this.parent?this.parent.lang:void 0)},set:function(e){this.setValue(t.langProperty,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.getValue(t.isVisibleProperty)},set:function(e){a.GlobalSettings.useAdvancedCardBottomTruncation&&!e&&this.undoOverflowTruncation(),this.isVisible!==e&&(this.setValue(t.isVisibleProperty,e),this.updateRenderedElementVisibility(),this._renderedElement&&ie(this)),this._renderedElement&&this._renderedElement.setAttribute("aria-expanded",e.toString())},enumerable:!1,configurable:!0}),t.prototype.internalRenderSeparator=function(){var e=s.renderSeparation(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.spacing),lineThickness:this.separator?this.hostConfig.separator.lineThickness:void 0,lineColor:this.separator?this.hostConfig.separator.lineColor:void 0},this.separatorOrientation);if(a.GlobalSettings.alwaysBleedSeparators&&e&&this.separatorOrientation==o.Orientation.Horizontal){var t=this.getParentContainer();if(t&&t.getEffectivePadding()){var r=this.hostConfig.paddingDefinitionToSpacingDefinition(t.getEffectivePadding());e.style.marginLeft="-"+r.left+"px",e.style.marginRight="-"+r.right+"px"}}return e},t.prototype.updateRenderedElementVisibility=function(){var e=this.isDesignMode()||this.isVisible?this._defaultRenderedElementDisplayMode:"none";this._renderedElement&&(e?this._renderedElement.style.display=e:this._renderedElement.style.removeProperty("display")),this._separatorElement&&(this.parent&&this.parent.is
2FirstElement(this)?this._separatorElement.style.display="none":e?this._separatorElement.style.display=e:this._separatorElement.style.removeProperty("display"))},t.prototype.hideElementDueToOverflow=function(){this._renderedElement&&this.isVisible&&(this._renderedElement.style.visibility="hidden",this.isVisible=!1,ie(this,!1))},t.prototype.showElementHiddenDueToOverflow=function(){this._renderedElement&&!this.isVisible&&(this._renderedElement.style.removeProperty("visibility"),this.isVisible=!0,ie(this,!1))},t.prototype.handleOverflow=function(e){if(this.isVisible||this.isHiddenDueToOverflow()){var t=this.truncateOverflow(e);this._truncatedDueToOverflow=t||this._truncatedDueToOverflow,t?t&&!this.isVisible&&this.showElementHiddenDueToOverflow():this.hideElementDueToOverflow()}},t.prototype.resetOverflow=function(){var e=!1;return this._truncatedDueToOverflow&&(this.undoOverflowTruncation(),this._truncatedDueToOverflow=!1,e=!0),this.isHiddenDueToOverflow()&&this.showElementHiddenDueToOverflow(),e},t.prototype.getDefaultSerializationContext=function(){return new he},t.prototype.createPlaceholderElement=function(){var e=this.getEffectiveStyleDefinition(),t=s.stringToCssColor(e.foregroundColors.default.subtle),r=document.createElement("div");return r.style.border="1px dashed "+t,r.style.padding="4px",r.style.minHeight="32px",r.style.fontSize="10px",r.style.color=t,r.innerText="Empty "+this.getJsonTypeName(),r},t.prototype.adjustRenderedElementSize=function(e){"auto"===this.height?e.style.flex="0 0 auto":e.style.flex="1 1 auto"},t.prototype.isDisplayed=function(){return void 0!==this._renderedElement&&this.isVisible&&this._renderedElement.offsetHeight>0},t.prototype.overrideInternalRender=function(){return this.internalRender()},t.prototype.applyPadding=function(){if(this.separatorElement&&this.separatorOrientation===o.Orientation.Horizontal)if(a.GlobalSettings.alwaysBleedSeparators&&!this.isBleeding()){var e=new a.PaddingDefinition;this.getImmediateSurroundingPadding(e);var t=this.hostConfig.paddingDefinitionToSpacingDefinition(e);this.separatorElement.style.marginLeft="-"+t.left+"px",this.separatorElement.style.marginRight="-"+t.right+"px"}else this.separatorElement.style.marginRight="0",this.separatorElement.style.marginLeft="0"},t.prototype.truncateOverflow=function(e){return!1},t.prototype.undoOverflowTruncation=function(){},t.prototype.getDefaultPadding=function(){return new a.PaddingDefinition},t.prototype.getHasBackground=function(){return!1},t.prototype.getPadding=function(){return this._padding},t.prototype.setPadding=function(e){this._padding=e},t.prototype.shouldSerialize=function(e){return void 0!==e.elementRegistry.findByName(this.getJsonTypeName())},Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomPadding",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return o.Orientation.Horizontal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultStyle",{get:function(){return o.ContainerStyle.Default},enumerable:!1,configurable:!0}),t.prototype.parse=function(t,r){e.prototype.parse.call(this,t,r||new he)},t.prototype.asString=function(){return""},t.prototype.isBleeding=function(){return!1},t.prototype.getEffectiveStyle=function(){return this.parent?this.parent.getEffectiveStyle():this.defaultStyle},t.prototype.getEffectiveStyleDefinition=function(){return this.hostConfig.containerStyles.getStyleByName(this.getEffectiveStyle())},t.prototype.getForbiddenActionTypes=function(){return[]},t.prototype.getImmediateSurroundingPadding=function(e,t,r,n,i){if(void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===n&&(n=!0),void 0===i&&(i=!0),this.parent){var a=t&&this.parent.isTopElement(this),s=r&&this.parent.isRightMostElement(this),u=n&&this.parent.isBottomElement(this),c=i&&this.parent.isLeftMostElement(this),l=this.parent.getEffectivePadding();l&&(a&&l.top!=o.Spacing.None&&(e.top=l.top,a=!1),s&&l.right!=o.Spacing.None&&(e.right=l.right,s=!1),u&&l.bottom!=o.Spacing.None&&(e.bottom=l.bottom,u=!1),c&&l.left!=o.Spacing.None&&(e.left=l.left,c=!1)),(a||s||u||c)&&this.parent.getImmediateSurroundingPadding(e,a,s,u,c)}},t.prototype.getActionCount=function(){return 0},t.prototype.getActionAt=function(e){throw new Error(d.Strings.errors.indexOutOfRange(e))},t.prototype.remove=function(){return!!(this.parent&&this.parent instanceof E)&&this.parent.removeItem(this)},t.prototype.render=function(){return this._renderedElement=this.overrideInternalRender(),this._separatorElement=this.internalRenderSeparator(),this._renderedElement?(this.id&&(this._renderedElement.id=this.id),this.customCssSelector&&this._renderedElement.classList.add(this.customCssSelector),this._renderedElement.style.boxSizing="border-box",this._defaultRenderedElementDisplayMode=this._renderedElement.style.display?this._renderedElement.style.display:void 0,this.adjustRenderedElementSize(this._renderedElement),this.updateLayout(!1)):this.isDesignMode()&&(this._renderedElement=this.createPlaceholderElement()),this._renderedElement},t.prototype.updateLayout=function(e){void 0===e&&(e=!0),this.updateRenderedElementVisibility(),this.applyPadding()},t.prototype.indexOf=function(e){return-1},t.prototype.isDesignMode=function(){var e=this.getRootElement();return e instanceof pe&&e.designMode},t.prototype.isFirstElement=function(e){return!0},t.prototype.isLastElement=function(e){return!0},t.prototype.isAtTheVeryLeft=function(){return!this.parent||this.parent.isLeftMostElement(this)&&this.parent.isAtTheVeryLeft()},t.prototype.isAtTheVeryRight=function(){return!this.parent||this.parent.isRightMostElement(this)&&this.parent.isAtTheVeryRight()},t.prototype.isAtTheVeryTop=function(){return!this.parent||this.parent.is
2FirstElement(this)&&this.parent.isAtTheVeryTop()},t.prototype.isAtTheVeryBottom=function(){return!this.parent||this.parent.isLastElement(this)&&this.parent.isAtTheVeryBottom()},t.prototype.isBleedingAtTop=function(){return!1},t.prototype.isBleedingAtBottom=function(){return!1},t.prototype.isLeftMostElement=function(e){return!0},t.prototype.isRightMostElement=function(e){return!0},t.prototype.isTopElement=function(e){return this.isFirstElement(e)},t.prototype.isBottomElement=function(e){return this.isLastElement(e)},t.prototype.isHiddenDueToOverflow=function(){return void 0!==this._renderedElement&&"hidden"==this._renderedElement.style.visibility},t.prototype.getRootElement=function(){return this.getRootObject()},t.prototype.getParentContainer=function(){for(var e=this.parent;e;){if(e instanceof Z)return e;e=e.parent}},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[]},t.prototype.getResourceInformation=function(){return[]},t.prototype.getElementById=function(e){return this.id===e?this:void 0},t.prototype.getActionById=function(e){},t.prototype.getEffectivePadding=function(){var e=this.getPadding();return e&&this.allowCustomPadding?e:this.getDefaultPadding()},Object.defineProperty(t.prototype,"hostConfig",{get:function(){return this._hostConfig?this._hostConfig:this.parent?this.parent.hostConfig:u.defaultHostConfig},set:function(e){this._hostConfig=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this.parent?this.parent.indexOf(this):0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!(!this.parent||!this.separatorElement)&&(!this.parent.isFirstElement(this)&&(this.isVisible||this.isDesignMode()))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"separatorElement",{get:function(){return this._separatorElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),t.langProperty=new p.StringProperty(p.Versions.v1_1,"lang",!0,/^[a-z]{2,3}$/gi),t.isVisibleProperty=new p.BoolProperty(p.Versions.v1_2,"isVisible",!0),t.separatorProperty=new p.BoolProperty(p.Versions.v1_0,"separator",!1),t.heightProperty=new p.ValueSetProperty(p.Versions.v1_1,"height",[{value:"auto"},{value:"stretch"}],"auto"),t.horizontalAlignmentProperty=new p.EnumProperty(p.Versions.v1_0,"horizontalAlignment",o.HorizontalAlignment,o.HorizontalAlignment.Left),t.spacingProperty=new p.EnumProperty(p.Versions.v1_0,"spacing",o.Spacing,o.Spacing.Default),i([p.property(t.horizontalAlignmentProperty)],t.prototype,"horizontalAlignment",void 0),i([p.property(t.spacingProperty)],t.prototype,"spacing",void 0),i([p.property(t.separatorProperty)],t.prototype,"separator",void 0),i([p.property(t.heightProperty)],t.prototype,"height",void 0),i([p.property(t.langProperty)],t.prototype,"lang",null),i([p.property(t.isVisibleProperty)],t.prototype,"isVisible",null),t}(l.CardObject);t.CardElement=h;var v=function(e){function t(t,r,n){void 0===n&&(n=[]);var i=e.call(this,t,r,void 0)||this;return i.targetVersion=t,i.name=r,i.forbiddenActionTypes=n,i}return n(t,e),t.prototype.parse=function(e,t,r){var n=e;return r.parseAction(n,t[this.name],this.forbiddenActionTypes,n.isDesignMode())},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)},t}(p.PropertyDefinition);t.ActionProperty=v;var m=function(e){function t(t){var r=e.call(this)||this;return r.size=o.TextSize.Default,r.weight=o.TextWeight.Default,r.color=o.TextColor.Default,r.isSubtle=!1,r.ariaHidden=!1,t&&(r.text=t),r}return n(t,e),t.prototype.populateSchema=function(r){e.prototype.populateSchema.call(this,r),r.remove(t.selectActionProperty)},Object.defineProperty(t.prototype,"text",{get:function(){return this.getValue(t.textProperty)},set:function(e){this.setText(e)}
2,enumerable:!1,configurable:!0}),t.prototype.getFontSize=function(e){switch(this.size){case o.TextSize.Small:return e.fontSizes.small;case o.TextSize.Medium:return e.fontSizes.medium;case o.TextSize.Large:return e.fontSizes.large;case o.TextSize.ExtraLarge:return e.fontSizes.extraLarge;default:return e.fontSizes.default}},t.prototype.getColorDefinition=function(e,t){switch(t){case o.TextColor.Accent:return e.accent;case o.TextColor.Dark:return e.dark;case o.TextColor.Light:return e.light;case o.TextColor.Good:return e.good;case o.TextColor.Warning:return e.warning;case o.TextColor.Attention:return e.attention;default:return e.default}},t.prototype.setText=function(e){this.setValue(t.textProperty,e)},t.prototype.init=function(e){this.size=e.size,this.weight=e.weight,this.color=e.color,this.isSubtle=e.isSubtle},t.prototype.asString=function(){return this.text},t.prototype.applyStylesTo=function(e){var t,r=this.hostConfig.getFontTypeDefinition(this.fontType);switch(r.fontFamily&&(e.style.fontFamily=r.fontFamily),this.size){case o.TextSize.Small:t=r.fontSizes.small;break;case o.TextSize.Medium:t=r.fontSizes.medium;break;case o.TextSize.Large:t=r.fontSizes.large;break;case o.TextSize.ExtraLarge:t=r.fontSizes.extraLarge;break;default:t=r.fontSizes.default}e.style.fontSize=t+"px";var n,i=this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors,this.effectiveColor);switch(e.style.color=s.stringToCssColor(this.isSubtle?i.subtle:i.default),this.weight){case o.TextWeight.Lighter:n=r.fontWeights.lighter;break;case o.TextWeight.Bolder:n=r.fontWeights.bolder;break;default:n=r.fontWeights.default}e.style.fontWeight=n.toString(),this.ariaHidden&&e.setAttribute("aria-hidden","true")},Object.defineProperty(t.prototype,"effectiveColor",{get:function(){return this.color?this.color:o.TextColor.Default},enumerable:!1,configurable:!0}),t.textProperty=new p.StringProperty(p.Versions.v1_0,"text",!0),t.sizeProperty=new p.EnumProperty(p.Versions.v1_0,"size",o.TextSize,o.TextSize.Default),t.weightProperty=new p.EnumProperty(p.Versions.v1_0,"weight",o.TextWeight,o.TextWeight.Default),t.colorProperty=new p.EnumProperty(p.Versions.v1_0,"color",o.TextColor,o.TextColor.Default),t.isSubtleProperty=new p.BoolProperty(p.Versions.v1_0,"isSubtle",!1),t.fontTypeProperty=new p.EnumProperty(p.Versions.v1_2,"fontType",o.FontType),t.selectActionProperty=new v(p.Versions.v1_1,"selectAction",["Action.ShowCard"]),i([p.property(t.sizeProperty)],t.prototype,"size",void 0),i([p.property(t.weightProperty)],t.prototype,"weight",void 0),i([p.property(t.colorProperty)],t.prototype,"color",void 0),i([p.property(t.fontTypeProperty)],t.prototype,"fontType",void 0),i([p.property(t.isSubtleProperty)],t.prototype,"isSubtle",void 0),i([p.property(t.textProperty)],t.prototype,"text",null),i([p.property(t.selectActionProperty)],t.prototype,"selectAction",void 0),t}(h);t.BaseTextBlock=m;var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrap=!1,t._treatAsPlainText=!0,t.useMarkdown=!0,t}return n(t,e),t.prototype.restoreOriginalContent=function(){void 0!==this.renderedElement&&(this.maxLines&&this.maxLines>0&&(this.renderedElement.style.maxHeight=this._computedLineHeight*this.maxLines+"px"),this.renderedElement.innerHTML=this._originalInnerHtml)},t.prototype.truncateIfSupported=function(e){if(void 0!==this.renderedElement){var t=this.renderedElement.children,r=!t.length;if(r||1==t.length&&"p"==t[0].tagName.toLowerCase()){var n=r?this.renderedElement:t[0];return s.truncate(n,e,this._computedLineHeight),!0}}return!1},t.prototype.setText=function(t){e.prototype.setText.call(this,t),this._processedText=void 0},t.prototype.internalRender=function(){var e=this;if(this._processedText=void 0,this.text){var t=this.preProcessPropertyValue(m.textProperty),r=this.hostConfig,n=void 0;if(this.forElementId){var i=document.createElement("label");i.htmlFor=this.forElementId,n=i}else n=document.createElement("div");if(n.classList.add(r.makeCssClassName("ac-textBlock")),n.style.overflow="hidden",this.applyStylesTo(n),this.selectAction&&(n.onclick=function(t){t.preventDefault(),t.cancelBubble=!0,e.selectAction&&e.selectAction.execute()},r.supportsInteractivity&&(n.tabIndex=0,n.setAttribute("role",this.selectAction.getAriaRole()),this.selectAction.title&&(n.setAttribute("aria-label",this.selectAction.title),n.title=this.selectAction.title),n.classList.add(r.makeCssClassName("ac-selectable")))),!this._processedText){this._treatAsPlainText=!0;var o=c.formatText(this.lang,t);if(this.useMarkdown&&o){a.GlobalSettings.allowMarkForTextHighlighting&&(o=o.replace(/<mark>/g,"===").replace(/<\/mark>/g,"/==/"));
2var u=pe.applyMarkdown(o);if(u.didProcess&&u.outputHtml){if(this._processedText=u.outputHtml,this._treatAsPlainText=!1,a.GlobalSettings.allowMarkForTextHighlighting&&this._processedText){var l="",p=this.getEffectiveStyleDefinition();p.highlightBackgroundColor&&(l+="background-color: "+p.highlightBackgroundColor+";"),p.highlightForegroundColor&&(l+="color: "+p.highlightForegroundColor+";"),l&&(l='style="'+l+'"'),this._processedText=this._processedText.replace(/===/g,"<mark "+l+">").replace(/\/==\//g,"</mark>")}}else this._processedText=o,this._treatAsPlainText=!0}else this._processedText=o,this._treatAsPlainText=!0}if(this._processedText||(this._processedText=""),this._treatAsPlainText?n.innerText=this._processedText:n.innerHTML=this._processedText,n.firstElementChild instanceof HTMLElement){var f=n.firstElementChild;f.style.marginTop="0px",f.style.width="100%",this.wrap||(f.style.overflow="hidden",f.style.textOverflow="ellipsis")}n.lastElementChild instanceof HTMLElement&&(n.lastElementChild.style.marginBottom="0px");for(var d=n.getElementsByTagName("a"),h=0;h<d.length;h++){var v=d[h];v.classList.add(r.makeCssClassName("ac-anchor")),v.target="_blank",v.onclick=function(t){re(e,t.target,t)&&(t.preventDefault(),t.cancelBubble=!0)},v.oncontextmenu=function(t){return!re(e,t.target,t)||(t.preventDefault(),t.cancelBubble=!0,!1)}}return this.wrap?(n.style.wordWrap="break-word",this.maxLines&&this.maxLines>0&&(n.style.overflow="hidden",s.isInternetExplorer()||!a.GlobalSettings.useWebkitLineClamp?n.style.maxHeight=this._computedLineHeight*this.maxLines+"px":(n.style.removeProperty("line-height"),n.style.display="-webkit-box",n.style.webkitBoxOrient="vertical",n.style.webkitLineClamp=this.maxLines.toString()))):(n.style.whiteSpace="nowrap",n.style.textOverflow="ellipsis"),(a.GlobalSettings.useAdvancedTextBlockTruncation||a.GlobalSettings.useAdvancedCardBottomTruncation)&&(this._originalInnerHtml=n.innerHTML),n}},t.prototype.truncateOverflow=function(e){return e>=this._computedLineHeight&&this.truncateIfSupported(e)},t.prototype.undoOverflowTruncation=function(){if(this.restoreOriginalContent(),a.GlobalSettings.useAdvancedTextBlockTruncation&&this.maxLines){var e=this._computedLineHeight*this.maxLines;this.truncateIfSupported(e)}},t.prototype.applyStylesTo=function(t){e.prototype.applyStylesTo.call(this,t);var r=this.getParentContainer(),n=!!r&&r.isRtl();switch(this.horizontalAlignment){case o.HorizontalAlignment.Center:t.style.textAlign="center";break;case o.HorizontalAlignment.Right:t.style.textAlign=n?"left":"right";break;default:t.style.textAlign=n?"right":"left"}var i=this.hostConfig.lineHeights;if(i)switch(this.size){case o.TextSize.Small:this._computedLineHeight=i.small;break;case o.TextSize.Medium:this._computedLineHeight=i.medium;break;case o.TextSize.Large:this._computedLineHeight=i.large;break;case o.TextSize.ExtraLarge:this._computedLineHeight=i.extraLarge;break;default:this._computedLineHeight=i.default}else this._computedLineHeight=1.33*this.getFontSize(this.hostConfig.getFontTypeDefinition(this.fontType));t.style.lineHeight=this._computedLineHeight+"px"},t.prototype.getJsonTypeName=function(){return"TextBlock"},t.prototype.updateLayout=function(t){void 0===t&&(t=!1),e.prototype.updateLayout.call(this,t),a.GlobalSettings.useAdvancedTextBlockTruncation&&this.maxLines&&this.isDisplayed()&&(this.restoreOriginalContent(),this.truncateIfSupported(this._computedLineHeight*this.maxLines))},t.wrapProperty=new p.BoolProperty(p.Versions.v1_0,"wrap",!1),t.maxLinesProperty=new p.NumProperty(p.Versions.v1_0,"maxLines"),i([p.property(t.wrapProperty)],t.prototype,"wrap",void 0),i([p.property(t.maxLinesProperty)],t.prototype,"maxLines",void 0),t}(m);t.TextBlock=y;var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.italic=!1,t.strikethrough=!1,t.highlight=!1,t.underline=!1,t}return n(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.add(m.selectActionProperty)},t.prototype.internalRender=function(){var e=this;if(this.text){var t=this.preProcessPropertyValue(m.textProperty),r=this.hostConfig,n=c.formatText(this.lang,t);n||(n="");var i=document.createElement("span");if(i.classList.add(r.makeCssClassName("ac-textRun")),this.applyStylesTo(i),this.selectAction&&r.supportsInteractivity){var o=document.createElement("a");o.classList.add(r.makeCssClassName("ac-anchor"));var a=this.selectAction.getHref();o.href=a||"",o.target="_blank",o.onclick=function(t){t.preventDefault(),t.cancelBubble=!0,e.selectAction&&e.selectAction.execute()},this.selectAction.title&&(o.setAttribute("aria-label",this.selectAction.title),o.title=this.selectAction.title),o.innerText=n,i.appendChild(o)}else i.innerText=n;return i}},t.prototype.applyStylesTo=function(t){if(e.prototype.applyStylesTo.call(this,t),this.italic&&(t.style.fontStyle="italic"),this.strikethrough&&(t.style.textDecoration="line-through"),this.highlight){var r=this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors,this.effectiveColor);t.style.backgroundColor=s.stringToCssColor(this.isSubtle?r.highlightColors.subtle:r.highlightColors.default)}this.underline&&(t.style.textDecoration="underline")},t.prototype.getJsonTypeName=function(){return"TextRun"},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return!0},enumerable:!1,configurable:!0}),t.italicProperty=new p.BoolProperty(p.Versions.v1_2,"italic",!1),t.strikethroughProperty=new p.BoolProperty(p.Versions.v1_2,"strikethrough",!1),t.highlightProperty=new p.BoolProperty(p.Versions.v1_2,"highlight",!1),t.underlineProperty=new p.BoolProperty(p.Versions.v1_3,"underline",!1),i([p.property(t.italicProperty)],t.prototype,"italic",void 0),i([p.property(t.strikethroughProperty)],t.prototype,"strikethrough",void 0),i([p.property(t.highlightProperty)],t.prototype,"highlight",void 0),i([p.property(t.underlineProperty)],t.prototype,"underline",void 0),t}(m);t.TextRun=T;var b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._inlines=[],t}return n(t,e),t.prototype.internalAddInline=function(e,t){if(void 0===t&&(t=!1),!e.isInline)throw new Error(d.Strings.errors.elementCannotBeUsedAsInline());if(!(void 0===e.parent||t)&&e.parent!=this)throw new Error(d.Strings.errors.inlineAlreadyParented());e.setParent(this),this._inlines.push(e)},t.prototype.internalParse=function(t,r){if(e.prototype.internalParse.call(this,t,r),this._inlines=[],Array.isArray(t.inlines))for(var n=0,i=t.inlines;n<i.length;n++){var o=i[n],a=void 0;if("string"===typeof o){var s=new T;s.text=o,a=s}else a=r.parseElement(this,o,!1);a&&this.internalAddInline(a,!0)}},t.prototype.internalToJSON=function(t,r){if(e.prototype.internalToJSON.call(this,t,r),this._inlines.length>0){for(var n=[],i=0,o=this._inlines;i<o.length;i++){var a=o[i];n.push(a.toJSON(r))}r.serializeValue(t,"inlines",n)}},t.prototype.internalRender=function(){if(this._inlines.length>0){var e=void 0;if(this.forElementId){var t=document.createElement("label");t.htmlFor=this.forElementId,e=t}else e=document.createElement("div");e.className=this.hostConfig.makeCssClassName("ac-richTextBlock");var r=this.getParentContainer(),n=!!r&&r.isRtl();switch(this.horizontalAlignment){case o.HorizontalAlignment.Center:e.style.textAlign="center";break;case o.HorizontalAlignment.Right:e.style.textAlign=n?"left":"right";break;default:e.style.textAlign=n?"right":"left"}for(var i=0,a=0,s=this._inlines;a<s.length;a++){var u=s[a].render();u&&(e.appendChild(u),i++)}if(i>0)return e}},t.prototype.asString=function(){for(var e="",t=0,r=this._inlines;t<r.length;t++){e+=r[t].asString()}return e},t.prototype.getJsonTypeName=function(){return"RichTextBlock"},t.prototype.getInlineCount=function(){return this._inlines.length},t.prototype.getInlineAt=function(e){if(e>=0&&e<this._inlines.length)return this._inlines[e];throw new Error(d.Strings.errors.indexOutOfRange(e))},t.prototype.addInline=function(e){"string"===typeof e?this.internalAddInline(new T(e)):this.internalAddInline(e)},t.prototype.removeInline=function(e){var t=this._inlines.indexOf(e);return t>=0&&(this._inlines[t].setParent(void 0),this._inlines.splice(t,1),!0)},t}(h);t.RichTextBlock=b;var g=function(e){function t(t,r){var n=e.call(this)||this;return n.name=t,n.value=r,n}return n(t,e),t.prototype.getSchemaKey=function(){return"Fact"},t.titleProperty=new p.StringProperty(p.Versions.v1_0,"title"),t.valueProperty=new p.StringProperty(p.Versions.v1_0,"value"),i([p.property(t.titleProperty)],t.prototype,"name",void 0),i([p.property(t.valueProperty)],t.prototype,"value",void 0),t}(p.SerializableObject);t.Fact=g;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.internalRender=function(){var e=void 0,t=this.hostConfig;if(this.facts.length>0){(e=document.createElement("table")).style.borderWidth="0px",e.style.borderSpacing="0px",e.style.borderStyle="none",e.style.borderCollapse="collapse",e.style.display="block",e.style.overflow="hidden",e.classList.add(t.makeCssClassName("ac-factset")),e.setAttribute("role","presentation");for(var r=0;r<this.facts.length;r++){var n=document.createElement("tr");r>0&&(n.style.marginTop=t.factSet.spacing+"px");var i=document.createElement("td");i.style.padding="0",i.classList.add(t.makeCssClassName("ac-fact-title")),t.factSet.title.maxWidth&&(i.style.maxWidth=t.factSet.title.maxWidth+"px"),i.style.verticalAlign="top";var a=new y;a.setParent(this),a.text=!this.facts[r].name&&this.isDesignMode()?"Title":this.facts[r].name,a.size=t.factSet.title.size,a.color=t.factSet.title.color,a.isSubtle=t.factSet.title.isSubtle,a.weight=t.factSet.title.weight,a.wrap=t.factSet.title.wrap,a.spacing=o.Spacing.None,s.appendChild(i,a.render()),s.appendChild(n,i),(i=document.createElement("td")).style.width="10px",s.appendChild(n,i),(i=document.createElement("td")).style.padding="0",i.style.verticalAlign="top",i.classList.add(t.makeCssClassName("ac-fact-value")),(a=new y).setParent(this),a.text=this.facts[r].value,a.size=t.factSet.value.size,a.color=t.factSet.value.color,a.isSubtle=t.factSet.value.isSubtle,a.weight=t.factSet.value.weight,a.wrap=t.factSet.value.wrap,a.spacing=o.Spacing.None,s.appendChild(i,a.render()),s.appendChild(n,i),s.appendChild(e,n)}}return e},t.prototype.getJsonTypeName=function(){return"FactSet"},t.factsProperty=new p.SerializableObjectCollectionProperty(p.Versions.v1_0,"facts",g),i([p.property(t.factsProperty)],t.prototype,"facts",void 0),t}(h);t.FactSet=_;var S=function(e){function t(t,r,n,i){var o=e.call(this,t,r)||this;return o.targetVersion=t,o.name=r,o.internalName=n,o.fallbackProperty=i,o}return n(t,e),t.prototype.getInternalName=function(){return this.internalName},t.prototype.parse=function(e,t,r){var n=void 0,i=t[this.name];if(void 0===i)return this.defaultValue;var s=!1;if("string"===typeof i){try{var u=a.SizeAndUnit.parse(i,!0);u.unit==o.SizeUnit.Pixel&&(n=u.physicalSize,s=!0)}catch(c){}!s&&this.fallbackProperty&&(s=this.fallbackProperty.isValidValue(i,r))}return s||r.logParseEvent(e,o.ValidationEvent.InvalidPropertyValue,d.Strings.errors.invalidPropertyValue(i,this.name)),n},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,"number"!==typeof r||isNaN(r)?void 0:r+"px")},t}(p.PropertyDefinition),A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.size=o.Size.Auto,t.style=o.ImageStyle.Default,t}return n(t,e),t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(h.heightProperty)},t.prototype.applySize=function(e){if(this.pixelWidth||this.pixelHeight)this.pixelWidth&&(e.style.width=this.pixelWidth+"px"),this.pixelHeight&&(e.style.height=this.pixelHeight+"px");else if(this.maxHeight){switch(this.size){case o.Size.Small:e.style.height=this.hostConfig.imageSizes.small+"px";break;case o.Size.Large:e.style.height=this.hostConfig.imageSizes.large+"px";break;default:e.style.height=this.hostConfig.imageSizes.medium+"px"}e.style.maxHeight=this.maxHeight+"px"}else{switch(this.size){case o.Size.Stretch:e.style.width="100%";break;case o.Size.Auto:e.style.maxWidth="100%";break;case o.Size.Small:e.style.width=this.hostConfig.imageSizes.small+"px";break;case o.Size.Large:e.style.width=this.hostConfig.imageSizes.large+"px";break;case o.Size.Medium:e.style.width=this.hostConfig.imageSizes.medium+"px"}e.style.maxHeight="100%"}},Object.defineProperty(t.prototype,"useDefaultSizing",{get:function(){return!1}
2,enumerable:!1,configurable:!0}),t.prototype.internalRender=function(){var e=this,r=void 0;if(this.url){switch((r=document.createElement("div")).style.display="flex",r.style.alignItems="flex-start",r.onkeypress=function(t){!e.selectAction||13!=t.keyCode&&32!=t.keyCode||(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},r.onclick=function(t){e.selectAction&&(t.preventDefault(),t.cancelBubble=!0,e.selectAction.execute())},this.horizontalAlignment){case o.HorizontalAlignment.Center:r.style.justifyContent="center";break;case o.HorizontalAlignment.Right:r.style.justifyContent="flex-end";break;default:r.style.justifyContent="flex-start"}var n=this.hostConfig,i=document.createElement("img");i.onload=function(t){te(e)},i.onerror=function(t){if(e.renderedElement){var r=e.getRootElement();if(e.renderedElement.innerHTML="",r&&r.designMode){var n=document.createElement("div");n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.style.backgroundColor="#EEEEEE",n.style.color="black",n.innerText=":-(",n.style.padding="10px",e.applySize(n),e.renderedElement.appendChild(n)}}te(e)},i.style.minWidth="0",i.classList.add(n.makeCssClassName("ac-image")),void 0!==this.selectAction&&n.supportsInteractivity&&(i.tabIndex=0,i.setAttribute("role",this.selectAction.getAriaRole()),this.selectAction.title&&(i.setAttribute("aria-label",this.selectAction.title),i.title=this.selectAction.title),i.classList.add(n.makeCssClassName("ac-selectable"))),this.applySize(i),this.style===o.ImageStyle.Person&&(i.style.borderRadius="50%",i.style.backgroundPosition="50% 50%",i.style.backgroundRepeat="no-repeat"),i.style.backgroundColor=s.stringToCssColor(this.backgroundColor),i.src=this.preProcessPropertyValue(t.urlProperty);var a=this.preProcessPropertyValue(t.altTextProperty);a&&(i.alt=a),r.appendChild(i)}return r},t.prototype.getJsonTypeName=function(){return"Image"},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);return!r&&this.selectAction&&(r=this.selectAction.getActionById(t)),r},t.prototype.getResourceInformation=function(){return this.url?[{url:this.url,mimeType:"image"}]:[]},t.urlProperty=new p.StringProperty(p.Versions.v1_0,"url"),t.altTextProperty=new p.StringProperty(p.Versions.v1_0,"altText"),t.backgroundColorProperty=new p.StringProperty(p.Versions.v1_1,"backgroundColor"),t.styleProperty=new p.EnumProperty(p.Versions.v1_0,"style",o.ImageStyle,o.ImageStyle.Default),t.sizeProperty=new p.EnumProperty(p.Versions.v1_0,"size",o.Size,o.Size.Auto),t.pixelWidthProperty=new S(p.Versions.v1_1,"width","pixelWidth"),t.pixelHeightProperty=new S(p.Versions.v1_1,"height","pixelHeight",h.heightProperty),t.selectActionProperty=new v(p.Versions.v1_1,"selectAction",["Action.ShowCard"]),i([p.property(t.urlProperty)],t.prototype,"url",void 0),i([p.property(t.altTextProperty)],t.prototype,"altText",void 0),i([p.property(t.backgroundColorProperty)],t.prototype,"backgroundColor",void 0),i([p.property(t.sizeProperty)],t.prototype,"size",void 0),i([p.property(t.styleProperty)],t.prototype,"style",void 0),i([p.property(t.pixelWidthProperty)],t.prototype,"pixelWidth",void 0),i([p.property(t.pixelHeightProperty)],t.prototype,"pixelHeight",void 0),i([p.property(t.selectActionProperty)],t.prototype,"selectAction",void 0),t}(h);t.Image=A;var E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allowVerticalOverflow=!1,t}return n(t,e),t.prototype.populateSchema=function(r){e.prototype.populateSchema.call(this,r),this.isSelectable||r.remove(t.selectActionProperty)},t.prototype.isElementAllowed=function(e){return this.hostConfig.supportsInteractivity||!e.isInteractive},t.prototype.applyPadding=function(){if(e.prototype.applyPadding.call(this),this.renderedElement){var t=new a.SpacingDefinition;this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.renderedElement.style.paddingTop=t.top+"px",this.renderedElement.style.paddingRight=t.right+"px",this.renderedElement.style.paddingBottom=t.bottom+"px",this.renderedElement.style.paddingLeft=t.left+"px",this.renderedElement.style.marginRight="0",this.renderedElement.style.marginLeft="0"}},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!1}
2,enumerable:!1,configurable:!0}),t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t);for(var r=0;r<this.getItemCount();r++){var n=this.getItemAt(r);!this.hostConfig.supportsInteractivity&&n.isInteractive&&t.addFailure(this,o.ValidationEvent.InteractivityNotAllowed,d.Strings.errors.interactivityNotAllowed()),this.isElementAllowed(n)||t.addFailure(this,o.ValidationEvent.InteractivityNotAllowed,d.Strings.errors.elementTypeNotAllowed(n.getJsonTypeName())),n.internalValidateProperties(t)}this._selectAction&&this._selectAction.internalValidateProperties(t)},t.prototype.render=function(){var t=this,r=e.prototype.render.call(this);if(r){var n=this.hostConfig;this.allowVerticalOverflow&&(r.style.overflowX="hidden",r.style.overflowY="auto"),r&&this.isSelectable&&this._selectAction&&n.supportsInteractivity&&(r.classList.add(n.makeCssClassName("ac-selectable")),r.tabIndex=0,r.setAttribute("role",this._selectAction.getAriaRole()),this._selectAction.title&&(r.setAttribute("aria-label",this._selectAction.title),r.title=this._selectAction.title),r.onclick=function(e){void 0!==t._selectAction&&(e.preventDefault(),e.cancelBubble=!0,t._selectAction.execute())},r.onkeypress=function(e){void 0===t._selectAction||13!=e.keyCode&&32!=e.keyCode||(e.preventDefault(),e.cancelBubble=!0,t._selectAction.execute())})}return r},t.prototype.updateLayout=function(t){if(void 0===t&&(t=!0),e.prototype.updateLayout.call(this,t),t)for(var r=0;r<this.getItemCount();r++)this.getItemAt(r).updateLayout()},t.prototype.getAllInputs=function(e){void 0===e&&(e=!0);for(var t=[],r=0;r<this.getItemCount();r++)t=t.concat(this.getItemAt(r).getAllInputs(e));return t},t.prototype.getResourceInformation=function(){for(var e=[],t=0;t<this.getItemCount();t++)e=e.concat(this.getItemAt(t).getResourceInformation());return e},t.prototype.getElementById=function(t){var r=e.prototype.getElementById.call(this,t);if(!r)for(var n=0;n<this.getItemCount()&&!(r=this.getItemAt(n).getElementById(t));n++);return r},t.prototype.findDOMNodeOwner=function(t){for(var r=void 0,n=0;n<this.getItemCount();n++)if(r=this.getItemAt(n).findDOMNodeOwner(t))return r;return e.prototype.findDOMNodeOwner.call(this,t)},t.selectActionProperty=new v(p.Versions.v1_1,"selectAction",["Action.ShowCard"]),i([p.property(t.selectActionProperty)],t.prototype,"_selectAction",void 0),t}(h);t.CardElementContainer=E;var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._images=[],t.imageSize=o.ImageSize.Medium,t}return n(t,e),t.prototype.internalRender=function(){var e=void 0;if(this._images.length>0){(e=document.createElement("div")).style.display="flex",e.style.flexWrap="wrap";for(var t=0,r=this._images;t<r.length;t++){var n=r[t];switch(this.imageSize){case o.ImageSize.Small:n.size=o.Size.Small;break;case o.ImageSize.Large:n.size=o.Size.Large;break;default:n.size=o.Size.Medium}n.maxHeight=this.hostConfig.imageSet.maxImageHeight;var i=n.render();i&&(i.style.display="inline-flex",i.style.margin="0px",i.style.marginRight="10px",s.appendChild(e,i))}}return e},t.prototype.getItemCount=function(){return this._images.length},t.prototype.getItemAt=function(e){return this._images[e]},t.prototype.getFirstVisibleRenderedItem=function(){return this._images&&this._images.length>0?this._images[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){return this._images&&this._images.length>0?this._images[this._images.length-1]:void 0},t.prototype.removeItem=function(e){if(e instanceof A){var t=this._images.indexOf(e);if(t>=0)return this._images.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.getJsonTypeName=function(){return"ImageSet"},t.prototype.addImage=function(e){if(e.parent)throw new Error("This image already belongs to another ImageSet");this._images.push(e),e.setParent(this)},t.prototype.indexOf=function(e){return e instanceof A?this._images.indexOf(e):-1},t.imagesProperty=new p.SerializableObjectCollectionProperty(p.Versions.v1_0,"images",A,(function(e,t){t.setParent(e)})),t.imageSizeProperty=new p.EnumProperty(p.Versions.v1_0,"imageSize",o.ImageSize,o.ImageSize.Medium),i([p.property(t.imagesProperty)],t.prototype,"_images",void 0),i([p.property(t.imageSizeProperty)],t.prototype,"imageSize",void 0),t}(E);t.ImageSet=C;var O=function(e){function t(t,r){var n=e.call(this)||this;return n.url=t,n.mimeType=r,n}return n(t,e),t.prototype.getSchemaKey=function(){return"MediaSource"},t.prototype.isValid=function(){return!(!this.mimeType||!this.url)},t.prototype.render=function(){var e=void 0;return this.isValid()&&((e=document.createElement("source")).src=this.url,e.type=this.mimeType),e},t.mimeTypeProperty=new p.StringProperty(p.Versions.v1_1,"mimeType"),t.urlProperty=new p.StringProperty(p.Versions.v1_1,"url"),i([p.property(t.mimeTypeProperty)],t.prototype,"mimeType",void 0),i([p.property(t.urlProperty)],t.prototype,"url",void 0),t}(p.SerializableObject);t.MediaSource=O;var I=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sources=[],t}return n(t,e),t.prototype.getPosterUrl=function(){return this.poster?this.poster:this.hostConfig.media.defaultPoster},t.prototype.processSources=function(){this._selectedSources=[],this._selectedMediaType=void 0;for(var e=0,r=this.sources;e<r.length;e++){var n=r[e],i=n.mimeType?n.mimeType.split("/"):[];if(2==i.length){if(!this._selectedMediaType){var o=t.supportedMediaTypes.indexOf(i[0]);o>
2=0&&(this._selectedMediaType=t.supportedMediaTypes[o])}i[0]==this._selectedMediaType&&this._selectedSources.push(n)}}},t.prototype.handlePlayButtonInvoke=function(e){if(this.hostConfig.media.allowInlinePlayback){if(e.preventDefault(),e.cancelBubble=!0,this.renderedElement){var r=this.renderMediaPlayer();this.renderedElement.innerHTML="",this.renderedElement.appendChild(r),r.play(),r.focus()}}else t.onPlay&&(e.preventDefault(),e.cancelBubble=!0,t.onPlay(this))},t.prototype.renderPoster=function(){var e=this,t=document.createElement("div");t.className=this.hostConfig.makeCssClassName("ac-media-poster"),t.setAttribute("role","contentinfo"),t.setAttribute("aria-label",this.altText?this.altText:d.Strings.defaults.mediaPlayerAriaLabel()),t.style.position="relative",t.style.display="flex";var r=this.getPosterUrl();if(r){var n=document.createElement("img");n.style.width="100%",n.style.height="100%",n.setAttribute("role","presentation"),n.onerror=function(e){n.parentNode&&n.parentNode.removeChild(n),t.classList.add("empty"),t.style.minHeight="150px"},n.src=r,t.appendChild(n)}else t.classList.add("empty"),t.style.minHeight="150px";if(this.hostConfig.supportsInteractivity&&this._selectedSources.length>0){var i=document.createElement("div");i.tabIndex=0,i.setAttribute("role","button"),i.setAttribute("aria-label",d.Strings.defaults.mediaPlayerPlayMedia()),i.className=this.hostConfig.makeCssClassName("ac-media-playButton"),i.style.display="flex",i.style.alignItems="center",i.style.justifyContent="center",i.onclick=function(t){e.handlePlayButtonInvoke(t)},i.onkeypress=function(t){13!=t.keyCode&&32!=t.keyCode||e.handlePlayButtonInvoke(t)};var o=document.createElement("div");o.className=this.hostConfig.makeCssClassName("ac-media-playButton-arrow"),o.style.width="12px",o.style.height="15px",o.style.borderTopWidth="7.5px",o.style.borderBottomWidth="7.5px",o.style.borderLeftWidth="12px",o.style.borderRightWidth="0",o.style.borderStyle="solid",o.style.borderTopColor="transparent",o.style.borderRightColor="transparent",o.style.borderBottomColor="transparent",o.style.transform="translate(1.2px,0px)",i.appendChild(o);var a=document.createElement("div");a.style.position="absolute",a.style.left="0",a.style.top="0",a.style.width="100%",a.style.height="100%",a.style.display="flex",a.style.justifyContent="center",a.style.alignItems="center",a.appendChild(i),t.appendChild(a)}return t},t.prototype.renderMediaPlayer=function(){var e;if("video"==this._selectedMediaType){var t=document.createElement("video"),r=this.getPosterUrl();r&&(t.poster=r),e=t}else e=document.createElement("audio");e.setAttribute("aria-label",this.altText?this.altText:d.Strings.defaults.mediaPlayerAriaLabel()),e.setAttribute("webkit-playsinline",""),e.setAttribute("playsinline",""),e.autoplay=!0,e.controls=!0,s.isMobileOS()&&(e.muted=!0),e.preload="none",e.style.width="100%";for(var n=0,i=this.sources;n<i.length;n++){var o=i[n].render();s.appendChild(e,o)}return e},t.prototype.internalRender=function(){var e=document.createElement("div");return e.className=this.hostConfig.makeCssClassName("ac-media"),this.processSources(),e.appendChild(this.renderPoster()),e},t.prototype.getJsonTypeName=function(){return"Media"},t.prototype.getResourceInformation=function(){var e=[],t=this.getPosterUrl();t&&e.push({url:t,mimeType:"image"});for(var r=0,n=this.sources;r<n.length;r++){var i=n[r];i.isValid()&&e.push({url:i.url,mimeType:i.mimeType})}return e},Object.defineProperty(t.prototype,"selectedMediaType",{get:function(){return this._selectedMediaType},enumerable:!1,configurable:!0}),t.sourcesProperty=new p.SerializableObjectCollectionProperty(p.Versions.v1_1,"sources",O),t.posterProperty=new p.StringProperty(p.Versions.v1_1,"poster"),t.altTextProperty=new p.StringProperty(p.Versions.v1_1,"altText"),t.supportedMediaTypes=["audio","video"],i([p.property(t.sourcesProperty)],t.prototype,"sources",void 0),i([p.property(t.posterProperty)],t.prototype,"poster",void 0),i([p.property(t.altTextProperty)],t.prototype,"altText",void 0),t}(h);t.Media=I;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getAllLabelIds=function(){var e=[];return this._renderedLabelElement&&e.push(this._renderedLabelElement.id),this._renderedErrorMessageElement&&e.push(this._renderedErrorMessageElement.id),e},t.prototype.updateInputControlAriaLabelledBy=function(){if(this._renderedInputControlElement){var e=this.getAllLabelIds();this.labelledBy&&e.push(this.labelledBy),this._renderedLabelElement&&e.push(this._renderedLabelElement.id),this._renderedErrorMessageElement&&e.push(this._renderedErrorMessageElement.id),e.length>0?this._renderedInputControlElement.setAttribute("aria-labelledby",e.join(" ")):this._renderedInputControlElement.removeAttribute("aria-labelledby")}},Object.defineProperty(t.prototype,"isNullable",{get:function(){return!0}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderedInputControlElement",{get:function(){return this._renderedInputControlElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputControlContainerElement",{get:function(){return this._inputControlContainerElement},enumerable:!1,configurable:!0}),t.prototype.overrideInternalRender=function(){var e=this.hostConfig;this._outerContainerElement=document.createElement("div"),this._outerContainerElement.style.display="flex",this._outerContainerElement.style.flexDirection="column";var t=s.generateUniqueId();if(this.label){var r=new b;r.setParent(this),r.forElementId=t;var n=new T(this.label);if(r.addInline(n),this.isRequired){n.init(e.inputs.label.requiredInputs);var i=new T(e.inputs.label.requiredInputs.suffix);i.color=e.inputs.label.requiredInputs.suffixColor,i.ariaHidden=!0,r.addInline(i)}else n.init(e.inputs.label.optionalInputs);this._renderedLabelElement=r.render(),this._renderedLabelElement&&(this._renderedLabelElement.id=s.generateUniqueId(),this._renderedLabelElement.style.marginBottom=e.getEffectiveSpacing(e.inputs.label.inputSpacing)+"px",this._outerContainerElement.appendChild(this._renderedLabelElement))}if(this._inputControlContainerElement=document.createElement("div"),this._inputControlContainerElement.className=e.makeCssClassName("ac-input-container"),this._inputControlContainerElement.style.display="flex","stretch"===this.height&&(this._inputControlContainerElement.style.alignItems="stretch",this._inputControlContainerElement.style.flex="1 1 auto"),this._renderedInputControlElement=this.internalRender(),this._renderedInputControlElement)return this._renderedInputControlElement.id=t,this._renderedInputControlElement.style.minWidth="0px",this.isNullable&&this.isRequired&&(this._renderedInputControlElement.setAttribute("aria-required","true"),this._renderedInputControlElement.classList.add(e.makeCssClassName("ac-input-required"))),this._inputControlContainerElement.appendChild(this._renderedInputControlElement),this._outerContainerElement.appendChild(this._inputControlContainerElement),this.updateInputControlAriaLabelledBy(),this._outerContainerElement},t.prototype.valueChanged=function(){this.isValid()&&this.resetValidationFailureCue(),this.onValueChanged&&this.onValueChanged(this),function(e){var t=e.getRootElement(),r=t&&t.onInputValueChanged?t.onInputValueChanged:pe.onInputValueChanged;r&&r(e)}(this)},t.prototype.resetValidationFailureCue=function(){this.renderedInputControlElement&&(this.renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-input-validation-failed")),this.updateInputControlAriaLabelledBy(),this._renderedErrorMessageElement&&(this._outerContainerElement.removeChild(this._renderedErrorMessageElement),this._renderedErrorMessageElement=void 0))},t.prototype.showValidationErrorMessage=function(){if(this.renderedElement&&this.errorMessage&&a.GlobalSettings.displayInputValidationErrors){var e=new y;e.setParent(this),e.text=this.errorMessage,e.wrap=!0,e.init(this.hostConfig.inputs.errorMessage),this._renderedErrorMessageElement=e.render(),this._renderedErrorMessageElement&&(this._renderedErrorMessageElement.id=s.generateUniqueId(),this._outerContainerElement.appendChild(this._renderedErrorMessageElement),this.updateInputControlAriaLabelledBy())}},t.prototype.focus=function(){this._renderedInputControlElement&&this._renderedInputControlElement.focus()},t.prototype.isValid=function(){return!0},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.id||t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.inputsMustHaveUniqueId()),this.isRequired&&(this.label||t.addFailure(this,o.ValidationEvent.RequiredInputsShouldHaveLabel,"Required inputs should have a label"),this.errorMessage||t.addFailure(this,o.ValidationEvent.RequiredInputsShouldHaveErrorMessage,"Required inputs should have an error message"))},t.prototype.validateValue=function(){this.resetValidationFailureCue();var e=this.isRequired?this.isSet()&&this.isValid():this.isValid();return!e&&this.renderedInputControlElement&&(this.renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-input-validation-failed")),this.showValidationErrorMessage()),e},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[this]},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0}
2,enumerable:!1,configurable:!0}),t.labelProperty=new p.StringProperty(p.Versions.v1_3,"label",!0),t.isRequiredProperty=new p.BoolProperty(p.Versions.v1_3,"isRequired",!1),t.errorMessageProperty=new p.StringProperty(p.Versions.v1_3,"errorMessage",!0),i([p.property(t.labelProperty)],t.prototype,"label",void 0),i([p.property(t.isRequiredProperty)],t.prototype,"isRequired",void 0),i([p.property(t.errorMessageProperty)],t.prototype,"errorMessage",void 0),t}(h);t.Input=w;var P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiline=!1,t.style=o.InputTextStyle.Text,t}return n(t,e),t.prototype.setupInput=function(e){var t=this;e.style.flex="1 1 auto",e.tabIndex=0,this.placeholder&&(e.placeholder=this.placeholder,e.setAttribute("aria-label",this.placeholder)),this.defaultValue&&(e.value=this.defaultValue),this.maxLength&&this.maxLength>0&&(e.maxLength=this.maxLength),e.oninput=function(){t.valueChanged()},e.onkeypress=function(e){e.ctrlKey&&"Enter"===e.code&&t.inlineAction&&t.inlineAction.execute()}},t.prototype.internalRender=function(){var e;return this.isMultiline?((e=document.createElement("textarea")).className=this.hostConfig.makeCssClassName("ac-input","ac-textInput","ac-multiline"),"stretch"===this.height&&(e.style.height="initial")):((e=document.createElement("input")).className=this.hostConfig.makeCssClassName("ac-input","ac-textInput"),e.type=o.InputTextStyle[this.style].toLowerCase()),this.setupInput(e),e},t.prototype.overrideInternalRender=function(){var t=this,r=e.prototype.overrideInternalRender.call(this);if(this.inlineAction){var n=document.createElement("button");if(n.className=this.hostConfig.makeCssClassName("ac-inlineActionButton"),n.onclick=function(e){e.preventDefault(),e.cancelBubble=!0,t.inlineAction&&t.inlineAction.execute()},this.inlineAction.iconUrl){n.classList.add("iconOnly");var i=document.createElement("img");i.style.height="100%",i.setAttribute("role","presentation"),i.style.display="none",i.onload=function(){i.style.removeProperty("display")},i.onerror=function(){n.removeChild(i),n.classList.remove("iconOnly"),n.classList.add("textOnly"),n.textContent=t.inlineAction&&t.inlineAction.title?t.inlineAction.title:d.Strings.defaults.inlineActionTitle()},i.src=this.inlineAction.iconUrl,n.appendChild(i),n.title=this.inlineAction.title?this.inlineAction.title:d.Strings.defaults.inlineActionTitle()}else n.classList.add("textOnly"),n.textContent=this.inlineAction.title?this.inlineAction.title:d.Strings.defaults.inlineActionTitle();n.style.marginLeft="8px",this.inputControlContainerElement.appendChild(n)}return r},t.prototype.getJsonTypeName=function(){return"Input.Text"},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);return!r&&this.inlineAction&&(r=this.inlineAction.getActionById(t)),r},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){return!this.value||(!this.regex||new RegExp(this.regex,"g").test(this.value))},Object.defineProperty(t.prototype,"value",{get:function(){return this.renderedInputControlElement?(this.isMultiline,this.renderedInputControlElement.value):void 0},enumerable:!1,configurable:!0}),t.valueProperty=new p.StringProperty(p.Versions.v1_0,"value"),t.maxLengthProperty=new p.NumProperty(p.Versions.v1_0,"maxLength"),t.isMultilineProperty=new p.BoolProperty(p.Versions.v1_0,"isMultiline",!1),t.placeholderProperty=new p.StringProperty(p.Versions.v1_0,"placeholder"),t.styleProperty=new p.EnumProperty(p.Versions.v1_0,"style",o.InputTextStyle,o.InputTextStyle.Text),t.inlineActionProperty=new v(p.Versions.v1_0,"inlineAction",["Action.ShowCard"]),t.regexProperty=new p.StringProperty(p.Versions.v1_3,"regex",!0),i([p.property(t.valueProperty)],t.prototype,"defaultValue",void 0),i([p.property(t.maxLengthProperty)],t.prototype,"maxLength",void 0),i([p.property(t.isMultilineProperty)],t.prototype,"isMultiline",void 0),i([p.property(t.placeholderProperty)],t.prototype,"placeholder",void 0),i([p.property(t.styleProperty)],t.prototype,"style",void 0),i([p.property(t.inlineActionProperty)],t.prototype,"inlineAction",void 0),i([p.property(t.regexProperty)],t.prototype,"regex",void 0),t}(w);t.TextInput=P;var N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.valueOn="true",t.valueOff="false",t.wrap=!1,t}return n(t,e),t.prototype.updateInputControlAriaLabelledBy=function(){if(this._checkboxInputElement){var e=this.getAllLabelIds().join(" ");
2this._checkboxInputLabelElement&&this._checkboxInputLabelElement.id&&(e+=" "+this._checkboxInputLabelElement.id),e?this._checkboxInputElement.setAttribute("aria-labelledby",e):this._checkboxInputElement.removeAttribute("aria-labelledby")}},t.prototype.internalRender=function(){var e=this,t=document.createElement("div");if(t.className=this.hostConfig.makeCssClassName("ac-input","ac-toggleInput"),t.style.width="100%",t.style.display="flex",t.style.alignItems="center",this._checkboxInputElement=document.createElement("input"),this._checkboxInputElement.id=s.generateUniqueId(),this._checkboxInputElement.type="checkbox",this._checkboxInputElement.style.display="inline-block",this._checkboxInputElement.style.verticalAlign="middle",this._checkboxInputElement.style.margin="0",this._checkboxInputElement.style.flex="0 0 auto",this.title&&this._checkboxInputElement.setAttribute("aria-label",this.title),this.isRequired&&this._checkboxInputElement.setAttribute("aria-required","true"),this._checkboxInputElement.tabIndex=0,this.defaultValue==this.valueOn&&(this._checkboxInputElement.checked=!0),this._checkboxInputElement.onchange=function(){e.valueChanged()},s.appendChild(t,this._checkboxInputElement),this.title||this.isDesignMode()){var r=new y;if(r.setParent(this),r.forElementId=this._checkboxInputElement.id,r.hostConfig=this.hostConfig,r.text=this.title?this.title:this.getJsonTypeName(),r.useMarkdown=a.GlobalSettings.useMarkdownInRadioButtonAndCheckbox,r.wrap=this.wrap,this._checkboxInputLabelElement=r.render(),this._checkboxInputLabelElement){this._checkboxInputLabelElement.id=s.generateUniqueId(),this._checkboxInputLabelElement.style.display="inline-block",this._checkboxInputLabelElement.style.flex="1 1 auto",this._checkboxInputLabelElement.style.marginLeft="6px",this._checkboxInputLabelElement.style.verticalAlign="middle";var n=document.createElement("div");n.style.width="6px",s.appendChild(t,n),s.appendChild(t,this._checkboxInputLabelElement)}}return t},Object.defineProperty(t.prototype,"isNullable",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"Input.Toggle"},t.prototype.focus=function(){this._checkboxInputElement&&this._checkboxInputElement.focus()},t.prototype.isSet=function(){return this.isRequired?this.value===this.valueOn:!!this.value},Object.defineProperty(t.prototype,"value",{get:function(){return this._checkboxInputElement?this._checkboxInputElement.checked?this.valueOn:this.valueOff:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new p.StringProperty(p.Versions.v1_0,"value"),t.titleProperty=new p.StringProperty(p.Versions.v1_0,"title"),t.valueOnProperty=new p.StringProperty(p.Versions.v1_0,"valueOn",!0,void 0,"true",(function(e){return"true"})),t.valueOffProperty=new p.StringProperty(p.Versions.v1_0,"valueOff",!0,void 0,"false",(function(e){return"false"})),t.wrapProperty=new p.BoolProperty(p.Versions.v1_2,"wrap",!1),i([p.property(t.valueProperty)],t.prototype,"defaultValue",void 0),i([p.property(t.titleProperty)],t.prototype,"title",void 0),i([p.property(t.valueOnProperty)],t.prototype,"valueOn",void 0),i([p.property(t.valueOffProperty)],t.prototype,"valueOff",void 0),i([p.property(t.wrapProperty)],t.prototype,"wrap",void 0),t}(w);t.ToggleInput=N;var R=function(e){function t(t,r){var n=e.call(this)||this;return n.title=t,n.value=r,n}return n(t,e),t.prototype.getSchemaKey=function(){return"Choice"},t.titleProperty=new p.StringProperty(p.Versions.v1_0,"title"),t.valueProperty=new p.StringProperty(p.Versions.v1_0,"value"),i([p.property(t.titleProperty)],t.prototype,"title",void 0),i([p.property(t.valueProperty)],t.prototype,"value",void 0),t}(p.SerializableObject);t.Choice=R;var k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMultiSelect=!1,t.wrap=!1,t.choices=[],t}return n(t,e),Object.defineProperty(t.prototype,"isCompact",{get:function(){return"expanded"!==this.style},set:function(e){this.style=e?void 0:"expanded"},enumerable:!1,configurable:!0}),t.getUniqueCategoryName=function(){var e="__ac-category"+t.uniqueCategoryCounter;return t.uniqueCategoryCounter++,e},t.prototype.internalApplyAriaCurrent=function(){var e=this._selectElement.options;if(e)for(var t=0;t<e.length;t++)e[t].selected?e[t].setAttribute("aria-current","true"):e[t].removeAttribute("aria-current")}
2,t.prototype.renderCompoundInput=function(e,t,r){var n=this,i=document.createElement("div");i.className=this.hostConfig.makeCssClassName("ac-input",e),i.style.width="100%",this._toggleInputs=[],this._labels=[];for(var o=0,u=this.choices;o<u.length;o++){var c=u[o],l=document.createElement("input");l.id=s.generateUniqueId(),l.type=t,l.style.margin="0",l.style.display="inline-block",l.style.verticalAlign="middle",l.style.flex="0 0 auto",l.name=this.id?this.id:this._uniqueCategoryName,this.isRequired&&l.setAttribute("aria-required","true"),c.value&&(l.value=c.value),c.title&&l.setAttribute("aria-label",c.title),r&&c.value&&r.indexOf(c.value)>=0&&(l.checked=!0),l.onchange=function(){n.valueChanged()},this._toggleInputs.push(l);var p=document.createElement("div");p.style.display="flex",p.style.alignItems="center",s.appendChild(p,l);var f=new y;f.setParent(this),f.forElementId=l.id,f.hostConfig=this.hostConfig,f.text=c.title?c.title:"Choice "+this._toggleInputs.length,f.useMarkdown=a.GlobalSettings.useMarkdownInRadioButtonAndCheckbox,f.wrap=this.wrap;var d=f.render();if(this._labels.push(d),d){d.id=s.generateUniqueId(),d.style.display="inline-block",d.style.flex="1 1 auto",d.style.marginLeft="6px",d.style.verticalAlign="middle";var h=document.createElement("div");h.style.width="6px",s.appendChild(p,h),s.appendChild(p,d)}s.appendChild(i,p)}return i},t.prototype.updateInputControlAriaLabelledBy=function(){if((this.isMultiSelect||"expanded"===this.style)&&this._toggleInputs&&this._labels)for(var t=this.getAllLabelIds(),r=0;r<this._toggleInputs.length;r++){var n=t.join(" "),i=this._labels[r];i&&i.id&&(n+=" "+i.id),n?this._toggleInputs[r].setAttribute("aria-labelledby",n):this._toggleInputs[r].removeAttribute("aria-labelledby")}else e.prototype.updateInputControlAriaLabelledBy.call(this)},t.prototype.internalRender=function(){var e=this;if(this._uniqueCategoryName=t.getUniqueCategoryName(),this.isMultiSelect)return this.renderCompoundInput("ac-choiceSetInput-multiSelect","checkbox",this.defaultValue?this.defaultValue.split(this.hostConfig.choiceSetInputValueSeparator):void 0);if("expanded"===this.style)return this.renderCompoundInput("ac-choiceSetInput-expanded","radio",this.defaultValue?[this.defaultValue]:void 0);this._selectElement=document.createElement("select"),this._selectElement.className=this.hostConfig.makeCssClassName("ac-input","ac-multichoiceInput","ac-choiceSetInput-compact"),this._selectElement.style.width="100%";var r=document.createElement("option");r.selected=!0,r.disabled=!0,r.hidden=!0,r.value="",this.placeholder&&(r.text=this.placeholder),s.appendChild(this._selectElement,r);for(var n=0,i=this.choices;n<i.length;n++){var o=i[n],a=document.createElement("option");a.value=o.value,a.text=o.title,a.setAttribute("aria-label",o.title),o.value==this.defaultValue&&(a.selected=!0),s.appendChild(this._selectElement,a)}return this._selectElement.onchange=function(){e.internalApplyAriaCurrent(),e.valueChanged()},this.internalApplyAriaCurrent(),this._selectElement},t.prototype.getJsonTypeName=function(){return"Input.ChoiceSet"},t.prototype.focus=function(){this._toggleInputs&&(this.isMultiSelect||"expanded"===this.style)?this._toggleInputs.length>0&&this._toggleInputs[0].focus():e.prototype.focus.call(this)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),0==this.choices.length&&t.addFailure(this,o.ValidationEvent.CollectionCantBeEmpty,d.Strings.errors.choiceSetMustHaveAtLeastOneChoice());for(var r=0,n=this.choices;r<n.length;r++){var i=n[r];i.title&&i.value||t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.choiceSetChoicesMustHaveTitleAndValue())}},t.prototype.isSet=function(){return!!this.value},Object.defineProperty(t.prototype,"value",{get:function(){if(this.isMultiSelect){if(!this._toggleInputs||0==this._toggleInputs.length)return;for(var e="",t=0,r=this._toggleInputs;t<r.length;t++){(o=r[t]).checked&&(""!=e&&(e+=this.hostConfig.choiceSetInputValueSeparator),e+=o.value)}return e||void 0}if(this.isCompact)return this._selectElement&&this._selectElement.selectedIndex>0?this._selectElement.value:void 0;if(this._toggleInputs&&0!=this._toggleInputs.length)for(var n=0,i=this._toggleInputs;n<i.length;n++){var o;if((o=i[n]).checked)return o.value}}
2,enumerable:!1,configurable:!0}),t.valueProperty=new p.StringProperty(p.Versions.v1_0,"value"),t.choicesProperty=new p.SerializableObjectCollectionProperty(p.Versions.v1_0,"choices",R),t.styleProperty=new p.ValueSetProperty(p.Versions.v1_0,"style",[{value:"compact"},{value:"expanded"}],"compact"),t.isMultiSelectProperty=new p.BoolProperty(p.Versions.v1_0,"isMultiSelect",!1),t.placeholderProperty=new p.StringProperty(p.Versions.v1_0,"placeholder"),t.wrapProperty=new p.BoolProperty(p.Versions.v1_2,"wrap",!1),t.uniqueCategoryCounter=0,i([p.property(t.valueProperty)],t.prototype,"defaultValue",void 0),i([p.property(t.styleProperty)],t.prototype,"style",void 0),i([p.property(t.isMultiSelectProperty)],t.prototype,"isMultiSelect",void 0),i([p.property(t.placeholderProperty)],t.prototype,"placeholder",void 0),i([p.property(t.wrapProperty)],t.prototype,"wrap",void 0),i([p.property(t.choicesProperty)],t.prototype,"choices",void 0),t}(w);t.ChoiceSetInput=k;var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalRender=function(){var e=this;return this._numberInputElement=document.createElement("input"),this._numberInputElement.setAttribute("type","number"),void 0!==this.min&&this._numberInputElement.setAttribute("min",this.min.toString()),void 0!==this.max&&this._numberInputElement.setAttribute("max",this.max.toString()),this._numberInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-numberInput"),this._numberInputElement.style.width="100%",this._numberInputElement.tabIndex=0,void 0!==this.defaultValue&&(this._numberInputElement.valueAsNumber=this.defaultValue),this.placeholder&&(this._numberInputElement.placeholder=this.placeholder,this._numberInputElement.setAttribute("aria-label",this.placeholder)),this._numberInputElement.oninput=function(){e.valueChanged()},this._numberInputElement},t.prototype.getJsonTypeName=function(){return"Input.Number"},t.prototype.isSet=function(){return void 0!==this.value&&!isNaN(this.value)},t.prototype.isValid=function(){if(void 0===this.value)return!this.isRequired;var e=!0;return void 0!==this.min&&(e=e&&this.value>=this.min),void 0!==this.max&&(e=e&&this.value<=this.max),e},Object.defineProperty(t.prototype,"value",{get:function(){return this._numberInputElement?this._numberInputElement.valueAsNumber:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new p.NumProperty(p.Versions.v1_0,"value"),t.placeholderProperty=new p.StringProperty(p.Versions.v1_0,"placeholder"),t.minProperty=new p.NumProperty(p.Versions.v1_0,"min"),t.maxProperty=new p.NumProperty(p.Versions.v1_0,"max"),i([p.property(t.valueProperty)],t.prototype,"defaultValue",void 0),i([p.property(t.minProperty)],t.prototype,"min",void 0),i([p.property(t.maxProperty)],t.prototype,"max",void 0),i([p.property(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(w);t.NumberInput=x;var M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalRender=function(){var e=this;return this._dateInputElement=document.createElement("input"),this._dateInputElement.setAttribute("type","date"),this.min&&this._dateInputElement.setAttribute("min",this.min),this.max&&this._dateInputElement.setAttribute("max",this.max),this.placeholder&&(this._dateInputElement.placeholder=this.placeholder,this._dateInputElement.setAttribute("aria-label",this.placeholder)),this._dateInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-dateInput"),this._dateInputElement.style.width="100%",this._dateInputElement.oninput=function(){e.valueChanged()},this.defaultValue&&(this._dateInputElement.value=this.defaultValue),this._dateInputElement},t.prototype.getJsonTypeName=function(){return"Input.Date"},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(!this.value)return!this.isRequired;var e=new Date(this.value),t=!0;if(this.min){var r=new Date(this.min);t=t&&e>=r}if(this.max){var n=new Date(this.max);t=t&&e<=n}return t},Object.defineProperty(t.prototype,"value",{get:function(){return this._dateInputElement?this._dateInputElement.value:void 0}
2,enumerable:!1,configurable:!0}),t.valueProperty=new p.StringProperty(p.Versions.v1_0,"value"),t.placeholderProperty=new p.StringProperty(p.Versions.v1_0,"placeholder"),t.minProperty=new p.StringProperty(p.Versions.v1_0,"min"),t.maxProperty=new p.StringProperty(p.Versions.v1_0,"max"),i([p.property(t.valueProperty)],t.prototype,"defaultValue",void 0),i([p.property(t.minProperty)],t.prototype,"min",void 0),i([p.property(t.maxProperty)],t.prototype,"max",void 0),i([p.property(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(w);t.DateInput=M;var L=function(e){function t(t,r){var n=e.call(this,t,r,(function(e,t,r,n){var i=r[t.name];if("string"===typeof i&&i&&/^[0-9]{2}:[0-9]{2}$/.test(i))return i}),(function(e,t,r,n,i){i.serializeValue(r,t.name,n)}))||this;return n.targetVersion=t,n.name=r,n}return n(t,e),t}(p.CustomProperty);t.TimeProperty=L;var j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.convertTimeStringToDate=function(e){return new Date("1973-09-04T"+e+":00Z")},t.prototype.internalRender=function(){var e=this;return this._timeInputElement=document.createElement("input"),this._timeInputElement.setAttribute("type","time"),this._timeInputElement.setAttribute("min",this.min),this._timeInputElement.setAttribute("max",this.max),this._timeInputElement.className=this.hostConfig.makeCssClassName("ac-input","ac-timeInput"),this._timeInputElement.style.width="100%",this._timeInputElement.oninput=function(){e.valueChanged()},this.placeholder&&(this._timeInputElement.placeholder=this.placeholder,this._timeInputElement.setAttribute("aria-label",this.placeholder)),this.defaultValue&&(this._timeInputElement.value=this.defaultValue),this._timeInputElement},t.prototype.getJsonTypeName=function(){return"Input.Time"},t.prototype.isSet=function(){return!!this.value},t.prototype.isValid=function(){if(!this.value)return!this.isRequired;var e=t.convertTimeStringToDate(this.value),r=!0;if(this.min){var n=t.convertTimeStringToDate(this.min);r=r&&e>=n}if(this.max){var i=t.convertTimeStringToDate(this.max);r=r&&e<=i}return r},Object.defineProperty(t.prototype,"value",{get:function(){return this._timeInputElement?this._timeInputElement.value:void 0},enumerable:!1,configurable:!0}),t.valueProperty=new L(p.Versions.v1_0,"value"),t.placeholderProperty=new p.StringProperty(p.Versions.v1_0,"placeholder"),t.minProperty=new L(p.Versions.v1_0,"min"),t.maxProperty=new L(p.Versions.v1_0,"max"),i([p.property(t.valueProperty)],t.prototype,"defaultValue",void 0),i([p.property(t.minProperty)],t.prototype,"min",void 0),i([p.property(t.maxProperty)],t.prototype,"max",void 0),i([p.property(t.placeholderProperty)],t.prototype,"placeholder",void 0),t}(w);t.TimeInput=j;var D=function(){function e(e,t){this._state=0,this.action=e,this._parentContainerStyle=t}return e.prototype.updateCssStyle=function(){var e,t;if(this.action.parent&&this.action.renderedElement){var r=this.action.parent.hostConfig;switch(this.action.renderedElement.className=r.makeCssClassName("ac-pushButton"),this._parentContainerStyle&&this.action.renderedElement.classList.add("style-"+this._parentContainerStyle),this.action.updateActionButtonCssStyle(this.action.renderedElement,this._state),this.action.renderedElement.classList.remove(r.makeCssClassName("expanded")),this.action.renderedElement.classList.remove(r.makeCssClassName("subdued")),this._state){case 1:this.action.renderedElement.classList.add(r.makeCssClassName("expanded"));break;case 2:this.action.renderedElement.classList.add(r.makeCssClassName("subdued"))}this.action.style&&(this.action.style===o.ActionStyle.Positive?(e=this.action.renderedElement.classList).add.apply(e,r.makeCssClassNames("primary","style-positive")):(t=this.action.renderedElement.classList).add.apply(t,r.makeCssClassNames("style-"+this.action.style.toLowerCase())))}},e.prototype.render=function(){var e=this;this.action.render(),this.action.renderedElement&&(this.action.renderedElement.onclick=function(t){t.preventDefault(),t.cancelBubble=!0,e.click()},this.updateCssStyle())},e.prototype.click=function(){void 0!==this.onClick&&this.onClick(this)},Object.defineProperty(e.prototype,"state",{get:function(){return this._state},set:function(e){this._state=e,this.updateCssStyle()}
2,enumerable:!1,configurable:!0}),e}(),U=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.style=o.ActionStyle.Default,t}return n(t,e),t.prototype.getDefaultSerializationContext=function(){return new he},t.prototype.addCssClasses=function(e){},t.prototype.internalGetReferencedInputs=function(){return{}},t.prototype.internalPrepareForExecution=function(e){},t.prototype.internalValidateInputs=function(e){var t=[];if(e)for(var r=0,n=Object.keys(e);r<n.length;r++){var i=e[n[r]];i.validateValue()||t.push(i)}return t},t.prototype.shouldSerialize=function(e){return void 0!==e.actionRegistry.findByName(this.getJsonTypeName())},t.prototype.raiseExecuteActionEvent=function(){this.onExecute&&this.onExecute(this),function(e){var t=e.parent?e.parent.getRootElement():void 0,r=t&&t.onExecuteAction?t.onExecuteAction:pe.onExecuteAction;e.prepareForExecution()&&r&&r(e)}(this)},t.prototype.getHref=function(){return""},t.prototype.getAriaRole=function(){return"button"},t.prototype.updateActionButtonCssStyle=function(e,t){void 0===t&&(t=0)},t.prototype.parse=function(t,r){return e.prototype.parse.call(this,t,r||new he)},t.prototype.render=function(e){void 0===e&&(e="ac-pushButton");var t=this.hostConfig,r=document.createElement("button");this.addCssClasses(r),this.accessibleTitle?r.setAttribute("aria-label",this.accessibleTitle):this.title&&r.setAttribute("aria-label",this.title),void 0!=this.expanded&&r.setAttribute("aria-expanded",this.expanded.toString()),r.type="button",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.setAttribute("role",this.getAriaRole());var n=document.createElement("div");if(n.style.overflow="hidden",n.style.textOverflow="ellipsis",t.actions.iconPlacement==o.ActionIconPlacement.AboveTitle||t.actions.allowTitleToWrap||(n.style.whiteSpace="nowrap"),this.title&&(n.innerText=this.title),this.iconUrl){var i=document.createElement("img");i.src=this.iconUrl,i.style.width=t.actions.iconSize+"px",i.style.height=t.actions.iconSize+"px",i.style.flex="0 0 auto",t.actions.iconPlacement==o.ActionIconPlacement.AboveTitle?(r.classList.add("iconAbove"),r.style.flexDirection="column",this.title&&(i.style.marginBottom="6px")):(r.classList.add("iconLeft"),i.style.maxHeight="100%",this.title&&(i.style.marginRight="6px")),r.appendChild(i),r.appendChild(n)}else r.classList.add("noIcon"),r.appendChild(n);this._renderedElement=r},t.prototype.execute=function(){this._actionCollection&&this._actionCollection.actionExecuted(this),this.raiseExecuteActionEvent()},t.prototype.prepareForExecution=function(){var e=this.getReferencedInputs(),t=this.internalValidateInputs(e);return t.length>0?(t[0].focus(),!1):(this.internalPrepareForExecution(e),!0)},t.prototype.remove=function(){return!!this._actionCollection&&this._actionCollection.removeAction(this)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),[]},t.prototype.getResourceInformation=function(){return this.iconUrl?[{url:this.iconUrl,mimeType:"image"}]:[]},t.prototype.getActionById=function(e){return this.id===e?this:void 0},t.prototype.getReferencedInputs=function(){return this.internalGetReferencedInputs()},t.prototype.validateInputs=function(){return this.internalValidateInputs(this.getReferencedInputs())},Object.defineProperty(t.prototype,"isPrimary",{get:function(){return this.style==o.ActionStyle.Positive},set:function(e){e?this.style=o.ActionStyle.Positive:this.style==o.ActionStyle.Positive&&(this.style=o.ActionStyle.Default)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hostConfig",{get:function(){return this.parent?this.parent.hostConfig:u.defaultHostConfig},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),t.titleProperty=new p.StringProperty(p.Versions.v1_0,"title"),t.iconUrlProperty=new p.StringProperty(p.Versions.v1_1,"iconUrl"),t.styleProperty=new p.ValueSetProperty(p.Versions.v1_2,"style",[{value:o.ActionStyle.Default},{value:o.ActionStyle.Positive},{value:o.ActionStyle.Destructive}],o.ActionStyle.Default),i([p.property(t.titleProperty)],t.prototype,"title",void 0),i([p.property(t.iconUrlProperty)],t.prototype,"iconUrl",void 0),i([p.property(t.styleProperty)],t.prototype,"style",void 0),t}(l.CardObject);t.Action=U;var B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._isPrepared=!1,t}return n(t,e),t.prototype.internalGetReferencedInputs=function(){var e={};if("none"!==this.associatedInputs){for(var t=this.parent,r=[];t;)r=r.concat(t.getAllInputs(!1)),t=t.parent;for(var n=0,i=r;n<i.length;n++){var o=i[n];o.id&&(e[o.id]=o)}}return e},t.prototype.internalPrepareForExecution=function(e){if(this._originalData?this._processedData=JSON.parse(JSON.stringify(this._originalData)):this._processedData={},this._processedData&&e)for(var t=0,r=Object.keys(e);t<r.length;t++){var n=e[r[t]];n.id&&n.isSet()&&(this._processedData[n.id]="string"===typeof n.value?n.value:n.value.toString())}this._isPrepared=!0},Object.defineProperty(t.prototype,"data",{get:function(){return this._isPrepared?this._processedData:this._originalData},set:function(e){this._originalData=e,this._isPrepared=!1}
2,enumerable:!1,configurable:!0}),t.dataProperty=new p.PropertyDefinition(p.Versions.v1_0,"data"),t.associatedInputsProperty=new p.CustomProperty(p.Versions.v1_3,"associatedInputs",(function(e,t,r,n){var i=r[t.name];if(void 0!==i&&"string"===typeof i)return"none"===i.toLowerCase()?"none":"auto"}),(function(e,t,r,n,i){i.serializeValue(r,t.name,n)})),i([p.property(t.dataProperty)],t.prototype,"_originalData",void 0),i([p.property(t.associatedInputsProperty)],t.prototype,"associatedInputs",void 0),t}(U);t.SubmitActionBase=B;var F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.JsonTypeName="Action.Submit",t}(B);t.SubmitAction=F;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.JsonTypeName="Action.Execute",t.verbProperty=new p.StringProperty(p.Versions.v1_4,"verb"),i([p.property(t.verbProperty)],t.prototype,"verb",void 0),t}(B);t.ExecuteAction=V;var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.getAriaRole=function(){return"link"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.url||t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.propertyMustBeSet("url"))},t.prototype.getHref=function(){return this.url},t.urlProperty=new p.StringProperty(p.Versions.v1_0,"url"),t.JsonTypeName="Action.OpenUrl",i([p.property(t.urlProperty)],t.prototype,"url",void 0),t}(U);t.OpenUrlAction=z;var H=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.targetElements={},t}return n(t,e),t.prototype.updateAriaControlsAttribute=function(){if(this.targetElements){var e=Object.keys(this.targetElements);this._renderedElement&&(e.length>0?this._renderedElement.setAttribute("aria-controls",e.join(" ")):this._renderedElement.removeAttribute("aria-controls"))}},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.targetElements||t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.propertyMustBeSet("targetElements"))},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.render=function(t){void 0===t&&(t="ac-pushButton"),e.prototype.render.call(this,t),this.updateAriaControlsAttribute()},t.prototype.execute=function(){if(this.parent)for(var e=0,t=Object.keys(this.targetElements);e<t.length;e++){var r=t[e],n=this.parent.getRootElement().getElementById(r);n&&("boolean"===typeof this.targetElements[r]?n.isVisible=this.targetElements[r]:n.isVisible=!n.isVisible)}},t.prototype.addTargetElement=function(e,t){void 0===t&&(t=void 0),this.targetElements[e]=t,this.updateAriaControlsAttribute()},t.prototype.removeTargetElement=function(e){delete this.targetElements[e],this.updateAriaControlsAttribute()},t.targetElementsProperty=new p.CustomProperty(p.Versions.v1_2,"targetElements",(function(e,t,r,n){var i={};if(Array.isArray(r[t.name]))for(var o=0,a=r[t.name];o<a.length;o++){var u=a[o];if("string"===typeof u)i[u]=void 0;else if("object"===typeof u){var c=u.elementId;"string"===typeof c&&(i[c]=s.parseBool(u.isVisible))}}return i}),(function(e,t,r,n,i){for(var o=[],a=0,s=Object.keys(n);a<s.length;a++){var u=s[a];"boolean"===typeof n[u]?o.push({elementId:u,isVisible:n[u]}):o.push(u)}i.serializeArray(r,t.name,o)}),{},(function(e){return{}})),t.JsonTypeName="Action.ToggleVisibility",i([p.property(t.targetElementsProperty)],t.prototype,"targetElements",void 0),t}(U);t.ToggleVisibilityAction=H;var G=function(e){function t(t,r){var n=e.call(this,t,r,void 0,(function(){return new a.StringWithSubstitutions}))||this;return n.targetVersion=t,n.name=r,n}return n(t,e),t.prototype.parse=function(e,t,r){var n=new a.StringWithSubstitutions;return n.set(s.parseString(t[this.name])),n},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r.getOriginal())},t}(p.PropertyDefinition),q=function(e){function t(t,r){void 0===t&&(t=""),void 0===r&&(r="");var n=e.call(this)||this;return n.name=t,n.value=r,n}return n(t,e),t.prototype.getSchemaKey=function(){return"HttpHeader"},t.prototype.getReferencedInputs=function(e,t){this._value.getReferencedInputs(e,t)},t.prototype.prepareForExecution=function(e){this._value.substituteInputValues(e,a.ContentTypes.applicationXWwwFormUrlencoded)},Object.defineProperty(t.prototype,"value",{get:function(){return this._value.get()},set:function(e){this._value.set(e)}
2,enumerable:!1,configurable:!0}),t.nameProperty=new p.StringProperty(p.Versions.v1_0,"name"),t.valueProperty=new G(p.Versions.v1_0,"value"),i([p.property(t.nameProperty)],t.prototype,"name",void 0),i([p.property(t.valueProperty)],t.prototype,"_value",void 0),t}(p.SerializableObject);t.HttpHeader=q;var Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._ignoreInputValidation=!1,t}return n(t,e),t.prototype.internalGetReferencedInputs=function(){var e=this.parent?this.parent.getRootElement().getAllInputs():[],t={};this._url.getReferencedInputs(e,t);for(var r=0,n=this.headers;r<n.length;r++){n[r].getReferencedInputs(e,t)}return this._body.getReferencedInputs(e,t),t},t.prototype.internalPrepareForExecution=function(e){if(e){this._url.substituteInputValues(e,a.ContentTypes.applicationXWwwFormUrlencoded);for(var t=a.ContentTypes.applicationJson,r=0,n=this.headers;r<n.length;r++){var i=n[r];i.prepareForExecution(e),i.name&&"content-type"==i.name.toLowerCase()&&(t=i.value)}this._body.substituteInputValues(e,t)}},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.internalValidateProperties=function(t){if(e.prototype.internalValidateProperties.call(this,t),this.url||t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.propertyMustBeSet("url")),this.headers.length>0)for(var r=0,n=this.headers;r<n.length;r++){n[r].name||t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.actionHttpHeadersMustHaveNameAndValue())}},Object.defineProperty(t.prototype,"ignoreInputValidation",{get:function(){return this._ignoreInputValidation},set:function(e){this._ignoreInputValidation=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._url.get()},set:function(e){this._url.set(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"body",{get:function(){return this._body.get()},set:function(e){this._body.set(e)},enumerable:!1,configurable:!0}),t.urlProperty=new G(p.Versions.v1_0,"url"),t.bodyProperty=new G(p.Versions.v1_0,"body"),t.methodProperty=new p.StringProperty(p.Versions.v1_0,"method"),t.headersProperty=new p.SerializableObjectCollectionProperty(p.Versions.v1_0,"headers",q),t.ignoreInputValidationProperty=new p.BoolProperty(p.Versions.v1_3,"ignoreInputValidation",!1),t.JsonTypeName="Action.Http",i([p.property(t.urlProperty)],t.prototype,"_url",void 0),i([p.property(t.bodyProperty)],t.prototype,"_body",void 0),i([p.property(t.methodProperty)],t.prototype,"method",void 0),i([p.property(t.headersProperty)],t.prototype,"headers",void 0),i([p.property(t.ignoreInputValidationProperty)],t.prototype,"_ignoreInputValidation",void 0),t}(U);t.HttpAction=Y;var W=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.card=new fe,t}return n(t,e),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r);var n=t.card;n?this.card.parse(n,r):r.logParseEvent(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.showCardMustHaveCard())},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),this.card&&r.serializeValue(t,"card",this.card.toJSON(r))},t.prototype.addCssClasses=function(t){e.prototype.addCssClasses.call(this,t),this.parent&&t.classList.add(this.parent.hostConfig.makeCssClassName("expandable"))},t.prototype.raiseExecuteActionEvent=function(){this.hostConfig.actions.showCard.actionMode===o.ShowCardActionMode.Popup&&e.prototype.raiseExecuteActionEvent.call(this)},t.prototype.getJsonTypeName=function(){return t.JsonTypeName},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this.card.internalValidateProperties(t)},t.prototype.updateActionButtonCssStyle=function(t,r){void 0===r&&(r=0),e.prototype.updateActionButtonCssStyle.call(this,t),this.parent&&(t.classList.add(this.parent.hostConfig.makeCssClassName("expandable")),t.setAttribute("aria-expanded",(1===r).toString()))},t.prototype.setParent=function(t){e.prototype.setParent.call(this,t),this.card.setParent(t)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),this.card.getAllInputs(e)},t.prototype.getResourceInformation=function(){return e.prototype.getResourceInformation.call(this).concat(this.card.getResourceInformation())},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);return r||(r=this.card.getActionById(t)),r},t.JsonTypeName="Action.ShowCard",t}(U);t.ShowCardAction=W;var K=function(){function e(e){this._renderedActionCount=0,this.items=[],this.buttons=[],this._owner=e}return e.prototype.isActionAllowed=function(e){var t=this._owner.getForbiddenActionTypes();if(t)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(e.constructor===i)return!1}return!0},e.prototype.refreshContainer=function(){if(this._actionCardContainer.innerHTML="",this._actionCard){this._actionCardContainer.style.marginTop=this._renderedActionCount>0?this._owner.hostConfig.actions.showCard.inlineTopMargin+"px":"0px";var e=this._owner.getEffectivePadding();this._owner.getImmediateSurroundingPadding(e);var t=this._owner.hostConfig.paddingDefinitionToSpacingDefinition(e);this._actionCard&&(this._actionCard.style.paddingLeft=t.left+"px",this._actionCard.style.paddingRight=t.right+"px",this._actionCard.style.marginLeft="-"+t.left+"px",this._actionCard.style.marginRight="-"+t.right+"px",0==t.bottom||this._owner.isDesignMode()||(this._actionCard.style.paddingBottom=t.bottom+"px",this._actionCard.style.marginBottom="-"+t.bottom+"px"),s.appendChild(this._actionCardContainer,this._actionCard))}else this._actionCardContainer.style.marginTop="0px"},e.prototype.layoutChanged=function(){this._owner.getRootElement().updateLayout()},e.prototype.showActionCard=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),e.card.suppressStyle=t;var n=e.card.renderedElement&&!this._owner.isDesignMode()?e.card.renderedElement:e.card.render();this._actionCard=n,this._expandedAction=e,this.refreshContainer(),r&&(this.layoutChanged(),ne(e,!0))},e.prototype.collapseExpandedAction=function(){for(var e=0,t=this.buttons;e<t.length;e++){t[e].state=0}var r=this._expandedAction;this._expandedAction=void 0,this._actionCard=void 0,this.refreshContainer(),r&&(this.layoutChanged(),ne(r,!1))},e.prototype.expandShowCardAction=function(e,t){for(var r=0,n=this.buttons;r<n.length;r++){var i=n[r];i.action!==e?i.state=2:i.state=1}this.showActionCard(e,!(this._owner.isAtTheVeryLeft()&&this._owner.isAtTheVeryRight()),t)},e.prototype.getParentContainer=function(){return this._owner instanceof Z?this._owner:this._owner.getParentContainer()},e.prototype.findActionButton=function(e){for(var t=0,r=this.buttons;t<r.length;t++){var n=r[t];if(n.action==e)return n}},e.prototype.actionExecuted=function(e){e instanceof W?e===this._expandedAction?this.collapseExpandedAction():this.expandShowCardAction(e,!0):this.collapseExpandedAction()},e.prototype.parse=function(e,t){if(this.clear(),Array.isArray(e))for(var r=0,n=e;r<n.length;r++){var i=n[r],o=t.parseAction(this._owner,i,[],!this._owner.isDesignMode());o&&this.addAction(o)}},e.prototype.toJSON=function(e,t,r){r.serializeArray(e,t,this.items)},e.prototype.getActionById=function(e){for(var t=void 0,r=0,n=this.items;r<n.length;r++){if(t=n[r].getActionById(e))break}return t},e.prototype.validateProperties=function(e){this._owner.hostConfig.actions.maxActions&&this.items.length>this._owner.hostConfig.actions.maxActions&&e.addFailure(this._owner,o.ValidationEvent.TooManyActions,d.Strings.errors.tooManyActions(this._owner.hostConfig.actions.maxActions)),this.items.length>
20&&!this._owner.hostConfig.supportsInteractivity&&e.addFailure(this._owner,o.ValidationEvent.InteractivityNotAllowed,d.Strings.errors.interactivityNotAllowed());for(var t=0,r=this.items;t<r.length;t++){var n=r[t];this.isActionAllowed(n)||e.addFailure(this._owner,o.ValidationEvent.ActionTypeNotAllowed,d.Strings.errors.actionTypeNotAllowed(n.getJsonTypeName())),n.internalValidateProperties(e)}},e.prototype.render=function(e,t){var r=this._owner.hostConfig;if(r.supportsInteractivity){var n=document.createElement("div"),i=r.actions.maxActions?Math.min(r.actions.maxActions,this.items.length):this.items.length;if(this._actionCardContainer=document.createElement("div"),this._renderedActionCount=0,r.actions.preExpandSingleShowCardAction&&1==i&&this.items[0]instanceof W&&this.isActionAllowed(this.items[0]))this.showActionCard(this.items[0],!0),this._renderedActionCount=1;else{var a=document.createElement("div");if(a.className=r.makeCssClassName("ac-actionSet"),a.style.display="flex",a.setAttribute("role","menubar"),e==o.Orientation.Horizontal)if(a.style.flexDirection="row",this._owner.horizontalAlignment&&r.actions.actionAlignment!=o.ActionAlignment.Stretch)switch(this._owner.horizontalAlignment){case o.HorizontalAlignment.Center:a.style.justifyContent="center";break;case o.HorizontalAlignment.Right:a.style.justifyContent="flex-end";break;default:a.style.justifyContent="flex-start"}else switch(r.actions.actionAlignment){case o.ActionAlignment.Center:a.style.justifyContent="center";break;case o.ActionAlignment.Right:a.style.justifyContent="flex-end";break;default:a.style.justifyContent="flex-start"}else if(a.style.flexDirection="column",this._owner.horizontalAlignment&&r.actions.actionAlignment!=o.ActionAlignment.Stretch)switch(this._owner.horizontalAlignment){case o.HorizontalAlignment.Center:a.style.alignItems="center";break;case o.HorizontalAlignment.Right:a.style.alignItems="flex-end";break;default:a.style.alignItems="flex-start"}else switch(r.actions.actionAlignment){case o.ActionAlignment.Center:a.style.alignItems="center";break;case o.ActionAlignment.Right:a.style.alignItems="flex-end";break;case o.ActionAlignment.Stretch:a.style.alignItems="stretch";break;default:a.style.alignItems="flex-start"}var u=this.getParentContainer();if(u)for(var c=u.getEffectiveStyle(),l=this.items.filter(this.isActionAllowed.bind(this)),p=0;p<l.length;p++){var f=this.findActionButton(l[p]);if(f||((f=new D(l[p],c)).onClick=function(e){e.action.execute()},this.buttons.push(f)),f.render(),f.action.renderedElement){if(l.length>1&&(f.action.renderedElement.setAttribute("aria-posinset",(p+1).toString()),f.action.renderedElement.setAttribute("aria-setsize",l.length.toString()),f.action.renderedElement.setAttribute("role","menuitem")),r.actions.actionsOrientation==o.Orientation.Horizontal&&r.actions.actionAlignment==o.ActionAlignment.Stretch?f.action.renderedElement.style.flex="0 1 100%":f.action.renderedElement.style.flex="0 1 auto",a.appendChild(f.action.renderedElement),this._renderedActionCount++,this._renderedActionCount>=r.actions.maxActions||p==this.items.length-1)break;if(r.actions.buttonSpacing>0){var d=document.createElement("div");e===o.Orientation.Horizontal?(d.style.flex="0 0 auto",d.style.width=r.actions.buttonSpacing+"px"):d.style.height=r.actions.buttonSpacing+"px",s.appendChild(a,d)}}}var h=document.createElement("div");h.style.overflow="hidden",h.appendChild(a),s.appendChild(n,h)}s.appendChild(n,this._actionCardContainer);for(var v=0,m=this.buttons;v<m.length;v++){var y=m[v];if(1==y.state){this.expandShowCardAction(y.action,!1);break}}return this._renderedActionCount>0?n:void 0}},e.prototype.addAction=function(e){if(!e)throw new Error("The action parameter cannot be null.");if(e.parent&&e.parent!==this._owner||!(this.items.indexOf(e)<0))throw new Error(d.Strings.errors.actionAlreadyParented());this.items.push(e),e.parent||e.setParent(this._owner),e._actionCollection=this},e.prototype.removeAction=function(e){this.expandedAction&&this._expandedAction==e&&this.collapseExpandedAction();var t=this.items.indexOf(e);if(t>=0){this.items.splice(t,1),e.setParent(void 0),e._actionCollection=void 0;for(var r=0;r<this.buttons.length;r++)if(this.buttons[r].action==e){this.buttons.splice(r,1);break}return!0}return!1},e.prototype.clear=function(){this.items=[],this.buttons=[],this._expandedAction=void 0,this._renderedActionCount=0},e.prototype.getAllInputs=function(e){void 0===e&&(e=!0);var t=[];if(e)for(var r=0,n=this.items;r<n.length;r++){var i=n[r];t=t.concat(i.getAllInputs())}return t},e.prototype.getResourceInformation=function(){for(var e=[],t=0,r=this.items;t<r.length;t++){var n=r[t];e=e.concat(n.getResourceInformation())}return e},Object.defineProperty(e.prototype,"renderedActionCount",{get:function(){return this._renderedActionCount}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expandedAction",{get:function(){return this._expandedAction},enumerable:!1,configurable:!0}),e}(),$=function(e){function t(){var t=e.call(this)||this;return t._actionCollection=new K(t),t}return n(t,e),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._actionCollection.parse(t.actions,r)},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),this._actionCollection.toJSON(t,"actions",r)},t.prototype.internalRender=function(){return this._actionCollection.render(void 0!==this.orientation?this.orientation:this.hostConfig.actions.actionsOrientation,this.isDesignMode())},t.prototype.isBleedingAtBottom=function(){return 0==this._actionCollection.renderedActionCount?e.prototype.isBleedingAtBottom.call(this):1==this._actionCollection.items.length?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction},t.prototype.getJsonTypeName=function(){return"ActionSet"},t.prototype.getActionCount=function(){return this._actionCollection.items.length},t.prototype.getActionAt=function(t){return t>=0&&t<this.getActionCount()?this._actionCollection.items[t]:e.prototype.getActionAt.call(this,t)},t.prototype.getActionById=function(t){var r=this._actionCollection.getActionById(t);return r||e.prototype.getActionById.call(this,t)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this._actionCollection.validateProperties(t)},t.prototype.addAction=function(e){this._actionCollection.addAction(e)},t.prototype.getAllInputs=function(e){return void 0===e&&(e=!0),e?this._actionCollection.getAllInputs():[]},t.prototype.getResourceInformation=function(){return this._actionCollection.getResourceInformation()},t.prototype.findDOMNodeOwner=function(t){for(var r=void 0,n=0,i=this._actionCollection.items;n<i.length;n++){if(r=i[n].findDOMNodeOwner(t))return r}return e.prototype.findDOMNodeOwner.call(this,t)},Object.defineProperty(t.prototype,"isInteractive",{get:function(){return!0},enumerable:!1,configurable:!0}),t.orientationProperty=new p.EnumProperty(p.Versions.v1_1,"orientation",o.Orientation),i([p.property(t.orientationProperty)],t.prototype,"orientation",void 0),t}(h);t.ActionSet=$;var J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._bleed=!1,t}return n(t,e),Object.defineProperty(t.prototype,"style",{get:function(){if(this.allowCustomStyle){var e=this.getValue(t.styleProperty);if(e&&this.hostConfig.containerStyles.getStyleByName(e))return e}},set:function(e){this.setValue(t.styleProperty,e)},enumerable:!1,configurable:!0}),t.prototype.adjustRenderedElementSize=function(t){e.prototype.adjustRenderedElementSize.call(this,t),this.minPixelHeight&&(t.style.minHeight=this.minPixelHeight+"px")},t.prototype.applyBackground=function(){if(this.renderedElement){var e=this.hostConfig.containerStyles.getStyleByName(this.style,this.hostConfig.containerStyles.getStyleByName(this.defaultStyle));if(e.backgroundColor){var t=s.stringToCssColor(e.backgroundColor);this.renderedElement.style.backgroundColor=t,this.renderedElement.style.border="1px solid "+t}}},t.prototype.applyPadding=function(){if(e.prototype.applyPadding.call(this),this.renderedElement){var t=new a.SpacingDefinition;if(this.getEffectivePadding()&&(t=this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())),this.renderedElement.style.paddingTop=t.top+"px",this.renderedElement.style.paddingRight=t.right+"px",this.renderedElement.style.paddingBottom=t.bottom+"px",this.renderedElement.style.paddingLeft=t.left+"px",this.isBleeding()){var r=new a.PaddingDefinition;this.getImmediateSurroundingPadding(r);var n=this.hostConfig.paddingDefinitionToSpacingDefinition(r);this.renderedElement.style.marginRight="-"+n.right+"px",this.renderedElement.style.marginLeft="-"+n.left+"px",this.isDesignMode()||(this.renderedElement.style.marginTop="-"+n.top+"px",this.renderedElement.style.marginBottom="-"+n.bottom+"px"),this.separatorElement&&this.separatorOrientation==o.Orientation.Horizontal&&(this.separatorElement.style.marginLeft="-"+n.left+"px",this.separatorElement.style.marginRight="-"+n.right+"px")}else this.renderedElement.style.marginRight="0",this.renderedElement.style.marginLeft="0",this.renderedElement.style.marginTop="0",this.renderedElement.style.marginBottom="0",this.separatorElement&&this.separatorOrientation===o.Orientation.Horizontal&&(this.separatorElement.style.marginRight="0",this.separatorElement.style.marginLeft="0")}}
2,t.prototype.getHasBackground=function(){for(var e=this.parent;e;){var r=e instanceof Z&&e.backgroundImage.isValid();if(e instanceof t&&this.hasExplicitStyle&&(e.getEffectiveStyle()!=this.getEffectiveStyle()||r))return!0;e=e.parent}return!1},t.prototype.getDefaultPadding=function(){return this.getHasBackground()?new a.PaddingDefinition(o.Spacing.Padding,o.Spacing.Padding,o.Spacing.Padding,o.Spacing.Padding):e.prototype.getDefaultPadding.call(this)},t.prototype.getHasExpandedAction=function(){return!1},t.prototype.getBleed=function(){return this._bleed},t.prototype.setBleed=function(e){this._bleed=e},Object.defineProperty(t.prototype,"renderedActionCount",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasExplicitStyle",{get:function(){return void 0!==this.getValue(t.styleProperty)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomStyle",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.isBleeding=function(){return(this.getHasBackground()||this.hostConfig.alwaysAllowBleed)&&this.getBleed()},t.prototype.internalValidateProperties=function(r){e.prototype.internalValidateProperties.call(this,r);var n=this.getValue(t.styleProperty);void 0!==n&&(this.hostConfig.containerStyles.getStyleByName(n)||r.addFailure(this,o.ValidationEvent.InvalidPropertyValue,d.Strings.errors.invalidPropertyValue(n,"style")))},t.prototype.render=function(){var t=e.prototype.render.call(this);return t&&this.getHasBackground()&&this.applyBackground(),t},t.prototype.getEffectiveStyle=function(){var t=this.style;return t||e.prototype.getEffectiveStyle.call(this)},t.styleProperty=new p.ValueSetProperty(p.Versions.v1_0,"style",[{value:o.ContainerStyle.Default},{value:o.ContainerStyle.Emphasis},{targetVersion:p.Versions.v1_2,value:o.ContainerStyle.Accent},{targetVersion:p.Versions.v1_2,value:o.ContainerStyle.Good},{targetVersion:p.Versions.v1_2,value:o.ContainerStyle.Attention},{targetVersion:p.Versions.v1_2,value:o.ContainerStyle.Warning}]),t.bleedProperty=new p.BoolProperty(p.Versions.v1_2,"bleed",!1),t.minHeightProperty=new p.PixelSizeProperty(p.Versions.v1_2,"minHeight"),i([p.property(t.styleProperty)],t.prototype,"style",null),i([p.property(t.bleedProperty)],t.prototype,"_bleed",void 0),i([p.property(t.minHeightProperty)],t.prototype,"minPixelHeight",void 0),t}(E);t.StylableCardElementContainer=J;var X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getSchemaKey=function(){return"BackgroundImage"},t.prototype.internalParse=function(t,r){if("string"!==typeof t)return e.prototype.internalParse.call(this,t,r);this.resetDefaultValues(),this.url=t},t.prototype.apply=function(e){if(this.url&&e.renderedElement){switch(e.renderedElement.style.backgroundImage="url('"+e.preProcessPropertyValue(t.urlProperty,this.url)+"')",this.fillMode){case o.FillMode.Repeat:e.renderedElement.style.backgroundRepeat="repeat";break;case o.FillMode.RepeatHorizontally:e.renderedElement.style.backgroundRepeat="repeat-x";break;case o.FillMode.RepeatVertically:e.renderedElement.style.backgroundRepeat="repeat-y";break;case o.FillMode.Cover:default:e.renderedElement.style.backgroundRepeat="no-repeat",e.renderedElement.style.backgroundSize="cover"}switch(this.horizontalAlignment){case o.HorizontalAlignment.Center:e.renderedElement.style.backgroundPositionX="center";break;case o.HorizontalAlignment.Right:e.renderedElement.style.backgroundPositionX="right"}switch(this.verticalAlignment){case o.VerticalAlignment.Center:e.renderedElement.style.backgroundPositionY="center";break;case o.VerticalAlignment.Bottom:e.renderedElement.style.backgroundPositionY="bottom"}}},t.prototype.isValid=function(){return!!this.url},t.urlProperty=new p.StringProperty(p.Versions.v1_0,"url"),t.fillModeProperty=new p.EnumProperty(p.Versions.v1_2,"fillMode",o.FillMode,o.FillMode.Cover),t.horizontalAlignmentProperty=new p.EnumProperty(p.Versions.v1_2,"horizontalAlignment",o.HorizontalAlignment,o.HorizontalAlignment.Left),t.verticalAlignmentProperty=new p.EnumProperty(p.Versions.v1_2,"verticalAlignment",o.VerticalAlignment,o.VerticalAlignment.Top),i([p.property(t.urlProperty)],t.prototype,"url",void 0),i([p.property(t.fillModeProperty)],t.prototype,"fillMode",void 0),i([p.property(t.horizontalAlignmentProperty)],t.prototype,"horizontalAlignment",void 0),i([p.property(t.verticalAlignmentProperty)],t.prototype,"verticalAlignment",void 0),t}(p.SerializableObject);
2t.BackgroundImage=X;var Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.verticalContentAlignment=o.VerticalAlignment.Top,t._items=[],t._renderedItems=[],t}return n(t,e),Object.defineProperty(t.prototype,"backgroundImage",{get:function(){return this.getValue(t.backgroundImageProperty)},enumerable:!1,configurable:!0}),t.prototype.insertItemAt=function(e,t,r){if(e.parent&&!r)throw new Error(d.Strings.errors.elementAlreadyParented());if(!e.isStandalone)throw new Error(d.Strings.errors.elementTypeNotStandalone(e.getJsonTypeName()));t<0||t>=this._items.length?this._items.push(e):this._items.splice(t,0,e),e.setParent(this)},t.prototype.supportsExcplitiHeight=function(){return!0},t.prototype.getItemsCollectionPropertyName=function(){return"items"},t.prototype.applyBackground=function(){this.backgroundImage.isValid()&&this.renderedElement&&this.backgroundImage.apply(this),e.prototype.applyBackground.call(this)},t.prototype.internalRender=function(){this._renderedItems=[];var e=this.hostConfig,t=document.createElement("div");switch(void 0!==this.rtl&&this.rtl&&(t.dir="rtl"),t.classList.add(e.makeCssClassName("ac-container")),t.style.display="flex",t.style.flexDirection="column",a.GlobalSettings.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.verticalContentAlignment){case o.VerticalAlignment.Center:t.style.justifyContent="center";break;case o.VerticalAlignment.Bottom:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}if(this._items.length>0)for(var r=0,n=this._items;r<n.length;r++){var i=n[r],u=this.isElementAllowed(i)?i.render():void 0;u&&(this._renderedItems.length>0&&i.separatorElement&&(i.separatorElement.style.flex="0 0 auto",s.appendChild(t,i.separatorElement)),s.appendChild(t,u),this._renderedItems.push(i))}else if(this.isDesignMode()){var c=this.createPlaceholderElement();c.style.width="100%",c.style.height="100%",t.appendChild(c)}return t},t.prototype.truncateOverflow=function(e){if(this.renderedElement){for(var t=this.renderedElement.offsetTop+e+1,r=function e(r){var n=r.renderedElement;if(n)switch(s.getFitStatus(n,t)){case o.ContainerFitStatus.FullyInContainer:r.resetOverflow()&&e(r);break;case o.ContainerFitStatus.Overflowing:var i=t-n.offsetTop;r.handleOverflow(i);break;case o.ContainerFitStatus.FullyOutOfContainer:r.handleOverflow(0)}},n=0,i=this._items;n<i.length;n++){r(i[n])}return!0}return!1},t.prototype.undoOverflowTruncation=function(){for(var e=0,t=this._items;e<t.length;e++){t[e].resetOverflow()}},t.prototype.getHasBackground=function(){return this.backgroundImage.isValid()||e.prototype.getHasBackground.call(this)},t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this.clear(),this.setShouldFallback(!1);var n=t[this.getItemsCollectionPropertyName()];if(Array.isArray(n))for(var i=0,o=n;i<o.length;i++){var a=o[i],s=r.parseElement(this,a,!this.isDesignMode());s&&this.insertItemAt(s,-1,!0)}},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),r.serializeArray(t,this.getItemsCollectionPropertyName(),this._items)},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getItemCount=function(){return this._items.length},t.prototype.getItemAt=function(e){return this._items[e]},t.prototype.getFirstVisibleRenderedItem=function(){if(this.renderedElement&&this._renderedItems&&this._renderedItems.length>0)for(var e=0,t=this._renderedItems;e<t.length;e++){var r=t[e];if(r.isVisible)return r}},t.prototype.getLastVisibleRenderedItem=function(){if(this.renderedElement&&this._renderedItems&&this._renderedItems.length>0)for(var e=this._renderedItems.length-1;e>=0;e--)if(this._renderedItems[e].isVisible)return this._renderedItems[e]},t.prototype.getJsonTypeName=function(){return"Container"},t.prototype.isFirstElement=function(e){for(var t=this.isDesignMode(),r=0,n=this._items;r<n.length;r++){var i=n[r];if(i.isVisible||t)return i==e}return!1},t.prototype.isLastElement=function(e){for(var t=this.isDesignMode(),r=this._items.length-1;r>=0;r--)if(this._items[r].isVisible||t)return this._items[r]==e;return!1},t.prototype.isRtl=function(){if(void 0!==this.rtl)return this.rtl;var e=this.getParentContainer();return!!e&&e.isRtl()},t.prototype.isBleedingAtTop=function(){var e=this.getFirstVisibleRenderedItem();return this.isBleeding()||!!e&&e.isBleedingAtTop()},t.prototype.isBleedingAtBottom=function(){var e=this.getLastVisibleRenderedItem();return this.isBleeding()||!!e&&(e.isBleedingAtBottom()&&e.getEffectiveStyle()==this.getEffectiveStyle())},t.prototype.indexOf=function(e){return this._items.indexOf(e)},t.prototype.addItem=function(e){this.insertItemAt(e,-1,!1)},t.prototype.insertItemBefore=function(e,t){this.insertItemAt(e,this._items.indexOf(t),!1)},t.prototype.insertItemAfter=function(e,t){this.insertItemAt(e,this._items.indexOf(t)+1,!1)},t.prototype.removeItem=function(e){var t=this._items.indexOf(e);return t>=0&&(this._items.splice(t,1),e.setParent(void 0),this.updateLayout(),!0)},t.prototype.clear=function(){this._items=[],this._renderedItems=[]},t.prototype.getResourceInformation=function(){var t=e.prototype.getResourceInformation.call(this);return this.backgroundImage.isValid()&&t.push({url:this.backgroundImage.url,mimeType:"image"}),t},t.prototype.getActionById=function(t){var r=e.prototype.getActionById.call(this,t);if(!r&&(this.selectAction&&(r=this.selectAction.getActionById(t)),!r))for(var n=0,i=this._items;n<i.length;n++){if(r=i[n].getActionById(t))break}return r},Object.defineProperty(t.prototype,"padding",{get:function(){return this.getPadding()},set:function(e){this.setPadding(e)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bleed",{get:function(){return this.getBleed()},set:function(e){this.setBleed(e)},enumerable:!1,configurable:!0}),t.backgroundImageProperty=new p.SerializableObjectProperty(p.Versions.v1_0,"backgroundImage",X),t.verticalContentAlignmentProperty=new p.EnumProperty(p.Versions.v1_1,"verticalContentAlignment",o.VerticalAlignment,o.VerticalAlignment.Top),t.rtlProperty=new p.BoolProperty(p.Versions.v1_0,"rtl"),i([p.property(t.backgroundImageProperty)],t.prototype,"backgroundImage",null),i([p.property(t.verticalContentAlignmentProperty)],t.prototype,"verticalContentAlignment",void 0),i([p.property(t.rtlProperty)],t.prototype,"rtl",void 0),t}(J);t.Container=Z;var Q=function(e){function t(t){void 0===t&&(t="stretch");var r=e.call(this)||this;return r.width="stretch",r._computedWeight=0,r.width=t,r}return n(t,e),t.prototype.adjustRenderedElementSize=function(e){this.isDesignMode()?(e.style.minWidth="20px",e.style.minHeight=(this.minPixelHeight?Math.max(this.minPixelHeight,20):20)+"px"):(e.style.minWidth="0",this.minPixelHeight&&(e.style.minHeight=this.minPixelHeight+"px")),"auto"===this.width?e.style.flex="0 1 auto":"stretch"===this.width?e.style.flex="1 1 50px":this.width instanceof a.SizeAndUnit&&(this.width.unit==o.SizeUnit.Pixel?(e.style.flex="0 0 auto",e.style.width=this.width.physicalSize+"px"):e.style.flex="1 1 "+(this._computedWeight>0?this._computedWeight:this.width.physicalSize)+"%")},t.prototype.shouldSerialize=function(e){return!0},Object.defineProperty(t.prototype,"separatorOrientation",{get:function(){return o.Orientation.Vertical},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"Column"},Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!!(this.parent&&this.parent instanceof ee)&&(void 0!==this.separatorElement&&!this.parent.isLeftMostElement(this))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1},enumerable:!1,configurable:!0}),t.widthProperty=new p.CustomProperty(p.Versions.v1_0,"width",(function(e,t,r,n){var i=t.defaultValue,s=r[t.name],u=!1;if("number"!==typeof s||isNaN(s))if("auto"===s||"stretch"===s)i=s;else if("string"===typeof s)try{(i=a.SizeAndUnit.parse(s)).unit===o.SizeUnit.Pixel&&t.targetVersion.compareTo(n.targetVersion)>0&&(u=!0)}catch(c){u=!0}else u=!0;else i=new a.SizeAndUnit(s,o.SizeUnit.Weight);return u&&(n.logParseEvent(e,o.ValidationEvent.InvalidPropertyValue,d.Strings.errors.invalidColumnWidth(s)),i="auto"),i}),(function(e,t,r,n,i){n instanceof a.SizeAndUnit?n.unit===o.SizeUnit.Pixel?i.serializeValue(r,"width",n.physicalSize+"px"):i.serializeNumber(r,"width",n.physicalSize):i.serializeValue(r,"width",n)}),"stretch"),i([p.property(t.widthProperty)],t.prototype,"width",void 0),t}(Z);t.Column=Q;var ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._columns=[],t}return n(t,e),t.prototype.createColumnInstance=function(e,t){return t.parseCardObject(this,e,[],!this.isDesignMode(),(function(e){return e&&"Column"!==e?void 0:new Q}),(function(e,r){t.logParseEvent(void 0,o.ValidationEvent.ElementTypeNotAllowed,d.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.internalRender=function(){if(this._renderedColumns=[],this._columns.length>0){var e=this.hostConfig,t=document.createElement("div");switch(t.className=e.makeCssClassName("ac-columnSet"),t.style.display="flex",a.GlobalSettings.useAdvancedCardBottomTruncation&&(t.style.minHeight="-webkit-min-content"),this.horizontalAlignment){case o.HorizontalAlignment.Center:t.style.justifyContent="center";break;case o.HorizontalAlignment.Right:t.style.justifyContent="flex-end";break;default:t.style.justifyContent="flex-start"}for(var r=0,n=0,i=this._columns;n<i.length;n++){(l=i[n]).width instanceof a.SizeAndUnit&&l.width.unit==o.SizeUnit.Weight&&(r+=l.width.physicalSize)}for(var u=0,c=this._columns;u<c.length;u++){var l;if((l=c[u]).width instanceof a.SizeAndUnit&&l.width.unit==o.SizeUnit.Weight&&r>0){var p=100/r*l.width.physicalSize;l._computedWeight=p}var f=l.render();f&&(this._renderedColumns.length>0&&l.separatorElement&&(l.separatorElement.style.flex="0 0 auto",s.appendChild(t,l.separatorElement)),s.appendChild(t,f),this._renderedColumns.push(l))}return this._renderedColumns.length>0?t:void 0}},t.prototype.truncateOverflow=function(e){for(var t=0,r=this._columns;t<r.length;t++){r[t].handleOverflow(e)}return!0},t.prototype.undoOverflowTruncation=function(){for(var e=0,t=this._columns;e<t.length;e++){t[e].resetOverflow()}},Object.defineProperty(t.prototype,"isSelectable",{get:function(){return!0}
2,enumerable:!1,configurable:!0}),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._columns=[],this._renderedColumns=[];var n=t.columns;if(Array.isArray(n))for(var i=0,o=n;i<o.length;i++){var a=o[i],s=this.createColumnInstance(a,r);s&&this._columns.push(s)}},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),r.serializeArray(t,"columns",this._columns)},t.prototype.isFirstElement=function(e){for(var t=0,r=this._columns;t<r.length;t++){var n=r[t];if(n.isVisible)return n==e}return!1},t.prototype.isBleedingAtTop=function(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(var e=0,t=this._columns;e<t.length;e++){if(t[e].isBleedingAtTop())return!0}return!1},t.prototype.isBleedingAtBottom=function(){if(this.isBleeding())return!0;if(this._renderedColumns&&this._renderedColumns.length>0)for(var e=0,t=this._columns;e<t.length;e++){if(t[e].isBleedingAtBottom())return!0}return!1},t.prototype.getItemCount=function(){return this._columns.length},t.prototype.getFirstVisibleRenderedItem=function(){return this.renderedElement&&this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[0]:void 0},t.prototype.getLastVisibleRenderedItem=function(){return this.renderedElement&&this._renderedColumns&&this._renderedColumns.length>0?this._renderedColumns[this._renderedColumns.length-1]:void 0},t.prototype.getColumnAt=function(e){return this._columns[e]},t.prototype.getItemAt=function(e){return this.getColumnAt(e)},t.prototype.getJsonTypeName=function(){return"ColumnSet"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t);for(var r=0,n=0,i=0,a=this._columns;i<a.length;i++){var s=a[i];"number"===typeof s.width?r++:"stretch"===s.width&&n++}
2r>0&&n>0&&t.addFailure(this,o.ValidationEvent.Hint,d.Strings.hints.dontUseWeightedAndStrecthedColumnsInSameSet())},t.prototype.addColumn=function(e){if(e.parent)throw new Error(d.Strings.errors.columnAlreadyBelongsToAnotherSet());this._columns.push(e),e.setParent(this)},t.prototype.removeItem=function(e){if(e instanceof Q){var t=this._columns.indexOf(e);if(t>=0)return this._columns.splice(t,1),e.setParent(void 0),this.updateLayout(),!0}return!1},t.prototype.indexOf=function(e){return e instanceof Q?this._columns.indexOf(e):-1},t.prototype.isLeftMostElement=function(e){return 0==this._columns.indexOf(e)},t.prototype.isRightMostElement=function(e){return this._columns.indexOf(e)==this._columns.length-1},t.prototype.isTopElement=function(e){return this._columns.indexOf(e)>=0},t.prototype.isBottomElement=function(e){return this._columns.indexOf(e)>=0},t.prototype.getActionById=function(e){for(var t=void 0,r=0,n=this._columns;r<n.length;r++){if(t=n[r].getActionById(e))break}return t},Object.defineProperty(t.prototype,"bleed",{get:function(){return this.getBleed()},set:function(e){this.setBleed(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.getPadding()},set:function(e){this.setPadding(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectAction",{get:function(){return this._selectAction},set:function(e){this._selectAction=e},enumerable:!1,configurable:!0}),t}(J);function te(e){var t=e.getRootElement(),r=t&&t.onImageLoaded?t.onImageLoaded:pe.onImageLoaded;r&&r(e)}function re(e,t,r){var n=e.getRootElement(),i=n&&n.onAnchorClicked?n.onAnchorClicked:pe.onAnchorClicked;return void 0!==i&&i(e,t,r)}function ne(e,t){var r=e.parent?e.parent.getRootElement():void 0,n=r&&r.onInlineCardExpanded?r.onInlineCardExpanded:pe.onInlineCardExpanded;n&&n(e,t)}function ie(e,t){void 0===t&&(t=!0);var r=e.getRootElement();t&&r.updateLayout();var n=r,i=n&&n.onElementVisibilityChanged?n.onElementVisibilityChanged:pe.onElementVisibilityChanged;void 0!==i&&i(e)}t.ColumnSet=ee;var oe=function(e){function t(){var t=e.call(this)||this;return t._actionCollection=new K(t),t}return n(t,e),t.prototype.internalParse=function(t,r){e.prototype.internalParse.call(this,t,r),this._actionCollection.parse(t.actions,r)},t.prototype.internalToJSON=function(t,r){e.prototype.internalToJSON.call(this,t,r),this._actionCollection.toJSON(t,"actions",r)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);if(t){var r=this._actionCollection.render(this.hostConfig.actions.actionsOrientation,!1);return r&&(s.appendChild(t,s.renderSeparation(this.hostConfig,{spacing:this.hostConfig.getEffectiveSpacing(this.hostConfig.actions.spacing)},o.Orientation.Horizontal)),s.appendChild(t,r)),this.renderIfEmpty||t.children.length>0?t:void 0}},t.prototype.getHasExpandedAction=function(){return 0!=this.renderedActionCount&&(1==this.renderedActionCount?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction)},Object.defineProperty(t.prototype,"renderedActionCount",{get:function(){return this._actionCollection.renderedActionCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderIfEmpty",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.getActionCount=function(){return this._actionCollection.items.length},t.prototype.getActionAt=function(t){return t>=0&&t<this.getActionCount()?this._actionCollection.items[t]:e.prototype.getActionAt.call(this,t)},t.prototype.getActionById=function(t){var r=this._actionCollection.getActionById(t);return r||e.prototype.getActionById.call(this,t)},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),this._actionCollection&&this._actionCollection.validateProperties(t)},t.prototype.isLastElement=function(t){return e.prototype.isLastElement.call(this,t)&&0==this._actionCollection.items.length},t.prototype.addAction=function(e){this._actionCollection.addAction(e)},t.prototype.clear=function(){e.prototype.clear.call(this),this._actionCollection.clear()},t.prototype.getAllInputs=function(t){void 0===t&&(t=!0);var r=e.prototype.getAllInputs.call(this,t);return t&&(r=r.concat(this._actionCollection.getAllInputs(t))),r},t.prototype.getResourceInformation=function(){return e.prototype.getResourceInformation.call(this).concat(this._actionCollection.getResourceInformation())},t.prototype.isBleedingAtBottom=function(){return 0==this._actionCollection.renderedActionCount?e.prototype.isBleedingAtBottom.call(this):1==this._actionCollection.items.length?void 0!==this._actionCollection.expandedAction&&!this.hostConfig.actions.preExpandSingleShowCardAction:void 0!==this._actionCollection.expandedAction},Object.defineProperty(t.prototype,"isStandalone",{get:function(){return!1}
2,enumerable:!1,configurable:!0}),t}(Z);t.ContainerWithActions=oe;var ae=function(e){function t(t,r){var n=e.call(this,t,r,void 0)||this;return n.targetVersion=t,n.name=r,n}return n(t,e),t.prototype.parse=function(e,t,r){var n=r.parseAction(e.parent,t[this.name],[],!1);if(void 0!==n){if(n instanceof V)return n;r.logParseEvent(e,o.ValidationEvent.ActionTypeNotAllowed,d.Strings.errors.actionTypeNotAllowed(n.getJsonTypeName()))}r.logParseEvent(e,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.propertyMustBeSet("action"))},t.prototype.toJSON=function(e,t,r,n){n.serializeValue(t,this.name,r?r.toJSON(n):void 0,void 0,!0)},t}(p.PropertyDefinition);t.RefreshActionProperty=ae;var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),Object.defineProperty(t.prototype,"action",{get:function(){return this.getValue(t.actionProperty)},set:function(e){this.setValue(t.actionProperty,e),e&&e.setParent(this.parent)},enumerable:!1,configurable:!0}),t.prototype.getSchemaKey=function(){return"RefreshDefinition"},t.actionProperty=new ae(p.Versions.v1_4,"action"),t.userIdsProperty=new p.StringArrayProperty(p.Versions.v1_4,"userIds"),i([p.property(t.actionProperty)],t.prototype,"action",null),i([p.property(t.userIdsProperty)],t.prototype,"userIds",void 0),t}(p.SerializableObject);t.RefreshDefinition=se;var ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getSchemaKey=function(){return"AuthCardButton"},t.typeProperty=new p.StringProperty(p.Versions.v1_4,"type"),t.titleProperty=new p.StringProperty(p.Versions.v1_4,"title"),t.imageProperty=new p.StringProperty(p.Versions.v1_4,"image"),t.valueProperty=new p.StringProperty(p.Versions.v1_4,"value"),i([p.property(t.typeProperty)],t.prototype,"type",void 0),i([p.property(t.titleProperty)],t.prototype,"title",void 0),i([p.property(t.imageProperty)],t.prototype,"image",void 0),i([p.property(t.valueProperty)],t.prototype,"value",void 0),t}(p.SerializableObject);t.AuthCardButton=ue;var ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getSchemaKey=function(){return"TokenExchangeResource"},t.idProperty=new p.StringProperty(p.Versions.v1_4,"id"),t.uriProperty=new p.StringProperty(p.Versions.v1_4,"uri"),t.providerIdProperty=new p.StringProperty(p.Versions.v1_4,"providerId"),i([p.property(t.idProperty)],t.prototype,"id",void 0),i([p.property(t.uriProperty)],t.prototype,"uri",void 0),i([p.property(t.providerIdProperty)],t.prototype,"providerId",void 0),t}(p.SerializableObject);t.TokenExchangeResource=ce;var le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.getSchemaKey=function(){return"Authentication"},t.textProperty=new p.StringProperty(p.Versions.v1_4,"text"),t.connectionNameProperty=new p.StringProperty(p.Versions.v1_4,"connectionName"),t.buttonsProperty=new p.SerializableObjectCollectionProperty(p.Versions.v1_4,"buttons",ue),t.tokenExchangeResourceProperty=new p.SerializableObjectProperty(p.Versions.v1_4,"tokenExchangeResource",ce,!0),i([p.property(t.textProperty)],t.prototype,"text",void 0),i([p.property(t.connectionNameProperty)],t.prototype,"connectionName",void 0),i([p.property(t.buttonsProperty)],t.prototype,"buttons",void 0),i([p.property(t.tokenExchangeResourceProperty)],t.prototype,"tokenExchangeResource",void 0),t}(p.SerializableObject);t.Authentication=le;var pe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.designMode=!1,t}return n(t,e),Object.defineProperty(t.prototype,"refresh",{get:function(){return this.getValue(t.refreshProperty)},set:function(e){this.setValue(t.refreshProperty,e),e&&(e.parent=this)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"processMarkdown",{get:function(){throw new Error(d.Strings.errors.processMarkdownEventRemoved())},set:function(e){throw new Error(d.Strings.errors.processMarkdownEventRemoved())},enumerable:!1,configurable:!0}),t.applyMarkdown=function(e){var r={didProcess:!1};if(t.onProcessMarkdown)t.onProcessMarkdown(e,r);else if(window.markdownit){var n=window.markdownit;r.outputHtml=n().render(e),r.didProcess=!0}else console.warn(d.Strings.errors.markdownProcessingNotEnabled);return r},t.prototype.isVersionSupported=function(){return!!this.bypassVersionCheck||!(!this.version||!this.version.isValid||this.maxVersion.major<this.version.major||this.maxVersion.major==this.version.major&&this.maxVersion.minor<this.version.minor)},t.prototype.getDefaultSerializationContext=function(){return new he(this.version)},t.prototype.getItemsCollectionPropertyName=function(){return"body"},t.prototype.internalParse=function(r,n){this._fallbackCard=void 0;var i=n.parseElement(void 0,r.fallback,!this.isDesignMode());i&&(this._fallbackCard=new t,this._fallbackCard.addItem(i)),e.prototype.internalParse.call(this,r,n)},t.prototype.internalToJSON=function(r,n){this.setValue(t.versionProperty,n.targetVersion),e.prototype.internalToJSON.call(this,r,n)},t.prototype.internalRender=function(){var t=e.prototype.internalRender.call(this);return a.GlobalSettings.useAdvancedCardBottomTruncation&&t&&t.style.removeProperty("minHeight"),t}
2,t.prototype.getHasBackground=function(){return!0},t.prototype.getDefaultPadding=function(){return new a.PaddingDefinition(o.Spacing.Padding,o.Spacing.Padding,o.Spacing.Padding,o.Spacing.Padding)},t.prototype.shouldSerialize=function(e){return!0},Object.defineProperty(t.prototype,"renderIfEmpty",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bypassVersionCheck",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowCustomStyle",{get:function(){return this.hostConfig.adaptiveCard&&this.hostConfig.adaptiveCard.allowCustomStyle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasBackground",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getJsonTypeName=function(){return"AdaptiveCard"},t.prototype.internalValidateProperties=function(t){e.prototype.internalValidateProperties.call(this,t),"AdaptiveCard"!==this.getValue(h.typeNameProperty)&&t.addFailure(this,o.ValidationEvent.MissingCardType,d.Strings.errors.invalidCardType()),this.bypassVersionCheck||this.version?this.isVersionSupported()||t.addFailure(this,o.ValidationEvent.UnsupportedCardVersion,d.Strings.errors.unsupportedCardVersion(this.version.toString(),this.maxVersion.toString())):t.addFailure(this,o.ValidationEvent.PropertyCantBeNull,d.Strings.errors.propertyMustBeSet("version"))},t.prototype.render=function(t){var r;return this.shouldFallback()&&this._fallbackCard?(this._fallbackCard.hostConfig=this.hostConfig,r=this._fallbackCard.render()):(r=e.prototype.render.call(this))&&(r.classList.add(this.hostConfig.makeCssClassName("ac-adaptiveCard")),a.GlobalSettings.setTabIndexAtCardRoot&&(r.tabIndex=0),this.speak&&r.setAttribute("aria-label",this.speak)),t&&(s.appendChild(t,r),this.updateLayout()),r},t.prototype.updateLayout=function(t){if(void 0===t&&(t=!0),e.prototype.updateLayout.call(this,t),a.GlobalSettings.useAdvancedCardBottomTruncation&&this.isDisplayed()){var r=this.hostConfig.getEffectiveSpacing(o.Spacing.Default);this.handleOverflow(this.renderedElement.offsetHeight-r)}},t.prototype.shouldFallback=function(){return e.prototype.shouldFallback.call(this)||!this.isVersionSupported()},Object.defineProperty(t.prototype,"hasVisibleSeparator",{get:function(){return!1},enumerable:!1,configurable:!0}),t.schemaUrl="http://adaptivecards.io/schemas/adaptive-card.json",t.$schemaProperty=new p.CustomProperty(p.Versions.v1_0,"$schema",(function(e,r,n,i){return t.schemaUrl}),(function(e,r,n,i,o){o.serializeValue(n,r.name,t.schemaUrl)})),t.versionProperty=new p.CustomProperty(p.Versions.v1_0,"version",(function(e,t,r,n){var i=p.Version.parse(r[t.name],n);return void 0===i&&(i=p.Versions.latest,n.logParseEvent(e,o.ValidationEvent.InvalidPropertyValue,d.Strings.errors.invalidCardVersion(i.toString()))),i}),(function(e,t,r,n,i){void 0!==n&&i.serializeValue(r,t.name,n.toString())}),p.Versions.v1_0),t.fallbackTextProperty=new p.StringProperty(p.Versions.v1_0,"fallbackText"),t.speakProperty=new p.StringProperty(p.Versions.v1_0,"speak"),t.refreshProperty=new p.SerializableObjectProperty(p.Versions.v1_4,"refresh",se,!0),t.authenticationProperty=new p.SerializableObjectProperty(p.Versions.v1_4,"authentication",le,!0),i([p.property(t.versionProperty)],t.prototype,"version",void 0),i([p.property(t.fallbackTextProperty)],t.prototype,"fallbackText",void 0),i([p.property(t.speakProperty)],t.prototype,"speak",void 0),i([p.property(t.refreshProperty)],t.prototype,"refresh",null),i([p.property(t.authenticationProperty)],t.prototype,"authentication",void 0),t}(oe);t.AdaptiveCard=pe;var fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.suppressStyle=!1,t}return n(t,e),t.prototype.getSchemaKey=function(){return"InlineAdaptiveCard"},t.prototype.populateSchema=function(t){e.prototype.populateSchema.call(this,t),t.remove(pe.$schemaProperty,pe.versionProperty)},t.prototype.getDefaultPadding=function(){return new a.PaddingDefinition(this.suppressStyle?o.Spacing.None:o.Spacing.Padding,o.Spacing.Padding,this.suppressStyle?o.Spacing.None:o.Spacing.Padding,o.Spacing.Padding)},Object.defineProperty(t.prototype,"bypassVersionCheck",{get:function(){return!0}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultStyle",{get:function(){return this.suppressStyle?o.ContainerStyle.Default:this.hostConfig.actions.showCard.style?this.hostConfig.actions.showCard.style:o.ContainerStyle.Emphasis},enumerable:!1,configurable:!0}),t.prototype.render=function(t){var r=e.prototype.render.call(this,t);return r&&(r.setAttribute("aria-live","polite"),r.removeAttribute("tabindex")),r},t}(pe),de=function(){function e(){}return e.populateWithDefaultElements=function(e){e.clear(),e.register("Container",Z),e.register("TextBlock",y),e.register("RichTextBlock",b,p.Versions.v1_2),e.register("TextRun",T,p.Versions.v1_2),e.register("Image",A),e.register("ImageSet",C),e.register("Media",I,p.Versions.v1_1),e.register("FactSet",_),e.register("ColumnSet",ee),e.register("ActionSet",$,p.Versions.v1_2),e.register("Input.Text",P),e.register("Input.Date",M),e.register("Input.Time",j),e.register("Input.Number",x),e.register("Input.ChoiceSet",k),e.register("Input.Toggle",N)},e.populateWithDefaultActions=function(e){e.clear(),e.register(z.JsonTypeName,z),e.register(F.JsonTypeName,F),e.register(W.JsonTypeName,W),e.register(H.JsonTypeName,H,p.Versions.v1_2),e.register(V.JsonTypeName,V,p.Versions.v1_4)},e.reset=function(){e.populateWithDefaultElements(e.elements),e.populateWithDefaultActions(e.actions)},e.elements=new f.CardObjectRegistry,e.actions=new f.CardObjectRegistry,e}();t.GlobalRegistry=de,de.reset();var he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalParseCardObject=function(e,t,r,n,i,o){var u=void 0;if(t&&"object"===typeof t){var c=s.parseString(t.type);if(c)if(r.indexOf(c)>=0)o(c,1);else{var l=!1;if((u=i(c))?(u.setParent(e),u.parse(t,this),l=a.GlobalSettings.enableFallback&&n&&u.shouldFallback()):(l=a.GlobalSettings.enableFallback&&n,o(c,0)),l){var p=t.fallback;!p&&e&&e.setShouldFallback(!0),"string"===typeof p&&"drop"===p.toLowerCase()?u=void 0:"object"===typeof p&&(u=this.internalParseCardObject(e,p,r,!0,i,o))}}}return u},t.prototype.cardObjectParsed=function(e,t){e instanceof U&&this.onParseAction?this.onParseAction(e,t,this):e instanceof h&&this.onParseElement&&this.onParseElement(e,t,this)},t.prototype.shouldSerialize=function(e){return e instanceof U?void 0!==this.actionRegistry.findByName(e.getJsonTypeName()):!(e instanceof h)||void 0!==this.elementRegistry.findByName(e.getJsonTypeName())},t.prototype.parseCardObject=function(e,t,r,n,i,o){var a=this.internalParseCardObject(e,t,r,n,i,o);return void 0!==a&&this.cardObjectParsed(a,t),a},t.prototype.parseElement=function(e,t,r){var n=this;return this.parseCardObject(e,t,[],r,(function(e){return n.elementRegistry.createInstance(e,n.targetVersion)}),(function(e,t){0===t?n.logParseEvent(void 0,o.ValidationEvent.UnknownElementType,d.Strings.errors.unknownElementType(e)):n.logParseEvent(void 0,o.ValidationEvent.ElementTypeNotAllowed,d.Strings.errors.elementTypeNotAllowed(e))}))},t.prototype.parseAction=function(e,t,r,n){var i=this;return this.parseCardObject(e,t,r,n,(function(e){return i.actionRegistry.createInstance(e,i.targetVersion)}),(function(e,t){0==t?i.logParseEvent(void 0,o.ValidationEvent.UnknownActionType,d.Strings.errors.unknownActionType(e)):i.logParseEvent(void 0,o.ValidationEvent.ActionTypeNotAllowed,d.Strings.errors.actionTypeNotAllowed(e))}))},Object.defineProperty(t.prototype,"elementRegistry",{get:function(){return this._elementRegistry?this._elementRegistry:de.elements},enumerable:!1,configurable:!0}),t.prototype.setElementRegistry=function(e){this._elementRegistry=e},Object.defineProperty(t.prototype,"actionRegistry",{get:function(){return this._actionRegistry?this._actionRegistry:de.actions},enumerable:!1,configurable:!0}),t.prototype.setActionRegistry=function(e){this._actionRegistry=e},t}(p.BaseSerializationContext);t.SerializationContext=he},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHostConfig=t.HostConfig=t.FontTypeSet=t.FontTypeDefinition=t.ContainerStyleSet=t.ContainerStyleDefinition=t.ColorSetDefinition=t.ActionsConfig=t.ShowCardActionConfig=t.FactSetConfig=t.FactTitleDefinition=t.FactTextDefinition=t.InputConfig=t.InputLabelConfig=t.RequiredInputLabelTextDefinition=t.BaseTextDefinition=t.MediaConfig=t.ImageSetConfig=t.AdaptiveCardConfig=t.TextColorDefinition=t.ColorDefinition=void 0;var i=r(140),o=r(242),a=r(160),s=r(747);function u(e,t,r){if("string"===typeof t){var n=o.parseEnum(e,t,r);return void 0!==n?n:r}return"number"===typeof t?t:r}var c=function(){function e(e,t){this.default="#000000",this.subtle="#666666",e&&(this.default=e),t&&(this.subtle=t)}return e.prototype.parse=function(e){e&&(this.default=e.default||this.default,this.subtle=e.subtle||this.subtle)},e}();t.ColorDefinition=c;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.highlightColors=new c("#22000000","#11000000"),t}return n(t,e),t.prototype.parse=function(t){e.prototype.parse.call(this,t),t&&this.highlightColors.parse(t.highlightColors)},t}(c);t.TextColorDefinition=l;var p=function(e){this.allowCustomStyle=!1,e&&(this.allowCustomStyle=e.allowCustomStyle||this.allowCustomStyle)};t.AdaptiveCardConfig=p;var f=function(){function e(e){this.imageSize=i.Size.Medium,this.maxImageHeight=100,e&&(this.imageSize=null!=e.imageSize?e.imageSize:this.imageSize,this.maxImageHeight=o.parseNumber(e.maxImageHeight,100))}return e.prototype.toJSON=function(){return{imageSize:i.Size[this.imageSize],maxImageHeight:this.maxImageHeight}},e}();t.ImageSetConfig=f;var d=function(){function e(e){this.allowInlinePlayback=!0,e&&(this.defaultPoster=e.defaultPoster,this.allowInlinePlayback=e.allowInlinePlayback||this.allowInlinePlayback)}return e.prototype.toJSON=function(){return{defaultPoster:this.defaultPoster,allowInlinePlayback:this.allowInlinePlayback}},e}();t.MediaConfig=d;var h=function(){function e(e){this.size=i.TextSize.Default,this.color=i.TextColor.Default,this.isSubtle=!1,this.weight=i.TextWeight.Default,e&&(this.size=u(i.TextSize,e.size,this.size),this.color=u(i.TextColor,e.color,this.color),this.isSubtle=e.isSubtle||this.isSubtle,this.weight=u(i.TextWeight,e.weight,this.getDefaultWeight()))}return e.prototype.getDefaultWeight=function(){return i.TextWeight.Default},e.prototype.toJSON=function(){return{size:i.TextSize[this.size],color:i.TextColor[this.color],isSubtle:this.isSubtle,weight:i.TextWeight[this.weight]}},e}();t.BaseTextDefinition=h;var v=function(e){function t(t){var r=e.call(this,t)||this;return r.suffix=" *",r.suffixColor=i.TextColor.Attention,t&&(r.suffix=t.suffix||r.suffix,r.suffixColor=u(i.TextColor,t.suffixColor,r.suffixColor)),r}return n(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.suffix=this.suffix,t.suffixColor=i.TextColor[this.suffixColor],t},t}(h);t.RequiredInputLabelTextDefinition=v;var m=function(e){this.inputSpacing=i.Spacing.Small,this.requiredInputs=new v,this.optionalInputs=new h,e&&(this.inputSpacing=u(i.Spacing,e.inputSpacing,this.inputSpacing),this.requiredInputs=new v(e.requiredInputs),this.optionalInputs=new h(e.optionalInputs))};t.InputLabelConfig=m;var y=function(e){this.label=new m,this.errorMessage=new h({color:i.TextColor.Attention}),e&&(this.label=new m(e.label),this.errorMessage=new h(e.errorMessage))};t.InputConfig=y;var T=function(e){function t(t){var r=e.call(this,t)||this;return r.wrap=!0,t&&(r.wrap=null!=t.wrap?t.wrap:r.wrap),r}return n(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.wrap=this.wrap,t},t}(h);t.FactTextDefinition=T;var b=function(e){function t(t){var r=e.call(this,t)||this;return r.maxWidth=150,r.weight=i.TextWeight.Bolder,t&&(r.maxWidth=null!=t.maxWidth?t.maxWidth:r.maxWidth,r.weight=u(i.TextWeight,t.weight,i.TextWeight.Bolder)),r}return n(t,e),t.prototype.getDefaultWeight=function(){return i.TextWeight.Bolder},t}(T);t.FactTitleDefinition=b;var g=function(e){this.title=new b,this.value=new T,this.spacing=10,e&&(this.title=new b(e.title),this.value=new T(e.value),this.spacing=e.spacing&&null!=e.spacing?e.spacing&&e.spacing:this.spacing)};t.FactSetConfig=g;var _=function(){function e(e){this.actionMode=i.ShowCardActionMode.Inline,this.inlineTopMargin=16,this.style=i.ContainerStyle.Emphasis,e&&(this.actionMode=u(i.ShowCardActionMode,e.actionMode,i.ShowCardActionMode.Inline),this.inlineTopMargin=null!=e.inlineTopMargin?e.inlineTopMargin:this.inl
2ineTopMargin,this.style=e.style&&"string"===typeof e.style?e.style:i.ContainerStyle.Emphasis)}return e.prototype.toJSON=function(){return{actionMode:i.ShowCardActionMode[this.actionMode],inlineTopMargin:this.inlineTopMargin,style:this.style}},e}();t.ShowCardActionConfig=_;var S=function(){function e(e){if(this.maxActions=5,this.spacing=i.Spacing.Default,this.buttonSpacing=20,this.showCard=new _,this.preExpandSingleShowCardAction=!1,this.actionsOrientation=i.Orientation.Horizontal,this.actionAlignment=i.ActionAlignment.Left,this.iconPlacement=i.ActionIconPlacement.LeftOfTitle,this.allowTitleToWrap=!1,this.iconSize=16,e){this.maxActions=null!=e.maxActions?e.maxActions:this.maxActions,this.spacing=u(i.Spacing,e.spacing&&e.spacing,i.Spacing.Default),this.buttonSpacing=null!=e.buttonSpacing?e.buttonSpacing:this.buttonSpacing,this.showCard=new _(e.showCard),this.preExpandSingleShowCardAction=o.parseBool(e.preExpandSingleShowCardAction,!1),this.actionsOrientation=u(i.Orientation,e.actionsOrientation,i.Orientation.Horizontal),this.actionAlignment=u(i.ActionAlignment,e.actionAlignment,i.ActionAlignment.Left),this.iconPlacement=u(i.ActionIconPlacement,e.iconPlacement,i.ActionIconPlacement.LeftOfTitle),this.allowTitleToWrap=null!=e.allowTitleToWrap?e.allowTitleToWrap:this.allowTitleToWrap;try{var t=a.SizeAndUnit.parse(e.iconSize);t.unit==i.SizeUnit.Pixel&&(this.iconSize=t.physicalSize)}catch(r){}}}return e.prototype.toJSON=function(){return{maxActions:this.maxActions,spacing:i.Spacing[this.spacing],buttonSpacing:this.buttonSpacing,showCard:this.showCard,preExpandSingleShowCardAction:this.preExpandSingleShowCardAction,actionsOrientation:i.Orientation[this.actionsOrientation],actionAlignment:i.ActionAlignment[this.actionAlignment]}},e}();t.ActionsConfig=S;var A=function(){function e(e){this.default=new l,this.dark=new l,this.light=new l,this.accent=new l,this.good=new l,this.warning=new l,this.attention=new l,this.parse(e)}return e.prototype.parseSingleColor=function(e,t){e&&this[t].parse(e[t])},e.prototype.parse=function(e){e&&(this.parseSingleColor(e,"default"),this.parseSingleColor(e,"dark"),this.parseSingleColor(e,"light"),this.parseSingleColor(e,"accent"),this.parseSingleColor(e,"good"),this.parseSingleColor(e,"warning"),this.parseSingleColor(e,"attention"))},e}();t.ColorSetDefinition=A;var E=function(){function e(e){this.foregroundColors=new A({default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#E69500",subtle:"#DDE69500"},attention:{default:"#CC3300",subtle:"#DDCC3300"}}),this.parse(e)}return e.prototype.parse=function(e){e&&(this.backgroundColor=e.backgroundColor,this.foregroundColors.parse(e.foregroundColors),this.highlightBackgroun
2dColor=e.highlightBackgroundColor,this.highlightForegroundColor=e.highlightForegroundColor)},Object.defineProperty(e.prototype,"isBuiltIn",{get:function(){return!1},enumerable:!1,configurable:!0}),e}();t.ContainerStyleDefinition=E;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),Object.defineProperty(t.prototype,"isBuiltIn",{get:function(){return!0},enumerable:!1,configurable:!0}),t}(E),O=function(){function e(e){if(this._allStyles={},this._allStyles[i.ContainerStyle.Default]=new C,this._allStyles[i.ContainerStyle.Emphasis]=new C,this._allStyles[i.ContainerStyle.Accent]=new C,this._allStyles[i.ContainerStyle.Good]=new C,this._allStyles[i.ContainerStyle.Attention]=new C,this._allStyles[i.ContainerStyle.Warning]=new C,e){this._allStyles[i.ContainerStyle.Default].parse(e[i.ContainerStyle.Default]),this._allStyles[i.ContainerStyle.Emphasis].parse(e[i.ContainerStyle.Emphasis]),this._allStyles[i.ContainerStyle.Accent].parse(e[i.ContainerStyle.Accent]),this._allStyles[i.ContainerStyle.Good].parse(e[i.ContainerStyle.Good]),this._allStyles[i.ContainerStyle.Attention].parse(e[i.ContainerStyle.Attention]),this._allStyles[i.ContainerStyle.Warning].parse(e[i.ContainerStyle.Warning]);var t=e.customStyles;if(t&&Array.isArray(t))for(var r=0,n=t;r<n.length;r++){var o=n[r];if(o){var a=o.name;a&&"string"===typeof a&&(this._allStyles.hasOwnProperty(a)?this._allStyles[a].parse(o.style):this._allStyles[a]=new E(o.style))}}}}return e.prototype.toJSON=function(){var e=this,t=[];Object.keys(this._allStyles).forEach((function(r){e._allStyles[r].isBuiltIn||t.push({name:r,style:e._allStyles[r]})}));var r={default:this.default,emphasis:this.emphasis};return t.length>0&&(r.customStyles=t),r},e.prototype.getStyleByName=function(e,t){return e&&this._allStyles.hasOwnProperty(e)?this._allStyles[e]:t||this._allStyles[i.ContainerStyle.Default]},Object.defineProperty(e.prototype,"default",{get:function(){return this._allStyles[i.ContainerStyle.Default]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"emphasis",{get:function(){return this._allStyles[i.ContainerStyle.Emphasis]},enumerable:!1,configurable:!0}),e}();t.ContainerStyleSet=O;var I=function(){function e(e){this.fontFamily="Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif",this.fontSizes={small:12,default:14,medium:17,large:21,extraLarge:26},this.fontWeights={lighter:200,default:400,bolder:600},e&&(this.fontFamily=e)}return e.prototype.parse=function(e){this.fontFamily=e.fontFamily||this.fontFamily,this.fontSizes={small:e.fontSizes&&e.fontSizes.small||this.fontSizes.small,default:e.fontSizes&&e.fontSizes.default||this.fontSizes.default,medium:e.fontSizes&&e.fontSizes.medium||this.fontSizes.medium,large:e.fontSizes&&e.fontSizes.large||this.fontSizes.large,extraLarge:e.fontSizes&&e.fontSizes.extraLarge||this.fontSizes.extraLarge},this.fontWeights={lighter:e.fontWeights&&e.fontWeights.lighter||this.fontWeights.lighter,default:e.fontWeights&&e.fontWeights.default||this.fontWeights.default,bolder:e.fontWeights&&e.fontWeights.bolder||this.fontWeights.bolder}},e.monospace=new e("'Courier New', Courier, monospace"),e}();t.FontTypeDefinition=I;var w=function(){function e(e){this.default=new I,this.monospace=new I("'Courier New', Courier, monospace"),e&&(this.default.parse(e.default),this.monospace.parse(e.monospace))}return e.prototype.getStyleDefinition=function(e){switch(e){case i.FontType.Monospace:return this.monospace;case i.FontType.Default:default:return this.default}},e}();t.FontTypeSet=w;var P=function(){function e(e){this.hostCapabilities=new s.HostCapabilities,this.choiceSetInputValueSeparator=",",this.supportsInteractivity=!0,this.spacing={small:3,default:8,medium:20,large:30,extraLarge:40,padding:15},this.separator={lineThickness:1,lineColor:"#EEEEEE"},this.imageSizes={small:40,medium:80,large:160},this.containerStyles=new O,this.inputs=new y,this.actions=new S,this.adaptiveCard=new p,this.imageSet=new f,this.media=new d,this.factSet=new g,this.alwaysAllowBleed=!1,e&&(("string"===typeof e||e instanceof String)&&(e=JSON.parse(e)),this.choiceSetInputValueSeparator=e&&"string"===typeof e.choiceSetInputValueSeparator?e.choiceSetInputValueSeparator:this.choiceSetInputValueSeparator,this.supportsInteractivity=e&&"boolean"===typeof e.supportsInteractivity?e.supp
2ortsInteractivity:this.supportsInteractivity,this._legacyFontType=new I,this._legacyFontType.parse(e),e.fontTypes&&(this.fontTypes=new w(e.fontTypes)),e.lineHeights&&(this.lineHeights={small:e.lineHeights.small,default:e.lineHeights.default,medium:e.lineHeights.medium,large:e.lineHeights.large,extraLarge:e.lineHeights.extraLarge}),this.imageSizes={small:e.imageSizes&&e.imageSizes.small||this.imageSizes.small,medium:e.imageSizes&&e.imageSizes.medium||this.imageSizes.medium,large:e.imageSizes&&e.imageSizes.large||this.imageSizes.large},this.containerStyles=new O(e.containerStyles),this.spacing={small:e.spacing&&e.spacing.small||this.spacing.small,default:e.spacing&&e.spacing.default||this.spacing.default,medium:e.spacing&&e.spacing.medium||this.spacing.medium,large:e.spacing&&e.spacing.large||this.spacing.large,extraLarge:e.spacing&&e.spacing.extraLarge||this.spacing.extraLarge,padding:e.spacing&&e.spacing.padding||this.spacing.padding},this.separator={lineThickness:e.separator&&e.separator.lineThickness||this.separator.lineThickness,lineColor:e.separator&&e.separator.lineColor||this.separator.lineColor},this.inputs=new y(e.inputs||this.inputs),this.actions=new S(e.actions||this.actions),this.adaptiveCard=new p(e.adaptiveCard||this.adaptiveCard),this.imageSet=new f(e.imageSet),this.factSet=new g(e.factSet))}return e.prototype.getFontTypeDefinition=function(e){return this.fontTypes?this.fontTypes.getStyleDefinition(e):e==i.FontType.Monospace?I.monospace:this._legacyFontType},e.prototype.getEffectiveSpacing=function(e){switch(e){case i.Spacing.Small:return this.spacing.small;case i.Spacing.Default:return this.spacing.default;case i.Spacing.Medium:return this.spacing.medium;case i.Spacing.Large:return this.spacing.large;case i.Spacing.ExtraLarge:return this.spacing.extraLarge;case i.Spacing.Padding:return this.spacing.padding;default:return 0}},e.prototype.paddingDefinitionToSpacingDefinition=function(e){return new a.SpacingDefinition(this.getEffectiveSpacing(e.top),this.getEffectiveSpacing(e.right),this.getEffectiveSpacing(e.bottom),this.getEffectiveSpacing(e.left))},e.prototype.makeCssClassNames=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,i=e;n<i.length;n++){var o=i[n];r.push((this.cssClassNamePrefix?this.cssClassNamePrefix+"-":"")+o)}return r},e.prototype.makeCssClassName=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.makeCssClassNames.apply(this,e).join(" ");return r||""},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this._legacyFontType.fontFamily},set:function(e){this._legacyFontType.fontFamily=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontSizes",{get:function(){return this._legacyFontType.fontSizes},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontWeights",{get:function(){return this._legacyFontType.fontWeights},enumerable:!1,configurable:!0}),e}();t.HostConfig=P,t.defaultHostConfig=new P({supportsInteractivity:!0,spacing:{small:10,default:20,medium:30,large:40,extraLarge:50,padding:20},separator:{lineThickness:1,lineColor:"#EEEEEE"},fontTypes:{default:{fontFamily:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600}},monospace:{fontFamily:"'Courier New', Courier, monospace",fontSizes:{small:12,default:14,medium:17,large:21,extraLarge:26},fontWeights:{lighter:200,default:400,bolder:600}}},imageSizes:{small:40,medium:80,large:160},containerStyles:{default:{backgroundColor:"#FFFFFF",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},emphasis:{backgroundColor:"#08000000",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},accent:{backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},good:{backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},attention:{backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}},warning:{backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#333333",subtle:"#EE333333"},dark:{default:"#000000",subtle:"#66000000"},light:{default:"#FFFFFF",subtle:"#33000000"},accent:{default:"#2E89FC",subtle:"#882E89FC"},attention:{default:"#cc3300",subtle:"#DDcc3300"},good:{default:"#028A02",subtle:"#DD027502"},warning:{default:"#e69500",subtle:"#DDe69500"}}}},inputs:{label:{requiredInputs:{color:i.TextColor.Accent,size:i.TextSize.ExtraLarge,weight:i.TextWeight.Bolder,isSubtle:!0,suffix:" (required)",suffixColor:i.TextColor.Good},optionalInputs:{color:i.TextColor.Warning,size:i.TextSize.Medium,weight:i.TextWeight.Lighter,isSubtle:!1}},errorMessage:{color:i.TextColor.Accent,size:i.TextSize.Small,weight:i.TextWeight.Bolder}},actions:{maxActions:5,spacing:i.Spacing.Default,buttonSpacing:10,showCard:{actionMode:i.ShowCardActionMode.Inline,inlineTopMargin:16},actionsOrientation:i.Orientation.Horizontal,actionAlignment:i.ActionAlignment.Left},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:i.Size.Medium,maxImageHeight:100},factSet:{title:{color:i.TextColor.Default,size:i.TextSize.Default,isSubtle:!1,weight:i.TextWeight.Bolder,wrap:!0,maxWidth:150},value:{color:i.TextColor.Default,size:i.TextSize.Default,isSubtle:!1,weight:i.TextWeight.Default,wrap:!0},spacing:10}})},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.LoginRequestResponse=t.ErrorResponse=t.SuccessResponse=t.ActivityResponse=t.ActivityRequestError=t.ActivityRequestTrigger=void 0,function(e){e.Automatic="automatic",e.Manual="manual"}(t.ActivityRequestTrigger||(t.ActivityRequestTrigger={}));var i=function(e,t){this.code=e,this.message=t};t.ActivityRequestError=i;var o=function(e){this.request=e};t.ActivityResponse=o;var a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.request=t,n.rawContent=r,n}return n(t,e),t}(o);t.SuccessResponse=a;var s=function(e){function t(t,r){var n=e.call(this,t)||this;return n.request=t,n.error=r,n}return n(t,e),t}(o);t.ErrorResponse=s;var u=function(e){function t(t,r){var n=e.call(this,t)||this;n.request=t,n._auth=r;for(var i=0,o=n._auth.buttons;i<o.length;i++){var a=o[i];if("signin"===a.type&&void 0!==a.value)try{new URL(a.value),n.signinButton=a;break}catch(s){}}return n}return n(t,e),Object.defineProperty(t.prototype,"tokenExchangeResource",{get:function(){return this._auth.tokenExchangeResource},enumerable:!1,configurable:!0}),t}(o);t.LoginRequestResponse=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(63)),o=r(54),a=n(r(5)),s=n(r(0)),u=n(r(328)),c=o.Components.AudioContent,l=o.hooks.useStyleSet,p=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,o=l(),a=(0,i.default)(o,1)[0].audioCardAttachment,p=r.autostart,f=void 0!==p&&p,d=r.autoloop,h=void 0!==d&&d,v=r.image,m=(v=void 0===v?{}:v).url,y=void 0===m?"":m,T=r.media,b=void 0===T?[]:T;return s.default.createElement("div",{className:a},s.default.createElement("ul",{className:"media-list"},b.map((function(e,t){var r=e.url;return s.default.createElement("li",{key:t},s.default.createElement(c,{autoPlay:f,loop:h,poster:y,src:r}))}))),s.default.createElement(u.default,{actionPerformedClassName:t,content:r,disabled:n}))};p.defaultProps={actionPerformedClassName:"",disabled:void 0},p.propTypes={actionPerformedClassName:a.default.string,content:a.default.shape({autostart:a.default.bool,autoloop:a.default.bool,image:a.default.shape({url:a.default.string.isRequired}),media:a.default.arrayOf(a.default.shape({url:a.default.string.isRequired}).isRequired).isRequired}).isRequired,disabled:a.default.bool};var f=p;t.default=f},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var h=r[0].attachment;return"application/vnd.microsoft.card.hero"===h.contentType?i.default.createElement(u.default,{attachment:h}):"application/vnd.microsoft.card.adaptive"===h.contentType?i.default.createElement(o.default,{attachment:h}):"application/vnd.microsoft.card.animation"===h.contentType?i.default.createElement(a.default,{attachment:h}):"application/vnd.microsoft.card.audio"===h.contentType?i.default.createElement(s.default,{attachment:h}):"application/vnd.microsoft.card.oauth"===h.contentType?i.default.createElement(c.default,{attachment:h}):"application/vnd.microsoft.card.receipt"===h.contentType?i.default.createElement(l.default,{attachment:h}):"application/vnd.microsoft.card.signin"===h.contentType?i.default.createElement(p.default,{attachment:h}):"application/vnd.microsoft.card.thumbnail"===h.contentType?i.default.createElement(f.default,{attachment:h}):"application/vnd.microsoft.card.video"===h.contentType?i.default.createElement(d.default,{attachment:h}):e.apply(void 0,r)}}}};var i=n(r(0)),o=n(r(1579)),a=n(r(1580)),s=n(r(1581)),u=n(r(1582)),c=n(r(1583)),l=n(r(1584)),p=n(r(1586)),f=n(r(1587)),d=n(r(1588))},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(63)),a=r(54),s=n(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),c=n(r(241)),l=n(r(192)),p=n(r(128)),f=n(r(139));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}var h=a.hooks.useDirection,v=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,i=(0,p.default)(),a=(0,o.default)(i,1)[0],s=(0,f.default)(),d=(0,o.default)(s,1)[
20],v=h(),m=(0,o.default)(v,1)[0],y=(0,u.useMemo)((function(){var e=new c.default(a,d,m);if(r)return(r.images||[]).forEach((function(t){return e.addImage(t.url,null,t.tap,t.alt)})),e.addCommon(r),e.card}),[a,r,m,d]);return u.default.createElement(l.default,{actionPerformedClassName:t,adaptiveCard:y,disabled:n,tapAction:r&&r.tap})};v.defaultProps={actionPerformedClassName:"",disabled:void 0},v.propTypes={actionPerformedClassName:s.default.string,content:s.default.shape({images:s.default.arrayOf(s.default.shape({alt:s.default.string,tap:s.default.any,url:s.default.string.isRequired})),tap:s.default.any}).isRequired,disabled:s.default.bool};var m=v;t.default=m},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(63)),a=r(54),s=n(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),c=n(r(241)),l=n(r(192)),p=n(r(128)),f=n(r(139));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}var h=a.hooks.useDirection,v=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,i=(0,p.default)(),a=(0,o.default)(i,1)[0],s=h(),d=(0,o.default)(s,1)[0],v=(0,f.default)(),m=(0,o.default)(v,1)[0],y=(0,u.useMemo)((function(){if(r){var e=new c.default(a,m,d);return e.addCommonHeaders(r),e.addButtons(r.buttons,!0),e.card}}),[a,r,d,m]);return u.default.createElement(l.default,{actionPerformedClassName:t,adaptiveCard:y,disabled:n})};v.defaultProps={actionPerformedClassName:"",disabled:void 0},v.propTypes={actionPerformedClassName:s.default.string,content:s.default.shape({buttons:s.default.array}).isRequired,disabled:s.default.bool};var m=v;t.default=m},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(1585)),a=n(r(63)),s=r(54),u=n(r(5)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),l=n(r(241)),p=n(r(192)),f=n(r(128)),d=n(r(139));function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}var v=s.hooks.useDirection,m=s.hooks.useLocalizer;function y(e){return null===e||"undefined"===typeof e}var T=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,i=(0,f.default)(),s=(0,a.default)(i,1)[0],u=v(),h=(0,a.default)(u,1)[0],T=(0,d.default)(),b=(0,a.default)(T,1)[0],g=m(),_=g("RECEIPT_CARD_TAX"),S=g("RECEIPT_CARD_TOTAL"),A=g("RECEIPT_CARD_VAT"),E=(0,c.useMemo)((function(){var e=new l.default(s,b,h),t=s.HorizontalAlignment,n=s.TextSize,i=s.TextWeight,u=r.buttons,c=r.facts,p=r.items,f=r.tax,d=r.title,v=r.total,m=r.vat,T=b.richCardWrapTitle;if(r){if(e.addTextBlock(d,{size:n.Medium,weight:i.Bolder,wrap:T}),c){var g=e.addColumnSet([75,25]),E=(0,a.default)(g,2),C=E[0],O=E[1];c.map((function(r){var i=r.key,o=r.value;e.addTextBlock(i,{size:n.Medium},C),e.addTextBlock(o,{size:n.Medium,horizontalAlignment:t.Right},O)}))}if(p&&p.map((function(r){var s,u=r.image,c=(u=void 0===u?{}:u).alt,l=u.tap,p=u.url,f=r.price,d=r.quantity,h=r.subtitle,v=r.tap,m=r.text,y=r.title;if(p){var b=e.addColumnSet([15,75,10]),g=(0,o.default)(b),_=g[0];s=g.slice(1),e.addImage(p,_,l,c)}else s=e.addColumnSet([75,25],void 0,v&&v);var S=s,A=(0,a.default)(S,2),E=A[0],C=A[1];e.addTextBlock(d?"".concat(y," &times; ").concat(d):y,{size:n.Medium,weight:i.Bolder,wrap:T},E),e.addTextBlock(h,{size:n.Medium,wrap:T},E),e.addTextBlock(f,{horizontalAlignment:t.Right},C),m&&e.addTextBlock(m,{size:n.Medium,wrap:T},E)})),!y(m)){var I=e.addColumnSet([75,25]);e.addTextBlock(A,{size:n.Medium,weight:i.Bolder},I[0]),e.addTextBlock(m,{horizontalAlignment:t.Right},I[1])}if(!y(f)){var w=e.addColumnSet([75,25]);e.addTextBlock(_,{size:n.Medium,weight:i.Bolder},w[0]),e.addTextBlock(f,{horizontalAlignment:t.Right},w[1])}if(!y(v)){var P=e.addColumnSet([75,25]);e.addTextBlock(S,{size:n.Medium,weight:i.Bolder},P[0]),e.addTextBlock(v,{horizontalAlignment:t.Right,size:n.Medium,weight:i.Bolder},P[1])}return e.addButtons(u),e.card}}),[s,r,h,b,_,S,A]);return c.default.createElement(p.default,{actionPerformedClassName:t,adaptiveCard:E,disabled:n,tapAction:r&&r.tap})};T.defaultProps={actionPerformedClassName:"",disabled:void 0},T.propTypes={actionPerformedClassName:u.default.string,content:u.default.shape({buttons:u.default.array,facts:u.default.arrayOf(u.default.shape({key:u.default.string,value:u.default.string})),items:u.default.arrayOf(u.default.shape({image:u.default.shape({alt:u.default.string.isRequired,tap:u.default.any,url:u.default.string.isRequired}),price:u.default.string.isRequired,quantity:u.default.string,subtitle:u.default.string,tap:u.default.any,text:u.default.string,title:u.default.string.isRequired})),tap:u.default.any,tax:u.default.string,title:u.default.string,total:u.default.string,vat:u.default.string}).isRequired,disabled:u.default.bool};var b=T;t.default=b},function(e,t,r){"use strict";var n=r(18);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(63)),o=r(54),a=n(r(5)),s=n(r(0)),u=n(r(328)),c=o.hooks.useStyleSet,l=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,o=c(),a=(0,i.default)(o,1)[0].animationCardAttachment;return s.default.createElement("div",{className:a},s.default.createElement(u.default,{actionPerformedClassName:t,content:r,disabled:n}))};l.defaultProps={actionPerformedClassName:"",disabled:void 0},l.propTypes={actionPerformedClassName:a.default.string,content:a.default.any.isRequired,disabled:a.default.bool};var p=l;t.default=p},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(63)),a=r(54),s=n(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),c=n(r(241)),l=n(r(192)),p=n(r(128)),f=n(r(139));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}var h=a.hooks.useDirection,v=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,i=(0,p.default)(),a=(0,o.default)(i,1)[0],s=h(),d=(0,o.default)(s,1)[0],v=(0,f.default)(),m=(0,o.default)(v,1)[0],y=(0,u.useMemo)((function(){if(r){var e=new c.default(a,m,d),t=a.TextSize,n=a.TextWeight,i=r.buttons,s=r.images,u=r.subtitle,l=r.text,p=r.title,f=m.richCardWrapTitle;if(s&&s.length){var h=e.addColumnSet([75,25]),v=(0,o.default)(h,2),y=v[0],T=v[1],b=(0,o.default)(s,1)[0],g=b.alt,_=b.tap,S=b.url;e.addTextBlock(p,{size:t.Medium,weight:n.Bolder,wrap:f},y),e.addTextBlock(u,{isSubtle:!0,wrap:f},y),e.addImage(S,T,_,g),e.addTextBlock(l,{wrap:!0}),e.addButtons(i)}else e.addCommon(r);return e.card}}),[a,d,r,m]);return u.default.createElement(l.default,{actionPerformedClassName:t,adaptiveCard:y,disabled:n,tapAction:r&&r.tap})};v.defaultProps={actionPerformedClassName:"",disabled:void 0},v.propTypes={actionPerformedClassName:s.default.string,content:s.default.shape({buttons:s.default.array,images:s.default.arrayOf(s.default.shape({alt:s.default.string.isRequired,tap:s.default.any,url:s.default.string.isRequired})),subtitle:s.default.string,tap:s.default.any,text:s.default.string,title:s.default.string}).isRequired,disabled:s.default.bool};var m=v;t.default=m},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(63)),o=r(54),a=n(r(5)),s=n(r(0)),u=n(r(328)),c=o.hooks.useStyleSet,l=o.Components.VideoContent,p=function(e){var t=e.actionPerformedClassName,r=e.content,n=e.disabled,o=r.autoloop,a=r.autostart,p=r.image,f=(p=void 0===p?{url:void 0}:p).url,d=r.media,h=c(),v=(0,i.default)(h,1)[0].audioCardAttachment;return s.default.createElement("div",{className:v},s.default.createElement("ul",{className:"media-list"},d.map((function(e,t){var r=e.url;return s.default.createElement("li",{key:t},s.default.createElement(l,{autoPlay:a,loop:o,poster:f,src:r}))}))),s.default.createElement(u.default,{actionPerformedClassName:t,content:r,disabled:n}))};p.defaultProps={actionPerformedClassName:"",disabled:void 0},p.propTypes={actionPerformedClassName:a.default.string,content:a.default.shape({autoloop:a.default.bool,autostart:a.default.bool,image:a.default.shape({url:a.default.string.isRequired}),media:a.default.arrayOf(a.default.shape({profile:a.default.string.isRequired,url:a.default.string.isRequired}))}).isRequired,disabled:a.default.bool};var f=p;t.default=f},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var u=r[0].attachment,c=u.content,l=u.contentType;return c&&s.includes(l)?function(){return i.default.createElement(a.default,{content:c})}:c&&"application/vnd.microsoft.card.adaptive"===l?function(){return i.default.createElement(o.default,{content:c})}:e.apply(void 0,r)}}}};var i=n(r(0)),o=n(r(1589)),a=n(r(1590)),s=["application/vnd.microsoft.card.animation","application/vnd.microsoft.card.audio","application/vnd.microsoft.card.hero","application/vnd.microsoft.card.oauth","application/vnd.microsoft.card.receipt","application/vnd.microsoft.card.signin","application/vnd.microsoft.card.thumbnail","application/vnd.microsoft.card.video"]},function(e,t,r){"use strict";var n=r(18);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.useMemo)((function(){return(0,o.default)().toString(36).substr(2,5)}),[]);return e=e?"".concat(e,"--"):"","".concat(e).concat(t)};var i=r(0),o=n(r(86))},function(e,t,r){"use strict";var n=r(456);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createSpeechRecognitionPonyfillFromRecognizer",{enumerable:!0,get:function(){return i.createSpeechRecognitionPonyfillFromRecognizer}}),t.default=void 0;var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}i.default=e,r&&r.set(e,i);return i}(r(1593));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var a=i.default;t.default=a},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(1603),i={AudioConfig:n.AudioConfig,OutputFormat:n.OutputFormat,ResultReason:n.ResultReason,SpeechConfig:n.SpeechConfig,SpeechRecognizer:n.SpeechRecognizer};t.default=i},function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);e.exports=function(){return r(n),n}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionMessage=t.MessageType=void 0;var n,i=r(115),o=r(162);!function(e){e[e.Text=0]="Text",e[e.Binary=1]="Binary"}(n=t.MessageType||(t.MessageType={}));var a=function(){function e(e,t,r,a){if(this.privBody=null,e===n.Text&&t&&"string"!==typeof t)throw new i.InvalidOperationError("Payload must be a string");if(e===n.Binary&&t&&!(t instanceof ArrayBuffer))throw new i.InvalidOperationError("Payload must be ArrayBuffer");switch(this.privMessageType=e,this.privBody=t,this.privHeaders=r||{},this.privId=a||o.createNoDashGuid(),this.messageType){case n.Binary:this.privSize=null!==this.binaryBody?this.binaryBody.byteLength:0;break;case n.Text:this.privSize=this.textBody.length}}return Object.defineProperty(e.prototype,"messageType",{get:function(){return this.privMessageType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.privHeaders},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"body",{get:function(){return this.privBody},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textBody",{get:function(){if(this.privMe
2ssageType===n.Binary)throw new i.InvalidOperationError("Not supported for binary message");return this.privBody},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"binaryBody",{get:function(){if(this.privMessageType===n.Text)throw new i.InvalidOperationError("Not supported for text message");return this.privBody},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privId},enumerable:!1,configurable:!0}),e}();t.ConnectionMessage=a},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SendingAgentContextMessageEvent=t.DialogEvent=void 0;var i=r(244),o=function(e){function t(t,r){return void 0===r&&(r=i.EventType.Info),e.call(this,t,r)||this}return n(t,e),t}(i.PlatformEvent);t.DialogEvent=o;var a=function(e){function t(t){var r=e.call(this,"SendingAgentContextMessageEvent")||this;return r.privAgentConfig=t,r}return n(t,e),Object.defineProperty(t.prototype,"agentConfig",{get:function(){return this.privAgentConfig},enumerable:!1,configurable:!0}),t}(o);t.SendingAgentContextMessageEvent=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventSource=void 0;var n=r(115),i=r(162),o=function(){function e(e){var t=this;this.privEventListeners={},this.privIsDisposed=!1,this.onEvent=function(e){if(t.isDisposed())throw new n.ObjectDisposedError("EventSource");if(t.metadata)for(var r in t.metadata)r&&e.metadata&&(e.metadata[r]||(e.metadata[r]=t.metadata[r]));for(var i in t.privEventListeners)i&&t.privEventListeners[i]&&t.privEventListeners[i](e)},this.attach=function(e){var r=i.createNoDashGuid();return t.privEventListeners[r]=e,{detach:function(){return delete t.privEventListeners[r],Promise.resolve()}}},this.attachListener=function(e){return t.attach(e.onEvent)},this.isDisposed=function(){return t.privIsDisposed},this.dispose=function(){t.privEventListeners=null,t.privIsDisposed=!0},this.privMetadata=e}return Object.defineProperty(e.prototype,"metadata",{get:function(){return this.privMetadata},enumerable:!1,configurable:!0}),e}();t.EventSource=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0;var n=r(115),i=function e(t){var r=this;if(this.privSubscriptionIdCounter=0,this.privAddSubscriptions={},this.privRemoveSubscriptions={},this.privDisposedSubscriptions={},this.privDisposeReason=null,this.get=function(e){return r.throwIfDisposed(),r.privList[e]},this.first=function(){return r.get(0)},this.last=function(){return r.get(r.length()-1)},this.add=function(e){r.throwIfDisposed(),r.insertAt(r.privList.length,e)},this.insertAt=function(e,t){r.throwIfDisposed(),0===e?r.privList.unshift(t):e===r.privList.length?r.privList.push(t):r.privList.splice(e,0,t),r.triggerSubscriptions(r.privAddSubscriptions)},this.removeFirst=function(){return r.throwIfDisposed(),r.removeAt(0)},this.removeLast=function(){return r.throwIfDisposed(),r.removeAt(r.length()-1)},this.removeAt=function(e){return r.throwIfDisposed(),r.remove(e,1)[0]},this.remove=function(e,t){r.throwIfDisposed();var n=r.privList.splice(e,t);return r.triggerSubscriptions(r.privRemoveSubscriptions),n},this.clear=function(){r.throwIfDisposed(),r.remove(0,r.length())},this.length=function(){return r.throwIfDisposed(),r.privList.length},this.onAdded=function(e){r.throwIfDisposed();var t=r.privSubscriptionIdCounter++;return r.privAddSubscriptions[t]=e,{detach:function(){return delete r.privAddSubscriptions[t],Promise.resolve()}}},this.onRemoved=function(e){r.throwIfDisposed();var t=r.privSubscriptionIdCounter++;return r.privRemoveSubscriptions[t]=e,{detach:function(){return delete r.privRemoveSubscriptions[t],Promise.resolve()}}},this.onDisposed=function(e){r.throwIfDisposed();var t=r.privSubscriptionIdCounter++;return r.privDisposedSubscriptions[t]=e,{detach:function(){return delete r.privDisposedSubscriptions[t],Promise.resolve()}}},this.join=function(e){return r.throwIfDisposed(),r.privList.join(e)},this.toArray=function(){var e=Array();return r.privList.forEach((function(t){e.push(t)})),e},this.any=function(e){return r.throwIfDisposed(),e?r.where(e).length()>0:r.length()>0},this.all=function(e){return r.throwIfDisposed(),r.where(e).length()===r.length()},this.forEach=function(e){r.throwIfDisposed();for(var t=0;t<r.length();t++)e(r.privList[t],t)},this.select=function(t){r.throwIfDisposed();for(var n=[],i=0;i<r.privList.length;i++)n.push(t(r.privList[i],i));return new e(n)},this.where=function(t){r.throwIfDisposed();for(var n=new e,i=0;i<r.privList.length;i++)t(r.privList[i],i)&&n.add(r.privList[i]);return n},this.orderBy=function(t){return r.throwIfDisposed(),new e(r.toArray().sort(t))},this.orderByDesc=function(e){return r.throwIfDisposed(),r.orderBy((function(t,r){return e(r,t)}))},this.clone=function(){return r.throwIfDisposed(),new e(r.toArray())},this.concat=function(t){return r.throwIfDisposed(),new e(r.privList.concat(t.toArray()))},this.concatArray=function(t){return r.throwIfDisposed(),new e(r.privList.concat(t))},this.isDisposed=function(){return null==r.privList},this.dispose=function(e){r.isDisposed()||(r.privDisposeReason=e,r.privList=null,r.privAddSubscriptions=null,r.privRemoveSubscriptions=null,r.triggerSubscriptions(r.privDisposedSubscriptions))},this.throwIfDisposed=function(){if(r.isDisposed())throw new n.ObjectDisposedError("List",r.privDisposeReason)},this.triggerSubscriptions=function(e){if(e)for(var t in e)t&&e[t]()},this.privList=[],t)for(var i=0,o=t;i<o.length;i++){var a=o[i];this.privList.push(a)}};t.List=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Queue=void 0;var o,a=r(115),s=r(769),u=r(457);!function(e){e[e.Dequeue=0]="Dequeue",e[e.Peek=1]="Peek"}(o||(o={}));var c=function(){function e(e){var t=this;this.privPromiseStore=new s.List,this.privIsDrainInProgress=!1,this.privIsDisposing=!1,this.privDisposeReason=null,this.enqueue=function(e){t.throwIfDispose(),t.enqueueFromPromise(new Promise((function(t,r){t(e)})))},this.enqueueFromPromise=function(e){t.throwIfDispose(),e.then((function(e){t.privList.add(e)}),(function(e){}))},this.dequeue=function(){t.throwIfDispose();var e=new u.Deferred;return t.privSubscribers&&(t.privSubscribers.add({deferral:e,type:o.Dequeue}),t.drain()),e.promise},this.peek=function(){t.throwIfDispose();var e=new u.Deferred;return t.privSubscribers&&(t.privSubscribers.add({deferral:e,type:o.Peek}),t.drain()),e.promise},this.length=function(){return t.throwIfDispose(),t.privList.length()},this.isDisposed=function(){return null==t.privSubscribers},this.drain=function(){if(!t.privIsDrainInProgress&&!t.privIsDisposing){t.privIsDrainInProgress=!0;var e=t.privSubscribers,r=t.privList;if(e&&r){for(;r.length()>0&&e.length()>0&&!t.privIsDisposing;){var n=e.removeFirst();if(n.type===o.Peek)n.deferral.resolve(r.first());else{var i=r.removeFirst();n.deferral.resolve(i)}}t.privSubscribers===e&&(t.privSubscribers=e),t.privList===r&&(t.privList=r)}t.privIsDrainInProgress=!1}},this.throwIfDispose=function(){if(t.isDisposed()){if(t.privDisposeReason)throw new a.InvalidOperationError(t.privDisposeReason);throw new a.ObjectDisposedError("Queue")}if(t.privIsDisposing)throw new a.InvalidOperationError("Queue disposing")},this.privList=e||new s.List,this.privDetachables=[],this.privSubscribers=new s.List,this.privDetachables.push(this.privList.onAdded(this.drain))}return e.prototype.drainAndDispose=function(e,t){return n(this,void 0,void 0,(function(){var r,n,o,a,s=this;return i(this,(function(i){switch(i.label){case 0:if(this.isDisposed()||this.privIsDisposing)return[3,5];if(this.privDisposeReason=t,this.privIsDisposing=!0,r=this.privSubscribers){for(;r.length()>0;)r.removeFirst().deferral.resolve(void 0);this.privSubscribers===r&&(this.privSubscribers=r)}n=0,o=this.privDetachables,i.label=1;case 1:return n<o.length?[4,o[n].detach()]:[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:if(this.privPromiseStore.length()>0&&e)return a=[],this.privPromiseStore.toArray().forEach((function(e){a.push(e)})),[2,Promise.all(a).finally((function(){s.privSubscribers=null,s.privList.forEach((function(t,r){e(t)})),s.privList=null})).then()];this.privSubscribers=null,this.privList=null,i.label=5;case 5:return[2]}}
2))}))},e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.drainAndDispose(null,e)];case 1:return t.sent(),[2]}}))}))},e}();t.Queue=c},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.OCSPCacheUpdateErrorEvent=t.OCSPResponseRetrievedEvent=t.OCSPCacheFetchErrorEvent=t.OCSPVerificationFailedEvent=t.OCSPCacheHitEvent=t.OCSPCacheEntryNeedsRefreshEvent=t.OCSPCacheEntryExpiredEvent=t.OCSPWSUpgradeStartedEvent=t.OCSPStapleReceivedEvent=t.OCSPCacheUpdatehCompleteEvent=t.OCSPDiskCacheStoreEvent=t.OCSPMemoryCacheStoreEvent=t.OCSPCacheUpdateNeededEvent=t.OCSPDiskCacheHitEvent=t.OCSPCacheMissEvent=t.OCSPMemoryCacheHitEvent=t.OCSPEvent=void 0;var i=r(244),o=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.privSignature=n,i}return n(t,e),t}(i.PlatformEvent);t.OCSPEvent=o;var a=function(e){function t(t){return e.call(this,"OCSPMemoryCacheHitEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPMemoryCacheHitEvent=a;var s=function(e){function t(t){return e.call(this,"OCSPCacheMissEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPCacheMissEvent=s;var u=function(e){function t(t){return e.call(this,"OCSPDiskCacheHitEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPDiskCacheHitEvent=u;var c=function(e){function t(t){return e.call(this,"OCSPCacheUpdateNeededEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPCacheUpdateNeededEvent=c;var l=function(e){function t(t){return e.call(this,"OCSPMemoryCacheStoreEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPMemoryCacheStoreEvent=l;var p=function(e){function t(t){return e.call(this,"OCSPDiskCacheStoreEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPDiskCacheStoreEvent=p;var f=function(e){function t(t){return e.call(this,"OCSPCacheUpdatehCompleteEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPCacheUpdatehCompleteEvent=f;var d=function(e){function t(){return e.call(this,"OCSPStapleReceivedEvent",i.EventType.Debug,"")||this}return n(t,e),t}(o);t.OCSPStapleReceivedEvent=d;var h=function(e){function t(t){return e.call(this,"OCSPWSUpgradeStartedEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPWSUpgradeStartedEvent=h;var v=function(e){function t(t,r){var n=e.call(this,"OCSPCacheEntryExpiredEvent",i.EventType.Debug,t)||this;return n.privExpireTime=r,n}return n(t,e),t}(o);t.OCSPCacheEntryExpiredEvent=v;var m=function(e){function t(t,r,n){var o=e.call(this,"OCSPCacheEntryNeedsRefreshEvent",i.EventType.Debug,t)||this;return o.privExpireTime=n,o.privStartTime=r,o}return n(t,e),t}(o);t.OCSPCacheEntryNeedsRefreshEvent=m;var y=function(e){function t(t,r,n){var o=e.call(this,"OCSPCacheHitEvent",i.EventType.Debug,t)||this;return o.privExpireTime=n,o.privExpireTimeString=new Date(n).toLocaleDateString(),o.privStartTime=r,o.privStartTimeString=new Date(r).toLocaleTimeString(),o}return n(t,e),t}(o);t.OCSPCacheHitEvent=y;var T=function(e){function t(t,r){var n=e.call(this,"OCSPVerificationFailedEvent",i.EventType.Debug,t)||this;return n.privError=r,n}return n(t,e),t}(o);t.OCSPVerificationFailedEvent=T;var b=function(e){function t(t,r){var n=e.call(this,"OCSPCacheFetchErrorEvent",i.EventType.Debug,t)||this;return n.privError=r,n}return n(t,e),t}(o);t.OCSPCacheFetchErrorEvent=b;var g=function(e){function t(t){return e.call(this,"OCSPResponseRetrievedEvent",i.EventType.Debug,t)||this}return n(t,e),t}(o);t.OCSPResponseRetrievedEvent=g;var _=function(e){function t(t,r){var n=e.call(this,"OCSPCacheUpdateErrorEvent",i.EventType.Debug,t)||this;return n.privError=r,n}return n(t,e),t}(o);t.OCSPCacheUpdateErrorEvent=_},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}
2),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AudioFileWriter=void 0;var a=o(r(1635)),s=r(27),u=function(){function e(e){var t=this;this.id=function(){return t.privId},s.Contracts.throwIfNullOrUndefined(a.openSync,"\nFile System access not available, please use Push or PullAudioOutputStream"),this.privFd=a.openSync(e,"w")}return Object.defineProperty(e.prototype,"format",{set:function(e){s.Contracts.throwIfNotUndefined(this.privAudioFormat,"format is already set"),this.privAudioFormat=e;var t=0;this.privAudioFormat.hasHeader&&(t=this.privAudioFormat.header.byteLength),void 0!==this.privFd&&(this.privWriteStream=a.createWriteStream("",{fd:this.privFd,start:t,autoClose:!1}))},enumerable:!1,configurable:!0}),e.prototype.write=function(e){s.Contracts.throwIfNullOrUndefined(this.privAudioFormat,"must set format before writing."),void 0!==this.privWriteStream&&this.privWriteStream.write(new Uint8Array(e.slice(0)))},e.prototype.close=function(){var e=this;void 0!==this.privFd&&(this.privWriteStream.on("finish",(function(){e.privAudioFormat.hasHeader&&(e.privAudioFormat.updateHeader(e.privWriteStream.bytesWritten),a.writeSync(e.privFd,new Int8Array(e.privAudioFormat.header),0,e.privAudioFormat.header.byteLength,0)),a.closeSync(e.privFd),e.privFd=void 0})),this.privWriteStream.end())},e}();t.AudioFileWriter=u},function(e,t,r){"use strict";(function(e){var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PullAudioInputStreamImpl=t.PullAudioInputStream=t.PushAudioInputStreamImpl=t.PushAudioInputStream=t.AudioInputStream=void 0;var a=r(17),s=r(16),u=r(162),c=r(12),l=r(142),p=function(){function e(){}return e.createPushStream=function(e){return f.create(e)},e.createPullStream=function(e,t){return h.create(e,t)},e}();t.AudioInputStream=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.create=function(e){return new d(e)},t}(p);t.PushAudioInputStream=f;var d=function(t){function r(e){var r=t.call(this)||this;return r.onEvent=function(e){r.privEvents.onEvent(e),s.Events.instance.onEvent(e)},r.privFormat=void 0===e?l.AudioStreamFormatImpl.getDefaultInputFormat():e,r.privEvents=new s.EventSource,r.privId=u.createNoDashGuid(),r.privStream=new s.ChunkedArrayBufferStream(r.privFormat.avgBytesPerSec/10),r}return n(r,t),Object.defineProperty(r.prototype,"format",{get:function(){return Promise.resolve(this.privFormat)}
2,enumerable:!1,configurable:!0}),r.prototype.write=function(e){this.privStream.writeStreamChunk({buffer:e,isEnd:!1,timeReceived:Date.now()})},r.prototype.close=function(){this.privStream.close()},r.prototype.id=function(){return this.privId},Object.defineProperty(r.prototype,"blob",{get:function(){var t=this;return this.attach("id").then((function(r){var n=[],i=e.from("");return function o(){return r.read().then((function(r){return!r||r.isEnd?"undefined"!==typeof XMLHttpRequest&&"undefined"!==typeof Blob?Promise.resolve(new Blob(n)):Promise.resolve(e.from(i)):("undefined"!==typeof Blob?n.push(r.buffer):i=e.concat([i,t.toBuffer(r.buffer)]),o())}))}()}))},enumerable:!1,configurable:!0}),r.prototype.turnOn=function(){this.onEvent(new s.AudioSourceInitializingEvent(this.privId)),this.onEvent(new s.AudioSourceReadyEvent(this.privId))},r.prototype.attach=function(e){return i(this,void 0,void 0,(function(){var t,r=this;return o(this,(function(n){switch(n.label){case 0:return this.onEvent(new s.AudioStreamNodeAttachingEvent(this.privId,e)),[4,this.turnOn()];case 1:return n.sent(),t=this.privStream,this.onEvent(new s.AudioStreamNodeAttachedEvent(this.privId,e)),[2,{detach:function(){return i(r,void 0,void 0,(function(){return o(this,(function(r){return t.readEnded(),this.onEvent(new s.AudioStreamNodeDetachedEvent(this.privId,e)),[2,this.turnOff()]}))}))},id:function(){return e},read:function(){return t.read()}}]}}))}))},r.prototype.detach=function(e){this.onEvent(new s.AudioStreamNodeDetachedEvent(this.privId,e))},r.prototype.turnOff=function(){},Object.defineProperty(r.prototype,"events",{get:function(){return this.privEvents},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"deviceInfo",{get:function(){return Promise.resolve({bitspersample:this.privFormat.bitsPerSample,channelcount:this.privFormat.channels,connectivity:a.connectivity.Unknown,manufacturer:"Speech SDK",model:"PushStream",samplerate:this.privFormat.samplesPerSec,type:a.type.Stream})},enumerable:!1,configurable:!0}),r.prototype.toBuffer=function(t){for(var r=e.alloc(t.byteLength),n=new Uint8Array(t),i=0;i<r.length;++i)r[i]=n[i];return r},r}(f);t.PushAudioInputStreamImpl=d;var h=function(e){function t(){return e.call(this)||this}return n(t,e),t.create=function(e,t){return new v(e,t)},t}(p);t.PullAudioInputStream=h;var v=function(e){function t(t,r){var n=e.call(this)||this;return n.onEvent=function(e){n.privEvents.onEvent(e),s.Events.instance.onEvent(e)},n.privFormat=void 0===r?c.AudioStreamFormat.getDefaultInputFormat():r,n.privEvents=new s.EventSource,n.privId=u.createNoDashGuid(),n.privCallback=t,n.privIsClosed=!1,n.privBufferSize=n.privFormat.avgBytesPerSec/10,n}return n(t,e),Object.defineProperty(t.prototype,"format",{get:function(){return Promise.resolve(this.privFormat)},enumerable:!1,configurable:!0}),t.prototype.close=function(){this.privIsClosed=!0,this.privCallback.close()},t.prototype.id=function(){return this.privId},Object.defineProperty(t.prototype,"blob",{get:function(){return Promise.reject("Not implemented")},enumerable:!1,configurable:!0}),t.prototype.turnOn=function(){this.onEvent(new s.AudioSourceInitializingEvent(this.privId)),this.onEvent(new s.AudioSourceReadyEvent(this.privId))},t.prototype.attach=function(e){return i(this,void 0,void 0,(function(){var t=this;return o(this,(function(r){switch(r.label){case 0:return this.onEvent(new s.AudioStreamNodeAttachingEvent(this.privId,e)),[4,this.turnOn()];case 1:return r.sent(),this.onEvent(new s.AudioStreamNodeAttachedEvent(this.privId,e)),[2,{detach:function(){return t.privCallback.close(),t.onEvent(new s.AudioStreamNodeDetachedEvent(t.privId,e)),t.turnOff()},id:function(){return e},read:function(){for(var e,r=0;r<t.privBufferSize;){var n=new ArrayBuffer(t.privBufferSize-r),i=t.privCallback.read(n);if(void 0===e)e=n;else new Int8Array(e).set(new Int8Array(n),r);if(0===i)break;r+=i}return Promise.resolve({buffer:e.slice(0,r),isEnd:t.privIsClosed||0===r,timeReceived:Date.now()})}}]}}))}))},t.prototype.detach=function(e){this.onEvent(new s.AudioStreamNodeDetachedEvent(this.privId,e))},t.prototype.turnOff=function(){},Object.defineProperty(t.prototype,"events",{get:function(){return this.privEvents}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceInfo",{get:function(){return Promise.resolve({bitspersample:this.privFormat.bitsPerSample,channelcount:this.privFormat.channels,connectivity:a.connectivity.Unknown,manufacturer:"Speech SDK",model:"PullStream",samplerate:this.privFormat.samplesPerSec,type:a.type.Stream})},enumerable:!1,configurable:!0}),t}(h);t.PullAudioInputStreamImpl=v}).call(this,r(157).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisOutputFormat=void 0,function(e){e[e.Raw8Khz8BitMonoMULaw=0]="Raw8Khz8BitMonoMULaw",e[e.Riff16Khz16KbpsMonoSiren=1]="Riff16Khz16KbpsMonoSiren",e[e.Audio16Khz16KbpsMonoSiren=2]="Audio16Khz16KbpsMonoSiren",e[e.Audio16Khz32KBitRateMonoMp3=3]="Audio16Khz32KBitRateMonoMp3",e[e.Audio16Khz128KBitRateMonoMp3=4]="Audio16Khz128KBitRateMonoMp3",e[e.Audio16Khz64KBitRateMonoMp3=5]="Audio16Khz64KBitRateMonoMp3",e[e.Audio24Khz48KBitRateMonoMp3=6]="Audio24Khz48KBitRateMonoMp3",e[e.Audio24Khz96KBitRateMonoMp3=7]="Audio24Khz96KBitRateMonoMp3",e[e.Audio24Khz160KBitRateMonoMp3=8]="Audio24Khz160KBitRateMonoMp3",e[e.Raw16Khz16BitMonoTrueSilk=9]="Raw16Khz16BitMonoTrueSilk",e[e.Riff16Khz16BitMonoPcm=10]="Riff16Khz16BitMonoPcm",e[e.Riff8Khz16BitMonoPcm=11]="Riff8Khz16BitMonoPcm",e[e.Riff24Khz16BitMonoPcm=12]="Riff24Khz16BitMonoPcm",e[e.Riff8Khz8BitMonoMULaw=13]="Riff8Khz8BitMonoMULaw",e[e.Raw16Khz16BitMonoPcm=14]="Raw16Khz16BitMonoPcm",e[e.Raw24Khz16BitMonoPcm=15]="Raw24Khz16BitMonoPcm",e[e.Raw8Khz16BitMonoPcm=16]="Raw8Khz16BitMonoPcm",e[e.Ogg16Khz16BitMonoOpus=17]="Ogg16Khz16BitMonoOpus",e[e.Ogg24Khz16BitMonoOpus=18]="Ogg24Khz16BitMonoOpus",e[e.Raw48Khz16BitMonoPcm=19]="Raw48Khz16BitMonoPcm",e[e.Riff48Khz16BitMonoPcm=20]="Riff48Khz16BitMonoPcm",e[e.Audio48Khz96KBitRateMonoMp3=21]="Audio48Khz96KBitRateMonoMp3",e[e.Audio48Khz192KBitRateMonoMp3=22]="Audio48Khz192KBitRateMonoMp3",e[e.Ogg48Khz16BitMonoOpus=23]="Ogg48Khz16BitMonoOpus",e[e.Webm16Khz16BitMonoOpus=24]="Webm16Khz16BitMonoOpus",e[e.Webm24Khz16BitMonoOpus=25]="Webm24Khz16BitMonoOpus",e[e.Raw24Khz16BitMonoTrueSilk=26]="Raw24Khz16BitMonoTrueSilk",e[e.Raw8Khz8BitMonoALaw=27]="Raw8Khz8BitMonoALaw",e[e.Riff8Khz8BitMonoALaw=28]="Riff8Khz8BitMonoALaw"}(t.SpeechSynthesisOutputFormat||(t.SpeechSynthesisOutputFormat={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationRecognitionResult=void 0;var i=function(e){function t(t,r,n,i,o,a,s,u,c){var l=e.call(this,r,n,i,o,a,void 0,void 0,void 0,s,u,c)||this;return l.privTranslations=t,l}return n(t,e),Object.defineProperty(t.prototype,"translations",{get:function(){return this.privTranslations},enumerable:!1,configurable:!0}),t}(r(12).SpeechRecognitionResult);t.TranslationRecognitionResult=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyCollection=void 0;var n=r(12),i=function(){function e(){this.privKeys=[],this.privValues=[]}return e.prototype.getProperty=function(e,t){var r;r="string"===typeof e?e:n.PropertyId[e];for(var i=0;i<this.privKeys.length;i++)if(this.privKeys[i]===r)return this.privValues[i];return t},e.prototype.setProperty=function(e,t){var r;r="string"===typeof e?e:n.PropertyId[e];for(var i=0;i<this.privKeys.length;i++)if(this.privKeys[i]===r)return void(this.privValues[i]=t);this.privKeys.push(r),this.privValues.push(t)},e.prototype.clone=function(){for(var t=new e,r=0;r<this.privKeys.length;r++)t.privKeys.push(this.privKeys[r]),t.privValues.push(this.privValues[r]);return t},e.prototype.mergeTo=function(e){var t=this;this.privKeys.forEach((function(r){if(void 0===e.getProperty(r,void 0)){var n=t.getProperty(r);e.setProperty(r,n)}}))},e}();t.PropertyCollection=i},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationDetailsBase=void 0;var n=function(){function e(e,t,r){this.privReason=e,this.privErrorDetails=t,this.privErrorCode=r}return Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ErrorCode",{get:function(){return this.privErrorCode},enumerable:!1,configurable:!0}),e}();t.CancellationDetailsBase=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionMessageImpl=t.ConnectionMessage=void 0;var n=r(116),i=r(16),o=r(776),a=r(461),s=function(){};t.ConnectionMessage=s;var u=function(){function e(e){var t=this;this.privConnectionMessage=e,this.privProperties=new o.PropertyCollection,this.privConnectionMessage.headers[n.HeaderNames.ConnectionId]&&this.privProperties.setProperty(a.PropertyId.Speech_SessionId,this.privConnectionMessage.headers[n.HeaderNames.ConnectionId]),Object.keys(this.privConnectionMessage.headers).forEach((function(e,r,n){t.privProperties.setProperty(e,t.privConnectionMessage.headers[e])}))}return Object.defineProperty(e.prototype,"path",{get:function(){return this.privConnectionMessage.headers[Object.keys(this.privConnectionMessage.headers).find((function(e){return e.toLowerCase()==="path".toLowerCase()}))]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isTextMessage",{get:function(){return this.privConnectionMessage.messageType===i.MessageType.Text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isBinaryMessage",{get:function(){return this.privConnectionMessage.messageType===i.MessageType.Binary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"TextMessage",{get:function(){return this.privConnectionMessage.textBody},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"binaryMessage",{get:function(){return this.privConnectionMessage.binaryBody},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return""},e}();t.ConnectionMessageImpl=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(780);Object.defineProperty(t,"Conversation",{enumerable:!0,get:function(){return n.Conversation}}),Object.defineProperty(t,"ConversationImpl",{enumerable:!0,get:function(){return n.ConversationImpl}});var i=r(1695);Object.defineProperty(t,"ConversationCommon",{enumerable:!0,get:function(){return i.ConversationCommon}});var o=r(1696);Object.defineProperty(t,"ConversationExpirationEventArgs",{enumerable:!0,get:function(){return o.ConversationExpirationEventArgs}});var a=r(1697);Object.defineProperty(t,"ConversationParticipantsChangedEventArgs",{enumerable:!0,get:function(){return a.ConversationParticipantsChangedEventArgs}});var s=r(1698);Object.defineProperty(t,"ConversationTranslationCanceledEventArgs",{enumerable:!0,get:function(){return s.ConversationTranslationCanceledEventArgs}});var u=r(1699);Object.defineProperty(t,"ConversationTranslationEventArgs",{enumerable:!0,get:function(){return u.ConversationTranslationEventArgs}});var c=r(1700);Object.defineProperty(t,"ConversationTranslationResult",{enumerable:!0,get:function(){return c.ConversationTranslationResult}});var l=r(1701);Object.defineProperty(t,"ConversationTranslator",{enumerable:!0,get:function(){return l.ConversationTranslator}});var p=r(1702);Object.defineProperty(t,"ConversationTranscriber",{enumerable:!0,get:function(){return p.ConversationTranscriber}});var f=r(1703);Object.defineProperty(t,"Participant",{enumerable:!0,get:function(){return f.Participant}}),Object.defineProperty(t,"User",{enumerable:!0,get:function(){return f.User}});var d=r(1704);Object.defineProperty(t,"ParticipantChangedReason",{enumerable:!0,get:function(){return d.ParticipantChangedReason}})},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationImpl=t.Conversation=void 0;var s=r(17),u=r(16),c=r(27),l=r(12),p=function(){function e(){}return e.createConversationAsync=function(e,t,r,n){var a=this;if(c.Contracts.throwIfNullOrUndefined(e,s.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","config")),c.Contracts.throwIfNullOrUndefined(e.region,s.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Region")),e.subscriptionKey||e.getProperty(l.PropertyId[l.PropertyId.SpeechServiceAuthorization_Token])||c.Contracts.throwIfNullOrUndefined(e.subscriptionKey,s.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Key")),"string"===typeof t){var p=new f(e,t);return u.marshalPromiseToCallbacks(i(a,void 0,void 0,(function(){return o(this,(function(e){return[2]}))})),r,n),p}p=new f(e);var d=t,h=r;return p.createConversationAsync((function(){d&&d()}),(function(e){h&&h(e)})),p},e}();t.Conversation=p;var f=function(e){function t(t,r){var n=e.call(this)||this;if(n.privIsDisposed=!1,n.privIsConnected=!1,n.privErrors=s.ConversationConnectionConfig.restErrors,n.privConversationId="",n.onConnected=function(e){n.privIsConnected=!0;try{n.privConversationTranslator.sessionStarted&&n.privConversationTranslator.sessionStarted(n.privConversationTranslator,e)}catch(e){}},n.onDisconnected=function(e){return i(n,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return[4,this.close(!1)];case 1:t.sent();try{this.privConversationTranslator.sessionStopped&&this.privConversationTranslator.sessionStopped(this.privConversationTranslator,e)}catch(e){}return[2]}}
2))}))},n.onCanceled=function(e,t){return i(n,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.close(!1)];case 1:e.sent();try{this.privConversationTranslator.canceled&&this.privConversationTranslator.canceled(this.privConversationTranslator,t)}catch(t){}return[2]}}))}))},n.onParticipantUpdateCommandReceived=function(e,t){var r,i;try{var o=n.privParticipants.getParticipant(t.id);if(void 0!==o){switch(t.key){case s.ConversationTranslatorCommandTypes.changeNickname:o.displayName=t.value;break;case s.ConversationTranslatorCommandTypes.setUseTTS:o.useTts=t.value;break;case s.ConversationTranslatorCommandTypes.setProfanityFiltering:o.profanity=t.value;break;case s.ConversationTranslatorCommandTypes.setMute:o.isMuted=t.value;break;case s.ConversationTranslatorCommandTypes.setTranslateToLanguages:o.translateToLanguages=t.value}n.privParticipants.addOrUpdateParticipant(o),(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(i=n.privConversationTranslator)||void 0===i||i.participantsChanged(n.privConversationTranslator,new l.ConversationParticipantsChangedEventArgs(l.ParticipantChangedReason.Updated,[n.toParticipant(o)],t.sessionId)))}}catch(t){}},n.onLockRoomCommandReceived=function(e,t){},n.onMuteAllCommandReceived=function(e,t){var r,i;
2try{n.privParticipants.participants.forEach((function(e){return e.isMuted=!e.isHost&&t.isMuted})),(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(i=n.privConversationTranslator)||void 0===i||i.participantsChanged(n.privConversationTranslator,new l.ConversationParticipantsChangedEventArgs(l.ParticipantChangedReason.Updated,n.toParticipants(!1),t.sessionId)))}catch(t){}},n.onParticipantJoinCommandReceived=function(e,t){var r,i;try{var o=n.privParticipants.addOrUpdateParticipant(t.participant);void 0!==o&&(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(i=n.privConversationTranslator)||void 0===i||i.participantsChanged(n.privConversationTranslator,new l.ConversationParticipantsChangedEventArgs(l.ParticipantChangedReason.JoinedConversation,[n.toParticipant(o)],t.sessionId)))}catch(t){}},n.onParticipantLeaveCommandReceived=function(e,t){var r,i;try{var o=n.privParticipants.getParticipant(t.participant.id);void 0!==o&&(n.privParticipants.deleteParticipant(t.participant.id),(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(i=n.privConversationTranslator)||void 0===i||i.participantsChanged(n.privConversationTranslator,new l.ConversationParticipantsChangedEventArgs(l.ParticipantChangedReason.LeftConversation,[n.toParticipant(o)],t.sessionId))))}catch(t){}},n.onTranslationReceived=function(e,t){var r,i,o,a,u,c;try{switch(t.command){case s.ConversationTranslatorMessageTypes.final:(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.transcribed)&&(null===(i=n.privConversationTranslator)||void 0===i||i.transcribed(n.privConversationTranslator,new l.ConversationTranslationEventArgs(t.payload,void 0,t.sessionId)));break;case s.ConversationTranslatorMessageTypes.partial:(null===(o=n.privConversationTranslator)||void 0===o?void 0:o.transcribing)&&(null===(a=n.privConversationTranslator)||void 0===a||a.transcribing(n.privConversationTranslator,new l.ConversationTranslationEventArgs(t.payload,void 0,t.sessionId)));break;case s.ConversationTranslatorMessageTypes.instantMessage:(null===(u=n.privConversationTranslator)||void 0===u?void 0:u.textMessageReceived)&&(null===(c=n.privConversationTranslator)||void 0===c||c.textMessageReceived(n.privConversationTranslator,new l.ConversationTranslationEventArgs(t.payload,void 0,t.sessionId)))}}catch(t){}},n.onParticipantsListReceived=function(e,t){var r,i,o;try{if(void 0!==t.sessionToken&&null!==t.sessionToken&&(n.privRoom.token=t.sessionToken),n.privParticipants.participants=a(t.participants),void 0!==n.privParticipants.me&&(n.privIsReady=!0),(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.participantsChanged)&&(null===(i=n.privConversationTranslator)||void 0===i||i.participantsChanged(n.privConversationTranslator,new l.ConversationParticipantsChangedEventArgs(l.ParticipantChangedReason.JoinedConversation,n.toParticipants(!0),t.sessionId))),n.me.isHost){var s=null===(o=n.privConversationTranslator)||void 0===o?void 0:o.properties.getProperty(l.PropertyId.ConversationTranslator_Name);void 0!==s&&s.length>0&&s!==n.me.displayName&&n.changeNicknameAsync(s)}}catch(t){}},n.onConversationExpiration=function(e,t){var r,i;try{(null===(r=n.privConversationTranslator)||void 0===r?void 0:r.conversationExpiration)&&(null===(i=n.privConversationTranslator)||void 0===i||i.conversationExpiration(n.privConversationTranslator,t))}catch(t){}},n.privProperties=new l.PropertyCollection,n.privManager=new s.ConversationManager,t.getProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_RecoLanguage])||t.setProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_RecoLanguage],s.ConversationConnectionConfig.defaultLanguageCode),n.privLanguage=t.getProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_RecoLanguage]),r)n.privConversationId=r;else{0===t.targetLanguages.length&&t.addTargetLanguage(n.privLanguage),t.getProperty(l.PropertyId[l.PropertyId.SpeechServiceResponse_ProfanityOption])||t.setProfanity(l.ProfanityOption.Masked);var u=t.getProperty(l.PropertyId[l.PropertyId.ConversationTranslator_Name]);(void 0===u||null===u||u.length<=1||u.length>50)&&(u="Host"),t.setProperty(l.PropertyId[l.PropertyId.ConversationTranslator_Name],u)}n.privConfig=t;var p=t;return c.Contracts.throwIfNull(p,"speechConfig"),n.privProperties=p.properties.clone(),n.privIsConnected=!1,n.privParticipants=new s.InternalParticipants,n.privIsReady=!1,n.privTextMessageMaxLength=1e3,n}return n(t,e),Object.defineProperty(t.prototype,"conversationTranslator",{set:function(e){this.privConversationTranslator=e}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"room",{get:function(){return this.privRoom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"connection",{get:function(){return this.privConversationRecognizer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.privToken},set:function(e){c.Contracts.throwIfNullOrWhitespace(e,"authorizationToken"),this.privToken=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"config",{get:function(){return this.privConfig},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conversationId",{get:function(){return this.privRoom?this.privRoom.roomId:this.privConversationId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return this.privLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMutedByHost",{get:function(){var e,t;return!(null===(e=this.privParticipants.me)||void 0===e?void 0:e.isHost)&&(null===(t=this.privParticipants.me)||void 0===t?void 0:t.isMuted)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return this.privIsConnected&&this.privIsReady},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"participants",{get:function(){return this.toParticipants(!0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"me",{get:function(){return this.toParticipant(this.privParticipants.me)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"host",{get:function(){return this.toParticipant(this.privParticipants.host)},enumerable:!1,configurable:!0}),t.prototype.createConversationAsync=function(e,t){var r=this;try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),t),this.privManager.createOrJoin(this.privProperties,void 0,(function(n){n||r.handleError(new Error(r.privErrors.permissionDeniedConnect),t),r.privRoom=n,r.handleCallback(e,t)}),(function(e){r.handleError(e,t)}))}catch(n){this.handleError(n,t)}},t.prototype.startConversationAsync=function(e,t){var r=this;try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),t),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedConnect),this.privParticipants.meId=this.privRoom.participantId,this.privConversationRecognizer=s.ConversationRecognizerFactory.fromConfig(this.privConfig),this.privConversationRecognizer.connected=this.onConnected,this.privConversationRecognizer.disconnected=this.onDisconnected,this.privConversationRecognizer.canceled=this.onCanceled,this.privConversationRecognizer.participantUpdateCommandReceived=this.onParticipantUpdateCommandReceived,this.privConversationRecognizer.lockRoomCommandReceived=this.onLockRoomCommandReceived,this.privConversationRecognizer.muteAllCommandReceived=this.onMuteAllCommandReceived,this.privConversationRecognizer.participantJoinCommandReceived=this.onParticipantJoinCommandReceived,this.privConversationRecognizer.participantLeaveCommandReceived=this.onParticipantLeaveCommandReceived,this.privConversationRecognizer.translationReceived=this.onTranslationReceived,this.privConversationRecognizer.participantsListReceived=this.onParticipantsListReceived,this.privConversationRecognizer.conversationExpiration=this.onConversationExpiration,this.privConversationRecognizer.connect(this.privRoom.token,(function(){r.handleCallback(e,t)}),(function(e){r.handleError(e,t)}))}catch(n){this.handleError(n,t)}},t.prototype.addParticipantAsync=function(e,t,r){c.Contracts.throwIfNullOrUndefined(e,"Participant"),u.marshalPromiseToCallbacks(this.addParticipantImplAsync(e),t,r)},t.prototype.joinConversationAsync=function(e,t,r,n,i){var o=this;try{c.Contracts.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","conversationId")),c.Contracts.throwIfNullOrWhitespace(t,this.privErrors.invalidArgs.replace("{arg}","nickname")),c.Contracts.throwIfNullOrWhitespace(r,this.privErrors.invalidArgs.replace("{arg}","language")),this.privManager.createOrJoin(this.privProperties,e,(function(e){c.Contracts.throwIfNullOrUndefined(e,o.privErrors.permissionDeniedConnect),o.privRoom=e,o.privConfig.authorizationToken=e.cognitiveSpeechAuthToken,n&&n(e.cognitiveSpeechAuthToken)}),(function(e){o.handleError(e,i)}))}catch(a){this.handleError(a,i)}},t.prototype.deleteConversationAsync=function(e,t){u.marshalPromiseToCallbacks(this.deleteConversationImplAsync(),e,t)},t.prototype.deleteConversationImplAsync=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return c.Contracts.throwIfNullOrUndefined(this.privProperties,this.privErrors.permissionDeniedConnect),c.Contracts.throwIfNullOrWhitespace(this.privRoom.token,this.privErrors.permissionDeniedConnect),[4,this.privManager.leave(this.privProperties,this.privRoom.token)];case 1:return e.sent(),this.dispose(),[2]}}))}))},t.prototype.endConversationAsync=function(e,t){u.marshalPromiseToCallbacks(this.endConversationImplAsync(),e,t)},t.prototype.endConversationImplAsync=function(){return this.close(!0)},t.prototype.lockConversationAsync=function(e,t){var r,n=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","lock")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getLockCommand(!0),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}},t.prototype.muteAllParticipantsAsync=function(e,t){var r,n=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrUndefined(this.privConversationRecognizer,this.privErrors.permissionDeniedSend),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","mute")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getMuteAllCommand(!0),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}},t.prototype.muteParticipantAsync=function(e,t,r){var n,i=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","userId")),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),this.me.isHost||this.me.id===e||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),r),-1===this.privParticipants.getParticipantIndex(e)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getMuteCommand(e,!0),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}},t.prototype.removeParticipantAsync=function(e,t,r){var n,i=this;try{if(c.Contracts.throwIfDisposed(this.privIsDisposed),this.privTranscriberRecognizer&&e.hasOwnProperty("id"))u.marshalPromiseToCallbacks(this.removeParticipantImplAsync(e),t,r);else{c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","remove")),r);var o="";if("string"===typeof e)o=e;else if(e.hasOwnProperty("id")){o=e.id}else if(e.hasOwnProperty("userId")){o=e.userId}c.Contracts.throwIfNullOrWhitespace(o,this.privErrors.invalidArgs.replace("{arg}","userId")),-1===this.participants.findIndex((function(e){return e.id===o}))&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getEjectCommand(o),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}}catch(a){this.handleError(a,r)}},t.prototype.unlockConversationAsync=function(e,t){var r,n=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unlock")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getLockCommand(!1),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}},t.prototype.unmuteAllParticipantsAsync=function(e,t){var r,n=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unmute all")),t),null===(r=this.privConversationRecognizer)||void 0===r||r.sendRequest(this.getMuteAllCommand(!1),(function(){n.handleCallback(e,t)}),(function(e){n.handleError(e,t)}))}catch(i){this.handleError(i,t)}},t.prototype.unmuteParticipantAsync=function(e,t,r){var n,i=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","userId")),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),this.me.isHost||this.me.id===e||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),r),-1===this.privParticipants.getParticipantIndex(e)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getMuteCommand(e,!1),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}},t.prototype.sendTextMessageAsync=function(e,t,r){var n,i=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","message")),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),e.length>this.privTextMessageMaxLength&&this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}","message length")),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getMessageCommand(e),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}},t.prototype.changeNicknameAsync=function(e,t,r){var n,i=this;try{c.Contracts.throwIfDisposed(this.privIsDisposed),c.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),c.Contracts.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}","nickname")),c.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),r),null===(n=this.privConversationRecognizer)||void 0===n||n.sendRequest(this.getChangeNicknameCommand(e),(function(){i.handleCallback(t,r)}),(function(e){i.handleError(e,r)}))}catch(o){this.handleError(o,r)}},t.prototype.isDisposed=function(){return this.privIsDisposed},t.prototype.dispose=function(e){var t;this.isDisposed||(this.privIsDisposed=!0,null===(t=this.config)||void 0===t||t.close(),this.privConfig=void 0,this.privLanguage=void 0,this.privProperties=void 0,this.privRoom=void 0,this.privToken=void 0,this.privManager=void 0,this.privConversationRecognizer=void 0,this.privIsConnected=!1,this.privIsReady=!1,this.privParticipants=void 0)}
2,Object.defineProperty(t.prototype,"transcriberRecognizer",{get:function(){return this.privTranscriberRecognizer},enumerable:!1,configurable:!0}),t.prototype.connectTranscriberRecognizer=function(e){return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return this.privTranscriberRecognizer?[4,this.privTranscriberRecognizer.close()]:[3,2];case 1:t.sent(),t.label=2;case 2:return this.privTranscriberRecognizer=e,this.privTranscriberRecognizer.conversation=this,[2]}}))}))},Object.defineProperty(t.prototype,"conversationInfo",{get:function(){for(var e=this.conversationId,t=this.participants.map((function(e){return{id:e.id,preferredLanguage:e.preferredLanguage,voice:e.voice}})),r={},n=0,i=s.ConversationConnectionConfig.transcriptionEventKeys;n<i.length;n++){var o=i[n],a=this.properties.getProperty(o,"");""!==a&&(r[o]=a)}return{id:e,participants:t,conversationProperties:r}},enumerable:!1,configurable:!0}),t.prototype.addParticipantImplAsync=function(e){if(void 0!==this.privParticipants.addOrUpdateParticipant(e)&&this.privTranscriberRecognizer){var t=this.conversationInfo;return t.participants=[e],this.privTranscriberRecognizer.pushConversationEvent(t,"join")}},t.prototype.removeParticipantImplAsync=function(e){this.privParticipants.deleteParticipant(e.id);var t=this.conversationInfo;return t.participants=[e],this.privTranscriberRecognizer.pushConversationEvent(t,"leave")},t.prototype.close=function(e){var t,r;return i(this,void 0,void 0,(function(){return o(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),this.privIsConnected=!1,[4,this.privConversationRecognizer.close()];case 1:return n.sent(),[4,null===(t=this.privTranscriberRecognizer)||void 0===t?void 0:t.close()];case 2:return n.sent(),this.privConversationRecognizer=void 0,null===(r=this.privConversationTranslator)||void 0===r||r.dispose(),[3,4];case 3:return n.sent(),[3,4];case 4:return e&&this.dispose(),[2]}}))}))},Object.defineProperty(t.prototype,"canSend",{get:function(){var e;return this.privIsConnected&&!(null===(e=this.privParticipants.me)||void 0===e?void 0:e.isMuted)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canSendAsHost",{get:function(){var e;return this.privIsConnected&&(null===(e=this.privParticipants.me)||void 0===e?void 0:e.isHost)},enumerable:!1,configurable:!0}),t.prototype.handleCallback=function(e,t){if(e){try{e()}catch(r){t&&t(r)}e=void 0}},t.prototype.handleError=function(e,t){if(t)if(e instanceof Error){var r=e;t(r.name+": "+r.message)}else t(e)},t.prototype.toParticipants=function(e){var t=this,r=this.privParticipants.participants.map((function(e){return t.toParticipant(e)}));return e?r:r.filter((function(e){return!1===e.isHost}))},t.prototype.toParticipant=function(e){return new l.Participant(e.id,e.avatar,e.displayName,e.isHost,e.isMuted,e.isUsingTts,e.preferredLanguage,e.voice)},t.prototype.getMuteAllCommand=function(e){return c.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),c.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:s.ConversationTranslatorCommandTypes.setMuteAll,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:s.ConversationTranslatorMessageTypes.participantCommand,value:e})},t.prototype.getMuteCommand=function(e,t){return c.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),c.Contracts.throwIfNullOrWhitespace(e,"participantId"),JSON.stringify({command:s.ConversationTranslatorCommandTypes.setMute,participantId:e,roomid:this.privRoom.roomId,type:s.ConversationTranslatorMessageTypes.participantCommand,value:t})},t.prototype.getLockCommand=function(e){return c.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),c.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:s.ConversationTranslatorCommandTypes.setLockState,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:s.ConversationTranslatorMessageTypes.participantCommand,value:e})},t.prototype.getEjectCommand=function(e){return c.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),c.Contracts.throwIfNullOrWhitespace(e,"participantId"),JSON.stringify({command:s.ConversationTranslatorCommandTypes.ejectParticipant,participantId:e,roomid:this.privRoom.roomId,type:s.ConversationTranslatorMessageTypes.participantCommand})},t.prototype.getChangeNicknameCommand=function(e){return c.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),c.Contracts.throwIfNullOrWhitespace(e,"nickname"),c.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:s.ConversationTranslatorCommandTypes.changeNickname,nickname:e,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:s.ConversationTranslatorMessageTypes.participantCommand,value:e})},t.prototype.getMessageCommand=function(e){return c.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),c.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),c.Contracts.throwIfNullOrWhitespace(e,"message"),JSON.stringify({participantId:this.privRoom.participantId,roomId:this.privRoom.roomId,text:e,type:s.ConversationTranslatorMessageTypes.instantMessage})},t}(p);t.ConversationImpl=f},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.MessageDataStreamType=t.ActivityPayloadResponse=void 0;var n=function(){function e(e){this.privActivityResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"conversationId",{get:function(){return this.privActivityResponse.conversationId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"messageDataStreamType",{get:function(){return this.privActivityResponse.messageDataStreamType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"messagePayload",{get:function(){return this.privActivityResponse.messagePayload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this.privActivityResponse.version},enumerable:!1,configurable:!0}),e}();t.ActivityPayloadResponse=n,function(e){e[e.None=0]="None",e[e.TextToSpeechAudio=1]="TextToSpeechAudio"}(t.MessageDataStreamType||(t.MessageDataStreamType={}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.PromiseToEmptyCallback=t.request=t.extractHeaderValue=void 0;var a=r(465),s=o(r(1752));function u(e,t){void 0===t&&(t={});var r=function(e){return void 0===e&&(e={}),Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}(t);return r?e+(-1===e.indexOf("?")?"?":"&")+r:e}function c(e,t){return void 0===t&&(t=null),{data:t||e.statusText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(t||'"'+e.statusText+'"')},ok:!1,status:e.status,statusText:e.statusText}}t.extractHeaderValue=function(e,t){var r="";try{var n=t.trim().split(/[\r\n]+/),i={};n.forEach((function(e){var t=e.split(": "),r=t.shift().toLowerCase(),n=t.join(": ");i[r]=n})),r=i[e.toLowerCase()]}catch(o){}return r},t.request=function(e,t,r,n,i,o){void 0===r&&(r={}),void 0===n&&(n=null),void 0===i&&(i={});var l,p=a.RestConfigBase.requestOptions,f=i.ignoreCache||p.ignoreCache,d=i.headers||p.headers,h=i.timeout||p.timeout;(l="undefined"===typeof window?new s.XMLHttpRequest:new XMLHttpRequest).open(e,u(t,r),!0),d&&Object.keys(d).forEach((function(e){return l.setRequestHeader(e,d[e])})),f&&l.setRequestHeader("Cache-Control","no-cache"),l.timeout=h,l.onload=function(e){o(function(e){return{data:e.responseText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(e.responseText)},ok:e.status>=200&&e.status<300,status:e.status,statusText:e.statusText}}(l))},l.onerror=function(e){o(c(l,"Failed to make request."))},l.ontimeout=function(e){o(c(l,"Request took longer than expected."))},"post"===e&&n?(l.setRequestHeader("Content-Type","application/json"),l.send(JSON.stringify(n))):l.send()},t.PromiseToEmptyCallback=function(e,t,r){e?e.then((function(e){try{t&&t()}catch(n){r&&r("'Unhandled error on promise callback: "+n+"'")}}),(function(e){try{r&&r(e)}catch(t){}})):r&&r("Null promise")}},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationConnectionMessage=void 0;var i=function(e){function t(t,r,n,i){var o=e.call(this,t,r,n,i)||this,a=JSON.parse(o.textBody);return void 0!==a.type&&(o.privConversationMessageType=a.type),o}return n(t,e),Object.defineProperty(t.prototype,"conversationMessageType",{get:function(){return this.privConversationMessageType}
2,enumerable:!1,configurable:!0}),t}(r(16).ConnectionMessage);t.ConversationConnectionMessage=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationReceivedTranslationEventArgs=t.ParticipantsListEventArgs=t.ParticipantAttributeEventArgs=t.ParticipantEventArgs=t.LockRoomEventArgs=t.MuteAllEventArgs=void 0;var i=r(12),o=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privIsMuted=t,n}return n(t,e),Object.defineProperty(t.prototype,"isMuted",{get:function(){return this.privIsMuted},enumerable:!1,configurable:!0}),t}(i.SessionEventArgs);t.MuteAllEventArgs=o;var a=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privIsLocked=t,n}return n(t,e),Object.defineProperty(t.prototype,"isMuted",{get:function(){return this.privIsLocked},enumerable:!1,configurable:!0}),t}(i.SessionEventArgs);t.LockRoomEventArgs=a;var s=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privParticipant=t,n}return n(t,e),Object.defineProperty(t.prototype,"participant",{get:function(){return this.privParticipant},enumerable:!1,configurable:!0}),t}(i.SessionEventArgs);t.ParticipantEventArgs=s;var u=function(e){function t(t,r,n,i){var o=e.call(this,i)||this;return o.privKey=r,o.privValue=n,o.privParticipantId=t,o}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.privValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this.privKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.privParticipantId},enumerable:!1,configurable:!0}),t}(i.SessionEventArgs);t.ParticipantAttributeEventArgs=u;var c=function(e){function t(t,r,n,i,o,a,s,u,c){var l=e.call(this,c)||this;return l.privRoomId=t,l.privSessionToken=r,l.privTranslateTo=n,l.privProfanityFilter=i,l.privRoomProfanityFilter=o,l.privIsRoomLocked=a,l.privIsRoomLocked=s,l.privParticipants=u,l}return n(t,e),Object.defineProperty(t.prototype,"sessionToken",{get:function(){return this.privSessionToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conversationId",{get:function(){return this.privRoomId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"translateTo",{get:function(){return this.privTranslateTo},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"profanityFilter",{get:function(){return this.privProfanityFilter},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"roomProfanityFilter",{get:function(){return this.privRoomProfanityFilter},enumerable:!1,configurable:!0}
2),Object.defineProperty(t.prototype,"isRoomLocked",{get:function(){return this.privIsRoomLocked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMuteAll",{get:function(){return this.privIsMuteAll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"participants",{get:function(){return this.privParticipants},enumerable:!1,configurable:!0}),t}(i.SessionEventArgs);t.ParticipantsListEventArgs=c;var l=function(){function e(e,t,r){this.privPayload=t,this.privCommand=e,this.privSessionId=r}return Object.defineProperty(e.prototype,"payload",{get:function(){return this.privPayload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"command",{get:function(){return this.privCommand},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.privSessionId},enumerable:!1,configurable:!0}),e}();t.ConversationReceivedTranslationEventArgs=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranslatorCommandTypes=t.ConversationTranslatorMessageTypes=t.InternalParticipants=void 0;var n=function(){function e(e,t){void 0===e&&(e=[]),this.participants=e,this.meId=t}return e.prototype.addOrUpdateParticipant=function(e){if(void 0!==e){var t=this.getParticipantIndex(e.id);return t>-1?this.participants.splice(t,1,e):this.participants.push(e),this.getParticipant(e.id)}},e.prototype.getParticipantIndex=function(e){return this.participants.findIndex((function(t){return t.id===e}))},e.prototype.getParticipant=function(e){return this.participants.find((function(t){return t.id===e}))},e.prototype.deleteParticipant=function(e){this.participants=this.participants.filter((function(t){return t.id!==e}))},Object.defineProperty(e.prototype,"host",{get:function(){return this.participants.find((function(e){return!0===e.isHost}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"me",{get:function(){return this.getParticipant(this.meId)},enumerable:!1,configurable:!0}),e}();t.InternalParticipants=n,t.ConversationTranslatorMessageTypes={command:"command",final:"final",info:"info",instantMessage:"instant_message",partial:"partial",participantCommand:"participant_command",translatedMessage:"translated_message"},t.ConversationTranslatorCommandTypes={changeNickname:"ChangeNickname",disconnectSession:"DisconnectSession",ejectParticipant:"EjectParticipant",instant_message:"instant_message",joinSession:"JoinSession",leaveSession:"LeaveSession",participantList:"ParticipantList",roomExpirationWarning:"RoomExpirationWarning",setLockState:"SetLockState",setMute:"SetMute",setMuteAll:"SetMuteAll",setProfanityFiltering:"SetProfanityFiltering",setTranslateToLanguages:"SetTranslateToLanguages",setUseTTS:"SetUseTTS"}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};
2Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesisAdapterBase=void 0;var o=r(16),a=r(12),s=r(17),u=r(333),c=function(){function e(e,t,r,n,i){var c=this;if(this.speakOverride=void 0,this.receiveMessageOverride=void 0,this.connectImplOverride=void 0,this.configConnectionOverride=void 0,this.sendSynthesisContext=function(e){var t=c.synthesisContext.toJSON();if(t)return e.send(new u.SpeechConnectionMessage(o.MessageType.Text,"synthesis.context",c.privSynthesisTurn.requestId,"application/json",t))},this.sendSpeechServiceConfig=function(e,t){if(t)return e.send(new u.SpeechConnectionMessage(o.MessageType.Text,"speech.config",c.privSynthesisTurn.requestId,"application/json",t))},this.sendSsmlMessage=function(e,t,r){return e.send(new u.SpeechConnectionMessage(o.MessageType.Text,"ssml",r,"application/ssml+xml",t))},!e)throw new o.ArgumentNullError("authentication");if(!t)throw new o.ArgumentNullError("connectionFactory");if(!r)throw new o.ArgumentNullError("synthesizerConfig");this.privAuthentication=e,this.privConnectionFactory=t,this.privSynthesizerConfig=r,this.privIsDisposed=!1,this.privSpeechSynthesizer=n,this.privSessionAudioDestination=i,this.privSynthesisTurn=new s.SynthesisTurn,this.privConnectionEvents=new o.EventSource,this.privServiceEvents=new o.EventSource,this.privSynthesisContext=new s.SynthesisContext(this.privSpeechSynthesizer),this.privAgentConfig=new s.AgentConfig,this.connectionEvents.attach((function(e){if("ConnectionClosedEvent"===e.name){var t=e;1e3!==t.statusCode&&c.cancelSynthesisLocal(a.CancellationReason.Error,1007===t.statusCode?a.CancellationErrorCode.BadRequestParameters:a.CancellationErrorCode.ConnectionFailure,t.reason+" websocket error code: "+t.statusCode)}}))}return Object.defineProperty(e.prototype,"synthesisContext",{get:function(){return this.privSynthesisContext},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"agentConfig",{get:function(){return this.privAgentConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"connectionEvents",{get:function(){return this.privConnectionEvents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceEvents",{get:function(){return this.privServiceEvents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activityTemplate",{get:function(){return this.privActivityTemplate},set:function(e){this.privActivityTemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"audioOutputFormat",{set:function(e){this.privAudioOutputFormat=e,this.privSynthesisTurn.audioOutputFormat=e,void 0!==this.privSessionAudioDestination&&(this.privSessionAudioDestination.format=e),void 0!==this.synthesisContext&&(this.synthesisContext.audioOutputFormat=e)},enumerable:!1,configurable:!0}),e.addHeader=function(e,t){if(!t.hasHeader)return e;t.updateHeader(e.byteLength);var r=new Uint8Array(e.byteLength+t.header.byteLength);return r.set(new Uint8Array(t.header),0),r.set(new Uint8Array(e),t.header.byteLength),r.buffer},e.prototype.isDisposed=function(){return this.privIsDisposed},e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return this.privIsDisposed=!0,void 0!==this.privSessionAudioDestination&&this.privSessionAudioDestination.close(),this.privConnectionConfigurationPromise?[4,this.privConnectionConfigurationPromise]:[3,3];case 1:return[4,t.sent().dispose(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}
2))}))},e.prototype.connect=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.connectImpl()];case 1:return e.sent(),[2]}}))}))},e.prototype.sendNetworkMessage=function(e,t){return n(this,void 0,void 0,(function(){var r,n;return i(this,(function(i){switch(i.label){case 0:return r="string"===typeof t?o.MessageType.Text:o.MessageType.Binary,n="string"===typeof t?"application/json":"",[4,this.fetchConnection()];case 1:return[2,i.sent().send(new u.SpeechConnectionMessage(r,e,this.privSynthesisTurn.requestId,n,t))]}}))}))},e.prototype.Speak=function(e,t,r,o,s,u){return n(this,void 0,void 0,(function(){var n,c,l,p;return i(this,(function(i){switch(i.label){case 0:if(n=t?e:this.privSpeechSynthesizer.buildSsml(e),void 0!==this.speakOverride)return[2,this.speakOverride(n,r,o,s)];this.privSuccessCallback=o,this.privErrorCallback=s,this.privSynthesisTurn.startNewSynthesis(r,e,t,u),i.label=1;case 1:return i.trys.push([1,6,,7]),[4,this.connectImpl()];case 2:return i.sent(),[4,this.fetchConnection()];case 3:return c=i.sent(),[4,this.sendSynthesisContext(c)];case 4:return i.sent(),[4,this.sendSsmlMessage(c,n,r)];case 5:return i.sent(),l=new a.SpeechSynthesisEventArgs(new a.SpeechSynthesisResult(r,a.ResultReason.SynthesizingAudioStarted)),this.privSpeechSynthesizer.synthesisStarted&&this.privSpeechSynthesizer.synthesisStarted(this.privSpeechSynthesizer,l),this.receiveMessage(),[3,7];case 6:return p=i.sent(),this.cancelSynthesisLocal(a.CancellationReason.Error,a.CancellationErrorCode.ConnectionFailure,p),[2,Promise.reject(p)];case 7:return[2]}}
2))}))},e.prototype.cancelSynthesis=function(e,t,r,n){var i=new a.PropertyCollection;i.setProperty(s.CancellationErrorCodePropertyName,a.CancellationErrorCode[r]);var o=new a.SpeechSynthesisResult(e,a.ResultReason.Canceled,void 0,n,i);if(this.privSpeechSynthesizer.SynthesisCanceled){var u=new a.SpeechSynthesisEventArgs(o);try{this.privSpeechSynthesizer.SynthesisCanceled(this.privSpeechSynthesizer,u)}catch(c){}}if(this.privSuccessCallback)try{this.privSuccessCallback(o)}catch(l){}},e.prototype.cancelSynthesisLocal=function(e,t,r){this.privSynthesisTurn.isSynthesizing&&(this.privSynthesisTurn.onStopSynthesizing(),this.cancelSynthesis(this.privSynthesisTurn.requestId,e,t,r))},e.prototype.processTypeSpecificMessages=function(e,t,r){return!0},e.prototype.receiveMessage=function(){return n(this,void 0,void 0,(function(){var t,r,n,c,l,p,f,d,h,v,m,y,T,b;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,14,,15]),[4,this.fetchConnection()];case 1:return[4,i.sent().read()];case 2:if(t=i.sent(),void 0!==this.receiveMessageOverride)return[2,this.receiveMessageOverride()];if(this.privIsDisposed)return[2];if(!t)return this.privSynthesisTurn.isSynthesizing?[2,this.receiveMessage()]:[2];if(this.privServiceHasSentMessage=!0,(r=u.SpeechConnectionMessage.fromConnectionMessage(t)).requestId.toLowerCase()!==this.privSynthesisTurn.requestId.toLowerCase())return[3,13];switch(r.path.toLowerCase()){case"turn.start":return[3,3];case"response":return[3,4];case"audio":return[3,5];case"audio.metadata":return[3,6];case"turn.end":return[3,7]}return[3,12];case 3:return this.privSynthesisTurn.onServiceTurnStartResponse(),[3,13];case 4:return this.privSynthesisTurn.onServiceResponseMessage(r.textBody),[3,13];case 5:if(this.privSynthesisTurn.streamId.toLowerCase()===r.streamId.toLowerCase()&&r.binaryBody){if(this.privSynthesisTurn.onAudioChunkReceived(r.binaryBody),this.privSpeechSynthesizer.synthesizing)try{n=e.addHeader(r.binaryBody,this.privSynthesisTurn.audioOutputFormat),c=new a.SpeechSynthesisEventArgs(new a.SpeechSynthesisResult(this.privSynthesisTurn.requestId,a.ResultReason.SynthesizingAudio,n)),this.privSpeechSynthesizer.synthesizing(this.privSpeechSynthesizer,c)}catch(g){}void 0!==this.privSessionAudioDestination&&this.privSessionAudioDestination.write(r.binaryBody)}return[3,13];case 6:for(l=s.SynthesisAudioMetadata.fromJSON(r.textBody).Metadata,p=0,f=l;p<f.length;p++)switch((d=f[p]).Type){case s.MetadataType.WordBoundary:if(this.privSynthesisTurn.onWordBoundaryEvent(d.Data.text.Text),h=new a.SpeechSynthesisWordBoundaryEventArgs(d.Data.Offset,d.Data.text.Text,d.Data.text.Length,this.privSynthesisTurn.currentTextOffset),this.privSpeechSynthesizer.wordBoundary)try{this.privSpeechSynthesizer.wordBoundary(this.privSpeechSynthesizer,h)}catch(g){}break;case s.MetadataType.Bookmark:if(v=new a.SpeechSynthesisBookmarkEventArgs(d.Data.Offset,d.Data.Bookmark),this.privSpeechSynthesizer.bookmarkReached)try{this.privSpeechSynthesizer.bookmarkReached(this.privSpeechSynthesizer,v)}catch(g){}break;case s.MetadataType.Viseme:if(this.privSynthesisTurn.onVisemeMetadataReceived(d),d.Data.IsLastAnimation&&(m=new a.SpeechSynthesisVisemeEventArgs(d.Data.Offset,d.Data.VisemeId,this.privSynthesisTurn.getAndClearVisemeAnimation()),this.privSpeechSynthesizer.visemeReceived))try{this.privSpeechSynthesizer.visemeReceived(this.privSpeechSynthesizer,m)}catch(g){}}return[3,13];case 7:this.privSynthesisTurn.onServiceTurnEndResponse(),y=void 0,i.label=8;case 8:return i.trys.push([8,10,,11]),[4,this.privSynthesisTurn.getAllReceivedAudioWithHeader()];case 9:return T=i.sent(),y=new a.SpeechSynthesisResult(this.privSynthesisTurn.requestId,a.ResultReason.SynthesizingAudioCompleted,T),this.privSuccessCallback&&this.privSuccessCallback(y),[3,11];case 10:return b=i.sent(),this.privErrorCallback&&this.privErrorCallback(b),[3,11];case 11:if(this.privSpeechSynthesizer.synthesisCompleted)try{this.privSpeechSynthesizer.synthesisCompleted(this.privSpeechSynthesizer,new a.SpeechSynthesisEventArgs(y))}catch(_){}return[3,13];case 12:this.processTypeSpecificMessages(r)||this.privServiceEvents&&this.serviceEvents.onEvent(new o.ServiceEvent(r.path.toLowerCase(),r.textBody)),i.label=13;case 13:return[2,this.receiveMessage()];case 14:return i.sent(),[3,15];case 15:return[2]}}
2))}))},e.prototype.connectImpl=function(e){var t=this;if(void 0===e&&(e=!1),this.privConnectionPromise)return this.privConnectionPromise.then((function(e){return e.state()===o.ConnectionState.Disconnected?(t.privConnectionId=null,t.privConnectionPromise=null,t.privServiceHasSentMessage=!1,t.connectImpl()):t.privConnectionPromise}),(function(e){return t.privConnectionId=null,t.privConnectionPromise=null,t.privServiceHasSentMessage=!1,t.connectImpl()}));this.privAuthFetchEventId=o.createNoDashGuid(),this.privConnectionId=o.createNoDashGuid(),this.privSynthesisTurn.onPreConnectionStart(this.privAuthFetchEventId,this.privConnectionId);var r=e?this.privAuthentication.fetchOnExpiry(this.privAuthFetchEventId):this.privAuthentication.fetch(this.privAuthFetchEventId);return this.privConnectionPromise=r.then((function(r){return n(t,void 0,void 0,(function(){var t,n,o=this;return i(this,(function(i){switch(i.label){case 0:return[4,this.privSynthesisTurn.onAuthCompleted(!1)];case 1:return i.sent(),(t=this.privConnectionFactory.create(this.privSynthesizerConfig,r,this.privConnectionId)).events.attach((function(e){o.connectionEvents.onEvent(e)})),[4,t.open()];case 2:return 200!==(n=i.sent()).statusCode?[3,4]:[4,this.privSynthesisTurn.onConnectionEstablishCompleted(n.statusCode)];case 3:return i.sent(),[2,Promise.resolve(t)];case 4:return 403!==n.statusCode||e?[3,5]:[2,this.connectImpl(!0)];case 5:return[4,this.privSynthesisTurn.onConnectionEstablishCompleted(n.statusCode,n.reason)];case 6:return i.sent(),[2,Promise.reject("Unable to contact server. StatusCode: "+n.statusCode+", "+this.privSynthesizerConfig.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint)+" Reason: "+n.reason)]}}))}))}),(function(e){return n(t,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.privSynthesisTurn.onAuthCompleted(!0,e)];case 1:throw t.sent(),new Error(e)}}))}))})),this.privConnectionPromise.catch((function(){})),this.privConnectionPromise},e.prototype.fetchConnection=function(){return n(this,void 0,void 0,(function(){var e=this;return i(this,(function(t){switch(t.label){case 0:return this.privConnectionConfigurationPromise?[2,this.privConnectionConfigurationPromise.then((function(t){return t.state()===o.ConnectionState.Disconnected?(e.privConnectionId=null,e.privConnectionConfigurationPromise=null,e.privServiceHasSentMessage=!1,e.fetchConnection()):e.privConnectionConfigurationPromise}),(function(t){return e.privConnectionId=null,e.privConnectionConfigurationPromise=null,e.privServiceHasSentMessage=!1,e.fetchConnection()}))]:(this.privConnectionConfigurationPromise=this.configureConnection(),[4,this.privConnectionConfigurationPromise]);case 1:return[2,t.sent()]}}))}))},e.prototype.configureConnection=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return[4,this.connectImpl()];case 1:return e=t.sent(),void 0!==this.configConnectionOverride?[2,this.configConnectionOverride(e)]:[4,this.sendSpeechServiceConfig(e,this.privSynthesizerConfig.SpeechServiceConfig.serialize())];case 2:return t.sent(),[2,e]}}))}))},e.telemetryDataEnabled=!0,e}();t.SynthesisAdapterBase=c},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}
2,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketMessageAdapter=void 0;var a=r(116),s=r(16),u=o(r(1773)),c=r(1774),l=function(){function e(t,r,n,i,o,l){var p=this;if(this.open=function(){if(p.privConnectionState===s.ConnectionState.Disconnected)return Promise.reject("Cannot open a connection that is in "+p.privConnectionState+" state");if(p.privConnectionEstablishDeferral)return p.privConnectionEstablishDeferral.promise;p.privConnectionEstablishDeferral=new s.Deferred,p.privCertificateValidatedDeferral=new s.Deferred,p.privConnectionState=s.ConnectionState.Connecting;try{if("undefined"===typeof WebSocket||e.forceNpmWebSocket){var t={headers:p.privHeaders,perMessageDeflate:p.privEnableCompression};p.privCertificateValidatedDeferral.resolve();var r=new c.CertCheckAgent(p.proxyInfo);t.agent=r.GetAgent(),p.privWebsocketClient=new u.default(p.privUri,t)}else p.privCertificateValidatedDeferral.resolve(),p.privWebsocketClient=new WebSocket(p.privUri);p.privWebsocketClient.binaryType="arraybuffer",p.privReceivingMessageQueue=new s.Queue,p.privDisconnectDeferral=new s.Deferred,p.privSendMessageQueue=new s.Queue,p.processSendQueue().catch((function(e){s.Events.instance.onEvent(new s.BackgroundEvent(e))}))}catch(n){return p.privConnectionEstablishDeferral.resolve(new s.ConnectionOpenResponse(500,n)),p.privConnectionEstablishDeferral.promise}return p.onEvent(new s.ConnectionStartEvent(p.privConnectionId,p.privUri)),p.privWebsocketClient.onopen=function(e){p.privCertificateValidatedDeferral.promise.then((function(){p.privConnectionState=s.ConnectionState.Connected,p.onEvent(new s.ConnectionEstablishedEvent(p.privConnectionId)),p.privConnectionEstablishDeferral.resolve(new s.ConnectionOpenResponse(200,""))}),(function(e){p.privConnectionEstablishDeferral.reject(e)}))},p.privWebsocketClient.onerror=function(e){p.onEvent(new s.ConnectionErrorEvent(p.privConnectionId,e.message,e.type)),p.privLastErrorReceived=e.message},p.privWebsocketClient.onclose=function(e){p.privConnectionState===s.ConnectionState.Connecting?(p.privConnectionState=s.ConnectionState.Disconnected,p.privConnectionEstablishDeferral.resolve(new s.ConnectionOpenResponse(e.code,e.reason+" "+p.privLastErrorReceived))):(p.privConnectionState=s.ConnectionState.Disconnected,p.privWebsocketClient=null,p.onEvent(new s.ConnectionClosedEvent(p.privConnectionId,e.code,e.reason))),p.onClose(e.code,e.reason).catch((function(e){s.Events.instance.onEvent(new s.BackgroundEvent(e))}))},p.privWebsocketClient.onmessage=function(e){var t=(new Date).toISOString();if(p.privConnectionState===s.ConnectionState.Connected){var r=new s.Deferred;if(p.privReceivingMessageQueue.enqueueFromPromise(r.promise),e.data instanceof ArrayBuffer){var n=new s.RawWebsocketMessage(s.MessageType.Binary,e.data);p.privMessageFormatter.toConnectionMessage(n).then((function(e){p.onEvent(new s.ConnectionMessageReceivedEvent(p.privConnectionId,t,e)),r.resolve(e)}),(function(e){r.reject("Invalid binary message format. Error: "+e)}))}else{n=new s.RawWebsocketMessage(s.MessageType.Text,e.data);p.privMessageFormatter.toConnectionMessage(n).then((function(e){p.onEvent(new s.ConnectionMessageReceivedEvent(p.privConnectionId,t,e)),r.resolve(e)}),(function(e){r.reject("Invalid text message format. Error: "+e)}))}}},p.privConnectionEstablishDeferral.promise},this.send=function(e){if(p.privConnectionState!==s.ConnectionState.Connected)return Promise.reject("Cannot send on connection that is in "+s.ConnectionState[p.privConnectionState]+" state");var t=new s.Deferred,r=new s.Deferred;return p.privSendMessageQueue.enqueueFromPromise(r.promise),p.privMessageFormatter.fromConnectionMessage(e).then((function(n){r.resolve({Message:e,RawWebsocketMessage:n,sendStatusDeferral:t})}),(function(e){r.reject("Error formatting the message. "+e)})),t.promise},this.read=function(){return p.privConnectionState!==s.ConnectionState.Connected?Promise.reject("Cannot read on connection that is in "+p.privConnectionState+" state"):p.privReceivingMessageQueue.dequeue()},this.close=function(e){return p.privWebsocketClient?(p.privConnectionState!==s.ConnectionState.Disconnected&&p.privWebsocketClient.close(1e3,e||"Normal closure by client"),p.privDisconnectDeferral.promise):Promise.resolve()},this.sendRawMessage=function(e){try{return e?(p.onEvent(new s.ConnectionMessageSentEvent(p.privConnectionId,(new Date).toISOString(),e.Message)),p.isWebsocketOpen?(p.privWebsocketClient.send(e.RawWebsocketMessage.payload),Promise.resolve()):Promise.reject("websocket send error: Websocket not ready "+p.privConnectionId+" "+e.Message.id+" "+(new Error).stack)):Promise.resolve()}catch(t){return Promise.reject("websocket send error: "+t)}},this.onEvent=function(e){p.privConnectionEvents.onEvent(e),s.Events.instance.onEvent(e)},!t)throw new s.ArgumentNullError("uri");if(!n)throw new s.ArgumentNullError("messageFormatter");this.proxyInfo=i,this.privConnectionEvents=new s.EventSource,this.privConnectionId=r,this.privMe
2ssageFormatter=n,this.privConnectionState=s.ConnectionState.None,this.privUri=t,this.privHeaders=o,this.privEnableCompression=l,this.privHeaders[a.HeaderNames.ConnectionId]=this.privConnectionId,this.privLastErrorReceived=""}return Object.defineProperty(e.prototype,"state",{get:function(){return this.privConnectionState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){return this.privConnectionEvents},enumerable:!1,configurable:!0}),e.prototype.onClose=function(e,t){return n(this,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return r="Connection closed. "+e+": "+t,this.privConnectionState=s.ConnectionState.Disconnected,this.privDisconnectDeferral.resolve(),[4,this.privReceivingMessageQueue.drainAndDispose((function(e){}),r)];case 1:return n.sent(),[4,this.privSendMessageQueue.drainAndDispose((function(e){e.sendStatusDeferral.reject(r)}),r)];case 2:return n.sent(),[2]}}))}))},e.prototype.processSendQueue=function(){return n(this,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privSendMessageQueue.dequeue()];case 1:if(!(e=r.sent()))return[2];r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.sendRawMessage(e)];case 3:return r.sent(),e.sendStatusDeferral.resolve(),[3,5];case 4:return t=r.sent(),e.sendStatusDeferral.reject(t),[3,5];case 5:return[3,0];case 6:return[2]}}
2))}))},Object.defineProperty(e.prototype,"isWebsocketOpen",{get:function(){return this.privWebsocketClient&&this.privWebsocketClient.readyState===this.privWebsocketClient.OPEN},enumerable:!1,configurable:!0}),e.forceNpmWebSocket=!1,e}();t.WebsocketMessageAdapter=l},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p<t;)u&&u[p].run();p=-1,t=c.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.authorizationToken,r=e.credentials,n=e.looseEvent,o=e.looseEvents,l=e.region,d=void 0===l?"westus":l,h=e.subscriptionKey,v=(0,s.default)(e,c);"undefined"!==typeof n&&(console.warn('web-speech-cognitive-services: The option "looseEvent" should be named as "looseEvents".'),o=n);if(!r){if(!t&&!h)throw new Error("web-speech-cognitive-services: Credentials must be specified.");console.warn("web-speech-cognitive-services: We are deprecating authorizationToken, region, and subscriptionKey. Please use credentials instead. The deprecated option will be removed on or after 2020-11-14."),r=function(){var e=(0,a.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=8;break}return e.next=3,(0,u.default)(t);case 3:e.t1=e.sent,e.t2=d,e.t0={authorizationToken:e.t1,region:e.t2},e.next=13;break;case 8:return e.t3=d,e.next=11,(0,u.default)(h);case 11:e.t4=e.sent,e.t0={region:e.t3,subscriptionKey:e.t4};case 13:return e.abrupt("return",e.t0);case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}return p(p({},v),{},{fetchCredentials:function(){var e=(0,a.default)(i.default.mark((function e(){var t,n,o,a,s,c,l,p;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(r);case 2:if(t=e.sent,n=t.authorizationToken,o=t.customVoiceHostname,a=t.region,s=t.speechRecognitionHostname,c=t.speechSynthesisHostname,l=t.subscriptionKey,!(!n&&!l||n&&l)){e.next=13;break}throw new Error('web-speech-cognitive-services: Either "authorizationToken" or "subscriptionKey" must be provided.');case 13:if(a||s&&c){e.next=17;break}throw new Error('web-speech-cognitive-services: Either "region" or "speechRecognitionHostname" and "speechSynthesisHostname" must be set.');case 17:if(!a||!(o||s||c)){e.next=21;break}throw new Error('web-speech-cognitive-services: Only either "region" or "customVoiceHostname", "speechRecognitionHostname" and "speechSynthesisHostname" can be set.');case 21:if(!n){e.next=26;break}if("string"===typeof n){e.next=24;break}
2throw new Error('web-speech-cognitive-services: "authorizationToken" must be a string.');case 24:e.next=28;break;case 26:if("string"===typeof l){e.next=28;break}throw new Error('web-speech-cognitive-services: "subscriptionKey" must be a string.');case 28:return f&&l&&(console.warn("web-speech-cognitive-services: In production environment, subscription key should not be used, authorization token should be used instead."),f=!1),p=n?{authorizationToken:n}:{subscriptionKey:l},a?p.region=a:(p.customVoiceHostname=o,p.speechRecognitionHostname=s,p.speechSynthesisHostname=c),e.abrupt("return",p);case 32:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),looseEvents:o})};var i=n(r(113)),o=n(r(194)),a=n(r(114)),s=n(r(1788)),u=n(r(1790)),c=["authorizationToken","credentials","looseEvent","looseEvents","region","subscriptionKey"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=!0},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(141)),o=n(r(161)),a=function(){function e(t){var r=t.gender,n=t.lang,o=t.voiceURI;(0,i.default)(this,e),this._default=!1,this._gender=r,this._lang=n,this._localService=!1,this._name=o,this._voiceURI=o}return(0,o.default)(e,[{key:"default",get:function(){return this._default}},{key:"gender",get:function(){return this._gender}},{key:"lang",get:function(){return this._lang}},{key:"localService",get:function(){return this._localService}},{key:"name",get:function(){return this._name}},{key:"voiceURI",get:function(){return this._voiceURI}}]),e}();t.default=a},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(141)),o=n(r(329)),a=n(r(330)),s=n(r(331));function u(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,s.default)(e);if(t){var i=(0,s.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,a.default)(this,r)}}var c=function(e){(0,o.default)(r,e);var t=u(r);function r(e){return(0,i.default)(this,r),t.call(this,e)}return r}(r(166).Event);t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(1800))&&n.__esModule?n:{default:n};function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.defers=[],this.upcomingDeferred=null,this.eventListener=this.eventListener.bind(this),this.options=r,this.one=this.one.bind(this),this.upcoming=this.upcoming.bind(this),this[Symbol.iterator]=function(){return{next:function(){return{done:!1,value:t.upcoming()}}}}}var t,r,n;return t=e,(r=[{key:"eventListener",value:function(e){var t=this.defers.shift(),r=this.options.array?[].slice.call(arguments):e;t&&t.resolve(r),this.upcomingDeferred&&(this.upcomingDeferred.resolve(r),this.upcomingDeferred=null)}},{key:"one",value:function(){var e=(0,i.default)();return this.defers.push(e),e.promise}},{key:"upcoming",value:function(){return this.upcomingDeferred||(this.upcomingDeferred=(0,i.default)()),this.upcomingDeferred.promise}}])&&a(t.prototype,r),n&&a(t,n),e}();t.default=s,e.exports=t.default,e.exports.default=t.default},function(e,t){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",r=new Uint8Array(256),n=0;n<e.length;n++)r[e.charCodeAt(n)]=n;t.encode=function(t){var r,n=new Uint8Array(t),i=n.length,o="";for(r=0;r<i;r+=3)o+=e[n[r]>>2],o+=e[(3&n[r])<<4|n[r+1]>>4],o+=e[(15&n[r+1])<<2|n[r+2]>>6],o+=e[63&n[r+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},t.decode=function(e){var t,n,i,o,a,s=.75*e.length,u=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var l=new ArrayBuffer(s),p=new Uint8Array(l);for(t=0;t<u;t+=4)n=r[e.charCodeAt(t)],i=r[e.charCodeAt(t+1)],o=r[e.charCodeAt(t+2)],a=r[e.charCodeAt(t+3)],p[c++]=n<<2|i>>4,p[c++]=(15&i)<<4|o>>2,p[c++]=(3&o)<<6|63&a;return l}}()},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.audioContext,r=e.audioInputDeviceId,n=e.enableTelemetry;return t||(t=(0,p.default)()),{audioConfig:v({audioConstraints:!r||{deviceId:r},audioContext:t,enableTelemetry:!!n||void 0}),audioContext:t}};var i=n(r(795)),o=n(r(63)),a=n(r(796)),s=r(16),u=r(85),c=n(r(1806)),l=n(r(1807)),p=n(r(1810)),f=n(r(1811)),d=Object.freeze({channelCount:1,sampleRate:16e3,sampleSize:16}),h=Object.freeze({bitsPerSample:d.sampleSize,channels:d.channelCount,samplesPerSec:d.sampleRate});function v(e){var t=e.audioConstraints,r=e.audioContext,n=e.debug,p=e.enableTelemetry,v=e.pcmRecorderWorkletUrl,m=e.bufferDurationInMS||100,y=new u.PcmRecorder;return v&&y.setWorkletUrl(v),(0,l.default)({attach:function(e){return(0,a.default)(i.default.mark((function n(){var a,u,l,v,T;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,f.default)({audio:t,video:!1});case 2:if(a=n.sent,u=a.getAudioTracks(),l=(0,o.default)(u,1),v=l[0]){n.next=6;break}throw new Error("No audio device is found.");case 6:return T=new s.ChunkedArrayBufferStream((0,c.default)(d)*((m||100)/1e3),e),y.record(r,a,T),n.abrupt("return",{audioStreamNode:{detach:function(){T.readEnded(),T.close(),y.releaseMediaResources(r),a.getTracks().forEach((function(e){return a.removeTrack(e)}))},id:function(){return e},read:function(){return T.read()}},deviceInfo:{manufacturer:"Bot Framework Web Chat",model:p?v.label:"",type:p?"Microphones":"Unknown"},format:h});case 9:case"end":return n.stop()}}),n)})))()},debug:n})}},function(e,t,r){e.exports=r(150)},function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1808);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(89).default,i=r(466);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(){Object(n.a)(this,e)}return Object(i.a)(e,[{key:"addPhrase",value:function(e){this.privPhrases||(this.privPhrases=[]),e instanceof Array?this.privPhrases=this.privPhrases.concat(e):this.privPhrases.push(e)}},{key:"clearPhrases",value:function(){this.privPhrases=void 0}},{key:"addReferenceGrammar",value:function(e){this.privGrammars||(this.privGrammars=[]),e instanceof Array?this.privGrammars=this.privGrammars.concat(e):this.privGrammars.push(e)}},{key:"clearGrammars",value:function(){this.privGrammars=void 0}},{key:"generateGrammarObject",value:function(){if(void 0!==this.privGrammars||void 0!==this.privPhrases){var e={};if(e.ReferenceGrammars=this.privGrammars,void 0!==this.privPhrases&&0!==this.privPhrases.length){var t=[];
2this.privPhrases.forEach((function(e,r,n){t.push({Text:e})})),e.Groups=[{Type:"Generic",Items:t}]}return e}}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privContext={},this.privDynamicGrammar=t}return Object(i.a)(e,[{key:"setSection",value:function(e,t){this.privContext[e]=t}},{key:"setPronunciationAssessmentParams",value:function(e){void 0===this.privContext.phraseDetection&&(this.privContext.phraseDetection={enrichment:{pronunciationAssessment:{}}}),this.privContext.phraseDetection.enrichment.pronunciationAssessment=JSON.parse(e),void 0===this.privContext.phraseOutput&&(this.privContext.phraseOutput={detailed:{options:[]},format:{}}),this.privContext.phraseOutput.format="Detailed",this.privContext.phraseOutput.detailed.options.push("PronunciationAssessment"),-1===this.privContext.phraseOutput.detailed.options.indexOf("WordTimings")&&this.privContext.phraseOutput.detailed.options.push("WordTimings")}},{key:"toJSON",value:function(){var e=this.privDynamicGrammar.generateGrammarObject();return this.setSection("dgi",e),JSON.stringify(this.privContext)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privSpeechStartDetected=JSON.parse(t)}return Object(i.a)(e,[{key:"Offset",get:function(){return this.privSpeechStartDetected.Offset}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(1),i=r(26),o=r(33),a=r(167),s=function e(t){var r=this;if(Object(n.a)(this,e),this.fetch=function(e){return Promise.resolve(r.privAuthInfo)},this.fetchOnExpiry=function(e){return Promise.resolve(r.privAuthInfo)},!t)throw new i.a("subscriptionKey");this.privAuthInfo=new a.a(o.a.AuthKey,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(26),o=r(167),a=function e(t,r){var a=this;if(Object(n.a)(this,e),this.fetch=function(e){return a.privFetchCallback(e).then((function(e){return new o.a("Authorization",e)}))},this.fetchOnExpiry=function(e){return a.privFetchOnExpiryCallback(e).then((function(e){return new o.a("Authorization",e)}))},!t)throw new i.a("fetchCallback");if(!r)throw new i.a("fetchOnExpiryCallback");this.privFetchCallback=t,this.privFetchOnExpiryCallback=r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(1),i=r(6),o=r(7),a=r(258),s=r(257),u=r(11),c=r(9),l=r(105),p=r(93),f=r(104),d=r(173),h=r(33),v=r(38),m=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){var e;return Object(n.a)(this,r),(e=t.apply(this,arguments)).interactiveRelativeUri="/speech/recognition/interactive/cognitiveservices/v1",e.conversationRelativeUri="/speech/recognition/conversation/cognitiveservices/v1",e.dictationRelativeUri="/speech/recognition/dictation/cognitiveservices/v1",e.create=function(t,r,n){var i=t.parameters.getProperty(c.a.SpeechServiceConnection_Endpoint,void 0),o=t.parameters.getProperty(c.a.SpeechServiceConnection_Region,void 0),p=o&&o.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",m=t.parameters.getProperty(c.a.SpeechServiceConnection_Host,"wss://"+o+".stt.speech"+p),y={},T=t.parameters.getProperty(c.a.SpeechServiceConnection_EndpointId,void 0),b=t.parameters.getProperty(c.a.SpeechServiceConnection_RecoLanguage,void 0);
2if(T?i&&-1!==i.search(v.a.CustomSpeechDeploymentId)||(y[v.a.CustomSpeechDeploymentId]=T):b&&(i&&-1!==i.search(v.a.Language)||(y[v.a.Language]=b)),i&&-1!==i.search(v.a.Format)||(y[v.a.Format]=t.parameters.getProperty(u.OutputFormatPropertyName,l.a[l.a.Simple]).toLowerCase()),void 0!==t.autoDetectSourceLanguages&&(y[v.a.EnableLanguageId]="true"),e.setCommonUrlParams(t,y,i),!i)switch(t.recognitionMode){case f.c.Conversation:i="true"===t.parameters.getProperty(u.ForceDictationPropertyName,"false")?m+e.dictationRelativeUri:m+e.conversationRelativeUri;break;case f.c.Dictation:i=m+e.dictationRelativeUri;break;default:i=m+e.interactiveRelativeUri}var g={};void 0!==r.token&&""!==r.token&&(g[r.headerName]=r.token),g[h.a.ConnectionId]=n,t.parameters.setProperty(c.a.SpeechServiceConnection_Url,i);var _="true"===t.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new a.a(i,y,g,new d.a,s.a.fromRecognizerConfig(t),_,n)},e}return r}(p.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return C}));var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(6),u=r(7),c=r(68),l=r(9),p=r(94),f=r(34),d=r(168),h=r(105),v=r(76),m=r(498),y=r(251),T=r(252),b=r(95),g=r(39),_=r(11),S=r(349),A=r(211),E=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},C=function(e){Object(s.a)(r,e);var t=Object(u.a)(r);function r(e,n,i,a,s){var u;if(Object(o.a)(this,r),(u=t.call(this,e,n,i,a,s)).privSpeechRecognizer=s,void 0!==a.autoDetectSourceLanguages){var c=a.autoDetectSourceLanguages.split(",");u.privSpeechContext.setSection("languageId",{languages:c,onSuccess:{action:"Recognize"},onUnknown:{action:"None"}}),u.privSpeechContext.setSection("phraseOutput",{interimResults:{resultType:"Auto"},phraseResults:{resultType:"Always"}})}return u}return Object(a.a)(r,[{key:"processTypeSpecificMessages",value:function(e){return E(this,void 0,void 0,i.a.mark((function t(){var r,n,o,a,s,u,v,m,A,E,C;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(n=new c.a).setProperty(l.a.SpeechServiceResponse_JsonResult,e.textBody),o=!1,t.t0=e.path.toLowerCase(),t.next="speech.hypothesis"===t.t0||"speech.fragment"===t.t0?6:"speech.phrase"===t.t0?14:27;break;case 6:if(a=y.a.fromJSON(e.textBody),s=a.Offset+this.privRequestSession.currentTurnAudioOffset,r=new p.a(this.privRequestSession.requestId,f.a.RecognizingSpeech,a.Text,a.Duration,s,a.Language,a.LanguageDetectionConfidence,void 0,void 0,e.textBody,n),this.privRequestSession.onHypothesis(s),u=new d.b(r,a.Duration,this.privRequestSession.sessionId),this.privSpeechRecognizer.recognizing)try{this.privSpeechRecognizer.recognizing(this.privSpeechRecognizer,u)}catch(i){}return o=!0,t.abrupt("break",28);case 14:if(v=T.a.fromJSON(e.textBody),m=b.a.implTranslateRecognitionResult(v.RecognitionStatus),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+v.Offset+v.Duration),f.a.Canceled!==m){t.next=23;break}return A=b.a.implTranslateCancelResult(v.RecognitionStatus),t.next=21,this.cancelRecognitionLocal(A,b.a.implTranslateCancelErrorCode(v.RecognitionStatus),void 0);case 21:t.next=25;break;case 23:if((!this.privRequestSession.isSpeechEnded||m!==f.a.NoMatch||v.RecognitionStatus===g.a.InitialSilenceTimeout)&&(this.privRecognizerConfig.parameters.getProperty(_.OutputFormatPropertyName)===h.a[h.a.Simple]?r=new p.a(this.privRequestSession.requestId,m,v.DisplayText,v.Duration,v.Offset+this.privRequestSession.currentTurnAudioOffset,v.Language,v.LanguageDetectionConfidence,void 0,void 0,e.textBody,n):(E=S.a.fromJSON(e.textBody),r=new p.a(this.privRequestSession.requestId,m,E.RecognitionStatus===g.a.Success?E.NBest[0].Display:void 0,E.Duration,E.Offset+this.privRequestSession.currentTurnAudioOffset,E.Language,E.LanguageDetectionConfidence,void 0,void 0,e.textBody,n)),C=new d.b(r,r.offset,this.privRequestSession.sessionId),this.privSpeechRecognizer.recognized))try{this.privSpeechRecognizer.recognized(this.privSpeechRecognizer,C)}catch(i){}if(this.privSuccessCallback){try{this.privSuccessCallback(r)}catch(O){this.privErrorCallback&&this.privErrorCallback(O)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}case 25:return o=!0,t.abrupt("break",28);case 27:return t.abrupt("break",28);case 28:return t.abrupt("return",o);case 29:case"end":return t.stop()}}),t,this)})))}},{key:"cancelRecognition",value:function(e,t,r,n,i){var o=new c.a;if(o.setProperty(_.CancellationErrorCodePropertyName,v.a[n]),this.privSpeechRecognizer.canceled){var a=new m.a(r,i,n,void 0,e);try{this.privSpeechRecognizer.canceled(this.privSpeechRecognizer,a)}catch(u){}}if(this.privSuccessCallback){var s=new p.a(t,f.a.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(s),this.privSuccessCallback=void 0}catch(l){}}}}]),r}(A.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(1),i=r(2),o=r(6),a=r(7),s=r(258),u=r(257),c=r(9),l=r(93),p=r(173),f=r(33),d=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(){var e;return Object(n.a)(this,r),(e=t.apply(this,arguments)).create=function(t,r,n){var i=t.parameters.getProperty(c.a.SpeechServiceConnection_Endpoint);if(!i){var o=t.parameters.getProperty(c.a.SpeechServiceConnection_IntentRegion),a=o&&o.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com";i=t.parameters.getProperty(c.a.SpeechServiceConnection_Host,"wss://"+o+".sr.speech"+a)+"/speech/recognition/interactive/cognitiveservices/v1"}var l={format:"simple",language:t.parameters.getProperty(c.a.SpeechServiceConnection_RecoLanguage)};
2e.setCommonUrlParams(t,l,i);var d={};void 0!==r.token&&""!==r.token&&(d[r.headerName]=r.token),d[f.a.ConnectionId]=n,t.parameters.setProperty(c.a.SpeechServiceConnection_Url,i);var h="true"===t.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new s.a(i,l,d,new p.a,u.a.fromRecognizerConfig(t),h,n)},e}return Object(i.a)(r,[{key:"getSpeechRegionFromIntentRegion",value:function(e){switch(e){case"West US":case"US West":case"westus":return"uswest";case"West US 2":case"US West 2":case"westus2":return"uswest2";case"South Central US":case"US South Central":case"southcentralus":return"ussouthcentral";case"West Central US":case"US West Central":case"westcentralus":return"uswestcentral";case"East US":case"US East":case"eastus":return"useast";case"East US 2":case"US East 2":case"eastus2":return"useast2";case"West Europe":case"Europe West":case"westeurope":return"europewest";case"North Europe":case"Europe North":case"northeurope":return"europenorth";case"Brazil South":case"South Brazil":case"southbrazil":return"brazilsouth";case"Australia East":case"East Australia":case"eastaustralia":return"australiaeast";case"Southeast Asia":case"Asia Southeast":case"southeastasia":return"asiasoutheast";case"East Asia":case"Asia East":case"eastasia":return"asiaeast";default:return e}}}]),r}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(1),i=function e(t,r){Object(n.a)(this,e),this.modelImpl=t,this.intentName=r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return E}));var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(6),u=r(7),c=r(46),l=r(68),p=r(9),f=r(172),d=r(34),h=r(171),v=r(76),m=r(501),y=r(251),T=r(252),b=r(95),g=r(500),_=r(11),S=r(211),A=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},E=function(e){Object(s.a)(r,e);var t=Object(u.a)(r);function r(e,n,i,a,s){var u;return Object(o.a)(this,r),(u=t.call(this,e,n,i,a,s)).privIntentRecognizer=s,u.privIntentDataSent=!1,u}return Object(a.a)(r,[{key:"setIntents",value:function(e,t){this.privAddedLmIntents=e,this.privUmbrellaIntent=t,this.privIntentDataSent=!0}},{key:"processTypeSpecificMessages",value:function(e){return A(this,void 0,void 0,i.a.mark((function t(){var r,n,o,a,s,u,v,m,_,S,A,E,C=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=!1,a=new l.a,e.messageType===c.b.Text&&a.setProperty(p.a.SpeechServiceResponse_JsonResult,e.textBody),t.t0=e.path.toLowerCase(),t.next="speech.hypothesis"===t.t0?6:"speech.phrase"===t.t0?13:"response"===t.t0?20:35;break;case 6:if(s=y.a.fromJSON(e.textBody),r=new f.a(void 0,this.privRequestSession.requestId,d.a.RecognizingIntent,s.Text,s.Duration,s.Offset+this.privRequestSession.currentTurnAudioOffset,s.Language,s.LanguageDetectionConfidence,void 0,e.textBody,a),this.privRequestSession.onHypothesis(r.offset),n=new h.a(r,s.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privIntentRecognizer.recognizing)try{this.privIntentRecognizer.recognizing(this.privIntentRecognizer,n)}catch(i){}return o=!0,t.abrupt("break",36);case 13:return u=T.a.fromJSON(e.textBody),r=new f.a(void 0,this.privRequestSession.requestId,b.a.implTranslateRecognitionResult(u.RecognitionStatus),u.Dis
2playText,u.Duration,u.Offset+this.privRequestSession.currentTurnAudioOffset,u.Language,u.LanguageDetectionConfidence,void 0,e.textBody,a),n=new h.a(r,r.offset,this.privRequestSession.sessionId),v=function(){if(C.privIntentRecognizer.recognized)try{C.privIntentRecognizer.recognized(C.privIntentRecognizer,n)}catch(i){}if(C.privSuccessCallback){try{C.privSuccessCallback(r)}catch(e){C.privErrorCallback&&C.privErrorCallback(e)}C.privSuccessCallback=void 0,C.privErrorCallback=void 0}},!1===this.privIntentDataSent||d.a.NoMatch===n.result.reason?(this.privRequestSession.onPhraseRecognized(n.offset+n.result.duration),v()):this.privPendingIntentArgs=n,o=!0,t.abrupt("break",36);case 20:if(n=this.privPendingIntentArgs,this.privPendingIntentArgs=void 0,void 0!==n){t.next=26;break}if(""!==e.textBody){t.next=25;break}return t.abrupt("return");case 25:n=new h.a(new f.a,0,this.privRequestSession.sessionId);case 26:if(m=g.a.fromJSON(e.textBody),_=this.privAddedLmIntents[m.topScoringIntent.intent],void 0!==this.privUmbrellaIntent&&(_=this.privUmbrellaIntent),null!==m&&void 0!==_&&(S=void 0===_.intentName?m.topScoringIntent.intent:_.intentName,A=n.result.reason,void 0!==S&&(A=d.a.RecognizedIntent),(E=void 0!==n.result.properties?n.result.properties:new l.a).setProperty(p.a.LanguageUnderstandingServiceResponse_JsonResult,e.textBody),n=new h.a(new f.a(S,n.result.resultId,A,n.result.text,n.result.duration,n.result.offset,void 0,void 0,n.result.errorDetails,n.result.json,E),n.offset,n.sessionId)),this.privRequestSession.onPhraseRecognized(n.offset+n.result.duration),this.privIntentRecognizer.recognized)try{this.privIntentRecognizer.recognized(this.privIntentRecognizer,n)}catch(i){}if(this.privSuccessCallback){try{this.privSuccessCallback(n.result)}catch(O){this.privErrorCallback&&this.privErrorCallback(O)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}return o=!0,t.abrupt("break",36);case 35:return t.abrupt("break",36);case 36:return t.abrupt("return",o);case 37:case"end":return t.stop()}}),t,this)})))}},{key:"cancelRecognition",value:function(e,t,r,n,i){var o=new l.a;if(o.setProperty(_.CancellationErrorCodePropertyName,v.a[n]),this.privIntentRecognizer.canceled){var a=new m.a(r,i,n,void 0,void 0,e);try{this.privIntentRecognizer.canceled(this.privIntentRecognizer,a)}catch(u){}}if(this.privSuccessCallback){var s=new f.a(void 0,t,d.a.Canceled,void 0,void 0,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(s),this.privSuccessCallback=void 0}catch(c){}}}}]),r}(S.a)},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.TextIndependentIdentification=0]="TextIndependentIdentification",e[e.TextDependentVerification=1]="TextDependentVerification",e[e.TextIndependentVerification=2]="TextIndependentVerification"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(1),i=r(6),o=r(7),a=r(258),s=r(257),u=r(9),c=r(93),l=r(173),p=r(33),f=r(38),d=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){var e;return Object(n.a)(this,r),(e=t.apply(this,arguments)).create=function(t,r,n){var i=t.parameters.getProperty(u.a.SpeechServiceConnection_Endpoint,void 0);if(!i){var o=t.parameters.getProperty(u.a.SpeechServiceConnection_Region,void 0),c=o&&o.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com";i=t.parameters.getProperty(u.a.SpeechServiceConnection_Host,"wss://"+o+".s2s.speech"+c)+"/speech/translation/cognitiveservices/v1"}var d={from:t.parameters.getProperty(u.a.SpeechServiceConnection_RecoLanguage),to:t.parameters.getProperty(u.a.SpeechServiceConnection_TranslationToLanguages)};e.setCommonUrlParams(t,d,i),e.setUrlParameter(u.a.SpeechServiceResponse_TranslationRequestStablePartialResult,f.a.StableTranslation,t,d,i);void 0!==t.parameters.getProperty(u.a.SpeechServiceConnection_TranslationVoice,void 0)&&(d.voice=t.parameters.getProperty(u.a.SpeechServiceConnection_TranslationVoice),d.features="texttospeech");var h={};void 0!==r.token&&""!==r.token&&(h[r.headerName]=r.token),h[p.a.ConnectionId]=n,t.parameters.setProperty(u.a.SpeechServiceConnection_Url,i);var v="true"===t.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new a.a(i,d,h,new l.a,s.a.fromRecognizerConfig(t),v,n)},e}return r}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return k}));var n=r(32),i=r(3),o=r.n(i),a=r(1),s=r(2),u=r(80),c=r(6),l=r(7),p=r(46),f=r(253),d=r(68),h=r(9),v=r(169),m=r(34),y=r(346),T=r(348),b=r(347),g=r(351),_=r(148),S=r(76),A=r(504),E=r(502),C=r(350),O
2=r(39),I=r(95),w=r(503),P=r(11),N=r(211),R=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},k=function(e){Object(c.a)(r,e);var t=Object(l.a)(r);function r(e,n,i,s,c){var l;return Object(a.a)(this,r),(l=t.call(this,e,n,i,s,c)).privTranslationRecognizer=c,l.connectionEvents.attach((function(e){return R(Object(u.a)(l),void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("ConnectionEstablishedEvent"!==e.name){t.next=4;break}this.privTranslationRecognizer.onConnection(),t.next=7;break;case 4:if("ConnectionClosedEvent"!==e.name){t.next=7;break}return t.next=7,this.privTranslationRecognizer.onDisconnection();case 7:case"end":return t.stop()}}),t,this)})))})),l}return Object(s.a)(r,[{key:"processTypeSpecificMessages",value:function(e){return R(this,void 0,void 0,o.a.mark((function t(){var r,n,i,a,s,u,c,l,f,A,P,N,R;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=new d.a,n=!1,e.messageType===p.b.Text&&r.setProperty(h.a.SpeechServiceResponse_JsonResult,e.textBody),t.t0=e.path.toLowerCase(),t.next="translation.hypothesis"===t.t0?6:"translation.phrase"===t.t0?11:"translation.synthesis"===t.t0?32:"translation.synthesis.end"===t.t0?35:47;break;case 6:if(i=this.fireEventForResult(E.a.fromJSON(e.textBody),r),this.privRequestSession.onHypothesis(this.privRequestSession.currentTurnAudioOffset+i.offset),this.privTranslationRecognizer.recognizing)try{this.privTranslationRecognizer.recognizing(this.privTranslationRecognizer,i)}catch(o){}return n=!0,t.abrupt("break",48);case 11:if(a=C.a.fromJSON(e.textBody),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+a.Offset+a.Duration),a.RecognitionStatus!==O.a.Success){t.next=20;break}if(s=this.fireEventForResult(a,r),this.privTranslationRecognizer.recognized)try{this.privTranslationRecognizer.recognized(this.privTranslationRecognizer,s)}catch(o){}if(this.privSuccessCallback){try{this.privSuccessCallback(s.result)}catch(k){this.privErrorCallback&&this.privErrorCallback(k)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}return t.abrupt("break",48);case 20:if(u=I.a.implTranslateRecognitionResult(a.RecognitionStatus),c=new v.a(void 0,this.privRequestSession.requestId,u,a.Text,a.Duration,this.privRequestSession.currentTurnAudioOffset+a.Offset,void 0,e.textBody,r),u!==m.a.C
2anceled){t.next=28;break}return l=I.a.implTranslateCancelResult(a.RecognitionStatus),t.next=26,this.cancelRecognitionLocal(l,I.a.implTranslateCancelErrorCode(a.RecognitionStatus),void 0);case 26:t.next=30;break;case 28:if((!this.privRequestSession.isSpeechEnded||u!==m.a.NoMatch||a.RecognitionStatus===O.a.InitialSilenceTimeout)&&(f=new y.a(c,c.offset,this.privRequestSession.sessionId),this.privTranslationRecognizer.recognized))try{this.privTranslationRecognizer.recognized(this.privTranslationRecognizer,f)}catch(o){}if(this.privSuccessCallback){try{this.privSuccessCallback(c)}catch(k){this.privErrorCallback&&this.privErrorCallback(k)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}case 30:return n=!0,t.abrupt("break",48);case 32:return this.sendSynthesisAudio(e.binaryBody,this.privRequestSession.sessionId),n=!0,t.abrupt("break",48);case 35:A=w.a.fromJSON(e.textBody),t.t1=A.SynthesisStatus,t.next=t.t1===O.b.Error?39:t.t1===O.b.Success?42:44;break;case 39:if(this.privTranslationRecognizer.synthesizing){P=new T.a(m.a.Canceled,void 0),N=new b.a(P,this.privRequestSession.sessionId);try{this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer,N)}catch(o){}}if(this.privTranslationRecognizer.canceled){R=new g.a(this.privRequestSession.sessionId,_.a.Error,A.FailureReason,S.a.ServiceError,null);try{this.privTranslationRecognizer.canceled(this.privTranslationRecognizer,R)}catch(o){}}return t.abrupt("break",45);case 42:return this.sendSynthesisAudio(void 0,this.privRequestSession.sessionId),t.abrupt("break",45);case 44:return t.abrupt("break",45);case 45:return n=!0,t.abrupt("break",48);case 47:return t.abrupt("break",48);case 48:return t.abrupt("return",n);case 49:case"end":return t.stop()}}),t,this)})))}},{key:"cancelRecognition",value:function(e,t,r,n,i){var o=new d.a;if(o.setProperty(P.CancellationErrorCodePropertyName,S.a[n]),this.privTranslationRecognizer.canceled){var a=new g.a(e,r,i,n,void 0);try{this.privTranslationRecognizer.canceled(this.privTranslationRecognizer,a)}catch(u){}}if(this.privSuccessCallback){var s=new v.a(void 0,t,m.a.Canceled,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(s),this.privSuccessCallback=void 0}catch(c){}}}},{key:"fireEventForResult",value:function(e,t){var r,i;if(void 0!==e.Translation.Translations){r=new A.a;var o,a=Object(n.a)(e.Translation.Translations);try{for(a.s();!(o=a.n()).done;){var s=o.value;r.set(s.Language,s.Text)}}catch(l){a.e(l)}finally{a.f()}}i=e instanceof C.a?e.Translation.TranslationStatus===f.a.Success?m.a.TranslatedSpeech:m.a.RecognizedSpeech:m.a.TranslatingSpeech;var u=e.Offset+this.privRequestSession.currentTurnAudioOffset,c=new v.a(r,this.privRequestSession.requestId,i,e.Text,e.Duration,u,e.Translation.FailureReason,JSON.stringify(e),t);return new y.a(c,u,this.privRequestSession.sessionId)}},{key:"sendSynthesisAudio",value:function(e,t){var r=void 0===e?m.a.SynthesizingAudioCompleted:m.a.SynthesizingAudio,n=new T.a(r,e),i=new b.a(n,t);if(this.privTranslationRecognizer.synthesizing)try{this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer,i)}catch(o){}}}]),r}(N.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t,r){Object(n.a)(this,e),this.privActivity=t,this.privAudioStream=r}return Object(i.a)(e,[{key:"activity",get:function(){return this.privActivity}},{key:"audioStream",get:function(){return this.privAudioStream}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privSpeechKeyword=JSON.parse(t)}return Object(i.a)(e,[{key:"Status",get:function(){return this.privSpeechKeyword.Status}},{key:"Text",get:function(){return this.privSpeechKeyword.Text}},{key:"Offset",get:function(){return this.privSpeechKeyword.Offset}},{key:"Duration",get:function(){return this.privSpeechKeyword.Duration}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),i=r(2),o=r(104),a=function(){function e(t,r){Object(n.a)(this,e),this.privContext=t||new o.a(null),this.privParameters=r}return Object(i.a)(e,[{key:"parameters",get:function(){return this.privParameters}},{key:"Context",get:function(){return this.privContext}}]),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(1),i=r(6),o=r(7),a=r(258),s=r(257),u=r(9),c=r(93),l=r(173),p=r(33),f=r(38),d=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){var e;return Object(n.a)(this,r),(e=t.apply(this,arguments)).multiaudioRelativeUri="/speech/recognition/multiaudio",e.create=function(t,r,n){var i=t.parameters.getProperty(u.a.SpeechServiceConnection_Endpoint,void 0),o=t.parameters.getProperty(u.a.SpeechServiceConnection_Region,"centralus"),c=o&&o.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",d="wss://transcribe."+o+".cts.speech"+c+e.multiaudioRelativeUri,h=t.parameters.getProperty(u.a.SpeechServiceConnection_Host,d),v={},m=t.parameters.getProperty(u.a.SpeechServiceConnection_EndpointId,void 0),y=t.parameters.getProperty(u.a.SpeechServiceConnection_RecoLanguage,void 0);
2m?i&&-1!==i.search(f.a.CustomSpeechDeploymentId)||(v[f.a.CustomSpeechDeploymentId]=m):y&&(i&&-1!==i.search(f.a.Language)||(v[f.a.Language]=y)),e.setCommonUrlParams(t,v,i),i||(i=h);var T={};void 0!==r.token&&""!==r.token&&(T[r.headerName]=r.token),T[p.a.ConnectionId]=n,t.parameters.setProperty(u.a.SpeechServiceConnection_Url,i);var b="true"===t.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new a.a(i,v,T,new l.a,s.a.fromRecognizerConfig(t),b,n)},e}return r}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return I}));var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(6),u=r(7),c=r(46),l=r(68),p=r(9),f=r(94),d=r(34),h=r(168),v=r(105),m=r(76),y=r(505),T=r(251),b=r(252),g=r(95),_=r(39),S=r(11),A=r(349),E=r(211),C=r(45),O=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},I=function(e){Object(s.a)(r,e);var t=Object(u.a)(r);function r(e,n,i,a,s){var u;return Object(o.a)(this,r),(u=t.call(this,e,n,i,a,s)).sendSpeechEvent=function(e,t){var r=JSON.stringify(t);if(r)return e.send(new C.a(c.b.Text,"speech.event",u.privRequestSession.requestId,"application/json",r))},u.privTranscriberRecognizer=s,u.sendPrePayloadJSONOverride=u.sendTranscriptionStartJSON,u}return Object(a.a)(r,[{key:"sendSpeechEventAsync",value:function(e,t){return O(this,void 0,void 0,i.a.mark((function r(){var n;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.privRequestSession.isRecognizing){r.next=6;break}return r.next=3,this.fetchConnection();case 3:return n=r.sent,r.next=6,this.sendSpeechEvent(n,this.createSpeechEventPayload(e,t));case 6:case"end":return r.stop()}}),r,this)})))}},{key:"processTypeSpecificMessages",value:function(e){return O(this,void 0,void 0,i.a.mark((function t(){var r,n,o,a,s,u,c,m,y,E,C;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(n=new l.a).setProperty(p.a.SpeechServiceResponse_JsonResult,e.textBody),o=!1,t.t0=e.path.toLowerCase(),t.next="speech.hypothesis"===t.t0||"speech.fragment"===t.t0?6:"speech.phrase"===t.t0?14:27;break;case 6:if(a=T.a.fromJSON(e.textBody),s=a.Offset+this.privRequestSession.currentTurnAudioOffset,r=new f.a(this.privRequestSession.requestId,d.a.RecognizingSpeech,a.Text,a.Duration,s,a.Language,a.LanguageDetectionConfidence,a.SpeakerId,void 0,e.textBody,n),this.privRequestSession.onHypothesis(s),u=new h.b(r,a.Duration,this.privRequestSession.sessionId),this.privTranscriberRecognizer.recognizing)try{this.privTranscriberRecognizer.recognizing(this.privTranscriberRecognizer,u)}catch(i){}return o=!0,t.abrupt("break",28);case 14:if(c=b.a.fromJSON(e.textBody),m=g.a.implTranslateRecognitionResult(c.RecognitionStatus),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+c.Offset+c.Duration),d.a.Canceled!==m){t.next=23;break}return y=g.a.implTranslateCancelResult(c.RecognitionStatus),t.next=21,this.cancelRecognitionLocal(y,g.a.implTranslateCancelErrorCode(c.RecognitionStatus),void 0);case 21:t.next=25;break;case 23:if((!this.privRequestSession.isSpeechEnded||m!==d.a.NoMatch||c.RecognitionStatus===_.a.InitialSilenceTimeout)&&(this.privRecognizerConfig.parameters.getProperty(S.OutputFormatPropertyName)===v.a[v.a.Simple]?r=new f.a(this.privRequestSession.requestId,m,c.DisplayText,c.Duration,c.Offset+this.privRequestSession.currentTurnAudioOffset,c.Language,c.LanguageDetectionConfidence,c.SpeakerId,void 0,e.textBody,n):(E=A.a.fromJSON(e.textBody),r=new f.a(this.privRequestSession.requestId,m,E.RecognitionStatus===_.a.Success?E.NBest[0].Display:void 0,E.Duration,E.Offset+this.privRequestSession.currentTurnAudioOffset,E.Language,E.LanguageDetectionConfidence,void 0,void 0,e.textBody,n)),C=new h.b(r,r.offset,this.privRequestSession.sessionId),this.privTranscriberRecognizer.recognized))try{this.privTranscriberRecognizer.recognized(this.privTranscriberRecognizer,C)}catch(i){}if(this.privSuccessCallback){try{this.privSuccessCallback(r)}catch(O){this.privErrorCallback&&this.privErrorCallback(O)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}case 25:return o=!0,t.abrupt("break",28);case 27:return t.abrupt("break",28);case 28:return t.abrupt("return",o);case 29:case"end":return t.stop()}}),t,this)})))}},{key:"cancelRecognition",value:function(e,t,r,n,i){var o=new l.a;if(o.setProperty(S.CancellationErrorCodePropertyName,m.a[n]),this.privTranscriberRecognizer.canceled){var a=new y.a(r,i,n,void 0,e);try{this.privTranscriberRecognizer.canceled(this.privTranscriberRecognizer,a)}catch(u){}}if(this.privSuccessCallback){var s=new f.a(t,d.a.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(s),this.privSuccessCallback=void 0}catch(c){}}}},{key:"sendTranscriptionStartJSON",value:function(e){return O(this,void 0,void 0,i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.sendSpeechContext(e);case 2:return r=this.privTranscriberRecognizer.getConversationInfo(),n=this.createSpeechEventPayload(r,"start"),t.next=6,this.sendSpeechEvent(e,n);case 6:return t.next=8,this.sendWaveHeader(e);case 8:return t.abrupt("return");case 9:case"end":return t.stop()}}),t,this)})))}},{key:"createSpeechEventPayload",value:function(e,t){var r={id:"meeting",name:t,meeting:e.conversationProperties};return r.meeting.id=e.id,r.meeting.attendees=e.participants,r.meeting.record="on"===e.conversationProperties.audiorecording?"true":"false",r}}]),r}(E.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));
2var n=r(1),i=r(258),o=r(257),a=r(9),s=r(173),u=r(33),c=r(38),l=function e(){var t=this;Object(n.a)(this,e),this.synthesisUri="/cognitiveservices/websocket/v1",this.create=function(e,r,n){var l=e.parameters.getProperty(a.a.SpeechServiceConnection_Endpoint,void 0),p=e.parameters.getProperty(a.a.SpeechServiceConnection_Region,void 0),f=p&&p.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",d=e.parameters.getProperty(a.a.SpeechServiceConnection_EndpointId,void 0),h=void 0===d?"tts":"voice",v=e.parameters.getProperty(a.a.SpeechServiceConnection_Host,"wss://"+p+"."+h+".speech"+f);l||(l=v+t.synthesisUri);var m={};void 0!==r.token&&""!==r.token&&(m[r.headerName]=r.token),m[u.a.ConnectionId]=n,void 0!==d&&(m[c.a.CustomVoiceDeploymentId]=d),e.parameters.setProperty(a.a.SpeechServiceConnection_Url,l);var y="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.a(l,{},m,new s.a,o.a.fromParameters(e.parameters),y,n)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n,i=r(1),o=r(2),a=r(104);!function(e){e[e.Standard=0]="Standard",e[e.Custom=1]="Custom"}(n||(n={}));var s=function(){function e(t,r){Object(i.a)(this,e),this.privSynthesisServiceType=n.Standard,this.privSpeechServiceConfig=t||new a.e(new a.a(null)),this.privParameters=r}return Object(o.a)(e,[{key:"parameters",get:function(){return this.privParameters}},{key:"synthesisServiceType",get:function(){return this.privSynthesisServiceType},set:function(e){this.privSynthesisServiceType=e}},{key:"SpeechServiceConfig",get:function(){return this.privSpeechServiceConfig}}]),e}()},function(e,t,r){var n=r(1818);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(467).default,i=r(1819);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(1832)},function(e,t,r){var n=r(1833);e.exports=n},function(e,t,r){e.exports=r(1835)},function(e,t,r){var n=r(1843);e.exports=n},function(e,t,r){"use strict";var n=r(36),i=r(47),o=r(334),a=r(43),s=r(119),u=r(153),c=r(278),l=r(49),p=r(56),f=r(184),d=r(98).f,h=r(191).forEach,v=r(72),m=r(132),y=m.set,T=m.getterFor;e.exports=function(e,t,r){var m,b=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),_=b?"set":"add",S=i[e],A=S&&S.prototype,E={};if(v&&l(S)&&(g||A.forEach&&!a((function(){(new S).entries().next()})))){m=t((function(t,r){y(c(t,m,e),{type:e,collection:new S}),void 0!=r&&u(r,t[_],{that:t,AS_ENTRIES:b})}));var C=T(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in A)||g&&"clear"==e||s(m.prototype,e,(function(r,n){var i=C(this).collection;if(!t&&g&&!p(r))return"get"==e&&void 0;var o=i[e](0===r?0:r,n);return t?this:o}))})),g||d(m.prototype,"size",{configurable:!0,get:function(){return C(this).collection.size}})}else m=r.getConstructor(t,e,b,_),o.enable();return f(m,e,!1,!0),E[e]=m,n({global:!0,forced:!0},E),g||r.setStrong(m,e,b),m}},function(e,t,r){"use strict";var n=r(102),i=r(467);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(468)),a=n(r(469)),s=n(r(820)),u=n(r(821)),c=n(r(822)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(166));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function f(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.default)(this,r)}}var d=function(e){(0,s.default)(r,e);var t=f(r);function r(e){var n;if((0,o.default)(this,r),n=t.call(this),e&&(!e.format||"function"!==typeof e.read))throw new Error("botframework-directlinespeech-sdk: If the first argument is specified, it must be a Cognitive Services audio stream.");return n.audioStream=e,n}return(0,a.default)(r,[{key:"onboundary",get:function(){return(0,l.getEventAttributeValue)(this,"boundary")},set:function(e){(0,l.setEventAttributeValue)(this,"boundary",e)}},{key:"onend",get:function(){return(0,l.getEventAttributeValue)(this,"end")},set:function(e){(0,l.setEventAttributeValue)(this,"end",e)}},{key:"onerror",get:function(){return(0,l.getEventAttributeValue)(this,"error")}
2,set:function(e){(0,l.setEventAttributeValue)(this,"error",e)}},{key:"onstart",get:function(){return(0,l.getEventAttributeValue)(this,"start")},set:function(e){(0,l.setEventAttributeValue)(this,"start",e)}}]),r}(l.default);t.default=d},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=p(p({},(0,o.normalizeStyleOptions)(e)),(0,c.default)(e));return{adaptiveCardRenderer:(0,a.default)(t),animationCardAttachment:(0,s.default)(),audioCardAttachment:(0,u.default)(t)}};var i=n(r(88)),o=r(13),a=n(r(1895)),s=n(r(1896)),u=n(r(1897)),c=n(r(739));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(70),o=n(r(5)),a=n(r(0)),s=n(r(1899)),u=n(r(1900)),c=(0,i.warnOnce)('"adaptiveCardHostConfig" is deprecated. Please use "adaptiveCardsHostConfig" instead. "adaptiveCardHostConfig" will be removed on or after 2022-01-01.'),l=function(e){var t=e.adaptiveCardHostConfig,r=e.adaptiveCardsHostConfig,n=e.adaptiveCardsPackage,o=e.attachmentForScreenReaderMiddleware,l=e.attachmentMiddleware,p=e.children,f=e.renderMarkdown,d=e.styleOptions,h=e.styleSet;t&&c();var v=(0,u.default)({attachmentForScreenReaderMiddleware:(0,i.singleToArray)(o),attachmentMiddleware:(0,i.singleToArray)(l),renderMarkdown:f,styleOptions:d,styleSet:h});return a.default.createElement(s.default,{adaptiveCardsHostConfig:t||r,adaptiveCardsPackage:n},p(v))};l.defaultProps={adaptiveCardHostConfig:void 0,adaptiveCardsHostConfig:void 0,adaptiveCardsPackage:void 0,attachmentForScreenReaderMiddleware:void 0,attachmentMiddleware:void 0,renderMarkdown:void 0,styleOptions:void 0,styleSet:void 0},l.propTypes={adaptiveCardHostConfig:o.default.any,adaptiveCardsHostConfig:o.default.any,adaptiveCardsPackage:o.default.shape({AdaptiveCard:o.default.func.isRequired,HorizontalAlignment:o.default.any.isRequired,TextSize:o.default.any.isRequired,TextWeight:o.default.any.isRequired}),attachmentForScreenReaderMiddleware:o.default.oneOfType([o.default.arrayOf(o.default.func),o.default.func]),attachmentMiddleware:o.default.oneOfType([o.default.arrayOf(o.default.func),o.default.func]),children:o.default.func.isRequired,renderMarkdown:o.default.func,styleOptions:o.default.any,styleSet:o.default.any};var p=l;t.default=p},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=t.markdownRespectCRLF,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=n.externalLinkAlt,h=void 0===d?"":d;r&&(e=e.replace(/\n\r|\r\n/g,(function(e){return"\n\r"===e?"\r\n":"\n\r"})));var v=new s.default({breaks:!1,html:!1,linkify:!0,typographer:!0,xhtmlOut:!0}).use(u.default).use(a.default,"url_new_win","link_open",(function(e,t){var r=e[t];r.attrSet("rel","noopener noreferrer"),r.attrSet("target","_blank");var n=e.find((function(e){return"link_open"===e.type})).attrs.find((function(e){return"href"===(0,o.default)(e,1)[0]})),a=(0,o.default)(n,2)[1];if(/^http[s\u017F]?:/i.test(a)){h&&r.attrSet("title",h);var s=f.parseInline("![".concat(h,"](").concat(p,")"))[0].children;s[0].attrJoin("class","webchat__markdown__external-link-icon"),e.splice.apply(e,[t+2,0].concat((0,i.default)(s)))}})).render(e);return(0,c.default)(v,l)};var i=n(r(453)),o=n(r(63)),a=n(r(1901)),s=n(r(690)),u=n(r(1902)),c=n(r(1924)),l={allowedAttributes:{a:["aria-label","href","name","rel","target","title"],img:["alt","class","src"]},allowedSchemes:["data","http","https","ftp","mailto","sip","tel"],allowedTags:["a","b","blockquote","br","caption","code","del","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","li","nl","ol","p","pre","s","span","strike","strong","table","tbody","td","tfoot","th","thead","tr","ul"]},p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",f
vendor: 18,674 bytes, line 2
2=new s.default},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=n(r(836)),o=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),s={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:a,h1:a,h2:a,h3:a,h4:a,h5:a,h6:a,select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:a,article:a,aside:a,blockquote:a,details:a,div:a,dl:a,fieldset:a,figcaption:a,figure:a,footer:a,form:a,header:a,hr:a,main:a,nav:a,ol:a,pre:a,section:a,table:a,ul:a,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},u=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),c=new Set(["math","svg"]),l=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),p=/\s|\//,f=function(){function e(e,t){var r,n,o,a,s;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!==e&&void 0!==e?e:{},this.lowerCaseTagNames=null!==(r=t.lowerCaseTags)&&void 0!==r?r:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(s=(a=this.cbs).onparserinit)||void 0===s||s.call(a,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart<=e?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},e.prototype.ontext=function(e){var t,r;this.updatePosition(1),this.endIndex--,null===(r=(t=this.cbs).ontext)||void 0===r||r.call(t,e)},e.prototype.onopentagname=function(e){var t,r;if(this.lowerCaseTagNames&&(e=e.toLowerCase()),this.tagname=e,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(s,e))for(var n=void 0;this.stack.length>0&&s[e].has(n=this.stack[this.stack.length-1]);)this.onclosetag(n);!this.options.xmlMode&&u.has(e)||(this.stack.push(e),c.has(e)?this.foreignContext.push(!0):l.has(e)&&this.foreignContext.push(!1)),null===(r=(t=this.cbs).onopentagname)||void 0===r||r.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&u.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(c.has(e)||l.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&u.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,r=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===r&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,r),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,r;null===(r=(t=this.cbs).onattribute)||void 0===r||r.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(p),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,r,n,i;this.updatePosition(4),null===(r=(t=this.cbs).oncomment)||void 0===r||r.call(t,e),null===(i=(n=this.cbs).oncommentend)||void 0===i||i.call(n)},e.prototype.oncdata=function(e){var t,r,n,i,o,a;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(r=(t=this.cbs).oncdatastart)||void 0===r||r.call(t),null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,e),null===(a=(o=this.cbs).oncdataend)||void 0===a||a.call(o)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,r;null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=f},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(837)),o=n(r(472)),a=n(r(838)),s=n(r(473));function u(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function c(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function l(e,t,r){var n=e.toLowerCase();return e===n?function(e,i){i===n?e._state=t:(e._state=r,e._index--)}:function(i,o){o===n||o===e?i._state=t:(i._state=r,i._index--)}}function p(e,t){var r=e.toLowerCase();return function(n,i){i===r||i===e?n._state=t:(n._state=3,n._index--)}}var f=l("C",24,16),d=l("D",25,16),h=l("A",26,16),v=l("T",27,16),m=l("A",28,16),y=p("R",35),T=p("I",36),b=p("P",37),g=p("T",38),_=l("R",40,1),S=l("I",41,1),A=l("P",42,1),E=l("T",43,1),C=p("Y",45),O=p("L",46),I=p("E",47),w=l("Y",49,1),P=l("L",50,1),N=l("E",51,1),R=p("I",54),k=p("T",55),x=p("L",56),M=p("E",57),L=l("I",58,1),j=l("T",59,1),D=l("L",60,1),U=l("E",61,1),B=l("#",63,64),F=l("X",66,65),V=function(){function e(e,t){var r;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null===e||void 0===e?void 0:e.xmlMode),this.decodeEntities=null===(r=null===e||void 0===e?void 0:e.decodeEntities)||void 0===r||r}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"<"===e?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.isTagStartChar=function(e){return c(e)||this.xmlMode&&!u(e)&&"/"!==e&&">"!==e},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||u(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||u(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){u(e)||(">"===e?this._state=1:1!==this.special?4===this.special||"s"!==e&&"S"!==e?4!==this.special||"t"!==e&&"T"!==e?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||u(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:u(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):u(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||u(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):u(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):u(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){u(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||u(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||u(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?s.default:o.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(e,t)&&(this.emitPartial(e[t]),this.sectionStart=this._index+1)}},e.prototype.parseLegacyEntity=function(){for(var e=this.sectionStart+1,t=Math.min(this._index-e,6);t>=2;){var r=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(a.default,r))return this.emitPartial(a.default[r]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e<"0"||e>"9")&&!c(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(a.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,r){var n=this.sectionStart+e;if(n!==this._index){var o=this.buffer.substring(n,this._index),a=parseInt(o,t);this.emitPartial(i.default(a)),this.sectionStart=r?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?L(this,e):39===this._state?_(this,e):40===this._state?S(this,e):41===this._state?A(this,e):34===this._state?y(this,e):35===this._state?T(this,e):36===this._state?b(this,e):37===this._state?g(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?E(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?C(this,e):29===this._state?this.stateInCdata(e):45===this._state?O(this,e):46===this._state?I(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?w(this,e):49===this._state?P(this,e):50===this._state?N(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?R(this,e):54===this._state?k(this,e):55===this._state?x(this,e):56===this._state?M(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?j(this,e):59===this._state?D(this,e):60===this._state?U(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?f(this,e):62===this._state?B(this,e):24===this._state?d(this,e):25===this._state?h(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?v(this,e):27===this._state?m(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?F(this,e):this.cbs.onerror
2(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitToken=function(e){this.cbs[e](this.getSection()),this.sectionStart=-1},e.prototype.emitPartial=function(e){1!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=V},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(1926)),o=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"\ufffd":(e in i.default&&(e=i.default[e]),o(e))}},function(e){e.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};
vendor: 12,655 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=r(245),a=new Map([[o.ElementType.Tag,1],[o.ElementType.Script,1],[o.ElementType.Style,1],[o.ElementType.Directive,1],[o.ElementType.Text,3],[o.ElementType.CDATA,4],[o.ElementType.Comment,8],[o.ElementType.Root,9]]),s=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),_(this,e)},e}();t.Node=s;var u=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=u;var c=function(e){function t(t){return e.call(this,o.ElementType.Text,t)||this}return n(t,e),t}(u);t.Text=c;var l=function(e){function t(t){return e.call(this,o.ElementType.Comment,t)||this}return n(t,e),t}(u);t.Comment=l;var p=function(e){function t(t,r){var n=e.call(this,o.ElementType.Directive,r)||this;return n.name=t,n}return n(t,e),t}(u);t.ProcessingInstruction=p;var f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var d=function(e){function t(t){return e.call(this,o.ElementType.Root,t)||this}return n(t,e),t}(f);t.Document=d;var h=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var a=e.call(this,i,n)||this;return a.name=t,a.attribs=r,a}return n(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(f);function v(e){return(0,o.isTag)(e)}function m(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function T(e){return e.type===o.ElementType.Comment}function b(e){return e.type===o.ElementType.Directive}function g(e){return e.type===o.ElementType.Root}function _(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new c(e.data);else if(T(e))r=new l(e.data);else if(v(e)){var n=t?S(e.children):[],a=new h(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=a})),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=a}else if(m(e)){n=t?S(e.children):[];var s=new f(o.ElementType.CDATA,n);n.forEach((function(e){return e.parent=s})),r=s}else if(g(e)){n=t?S(e.children):[];var u=new d(n);n.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),r=u}else{if(!b(e))throw new Error("Not implemented yet: "+e.type);var _=new p(e.name,e.data);null!=e["x-name"]&&(_["x-name"]=e["x-name"],_["x-publicId"]=e["x-publicId"],_["x-systemId"]=e["x-systemId"]),r=_}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,r}function S(e){for(var t=e.map((function(e){return _(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=h,t.isTag=v,t.isCDATA=m,t.isText=y,t.isComment=T,t.isDirective=b,t.isDocument=g,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=_},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var u,c,l=s(r(143)),p=a(r(841)),f=r(835);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(u||(u={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(c||(c={}));var d=function(e){function t(t,r){return"object"===typeof t&&(r=t=void 0),e.call(this,t,r)||this}return n(t,e),t.prototype.onend=function(){var e,t,r=m(g,this.dom);if(r){var n={};if("feed"===r.name){var i=r.children;n.type="atom",b(n,"id","id",i),b(n,"title","title",i);var o=T("href",m("link",i));o&&(n.link=o),b(n,"description","subtitle",i),(a=y("updated",i))&&(n.updated=new Date(a)),b(n,"author","email",i,!0),n.items=v("entry",i).map((function(e){var t={},r=e.children;b(t,"id","id",r),b(t,"title","title",r);var n=T("href",m("link",r));n&&(t.link=n);var i=y("summary",r)||y("content",r);i&&(t.description=i);var o=y("updated",r);return o&&(t.pubDate=new Date(o)),t.media=h(r),t}))}else{var a;i=null!==(t=null===(e=m("channel",r.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[];n.type=r.name.substr(0,3),n.id="",b(n,"title","title",i),b(n,"link","link",i),b(n,"description","description",i),(a=y("lastBuildDate",i))&&(n.updated=new Date(a)),b(n,"author","managingEditor",i,!0),n.items=v("item",r.children).map((function(e){var t={},r=e.children;b(t,"id","guid",r),b(t,"title","title",r),b(t,"link","link",r),b(t,"description","description",r);var n=y("pubDate",r);return n&&(t.pubDate=new Date(n)),t.media=h(r),t}))}this.feed=n,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(l.default);function h(e){return v("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function v(e,t){return p.getElementsByTagName(e,t,!0)}function m(e,t){return p.getElementsByTagName(e,t,!0,1)[0]}function y(e,t,r){return void 0===r&&(r=!1),p.getText(p.getElementsByTagName(e,t,r,1)).trim()}function T(e,t){return t?t.attribs[e]:null}function b(e,t,r,n,i){void 0===i&&(i=!1);var o=y(r,n,i);o&&(e[t]=o)}function g(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=d,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var r=new d(t);return new f.Parser(r,t).end(e),r.feed}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(r(842),t),i(r(1930),t),i(r(1931),t),i(r(845),t),i(r(846),t),i(r(1932),t),i(r(1933),t);var o=r(143);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=r(143),o=n(r(1927)),a=r(245);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(472)),o=n(r(838)),a=n(r(473)),s=n(r(837)),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=p(e);return function(e){return String(e).replace(u,t)}}t.decodeXML=c(a.default),t.decodeHTMLStrict=c(i.default);var l=function(e,t){return e<t?1:-1};function p(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(l),t=Object.keys(i.default).sort(l),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=p(i.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,u)}}()},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=l(n(r(473)).default),o=p(i);t.encodeXML=m(i);var a,s,u=l(n(r(472)).default),c=p(u);function l(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function p(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];1===o.length?t.push("\\"+o):r.push(o)}t.sort();for(var a=0;a<t.length-1;a++){for(var s=a;
2s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var u=1+s-a;u<3||t.splice(a,u,t[a]+"-"+t[s])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=u,s=c,function(e){return e.replace(s,(function(e){return a[e]})).replace(f,h)}),t.encodeNonAsciiHTML=m(u);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function h(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var v=new RegExp(o.source+"|"+f.source,"g");function m(e){return function(t){return t.replace(v,(function(t){return e[t]||h(t)}))}}t.escape=function(e){return e.replace(v,h)},t.escapeUTF8=function(e){return e.replace(o,h)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(143);function i(e,t,r,o){for(var a=[],s=0,u=t;s<u.length;s++){var c=u[s];if(e(c)&&(a.push(c),--o<=0))break;if(r&&(0,n.hasChildren)(c)&&c.children.length>0){var l=i(e,c.children,r,o);if(a.push.apply(a,l),(o-=l.length)<=0)break}}return a}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),i(e,t,r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var o=null,a=0;a<r.length&&!o;a++){var s=r[a];(0,n.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children)))}return o},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,i,o=[],a=t.filter(n.isTag);i=a.shift();){var s=null===(r=i.children)||void 0===r?void 0:r.filter(n.isTag);s&&s.length>0&&a.unshift.apply(a,s),e(i)&&o.push(i)}return o}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(143),i=r(845),o={tag_name:function(e){return"function"===typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"===typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"===typeof e?function(t){return(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function a(e,t){return"function"===typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function s(e,t){return function(r){return e(r)||t(r)}}function u(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](r):a(t,r)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var r=u(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var o=u(e);return o?(0,i.filter)(o,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(o.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(o.tag_type(e),t,r,n)}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t){},function(e,t,r){var n=r(1947),i=r(1948),o=r(471),a=r(1949);e.exports=function(e){return n(e)||i(e)||o(e)||a()}},function(e,t,r){"use strict";var n=r(60),i=r(64),o={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};var a=function(){function e(t){n(this,e),this.builder=t}return i(e,[{key:"stringify",value:function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}},{key:"document",value:function(e){this.body(e)}},{key:"root",value:function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}},{key:"comment",value:function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}},{key:"decl",value:function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}},{key:"rule",value:function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}}
2,{key:"atrule",value:function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}},{key:"body",value:function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}}},{key:"block",value:function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}},{key:"raw",value:function(e,t,r){var n;if(r||(r=t),t&&"undefined"!==typeof(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return o[r];var a=e.root();if(a.rawCache||(a.rawCache={}),"undefined"!==typeof a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,u="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[u]?n=this[u](a,e):a.walk((function(e){if("undefined"!==typeof(n=e.raws[t]))return!1})),"undefined"===typeof n&&(n=o[r]),a.rawCache[r]=n,n}},{key:"rawSemicolon",value:function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1})),t}},{key:"rawEmptyBody",value:function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1})),t}},{key:"rawIndent",value:function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&"undefined"!==typeof r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t}},{key:"rawBeforeComment",value:function(e,t){var r;return e.walkComments((function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),"undefined"===typeof r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}},{key:"rawBeforeDecl",value:function(e,t){var r;return e.walkDecls((function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),"undefined"===typeof r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}},{key:"rawBeforeRule",value:function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&"undefined"!==typeof r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}},{key:"rawBeforeClose",value:function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}},{key:"rawBeforeOpen",value:function(e){var t;return e.walk((function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1})),t}},{key:"rawColon",value:function(e){var t;return e.walkDecls((function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}},{key:"beforeAfter",value:function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)r+=o}return r}},{key:"rawValue",value:function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}}]),e}();e.exports=a},function(e,t,r){"use strict";var n=r(3),i=r(1950),o=r(853),a=r(117),s=r(246),u=r(60),c=r(64),l=r(476),p=l.isClean,f=l.my,d=r(1954),h=r(477),v=r(165),m=r(481),y=(r(1956),r(855)),T=r(857),b=r(247),g={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},_={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},S={postcssPlugin:!0,prepare:!0,Once:!0};function A(e){return"object"===typeof e&&"function"===typeof e.then}function E(e){var t=!1,r=g[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function C(e){return{node:e,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:E(e),eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}
2function O(e){return e[p]=!1,e.nodes&&e.nodes.forEach((function(e){return O(e)})),e}var I={},w=function(e){function t(e,r,n){var i,o=this;if(u(this,t),this.stringified=!1,this.processed=!1,"object"!==typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof t||r instanceof y)i=O(r.root),r.map&&("undefined"===typeof n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=T;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{i=a(r,n)}catch(c){this.processed=!0,this.error=c}i&&!i[f]&&v.rebuild(i)}else i=O(r);this.result=new y(e,i,n),this.helpers=s(s({},I),{},{result:this.result,postcss:I}),this.plugins=this.processor.plugins.map((function(e){return"object"===typeof e&&e.prepare?s(s({},e),e.prepare(o.result)):e}))}return c(t,[{key:e,get:function(){return"LazyResult"}},{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}},{key:"warnings",value:function(){return this.sync().warnings()}},{key:"toString",value:function(){return this.css}},{key:"then",value:function(e,t){return this.async().then(e,t)}},{key:"catch",value:function(e){return this.async().catch(e)}},{key:"finally",value:function(e){return this.async().then(e,e)}},{key:"async",value:function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}},{key:"sync",value:function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();var e,t=a(this.plugins);try{for(t.s();!(e=t.n()).done;){var r=e.value;if(A(this.runOnRoot(r)))throw this.getAsyncError()}}catch(u){t.e(u)}finally{t.f()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[p];)n[p]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type){var i,o=a(n.nodes);try{for(o.s();!(i=o.n()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}}catch(u){o.e(u)}finally{o.f()}}else this.visitSync(this.listeners.OnceExit,n)}return this.result}},{key:"stringify",value:function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=h;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new d(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}},{key:"walkSync",value:function(e){var t=this;e[p]=!0;var r,n=E(e),i=a(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(0===o)e.nodes&&e.each((function(e){e[p]||t.walkSync(e)}));else{var s=this.listeners[o];if(s&&this.visitSync(s,e.toProxy()))return}}}catch(u){i.e(u)}finally{i.f()}}},{key:"visitSync",value:function(e,t){var r,n=a(e);try{for(n.s();!(r=n.n()).done;){var i=o(r.value,2),s=i[0],u=i[1];this.result.lastPlugin=s;var c=void 0;try{c=u(t,this.helpers)}catch(l){throw this.handleError(l,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(A(c))throw this.getAsyncError()}}catch(p){n.e(p)}finally{n.f()}}},{key:"runOnRoot",value:function(e){var t=this;this.result.lastPlugin=e;try{if("object"===typeof e&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map((function(r){return e.Once(r,t.helpers)}));return A(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}}},{key:"getAsyncError",value:function(){throw new Error("Use process(css).then(cb) to work with async plugins")}},{key:"handleError",value:function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(n){console&&console.error&&console.error(n)}return e}},{key:"runAsync",value:function(){var e=i(n.mark((function e(){var t,r,i,s,u,c,l,f,d,h,v=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.plugin=0,t=0;case 2:if(!(t<this.plugins.length)){e.next=17;break}if(r=this.plugins[t],!A(i=this.runOnRoot(r))){e.next=14;break}return e.prev=6,e.next=9,i;case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(6),this.handleError(e.t0);case 14:t++,e.next=2;break;case 17:if(this.prepareVisitors(),!this.hasListener){e.next=56;break}s=this.result.root;case 20:if(s[p]){e.next=39;break}s[p]=!0,u=[C(s)];case 23:if(!(u.length>0)){e.next=37;break}if(!A(c=this.visitTick(u))){e.next=35;break}return e.prev=26,e.next=29,c;case 29:e.next=35;break;case 31:throw e.prev=31,e.t1=e.catch(26),l=u[u.length-1].node,this.handleError(e.t1,l);case 35:e.next=23;break;case 37:e.next=20;break;case 39:if(!this.listeners.OnceExit){e.next=56;break}f=a(this.listeners.OnceExit),e.prev=41,h=n.mark((function e(){var t,r,i,a;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o(d.value,2),r=t[0],i=t[1],v.result.lastPlugin=r,e.prev=2,"document"!==s.type){e.next=9;break}return a=s.nodes.map((function(e){return i(e,v.helpers)})),e.next=7,Promise.all(a);case 7:e.next=11;break;case 9:return e.next=11,i(s,v.helpers);case 11:e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(2),v.handleError(e.t0);case 16:case"end":return e.stop()}}),e,null,[[2,13]])})),f.s();case 44:if((d=f.n()).done){e.next=48;break}return e.delegateYield(h(),"t2",46);case 46:e.next=44;break;case 48:e.next=53;break;case 50:e.prev=50,e.t3=e.catch(41),f.e(e.t3);case 53:return e.prev=53,f.f(),e.finish(53);case 56:return this.processed=!0,e.abrupt("return",this.stringify());case 58:case"end":return e.stop()}}),e,this,[[6,11],[26,31],[41,50,53,56]])})));return function(){return e.apply(this,arguments)}}()},{key:"prepareVisitors",value:function(){var e=this;this.listeners={};var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=a(this.plugins);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("object"===typeof i)for(var o in i){if(!_[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event ".concat(o," in ").concat(i.postcssPlugin,". ")+"Try to update PostCSS (".concat(this.processor.ver
2sion," now)."));if(!S[o])if("object"===typeof i[o])for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"===typeof i[o]&&r(i,o,i[o])}}}catch(u){n.e(u)}finally{n.f()}this.hasListener=Object.keys(this.listeners).length>0}},{key:"visitTick",value:function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=o(n[t.visitorIndex],2),a=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return s(r.toProxy(),this.helpers)}catch(d){throw this.handleError(d,r)}}if(0!==t.iterator){for(var u,c=t.iterator;u=r.nodes[r.indexes[c]];)if(r.indexes[c]+=1,!u[p])return u[p]=!0,void e.push(C(u));t.iterator=0,delete r.indexes[c]}for(var l=t.events;t.eventIndex<l.length;){var f=l[t.eventIndex];if(t.eventIndex+=1,0===f)return void(r.nodes&&r.nodes.length&&(r[p]=!0,t.iterator=r.getIterator()));if(this.listeners[f])return void(t.visitors=this.listeners[f])}e.pop()}else e.pop()}}]),t}(Symbol.toStringTag);w.registerPostcss=function(e){I=e},e.exports=w,w.default=w,b.registerLazyResult(w),m.registerLazyResult(w)},function(e,t,r){var n=r(1951),i=r(1952),o=r(471),a=r(1953);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()}},function(e,t){},function(e,t,r){"use strict";var n=r(60),i=r(64),o=r(856),a=function(){function e(t,r,i){n(this,e),this.processor=t,this.messages=[],this.root=r,this.opts=i,this.css=void 0,this.map=void 0}return i(e,[{key:"toString",value:function(){return this.css}},{key:"warn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new o(e,t);return this.messages.push(r),r}},{key:"warnings",value:function(){return this.messages.filter((function(e){return"warning"===e.type}))}},{key:"content",get:function(){return this.css}}]),e}();e.exports=a,a.default=a},function(e,t,r){"use strict";var n=r(60),i=r(64),o=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),this.type="warning",this.text=t,r.node&&r.node.source){var i=r.node.positionBy(r);this.line=i.line,this.column=i.column}for(var o in r)this[o]=r[o]}return i(e,[{key:"toString",value:function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}]),e}();e.exports=o,o.default=o},function(e,t,r){"use strict";var n=r(165),i=r(1957),o=r(484);function a(e,t){var r=new o(e,t),n=new i(r);try{n.parse()}catch(a){throw a}return n.root}e.exports=a,a.default=a,n.registerParse(a)},function(e,t,r){"use strict";var n=r(117),i={split:function(e,t,r){var i,o=[],a="",s=!1,u=0,c=!1,l=!1,p=n(e);try{for(p.s();!(i=p.n()).done;){var f=i.value;l?l=!1:"\\"===f?l=!0:c?f===c&&(c=!1):'"'===f||"'"===f?c=f:"("===f?u+=1:")"===f?u>0&&(u-=1):0===u&&t.includes(f)&&(s=!0),s?(""!==a&&o.push(a.trim()),a="",s=!1):a+=f}}catch(d){p.e(d)}finally{p.f()}return(r||""!==a)&&o.push(a.trim()),o},space:function(e){return i.split(e,[" ","\n","\t"])},comma:function(e){return i.split(e,[","],!0)}};e.exports=i,i.default=i},function(e,t,r){"use strict";(function(t){var n=r(60),i=r(64),o=r(478),a=o.SourceMapConsumer,s=o.SourceMapGenerator,u=r(1960),c=u.existsSync,l=u.readFileSync,p=r(479),f=p.dirname,d=p.join;var h=function(){function e(t,r){if(n(this,e),!1!==r.map){this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var i=r.map?r.map.prev:void 0,o=this.loadMap(r.from,i);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=f(this.mapFile)),o&&(this.text=o)}}return i(e,[{key:"consumer",value:function(){return this.consumerCache||(this.consumerCache=new a(this.text)),this.consumerCache}},{key:"withContent",value:function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}},{key:"startWith",value:function(e,t){return!!e&&e.substr(0,t.length)===t}},{key:"getAnnotationURL",value:function(e){return e.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()}},{key:"loadAnnotation",value:function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(t&&t.length>0){var r=t[t.length-1];r&&(this.annotation=this.getAnnotationURL(r))}}},{key:"decodeInline",value:function(e){var r;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return r=e.substr(RegExp.lastMatch.length),t?t.from(r,"base64").toString():window.atob(r);var n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}},{key:"loadFile",value:function(e){if(this.root=f(e),c(e))return this.mapFile=e,l(e,"utf-8").toString().trim()}},{key:"loadMap",value:function(e,t){if(!1===t)return!1;if(t){if("string"===typeof t)return t;if("function"!==typeof t){if(t instanceof a)return s.fromSourceMap(t).toString();if(t instanceof s)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);
2if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=d(f(e),i)),this.loadFile(i)}}}},{key:"isMap",value:function(e){return"object"===typeof e&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))}}]),e}();e.exports=h,h.default=h}).call(this,r(157).Buffer)},function(e,t,r){"use strict";r.r(t);var n=r(868),i=r(202),o=r.n(i),a=r(5),s=r.n(a),u=r(0),c=r.n(u),l=c.a.createContext({scrollTo:function(){return 0},scrollToBottom:function(){return 0},scrollToEnd:function(){return 0},scrollToStart:function(){return 0},scrollToTop:function(){return 0}});l.displayName="ScrollToBottomFunctionContext";var p=l;function f(){return Object(u.useContext)(p)}function d(){return f().scrollToEnd}var h=c.a.createContext({animating:!1,animatingToEnd:!1,atBottom:!0,atEnd:!0,atStart:!1,atTop:!0,mode:"bottom",sticky:!0});h.displayName="ScrollToBottomStateContext";var v=h,m=c.a.createContext({atBottom:!0,atEnd:!0,atStart:!1,atTop:!0,mode:"bottom"});m.displayName="ScrollToBottomState1Context";var y=m,T=c.a.createContext({animating:!1,animatingToEnd:!1,sticky:!0});T.displayName="ScrollToBottomState2Context";var b=T,g=[v,y,b];function _(e){return Object(u.useContext)(g[e]||g[0])}function S(){return[_(2).sticky]}var A=c.a.createContext({offsetHeight:0,scrollHeight:0,setTarget:function(){return 0},styleToClassName:function(){return""}});A.displayName="ScrollToBottomInternalContext";var E=A;function C(){return Object(u.useContext)(E)}function O(){return C().styleToClassName}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var P={backgroundColor:"rgba(0, 0, 0, .2)",borderRadius:10,borderWidth:0,bottom:5,cursor:"pointer",height:20,outline:0,position:"absolute",right:20,width:20,"&:hover":{backgroundColor:"rgba(0, 0, 0, .4)"},"&:active":{backgroundColor:"rgba(0, 0, 0, .6)"}},N=function(e){var t=e.children,r=e.className,n=I(S(),1)[0],i=O()(P),a=d();return!n&&c.a.createElement("button",{className:o()(i,(r||"")+""),onClick:a,type:"button"},t)};N.defaultProps={children:void 0,className:""},N.propTypes={children:s.a.any,className:s.a.string};var R=N;var k=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)===0){var t,r=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,o?0:i.cssRules.length)}catch(a){0}}else n.appendChild(document.createTextNode(e));this.ctr++}
vendor: 11,924 bytes, line 2
2,t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var x=function(e){function t(e,t,n){var i=t.trim().split(h);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[u++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,o){var a=e+";",s=2*t+3*r+4*o;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===P||2===P&&i(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return f.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(b,"tb");break;case 232:u=a.replace(b,"tb-rl");break;case 220:u=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,o).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function i(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),x(2!==t?n:n.replace(A,"$1"),r,t)}function o(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(_," or ($1)").substring(4):"("+t+")"}function a(e,t,r,n,i,o,a,s,c,l){for(var p,f=0,d=t;f<k;++f)switch(p=R[f].call(u,e,d,r,n,i,o,a,s,c,l)){case void 0:case!1:case!0:case null:break;default:d=p}if(d!==t)return d}function s(e){return void 0!==(e=e.prefix)&&(x=null,e?"function"!==typeof e?P=1:(P=2,x=e):P=0),s}function u(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<k){var u=a(-1,r,s,s,I,O,0,0,0,0);void 0!==u&&"string"===typeof u&&(r=u)}var p=function e(r,s,u,p,f){for(var d,h,v,b,_,S=0,A=0,E=0,C=0,R=0,x=0,L=v=d=0,j=0,D=0,U=0,B=0,F=u.length,V=F-1,z="",H="",G="",q="";j<F;){if(h=u.charCodeAt(j),j===V&&0!==A+C+E+S&&(0!==A&&(h=47===A?10:47),C=E=S=0,F++,V++),0===A+C+E+S){if(j===V&&(0<D&&(z=z.replace(l,"")),0<z.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:z+=u.charAt(j)}h=59}switch(h){case 123:for(d=(z=z.trim()).charCodeAt(0),v=1,B=++j;j<F;){switch(h=u.charCodeAt(j)){case 123:v++;break;case 125:v--;break;case 47:switch(h=u.charCodeAt(j+1)){case 42:case 47:e:{for(L=j+1;L<V;++L)switch(u.charCodeAt(L)){case 47:if(42===h&&42===u.charCodeAt(L-1)&&j+2!==L){j=L+1;break e}break;case 10:if(47===h){j=L+1;break e}}j=L}}break;case 91:h++;case 40:h++;case 34:case 39:for(;j++<V&&u.charCodeAt(j)!==h;);}if(0===v)break;j++}switch(v=u.substring(B,j),0===d&&(d=(z=z.replace(c,"").trim()).charCodeAt(0)),d){case 64:switch(0<D&&(z=z.replace(l,"")),h=z.charCodeAt(1)){case 100:case 109:case 115:case 45:D=s;break;default:D=N}if(B=(v=e(s,D,v,h,f+1)).length,0<k&&(_=a(3,v,D=t(N,z,U),s,I,O,B,h,f,p),z=D.join(""),void 0!==_&&0===(B=(v=_.trim()).length)&&(h=0,v="")),0<B)switch(h){case 115:z=z.replace(g,o);case 100:case 109:case 45:v=z+"{"+v+"}";break;case 107:v=(z=z.replace(m,"$1 $2"))+"{"+v+"}",v=1===P||2===P&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=z+v,112===p&&(H+=v,v="")}else v="";break;default:v=e(s,t(s,z,U),v,p,f+1)}G+=v,v=U=D=L=d=0,z="",h=u.charCodeAt(++j);break;case 125:case 59:if(1<(B=(z=(0<D?z.replace(l,""):z).trim()).length))switch(0===L&&(d=z.charCodeAt(0),45===d||96<d&&123>d)&&(B=(z=z.replace(" ",":")).length),0<k&&void 0!==(_=a(1,z,s,r,I,O,H.length,p,f,p))&&0===(B=(z=_.trim()).length)&&(z="\0\0"),d=z.charCodeAt(0),h=z.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){q+=z+u.charAt(j);break}default:58!==z.charCodeAt(B-1)&&(H+=n(z,d,h,z.charCodeAt(2)))}U=D=L=d=0,z="",h=u.charCodeAt(++j)}}switch(h){case 13:case 10:47===A?A=0:0===1+d&&107!==p&&0<z.length&&(D=1,z+="\0"),0<k*M&&a(0,z,s,r,I,O,H.length,p,f,p),O=1,I++;break;case 59:case 125:if(0===A+C+E+S){O++;break}default:switch(O++,b=u.charAt(j),h){case 9:case 32:if(0===C+S+A)switch(R){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===C+A+S&&(D=U=1,b="\f"+b);break;case 108:if(0===C+A+S+w&&0<L)switch(j-L){case 2:112===R&&58===u.charCodeAt(j-3)&&(w=R);case 8:111===x&&(w=x)}break;case 58:0===C+A+S&&(L=j);break;case 44:0===A+E+C+S&&(D=1,b+="\r");break;case 34:case 39:0===A&&(C=C===h?0:0===C?h:C);break;case 91:0===C+A+E&&S++;break;case 93:0===C+A+E&&S--;break;case 41:0===C+A+S&&E--;break;case 40:if(0===C+A+S){if(0===d)switch(2*R+3*x){case 533:break;default:d=1}E++}break;case 64:0===A+E+C+S+L+v&&(v=1);break;case 42:case 47:if(!(0<C+S+E))switch(A){case 0:switch(2*h+3*u.charCodeAt(j+1)){case 235:A=47;break;case 220:B=j,A=42}break;case 42:47===h&&42===R&&B+2!==j&&(33===u.charCodeAt(B+2)&&(H+=u.substring(B,j+1)),b="",A=0)}}0===A&&(z+=b)}x=R,R=h,j++}if(0<(B=H.length)){if(D=s,0<k&&(void 0!==(_=a(2,H,D,r,I,O,B,p,f,p))&&0===(H=_).length))return q+H+G;if(H=D.join(",")+"{"+H+"}",0!==P*w){switch(2!==P||i(H,2)||(w=0),w){case 111:H=H.replace(T,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}w=0}}return q+H+G}(N,s,r,0,0);return 0<k&&(void 0!==(u=a(-2,p,s,s,I,O,p.length,0,0,0))&&(p=u)),"",w=0,O=I=1,p}var c=/^\0+/g,l=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,d=/([,: ])(transform)/g,h=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,T=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,g=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,S=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,O=1,I=1,w=0,P=1,N=[],R=[],k=0,x=null,M=0;return u.use=function e(t){switch(t){case void 0:case null:k=R.length=0;break;default:if("function"===typeof t)R[k++]=t;else if("object"===typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else M=0|!!t}return e},u.set=s,void 0!==e&&s(e),u};r(661);function M(e){e&&L.current.insert(e+"}")}var L={current:null},j=function(e,t,r,n,i,o,a,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return L.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return L.current.insert(r[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(M)}},D=function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var n=new x(t);var i,o={};i=e.container||document.head;var a,s=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach((function(e){o[e]=!0})),e.parentNode!==i&&i.appendChild(e)})),n.use(e.stylisPlugins)(j),a=function(e,t,r,i){var o=t.name;L.current=r,n(e,t.styles),i&&(u.inserted[o]=!0)};var u={key:r,sheet:new k({key:r,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:o,registered:{},insert:a};return u},U=r(342),B=r(343);var F=/[A-Z]|^ms/g,V=/_EMO_([^_]+?)_([^]*?)_EMO_/g,z=function(e){return 45===e.charCodeAt(1)},H=function(e){return null!=e&&"boolean"!==typeof e},G=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return z(e)?e:e.replace(F,"-$&").toLowerCase()})),q=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(V,(function(e,t,r){return W={name:t,styles:r,next:W},t}))}return 1===B.a[e]||z(e)||"number"!==typeof t||0===t?t:t+"px"};function Y(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return W={name:r.name,styles:r.styles,next:W},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)W={name:i.name,styles:i.styles,next:W},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Y(e,t,r[i],!1);else for(var o in r){var a=r[o];if("object"!==typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":H(a)&&(n+=G(o)+":"+q(o,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Y(e,t,a,!1);switch(o){case"animation":case"animationName":n+=G(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var u=0;u<a.length;u++)H(a[u])&&(n+=G(o)+":"+q(o,a[u])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=W,a=r(e);return W=o,Y(e,t,a,n)}break;case"string":}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var W,K=/label:\s*([^\s;\n{]+)\s*;/g;var $=function(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";W=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=Y(r,t,o,!1)):i+=o[0];for(var a=1;a<e.length;a++)i+=Y(r,t,e[a],46===i.charCodeAt(i.length-1)),n&&(i+=o[a]);K.lastIndex=0;for(var s,u="";null!==(s=K.exec(i));)u+="-"+s[1];return{name:Object(U.a)(i)+u,styles:i,next:W}};function J(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "})),n}var X=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+n,i,e.sheet,!0);i=i.next}while(void 0!==i)}};function Z(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Q(e,t,r){var n=[],i=J(e,n,r);return n.length<2?r:i+t(n)}var ee=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);
2else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r},te=function(e){var t=D(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=$(r,t.registered,void 0);return X(t,i,!1),t.key+"-"+i.name};return{css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return Q(t.registered,r,ee(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=$(r,t.registered);Z(t,i)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=$(r,t.registered),o="animation-"+i.name;return Z(t,{name:i.name,styles:"@keyframes "+o+"{"+i.styles+"}"}),o},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:J.bind(null,t.registered),merge:Q.bind(null,t.registered,r)}},re=r(86),ne=r.n(re);function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"white",r="background-color: ".concat(e,"; border-radius: 4px; padding: 2px 4px;");return t&&(r+=" color: ".concat(t,";")),[r,""]}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||se(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e){return function(e){if(Array.isArray(e))return ue(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||se(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){if(e){if("string"===typeof e)return ue(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ue(e,t):void 0}}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ce(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return["%c".concat(e,"%c ").concat(t)].concat(ae(ie("green","white")),n)}var le=function(e){var t=e.debounce,r=e.name,n=e.onEvent,i=e.target,o=Object(u.useRef)();o.current=n;var a=Object(u.useMemo)((function(){return function(e,t){if(!t)return e;var r=0,n=null;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=Date.now();s-r>t?(e.apply(void 0,o),r=s):(clearTimeout(n),n=setTimeout((function(){e.apply(void 0,o),r=Date.now()}),Math.max(0,t-s+r)))}}((function(e){var t=o.current;t&&t(e)}),t)}),[t,o]),s=Object(u.useCallback)((function(e){e.timeStampLow=Date.now(),a(e)}),[a]);return Object(u.useLayoutEffect)((function(){return i.addEventListener(r,s,{passive:!0}),s({target:i,type:r}),function(){return i.removeEventListener(r,s)}}),[r,s,i]),!1};le.defaultProps={debounce:200};var pe=le;function fe(e,t){var r=Math.sign(t-e),n=e+Math.sqrt(Math.abs(t-e))*r;return r>0?Math.min(t,n):Math.max(t,n)}function de(e,t,r,n){for(var i=e,o=0;o<n;o++)i=r(i,t);return i}var he=function(e){var t=e.name,r=e.onEnd,n=e.target,i=e.value,o=Object(u.useRef)(),a=Object(u.useCallback)((function(e,t,i,s){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Date.now();"100%"!==i&&"number"!==typeof i||(cancelAnimationFrame(o.current),o.current=requestAnimationFrame((function(){if(n){var o="100%"===i?n.scrollHeight-n.offsetHeight:i,c=de(t,o,fe,(Date.now()-u)/5);Math.abs(o-c)<1.5&&(c=o),n[e]=c,o===c?r&&r(!0):a(e,t,i,s+1,u)}}
2)))}),[o,r,n]),s=Object(u.useCallback)((function(){cancelAnimationFrame(o.current),r&&r(!1)}),[r]);return Object(u.useLayoutEffect)((function(){return a(t,n[t],i,1),n?(n.addEventListener("pointerdown",s,{passive:!0}),n.addEventListener("wheel",s,{passive:!0}),function(){n.removeEventListener("pointerdown",s),n.removeEventListener("wheel",s),cancelAnimationFrame(o.current)}):function(){return cancelAnimationFrame(o.current)}}),[a,o,s,t,n,i]),!1};he.propTypes={name:s.a.string.isRequired,onEnd:s.a.func,target:s.a.any.isRequired,value:s.a.oneOfType([s.a.number,s.a.oneOf(["100%"])]).isRequired};var ve=he;function me(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return ye(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ye(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Te(e){var t=me(Object(u.useState)(e),2),r=t[0],n=t[1],i=Object(u.useRef)(),o=Object(u.useCallback)((function(e){"function"===typeof e?o((function(t){return e=e(t),i.current=e,e})):(i.current=e,o(e))}),[i,n]);return i.current=r,[r,n,i]}function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){_e(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e){return function(e){if(Array.isArray(e))return Ce(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ee(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||Ee(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){if(e){if("string"===typeof e)return Ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Oe={};function Ie(e){var t=e.mode,r=e.target,n=r.offsetHeight,i=r.scrollHeight,o=r.scrollTop,a=i-o-n<1,s=o<1;return{atBottom:a,atEnd:"top"===t?s:a,atStart:"top"!==t?s:a,atTop:s}}function we(e,t){return e===("top"===t?0:"100%")}var Pe=function(e){var t=e.checkInterval,r=e.children,n=e.debounce,i=e.debug,o=e.initialScrollBehavior,a=e.mode,s=e.nonce,l=e.scroller,f=Object(u.useMemo)((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.force,n=void 0!==r&&r;return n?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length){var i=r,o=oe(i,1),a=o[0];"function"===typeof a&&(r=a());var s=Array.isArray(r[0])?r:[r],u=1===s.length;
2s.forEach((function(t,r){var n;if(u)(n=console).log.apply(n,ae(ce.apply(void 0,[e].concat(ae(t)))));else if(r){var i;(i=console).log.apply(i,ae(Array.isArray(t)?t:[t]))}else{var o;(o=console).groupCollapsed.apply(o,ae(ce.apply(void 0,[e].concat(ae(t)))))}})),u||console.groupEnd()}}:function(){return 0}}("<ScrollToBottom>",{force:i})}),[i]);a="top"===a?"top":"bottom";var d=Object(u.useRef)(0),h=Object(u.useRef)(o),m=Ae(Te("top"===a?0:"100%"),3),T=m[0],g=m[1],_=m[2],S=Ae(Te(null),3),A=S[0],C=S[1],O=S[2],I=Object(u.useRef)(0),w=Object(u.useRef)(0),P=Object(u.useRef)(0),N=Ae(Object(u.useState)(!0),2),R=N[0],k=N[1],x=Ae(Object(u.useState)(!0),2),M=x[0],L=x[1],j=Ae(Object(u.useState)(!0),2),D=j[0],U=j[1],B=Ae(Object(u.useState)(!1),2),F=B[0],V=B[1],z=Ae(Te(!0),3),H=z[0],G=z[1],q=z[2],Y=Object(u.useRef)([]),W=Object(u.useCallback)((function(e){var t=O.current;return Y.current.push(e),t&&e({scrollTop:t.scrollTop}),function(){var t=Y.current,r=t.indexOf(e);~r&&t.splice(r,1)}}),[Y,O]),K=Object(u.useCallback)((function(){var e=_.current;f((function(){return["%cSpineTo%c: %conEnd%c is fired."].concat(Se(ie("magenta")),Se(ie("orange")),[{animateTo:e}])})),d.current=Date.now(),we(e,a)||G(!1),g(null)}),[_,f,d,a,g,G]),$=Object(u.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.behavior,n=O.current;if("number"!==typeof e&&"100%"!==e)return console.warn('react-scroll-to-bottom: Arguments passed to scrollTo() must be either number or "100%".');f((function(){return[["%cscrollTo%c: Will scroll to %c".concat("number"===typeof e?e+"px":e.replace(/%/g,"%%"),"%c")].concat(Se(ie("lime","")),Se(ie("purple"))),{behavior:r,nextAnimateTo:e,target:n}]})),"auto"===r?(K(),n&&(n.scrollTop="100%"===e?n.scrollHeight-n.offsetHeight:e)):("smooth"!==r&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollTo". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),g(e)),we(e,a)&&(f((function(){return[["%cscrollTo%c: Scrolling to end, will set sticky to %ctrue%c."].concat(Se(ie("lime","")),Se(ie("purple"))),[{mode:a,nextAnimateTo:e}]]})),G(!0))}),[f,K,a,g,G,O]),J=Object(u.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.behavior;f((function(){return["%cscrollToBottom%c: Called"].concat(Se(ie("yellow","")))})),"smooth"!==t&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToBottom". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),$("100%",{behavior:t||"smooth"})}),[f,$]),X=Object(u.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.behavior;f((function(){return["%cscrollToTop%c: Called"].concat(Se(ie("yellow","")))})),"smooth"!==t&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToTop". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),$(0,{behavior:t||"smooth"})}),[f,$]),Z=Object(u.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.behavior;f((function(){return["%cscrollToEnd%c: Called"].concat(Se(ie("yellow","")))})),"smooth"!==t&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToEnd". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.');var r={behavior:t||"smooth"};"top"===a?X(r):J(r)}),[f,a,J,X]),Q=Object(u.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.behavior;f((function(){return["%cscrollToStart%c: Called"].concat(Se(ie("yellow","")))})),"smooth"!==t&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToStart". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.');var r={behavior:t||"smooth"};"top"===a?J(r):X(r)}),[f,a,J,X]),ee=Object(u.useCallback)((function(){var e=O.current;if(e){if("auto"===h.current)return f((function(){return["%ctarget changed%c: Initial scroll"].concat(Se(ie("blue")))})),e.scrollTop="top"===a?0:e.scrollHeight-e.offsetHeight,void(h.current=!1);var t,r=I.current,n=e.offsetHeight,i=e.scrollHeight,o=e.scrollTop,s="top"===a?0:Math.max(0,i-n-o),u=Math.max(0,r-o),c=l({maxValue:s,minValue:u,offsetHeight:n,scrollHeight:i,scrollTop:o}),p=Math.max(0,Math.min(s,c));t="top"===a||p!==s?o+p:"100%",f((function(){return[["%cscrollToSticky%c: Will animate from %c".concat(r,"px%c to %c").concat("number"===typeof t?t+"px":t.replace(/%/g,"%%"),"%c (%c").concat(("100%"===t?s:t)+r,"px%c)")].concat(Se(ie("orange")),Se(ie("purple")),Se(ie("purple")),Se(ie("purple"))),{animateFrom:r,maxValue:s,minValue:u,nextAnimateTo:t,nextValue:p,offsetHeight:n,rawNextValue:c,scrollHeight:i,scrollTop:o}]})),$(t,{behavior:"smooth"})}}),[I,f,a,l,$,O]),re=Object(u.useCallback)((function(e){var t=e.timeStampLow,r=_.current,n=O.current,i=null!==r;if(!(t<=d.current)&&n){var o=Ie({mode:a,target:n}),s=o.atBottom,u=o.atEnd,c=o.atStart,l=o.atTop;k(s),L(u),V(c),U(l);var p=n.offsetHeight,h=n.scrollHeight,v=w.current,m=P.current,y=p!==v,T=h!==m;if(y&&(w.current=p),T&&(P.current=h),y||T)q.current&&(f((function(){return[["%conScroll%c: Size changed while sticky, calling %cscrollToSticky()%c"].concat(Se(ie("red")),Se(ie("orange")),[{offsetHeightChanged:y,scrollHeightChanged:T}]),{nextOffsetHeight:p,prevOffsetHeight:v,nextScrollHeight:h,prevScrollHeight:m}]})),ee());else{var b=i&&we(r,a)||u;q.current!==b&&(f((function(){return[["%conScroll%c: %csetSticky%c(%c".concat(b,"%c)")].concat(Se(ie("red")),Se(ie("red")),Se(ie("purple"))),["(animating = %c".concat(i,"%c && isEnd = %c").concat(we(r,a),"%c) || atEnd = %c").concat(u,"%c")].concat(Se(ie("purple")),Se(ie("purple")),Se(ie("purple")),[{animating:i,animateTo:r,atEnd:u,mode:a,offsetHeight:n.offsetHeight,scrollHeight:n.scrollHeight,sticky:H,nextSticky:b}])]})),G(b))}var g=n.scrollTop;Y.current.forEach((function(e){return e({scrollTop:g})}))}}),[_,f,d,a,w,P,Y,ee,k,L,V,U,G,q,O]);Object(u.useEffect)((function(){if(A){var e=!1,r=(n=function(){var t=O.current,r=null!==_.current;q.current?Ie({mode:a,target:t}).atEnd?e=!1:e?Date.now()-e>34&&(r||(I.current=t.scrollTop,f((function(){return["%cInterval check%c: Should sticky but not at end, calling %cscrollToSticky()%c to scroll"].concat(Se(ie("navy")),Se(ie("orange")))})),ee()),e=!1):e=Date.now():t.scrollHeight<=t.offsetHeight&&!q.current&&(f((function(){return[["%cInterval check%c: Container is emptied, setting sticky back to %ctrue%c"].concat(Se(ie("navy")),Se(ie("purple"))),[{offsetHeight:t.offsetHeight,scrollHeight:t.scrollHeight,sticky:q.current}]]})),G(!0))},i=Math.max(17,t)||17,n(),setInterval(n,i));return function(){return clearInterval(r)}}var n,i}),[_,t,f,a,ee,G,q,A,O]);var se=Object(u.useMemo)((function(){var e=Oe[s]||(Oe[s]=te({key:"react-scroll-to-bottom--css-"+ne()().toString(26).substr(2,5).replace(/\d/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65)})),nonce:s}));return function(t){return e.css(t)+""}}),[s]),ue=Object(u.useMemo)((function(){return{observeScrollPosition:W,setTarget:C,styleToClassName:se}}),[W,C,se]),le=Object(u.useMemo)((function(){return{atBottom:R,atEnd:M,atStart:F,atTop:D,mode:a}}),[R,M,F,D,a]),fe=Object(u.useMemo)((function(){var e=null!==T;return{animating:e,animatingToEnd:e&&we(T,a),sticky:H}}),[T,f,a,H]),de=Object(u.useMemo)((function(){return ge(ge({},le),fe)}),[le,fe]),he=Object(u.useMemo)((function(){return{scrollTo:$,scrollToBottom:J,scrollToEnd:Z,scrollToStart:Q,scrollToTop:X}}),[$,J,Z,Q,X]);return Object(u.useEffect)((function(){if(A){var e=function(){P.current=A.scrollHeight};return A.addEventListener("focus",e,{capture:!0,passive:!0}),function(){return A.removeEventListener("focus",e)}}}),[A]),f((function(){return[["%cRender%c: Render"].concat(Se(ie("cyan",""))),{animateTo:T,animating:null!==T,sticky:H,target:A}]})),c.a.createElement(E.Provider,{value:ue},c.a.createElement(p.Provider,{value:he},c.a.createElement(v.Provider,{value:de},c.a.createElement(y.Provider,{value:le},c.a.createElement(b.Provider,{value:fe},r,A&&c.a.createElement(pe,{debounce:n,name:"scroll",onEvent:re,target:A}),A&&null!==T&&c.a.createElement(ve,{name:"scrollTop",onEnd:K,target:A,value:T}))))))};Pe.defaultProps={checkInterval:100,children:void 0,debounce:17,debug:void 0,initialScrollBehavior:"smooth",mode:void 0,nonce:void 0,scroller:function(){return 1/0}},Pe.propTypes={checkInterval:s.a.number,children:s.a.any,debounce:s.a.number,debug:s.a.bool,initialScrollBehavior:s.a.oneOf(["auto","smooth"]),mode:s.a.oneOf(["bottom","top"]),nonce:s.a.string,
2scroller:s.a.func};var Ne=Pe,Re={height:"100%",overflowY:"auto",width:"100%"},ke=function(e){var t=e.children,r=e.className,n=Object(u.useContext)(E).setTarget,i=O()(Re);return c.a.createElement("div",{className:o()(i,(r||"")+""),ref:n},t)};ke.defaultProps={children:void 0,className:void 0},ke.propTypes={children:s.a.any,className:s.a.string};var xe=ke,Me={position:"relative"},Le=function(e){var t=e.children,r=e.className,n=e.followButtonClassName,i=e.scrollViewClassName,a=O()(Me);return c.a.createElement("div",{className:o()(a,(r||"")+"")},c.a.createElement(xe,{className:(i||"")+""},t),c.a.createElement(R,{className:(n||"")+""}))};Le.defaultProps={children:void 0,className:void 0,followButtonClassName:void 0,scrollViewClassName:void 0},Le.propTypes={children:s.a.any,className:s.a.string,followButtonClassName:s.a.string,scrollViewClassName:s.a.string};var je=function(e){var t=e.checkInterval,r=e.children,n=e.className,i=e.debounce,o=e.debug,a=e.followButtonClassName,s=e.initialScrollBehavior,u=e.mode,l=e.nonce,p=e.scroller,f=e.scrollViewClassName;return c.a.createElement(Ne,{checkInterval:t,debounce:i,debug:o,initialScrollBehavior:s,mode:u,nonce:l,scroller:p},c.a.createElement(Le,{className:n,followButtonClassName:a,scrollViewClassName:f},r))};je.defaultProps={checkInterval:void 0,children:void 0,className:void 0,debounce:void 0,debug:void 0,followButtonClassName:void 0,initialScrollBehavior:"smooth",mode:void 0,nonce:void 0,scrollViewClassName:void 0},je.propTypes={checkInterval:s.a.number,children:s.a.any,className:s.a.string,debounce:s.a.number,debug:s.a.bool,followButtonClassName:s.a.string,initialScrollBehavior:s.a.oneOf(["auto","smooth"]),mode:s.a.oneOf(["bottom","top"]),nonce:s.a.string,scrollViewClassName:s.a.string};var De=je;function Ue(){return[_(2).animating]}function Be(){return[_(2).animatingToEnd]}function Fe(){return[_(1).atBottom]}function Ve(){return[_(1).atEnd]}function ze(){return[_(1).atStart]}function He(){return[_(1).atTop]}function Ge(){return[_(1).mode]}function qe(e){return function(e){if(Array.isArray(e))return Ye(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return Ye(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ye(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function We(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e&&"function"!==typeof e?console.error('react-scroll-to-bottom: First argument passed to "useObserveScrollPosition" must be a function.'):Array.isArray(t)||console.error('react-scroll-to-bottom: Second argument passed to "useObserveScrollPosition" must be an array if specified.');var r=C(),n=r.observeScrollPosition;Object(u.useEffect)((function(){return e&&n(e)}),[].concat(qe(t),[!e,n]))}function Ke(){return f().scrollTo}function $e(){return f().scrollToBottom}function Je(){return f().scrollToStart}function Xe(){return f().scrollToTop}r.d(t,"AutoHideFollowButton",(function(){return R})),r.d(t,"Composer",(function(){return Ne})),r.d(t,"FunctionContext",(function(){return p})),r.d(t,"Panel",(function(){return xe})),r.d(t,"StateContext",(function(){return v})),r.d(t,"useAnimating",(function(){return Ue})),r.d(t,"useAnimatingToEnd",(function(){return Be})),r.d(t,"useAtBottom",(function(){return Fe})),r.d(t,"useAtEnd",(function(){return Ve})),r.d(t,"useAtStart",(function(){return ze})),r.d(t,"useAtTop",(function(){return He})),r.d(t,"useMode",(function(){return Ge})),r.d(t,"useObserveScrollPosition",(function(){return We})),r.d(t,"useScrollTo",(function(){return Ke})),r.d(t,"useScrollToBottom",(function(){return $e})),r.d(t,"useScrollToEnd",(function(){return d})),r.d(t,"useScrollToStart",(function(){return Je})),r.d(t,"useScrollToTop",(function(){return Xe})),r.d(t,"useSticky",(function(){return S}));t.default=De;Object(n.a)()},function(e,t,r){"use strict";var n,i=r(3),o=r.n(i),a=r(1),s=r(2),u=r(80),c=r(6),l=r(7),p=r(1978),f=r(24),d=function(e){Object(c.a)(r,e);var t=Object(l.a)(r);function r(e){var n;return Object(a.a)(this,r),(n=t.call(this,"SendingAgentContextMessageEvent")).privAgentConfig=e,n}return Object(s.a)(r,[{key:"agentConfig",get:function(){return this.privAgentConfig}}]),r}(function(e){Object(c.a)(r,e);var t=Object(l.a)(r);function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.a.Info;return Object(a.a)(this,r),t.call(this,e,n)}return r}(f.b)),h=r(46),v=r(65),m=r(517),y=r(1977),T=r(212),b=r(170),g=r(1975),_=r(146),S=r(9),A=r(61),E=r(813),C=r(862),O=r(148),I=r(76),w=r(68),P=r(94),N=r(34),R=r
2(168),k=r(498),x=r(345),M=r(208),L=r(26),j=r(79),D=function(){function e(t){Object(a.a)(this,e),this.privActivityResponse=JSON.parse(t)}return Object(s.a)(e,[{key:"conversationId",get:function(){return this.privActivityResponse.conversationId}},{key:"messageDataStreamType",get:function(){return this.privActivityResponse.messageDataStreamType}},{key:"messagePayload",get:function(){return this.privActivityResponse.messagePayload}},{key:"version",get:function(){return this.privActivityResponse.version}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}();!function(e){e[e.None=0]="None",e[e.TextToSpeechAudio=1]="TextToSpeechAudio"}(n||(n={}));var U=function(){function e(t,r){Object(a.a)(this,e),this.privRequestId=r,this.privIsCompleted=!1,this.privAudioStream=null,this.privTurnManager=t,this.resetTurnEndTimeout()}return Object(s.a)(e,[{key:"audioStream",get:function(){return this.resetTurnEndTimeout(),this.privAudioStream}},{key:"processActivityPayload",value:function(e,t){return e.messageDataStreamType===n.TextToSpeechAudio&&(this.privAudioStream=j.a.createPullStream(),this.privAudioStream.format=void 0!==t?t:_.a.getDefaultOutputFormat()),this.privAudioStream}},{key:"endAudioStream",value:function(){null===this.privAudioStream||this.privAudioStream.isClosed||this.privAudioStream.close()}},{key:"complete",value:function(){void 0!==this.privTimeoutToken&&clearTimeout(this.privTimeoutToken),this.endAudioStream()}},{key:"resetTurnEndTimeout",value:function(){var e=this;void 0!==this.privTimeoutToken&&clearTimeout(this.privTimeoutToken),this.privTimeoutToken=setTimeout((function(){e.privTurnManager.CompleteTurn(e.privRequestId)}),2e3)}}]),e}(),B=function(){function e(){Object(a.a)(this,e),this.privTurnMap=new Map}return Object(s.a)(e,[{key:"StartTurn",value:function(e){if(this.privTurnMap.has(e))throw new L.b("Service error: There is already a turn with id:"+e);var t=new U(this,e);return this.privTurnMap.set(e,t),this.privTurnMap.get(e)}},{key:"GetTurn",value:function(e){return this.privTurnMap.get(e)}},{key:"CompleteTurn",value:function(e){if(!this.privTurnMap.has(e))throw new L.b("Service error: Received turn end for an unknown turn id:"+e);var t=this.privTurnMap.get(e);return t.complete(),this.privTurnMap.delete(e),t}}]),e}(),F=r(252),V=r(39),z=r(251),H=r(814),G=r(11),q=r(802),Y=r(95),W=r(211),K=r(45);r.d(t,"a",(function(){return J}));var $=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},J=function(e){Object(c.a)(r,e);var t=Object(l.a)(r);function r(e,n,i,s,c){var l;return Object(a.a)(this,r),(l=t.call(this,e,n,i,s,c)).sendAgentConfig=function(e){if(l.agentConfig&&!l.agentConfigSent){if(l.privRecognizerConfig.parameters.getProperty(S.a.Conversation_DialogType)===A.a.DialogTypes.CustomCommands){var t=l.agentConfig.get();t.botInfo.commandsCulture=l.privRecognizerConfig.parameters.getProperty(S.a.SpeechServiceConnection_RecoLanguage,"en-us"),l.agentConfig.set(t)}l.onEvent(new d(l.agentConfig));var r=l.agentConfig.toJsonString();return l.agentConfigSent=!0,e.send(new K.a(h.b.Text,"agent.config",l.privRequestSession.requestId,"application/json",r))}},l.sendAgentContext=function(e){var t=Object(v.a)(),r=l.privDialogServiceConnector.properties.getProperty(S.a.Conversation_Speech_Activity_Template),n={channelData:"",context:{interactionId:t},messagePayload:void 0===typeof r?void 0:r,version:.5},i=JSON.stringify(n);return e.send(new K.a(h.b.Text,"speech.agent.context",l.privRequestSession.requestId,"application/json",i))},l.handleResponseMessage=function(e){var t=JSON.parse(e.textBody);switch(t.messageType.toLowerCase()){case"message":var r=e.requestId.toUpperCase(),n=D.fromJSON(e.textBody),i=l.privTurnStateManager.GetTurn(r);if(n.conversationId){var o=l.agentConfig.get();o.botInfo.conversationId=n.conversationId,l.agentConfig.set(o)}var a=i.processActivityPayload(n,_.a.fromSpeechSynthesisOutputFormatString(l.privDialogServiceConnector.properties.getProperty(S.a.SpeechServiceConnection_SynthOutputFormat,void 0))),s=new E.a(n.messagePayload,a);if(l.privDialogServiceConnector.activityReceived)try{l.privDialogServiceConnector.activityReceived(l.privDialogServiceConnector,s)}catch(u){}break;case"messagestatus":if(l.privDialogServiceConnector.turnStatusReceived)try{l.privDialogServiceConnector.turnStatusReceived(l.privDialogServiceConnector,new C.a(e.textBody))}catch(u){}break;default:m.a.instance.onEvent(new y.a("Unexpected response of type ".concat(t.messageType,". Ignoring.")))}},l.privEvents=new T.a,l.privDialogServiceConnector=c,l.receiveMessageOverride=l.receiveDialogMessageOverride,l.privTurnStateManager=new B,l.recognizeOverride=l.listenOnce,l.postConnectImplOverride=l.dialogConnectImpl,l.configConnectionOverride=l.configConnection,l.disconnectOverride=l.privDisconnect,l.privDialogAudioSource=i,l.agentConfigSent=!1,l.privLastResult=null,l.connectionEvents.attach((function(e){return $(Object(u.a)(l),void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"ConnectionClosedEvent"===e.name&&(this.terminateMessageLoop=!0);case 1:case"end":return t.stop()}}),t,this)})))})),l}return Object(s.a)(r,[{key:"sendMessage",value:function(e){return $(this,void 0,void 0,o.a.mark((function t(){var r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(v.a)(),n=Object(v.b)(),i={context:{interactionId:r},messagePayload:JSON.parse(e),version:.5},a=JSON.stringify(i),t.next=6,this.fetchConnection();case 6:return s=t.sent,t.next=9,s.send(new K.a(h.b.Text,"agent",n,"application/json",a));case 9:case"end":return t.stop()}}),t,this)})))}},{key:"privDisconnect",value:function(){return $(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,O.a.Error,I.a.NoError,"Disconnecting");case 2:return this.terminateMessageLoop=!0,this.agentConfigSent=!1,e.abrupt("return");case 5:case"end":return e.stop()}}),e,this)})))}},{key:"processTypeSpecificMessages",value:function(e){return $(this,void 0,void 0,o.a.mark((function t(){var r,n,i,a,s,u,c,l,p,f,d,v;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=new w.a,e.messageType===h.b.Text&&r.setProperty(S.a.SpeechServiceResponse_JsonResult,e.textBody),t.t0=e.path.toLowerCase(),t.next="speech.phrase"===t.t0?5:"speech.hypothesis"===t.t0?10:"speech.keyword"===t.t0?18:"audio"===t.t0?25:"response"===t.t0?30:33;break;case 5:if(a=F.a.fromJSON(e.textBody),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+a.Offset+a.Duration),a.RecognitionStatus!==V.a.TooManyRequests&&a.RecognitionStatus!==V.a.Error&&(s=this.fireEventForResult(a,r),this.privLastResult=s.result,this.privDialogServiceConnector.re
2cognized))try{this.privDialogServiceConnector.recognized(this.privDialogServiceConnector,s)}catch(o){}return i=!0,t.abrupt("break",34);case 10:if(u=z.a.fromJSON(e.textBody),c=u.Offset+this.privRequestSession.currentTurnAudioOffset,n=new P.a(this.privRequestSession.requestId,N.a.RecognizingSpeech,u.Text,u.Duration,c,u.Language,u.LanguageDetectionConfidence,void 0,void 0,e.textBody,r),this.privRequestSession.onHypothesis(c),l=new R.b(n,u.Duration,this.privRequestSession.sessionId),this.privDialogServiceConnector.recognizing)try{this.privDialogServiceConnector.recognizing(this.privDialogServiceConnector,l)}catch(o){}return i=!0,t.abrupt("break",34);case 18:if(p=H.a.fromJSON(e.textBody),n=new P.a(this.privRequestSession.requestId,"Accepted"===p.Status?N.a.RecognizedKeyword:N.a.NoMatch,p.Text,p.Duration,p.Offset,void 0,void 0,void 0,void 0,e.textBody,r),"Accepted"!==p.Status&&(this.privLastResult=n),f=new R.b(n,n.duration,n.resultId),this.privDialogServiceConnector.recognized)try{this.privDialogServiceConnector.recognized(this.privDialogServiceConnector,f)}catch(o){}return i=!0,t.abrupt("break",34);case 25:d=e.requestId.toUpperCase(),v=this.privTurnStateManager.GetTurn(d);try{e.binaryBody?v.audioStream.write(e.binaryBody):v.endAudioStream()}catch(o){}return i=!0,t.abrupt("break",34);case 30:return this.handleResponseMessage(e),i=!0,t.abrupt("break",34);case 33:return t.abrupt("break",34);case 34:return t.abrupt("return",i);case 35:case"end":return t.stop()}}),t,this)})))}},{key:"cancelRecognition",value:function(e,t,r,n,i){return $(this,void 0,void 0,o.a.mark((function t(){var a,s,u;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.terminateMessageLoop=!0,!this.privRequestSession.isRecognizing){t.next=4;break}
2return t.next=4,this.privRequestSession.onStopRecognizing();case 4:if(this.privDialogServiceConnector.canceled){(a=new w.a).setProperty(G.CancellationErrorCodePropertyName,I.a[n]),s=new k.a(r,i,n,void 0,e);try{this.privDialogServiceConnector.canceled(this.privDialogServiceConnector,s)}catch(o){}if(this.privSuccessCallback){u=new P.a(void 0,N.a.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,i,void 0,a);try{this.privSuccessCallback(u),this.privSuccessCallback=void 0}catch(c){}}}case 5:case"end":return t.stop()}}),t,this)})))}},{key:"listenOnce",value:function(e,t,r){return $(this,void 0,void 0,o.a.mark((function n(){var i,a,s,u,c,l,f,d=this;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return this.privRecognizerConfig.recognitionMode=e,this.privSuccessCallback=t,this.privErrorCallback=r,this.privRequestSession.startNewRecognition(),this.privRequestSession.listenForServiceTelemetry(this.privDialogAudioSource.events),this.privRecognizerConfig.parameters.setProperty(S.a.Speech_SessionId,this.privRequestSession.sessionId),i=this.connectImpl(),a=this.sendPreAudioMessages(),n.next=10,this.privDialogAudioSource.attach(this.privRequestSession.audioNodeId);case 10:return s=n.sent,n.next=13,this.privDialogAudioSource.format;case 13:return u=n.sent,n.next=16,this.privDialogAudioSource.deviceInfo;case 16:return c=n.sent,l=new p.a(s,u.avgBytesPerSec),n.next=20,this.privRequestSession.onAudioSourceAttachCompleted(l,!1);case 20:return this.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:c},n.prev=21,n.next=24,i;case 24:return n.next=26,a;case 26:n.next=33;break;case 28:return n.prev=28,n.t0=n.catch(21),n.next=32,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,O.a.Error,I.a.ConnectionFailure,n.t0);case 32:return n.abrupt("return",Promise.resolve());case 33:f=new x.a(this.privRequestSession.sessionId),this.privRecognizer.sessionStarted&&this.privRecognizer.sessionStarted(this.privRecognizer,f),this.sendAudio(l).then((function(){}),(function(e){return $(d,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,O.a.Error,I.a.RuntimeError,e);case 2:case"end":return t.stop()}}),t,this)})))}));case 37:case"end":return n.stop()}}),n,this,[[21,28]])})))}},{key:"dialogConnectImpl",value:function(e){return this.privConnectionLoop=this.startMessageLoop(),e}},{key:"receiveDialogMessageOverride",value:function(){var e=this,t=new b.a;return function r(){return $(e,void 0,void 0,o.a.mark((function e(){var n,i,a,s,u,c,l,p,f,d,h,v,m,y,T,b;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=this.isDisposed(),i=!this.isDisposed()&&this.terminateMessageLoop,!n&&!i){e.next=6;break}return t.resolve(void 0),e.abrupt("return");case 6:return e.next=8,this.fetchConnection();case 8:return a=e.sent,e.next=11,a.read();case 11:if(s=e.sent){e.next=14;break}return e.abrupt("return",r());case 14:u=K.a.fromConnectionMessage(s),e.t0=u.path.toLowerCase(),e.next="turn.start"===e.t0?18:"speech.startdetected"===e.t0?22:"speech.enddetected"===e.t0?26:"turn.end"===e.t0?32:44;break;case 18:return c=u.requestId.toUpperCase(),l=this.privRequestSession.requestId.toUpperCase(),c!==l?this.privTurnStateManager.StartTurn(c):this.privRequestSession.onServiceTurnStartResponse(),e.abrupt("break",45);case 22:return p=q.a.fromJSON(u.textBody),f=new M.a(p.Offset,this.privRequestSession.sessionId),this.privRecognizer.speechStartDetected&&this.privRecognizer.speechStartDetected(this.privRecognizer,f),e.abrupt("break",45);case 26:return d=u.textBody.length>0?u.textBody:"{ Offset: 0 }",h=q.a.fromJSON(d),this.privRequestSession.onServiceRecognized(h.Offset+this.privRequestSession.currentTurnAudioOffset),v=new M.a(h.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privRecognizer.speechEndDetected&&this.privRecognizer.speechEndDetected(this.privRecognizer,v),e.abrupt("break",45);case 32:if(m=u.requestId.toUpperCase(),y=this.privRequestSession.requestId.toUpperCase(),m===y){e.next=38;break}this.privTurnStateManager.CompleteTurn(m),e.next=43;break;
2case 38:return T=new x.a(this.privRequestSession.sessionId),e.next=41,this.privRequestSession.onServiceTurnEndResponse(!1);case 41:if(this.privRecognizerConfig.isContinuousRecognition&&!this.privRequestSession.isSpeechEnded&&this.privRequestSession.isRecognizing||this.privRecognizer.sessionStopped&&this.privRecognizer.sessionStopped(this.privRecognizer,T),this.privSuccessCallback&&this.privLastResult){try{this.privSuccessCallback(this.privLastResult),this.privLastResult=null}catch(o){this.privErrorCallback&&this.privErrorCallback(o)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}case 43:return e.abrupt("break",45);case 44:this.processTypeSpecificMessages(u)||this.serviceEvents&&this.serviceEvents.onEvent(new g.h(u.path.toLowerCase(),u.textBody));case 45:return b=r(),e.abrupt("return",b);case 49:e.prev=49,e.t1=e.catch(0),this.terminateMessageLoop=!0,t.resolve();case 53:case"end":return e.stop()}}),e,this,[[0,49]])})))}().catch((function(e){m.a.instance.onEvent(new y.a(e))})),t.promise}},{key:"startMessageLoop",value:function(){return $(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.terminateMessageLoop=!1,e.prev=1,e.next=4,this.receiveDialogMessageOverride();case 4:e.next=10;break;case 6:return e.prev=6,e.t0=e.catch(1),e.next=10,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,O.a.Error,I.a.RuntimeError,e.t0);case 10:return e.abrupt("return",Promise.resolve());case 11:case"end":return e.stop()}}),e,this,[[1,6]])})))}},{key:"configConnection",value:function(e){return $(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.terminateMessageLoop){t.next=3;break}return this.terminateMessageLoop=!1,t.abrupt("return",Promise.reject("Connection to service terminated."));case 3:return t.next=5,this.sendSpeechServiceConfig(e,this.privRequestSession,this.privRecognizerConfig.SpeechServiceConfig.serialize());case 5:return t.next=7,this.sendAgentConfig(e);case 7:return t.abrupt("return",e);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"sendPreAudioMessages",value:function(){return $(this,void 0,void 0,o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetchConnection();case 2:return t=e.sent,this.addKeywordContextData(),e.next=6,this.sendSpeechContext(t);case 6:return e.next=8,this.sendAgentContext(t);case 8:return e.next=10,this.sendWaveHeader(t);case 10:case"end":return e.stop()}}),e,this)})))}},{key:"fireEventForResult",value:function(e,t){var r=Y.a.implTranslateRecognitionResult(e.RecognitionStatus),n=e.Offset+this.privRequestSession.currentTurnAudioOffset,i=new P.a(this.privRequestSession.requestId,r,e.DisplayText,e.Duration,n,e.Language,e.LanguageDetectionConfidence,void 0,void 0,JSON.stringify(e),t);return new R.b(i,n,this.privRequestSession.sessionId)}},{key:"onEvent",value:function(e){this.privEvents.onEvent(e),m.a.instance.onEvent(e)}},{key:"addKeywordContextData",value:function(){var e=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect");if(void 0!==e){for(var t=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect-Offsets"),r=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect-Durations"),n=e.split(";"),i=void 0===t?[]:t.split(";"),o=void 0===r?[]:r.split(";"),a=[],s=0;s<n.length;s++){var u={};u.text=n[s],s<i.length&&(u.offset=Number(i[s])),s<o.length&&(u.duration=Number(o[s])),a.push(u)}this.speechContext.setSection("invocationSource","VoiceActivationWithKeyword"),this.speechContext.setSection("keywordDetection",[{clientDetectedKeywords:a,onReject:{action:"EndOfTurn"},type:"startTrigger"}])}}}]),r}(W.a)},function(e,t,r){"use strict";var n=r(1),i=r(2),o=function(){function e(t){Object(n.a)(this,e),this.privMessageStatusResponse=JSON.parse(t)}return Object(i.a)(e,[{key:"interactionId",get:function(){return this.privMessageStatusResponse.interactionId}}
2,{key:"conversationId",get:function(){return this.privMessageStatusResponse.conversationId}},{key:"statusCode",get:function(){switch(this.privMessageStatusResponse.statusCode){case"Success":return 200;case"Failed":return 400;case"TimedOut":return 429;default:return this.privMessageStatusResponse.statusCode}}}],[{key:"fromJSON",value:function(t){return new e(t)}}]),e}();r.d(t,"a",(function(){return a}));var a=function(){function e(t){Object(n.a)(this,e),this.privTurnStatus=o.fromJSON(t)}return Object(i.a)(e,[{key:"interactionId",get:function(){return this.privTurnStatus.interactionId}},{key:"conversationId",get:function(){return this.privTurnStatus.conversationId}},{key:"statusCode",get:function(){return this.privTurnStatus.statusCode}}]),e}()},function(e,t,r){"use strict";var n=r(32),i=r(3),o=r.n(i),a=r(1),s=r(2),u=r(170),c=r(517),l=r(65),p=r(118),f=r(96),d=r(1975),h=function(){function e(t,r,n){var i=this;Object(a.a)(this,e),this.privIsDisposed=!1,this.privListeningTriggerMetric=null,this.privMicMetric=null,this.privConnectionEstablishMetric=null,this.onEvent=function(e){i.privIsDisposed||(e instanceof p.d&&e.requestId===i.privRequestId&&(i.privListeningTriggerMetric={End:e.eventTime,Name:"ListeningTrigger",Start:e.eventTime}),e instanceof f.f&&e.audioSourceId===i.privAudioSourceId&&e.audioNodeId===i.privAudioNodeId&&(i.privMicStartTime=e.eventTime),e instanceof f.e&&e.audioSourceId===i.privAudioSourceId&&e.audioNodeId===i.privAudioNodeId&&(i.privMicStartTime=e.eventTime),e instanceof f.a&&e.audioSourceId===i.privAudioSourceId&&(i.privMicMetric||(i.privMicMetric={End:e.eventTime,Error:e.error,Name:"Microphone",Start:i.privMicStartTime})),e instanceof f.h&&e.audioSourceId===i.privAudioSourceId&&e.audioNodeId===i.privAudioNodeId&&(i.privMicMetric||(i.privMicMetric={End:e.eventTime,Error:e.error,Name:"Microphone",Start:i.privMicStartTime})),e instanceof f.g&&e.audioSourceId===i.privAudioSourceId&&e.audioNodeId===i.privAudioNodeId&&(i.privMicMetric||(i.privMicMetric={End:e.eventTime,Name:"Microphone",Start:i.privMicStartTime})),e instanceof p.a&&e.requestId===i.privRequestId&&(i.privConnectionId=e.sessionId),e instanceof d.g&&e.connectionId===i.privConnectionId&&(i.privConnectionStartTime=e.eventTime),e instanceof d.d&&e.connectionId===i.privConnectionId&&(i.privConnectionEstablishMetric||(i.privConnectionEstablishMetric={End:e.eventTime,Id:i.privConnectionId,Name:"Connection",Start:i.privConnectionStartTime})),e instanceof d.c&&e.connectionId===i.privConnectionId&&(i.privConnectionEstablishMetric||(i.privConnectionEstablishMetric={End:e.eventTime,Error:i.getConnectionError(e.statusCode),Id:i.privConnectionId,Name:"Connection",Start:i.privConnectionStartTime})),e instanceof d.e&&e.connectionId===i.privConnectionId&&e.message&&e.message.headers&&e.message.headers.path&&(i.privReceivedMessages[e.message.headers.path]||(i.privReceivedMessages[e.message.headers.path]=new Array),i.privReceivedMessages[e.message.headers.path].push(e.networkReceivedTime)))},this.getTelemetry=function(){var e=new Array;i.privListeningTriggerMetric&&e.push(i.privListeningTriggerMetric),i.privMicMetric&&e.push(i.privMicMetric),i.privConnectionEstablishMetric&&e.push(i.privConnectionEstablishMetric),i.privPhraseLatencies.length>0&&e.push({PhraseLatencyMs:i.privPhraseLatencies}),i.privHypothesisLatencies.length>0&&e.push({FirstHypothesisLatencyMs:i.privHypothesisLatencies});var t={Metrics:e,ReceivedMessages:i.privReceivedMessages},r=JSON.stringify(t);return i.privReceivedMessages={},i.privListeningTriggerMetric=null,i.privMicMetric=null,i.privConnectionEstablishMetric=null,i.privPhraseLatencies=[],i.privHypothesisLatencies=[],r},this.dispose=function(){i.privIsDisposed=!0},this.getConnectionError=function(e){switch(e){case 400:case 1002:case 1003:case 1005:case 1007:case 1008:case 1009:return"BadRequest";case 401:return"Unauthorized";case 403:return"Forbidden";case 503:case 1001:return"ServerUnavailable";case 500:case 1011:return"ServerError";case 408:case 504:return"Timeout";default:return"statuscode:"+e.toString()}},this.privRequestId=t,this.privAudioSourceId=r,this.privAudioNodeId=n,this.privReceivedMessages={},this.privPhraseLatencies=[],this.privHypothesisLatencies=[]}return Object(s.a)(e,[{key:"phraseReceived",value:function(e){e>0&&this.privPhraseLatencies.push(Date.now()-e)}},{key:"hypothesisReceived",value:function(e){e>0&&this.privHypothesisLatencies.push(Date.now()-e)}},{key:"hasTelemetry",get:function(){return 0!==Object.keys(this.privReceivedMessages).length||null!==this.privListeningTriggerMetric||null!==this.privMicMetric||null!==this.privConnectionEstablishMetric||0!==this.privPhraseLatencies.length||0!==this.privHypothesisLatencies.length}}]),e}();r.d(t,"a",(function(){return m}));var v=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},m=function(){function e(t){var r=this;Object(a.a)(this,e),this.privIsDisposed=!1,this.privDetachables=new Array,this.privIsAudioNodeDetached=!1,this.privIsRecognizing=!1,this.privIsSpeechEnded=!1,this.privTurnStartAudioOffset=0,this.privLastRecoOffset=0,this.privHypothesisReceived=!1,this.privBytesSent=0,this.privRecogNumber=0,this.privInTurn=!1,this.privConnectionAttempts=0,this.onPreConnectionStart=function(e,t){r.privAuthFetchEventId=e,r.privSessionId=t,r.onEvent(new p.a(r.privRequestId,r.privAuthFetchEventId,r.privSessionId))},this.onServiceTurnStartResponse=function(){r.privTurnDeferral&&r.privInTurn&&(r.privTurnDeferral.reject("Another turn started before current completed."),r.privTurnDeferral.promise.then().catch((function(){}))),r.privInTurn=!0,r.privTurnDeferral=new u.a},this.getTelemetry=function(){return r.privServiceTelemetryListener.hasTelemetry?r.privServiceTelemetryListener.getTelemetry():null},this.onEvent=function(e){r.privServiceTelemetryListener&&r.privServiceTelemetryListener.onEvent(e),c.a.instance.onEvent(e)},this.privAudioSourceId=t,this.privRequestId=Object(l.b)(),this.privAudioNodeId=Object(l.b)(),this.privTurnDeferral=new u.a,this.privTurnDeferral.resolve()}return Object(s.a)(e,[{key:"sessionId",get:function(){return this.privSessionId}},{key:"requestId",get:function(){return this.privRequestId}},{key:"audioNodeId",get:function(){return this.privAudioNodeId}},{key:"turnCompletionPromise",get:function(){return this.privTurnDeferral.promise}}
2,{key:"isSpeechEnded",get:function(){return this.privIsSpeechEnded}},{key:"isRecognizing",get:function(){return this.privIsRecognizing}},{key:"currentTurnAudioOffset",get:function(){return this.privTurnStartAudioOffset}},{key:"recogNumber",get:function(){return this.privRecogNumber}},{key:"numConnectionAttempts",get:function(){return this.privConnectionAttempts}},{key:"bytesSent",get:function(){return this.privBytesSent}},{key:"listenForServiceTelemetry",value:function(e){this.privServiceTelemetryListener&&this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener))}},{key:"startNewRecognition",value:function(){this.privIsSpeechEnded=!1,this.privIsRecognizing=!0,this.privTurnStartAudioOffset=0,this.privLastRecoOffset=0,this.privRequestId=Object(l.b)(),this.privRecogNumber++,this.privServiceTelemetryListener=new h(this.privRequestId,this.privAudioSourceId,this.privAudioNodeId),this.onEvent(new p.d(this.requestId,this.privSessionId,this.privAudioSourceId,this.privAudioNodeId))}},{key:"onAudioSourceAttachCompleted",value:function(e,t,r){return v(this,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(this.privAudioNode=e,this.privIsAudioNodeDetached=!1,!t){r.next=7;break}return r.next=5,this.onComplete();case 5:r.next=8;break;case 7:this.onEvent(new p.b(this.privRequestId,this.privSessionId,this.privAudioSourceId,this.privAudioNodeId));case 8:case"end":return r.stop()}}),r,this)})))}},{key:"onAuthCompleted",value:function(e,t){return v(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,this.onComplete();case 3:case"end":return t.stop()}}),t,this)})))}},{key:"onConnectionEstablishCompleted",value:function(e,t){return v(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(200!==e){t.next=8;break}return this.onEvent(new p.c(this.requestId,this.privAudioSourceId,this.privAudioNodeId,this.privAuthFetchEventId,this.privSessionId)),this.privAudioNode&&this.privAudioNode.replay(),this.privTurnStartAudioOffset=this.privLastRecoOffset,this.privBytesSent=0,t.abrupt("return");case 8:if(403!==e){t.next=11;break}return t.next=11,this.onComplete();case 11:case"end":return t.stop()}}),t,this)})))}},{key:"onServiceTurnEndResponse",value:function(e){return v(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.privTurnDeferral.resolve(),e&&!this.isSpeechEnded){t.next=7;break}return t.next=4,this.onComplete();case 4:this.privInTurn=!1,t.next=10;break;case 7:this.privTurnStartAudioOffset=this.privLastRecoOffset,this.privRequestId=Object(l.b)(),this.privAudioNode.replay();case 10:case"end":return t.stop()}}),t,this)})))}},{key:"onHypothesis",value:function(e){this.privHypothesisReceived||(this.privHypothesisReceived=!0,this.privServiceTelemetryListener.hypothesisReceived(this.privAudioNode.findTimeAtOffset(e)))}},{key:"onPhraseRecognized",value:function(e){this.privServiceTelemetryListener.phraseReceived(this.privAudioNode.findTimeAtOffset(e)),this.onServiceRecognized(e)}},{key:"onServiceRecognized",value:function(e){this.privLastRecoOffset=e,this.privHypothesisReceived=!1,this.privAudioNode.shrinkBuffers(e),this.privConnectionAttempts=0}},{key:"onAudioSent",value:function(e){this.privBytesSent+=e}},{key:"onRetryConnection",value:function(){this.privConnectionAttempts++}},{key:"dispose",value:function(e){return v(this,void 0,void 0,o.a.mark((function e(){var t,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privIsDisposed){e.next=21;break}this.privIsDisposed=!0,t=Object(n.a)(this.privDetachables),e.prev=3,t.s();case 5:if((r=t.n()).done){e.next=11;break}return i=r.value,e.next=9,i.detach();case 9:e.next=5;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:this.privServiceTelemetryListener.dispose(),this.privIsRecognizing=!1;case 21:case"end":return e.stop()}}),e,this,[[3,13,16,19]])})))}},{key:"onStopRecognizing",value:function(){return v(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.onComplete();case 2:case"end":return e.stop()}}),e,this)})))}},{key:"onSpeechEnded",value:function(){this.privIsSpeechEnded=!0}},{key:"onComplete",value:function(){return v(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.privIsRecognizing){e.next=4;break}return this.privIsRecognizing=!1,e.next=4,this.detachAudioNode();case 4:case"end":return e.stop()}}),e,this)})))}},{key:"detachAudioNode",value:function(){return v(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.privIsAudioNodeDetached){e.next=5;break}if(this.privIsAudioNodeDetached=!0,!this.privAudioNode){e.next=5;break}return e.next=5,this.privAudioNode.detach();case 5:case"end":return e.stop()}}),e,this)})))}}]),e}()},function(e,t,r){"use strict";var n,i=r(3),o=r.n(i),a=r(1),s=r(2),u=r(352),c=r(26),l=r(170),p=r(878);!function(e){e.Get="get",e.Post="post",e.Delete="delete",e.File="file"}(n||(n={}));var f=function(){function e(t,r){if(Object(a.a)(this,e),!t)throw new c.a("configParams");this.privHeaders=t.headers,this.privTimeout=t.timeout,this.privIgnoreCache=t.ignoreCache}return Object(s.a)(e,[{key:"setHeaders",value:function(e,t){this.privHeaders[e]=t}},{key:"request",value:function(e,t){var r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,u=new l.a;r="undefined"===typeof XMLHttpRequest?new p.XMLHttpRequest:new XMLHttpRequest;var c=e===n.File?"post":e;return r.open(c,this.withQuery(t,o),!0),this.privHeaders&&Object.keys(this.privHeaders).forEac
2h((function(e){return r.setRequestHeader(e,i.privHeaders[e])})),this.privIgnoreCache&&r.setRequestHeader("Cache-Control","no-cache"),r.timeout=this.privTimeout,r.onload=function(){u.resolve(i.parseXHRResult(r))},r.onerror=function(){u.resolve(i.errorResponse(r,"Failed to make request."))},r.ontimeout=function(){u.resolve(i.errorResponse(r,"Request took longer than expected."))},e===n.File&&s?(r.setRequestHeader("Content-Type","multipart/form-data"),r.send(s)):e===n.Post&&a?(r.setRequestHeader("Content-Type","application/json"),r.send(JSON.stringify(a))):r.send(),u.promise}},{key:"parseXHRResult",value:function(e){return{data:e.responseText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(e.responseText)},ok:e.status>=200&&e.status<300,status:e.status,statusText:e.statusText}}},{key:"errorResponse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{data:t||e.statusText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(t||'"'+e.statusText+'"')},ok:!1,status:e.status,statusText:e.statusText}}},{key:"withQuery",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.queryParams(t);return r?e+(-1===e.indexOf("?")?"?":"&")+r:e}},{key:"queryParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}}]),e}(),d=r(9),h=r(810);r.d(t,"a",(function(){return m}));var v=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},m=function(){function e(t){Object(a.a)(this,e);var r=t.parameters.getProperty(d.a.SpeechServiceConnection_Endpoint,void 0);if(!r){var n=t.parameters.getProperty(d.a.SpeechServiceConnection_Region,"westus"),i=n&&n.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com";r=t.parameters.getProperty(d.a.SpeechServiceConnection_Host,"https://"+n+".api.cognitive"+i+"/speaker/{mode}/v2.0/{dependency}")+"/profiles"}this.privUri=r;var o=u.a.requestOptions;o.headers[u.a.configParams.subscriptionKey]=t.parameters.getProperty(d.a.SpeechServiceConnection_Key,void 0),this.privRestAdapter=new f(o)}return Object(s.a)(e,[{key:"createProfile",value:function(e,t){var r=this.getOperationUri(e);return this.privRestAdapter.setHeaders(u.a.configParams.contentTypeKey,"application/json"),this.privRestAdapter.request(n.Post,r,{},{locale:t})}},{key:"createEnrollment",value:function(e,t){var r=this;this.privRestAdapter.setHeaders(u.a.configParams.contentTypeKey,"multipart/form-data");var i=this.getOperationUri(e.profileType)+"/"+e.profileId+"/enrollments";return t.blob.then((function(e){return r.privRestAdapter.request(n.File,i,{ignoreMinLength:"true"},null,e)}))}},{key:"verifySpeaker",value:function(e,t){return v(this,void 0,void 0,o.a.mark((function r(){var i,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return this.privRestAdapter.setHeaders(u.a.configParams.contentTypeKey,"multipart/form-data"),i=this.getOperationUri(e.voiceProfile.profileType)+"/"+e.voiceProfile.profileId+"/verify",r.prev=2,r.next=5,t.blob;case 5:return a=r.sent,r.abrupt("return",this.privRestAdapter.request(n.File,i,{ignoreMinLength:"true"},null,a));case 9:return r.prev=9,r.t0=r.catch(2),r.abrupt("return",Promise.resolve({data:r.t0}));case 12:case"end":return r.stop()}}),r,this,[[2,9]])})))}},{key:"identifySpeaker",value:function(e,t){return v(this,void 0,void 0,o.a.mark((function r(){var i,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return this.privRestAdapter.setHeaders(u.a.configParams.contentTypeKey,"multipart/form-data"),i=this.getOperationUri(h.a.TextIndependentIdentification)+"/identifySingleSpeaker",r.prev=2,r.next=5,t.blob;case 5:return a=r.sent,r.abrupt("return",this.privRestAdapter.request(n.File,i,{profileIds:e.voiceProfileIds,ignoreMinLength:"true"},null,a));case 9:return r.prev=9,r.t0=r.catch(2),r.abrupt("return",Promise.resolve({data:r.t0}));case 12:case"end":return r.stop()}}),r,this,[[2,9]])}
2)))}},{key:"getProfileStatus",value:function(e){var t="".concat(this.getOperationUri(e.profileType),"/").concat(e.profileId);return this.privRestAdapter.request(n.Get,t,{})}},{key:"getProfiles",value:function(e){var t=this.getOperationUri(e);return this.privRestAdapter.request(n.Get,t,{})}},{key:"getAuthorizationPhrases",value:function(e){var t="".concat(this.getOperationUri(h.a.TextDependentVerification)).replace("profiles","phrases")+"/"+e;return this.privRestAdapter.request(n.Get,t,{})}},{key:"deleteProfile",value:function(e){var t=this.getOperationUri(e.profileType)+"/"+e.profileId;return this.privRestAdapter.request(n.Delete,t,{})}},{key:"resetProfile",value:function(e){var t=this.getOperationUri(e.profileType)+"/"+e.profileId+"/reset";return this.privRestAdapter.request(n.Post,t,{})}},{key:"getOperationUri",value:function(e){var t=e===h.a.TextIndependentIdentification?"identification":"verification",r=e===h.a.TextDependentVerification?"text-dependent":"text-independent";return this.privUri.replace("{mode}",t).replace("{dependency}",r)}}]),e}()},function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"===typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},function(e,t,r){e.exports=r(926)},function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";(function(e){function n(){!function(t,r){try{var n=e.document;if("undefined"!==typeof n&&n.createElement&&n.head&&n.head.appendChild){var i=n.querySelector('html meta[name="'.concat(encodeURI(t),'"]'))||n.createElement("meta");i.setAttribute("name",t),i.setAttribute("content",r),n.head.appendChild(i)}}catch(o){}}("react-scroll-to-bottom:version","4.1.1")}r.d(t,"a",(function(){return n}))}).call(this,r(90))},function(e,t,r){e.exports=r(1552)},function(e,t,r){e.exports=r(1556)},function(e,t){},function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return S}));var i=r(3),o=r.n(i),a=r(1),s=r(2),u=r(873),c=r(491),l=r.n(c),p=r(174),f=r(66),d=r(517),h=r(874),v=r.n(h),m=r(875),y=r.n(m),T=r(876),b=r.n(T),g=r(877),_=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},S=function(){function t(r){Object(a.a)(this,t),r&&(this.privProxyInfo=r),t.privDiskCache||(t.privDiskCache=new y.a("microsoft-cognitiveservices-speech-sdk-cache",{supportBuffer:!0,location:"undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:""}).SPEECH_OCSP_CACHE_ROOT?Object({NODE_ENV:"production",PUBLIC_URL:""}).SPEECH_OCSP_CACHE_ROOT:void 0}))}return Object(s.a)(t,[{key:"GetAgent",value:function(e){var t=new v.a.Agent(this.CreateConnection);if(void 0!==this.privProxyInfo&&void 0!==this.privProxyInfo.HostName&&this.privProxyInfo.Port>0){t.privProxyInfo=this.privProxyInfo}return t}},{key:"CreateConnection",value:function(r,n){var i,o="undefined"!==typeof e&&"0"!==Object({NODE_ENV:"production",PUBLIC_URL:""}).NODE_TLS_REJECT_UNAUTHORIZED&&"0"!==Object({NODE_ENV:"production",PUBLIC_URL:""}).SPEECH_CONDUCT_OCSP_CHECK&&n.secureEndpoint;if(n=Object.assign(Object.assign({},n),{requestOCSP:!t.forceDisableOCSPStapling,servername:n.host}),this.privProxyInfo){var a=t.GetProxyAgent(this.privProxyInfo);i=new Promise((function(e,t){a.callback(r,n,(function(r,n){r?t(r):e(n)}))}))}else i=n.secureEndpoint?Promise.resolve(u.connect(n)):Promise.resolve(g.connect(n));return o?t.OCSPCheck(i,this.privProxyInfo):i}}],[{key:"forceReinitDiskCache",value:function(){t.privDiskCache=void 0,t.privMemCache={}}},{key:"GetProxyAgent",value:function(e){var t={host:e.HostName,port:e.Port};return e.UserName?t.headers={"Proxy-Authentication":"Basic "+new n(e.UserName+":"+(void 0===e.Password)?"":e.Password).toString("base64")}:t.headers={},t.headers.requestOCSP="true",new b.a(t)}},{key:"OCSPCheck",value:function(e,r){return _(this,void 0,void 0,o.a.mark((function n(){var i,a,s,u,c,l=this;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return s=!1,n.next=3,e;case 3:return(u=n.sent).cork(),c=u,n.abrupt("return",new Promise((function(e,n){u.on("OCSPResponse",(function(e){e&&(l.onEvent(new f.n),a=e)})),u.on("error",(function(e){s||(s=!0,u.destroy(),n(e))})),c.on("secure",(function(){return _(l,void 0,void 0,o.a.mark((function l(){var f,d,h,v;return o.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return f=c.getPeerCertificate(!0),o.prev=1,o.next=4,this.GetIssuer(f);case 4:if(d=o.sent,i=p.request.generate(f.raw,d.raw),h=i.id.toString("hex"),a){o.next=12;break}return o.next=10,t.GetResponseFromCache(h,i,r);case 10:v=o.sent,a=v;case 12:return o.next=14,this.VerifyOCSPResponse(a,i,r);case 14:u.uncork(),s=!0,e(u),o.next=24;break;case 19:o.prev=19,o.t0=o.catch(1),u.destroy(),s=!0,n(o.t0);case 24:case"end":return o.stop()}}),l,this,[[1,19]])})))}))})));case 7:case"end":return n.stop()}}),n)})))}},{key:"GetIssuer",value:function(e){return e.issuerCertificate?Promise.resolve(e.issuerCertificate):new Promise((function(t,r){new p.Agent({}).fetchIssuer(e,null,(function(e,n){e?r(e):t(n)}))}))}},{key:"GetResponseFromCache",value:function(e,r,n){return _(this,void 0,void 0,o.a.mark((function i(){var a,s,u,c,l,d,h,v=this;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if((a=t.privMemCache[e])&&this.onEvent(new f.k(e)),a){i.next=13;break}return i.prev=3,i.next=6,t.privDiskCache.get(e);case 6:(s=i.sent).isCached&&(t.onEvent(new f.i(e)),t.StoreMemoryCacheEntry(e,s.value),a=s.value),i.next=13;break;case 10:i.prev=10,i.t0=i.catch(3),a=null;case 13:if(a){i.next=15;break}return i.abrupt("return",a);
2case 15:if(i.prev=15,u=p.utils.parseResponse(a),!((c=u.value.tbsResponseData).responses.length<1)){i.next=21;break}return this.onEvent(new f.c(e,"Not enough data in cached response")),i.abrupt("return");case 21:l=c.responses[0].thisUpdate,(d=c.responses[0].nextUpdate)<Date.now()+this.testTimeOffset-6e4?(this.onEvent(new f.a(e,d)),a=null):(h=Math.min(864e5,(d-l)/2),d-(Date.now()+this.testTimeOffset)<h?(this.onEvent(new f.b(e,l,d)),this.UpdateCache(r,n).catch((function(t){v.onEvent(new f.f(e,t.toString()))}))):this.onEvent(new f.d(e,l,d))),i.next=30;break;case 26:i.prev=26,i.t1=i.catch(15),this.onEvent(new f.c(e,i.t1)),a=null;case 30:return a||this.onEvent(new f.e(e)),i.abrupt("return",a);case 32:case"end":return i.stop()}}),i,this,[[3,10],[15,26]])})))}},{key:"VerifyOCSPResponse",value:function(e,r,n){return _(this,void 0,void 0,o.a.mark((function i(){var a,s=this;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(a=e,r.certID.toString("hex"),a){i.next=6;break}return i.next=5,t.GetOCSPResponse(r,n);case 5:a=i.sent;case 6:return i.abrupt("return",new Promise((function(i,o){p.verify({request:r,response:a},(function(u,c){u?(t.onEvent(new f.o(r.id.toString("hex"),u)),e?s.VerifyOCSPResponse(null,r,n).then((function(){i()}),(function(e){o(e)})):o(u)):(e||t.StoreCacheEntry(r.id.toString("hex"),a),i())}))})));case 7:case"end":return i.stop()}}),i)})))}},{key:"UpdateCache",value:function(e,t){return _(this,void 0,void 0,o.a.mark((function r(){var n,i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.id.toString("hex"),this.onEvent(new f.g(n)),r.next=4,this.GetOCSPResponse(e,t);case 4:i=r.sent,this.StoreCacheEntry(n,i),this.onEvent(new f.h(e.id.toString("hex")));case 7:case"end":return r.stop()}}),r,this)})))}},{key:"StoreCacheEntry",value:function(e,t){this.StoreMemoryCacheEntry(e,t),this.StoreDiskCacheEntry(e,t)}},{key:"StoreMemoryCacheEntry",value:function(e,t){this.privMemCache[e]=t,this.onEvent(new f.l(e))}},{key:"StoreDiskCacheEntry",value:function(e,t){var r=this;this.privDiskCache.set(e,t).then((function(){r.onEvent(new f.j(e))}))}},{key:"GetOCSPResponse",value:function(e,r){var n=this,i={};if(r){var o=t.GetProxyAgent(r);i.agent=o}return new Promise((function(t,r){p.utils.getAuthorityInfo(e.cert,"1.3.6.1.5.5.7.48.1",(function(o,a){if(o)r(o);else{var s=l.a(a);s.path=s.pathname,i=Object.assign(Object.assign({},i),s),p.utils.getResponse(i,e.data,(function(i,o){i?r(i):(n.onEvent(new f.m(e.certID.toString("hex"))),t(o))}))}}))}))}}]),t}();
2S.testTimeOffset=0,S.forceDisableOCSPStapling=!1,S.privMemCache={},S.onEvent=function(e){d.a.instance.onEvent(e)}}).call(this,r(788),r(157).Buffer)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,r){var n=r(1826),i=r(1831);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=n(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(825),i=r(1840),o=r(1845),a=r(1846);e.exports=function(e){var t=o();return function(){var r,o=i(e);if(t){var s=i(this).constructor;r=n(o,arguments,s)}else r=o.apply(this,arguments);return a(this,r)}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(1866)},function(e,t,r){e.exports=r(1903)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(3),i=r.n(n),o=r(1),a=r(2),s=r(26),u=r(65),c=r(516),l=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},p=function(){function e(t){var r=this;Object(o.a)(this,e),this.privIsWriteEnded=!1,this.privIsReadEnded=!1,this.read=function(){if(r.privIsReadEnded)throw new s.b("Stream read has already finished");return r.privReaderQueue.dequeue().then((function(e){return l(r,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==e&&!e.isEnd){t.next=3;break}return t.next=3,this.privReaderQueue.dispose("End of stream reached");case 3:return t.abrupt("return",e);case 4:case"end":return t.stop()}}),t,this)})))}))},this.readEnded=function(){r.privIsReadEnded||(r.privIsReadEnded=!0,r.privReaderQueue=new c.a)},this.throwIfClosed=function(){if(r.privIsWriteEnded)throw new s.b("Stream closed")},this.privId=t||Object(u.b)(),this.privReaderQueue=new c.a}return Object(a.a)(e,[{key:"isClosed",get:function(){return this.privIsWriteEnded}},{key:"isReadEnded",get:function(){return this.privIsReadEnded}},{key:"id",get:function(){return this.privId}},{key:"close",value:function(){this.privIsWriteEnded||(this.writeStreamChunk({buffer:null,isEnd:!0,timeReceived:Date.now()}),this.privIsWriteEnded=!0)}},{key:"writeStreamChunk",value:function(e){if(this.throwIfClosed(),!this.privReaderQueue.isDisposed())try{this.privReaderQueue.enqueue(e)}catch(t){}}}]),e}()},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.None=0]="None",e[e.Connected=1]="Connected",e[e.Connecting=2]="Connecting",e[e.Disconnected=3]="Disconnected"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),i=r(2),o=r(46),a=r(26),s=r(65),u=function(){function e(t,r,i){if(Object(n.a)(this,e),this.privPayload=null,!r)throw new a.a("payload");if(t===o.b.Binary&&"ArrayBuffer"!==r.__proto__.constructor.name)throw new a.b("Payload must be ArrayBuffer");if(t===o.b.Text&&"string"!==typeof r)throw new a.b("Payload must be a string");this.privMessageType=t,this.privPayload=r,this.privId=i||Object(s.b)()}return Object(i.a)(e,[{key:"messageType",get:function(){return this.privMessageType}},{key:"payload",get:function(){return this.privPayload}}
2,{key:"textContent",get:function(){if(this.privMessageType===o.b.Binary)throw new a.b("Not supported for binary message");return this.privPayload}},{key:"binaryContent",get:function(){if(this.privMessageType===o.b.Text)throw new a.b("Not supported for text message");return this.privPayload}},{key:"id",get:function(){return this.privId}}]),e}()},,,,,,,function(e,t,r){e.exports=r(1971)},function(e,t,r){"use strict";var n=r(518),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,m="function"===typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function g(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||T}function _(){}function S(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||T}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=g.prototype;var A=S.prototype=new _;A.constructor=S,n(A,g.prototype),A.isPureReactComponent=!0;var E={current:null},C=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,r){var n,i={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,n)&&!O.hasOwnProperty(n)&&(i[n]=t[n]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===i[n]&&(i[n]=u[n]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:E.current}}function w(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,N=[];function R(e,t,r,n){if(N.length){var i=N.pop();return i.result=e,i.keyPrefix=t,i.func=r,i.context=n,i.count=0,i}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function k(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function x(e,t,r){return null==e?0:function e(t,r,n,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return n(i,t,""===r?"."+M(t,0):r),1;if(u=0,r=""===r?".":r+":",Array.isArray(t))for(var c=0;c<t.length;c++){var l=r+M(s=t[c],c);u+=e(s,l,n,i)}else if(null===t||"object"!==typeof t?l=null:l="function"===typeof(l=m&&t[m]||t["@@iterator"])?l:null,"function"===typeof l)for(t=l.call(t),c=0;!(s=t.next()).done;)u+=e(s=s.value,l=r+M(s,c++),n,i);else if("object"===s)throw n=""+t,Error(y(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return u}(e,"",t,r)}function M(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function j(e,t,r){var n=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,n,r,(function(e){return e})):null!=e&&(w(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+r)),n.push(e))}function D(e,t,r,n,i){var o="";null!=r&&(o=(""+r).replace(P,"$&/")+"/"),x(e,j,t=R(t,o,n,i)),k(t)}var U={current:null};function B(){var e=U.current;if(null===e)throw Error(y(321));return e}var F={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:function(e,t,r){if(null==e)return e;var n=[];return D(e,n,null,t,r),n}
vendor: 28,182 bytes, line 2
2,forEach:function(e,t,r){if(null==e)return e;x(e,L,t=R(null,null,t,r)),k(t)},count:function(e){return x(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!w(e))throw Error(y(143));return e}},t.Component=g,t.Fragment=s,t.Profiler=c,t.PureComponent=S,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error(y(267,e));var i=n({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)C.call(t,l)&&!O.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){c=Array(l);for(var p=0;p<l;p++)c[p]=arguments[p+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=I,t.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return B().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,r){return B().useReducer(e,t,r)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.14.0"},function(e,t,r){"use strict";var n=r(0),i=r(518),o=r(896);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));function s(e,t,r,n,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(l){this.onError(l)}}var u=!1,c=null,l=!1,p=null,f={onError:function(e){u=!0,c=e}};function d(e,t,r,n,i,o,a,l,p){u=!1,c=null,s.apply(f,arguments)}var h=null,v=null,m=null;function y(e,t,r){var n=e.type||"unknown-event";e.currentTarget=m(r),function(e,t,r,n,i,o,s,f,h){if(d.apply(this,arguments),u){if(!u)throw Error(a(198));var v=c;u=!1,c=null,l||(l=!0,p=v)}}(n,t,void 0,e),e.currentTarget=null}var T=null,b={};function g(){if(T)for(var e in b){var t=b[e],r=T.indexOf(e);if(!(-1<r))throw Error(a(96,e));if(!S[r]){if(!t.extractEvents)throw Error(a(97,e));for(var n in S[r]=t,r=t.eventTypes){var i=void 0,o=r[n],s=t,u=n;if(A.hasOwnProperty(u))throw Error(a(99,u));A[u]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&_(c[i],s,u);i=!0}else o.registrationName?(_(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,n,e))}}}}function _(e,t,r){if(E[e])throw Error(a(100,e));E[e]=t,C[e]=t.eventTypes[r].dependencies}var S=[],A={},E={},C={};function O(e){var t,r=!1;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];if(!b.hasOwnProperty(t)||b[t]!==n){if(b[t])throw Error(a(102,t));b[t]=n,r=!0}}r&&g()}var I=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),w=null,P=null,N=null;function R(e){if(e=v(e)){if("function"!==typeof w)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),w(e.stateNode,e.type,t))}}function k(e){P?N?N.push(e):N=[e]:P=e}function x(){if(P){var e=P,t=N;if(N=P=null,R(e),t)for(e=0;e<t.length;e++)R(t[e])}}function M(e,t){return e(t)}function L(e,t,r,n,i){return e(t,r,n,i)}function j(){}var D=M,U=!1,B=!1;function F(){null===P&&null===N||(j(),x())}function V(e,t,r){if(B)return e(t,r);B=!0;try{return D(e,t,r)}finally{B=!1,F()}}var z=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H=Object.prototype.hasOwnProperty,G={},q={};function Y(e,t,r,n,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){W[e]=new Y(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];W[t]=new Y(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){W[e]=new Y(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){W[e]=new Y(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){W[e]=new Y(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){W[e]=new Y(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){W[e]=new Y(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){W[e]=new Y(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){W[e]=new Y(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function $(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(K,$);W[t]=new Y(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(K,$);W[t]=new Y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,$);W[t]=new Y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){W[e]=new Y(e,1,!1,e.toLowerCase(),null,!1)})),W.xlinkHref=new Y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){W[e]=new Y(e,1,!1,e.toLowerCase(),null,!0)}));var J=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,r,n){var i=W.hasOwnProperty(t)?W[t]:null;(null!==i?0===i.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,r,n){if(null===t||"undefined"===typeof t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!H.call(q,e)||!H.call(G,e)&&(z.test(e)?q[e]=!0:(G[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}J.hasOwnProperty("ReactCurrentDispatcher")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty("ReactCurrentBatchConfig")||(J.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,Q="function"===typeof Symbol&&Symbol.for,ee=Q?Symbol.for("react.element"):60103,te=Q?Symbol.for("react.portal"):60106,re=Q?Symbol.for("react.fragment"):60107,ne=Q?Symbol.for("react.strict_mode"):60108,ie=Q?Symbol.for("react.profiler"):60114,oe=Q?Symbol.for("react.provider"):60109,ae=Q?Symbol.for("react.context"):60110,se=Q?Symbol.for("react.concurrent_mode"):60111,ue=Q?Symbol.for("react.forward_ref"):60112,ce=Q?Symbol.for("react.suspense"):60113,le=Q?Symbol.for("react.suspense_list"):60120,pe=Q?Symbol.for("react.memo"):60115,fe=Q?Symbol.for("react.lazy"):60116,de=Q?Symbol.for("react.block"):60121,he="function"===typeof Symbol&&Symbol.iterator;function ve(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=he&&e[he]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case re:return"Fragment";case te:return"Portal";case ie:return"Profiler";case ne:return"StrictMode";case ce:return"Suspense";case le:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case pe:return me(e.type);case de:return me(e.render);case fe:if(e=1===e._status?e._result:null)return me(e)}return null}function ye(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break e;default:var n=e._debugOwner,i=e._debugSource,o=me(e.type);r=null,n&&(r=me(n.type)),n=o,o="",i?o=" (at "+i.fileName.replace(Z,"")+":"+i.lineNumber+")":r&&(o=" (created by "+r+")"),r="\n    in "+(n||"Unknown")+o}t+=r,e=e.return}while(e);return t}function Te(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ge(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=be(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Se(e,t){var r=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Ae(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=Te(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ee(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Ce(e,t){Ee(e,t);var r=Te(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ie(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ie(e,t.type,Te(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Oe(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function Ie(e,t,r){"number"===t&&e.ownerDocument.activeElement===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function we(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Te(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Re(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:Te(r)}}function ke(e,t){var r=Te(t.value),n=Te(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function xe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Me="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function je(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function De(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?je(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ue,Be=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction((function(){return e(t,r)}))}:e}((function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((Ue=Ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Fe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}function Ve(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var ze={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},He={},Ge={};function qe(e){if(He[e])return He[e];if(!ze[e])return e;var t,r=ze[e];for(t in r)if(r.hasOwnProperty(t)&&t in Ge)return He[e]=r[t];return e}I&&(Ge=document.createElement("div").style,"AnimationEvent"in window||(delete ze.animationend.animation,delete ze.animationiteration.animation,delete ze.animationstart.animation),"TransitionEvent"in window||delete ze.transitionend.transition);var Ye=qe("animationend"),We=qe("animationiteration"),Ke=qe("animationstart"),$e=qe("transitionend"),Je="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"===typeof WeakMap?WeakMap:Map);function Ze(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function Qe(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Qe(e)!==e)throw Error(a(188))}function rt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(n=i.return)){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return tt(i),e;if(o===n)return tt(i),t;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,u=i.child;u;){if(u===r){s=!0,r=i,n=o;break}if(u===n){s=!0,n=i,r=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===r){s=!0,r=o,n=i;break}if(u===n){s=!0,n=o,r=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function nt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,r){Array.isArray(e)?e.forEach(t,r):e&&t.call(r,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n<t.length&&!e.isPropagationStopped();n++)y(e,t[n],r[n]);else t&&y(e,t,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(ot=nt(ot,e)),e=ot,ot=null,e){if(it(e,at),ot)throw Error(a(95));if(l)throw e=p,l=!1,p=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!I)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}var lt=[];function pt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>lt.length&&lt.push(e)}function ft(e,t,r,n){if(lt.length){var i=lt.pop();return i.topLevelType=e,i.eventSystemFlags=n,i.nativeEvent=t,i.targetInst=r,i}return{topLevelType:e,eventSystemFlags:n,nativeEvent:t,targetInst:r,ancestors:[]}}function dt(e){var t=e.targetInst,r=t;do{if(!r){e.ancestors.push(r);break}var n=r;if(3===n.tag)n=n.stateNode.containerInfo;else{for(;n.return;)n=n.return;n=3!==n.tag?null:n.stateNode.containerInfo}if(!n)break;5!==(t=r.tag)&&6!==t||e.ancestors.push(r),r=Or(n)}while(r);for(r=0;r<e.ancestors.length;r++){t=e.ancestors[r];var i=ut(e.nativeEvent);n=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===r&&(a|=64);for(var s=null,u=0;u<S.length;u++){var c=S[u];c&&(c=c.extractEvents(n,t,o,i,a))&&(s=nt(s,c))}st(s)}}function ht(e,t,r){if(!r.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),r.set("blur",null),r.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Je.indexOf(e)&&Wt(e,t)}r.set(e,null)}}var vt,mt,yt,Tt=!1,bt=[],gt=null,_t=null,St=null,At=new Map,Et=new Map,Ct=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),It="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function wt(e,t,r,n,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|r,nativeEvent:i,container:n}}function Pt(e,t){switch(e){case"focus":case"blur":gt=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":St=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function Nt(e,t,r,n,i,o){return null===e||e.nativeEvent!==o?(e=wt(t,r,n,i,o),null!==t&&(null!==(t=Ir(t))&&mt(t)),e):(e.eventSystemFlags|=n,e)}function Rt(e){var t=Or(e.target);if(null!==t){var r=Qe(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=et(r)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){yt(r)}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function kt(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var r=Ir(t);return null!==r&&mt(r),e.blockedOn=t,!1}return!0}function xt(e,t,r){kt(e)&&r.delete(t)}function Mt(){for(Tt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Ir(e.blockedOn))&&vt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==gt&&kt(gt)&&(gt=null),null!==_t&&kt(_t)&&(_t=null),null!==St&&kt(St)&&(St=null),At.forEach(xt),Et.forEach(xt)}function Lt(e,t){e.blockedOn===t&&(e.blockedOn=null,Tt||(Tt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Mt)))}function jt(e){function t(t){return Lt(t,e)}if(0<bt.length){Lt(bt[0],e);for(var r=1;r<bt.length;r++){var n=bt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==gt&&Lt(gt,e),null!==_t&&Lt(_t,e),null!==St&&Lt(St,e),At.forEach(t),Et.forEach(t),r=0;r<Ct.length;r++)(n=Ct[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Ct.length&&null===(r=Ct[0]).blockedOn;)Rt(r),null===r.blockedOn&&Ct.shift()}var Dt={},Ut=new Map,Bt=new Map,Ft=["abort","abort",Ye,"animationEnd",We,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$e,"transitionEnd","waiting","waiting"];function Vt(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],eventPriority:t},Bt.set(n,t),Ut.set(n,o),Dt[i]=o}}Vt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Vt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Vt(Ft,2);for(var zt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ht=0;Ht<zt.length;Ht++)Bt.set(zt[Ht],0);var Gt=o.unstable_UserBlockingPriority,qt=o.unstable_runWithPriority,Yt=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,r){var n=Bt.get(t);switch(void 0===n?2:n){case 0:n=$t.bind(null,t,1,e);break;case 1:n=Jt.bind(null,t,1,e);break;default:n=Xt.bind(null,t,1,e)}r?e.addEventListener(t,n,!0):e.addEventListener(t,n,!1)}function $t(e,t,r,n){U||j();var i=Xt,o=U;U=!0;try{L(i,e,t,r,n)}finally{(U=o)||F()}}function Jt(e,t,r,n){qt(Gt,Xt.bind(null,e,t,r,n))}function Xt(e,t,r,n){if(Yt)if(0<bt.length&&-1<Ot.indexOf(e))e=wt(null,e,t,r,n),bt.push(e);else{var i=Zt(e,t,r,n);if(null===i)Pt(e,n);else if(-1<Ot.indexOf(e))e=wt(i,e,t,r,n),bt.push(e);else if(!function(e,t,r,n,i){switch(t){case"focus":return gt=Nt(gt,e,t,r,n,i),!0;case"dragenter":return _t=Nt(_t,e,t,r,n,i),!0;case"mouseover":return St=Nt(St,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return At.set(o,Nt(At.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Et.set(o,Nt(Et.get(o)||null,e,t,r,n,i)),!0}return!1}(i,e,t,r,n)){Pt(e,n),e=ft(e,n,null,t);try{V(dt,e)}finally{pt(e)}}}}function Zt(e,t,r,n){if(null!==(r=Or(r=ut(n)))){var i=Qe(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=et(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}e=ft(e,n,r,t);try{V(dt,e)}finally{pt(e)}return null}var Qt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},er=["Webkit","ms","Moz","O"];function tr(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||Qt.hasOwnProperty(e)&&Qt[e]?(""+t).trim():t+"px"}function rr(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=tr(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(Qt).forEach((function(e){er.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qt[t]=Qt[e]}))}));var nr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ir(e,t){if(t){if(nr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62,""))}}function or(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ar=Me;function sr(e,t){var r=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=C[t];for(var n=0;n<t.length;n++)ht(t[n],e,r)}function ur(){}function cr(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var r,n=lr(e);for(e=0;
2n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=lr(n)}}function fr(){for(var e=window,t=cr();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(n){r=!1}if(!r)break;t=cr((e=t.contentWindow).document)}return t}function dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hr=null,vr=null;function mr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Tr="function"===typeof setTimeout?setTimeout:void 0,br="function"===typeof clearTimeout?clearTimeout:void 0;function gr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function _r(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var Sr=Math.random().toString(36).slice(2),Ar="__reactInternalInstance$"+Sr,Er="__reactEventHandlers$"+Sr,Cr="__reactContainere$"+Sr;function Or(e){var t=e[Ar];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Cr]||r[Ar]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=_r(e);null!==e;){if(r=e[Ar])return r;e=_r(e)}return t}r=(e=r).parentNode}return null}function Ir(e){return!(e=e[Ar]||e[Cr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Pr(e){return e[Er]||null}function Nr(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Rr(e,t){var r=e.stateNode;if(!r)return null;var n=h(r);if(!n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!==typeof r)throw Error(a(231,t,typeof r));return r}
vendor: 3,018 bytes, line 2
2function kr(e,t,r){(t=Rr(e,r.dispatchConfig.phasedRegistrationNames[t]))&&(r._dispatchListeners=nt(r._dispatchListeners,t),r._dispatchInstances=nt(r._dispatchInstances,e))}function xr(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,r=[];t;)r.push(t),t=Nr(t);for(t=r.length;0<t--;)kr(r[t],"captured",e);for(t=0;t<r.length;t++)kr(r[t],"bubbled",e)}}function Mr(e,t,r){e&&r&&r.dispatchConfig.registrationName&&(t=Rr(e,r.dispatchConfig.registrationName))&&(r._dispatchListeners=nt(r._dispatchListeners,t),r._dispatchInstances=nt(r._dispatchInstances,e))}function Lr(e){e&&e.dispatchConfig.registrationName&&Mr(e._targetInst,null,e)}function jr(e){it(e,xr)}var Dr=null,Ur=null,Br=null;function Fr(){if(Br)return Br;var e,t,r=Ur,n=r.length,i="value"in Dr?Dr.value:Dr.textContent,o=i.length;for(e=0;e<n&&r[e]===i[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===i[o-t];t++);return Br=i.slice(e,1<t?1-t:void 0)}function Vr(){return!0}function zr(){return!1}function Hr(e,t,r,n){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=r,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(r):"target"===i?this.target=n:this[i]=r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?Vr:zr,this.isPropagationStopped=zr,this}function Gr(e,t,r,n){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,r,n),i}return new this(e,t,r,n)}function qr(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Yr(e){e.eventPool=[],e.getPooled=Gr,e.release=qr}i(Hr.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Vr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Vr)},persist:function(){this.isPersistent=Vr},isPersistent:zr,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=zr,this._dispatchInstances=this._dispatchListeners=null}}),Hr.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Hr.extend=function(e){function t(){}function r(){return n.apply(this,arguments)}var n=this;t.prototype=n.prototype;var o=new t;return i(o,r.prototype),r.prototype=o,r.prototype.constructor=r,r.Interface=i({},n.Interface,e),r.extend=n.extend,Yr(r),r},Yr(Hr);var Wr=Hr.extend({data:null}),Kr=Hr.extend({data:null}),$r=[9,13,27,32],Jr=I&&"CompositionEvent"in window,Xr=null;I&&"documentMode"in document&&(Xr=document.documentMode);var Zr=I&&"TextEvent"in window&&!Xr,Qr=I&&(!Jr||Xr&&8<Xr&&11>
vendor: 15,707 bytes, line 2
2=Xr),en=String.fromCharCode(32),tn={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rn=!1;function nn(e,t){switch(e){case"keyup":return-1!==$r.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function on(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var an=!1;var sn={eventTypes:tn,extractEvents:function(e,t,r,n){var i;if(Jr)e:{switch(e){case"compositionstart":var o=tn.compositionStart;break e;case"compositionend":o=tn.compositionEnd;break e;case"compositionupdate":o=tn.compositionUpdate;break e}o=void 0}else an?nn(e,r)&&(o=tn.compositionEnd):"keydown"===e&&229===r.keyCode&&(o=tn.compositionStart);return o?(Qr&&"ko"!==r.locale&&(an||o!==tn.compositionStart?o===tn.compositionEnd&&an&&(i=Fr()):(Ur="value"in(Dr=n)?Dr.value:Dr.textContent,an=!0)),o=Wr.getPooled(o,t,r,n),i?o.data=i:null!==(i=on(r))&&(o.data=i),jr(o),i=o):i=null,(e=Zr?function(e,t){switch(e){case"compositionend":return on(t);case"keypress":return 32!==t.which?null:(rn=!0,en);case"textInput":return(e=t.data)===en&&rn?null:e;default:return null}}(e,r):function(e,t){if(an)return"compositionend"===e||!Jr&&nn(e,t)?(e=Fr(),Br=Ur=Dr=null,an=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qr&&"ko"!==t.locale?null:t.data;default:return null}}(e,r))?((t=Kr.getPooled(tn.beforeInput,t,r,n)).data=e,jr(t)):t=null,null===i?t:null===t?i:[i,t]}},un={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};function cn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!un[e.type]:"textarea"===t}var ln={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function pn(e,t,r){return(e=Hr.getPooled(ln.change,e,t,r)).type="change",k(r),jr(e),e}var fn=null,dn=null;function hn(e){st(e)}function vn(e){if(_e(wr(e)))return e}function mn(e,t){if("change"===e)return t}var yn=!1;function Tn(){fn&&(fn.detachEvent("onpropertychange",bn),dn=fn=null)}function bn(e){if("value"===e.propertyName&&vn(dn))if(e=pn(dn,e,ut(e)),U)st(e);else{U=!0;try{M(hn,e)}finally{U=!1,F()}}}function gn(e,t,r){"focus"===e?(Tn(),dn=r,(fn=t).attachEvent("onpropertychange",bn)):"blur"===e&&Tn()}function _n(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return vn(dn)}function Sn(e,t){if("click"===e)return vn(t)}function An(e,t){if("input"===e||"change"===e)return vn(t)}I&&(yn=ct("input")&&(!document.documentMode||9<document.documentMode));var En={eventTypes:ln,_isInputEventSupported:yn,extractEvents:function(e,t,r,n){var i=t?wr(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=mn;else if(cn(i))if(yn)a=An;else{a=_n;var s=gn}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Sn);if(a&&(a=a(e,t)))return pn(a,r,n);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ie(i,"number",i.value)}},Cn=Hr.extend({view:null,detail:null}),On={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function In(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=On[e])&&!!t[e]}function wn(){return In}var Pn=0,Nn=0,Rn=!1,kn=!1,xn=Cn.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:wn,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Pn;return Pn=e.screenX,Rn?"mousemove"===e.type?e.screenX-t:0:(Rn=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Nn;return Nn=e.screenY,kn?"mousemove"===e.type?e.screenY-t:0:(kn=!0,0)}}),Mn=xn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ln={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},jn={eventTypes:Ln,extractEvents:function(e,t,r,n,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0===(32&i)&&(r.relatedTarget||r.fromElement)||!a&&!o)return null;(o=n.window===n?n:(o=n.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=r.relatedTarget||r.toElement)?Or(t):null)&&(t!==Qe(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=xn,u=Ln.mouseLeave,c=Ln.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Mn,u=Ln.pointerLeave,c=Ln.pointerEnter,l="pointer");if(e=null==a?o:wr(a),o=null==t?o:wr(t),(u=s.getPooled(u,a,r,n)).type=l+"leave",u.target=e,u.relatedTarget=o,(r=s.getPooled(c,t,r,n)).type=l+"enter",r.target=o,r.relatedTarget=e,l=t,(n=a)&&l)e:{for(c=l,a=0,e=s=n;e;e=Nr(e))a++;for(e=0,t=c;t;t=Nr(t))e++;for(;0<a-e;)s=Nr(s),a--;for(;0<e-a;)c=Nr(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Nr(s),c=Nr(c)}s=null}else s=null;for(c=s,s=[];n&&n!==c&&(null===(a=n.alternate)||a!==c);)s.push(n),n=Nr(n);for(n=[];l&&l!==c&&(null===(a=l.alternate)||a!==c);)n.push(l),l=Nr(l);for(l=0;l<s.length;l++)Mr(s[l],"bubbled",u);for(l=n.length;0<l--;)Mr(n[l],"captured",r);return 0===(64&i)?[u]:[u,r]}};var Dn="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Un=Object.prototype.hasOwnProperty;function Bn(e,t){if(Dn(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!Un.call(t,r[n])||!Dn(e[r[n]],t[r[n]]))return!1;return!0}var Fn=I&&"documentMode"in document&&11>=document.documentMode,Vn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},zn=null,Hn=null,Gn=null,qn=!1;function Yn(e,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return qn||null==zn||zn!==cr(r)?null:("selectionStart"in(r=zn)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Gn&&Bn(Gn,r)?null:(Gn=r,(e=Hr.getPooled(Vn.select,Hn,e,t)).type="select",e.target=zn,jr(e),e))}var Wn={eventTypes:Vn,extractEvents:function(e,t,r,n,i,o){if(!(o=!(i=o||(n.window===n?n.document:9===n.nodeType?n:n.ownerDocument)))){e:{i=Ze(i),o=C.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?wr(t):window,e){case"focus":(cn(i)||"true"===i.contentEditable)&&(zn=i,Hn=t,Gn=null);break;case"blur":Gn=Hn=zn=null;break;case"mousedown":qn=!0;break;case"contextmenu":case"mouseup":case"dragend":return qn=!1,Yn(r,n);case"selectionchange":if(Fn)break;case"keydown":case"keyup":return Yn(r,n)}return null}},Kn=Hr.extend({animationName:null,elapsedTime:null,pseudoElement:null}),$n=Hr.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jn=Cn.extend({relatedTarget:null});function Xn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Zn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ei=Cn.extend({key:function(e){if(e.key){var t=Zn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Qn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:wn,charCode:function(e){return"keypress"===e.type?Xn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ti=xn.extend({dataTransfer:null}),ri=Cn.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:wn}),ni=Hr.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=xn.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),oi={eventTypes:Dt,extractEvents:function(e,t,r,n){var i=Ut.get(e);if(!i)return null;switch(e){case"keypress":if(0===Xn(r))return null;case"keydown":case"keyup":e=ei;break;case"blur":case"focus":e=Jn;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=xn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ti;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ri;break;case Ye:case We:case Ke:e=Kn;break;case $e:e=ni;break;case"scroll":e=Cn;break;case"wheel":e=ii;break;case"copy":case"cut":case"paste":e=$n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Mn;break;default:e=Hr}return jr(t=e.getPooled(i,t,r,n)),t}};if(T)throw Error(a(101));T=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),g(),h=Pr,v=Ir,m=wr,O({SimpleEventPlugin:oi,EnterLeaveEventPlugin:jn,ChangeEventPlugin:En,SelectEventPlugin:Wn,BeforeInputEventPlugin:sn});var ai=[],si=-1;function ui(e){0>si||(e.current=ai[si],ai[si]=null,si--)}function ci(e,t){si++,ai[si]=e.current,e.current=t}var li={},pi={current:li},fi={current:!1},di=li;function hi(e,t){var r=e.type.contextTypes;if(!r)return li;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function vi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function mi(){ui(fi),ui(pi)}function yi(e,t,r){if(pi.current!==li)throw Error(a(168));ci(pi,t),ci(fi,r)}function Ti(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in e))throw Error(a(108,me(t)||"Unknown",o));return i({},r,{},n)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||li,di=pi.current,ci(pi,e),ci(fi,fi.current),!0}function gi(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=Ti(e,t,di),n.__reactInternalMemoizedMergedChildContext=e,ui(fi),ui(pi),ci(pi,e)):ui(fi),ci(fi,r)}var _i=o.unstable_runWithPriority,Si=o.unstable_scheduleCallback,Ai=o.unstable_cancelCallback,Ei=o.unstable_requestPaint,Ci=o.unstable_now,Oi=o.unstable_getCurrentPriorityLevel,Ii=o.unstable_ImmediatePriority,wi=o.unstable_UserBlockingPriority,Pi=o.unstable_NormalPriority,Ni=o.unstable_LowPriority,Ri=o.unstable_IdlePriority,ki={},xi=o.unstable_shouldYield,Mi=void 0!==Ei?Ei:function(){},Li=null,ji=null,Di=!1,Ui=Ci(),Bi=1e4>Ui?Ci:function(){return Ci()-Ui};function Fi(){switch(Oi()){case Ii:return 99;case wi:return 98;case Pi:return 97;case Ni:return 96;case Ri:return 95;default:throw Error(a(332))}}function Vi(e){switch(e){case 99:return Ii;case 98:return wi;case 97:return Pi;case 96:return Ni;case 95:return Ri;default:throw Error(a(332))}}function zi(e,t){return e=Vi(e),_i(e,t)}function Hi(e,t,r){return e=Vi(e),Si(e,t,r)}function Gi(e){return null===Li?(Li=[e],ji=Si(Ii,Yi)):Li.push(e),ki}function qi(){if(null!==ji){var e=ji;ji=null,Ai(e)}Yi()}function Yi(){if(!Di&&null!==Li){Di=!0;var e=0;try{var t=Li;zi(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),Li=null}catch(r){throw null!==Li&&(Li=Li.slice(e+1)),Si(Ii,qi),r}finally{Di=!1}}}function Wi(e,t,r){return 1073741821-(1+((1073741821-e+t/10)/(r/=10)|0))*r}function Ki(e,t){if(e&&e.defaultProps)for(var r in t=i({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var $i={current:null},Ji=null,Xi=null,Zi=null;function Qi(){Zi=Xi=Ji=null}function eo(e){var t=$i.current;ui($i),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var r=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}e=e.return}}function ro(e,t){Ji=e,Zi=Xi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Na=!0),e.firstContext=null)}function no(e,t){if(Zi!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Zi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xi){if(null===Ji)throw Error(a(308));Xi=t,Ji.dependencies={expirationTime:0,firstContext:t,responders:null}}else Xi=Xi.next=t;return e._currentValue}var io=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function so(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function uo(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function co(e,t){var r=e.alternate;null!==r&&ao(r,e),null===(r=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=r.next,r.next=t)}function lo(e,t,r,n){var o=e.updateQueue;io=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var u=a.next;
2a.next=s.next,s.next=u}a=s,o.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=s))}if(null!==a){u=a.next;var c=o.baseState,l=0,p=null,f=null,d=null;if(null!==u)for(var h=u;;){if((s=h.expirationTime)<n){var v={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(f=d=v,p=c):d=d.next=v,s>l&&(l=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ou(s,h.suspenseConfig);e:{var m=e,y=h;switch(s=t,v=r,y.tag){case 1:if("function"===typeof(m=y.payload)){c=m.call(v,c,s);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null===(s="function"===typeof(m=y.payload)?m.call(v,c,s):m)||void 0===s)break e;c=i({},c,s);break e;case 2:io=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===u){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=u,o.baseQueue=a=s,o.shared.pending=null}}null===d?p=c:d.next=f,o.baseState=p,o.baseQueue=d,au(l),e.expirationTime=l,e.memoizedState=c}}function po(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=i,i=r,"function"!==typeof n)throw Error(a(191,n));n.call(i)}}}var fo=J.ReactCurrentBatchConfig,ho=(new n.Component).refs;function vo(e,t,r,n){r=null===(r=r(n,t=e.memoizedState))||void 0===r?t:i({},t,r),e.memoizedState=r,0===e.expirationTime&&(e.updateQueue.baseState=r)}var mo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Qe(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternalFiber;var n=Ys(),i=fo.suspense;(i=so(n=Ws(n,e,i),i)).payload=t,void 0!==r&&null!==r&&(i.callback=r),uo(e,i),Ks(e,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternalFiber;var n=Ys(),i=fo.suspense;(i=so(n=Ws(n,e,i),i)).tag=1,i.payload=t,void 0!==r&&null!==r&&(i.callback=r),uo(e,i),Ks(e,n)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var r=Ys(),n=fo.suspense;(n=so(r=Ws(r,e,n),n)).tag=2,void 0!==t&&null!==t&&(n.callback=t),uo(e,n),Ks(e,r)}};function yo(e,t,r,n,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Bn(r,n)||!Bn(i,o))}function To(e,t,r){var n=!1,i=li,o=t.contextType;return"object"===typeof o&&null!==o?o=no(o):(i=vi(t)?di:pi.current,o=(n=null!==(n=t.contextTypes)&&void 0!==n)?hi(e,i):li),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mo,e.stateNode=t,t._reactInternalFiber=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function bo(e,t,r,n){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&mo.enqueueReplaceState(t,t.state,null)}function go(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=ho,oo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=no(o):(o=vi(t)?di:pi.current,i.context=hi(e,o)),lo(e,r,i,n),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(vo(e,t,o,r),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&mo.enqueueReplaceState(i,i.state,null),lo(e,r,i,n),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var _o=Array.isArray;function So(e,t,r){if(null!==(e=r.ref)&&"function"!==typeof e&&"object"!==typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=n.refs;
vendor: 11,820 bytes, line 2
2t===ho&&(t=n.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function Ao(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Eo(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ou(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.effectTag=2,r):n:(t.effectTag=2,r):r}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,r,n){return null===t||6!==t.tag?((t=Pu(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=i(t,r.props)).ref=So(e,t,r),n.return=e,n):((n=Iu(r.type,r.key,r.props,null,e.mode,n)).ref=So(e,t,r),n.return=e,n)}function l(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Nu(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function p(e,t,r,n,o){return null===t||7!==t.tag?((t=wu(r,e.mode,n,o)).return=e,t):((t=i(t,r)).return=e,t)}function f(e,t,r){if("string"===typeof t||"number"===typeof t)return(t=Pu(""+t,e.mode,r)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return(r=Iu(t.type,t.key,t.props,null,e.mode,r)).ref=So(e,null,t),r.return=e,r;case te:return(t=Nu(t,e.mode,r)).return=e,t}if(_o(t)||ve(t))return(t=wu(t,e.mode,r,null)).return=e,t;Ao(e,t)}return null}function d(e,t,r,n){var i=null!==t?t.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:u(e,t,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ee:return r.key===i?r.type===re?p(e,t,r.props.children,n,i):c(e,t,r,n):null;case te:return r.key===i?l(e,t,r,n):null}if(_o(r)||ve(r))return null!==i?null:p(e,t,r,n,null);Ao(e,r)}return null}function h(e,t,r,n,i){if("string"===typeof n||"number"===typeof n)return u(t,e=e.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return e=e.get(null===n.key?r:n.key)||null,n.type===re?p(t,e,n.props.children,i,n.key):c(t,e,n,i);case te:return l(t,e=e.get(null===n.key?r:n.key)||null,n,i)}if(_o(n)||ve(n))return p(t,e=e.get(r)||null,n,i,null);Ao(t,n)}return null}function v(i,a,s,u){for(var c=null,l=null,p=a,v=a=0,m=null;null!==p&&v<s.length;v++){p.index>v?(m=p,p=null):m=p.sibling;var y=d(i,p,s[v],u);if(null===y){null===p&&(p=m);break}e&&p&&null===y.alternate&&t(i,p),a=o(y,a,v),null===l?c=y:l.sibling=y,l=y,p=m}if(v===s.length)return r(i,p),c;if(null===p){for(;v<s.length;v++)null!==(p=f(i,s[v],u))&&(a=o(p,a,v),null===l?c=p:l.sibling=p,l=p);return c}for(p=n(i,p);v<s.length;v++)null!==(m=h(p,i,v,s[v],u))&&(e&&null!==m.alternate&&p.delete(null===m.key?v:m.key),a=o(m,a,v),null===l?c=m:l.sibling=m,l=m);return e&&p.forEach((function(e){return t(i,e)})),c}function m(i,s,u,c){var l=ve(u);if("function"!==typeof l)throw Error(a(150));if(null==(u=l.call(u)))throw Error(a(151));for(var p=l=null,v=s,m=s=0,y=null,T=u.next();null!==v&&!T.done;m++,T=u.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=d(i,v,T.value,c);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&t(i,v),s=o(b,s,m),null===p?l=b:p.sibling=b,p=b,v=y}if(T.done)return r(i,v),l;if(null===v){for(;!T.done;m++,T=u.next())null!==(T=f(i,T.value,c))&&(s=o(T,s,m),null===p?l=T:p.sibling=T,p=T);return l}for(v=n(i,v);!T.done;m++,T=u.next())null!==(T=h(v,i,m,T.value,c))&&(e&&null!==T.alternate&&v.delete(null===T.key?m:T.key),s=o(T,s,m),null===p?l=T:p.sibling=T,p=T);return e&&v.forEach((function(e){return t(i,e)})),l}return function(e,n,o,u){var c="object"===typeof o&&null!==o&&o.type===re&&null===o.key;c&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case ee:e:{for(l=o.key,c=n;null!==c;){if(c.key===l){switch(c.tag){case 7:if(o.type===re){r(e,c.sibling),(n=i(c,o.props.children)).return=e,e=n;break e}break;default:if(c.elementType===o.type){r(e,c.sibling),(n=i(c,o.props)).ref=So(e,c,o),n.return=e,e=n;break e}}r(e,c);break}t(e,c),c=c.sibling}o.type===re?((n=wu(o.props.children,e.mode,u,o.key)).return=e,e=n):((u=Iu(o.type,o.key,o.props,null,e.mode,u)).ref=So(e,n,o),u.return=e,e=u)}return s(e);case te:e:{for(c=o.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(e,n.sibling),(n=i(n,o.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=Nu(o,e.mode,u)).return=e,e=n}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==n&&6===n.tag?(r(e,n.sibling),(n=i(n,o)).return=e,e=n):(r(e,n),(n=Pu(o,e.mode,u)).return=e,e=n),s(e);if(_o(o))return v(e,n,o,u);if(ve(o))return m(e,n,o,u);if(l&&Ao(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return r(e,n)}}var Co=Eo(!0),Oo=Eo(!1),Io={},wo={current:Io},Po={current:Io},No={current:Io};function Ro(e){if(e===Io)throw Error(a(174));return e}function ko(e,t){switch(ci(No,t),ci(Po,e),ci(wo,Io),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:De(null,"");break;default:t=De(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ui(wo),ci(wo,t)}function xo(){ui(wo),ui(Po),ui(No)}function Mo(e){Ro(No.current);var t=Ro(wo.current),r=De(t,e.type);t!==r&&(ci(Po,e),ci(wo,r))}function Lo(e){Po.current===e&&(ui(wo),ui(Po))}var jo={current:0};function Do(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Uo(e,t){return{responder:e,props:t}}var Bo=J.ReactCurrentDispatcher,Fo=J.ReactCurrentBatchConfig,Vo=0,zo=null,Ho=null,Go=null,qo=!1;function Yo(){throw Error(a(321))}function Wo(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Dn(e[r],t[r]))return!1;return!0}function Ko(e,t,r,n,i,o){if(Vo=o,zo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Bo.current=null===e||null===e.memoizedState?ya:Ta,e=r(n,i),t.expirationTime===Vo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Go=Ho=null,t.updateQueue=null,Bo.current=ba,e=r(n,i)}while(t.expirationTime===Vo)}if(Bo.current=ma,t=null!==Ho&&null!==Ho.next,Vo=0,Go=Ho=zo=null,qo=!1,t)throw Error(a(300));return e}function $o(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Go?zo.memoizedState=Go=e:Go=Go.next=e,Go}function Jo(){if(null===Ho){var e=zo.alternate;e=null!==e?e.memoizedState:null}else e=Ho.next;var t=null===Go?zo.memoizedState:Go.next;if(null!==t)Go=t,Ho=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Ho=e).memoizedState,baseState:Ho.baseState,baseQueue:Ho.baseQueue,queue:Ho.queue,next:null},null===Go?zo.memoizedState=Go=e:Go=Go.next=e}return Go}function Xo(e,t){return"function"===typeof t?t(e):t}function Zo(e){var t=Jo(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=Ho,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var u=s=o=null,c=i;do{var l=c.expirationTime;if(l<Vo){var p={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=p,o=n):u=u.next=p,l>zo.expirationTime&&(zo.expirationTime=l,au(l))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),ou(l,c.suspenseConfig),n=c.eagerReducer===e?c.eagerState:e(n,c.action);c=c.next}while(null!==c&&c!==i);null===u?o=n:u.next=s,Dn(n,t.memoizedState)||(Na=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=u,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function Qo(e){var t=Jo(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Dn(o,t.memoizedState)||(Na=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function ea(e){var t=$o();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xo,lastRenderedState:e}).dispatch=va.bind(null,zo,e),[t.memoizedState,e]}function ta(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=zo.updateQueue)?(t={lastEffect:null},zo.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function ra(){return Jo().memoizedState}function na(e,t,r,n){var i=$o();zo.effectTag|=e,i.memoizedState=ta(1|t,r,void 0,void 0===n?null:n)}function ia(e,t,r,n){var i=Jo();n=void 0===n?null:n;var o=void 0;if(null!==Ho){var a=Ho.memoizedState;if(o=a.destroy,null!==n&&Wo(n,a.deps))return void ta(t,r,o,n)}zo.effectTag|=e,i.memoizedState=ta(1|t,r,o,n)}function oa(e,t){return na(516,4,e,t)}function aa(e,t){return ia(516,4,e,t)}function sa(e,t){return ia(4,2,e,t)}function ua(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,ia(4,2,ua.bind(null,t,e),r)}function la(){}function pa(e,t){return $o().memoizedState=[e,void 0===t?null:t],e}function fa(e,t){var r=Jo();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&Wo(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function da(e,t){var r=Jo();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&Wo(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function ha(e,t,r){var n=Fi();zi(98>n?98:n,(function(){e(!0)})),zi(97<n?97:n,(function(){var n=Fo.suspense;Fo.suspense=void 0===t?null:t;try{e(!1),r()}finally{Fo.suspense=n}}))}function va(e,t,r){var n=Ys(),i=fo.suspense;i={expirationTime:n=Ws(n,e,i),suspenseConfig:i,action:r,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===zo||null!==o&&o===zo)qo=!0,i.expirationTime=Vo,zo.expirationTime=Vo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,r);if(i.eagerReducer=o,i.eagerState=s,Dn(s,a))return}catch(u){}Ks(e,n)}}var ma={readContext:no,useCallback:Yo,useContext:Yo,useEffect:Yo,useImperativeHandle:Yo,useLayoutEffect:Yo,useMemo:Yo,useReducer:Yo,useRef:Yo,useState:Yo,useDebugValue:Yo,useResponder:Yo,useDeferredValue:Yo,useTransition:Yo},ya={readContext:no,useCallback:pa,useContext:no,useEffect:oa,useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,na(4,2,ua.bind(null,t,e),r)},useLayoutEffect:function(e,t){return na(4,2,e,t)},useMemo:function(e,t){var r=$o();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=$o();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=va.bind(null,zo,e),[n.memoizedState,e]}
2,useRef:function(e){return e={current:e},$o().memoizedState=e},useState:ea,useDebugValue:la,useResponder:Uo,useDeferredValue:function(e,t){var r=ea(e),n=r[0],i=r[1];return oa((function(){var r=Fo.suspense;Fo.suspense=void 0===t?null:t;try{i(e)}finally{Fo.suspense=r}}),[e,t]),n},useTransition:function(e){var t=ea(!1),r=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),r]}},Ta={readContext:no,useCallback:fa,useContext:no,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:da,useReducer:Zo,useRef:ra,useState:function(){return Zo(Xo)},useDebugValue:la,useResponder:Uo,useDeferredValue:function(e,t){var r=Zo(Xo),n=r[0],i=r[1];return aa((function(){var r=Fo.suspense;Fo.suspense=void 0===t?null:t;try{i(e)}finally{Fo.suspense=r}}),[e,t]),n},useTransition:function(e){var t=Zo(Xo),r=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),r]}},ba={readContext:no,useCallback:fa,useContext:no,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:da,useReducer:Qo,useRef:ra,useState:function(){return Qo(Xo)},useDebugValue:la,useResponder:Uo,useDeferredValue:function(e,t){var r=Qo(Xo),n=r[0],i=r[1];return aa((function(){var r=Fo.suspense;Fo.suspense=void 0===t?null:t;try{i(e)}finally{Fo.suspense=r}}),[e,t]),n},useTransition:function(e){var t=Qo(Xo),r=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),r]}},ga=null,_a=null,Sa=!1;function Aa(e,t){var r=Eu(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Ea(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ca(e){if(Sa){var t=_a;if(t){var r=t;if(!Ea(e,t)){if(!(t=gr(r.nextSibling))||!Ea(e,t))return e.effectTag=-1025&e.effectTag|2,Sa=!1,void(ga=e);Aa(ga,r)}ga=e,_a=gr(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Sa=!1,ga=e}}function Oa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ga=e}function Ia(e){if(e!==ga)return!1;if(!Sa)return Oa(e),Sa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yr(t,e.memoizedProps))for(t=_a;t;)Aa(e,t),t=gr(t.nextSibling);if(Oa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){_a=gr(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}_a=null}}else _a=ga?gr(e.stateNode.nextSibling):null;return!0}function wa(){_a=ga=null,Sa=!1}var Pa=J.ReactCurrentOwner,Na=!1;function Ra(e,t,r,n){t.child=null===e?Oo(t,null,r,n):Co(t,e.child,r,n)}function ka(e,t,r,n,i){r=r.render;var o=t.ref;return ro(t,i),n=Ko(e,t,r,n,o,i),null===e||Na?(t.effectTag|=1,Ra(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ka(e,t,i))}function xa(e,t,r,n,i,o){if(null===e){var a=r.type;return"function"!==typeof a||Cu(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Iu(r.type,null,n,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ma(e,t,a,n,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(r=null!==(r=r.compare)?r:Bn)(i,n)&&e.ref===t.ref)?Ka(e,t,o):(t.effectTag|=1,(e=Ou(a,n)).ref=t.ref,e.return=t,t.child=e)}function Ma(e,t,r,n,i,o){return null!==e&&Bn(e.memoizedProps,n)&&e.ref===t.ref&&(Na=!1,i<o)?(t.expirationTime=e.expirationTime,Ka(e,t,o)):ja(e,t,r,n,o)}function La(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.effectTag|=128)}function ja(e,t,r,n,i){var o=vi(r)?di:pi.current;return o=hi(t,o),ro(t,i),r=Ko(e,t,r,n,o,i),null===e||Na?(t.effectTag|=1,Ra(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ka(e,t,i))}function Da(e,t,r,n,i){if(vi(r)){var o=!0;bi(t)}else o=!1;if(ro(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),To(t,r,n),go(t,r,n,i),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=r.contextType;"object"===typeof c&&null!==c?c=no(c):c=hi(t,c=vi(r)?di:pi.current);var l=r.getDerivedStateFromProps,p="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;p||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||u!==c)&&bo(t,a,n,c),io=!1;var f=t.memoizedState;a.state=f,lo(t,n,a,i),u=t.memoizedState,s!==n||f!==u||fi.current||io?("function"===typeof l&&(vo(t,r,l,n),u=t.memoizedState),(s=io||yo(t,r,s,n,f,u,c))?(p||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=n,t.memoizedState=u),a.props=n,a.state=u,a.context=c,n=s):("function"===typeof a.componentDidMount&&(t.effectTag|=4),n=!1)}else a=t.stateNode,ao(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Ki(t.type,s),u=a.context,"object"===typeof(c=r.contextType)&&null!==c?c=no(c):c=hi(t,c=vi(r)?di:pi.current),(p="function"===typeof(l=r.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||u!==c)&&bo(t,a,n,c),io=!1,u=t.memoizedState,a.state=u,lo(t,n,a,i),f=t.memoizedState,s!==n||u!==f||fi.current||io?("function"===typeof l&&(vo(t,r,l,n),f=t.memoizedState),(l=io||yo(t,r,s,n,u,f,c))?(p||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(n,f,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,f,c)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=n,t.memoizedState=f),a.props=n,a.state=f,a.context=c,n=l):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),n=!1);return Ua(e,t,r,n,o,i)}function Ua(e,t,r,n,i,o){La(e,t);var a=0!==(64&t.effectTag);if(!n&&!a)return i&&gi(t,r,!1),Ka(e,t,o);n=t.stateNode,Pa.current=t;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return t.effectTag|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,s,o)):Ra(e,t,s,o),t.memoizedState=n.state,i&&gi(t,r,!0),t.child}function Ba(e){var t=e.stateNode;t.pendingContext?yi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yi(0,t.context,!1),ko(e,t.containerInfo)}var Fa,Va,za,Ha={dehydrated:null,retryTime:0};function Ga(e,t,r){var n,i=t.mode,o=t.pendingProps,a=jo.current,s=!1;if((n=0!==(64&t.effectTag))||(n=0!==(2&a)&&(null===e||null!==e.memoizedState)),n?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ci(jo,1&a),null===e){if(void 0!==o.fallback&&Ca(t),s){if
vendor: 12,296 bytes, line 2
2(s=o.fallback,(o=wu(null,i,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(r=wu(s,i,r,null)).return=t,o.sibling=r,t.memoizedState=Ha,t.child=o,r}return i=o.children,t.memoizedState=null,t.child=Oo(t,null,i,r)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(r=Ou(e,e.pendingProps)).return=t,0===(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(r.child=s;null!==s;)s.return=r,s=s.sibling;return(i=Ou(i,o)).return=t,r.sibling=i,r.childExpirationTime=0,t.memoizedState=Ha,t.child=r,i}return r=Co(t,e.child,o.children,r),t.memoizedState=null,t.child=r}if(e=e.child,s){if(s=o.fallback,(o=wu(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(r=wu(s,i,r,null)).return=t,o.sibling=r,r.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ha,t.child=o,r}return t.memoizedState=null,t.child=Co(t,e,o.children,r)}function qa(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t),to(e.return,t)}function Ya(e,t,r,n,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Wa(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Ra(e,t,n.children,r),0!==(2&(n=jo.current)))n=1&n|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qa(e,r);else if(19===e.tag)qa(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(ci(jo,n),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===Do(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Ya(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Do(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Ya(t,!0,r,null,o,t.lastEffect);break;case"together":Ya(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ka(e,t,r){null!==e&&(t.dependencies=e.dependencies);var n=t.expirationTime;if(0!==n&&au(n),t.childExpirationTime<r)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Ou(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ou(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function $a(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ja(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vi(t.type)&&mi(),null;case 3:return xo(),ui(fi),ui(pi),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||!Ia(t)||(t.effectTag|=4),null;case 5:Lo(t),r=Ro(No.current);var o=t.type;if(null!==e&&null!=t.stateNode)Va(e,t,o,n,r),e.ref!==t.ref&&(t.effectTag|=128);else{if(!n){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ro(wo.current),Ia(t)){n=t.stateNode,o=t.type;var s=t.memoizedProps;switch(n[Ar]=t,n[Er]=s,o){case"iframe":case"object":case"embed":Wt("load",n);break;case"video":case"audio":for(e=0;e<Je.length;e++)Wt(Je[e],n);break;case"source":Wt("error",n);break;case"img":case"image":case"link":Wt("error",n),Wt("load",n);break;case"form":Wt("reset",n),Wt("submit",n);break;case"details":Wt("toggle",n);break;case"input":Ae(n,s),Wt("invalid",n),sr(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Wt("invalid",n),sr(r,"onChange");break;case"textarea":Re(n,s),Wt("invalid",n),sr(r,"onChange")}for(var u in ir(o,s),e=null,s)if(s.hasOwnProperty(u)){var c=s[u];"children"===u?"string"===typeof c?n.textContent!==c&&(e=["children",c]):"number"===typeof c&&n.textContent!==""+c&&(e=["children",""+c]):E.hasOwnProperty(u)&&null!=c&&sr(r,u)}switch(o){case"input":ge(n),Oe(n,s,!0);break;case"textarea":ge(n),xe(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=ur)}r=e,t.updateQueue=r,null!==r&&(t.effectTag|=4)}else{switch(u=9===r.nodeType?r:r.ownerDocument,e===ar&&(e=je(o)),e===ar?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof n.is?e=u.createElement(o,{is:n.is}):(e=u.createElement(o),"select"===o&&(u=e,n.multiple?u.multiple=!0:n.size&&(u.size=n.size))):e=u.createElementNS(e,o),e[Ar]=t,e[Er]=n,Fa(e,t),t.stateNode=e,u=or(o,n),o){case"iframe":case"object":case"embed":Wt("load",e),c=n;break;case"video":case"audio":for(c=0;c<Je.length;c++)Wt(Je[c],e);c=n;break;case"source":Wt("error",e),c=n;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),c=n;break;case"form":Wt("reset",e),Wt("submit",e),c=n;break;case"details":Wt("toggle",e),c=n;break;case"input":Ae(e,n),c=Se(e,n),Wt("invalid",e),sr(r,"onChange");break;case"option":c=we(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},c=i({},n,{value:void 0}),Wt("invalid",e),sr(r,"onChange");break;case"textarea":Re(e,n),c=Ne(e,n),Wt("invalid",e),sr(r,"onChange");break;default:c=n}ir(o,c);var l=c;for(s in l)if(l.hasOwnProperty(s)){var p=l[s];"style"===s?rr(e,p):"dangerouslySetInnerHTML"===s?null!=(p=p?p.__html:void 0)&&Be(e,p):"children"===s?"string"===typeof p?("textarea"!==o||""!==p)&&Fe(e,p):"number"===typeof p&&Fe(e,""+p):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(E.hasOwnProperty(s)?null!=p&&sr(r,s):null!=p&&X(e,s,p,u))}switch(o){case"input":ge(e),Oe(e,n,!1);break;case"textarea":ge(e),xe(e);break;case"option":null!=n.value&&e.setAttribute("value",""+Te(n.value));break;case"select":e.multiple=!!n.multiple,null!=(r=n.value)?Pe(e,!!n.multiple,r,!1):null!=n.defaultValue&&Pe(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof c.onClick&&(e.onclick=ur)}mr(o,n)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)za(0,t,e.memoizedProps,n);else{if("string"!==typeof n&&null===t.stateNode)throw Error(a(166));r=Ro(No.current),Ro(wo.current),Ia(t)?(r=t.stateNode,n=t.memoizedProps,r[Ar]=t,r.nodeValue!==n&&(t.effectTag|=4)):((r=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[Ar]=t,t.stateNode=r)}return null;case 13:return ui(jo),n=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=r,t):(r=null!==n,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ia(t):(n=null!==(o=e.memoizedState),r||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&jo.current)?Is===gs&&(Is=_s):(Is!==gs&&Is!==_s||(Is=Ss),0!==ks&&null!==Es&&(xu(Es,Os),Mu(Es,ks)))),(r||n)&&(t.effectTag|=4),null);case 4:return xo(),null;case 10:return eo(t),null;case 17:return vi(t.type)&&mi(),null;case 19:if(ui(jo),null===(n=t.memoizedState))return null;if(o=0!==(64&t.effectTag),null===(s=n.rendering)){if(o)$a(n,!1);else if(Is!==gs||null!==e&&0!==(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Do(s))){for(t.effectTag|=64,$a(n,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=t.child;null!==n;)s=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),n=n.sibling;return ci(jo,1&jo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Do(s))){if(t.effectTag|=64,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),$a(n,!0),null===n.tail&&"hidden"===n.tailMode&&!s.alternate)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*Bi()-n.renderingStartTime>n.tailExpiration&&1<r&&(t.effectTag|=64,o=!0,$a(n,!1),t.expirationTime=t.childExpirationTime=r-1);n.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=n.last)?r.sibling=s:t.child=s,n.last=s)}return null!==n.tail?(0===n.tailExpiration&&(n.tailExpiration=Bi()+500),r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Bi(),r.sibling=null,t=jo.current,ci(jo,o?1&t|2:1&t),r):null}throw Error(a(156,t.tag))}function Xa(e){switch(e.tag){case 1:vi(e.type)&&mi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(xo(),ui(fi),ui(pi),0!==(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Lo(e),null;case 13:return ui(jo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ui(jo),null;case 4:return xo(),null;case 10:return eo(e),null;default:return null}}function Za(e,t){return{value:e,source:t,stack:ye(t)}}Fa=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Va=function(e,t,r,n,o){var a=e.memoizedProps;if(a!==n){var s,u,c=t.stateNode;switch(Ro(wo.current),e=null,r){case"input":a=Se(c,a),n=Se(c,n),e=[];break;case"option":a=we(c,a),n=we(c,n),e=[];break;case"select":a=i({},a,{value:void 0}),n=i({},n,{value:void 0}),e=[];break;case"textarea":a=Ne(c,a),n=Ne(c,n),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof n.onClick&&(c.onclick=ur)}for(s in ir(r,n),r=null,a)if(!n.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in c=a[s])c.hasOwnProperty(u)&&(r||(r={}),r[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(E.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in n){var l=n[s];if(c=null!=a?a[s]:void 0,n.hasOwnProperty(s)&&l!==c&&(null!=l||null!=c))if("style"===s)if(c){for(u in c)!c.hasOwnProperty(u)||l&&l.hasOwnProperty(u)||(r||(r={}),r[u]="");for(u in l)l.hasOwnProperty(u)&&c[u]!==l[u]&&(r||(r={}),r[u]=l[u])}else r||(e||(e=[]),e.push(s,r)),r=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(s,l)):"children"===s?c===l||"string"!==typeof l&&"number"!==typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(E.hasOwnProperty(s)?(null!=l&&sr(o,s),e||c===l||(e=[])):(e=e||[]).push(s,l))}r&&(e=e||[]).push("style",r),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},za=function(e,t,r,n){r!==n&&(t.effectTag|=4)};var Qa="function"===typeof WeakSet?WeakSet:Set;function es(e,t){var r=t.source,n=t.stack;null===n&&null!==r&&(n=ye(r)),null!==r&&me(r.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function ts(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(r){Tu(e,r)}else t.current=null}function rs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:Ki(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;
vendor: 9,601 bytes, line 2
2case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ns(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.destroy;r.destroy=void 0,void 0!==n&&n()}r=r.next}while(r!==t)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function os(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:return void is(3,r);case 1:if(e=r.stateNode,4&r.effectTag)if(null===t)e.componentDidMount();else{var n=r.elementType===r.type?t.memoizedProps:Ki(r.type,t.memoizedProps);e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=r.updateQueue)&&po(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}po(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.effectTag&&mr(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&jt(r)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,r){switch("function"===typeof Su&&Su(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e.next;zi(97<r?97:r,(function(){var e=n;do{var r=e.destroy;if(void 0!==r){var i=t;try{r()}catch(o){Tu(i,o)}}e=e.next}while(e!==n)}))}break;case 1:ts(t),"function"===typeof(r=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(r){Tu(e,r)}}(t,r);break;case 5:ts(t);break;case 4:ls(e,t,r)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function us(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(us(t)){var r=t;break e}t=t.return}throw Error(a(160))}switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.effectTag&&(Fe(t,""),r.effectTag&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||us(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break e}}n?function e(t,r,n){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,r?8===n.nodeType?n.parentNode.insertBefore(t,r):n.insertBefore(t,r):(8===n.nodeType?(r=n.parentNode).insertBefore(t,n):(r=n).appendChild(t),null!==(n=n._reactRootContainer)&&void 0!==n||null!==r.onclick||(r.onclick=ur));else if(4!==i&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,r,t):function e(t,r,n){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,r?n.insertBefore(t,r):n.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,r,t)}function ls(e,t,r){for(var n,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(n=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:n=n.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var u=e,c=o,l=r,p=c;;)if(as(u,p,l),null!==p.child&&4!==p.tag)p.child.return=p,p=p.child;else{if(p===c)break e;for(;null===p.sibling;){if(null===p.return||p.return===c)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}i?(u=n,c=o.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(as(e,o,r),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ps(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ns(3,t);case 1:return;case 5:var r=t.stateNode;if(null!=r){var n=t.memoizedProps,i=null!==e?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(r[Er]=n,"input"===e&&"radio"===n.type&&null!=n.name&&Ee(r,n),or(e,i),t=or(e,n),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?rr(r,u):"dangerouslySetInnerHTML"===s?Be(r,u):"children"===s?Fe(r,u):X(r,s,u,t)}switch(e){case"input":Ce(r,n);break;case"textarea":ke(r,n);break;case"select":t=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(e=n.value)?Pe(r,!!n.multiple,e,!1):t!==!!n.multiple&&(null!=n.defaultValue?Pe(r,!!n.multiple,n.defaultValue,!0):Pe(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,jt(t.containerInfo)));case 12:return;case 13:if(r=t,null===t.memoizedState?n=!1:(n=!0,r=t.child,Ms=Bi()),null!==r)e:for(e=r;;){if(5===e.tag)o=e.stateNode,n?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=void 0!==(i=e.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=tr("display",i));else if(6===e.tag)e.stateNode.nodeValue=n?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===r)break;for(;null===e.sibling;){if(null===e.return||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void fs(t);case 19:return void fs(t);case 17:return}throw Error(a(163))}function fs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Qa),t.forEach((function(t){var n=gu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}var ds="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,r){(r=so(r,null)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){js||(js=!0,Ds=n),es(e,t)},r}function vs(e,t,r){(r=so(r,null)).tag=3;var n=e.type.getDerivedStateFromError;if("function"===typeof n){var i=t.value;r.payload=function(){return es(e,t),n(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===Us?Us=new Set([this]):Us.add(this),es(e,t));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}var ms,ys=Math.ceil,Ts=J.ReactCurrentDispatcher,bs=J.ReactCurrentOwner,gs=0,_s=3,Ss=4,As=0,Es=null,Cs=null,Os=0,Is=gs,ws=null,Ps=1073741823,Ns=1073741823,Rs=null,ks=0,xs=!1,Ms=0,Ls=null,js=!1,Ds=null,Us=null,Bs=!1,Fs=null,Vs=90,zs=null,Hs=0,Gs=null,qs=0;function Ys(){return 0!==(48&As)?1073741821-(Bi()/10|0):0!==qs?qs:qs=1073741821-(Bi()/10|0)}function Ws(e,t,r){if(0===(2&(t=t.mode)))return 1073741823;var n=Fi();if(0===(4&t))return 99===n?1073741823:1073741822;if(0!==(16&As))return Os;if(null!==r)e=Wi(e,0|r.timeoutMs||5e3,250);else switch(n){case 99:e=1073741823;break;case 98:e=Wi(e,150,100);break;case 97:case 96:e=Wi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Es&&e===Os&&--e,e}function Ks(e,t){if(50<Hs)throw Hs=0,Gs=null,Error(a(185));if(null!==(e=$s(e,t))){var r=Fi();1073741823===t?0!==(8&As)&&0===(48&As)?Qs(e):(Xs(e),0===As&&qi()):Xs(e),0===(4&As)||98!==r&&99!==r||(null===zs?zs=new Map([[e,t]]):(void 0===(r=zs.get(e))||r>t)&&zs.set(e,t))}}function $s(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t);var n=e.return,i=null;if(null===n&&3===e.tag)i=e.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<t&&(n.childExpirationTime=t),null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t),null===n.return&&3===n.tag){i=n.stateNode;break}n=n.return}return null!==i&&(Es===i&&(au(t),Is===Ss&&xu(i,Os)),Mu(i,t)),i}function Js(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ku(e,t=e.firstPendingTime))return t;var r=e.lastPingedTime;return 2>=(e=r>(e=e.nextKnownPendingLevel)?r:e)&&t!==e?0:e}function Xs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Gi(Qs.bind(null,e));else{var t=Js(e),r=e.callbackNode;if(0===t)null!==r&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var n=Ys();if(1073741823===t?n=99:1===t||2===t?n=95:n=0>=(n=10*(1073741821-t)-10*(1073741821-n))?99:250>=n?98:5250>=n?97:95,null!==r){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=n)return;r!==ki&&Ai(r)}e.callbackExpirationTime=t,e.callbackPriority=n,t=1073741823===t?Gi(Qs.bind(null,e)):Hi(n,Zs.bind(null,e),{timeout:10*(1073741821-t)-Bi()}),e.callbackNode=t}}}function Zs(e,t){if(qs=0,t)return Lu(e,t=Ys()),Xs(e),null;var r=Js(e);if(0!==r){if(t=e.callbackNode,0!==(48&As))throw Error(a(327));if(vu(),e===Es&&r===Os||ru(e,r),null!==Cs){var n=As;As|=16;for(var i=iu();;)try{uu();break}catch(u){nu(e,u)}if(Qi(),As=n,Ts.current=i,1===Is)throw t=ws,ru(e,r),xu(e,r),Xs(e),t;if(null===Cs)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=r,n=Is,Es=null,n){case gs:case 1:throw Error(a(345));case 2:Lu(e,2<r?2:r);break;case _s:if(xu(e,r),r===(n=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=pu(i)),10
vendor: 1,302 bytes, line 2
273741823===Ps&&10<(i=Ms+500-Bi())){if(xs){var o=e.lastPingedTime;if(0===o||o>=r){e.lastPingedTime=r,ru(e,r);break}}if(0!==(o=Js(e))&&o!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}e.timeoutHandle=Tr(fu.bind(null,e),i);break}fu(e);break;case Ss:if(xu(e,r),r===(n=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=pu(i)),xs&&(0===(i=e.lastPingedTime)||i>=r)){e.lastPingedTime=r,ru(e,r);break}if(0!==(i=Js(e))&&i!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}if(1073741823!==Ns?n=10*(1073741821-Ns)-Bi():1073741823===Ps?n=0:(n=10*(1073741821-Ps)-5e3,0>(n=(i=Bi())-n)&&(n=0),(r=10*(1073741821-r)-i)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*ys(n/1960))-n)&&(n=r)),10<n){e.timeoutHandle=Tr(fu.bind(null,e),n);break}fu(e);break;case 5:if(1073741823!==Ps&&null!==Rs){o=Ps;var s=Rs;if(0>=(n=0|s.busyMinDurationMs)?n=0:(i=0|s.busyDelayMs,n=(o=Bi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+n-o),10<n){xu(e,r),e.timeoutHandle=Tr(fu.bind(null,e),n);break}}fu(e);break;default:throw Error(a(329))}if(Xs(e),e.callbackNode===t)return Zs.bind(null,e)}}return null}function Qs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!==(48&As))throw Error(a(327));if(vu(),e===Es&&t===Os||ru(e,t),null!==Cs){var r=As;As|=16;for(var n=iu();;)try{su();break}catch(i){nu(e,i)}
vendor: 19,600 bytes, line 2
2if(Qi(),As=r,Ts.current=n,1===Is)throw r=ws,ru(e,t),xu(e,t),Xs(e),r;if(null!==Cs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Es=null,fu(e),Xs(e)}return null}function eu(e,t){var r=As;As|=1;try{return e(t)}finally{0===(As=r)&&qi()}}function tu(e,t){var r=As;As&=-2,As|=8;try{return e(t)}finally{0===(As=r)&&qi()}}function ru(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,br(r)),null!==Cs)for(r=Cs.return;null!==r;){var n=r;switch(n.tag){case 1:null!==(n=n.type.childContextTypes)&&void 0!==n&&mi();break;case 3:xo(),ui(fi),ui(pi);break;case 5:Lo(n);break;case 4:xo();break;case 13:case 19:ui(jo);break;case 10:eo(n)}r=r.return}Es=e,Cs=Ou(e.current,null),Os=t,Is=gs,ws=null,Ns=Ps=1073741823,Rs=null,ks=0,xs=!1}function nu(e,t){for(;;){try{if(Qi(),Bo.current=ma,qo)for(var r=zo.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}if(Vo=0,Go=Ho=zo=null,qo=!1,null===Cs||null===Cs.return)return Is=1,ws=t,Cs=null;e:{var i=e,o=Cs.return,a=Cs,s=t;if(t=Os,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var u=s;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&jo.current),p=o;do{var f;if(f=13===p.tag){var d=p.memoizedState;if(null!==d)f=null!==d.dehydrated;else{var h=p.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!l)}}if(f){var v=p.updateQueue;if(null===v){var m=new Set;m.add(u),p.updateQueue=m}else v.add(u);if(0===(2&p.mode)){if(p.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var y=so(1073741823,null);y.tag=2,uo(a,y)}a.expirationTime=1073741823;break e}s=void 0,a=t;var T=i.pingCache;if(null===T?(T=i.pingCache=new ds,s=new Set,T.set(u,s)):void 0===(s=T.get(u))&&(s=new Set,T.set(u,s)),!s.has(a)){s.add(a);var b=bu.bind(null,i,u,a);u.then(b,b)}p.effectTag|=4096,p.expirationTime=t;break e}p=p.return}while(null!==p);s=Error((me(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ye(a))}5!==Is&&(Is=2),s=Za(s,a),p=o;do{switch(p.tag){case 3:u=s,p.effectTag|=4096,p.expirationTime=t,co(p,hs(p,u,t));break e;case 1:u=s;var g=p.type,_=p.stateNode;if(0===(64&p.effectTag)&&("function"===typeof g.getDerivedStateFromError||null!==_&&"function"===typeof _.componentDidCatch&&(null===Us||!Us.has(_)))){p.effectTag|=4096,p.expirationTime=t,co(p,vs(p,u,t));break e}}p=p.return}while(null!==p)}Cs=lu(Cs)}catch(S){t=S;continue}break}}function iu(){var e=Ts.current;return Ts.current=ma,null===e?ma:e}function ou(e,t){e<Ps&&2<e&&(Ps=e),null!==t&&e<Ns&&2<e&&(Ns=e,Rs=t)}function au(e){e>ks&&(ks=e)}function su(){for(;null!==Cs;)Cs=cu(Cs)}function uu(){for(;null!==Cs&&!xi();)Cs=cu(Cs)}function cu(e){var t=ms(e.alternate,e,Os);return e.memoizedProps=e.pendingProps,null===t&&(t=lu(e)),bs.current=null,t}function lu(e){Cs=e;do{var t=Cs.alternate;if(e=Cs.return,0===(2048&Cs.effectTag)){if(t=Ja(t,Cs,Os),1===Os||1!==Cs.childExpirationTime){for(var r=0,n=Cs.child;null!==n;){var i=n.expirationTime,o=n.childExpirationTime;i>r&&(r=i),o>r&&(r=o),n=n.sibling}Cs.childExpirationTime=r}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Cs.firstEffect),null!==Cs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Cs.firstEffect),e.lastEffect=Cs.lastEffect),1<Cs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Cs:e.firstEffect=Cs,e.lastEffect=Cs))}else{if(null!==(t=Xa(Cs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Cs.sibling))return t;Cs=e}while(null!==Cs);return Is===gs&&(Is=5),null}function pu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function fu(e){var t=Fi();return zi(99,du.bind(null,e,t)),null}function du(e,t){do{vu()}while(null!==Fs);if(0!==(48&As))throw Error(a(327));var r=e.finishedWork,n=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,r===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=pu(r);if(e.firstPendingTime=i,n<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:n<=e.firstSuspendedTime&&(e.firstSuspendedTime=n-1),n<=e.lastPingedTime&&(e.lastPingedTime=0),n<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Es&&(Cs=Es=null,Os=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,i=r.firstEffect):i=r:i=r.firstEffect,null!==i){var o=As;As|=32,bs.current=null,hr=Yt;var s=fr();if(dr(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var l=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{u.nodeType,p.nodeType}catch(O){u=null;break e}var f=0,d=-1,h=-1,v=0,m=0,y=s,T=null;t:for(;;){for(var b;y!==u||0!==l&&3!==y.nodeType||(d=f+l),y!==p||0!==c&&3!==y.nodeType||(h=f+c),3===y.nodeType&&(f+=y.nodeValue.length),null!==(b=y.firstChild);)T=y,y=b;for(;;){if(y===s)break t;if(T===u&&++v===l&&(d=f),T===p&&++m===c&&(h=f),null!==(b=y.nextSibling))break;T=(y=T).parentNode}y=b}u=-1===d||-1===h?null:{start:d,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;vr={activeElementDetached:null,focusedElem:s,selectionRange:u},Yt=!1,Ls=i;do{try{hu()}catch(O){if(null===Ls)throw Error(a(330));Tu(Ls,O),Ls=Ls.nextEffect}}while(null!==Ls);Ls=i;do{try{for(s=e,u=t;null!==Ls;){var g=Ls.effectTag;if(16&g&&Fe(Ls.stateNode,""),128&g){var _=Ls.alternate;if(null!==_){var S=_.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(1038&g){case 2:cs(Ls),Ls.effectTag&=-3;break;case 6:cs(Ls),Ls.effectTag&=-3,ps(Ls.alternate,Ls);break;case 1024:Ls.effectTag&=-1025;break;case 1028:Ls.effectTag&=-1025,ps(Ls.alternate,Ls);break;case 4:ps(Ls.alternate,Ls);break;case 8:ls(s,l=Ls,u),ss(l)}Ls=Ls.nextEffect}}catch(O){if(null===Ls)throw Error(a(330));Tu(Ls,O),Ls=Ls.nextEffect}}while(null!==Ls);if(S=vr,_=fr(),g=S.focusedElem,u=S.selectionRange,_!==g&&g&&g.ownerDocument&&function e(t,r){return!(!t||!r)&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(g.ownerDocument.documentElement,g)){null!==u&&dr(g)&&(_=u.start,void 0===(S=u.end)&&(S=_),"selectionStart"in g?(g.selectionStart=_,g.selectionEnd=Math.min(S,g.value.length)):(S=(_=g.ownerDocument||document)&&_.defaultView||window).getSelection&&(S=S.getSelection(),l=g.textContent.length,s=Math.min(u.start,l),u=void 0===u.end?s:Math.min(u.end,l),!S.extend&&s>u&&(l=u,u=s,s=l),l=pr(g,s),p=pr(g,u),l&&p&&(1!==S.rangeCount||S.anchorNode!==l.node||S.anchorOffset!==l.offset||S.focusNode!==p.node||S.focusOffset!==p.offset)&&((_=_.createRange()).setStart(l.node,l.offset),S.removeAllRanges(),s>u?(S.addRange(_),S.extend(p.node,p.offset)):(_.setEnd(p.node,p.offset),S.addRange(_))))),_=[];for(S=g;S=S.parentNode;)1===S.nodeType&&_.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof g.focus&&g.focus(),g=0;g<_.length;g++)(S=_[g]).element.scrollLeft=S.left,S.element.scrollTop=S.top}Yt=!!hr,vr=hr=null,e.current=r,Ls=i;do{try{for(g=e;null!==Ls;){var A=Ls.effectTag;if(36&A&&os(g,Ls.alternate,Ls),128&A){_=void 0;var E=Ls.ref;if(null!==E){var C=Ls.stateNode;switch(Ls.tag){case 5:_=C;break;default:_=C}"function"===typeof E?E(_):E.current=_}}Ls=Ls.nextEffect}}catch(O){if(null===Ls)throw Error(a(330));Tu(Ls,O),Ls=Ls.nextEffect}}while(null!==Ls);Ls=null,Mi(),As=o}else e.current=r;if(Bs)Bs=!1,Fs=e,Vs=t;else for(Ls=i;null!==Ls;)t=Ls.nextEffect,Ls.nextEffect=null,Ls=t;if(0===(t=e.firstPendingTime)&&(Us=null),1073741823===t?e===Gs?Hs++:(Hs=0,Gs=e):Hs=0,"function"===typeof _u&&_u(r.stateNode,n),Xs(e),js)throw js=!1,e=Ds,Ds=null,e;return 0!==(8&As)||qi(),null}function hu(){for(;null!==Ls;){var e=Ls.effectTag;0!==(256&e)&&rs(Ls.alternate,Ls),0===(512&e)||Bs||(Bs=!0,Hi(97,(function(){return vu(),null}))),Ls=Ls.nextEffect}}function vu(){if(90!==Vs){var e=97<Vs?97:Vs;return Vs=90,zi(e,mu)}}function mu(){if(null===Fs)return!1;var e=Fs;if(Fs=null,0!==(48&As))throw Error(a(331));var t=As;for(As|=32,e=e.current.firstEffect;null!==e;){try{var r=e;if(0!==(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:ns(5,r),is(5,r)}}catch(n){if(null===e)throw Error(a(330));Tu(e,n)}r=e.nextEffect,e.nextEffect=null,e=r}return As=t,qi(),!0}function yu(e,t,r){uo(e,t=hs(e,t=Za(r,t),1073741823)),null!==(e=$s(e,1073741823))&&Xs(e)}function Tu(e,t){if(3===e.tag)yu(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){yu(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===Us||!Us.has(n))){uo(r,e=vs(r,e=Za(t,e),1073741823)),null!==(r=$s(r,1073741823))&&Xs(r);break}}r=r.return}}function bu(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),Es===e&&Os===r?Is===Ss||Is===_s&&1073741823===Ps&&Bi()-Ms<500?ru(e,Os):xs=!0:ku(e,r)&&(0!==(t=e.lastPingedTime)&&t<r||(e.lastPingedTime=r,Xs(e)))}function gu(e,t){var r=e.stateNode;null!==r&&r.delete(t),0===(t=0)&&(t=Ws(t=Ys(),e,null)),null!==(e=$s(e,t))&&Xs(e)}ms=function(e,t,r){var n=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||fi.current)Na=!0;else{if(n<r){switch(Na=!1,t.tag){case 3:Ba(t),wa();break;case 5:if(Mo(t),4&t.mode&&1!==r&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vi(t.type)&&bi(t);break;case 4:ko(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value,i=t.type._context,ci($i,i._currentValue),i._currentValue=n;break;case 13:if(null!==t.memoizedState)return 0!==(n=t.child.childExpirationTime)&&n>=r?Ga(e,t,r):(ci(jo,1&jo.current),null!==(t=Ka(e,t,r))?t.sibling:null);ci(jo,1&jo.current);break;case 19:if(n=t.childExpirationTime>=r,0!==(64&e.effectTag)){if(n)return Wa(e,t,r);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ci(jo,jo.current),!n)return null}return Ka(e,t,r)}Na=!1}}else Na=!1;switch(t.expirationTime=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=hi(t,pi.current),ro(t,r),i=Ko(null,t,n,e,i,r),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vi(n)){var o=!0;bi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(t);var s=n.getDerivedStateFromProps;"function"===typeof s&&vo(t,n,s,e),i.updater=mo,t.stateNode=i,i._reactInternalFiber=t,go(t,n,e,r),t=Ua(null,t,n,!0,o,r)}else t.tag=0,Ra(null,t,i,r),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"===typeof e)return Cu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===ue)return 11;if(e===pe)return 14}return 2}(i),e=Ki(i,e),o){case 0:t=ja(null,t,i,e,r);break e;case 1:t=Da(null,t,i,e,r);break e;case 11:t=ka(null,t,i,e,r);break e;case 14:t=xa(null,t,i,Ki(i.type,e),n,r);break e}throw Error(a(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,ja(e,t,n,i=t.elementType===n?i:Ki(n,i),r);case 1:return n=t.type,i=t.pendingProps,Da(e,t,n,i=t.elementType===n?i:Ki(n,i),r);case 3:if(Ba(t),n=t.updateQueue,null===e||null===n)throw Error(a(282));if(n=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ao(e,t),lo(t,n,null,r),(n=t.memoizedState.element)===i)wa(),t=Ka(e,t,r);else{if((i=t.stateNode.hydrate)&&(_a=gr(t.stateNode.containerInfo.firstChild),ga=t,i=Sa=!0),i)for(r=Oo(t,null,n,r),t.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else Ra(e,t,n,r),wa();t=t.child}return t;case 5:return Mo(t),null===e&&Ca(t),n=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,yr(n,i)?s=null:null!==o&&yr(n,o)&&(t.effectTag|=16),La(e,t),4&t.mode&&1!==r&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ra(e,t,s,r),t=t.child),t;case 6:return null===e&&Ca(t),null;case 13:return Ga(e,t,r);case 4:return ko(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Co(t,null,n,r):Ra(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,ka(e,t,n,i=t.elementType===n?i:Ki(n,i),r);case 7:return Ra(e,t,t.pendingProps,r),t.child;case 8:case 12:return Ra(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var u=t.type._context;if(ci($i,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=Dn(u,o)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!fi.current){t=Ka(e,t,r);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var l=c.firstContext;null!==l;){if(l.context===n&&0!==(l.observedBits&o)){1===u.tag&&((l=so(r,null)).tag=2,uo(u,l)),u.expirationTime<r&&(u.expirationTime=r),null!==(l=u.alternate)&&l.expirationTime<r&&(l.expirationTime=r),to(u.return,r),c.expirationTime<r&&(c.expirationTime=r);break}l=l.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Ra(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=(o=t.pendingProps).children,ro(t,r),n=n(i=no(i,o.unstable_observedBits)),t.effectTag|=1,Ra(e,t,n,r),t.child;case 14:return o=Ki(i=t.type,t.pendingProps),xa(e,t,i,o=Ki(i.type,o),n,r);case 15:return Ma(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ki(n,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vi(n)?(e=!0,bi(t)):e=!1,ro(t,r),To(t,n,i),go(t,n,i,r),Ua(null,t,n,!0,e,r);case 19:return Wa(e,t,r)}throw Error(a(156,t.tag))};var _u=null,Su=null;function Au(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Eu(e,t,r,n){return new Au(e,t,r,n)}function Cu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var r=e.alternate;return null===r?((r=Eu(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=e.childExpirationTime,r.expirationTime=e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Iu(e,t,r,n,i,o){var s=2;if(n=e,"function"===typeof e)Cu(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case re:return wu(r.children,i,o,t);case se:s=8,i|=7;break;case ne:s=8,i|=1;break;case ie:return(e=Eu(12,r,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ce:return(e=Eu(13,r,t,i)).type=ce,e.elementType=ce,e.expirationTime=o,e;case le:return(e=Eu(19,r,t,i)).elementType=le,e.expirationTime=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case ue:s=11;break e;case pe:s=14;break e;case fe:s=16,n=null;break e;case de:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Eu(s,r,t,i)).elementType=e,t.type=n,t.expirationTime=o,t}function wu(e,t,r,n){return(e=Eu(7,e,n,t)).expirationTime=r,e}function Pu(e,t,r){return(e=Eu(6,e,null,t)).expirationTime=r,e}function Nu(e,t,r){return(t=Eu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ru(e,t,r){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ku(e,t){var r=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==r&&r>=t&&e<=t}function xu(e,t){var r=e.firstSuspendedTime,n=e.lastSuspendedTime;r<t&&(e.firstSuspendedTime=t),(n>t||0===r)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Mu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var r=e.firstSuspendedTime;0!==r&&(t>=r?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Lu(e,t){var r=e.lastExpiredTime;(0===r||r>t)&&(e.lastExpiredTime=t)}function ju(e,t,r,n){var i=t.current,o=Ys(),s=fo.suspense;o=Ws(o,i,s);e:if(r){t:{if(Qe(r=r._reactInternalFiber)!==r||1!==r.tag)throw Error(a(170));var u=r;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(vi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===r.tag){var c=r.type;if(vi(c)){r=Ti(r,c,u);break e}}r=u}else r=li;return null===t.context?t.context=r:t.pendingContext=r,(t=so(o,s)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),uo(i,t),Ks(i,o),o}function Du(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Uu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Bu(e,t){Uu(e,t),(e=e.alternate)&&Uu(e,t)}function Fu(e,t,r){var n=new Ru(e,t,r=null!=r&&!0===r.hydrate),i=Eu(3,null,null,2===t?7:1===t?3:0);n.current=i,i.stateNode=n,oo(i),e[Cr]=n.current,r&&0!==t&&function(e,t){var r=Ze(t);Ot.forEach((function(e){ht(e,t,r)})),It.forEach((function(e){ht(e,t,r)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=n}function Vu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function zu(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var e=Du(a);s.call(e)}}ju(t,a,e,i)}else{if(o=r._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new Fu(e,0,t?{hydrate:!0}:void 0)}(r,n),a=o._internalRoot,"function"===typeof i){var u=i;i=function(){var e=Du(a);u.call(e)}}tu((function(){ju(t,a,e,i)}))}return Du(a)}function Hu(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;
2return{$$typeof:te,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}function Gu(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Vu(t))throw Error(a(200));return Hu(e,t,null,r)}Fu.prototype.render=function(e){ju(e,this._internalRoot,null,null)},Fu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ju(null,e,null,(function(){t[Cr]=null}))},vt=function(e){if(13===e.tag){var t=Wi(Ys(),150,100);Ks(e,t),Bu(e,t)}},mt=function(e){13===e.tag&&(Ks(e,3),Bu(e,3))},yt=function(e){if(13===e.tag){var t=Ys();Ks(e,t=Ws(t,e,null)),Bu(e,t)}},w=function(e,t,r){switch(t){case"input":if(Ce(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Pr(n);if(!i)throw Error(a(90));_e(n),Ce(n,i)}}}break;case"textarea":ke(e,r);break;case"select":null!=(t=r.value)&&Pe(e,!!r.multiple,t,!1)}},M=eu,L=function(e,t,r,n,i){var o=As;As|=4;try{return zi(98,e.bind(null,t,r,n,i))}finally{0===(As=o)&&qi()}},j=function(){0===(49&As)&&(function(){if(null!==zs){var e=zs;zs=null,e.forEach((function(e,t){Lu(t,e),Xs(t)})),qi()}}(),vu())},D=function(e,t){var r=As;As|=2;try{return e(t)}finally{0===(As=r)&&qi()}};var qu={Events:[Ir,wr,Pr,O,A,jr,function(e){it(e,Lr)},k,x,Xt,st,vu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var r=t.inject(e);_u=function(e){try{t.onCommitFiberRoot(r,e,void 0,64===(64&e.current.effectTag))}catch(n){}},Su=function(e){try{t.onCommitFiberUnmount(r,e)}catch(n){}}}catch(n){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Or,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qu,t.createPortal=Gu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!==(48&As))throw Error(a(187));var r=As;As|=1;try{return zi(99,e.bind(null,t))}finally{As=r,qi()}},t.hydrate=function(e,t,r){if(!Vu(t))throw Error(a(200));return zu(null,e,t,!0,r)},t.render=function(e,t,r){if(!Vu(t))throw Error(a(200));return zu(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Vu(e))throw Error(a(40));return!!e._reactRootContainer&&(tu((function(){zu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Cr]=null}))})),!0)},t.unstable_batchedUpdates=eu,t.unstable_createPortal=function(e,t){return Gu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Vu(r))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return zu(e,t,r,!1,n)},t.version="16.14.0"},function(e,t,r){"use strict";e.exports=r(897)},function(e,t,r){"use strict";var n,i,o,a,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,c=null,l=function e(){if(null!==u)try{var r=t.unstable_now();u(!0,r),u=null}catch(n){throw setTimeout(e,0),n}},p=Date.now();t.unstable_now=function(){return Date.now()-p},n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(l,0))},i=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,h=window.setTimeout,v=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof f&&"function"===typeof f.now)t.unstable_now=function(){return f.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var T=!1,b=null,g=-1,_=5,S=0;a=function(){return t.unstable_now()>=S},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<e?Math.floor(1e3/e):5};var A=new MessageChannel,E=A.port2;A.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();S=e+_;try{b(!0,e)?E.postMessage(null):(T=!1,b=null)}catch(r){throw E.postMessage(null),r}}else T=!1},n=function(e){b=e,T||(T=!0,E.postMessage(null))},i=function(e,r){g=h((function(){e(t.unstable_now())}),r)},o=function(){v(g),g=-1}}function C(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,i=e[n];if(!(void 0!==i&&0<w(i,t)))break e;e[n]=t,e[r]=i,r=n}
2}function O(e){return void 0===(e=e[0])?null:e}function I(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length;n<i;){var o=2*(n+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>w(a,r))void 0!==u&&0>w(u,a)?(e[n]=u,e[s]=r,n=s):(e[n]=a,e[o]=r,n=o);else{if(!(void 0!==u&&0>w(u,r)))break e;e[n]=u,e[s]=r,n=s}}}return t}return null}function w(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var P=[],N=[],R=1,k=null,x=3,M=!1,L=!1,j=!1;function D(e){for(var t=O(N);null!==t;){if(null===t.callback)I(N);else{if(!(t.startTime<=e))break;I(N),t.sortIndex=t.expirationTime,C(P,t)}t=O(N)}}function U(e){if(j=!1,D(e),!L)if(null!==O(P))L=!0,n(B);else{var t=O(N);null!==t&&i(U,t.startTime-e)}}function B(e,r){L=!1,j&&(j=!1,o()),M=!0;var n=x;try{for(D(r),k=O(P);null!==k&&(!(k.expirationTime>r)||e&&!a());){var s=k.callback;if(null!==s){k.callback=null,x=k.priorityLevel;var u=s(k.expirationTime<=r);r=t.unstable_now(),"function"===typeof u?k.callback=u:k===O(P)&&I(P),D(r)}else I(P);k=O(P)}if(null!==k)var c=!0;else{var l=O(N);null!==l&&i(U,l.startTime-r),c=!1}return c}finally{k=null,x=n,M=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||M||(L=!0,n(B))},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return O(P)},t.unstable_next=function(e){switch(x){case 1:case 2:case 3:var t=3;break;default:t=x}var r=x;x=t;try{return e()}finally{x=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=x;x=e;try{return t()}finally{x=r}},t.unstable_scheduleCallback=function(e,r,a){var s=t.unstable_now();if("object"===typeof a&&null!==a){var u=a.delay;u="number"===typeof u&&0<u?s+u:s,a="number"===typeof a.timeout?a.timeout:F(e)}else a=F(e),u=s;return e={id:R++,callback:r,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,C(N,e),null===O(P)&&e===O(N)&&(j?o():j=!0,i(U,u-s))):(e.sortIndex=a,C(P,e),L||M||(L=!0,n(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var r=O(P);return r!==k&&null!==k&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<k.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=x;return function(){var r=x;x=t;try{return e.apply(this,arguments)}finally{x=r}}}},function(e,t,r){},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Constants",{enumerable:!0,get:function(){return a.Constants}}),Object.defineProperty(t,"createStore",{enumerable:!0,get:function(){return a.createStore}}),Object.defineProperty(t,"createStoreWithDevTools",{enumerable:!0,get:function(){return a.createStoreWithDevTools}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return a.version}}),Object.defineProperty(t,"Components",{enumerable:!0,get:function(){return s.Components}}),Object.defineProperty(t,"concatMiddleware",{enumerable:!0,get:function(){return s.concatMiddleware}}),Object.defineProperty(t,"connectToWebChat",{enumerable:!0,get:function(){return s.connectToWebChat}}),Object.defineProperty(t,"createStyleSet",{enumerable:!0,get:function(){return s.createStyleSet}}),Object.defineProperty(t,"hooks",{enumerable:!0,get:function(){return s.hooks}}),Object.defineProperty(t,"createBrowserWebSpeechPonyfillFactory",{enumerable:!0,get:function(){return l.default}}),t.renderWebChat=t.default=t.createDirectLineAppServiceExtension=t.createDirectLine=void 0;var o=n(r(88)),a=r(70),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(54)),u=n(r(729)),c=n(r(730)),l=n(r(1570)),p=n(r(731)),f=n(r(732));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?h(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=c.default.bind(null,s.default);t.renderWebChat=m;var y=function(e){return e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent in the createDirectLine function. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),(0,p.default)(v(v({},e),{},{botAgent:"WebChat/".concat(a.version," (Minimal)")}))};t.createDirectLine=y;var T=function(e){return e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent in the createDirectLine function. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),(0,f.default)(v(v({},e),{},{botAgent:"WebChat/".concat(a.version," (Minimal)")}))};t.createDirectLineAppServiceExtension=T;var b=s.default;t.default=b,window.WebChat=v(v({},window.WebChat),{},{concatMiddleware:s.concatMiddleware,connectToWebChat:s.connectToWebChat,Constants:a.Constants,createBrowserWebSpeechPonyfillFactory:l.default,createDirectLine:y,createDirectLineAppServiceExtension:T,createStore:a.createStore,createStyleSet:s.createStyleSet,hooks:s.hooks,ReactWebChat:s.default,renderWebChat:m}),(0,u.default)("minimal")},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=l.apply(void 0,[function(){return p}].concat(r)),a=o.enhancer,u=o.sagaMiddleware,p=(0,i.createStore)(s.default,e||{},a);return u.run(c.default),p},t.withDevTools=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=l.apply(void 0,[function(){return f}].concat(r)),u=a.enhancer,p=a.sagaMiddleware,f=(0,i.createStore)(s.default,e||{},(0,o.composeWithDevTools)(u));return p.run(c.default),f};var i=r(356),o=r(902),a=n(r(1973)),s=n(r(903)),u=n(r(357)),c=n(r(923));function l(e){for(var t=(0,a.default)({onError:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[0];console.error(i);var o=e();o&&o.dispatch((0,u.default)())}}),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return{enhancer:i.applyMiddleware.apply(void 0,n.concat([t])),sagaMiddleware:t}}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";var n=r(356).compose;t.__esModule=!0,t.composeWithDevTools="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?n:n.apply(null,arguments)},t.devToolsEnhancer="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(356),o=n(r(904)),a=n(r(906)),s=n(r(908)),u=n(r(909)),c=n(r(910)),l=n(r(911)),p=n(r(912)),f=n(r(913)),d=n(r(915)),h=n(r(916)),v=n(r(917)),m=n(r(918)),y=n(r(919)),T=n(r(920)),b=n(r(921)),g=n(r(922)),_=(0,i.combineReducers)({activities:o.default,clockSkewAdjustment:a.default,connectivityStatus:s.default,dictateInterims:u.default,dictateState:c.default,language:l.default,notifications:f.default,readyState:d.default,referenceGrammarID:h.default,sendBoxValue:v.default,sendTimeout:m.default,sendTypingIndicator:y.default,shouldSpeakIncomingActivity:T.default,suggestedActions:b.default,typing:g.default,lastTypingAt:p.default});t.default=_},function(e,t,r){"use strict";var n=r(22);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0,r=t.meta,n=t.payload,h=t.type;switch(h){case o.DELETE_ACTIVITY:e=(0,i.default)(e,[function(e){return e.id===n.activityID}]);break;case s.MARK_ACTIVITY:e=(0,i.default)(e,[function(e){return e.id===n.activityID},"channelData",n.name],(function(){return n.value}));break;case u.POST_ACTIVITY_PENDING:e=d(e,(0,i.default)(n.activity,["channelData","state"],(function(){return c.SENDING})));break;case u.POST_ACTIVITY_REJECTED:e=(0,i.default)(e,[p(r.clientActivityID),"channelData","state"],(function(){return c.SEND_FAILED}));break;case u.POST_ACTIVITY_FULFILLED:e=(0,i.default)(e,[p(r.clientActivityID)],(function(){return(0,i.default)(f(n.activity),["channelData","state"],(function(){return c.SENT}))}));break;case a.INCOMING_ACTIVITY:e=d(e,n.activity)}return e};var i=n(r(106)),o=r(905),a=r(151),s=r(217),u=r(71),c=r(519),l=[];function p(e){return function(t){return function(e){var t=e.channelData;return(t=void 0===t?{}:t).clientActivityID}(t)===e}}function f(e){return(0,i.default)(e,["attachments",function(){return!0},"contentUrl"],(function(e){if("https://docs.botframework.com/static/devportal/client/images/bot-framework-default-placeholder.png"!==e&&!/^blob:/i.test(e))return e}))}function d(e,t){var r=(t=f(t)).channelData,n=(r=void 0===r?{}:r).clientActivityID,i=Date.parse(t.timestamp),o=e.filter((function(e){var r=e.channelData,i=(r=void 0===r?{}:r).clientActivityID,o=e.id;return!(n&&i===n)&&!(o&&o===t.id)})),a=o.findIndex((function(e){var t=e.channelData,r=(t=void 0===t?{}:t).state,n=e.timestamp;return Date.parse(n)>i&&r!==c.SENDING&&r!==c.SEND_FAILED}));return o.splice(~a?a:o.length,0,t),o}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"DIRECT_LINE/DELETE_ACTIVITY",payload:{activityID:e}}},t.DELETE_ACTIVITY=void 0;t.DELETE_ACTIVITY="DIRECT_LINE/DELETE_ACTIVITY"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,r=t.payload,o=t.type;if(o===n.INCOMING_ACTIVITY){var a=r.activity,s=a.channelData,u=(s=void 0===s?{}:s).clientTimestamp,c=a.timestamp,l=Date.parse(u),p=Date.parse(c);isNaN(l)||isNaN(p)||(e=p-l)}else o===i.SET_CLOCK_SKEW_ADJUSTMENT&&(e=r.value);return e};var n=r(151),i=r(907)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SET_CLOCK_SKEW_ADJUSTMENT=void 0;t.SET_CLOCK_SKEW_ADJUSTMENT="WEB_CHAT/SET_CLOCK_SKEW_ADJUSTMENT"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uninitialized",t=arguments.length>1?arguments[1]:void 0,r=t.type,s=t.meta;if("sagaerror"!==e)switch(r){case n.CONNECT_PENDING:case i.RECONNECT_PENDING:"uninitialized"!==e&&(e="reconnecting");break;case n.CONNECT_FULFILLED:e="connected";break;case i.RECONNECT_FULFILLED:e="reconnected";break;case n.CONNECT_REJECTED:e="error";break;case n.CONNECT_STILL_PENDING:e="connectingslow";break;case o.DISCONNECT_FULFILLED:e=s&&s.error?"error":"notconnected";break;case a.SAGA_ERROR:e="sagaerror"}return e};var n=r(175),i=r(260),o=r(261),a=r(357)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0,r=t.payload,o=t.type;switch(o){case n.SET_DICTATE_INTERIMS:e=r.dictateInterims}return e};var n=r(521),i=[]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,r=t.payload,u=t.type;switch(u){case i.SET_DICTATE_STATE:e=r.dictateState;break;case o.START_DICTATE:e!==n.IDLE&&e!==n.STOPPING&&e!==n.WILL_START||(e=n.STARTING);break;case a.STOP_DICTATE:e===n.STARTING||e===n.DICTATING?e=n.STOPPING:e===n.WILL_START&&(e=n.IDLE)}return e};var n=r(259),i=r(262),o=r(358),a=r(263),s=n.IDLE},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US",t=arguments.length>1?arguments[1]:void 0,r=t.payload,i=t.type;switch(i){case n.SET_LANGUAGE:e=r.language}return e};var n=r(522)},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0,r=t.payload,n=t.type;if(n===o.INCOMING_ACTIVITY){var s=r.activity,u=s.from,c=u.id,l=u.role,p=s.type;"user"!==l&&("typing"===p?e=(0,i.default)(e,[c],(function(){return Date.now()})):"message"===p&&(e=(0,i.default)(e,[c])))}return e};var i=n(r(106)),o=r(151),a={}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,r=t.payload,n=t.type,c=Date.now();if(n===o.DISMISS_NOTIFICATION)e=(0,i.default)(e,[r.id]);else if(n===a.SAGA_ERROR)e=(0,i.default)(e,["connectivitystatus","message"],(function(){return"javascripterror"}));else if(n===s.SET_NOTIFICATION){var l=r.alt,p=r.data,f=r.id,d=r.level,h=r.message,v=e[f];v&&l===v.alt&&Object.is(p,v.data)&&d===v.level&&h===v.message||(e=(0,i.default)(e,[f],(function(){return{alt:l,data:p,id:f,level:d,message:h,timestamp:c}})))}return e};var i=n(r(106)),o=r(523),a=r(357),s=r(359),u={}},function(e,t){var r="undefined"!==typeof window?window:self;e.exports=r.crypto||r.msCrypto},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,r=t.payload,i=t.type;switch(i){case n.CONNECTION_STATUS_UPDATE:e=r.connectionStatus}return e};var n=r(524)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,r=t.payload,i=t.type;switch(i){case n.SET_REFERENCE_GRAMMAR_ID:e=r.referenceGrammarID||null}return e};var n=r(525)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=t.payload,i=t.type;switch(i){case n.SET_SEND_BOX:e=r.text}return e};var n=r(218)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2e4,t=arguments.length>1?arguments[1]:void 0,r=t.payload,i=t.type;switch(i){case n.SET_SEND_TIMEOUT:e=r.sendTimeout}return e};var n=r(526)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,r=t.payload,i=t.type;switch(i){case n.SET_SEND_TYPING_INDICATOR:e=r.sendTypingIndicator}return e};var n=r(361)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,r=t.type;switch(r){case n.START_SPEAKING_ACTIVITY:e=!0;break;case i.STOP_SPEAKING_ACTIVITY:e=!1}return e};var n=r(362),i=r(264)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0,r=t.payload,a=void 0===r?{}:r,s=t.type;switch(s){case i.SET_SUGGESTED_ACTIONS:e=(a.suggestedActions||[]).length?[].slice.call(a.suggestedActions):o;break;case n.CLEAR_SUGGESTED_ACTIONS:e=o}return e};var n=r(520),i=r(363),o=[]},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,r=t.payload,n=t.type;if(n===o.INCOMING_ACTIVITY||n===a.POST_ACTIVITY_PENDING){var u=r.activity,c=u.from,l=c.id,p=c.name,f=c.role,d=u.type;"typing"===d?e=(0,i.default)(e,[l],(function(){return{at:Date.now(),name:p,role:f}})):"message"===d&&(e=(0,i.default)(e,[l]))}return e};var i=n(r(106)),o=r(151),a=r(71),s={}},function(e,t,r){"use strict";var n=r(22);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=P;var i=n(r(25)),o=r(41),a=n(r(924)),s=n(r(925)),u=n(r(950)),c=n(r(951)),l=n(r(1073)),p=n(r(1074)),f=n(r(1075)),d=n(r(1076)),h=n(r(1077)),v=n(r(1091)),m=n(r(1093)),y=n(r(1094)),T=n(r(1099)),b=n(r(1100)),g=n(r(1101)),_=n(r(1102)),S=n(r(1104)),A=n(r(1107)),E=n(r(1109)),C=n(r(1110)),O=n(r(1111)),I=n(r(1112)),w=i.default.mark(P);function P(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.fork)(a.default);case 2:return e.next=4,(0,o.fork)(s.default);case 4:return e.next=6,(0,o.fork)(u.default);case 6:return e.next=8,(0,o.fork)(c.default);case 8:return e.next=10,(0,o.fork)(l.default);case 10:return e.next=12,(0,o.fork)(p.default);case 12:return e.next=14,(0,o.fork)(f.default);case 14:return e.next=16,(0,o.fork)(d.default);case 16:return e.next=18,(0,o.fork)(h.default);case 18:return e.next=20,(0,o.fork)(v.default);case 20:return e.next=22,(0,o.fork)(m.default);case 22:return e.next=24,(0,o.fork)(y.default);case 24:return e.next=26,(0,o.fork)(T.default);case 26:return e.next=28,(0,o.fork)(b.default);case 28:return e.next=30,(0,o.fork)(g.default);case 30:return e.next=32,(0,o.fork)(_.default);case 32:return e.next=34,(0,o.fork)(S.default);case 34:return e.next=36,(0,o.fork)(A.default);case 36:return e.next=38,(0,o.fork)(E.default);case 38:return e.next=40,(0,o.fork)(C.default);case 40:return e.next=42,(0,o.fork)(O.default);case 42:return e.next=44,(0,o.fork)(I.default);case 44:case"end":return e.stop()}}),w)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var i=n(r(25)),o=r(41),a=r(71),s=n(r(363)),u=n(r(62)),c=i.default.mark(f),l=i.default.mark(d),p=i.default.mark(h);function f(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.put)((0,s.default)());case 2:case"end":return e.stop()}}),c)}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)((function(e){var t=e.payload;return e.type===a.POST_ACTIVITY_PENDING&&"message"===t.activity.type}),f);case 2:case"end":return e.stop()}}),l)}function h(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(d);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var i=n(r(25)),o=r(41),a=r(175),s=n(r(364)),u=n(r(359)),c=i.default.mark(f),l=i.default.mark(d);function p(e){var t=(0,s.default)(),r=t.push,n=t.shift,i=e.subscribe({next:r});return{shift:n,unsubscribe:function(){i.unsubscribe()}}}function f(e){var t,r,n,a,s,l;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:t=e.payload.directLine,r=p(t.connectionStatus$),n=r.shift,a=r.unsubscribe,i.prev=2;case 3:return i.next=5,(0,o.call)(n);case 5:l=i.sent,i.t0=l,i.next=0===i.t0||1===i.t0?9:2===i.t0?12:3===i.t0||4===i.t0?16:20;break;case 9:return i.next=11,(0,o.put)((0,u.default)({id:"connectivitystatus",level:"info",message:s?"reconnecting":"connecting"}));case 11:return i.abrupt("break",21);case 12:return s=1,i.next=15,(0,o.put)((0,u.default)({id:"connectivitystatus",level:"success",message:"connected"}));case 15:return i.abrupt("break",21);case 16:return s=1,i.next=19,(0,o.put)((0,u.default)({id:"connectivitystatus",level:"error",message:"failedtoconnect"}));case 19:case 20:return i.abrupt("break",21);case 21:i.next=3;break;case 23:return i.prev=23,a(),i.finish(23);case 26:case"end":return i.stop()}}),c,null,[[2,,23,26]])}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeLatest)(a.CONNECT,f);case 2:case"end":return e.stop()}}),l)}},function(e,t,r){var n=r(927);r(154),e.exports=n},function(e,t,r){r(928),r(182),r(185),r(939),r(945),r(946),r(947),r(222);var n=r(50);e.exports=n.Promise},function(e,t,r){"use strict";var n=r(36),i=r(272),o=r(274),a=r(152),s=r(119),u=r(177),c=r(934),l=r(153),p=r(276),f=function(e,t){var r=this;if(!(r instanceof f))return new f(e,t);o&&(r=o(new Error(void 0),i(r))),void 0!==t&&s(r,"message",p(t)),arguments.length>2&&c(r,arguments[2]);var n=[];return l(e,n.push,{that:n}),s(r,"errors",n),r};f.prototype=a(Error.prototype,{constructor:u(5,f),message:u(5,""),name:u(5,"AggregateError")}),n({global:!0},{AggregateError:f})},function(e,t,r){var n=r(56),i=r(367),o=r(369),a=r(930),s=r(53)("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var r,u=o(e,s);if(u){if(void 0===t&&(t="default"),r=u.call(e,t),!n(r)||i(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},function(e,t,r){var n=r(49),i=r(56);e.exports=function(e,t){var r,o;
vendor: 5,483 bytes, line 2
2if("string"===t&&n(r=e.toString)&&!i(o=r.call(e)))return o;if(n(r=e.valueOf)&&!i(o=r.call(e)))return o;if("string"!==t&&n(r=e.toString)&&!i(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(47);e.exports=function(e,t){try{Object.defineProperty(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t,r){var n=r(49);e.exports=function(e){if("object"===typeof e||n(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},function(e,t,r){var n=r(72),i=r(98),o=r(82),a=r(219);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=n.length,u=0;s>u;)i.f(e,r=n[u++],t[r]);return e}},function(e,t,r){var n=r(56),i=r(119);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",e.cause)}},function(e,t){e.exports=function(){}},function(e,t,r){var n=r(72),i=r(91),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},function(e,t,r){"use strict";var n=r(539).IteratorPrototype,i=r(152),o=r(177),a=r(184),s=r(180),u=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,c,!1,!0),s[c]=u,e}},function(e,t,r){"use strict";var n=r(375),i=r(181);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,r){"use strict";var n,i,o,a,s=r(36),u=r(178),c=r(47),l=r(108),p=r(540),f=r(183),d=r(277),h=r(274),v=r(184),m=r(541),y=r(130),T=r(49),b=r(56),g=r(278),_=r(376),S=r(153),A=r(542),E=r(543),C=r(545).set,O=r(940),I=r(547),w=r(943),P=r(280),N=r(379),R=r(132),k=r(530),x=r(53),M=r(944),L=r(378),j=r(269),D=x("species"),U="Promise",B=R.get,F=R.set,V=R.getterFor(U),z=p&&p.prototype,H=p,G=z,q=c.TypeError,Y=c.document,W=c.process,K=P.f,$=K,J=!!(Y&&Y.createEvent&&c.dispatchEvent),X=T(c.PromiseRejectionEvent),Z=!1,Q=k(U,(function(){var e=_(H),t=e!==String(H);if(!t&&66===j)return!0;if(u&&!G.finally)return!0;if(j>=51&&/native code/.test(e))return!1;var r=new H((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[D]=n,!(Z=r.then((function(){}))instanceof n)||!t&&M&&!X})),ee=Q||!A((function(e){H.all(e).catch((function(){}))})),te=function(e){var t;return!(!b(e)||!T(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;O((function(){for(var n=e.value,i=1==e.state,o=0;r.length>o;){var a,s,u,c=r[o++],l=i?c.ok:c.fail,p=c.resolve,f=c.reject,d=c.domain;try{l?(i||(2===e.rejection&&ae(e),e.rejection=1),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),u=!0)),a===c.promise?f(q("Promise-chain cycle")):(s=te(a))?s.call(a,p,f):p(a)):f(n)}catch(h){d&&!u&&d.exit(),f(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ie(e)}))}},ne=function(e,t,r){var n,i;J?((n=Y.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!X&&(i=c["on"+e])?i(n):"unhandledrejection"===e&&w("Unhandled promise rejection",r)},ie=function(e){C.call(c,(function(){var t,r=e.facade,n=e.value;if(oe(e)&&(t=N((function(){L?W.emit("unhandledRejection",n,r):ne("unhandledrejection",r,n)})),e.rejection=L||oe(e)?2:1,t.error))throw t.value}))},oe=function(e){return 1!==e.rejection&&!e.parent},ae=function(e){C.call(c,(function(){var t=e.facade;L?W.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},se=function(e,t,r){return function(n){e(t,n,r)}},ue=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ce=function e(t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===r)throw q("Promise can't be resolved itself");var i=te(r);i?O((function(){var n={done:!1};try{i.call(r,se(e,n,t),se(ue,n,t))}catch(o){ue(n,o,t)}})):(t.value=r,t.state=1,re(t,!1))}catch(o){ue({done:!1},o,t)}}};if(Q&&(G=(H=function(e){g(this,H,U),y(e),n.call(this);var t=B(this);try{e(se(ce,t),se(ue,t))}catch(r){ue(t,r)}}).prototype,(n=function(e){F(this,{type:U,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(G,{then:function(e,t){var r=V(this),n=K(E(this,H));return n.ok=!T(e)||e,n.fail=T(t)&&t,n.domain=L?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=B(e);this.promise=e,this.resolve=se(ce,t),this.reject=se(ue,t)},P.f=K=function(e){return e===H||e===o?new i(e):$(e)},!u&&T(p)&&z!==Object.prototype)){a=z.then,Z||(f(z,"then",(function(e,t){var r=this;return new H((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(z,"catch",G.catch,{unsafe:!0}));try{delete z.constructor}catch(le){}h&&h(z,G)}s({global:!0,wrap:!0,forced:Q},{Promise:H}),v(H,U,!1,!0),m(U),o=l(U),s({target:U,stat:!0,forced:Q},{reject:function(e){var t=K(this);return t.reject.call(void 0,e),t.promise}}),s({target:U,stat:!0,forced:u||Q},{resolve:function(e){return I(u&&this===o?H:this,e)}}),s({target:U,stat:!0,forced:ee},{all:function(e){var t=this,r=K(t),n=r.resolve,i=r.reject,o=N((function(){var r=y(t.resolve),o=[],a=0,s=1;S(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=K(t),n=r.reject,i=N((function(){var i=y(t.resolve);S(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},function(e,t,r){var n,i,o,a,s,u,c,l,p=r(47),f=r(265).f,d=r(545).set,h=r(546
2),v=r(941),m=r(942),y=r(378),T=p.MutationObserver||p.WebKitMutationObserver,b=p.document,g=p.process,_=p.Promise,S=f(p,"queueMicrotask"),A=S&&S.value;A||(n=function(){var e,t;for(y&&(e=g.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},h||y||m||!T||!b?!v&&_&&_.resolve?((c=_.resolve(void 0)).constructor=_,l=c.then,a=function(){l.call(c,n)}):a=y?function(){g.nextTick(n)}:function(){d.call(p,n)}:(s=!0,u=b.createTextNode(""),new T(n).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=A||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,r){var n=r(270),i=r(47);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},function(e,t,r){var n=r(270);e.exports=/web0s(?!.*chrome)/i.test(n)},function(e,t,r){var n=r(47);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t){e.exports="object"==typeof window},function(e,t,r){"use strict";var n=r(36),i=r(130),o=r(280),a=r(379),s=r(153);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=a((function(){var r=i(t.resolve),o=[],a=0,u=1;s(e,(function(e){var i=a++,s=!1;o.push(void 0),u++,r.call(t,e).then((function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--u||n(o))}),(function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--u||n(o))}))})),--u||n(o)}));return c.error&&u(c.value),r.promise}})},function(e,t,r){"use strict";var n=r(36),i=r(130),o=r(108),a=r(280),s=r(379),u=r(153);n({target:"Promise",stat:!0},{any:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,l=1,p=!1;u(e,(function(e){var i=s++,u=!1;a.push(void 0),l++,r.call(t,e).then((function(e){u||p||(p=!0,n(e))}),(function(e){u||p||(u=!0,a[i]=e,--l||c(new(o("AggregateError"))(a,"No one promise resolved")))}))})),--l||c(new(o("AggregateError"))(a,"No one promise resolved"))}));return l.error&&c(l.value),r.promise}})},function(e,t,r){"use strict";var n=r(36),i=r(178),o=r(540),a=r(43),s=r(108),u=r(49),c=r(543),l=r(547),p=r(183);if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r=u(e);return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),!i&&u(o)){var f=s("Promise").prototype.finally;o.prototype.finally!==f&&p(o.prototype,"finally",f,{unsafe:!0})}},function(e,t,r){var n=r(220),i=r(276),o=r(366),a=function(e){return function(t,r){var a,s,u=i(o(t)),c=n(r),l=u.length;return c<0||c>=l?e?"":void 0:(a=u.charCodeAt(c))<55296||a>56319||c+1===l||(s=u.charCodeAt(c+1))<56320||s>57343?e?u.charAt(c):a:e?u.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var o=i(r(25)),a=r(41),s=i(r(524)),u=i(r(548)),c=i(r(525)),l=i(r(62)),p=n.mark(d),f=n.mark(h);function d(e){var t;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.directLine,r.next=3,(0,u.default)(t.connectionStatus$,o.default.mark((function e(r){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.put)((0,s.default)(r));case 2:return e.next=4,(0,a.put)((0,c.default)(t.referenceGrammarId));case 4:case"end":return e.stop()}}),e)})));case 3:case"end":return r.stop()}}),p)}function h(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.default)(d);case 2:case"end":return e.stop()}}),f)}},function(e,t,r){"use strict";var n=r(22),i=r(216);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=M;var o=n(r(25)),a=r(41),s=r(281),u=n(r(590)),c=r(175),l=n(r(364)),p=n(r(1071)),f=n(r(360)),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=m(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(1072)),h=r(261),v=r(260);function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(m=function(e){return e?r:t})(e)}var y=o.default.mark(I),T=o.default.mark(P),b=o.default.mark(N),g=o.default.mark(R),_=o.default.mark(k),S=o.default.mark(M),A=s.ConnectionStatus.Connecting,E=s.ConnectionStatus.Online,C=s.ConnectionStatus.Uninitialized;function O(){return"r_".concat((0,f.default)().substr(0,10))}function I(e){var t,r,n;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:t=(0,l.default)(),r=e.connectionStatus$.subscribe({next:t.push}),i.prev=2;case 3:return i.next=5,(0,a.call)(t.shift);case 5:return n=i.sent,i.next=8,(0,a.put)((0,d.default)(n));case 8:i.next=3;break;case 10:return i.prev=10,r.unsubscribe(),i.finish(10);case 13:case"end":return i.stop()}}),y,null,[[2,,10,13]])}function w(e,t){var r,n=e.token;try{r=((0,u.default)(n)||{}).user}catch(o){}var i={fromAction:t,fromToken:r};return r?(t&&t!==r&&console.warn("Web Chat: user ID is both specified in the Direct Line token and passed in, will use the user ID from the token."),i.final=r):t?"string"!==typeof t?(console.warn("Web Chat: user ID must be a string."),i.final=O()):/^dl_/.test(t)?(console.warn('Web Chat: user ID prefixed with "dl_" is reserved and must be embedded into the Direct Line token to prevent forgery.'),i.final=O()):i.final=t:i.final=O(),i}function P(e){var t,r,n,i;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=e.activity$.subscribe({next:function(){return 0}}),r=t.unsubscribe.bind(t),o.prev=2;case 3:return o.next=5,(0,a.take)(d.UPDATE_CONNECTION_STATUS);case 5:if(n=o.sent,(i=n.payload.connectionStatus)!==E){o.next=11;break}return o.abrupt("return",(function(){r(),e.end()}));case 11:if(i===C||i===A){o.next=13;break}throw new Error("Failed to connect, DirectLineJS returned ".concat(i,"."));case 13:o.next=3;break;case 15:o.next=21;break;case 17:throw o.prev=17,o.t0=o.catch(2),r(),o.t0;case 21:return o.prev=21,o.next=24,(0,a.cancelled)();case 24:if(!o.sent){o.next=26;break}r();case 26:return o.finish(21);case 27:case"end":return o.stop()}}),T,null,[[2,17,21,27]])}function N(){var e,t;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,a.take)(d.UPDATE_CONNECTION_STATUS);case 2:if(e=r.sent,(t=e.payload.connectionStatus)!==E){r.next=8;break}return r.abrupt("break",12);case 8:if(t===A){r.next=10;break}throw new Error("Failed to reconnect. DirectLineJS returned ".concat(t,"."));case 10:r.next=0;break;case 12:case"end":return r.stop()}}),b)}function R(e,t){var r,n,i,a;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r=e.type,n=e.meta,i=e.payload,o.prev=1,o.next=4,(0,p.default)({type:"".concat(r,"_PENDING"),meta:n,payload:i});case 4:return o.next=6,t();case 6:return a=o.sent,o.next=9,(0,p.default)({type:"".concat(r,"_FULFILLING"),meta:n,payload:i},{type:"".concat(r,"_FULFILLED"),meta:n,payload:i});case 9:return o.abrupt("return",a);case 12:return o.prev=12,o.t0=o.catch(1),o.next=16,(0,p.default)({type:"".concat(r,"_REJECTED"),error:!0,meta:n,payload:o.t0});case 16:throw o.t0;case 17:case"end":return o.stop()}}),g,null,[[1,12]])}function k(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.take)(h.DISCONNECT);case 2:throw new Error("disconnected");case 3:case"end":return e.stop()}}),_)}function x(e,t){return R(e,o.default.mark((function e(){var r,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.race)({_:k(),result:t()});case 2:return r=e.sent,n=r.result,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})))}function M(){var e;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=o.default.mark((function e(){var t,r,n,i,s,u,l,f,m,y,T,b,g,_;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.take)(c.CONNECT);case 2:return t=e.sent,r=t.payload,n=r.directLine,i=r.userID,s=r.username,e.next=9,(0,a.fork)(I,n);case 9:return u=e.sent,l=w(n,i),f={userID:l.final,username:s},n.setUserId&&l.fromToken!==f.userID&&n.setUserId(f.userID),m=void 0,e.prev=14,e.next=17,x({type:c.CONNECT,meta:f,payload:{directLine:n}},(function(){return(0,a.call)(P,n)}));case 17:y=e.sent,e.prev=18;case 19:return e.next=21,(0,a.race)({_:(0,a.take)(h.DISCONNECT),updateConnectionStatusAction:(0,a.take)(d.UPDATE_CONNECTION_STATUS)});case 21:if(T=e.sent,b=T.updateConnectionStatusAction,g=(b=void 0===b?{}:b).payload,(_=(g=void 0===g?{}:g).connectionStatus)!==A){e.next=32;break}return e.next=30,x({type:v.RECONNECT,meta:f,payload:{directLine:n}},(function(){return(0,a.call)(N)}));case 30:e.next=38;break;case 32:if(_===E){e.next=38;break}if("undefined"===typeof _){e.next=37;break}throw new Error("Connection status changed to ".concat(_));case 37:return e.abrupt("break",40);case 38:e.next=19;break;case 40:return e.prev=40,y(),e.finish(40);case 43:e.next=48;break;case 45:e.prev=45,e.t0=e.catch(14),m={error:e.t0};case 48:return e.prev=48,e.next=51,(0,a.cancel)(u);case 51:return e.next=53,(0,p.default)({type:h.DISCONNECT_PENDING,meta:m,payload:{directLine:n}},{type:h.DISCONNECT_FULFILLED,meta:m,payload:{directLine:n}});case 53:return e.finish(48);case 54:case"end":return e.stop()}}),e,null,[[14,45,48,54],[18,,40,43]])}));case 1:return t.delegateYield(e(),"t0",2);case 2:t.next=1;break;case 4:case"end":return t.stop()}}),S)}},function(e,t,r){var n=r(120),i=r(380),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,r){var n=r(73),i=r(387),o=r(134),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,r){var n=r(555);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){var n=r(133),i=r(134),o=r(99),a=r(557);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=n.length,u=0;s>u;)i.f(e,r=n[u++],t[r]);return e}},function(e,t,r){var n=r(223),i=r(559),o=r(957),a=function(e){return function(t,r,a){var s,u=n(t),c=i(u.length),l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){var n=r(388),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},function(e,t,r){var n=r(57),i=r(392),o=n.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},function(e,t,r){var n=r(110),i=r(960),o=r(393),a=r(134);e.exports=function(e,t){for(var r=i(t),s=a.f,u=o.f,c=0;c<r.length;c++){var l=r[c];n(e,l)||s(e,l,u(t,l))}}},function(e,t,r){var n=r(155),i=r(961),o=r(962),a=r(99);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},function(e,t,r){var n=r(558),i=r(390).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";var n=r(564).IteratorPrototype,i=r(387),o=r(282),a=r(395),s=r(225),u=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,c,!1,!0),s[c]=u,e}},function(e,t,r){var n=r(120);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(135);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){"use strict";var n=r(397),i=r(566);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,r){"use strict";var n,i,o,a,s=r(122),u=r(224),c=r(57),l=r(155),p=r(567),f=r(186),d=r(568),h=r(396),v=r(395),m=r(569),y=r(135),T=r(156),b=r(570),g=r(392),_=r(227),S=r(970),A=r(573),E=r(574).set,C=r(971),O=r(576),I=r(577),w=r(228),P=r(283),N=r(226),R=r(563),k=r(73),x=r(973),M=r(398),L=r(556),j=k("species"),D="Promise",U=N.get,B=N.set,F=N.getterFor(D),V=p&&p.prototype,z=p,H=V,G=c.TypeError,q=c.document,Y=c.process,W=w.f,K=W,$=!!(q&&q.createEvent&&c.dispatchEvent),J="function"==typeof PromiseRejectionEvent,X=!1,Z=R(D,(function(){var e=g(z),t=e!==String(z);if(!t&&66===L)return!0;
vendor: 4,638 bytes, line 2
2if(u&&!H.finally)return!0;if(L>=51&&/native code/.test(e))return!1;var r=new z((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[j]=n,!(X=r.then((function(){}))instanceof n)||!t&&x&&!J})),Q=Z||!S((function(e){z.all(e).catch((function(){}))})),ee=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},te=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;C((function(){for(var n=e.value,i=1==e.state,o=0;r.length>o;){var a,s,u,c=r[o++],l=i?c.ok:c.fail,p=c.resolve,f=c.reject,d=c.domain;try{l?(i||(2===e.rejection&&oe(e),e.rejection=1),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),u=!0)),a===c.promise?f(G("Promise-chain cycle")):(s=ee(a))?s.call(a,p,f):p(a)):f(n)}catch(h){d&&!u&&d.exit(),f(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ne(e)}))}},re=function(e,t,r){var n,i;$?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!J&&(i=c["on"+e])?i(n):"unhandledrejection"===e&&I("Unhandled promise rejection",r)},ne=function(e){E.call(c,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=P((function(){M?Y.emit("unhandledRejection",n,r):re("unhandledrejection",r,n)})),e.rejection=M||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){E.call(c,(function(){var t=e.facade;M?Y.emit("rejectionHandled",t):re("rejectionhandled",t,e.value)}))},ae=function(e,t,r){return function(n){e(t,n,r)}},se=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,te(e,!0))},ue=function e(t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===r)throw G("Promise can't be resolved itself");var i=ee(r);i?C((function(){var n={done:!1};try{i.call(r,ae(e,n,t),ae(se,n,t))}catch(o){se(n,o,t)}})):(t.value=r,t.state=1,te(t,!1))}catch(o){se({done:!1},o,t)}}};if(Z&&(H=(z=function(e){b(this,z,D),T(e),n.call(this);var t=U(this);try{e(ae(ue,t),ae(se,t))}catch(r){se(t,r)}}).prototype,(n=function(e){B(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(H,{then:function(e,t){var r=F(this),n=W(A(this,z));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?Y.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&te(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=U(e);this.promise=e,this.resolve=ae(ue,t),this.reject=ae(se,t)},w.f=W=function(e){return e===z||e===o?new i(e):K(e)},!u&&"function"==typeof p&&V!==Object.prototype)){a=V.then,X||(f(V,"then",(function(e,t){var r=this;return new z((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(V,"catch",H.catch,{unsafe:!0}));try{delete V.constructor}catch(ce){}h&&h(V,H)}s({global:!0,wrap:!0,forced:Z},{Promise:z}),v(z,D,!1,!0),m(D),o=l(D),s({target:D,stat:!0,forced:Z},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:u||Z},{resolve:function(e){return O(u&&this===o?z:this,e)}}),s({target:D,stat:!0,forced:Q},{all:function(e){var t=this,r=W(t),n=r.resolve,i=r.reject,o=P((function(){var r=T(t.resolve),o=[],a=0,s=1;_(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=W(t),n=r.reject,i=P((function(){var i=T(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},function(e,t,r){var n=r(73),i=r(225),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,r){var n=r(99);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},function(e,t,r){var n=r(73)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(s){}return r}},function(e,t,r){var n,i,o,a,s,u,c,l,p=r(57),f=r(393).f,d=r(574).set,h=r(575),v=r(972),m=r(398),y=p.MutationObserver||p.WebKitMutationObserver,T=p.document,b=p.process,g=p.Promise,_=f(p,"queueMicrotask"),S=_&&_.value;S||(n=function(){var e,t;for(m&&(e=b.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},h||m||v||!y||!T?g&&g.resolve?((c=g.resolve(void 0)).constructor=g,l=c.then,a=function(){l.call(c,n)}):a=m?function(){b.nextTick(n)}:function(){d.call(p,n)}:(s=!0,u=T.createTextNode(""),new y(n).observe(u,{characterData:!0}
2),a=function(){u.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,r){var n=r(385);e.exports=/web0s(?!.*chrome)/i.test(n)},function(e,t){e.exports="object"==typeof window},function(e,t,r){"use strict";var n=r(122),i=r(224),o=r(567),a=r(120),s=r(155),u=r(573),c=r(576),l=r(186);if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!i&&"function"==typeof o){var p=s("Promise").prototype.finally;o.prototype.finally!==p&&l(o.prototype,"finally",p,{unsafe:!0})}},function(e,t,r){var n=r(388),i=r(381),o=function(e){return function(t,r){var o,a,s=String(i(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,r){r(977)},function(e,t,r){"use strict";var n=r(122),i=r(394),o=r(396),a=r(387),s=r(121),u=r(282),c=r(227),l=function(e,t){var r=this;if(!(r instanceof l))return new l(e,t);o&&(r=o(new Error(void 0),i(r))),void 0!==t&&s(r,"message",String(t));var n=[];return c(e,n.push,{that:n}),s(r,"errors",n),r};l.prototype=a(Error.prototype,{constructor:u(5,l),message:u(5,""),name:u(5,"AggregateError")}),n({global:!0},{AggregateError:l})},function(e,t,r){r(979)},function(e,t,r){"use strict";var n=r(122),i=r(156),o=r(228),a=r(283),s=r(227);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=a((function(){var r=i(t.resolve),o=[],a=0,u=1;s(e,(function(e){var i=a++,s=!1;o.push(void 0),u++,r.call(t,e).then((function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--u||n(o))}),(function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--u||n(o))}))})),--u||n(o)}));return c.error&&u(c.value),r.promise}})},function(e,t,r){r(981)},function(e,t,r){"use strict";var n=r(122),i=r(156),o=r(155),a=r(228),s=r(283),u=r(227);n({target:"Promise",stat:!0},{any:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=s((function(){var r=i(t.resolve),a=[],s=0,l=1,p=!1;u(e,(function(e){var i=s++,u=!1;a.push(void 0),l++,r.call(t,e).then((function(e){u||p||(p=!0,n(e))}),(function(e){u||p||(u=!0,a[i]=e,--l||c(new(o("AggregateError"))(a,"No one promise resolved")))}))})),--l||c(new(o("AggregateError"))(a,"No one promise resolved"))}));return l.error&&c(l.value),r.promise}})},function(e,t,r){"use strict";var n=r(122),i=r(228),o=r(283);n({target:"Promise",stat:!0},{try:function(e){var t=i.f(this),r=o(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){(function(e){!function(e){"use strict";var t=function(){try{if(e.URLSearchParams&&"bar"===new e.URLSearchParams("foo=bar").get("foo"))return e.URLSearchParams}catch(t){}return null}(),r=t&&"a=1"===new t({a:1}).toString(),n=t&&"+"===new t("s=%2B").get("s"),i=!t||function(){var e=new t;return e.append("s"," &"),"s=+%26"===e.toString()}(),o=c.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&r&&n&&i)){var s;o.append=function(e,t){h(this.__URLSearchParams__,e,t)},o.delete=function(e){delete this.__URLSearchParams__[e]},o.get=function(e){var t=this.__URLSearchParams__;return this.has(e)?t[e][0]:null},o.getAll=function(e){var t=this.__URLSearchParams__;return this.has(e)?t[e].slice(0):[]},o.has=function(e){return m(this.__URLSearchParams__,e)},o.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},o.toString=function(){var e,t,r,n,i=this.__URLSearchParams__,o=[];for(t in i)for(r=l(t),e=0,n=i[t];e<n.length;e++)o.push(r+"="+l(n[e]));return o.join("&")},!!n&&t&&!r&&e.Proxy?(s=new Proxy(t,{construct:function(e,t){return new e(new c(t[0]).toString())}})).toString=Function.prototype.toString.bind(c):s=c,Object.defineProperty(e,"URLSearchParams",{value:s});var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,t){var r=d(this.toString());
2Object.getOwnPropertyNames(r).forEach((function(n){r[n].forEach((function(r){e.call(t,r,n,this)}),this)}),this)},u.sort=u.sort||function(){var e,t,r,n=d(this.toString()),i=[];for(e in n)i.push(e);for(i.sort(),t=0;t<i.length;t++)this.delete(i[t]);for(t=0;t<i.length;t++){var o=i[t],a=n[o];for(r=0;r<a.length;r++)this.append(o,a[r])}},u.keys=u.keys||function(){var e=[];return this.forEach((function(t,r){e.push(r)})),f(e)},u.values=u.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},u.entries=u.entries||function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),f(e)},a&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function c(e){((e=e||"")instanceof URLSearchParams||e instanceof c)&&(e=e.toString()),this.__URLSearchParams__=d(e)}function l(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function p(e){return e.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,(function(e){return decodeURIComponent(e)}))}function f(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return a&&(r[e.Symbol.iterator]=function(){return r}),r}function d(e){var t={};if("object"===typeof e)if(v(e))for(var r=0;r<e.length;r++){var n=e[r];if(!v(n)||2!==n.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");h(t,n[0],n[1])}else for(var i in e)e.hasOwnProperty(i)&&h(t,i,e[i]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var o=e.split("&"),a=0;a<o.length;a++){var s=o[a],u=s.indexOf("=");-1<u?h(t,p(s.slice(0,u)),p(s.slice(u+1))):s&&h(t,p(s),"")}}return t}function h(e,t,r){var n="string"===typeof r?r:null!==r&&void 0!==r&&"function"===typeof r.toString?r.toString():JSON.stringify(r);m(e,t)?e[t].push(n):e[t]=[n]}function v(e){return!!e&&"[object Array]"===Object.prototype.toString.call(e)}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}("undefined"!==typeof e?e:"undefined"!==typeof window?window:this)}).call(this,r(90))},function(e,t,r){"use strict";var n=r(77),i=r(400),o=r(588);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(o.empty)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t){e.call(this),this.errors=t;var r=Error.call(this,t?t.length+" errors occurred during unsubscription:\n  "+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"");this.name=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(t,e),t}(Error);t.UnsubscriptionError=i},function(e,t,r){"use strict";var n=r(989);function i(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:n.noop}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return i(e)},t.pipeFromArray=i},function(e,t,r){"use strict";t.noop=function(){}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t,r){e.call(this),this.subject=t,this.subscriber=r,this.closed=!1}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(r(229).Subscription);t.SubjectSubscription=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(123),o=function(e){function t(t,r){e.call(this,t,r),this.scheduler
2=t,this.pending=!1,this.work=r}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e,this.pending=!0;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),i.root.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;i.root.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(r(992).Action);t.AsyncAction=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t,r){e.call(this)}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(229).Subscription);t.Action=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(){e.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(t,e),t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(r(994).Scheduler);t.AsyncScheduler=i},function(e,t,r){"use strict";var n=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=Date.now?Date.now:function(){return+new Date},e}();t.Scheduler=n},function(e,t,r){"use strict";var n=r(29),i=r(996);n.Observable.prototype.catch=i._catch,n.Observable.prototype._catch=i._catch},function(e,t,r){"use strict";var n=r(997);t._catch=function(e){return n.catchError(e)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(289),o=r(290);t.catchError=function(e){return function(t){var r=new a(e),n=t.lift(r);return r.caught=n}};var a=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function t(t,r,n){e.call(this,t),this.selector=r,this.caught=n}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(n){return void e.prototype.error.call(this,n)}this._unsubscribeAndRecycle(),this.add(o.subscribeToResult(this,r))}},t}(i.OuterSubscriber)},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t,r,n){e.call(this),this.parent=t,this.outerValue=r,this.outerIndex=n,this.index=0}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(77).Subscriber);t.InnerSubscriber=i},function(e,t,r){"use strict";var n=r(29),i=r(1e3);n.Observable.prototype.combineLatest=i.combineLatest},function(e,t,r){"use strict";var n=r(1001);t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return n.combineLatest.apply(void 0,e)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(403),o=r(286),a=r(289),s=r(290),u={};
2t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=null;return"function"===typeof e[e.length-1]&&(r=e.pop()),1===e.length&&o.isArray(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(new i.ArrayObservable([t].concat(e)),new c(r))}};var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project))},e}();t.CombineLatestOperator=c;var l=function(e){function t(t,r){e.call(this,t),this.project=r,this.active=0,this.values=[],this.observables=[]}return n(t,e),t.prototype._next=function(e){this.values.push(u),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(s.subscribeToResult(this,n,n,r))}}},t.prototype.notifyComplete=function(e){0===(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){var o=this.values,a=o[r],s=this.toRespond?a===u?--this.toRespond:this.toRespond:0;o[r]=t,0===s&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(r){return void this.destination.error(r)}this.destination.next(t)},t}(a.OuterSubscriber);t.CombineLatestSubscriber=l},function(e,t,r){"use strict";t.isScheduler=function(e){return e&&"function"===typeof e.schedule}},function(e,t,r){"use strict";var n=r(29),i=r(1004);n.Observable.prototype.count=i.count},function(e,t,r){"use strict";var n=r(1005);t.count=function(e){return n.count(e)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77);t.count=function(e){return function(t){return t.lift(new o(e,t))}};var o=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.source))},e}(),a=function(e){function t(t,r,n){e.call(this,t),this.predicate=r,this.source=n,this.count=0,this.index=0}return n(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(r){return void this.destination.error(r)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";var n=r(29),i=r(1007);n.Observable.prototype.delay=i.delay},function(e,t,r){"use strict";var n=r(288),i=r(1008);t.delay=function(e,t){return void 0===t&&(t=n.async),i.delay(e,t)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(288),o=r(1009),a=r(77),s=r(594);t.delay=function(e,t){void 0===t&&(t=i.async);var r=o.isDate(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new u(r,t))}};var u=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.delay,this.scheduler))},e}(),c=function(e){function t(t,r,n){e.call(this,t),this.delay=r,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}return n(t,e),t.dispatch=function(e){for(var t=e.source,r=t.queue,n=e.scheduler,i=e.destination;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){var o=Math.max(0,r[0].time-n.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,r=new l(t.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(s.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(s.Notification.createComplete())},t}(a.Subscriber),l=function(e,t){this.time=e,this.notification=t}},function(e,t,r){"use strict";t.isDate=function(e){return e instanceof Date&&!isNaN(+e)}},function(e,t,r){"use strict";var n=r(29),i=r(1011);
2n.Observable.prototype.do=i._do,n.Observable.prototype._do=i._do},function(e,t,r){"use strict";var n=r(1012);t._do=function(e,t,r){return n.tap(e,t,r)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77);t.tap=function(e,t,r){return function(n){return n.lift(new o(e,t,r))}};var o=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.nextOrObserver,this.error,this.complete))},e}(),a=function(e){function t(t,r,n,o){e.call(this,t);var a=new i.Subscriber(r,n,o);a.syncErrorThrowable=!0,this.add(a),this.safeSubscriber=a}return n(t,e),t.prototype._next=function(e){var t=this.safeSubscriber;t.next(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(e)},t.prototype._error=function(e){var t=this.safeSubscriber;t.error(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.error(e)},t.prototype._complete=function(){var e=this.safeSubscriber;e.complete(),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";var n=r(29),i=r(1014);n.Observable.prototype.filter=i.filter},function(e,t,r){"use strict";var n=r(1015);t.filter=function(e,t){return n.filter(e,t)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77);t.filter=function(e,t){return function(r){return r.lift(new o(e,t))}};var o=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))},e}(),a=function(e){function t(t,r,n){e.call(this,t),this.predicate=r,this.thisArg=n,this.count=0}return n(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(e)},t}(i.Subscriber)},function(e,t,r){"use strict";var n=r(29),i=r(1017);n.Observable.prototype.map=i.map},function(e,t,r){"use strict";var n=r(595);t.map=function(e,t){return n.map(e,t)(this)}},function(e,t,r){"use strict";var n=r(29),i=r(1019);n.Observable.prototype.mergeMap=i.mergeMap,n.Observable.prototype.flatMap=i.mergeMap},function(e,t,r){"use strict";var n=r(596);t.mergeMap=function(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),n.mergeMap(e,t,r)(this)}},function(e,t,r){"use strict";var n=r(29),i=r(1021);n.Observable.prototype.concatMap=i.concatMap},function(e,t,r){"use strict";var n=r(1022);t.concatMap=function(e,t){return n.concatMap(e,t)(this)}},function(e,t,r){"use strict";var n=r(596);t.concatMap=function(e,t){return n.mergeMap(e,t,1)}},function(e,t,r){"use strict";var n=r(29),i=r(1024);n.Observable.prototype.retryWhen=i.retryWhen},function(e,t,r){"use strict";var n=r(1025);t.retryWhen=function(e){return n.retryWhen(e)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(285),o=r(399),a=r(287),s=r(289),u=r(290);t.retryWhen=function(e){return function(t){return t.lift(new c(e,t))}};var c=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.notifier,this.source))},e}(),l=function(e){function t(t,r,n){e.call(this,t),this.notifier=r,this.source=n}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=this.errors,n=this.retries,s=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{if(r=new i.Subject,(n=o.tryCatch(this.notifier)(r))===a.errorObject)return e.prototype.error.call(this,a.errorObject.e);s=u.subscribeToResult(this,n)}this._unsubscribeAndRecycle(),this.errors=r,this.retries=n,this.retriesSubscription=s,r.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,r,n,i){var o=this.errors,a=this.retries,s=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=o,this.retries=a,this.retriesSubscription=s,this.source.subscribe(this)},t}(s.OuterSubscriber)},function(e,t,r){"use strict";var n=r(29),i=r(1027);n.Observable.prototype.share=i.share},function(e,t,r){"use strict";var n=r(1028);t.share=function(){return n.share()(this)}},function(e,t,r){"use strict";var n=r(1029),i=r(597),o=r(285);function a(){return new o.Subject}t.share=function(){return function(e){return i.refCount()(n.multicast(a)(e))}}},function(e,t,r){"use strict";var n=r(1030);t.multicast=function(e,t){return function(r){var o;if(o="function"===typeof e?e:function(){return e},"function"===typeof t)return r.lift(new i(o,t));var a=Object.create(r,n.connectableObservableDescriptor);return a.source=r,a.subjectFactory=o,a}};var i=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();t.MulticastOperator=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}
2,i=r(285),o=r(29),a=r(77),s=r(229),u=r(597),c=function(e){function t(t,r){e.call(this),this.source=t,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.Subscription).add(this.source.subscribe(new p(this.getSubject(),this))),e.closed?(this._connection=null,e=s.Subscription.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return u.refCount()(this)},t}(o.Observable);t.ConnectableObservable=c;var l=c.prototype;t.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var p=function(e){function t(t,r){e.call(this,t),this.connectable=r}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.SubjectSubscriber),f=(function(){function e(e){this.connectable=e}e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new f(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i}}(),function(e){function t(t,r){e.call(this,t),this.connectable=r}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(a.Subscriber))},function(e,t,r){"use strict";var n=r(29),i=r(1032);n.Observable.prototype.take=i.take},function(e,t,r){"use strict";var n=r(1033);t.take=function(e){return n.take(e)(this)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77),o=r(1034),a=r(291);t.take=function(e){return function(t){return 0===e?new a.EmptyObservable:t.lift(new s(e))}};var s=function(){function e(e){if(this.total=e,this.total<0)throw new o.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.total))},e}(),u=function(e){function t(t,r){e.call(this,t),this.total=r,this.count=0}return n(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(i.Subscriber)},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);t.ArgumentOutOfRangeError=i},function(e,t,r){"use strict";var n=r(29),i=r(1036);n.Observable.ajax=i.ajax},function(e,t,r){"use strict";var n=r(1037);t.ajax=n.AjaxObservable.create},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(123),o=r(399),a=r(287),s=r(29),u=r(77),c=r(595);function l(){if(i.root.XMLHttpRequest)return new i.root.XMLHttpRequest;if(i.root.XDomainRequest)return new i.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function p(e,t){return void 0===t&&(t=null),new T({method:"GET",url:e,headers:t})}function f(e,t,r){return new T({method:"POST",url:e,body:t,headers:r})}function d(e,t){return new T({method:"DELETE",url:e,headers:t})}function h(e,t,r){return new T({method:"PUT",url:e,body:t,headers:r})}function v(e,t,r){return new T({method:"PATCH",url:e,body:t,headers:r})}t.ajaxGet=p,t.ajaxPost=f,t.ajaxDelete=d,t.ajaxPut=h,t.ajaxPatch=v;var m=c.map((function(e,t){return e.response}));function y(e,t){return m(new T({method:"GET",url:e,responseType:"json",headers:t}))}t.ajaxGetJSON=y;var T=function(e){function t(t){e.call(this);var r={async:!0,createXHR:function(){return this.crossDomain?l.call(this):function(){if(i.root.XMLHttpRequest)return new i.root.XMLHttpRequest;var e=void 0;try{for(var t=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(e=t[r],new i.root.ActiveXObject(e))break}catch(n){}return new i.root.ActiveXObject(e)}catch(n){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"===typeof t)r.url=t;else for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);this.request=r}return n(t,e),t.prototype._subscribe=function(e){return new b(e,this.request)},t.create=function(){var e=function(e){return new t(e)};return e.get=p,e.post=f,e.delete=d,e.put=h,e.patch=v,e.getJSON=y,e}(),t}(s.Observable);t.AjaxObservable=T;var b=function(e){function t(t,r){e.call(this,t),this.request=r,this.done=!1;var n=r.headers=r.headers||{};r.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in n||i.root.FormData&&r.body instanceof i.root.FormData||"undefined"===typeof r.body||(n["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),r.body=this.serializeBody(r.body,r.headers["Content-Type"]),this.send()}return n(t,e),t.prototype.next=function(e){this.done=!0;var t=this.xhr,r=this.request,n=this.destination,i=new g(e,t,r);n.next(i)},t.prototype.send=function(){var e=this.request,t=this.request,r=t.user,n=t.method,i=t.url,s=t.async,u=t.password,c=t.headers,l=t.body,p=e.createXHR,f=o.tr
2yCatch(p).call(e);if(f===a.errorObject)this.error(a.errorObject.e);else{this.xhr=f,this.setupEvents(f,e);if((r?o.tryCatch(f.open).call(f,n,i,s,r,u):o.tryCatch(f.open).call(f,n,i,s))===a.errorObject)return this.error(a.errorObject.e),null;if(s&&(f.timeout=e.timeout,f.responseType=e.responseType),"withCredentials"in f&&(f.withCredentials=!!e.withCredentials),this.setHeaders(f,c),(l?o.tryCatch(f.send).call(f,l):o.tryCatch(f.send).call(f))===a.errorObject)return this.error(a.errorObject.e),null}return f},t.prototype.serializeBody=function(e,t){if(!e||"string"===typeof e)return e;if(i.root.FormData&&e instanceof i.root.FormData)return e;if(t){var r=t.indexOf(";");-1!==r&&(t=t.substring(0,r))}switch(t){case"application/x-www-form-urlencoded":return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");case"application/json":return JSON.stringify(e);default:return e}},t.prototype.setHeaders=function(e,t){for(var r in t)t.hasOwnProperty(r)&&e.setRequestHeader(r,t[r])},t.prototype.setupEvents=function(e,t){var r=t.progressSubscriber;function n(e){var t=n,r=t.subscriber,i=t.progressSubscriber,o=t.request;i&&i.error(e),r.error(new A(this,o))}if(e.ontimeout=n,n.request=t,n.subscriber=this,n.progressSubscriber=r,e.upload&&"withCredentials"in e){var o,a;if(r)o=function(e){o.progressSubscriber.next(e)},i.root.XDomainRequest?e.onprogress=o:e.upload.onprogress=o,o.progressSubscriber=r;a=function(e){var t=a,r=t.progressSubscriber,n=t.subscriber,i=t.request;r&&r.error(e),n.error(new _("ajax error",this,i))},e.onerror=a,a.request=t,a.subscriber=this,a.progressSubscriber=r}function s(e){var t=s,r=t.subscriber,n=t.progressSubscriber,i=t.request;if(4===this.readyState){var o=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===o&&(o=a?200:0),200<=o&&o<300?(n&&n.complete(),r.next(e),r.complete()):(n&&n.error(e),r.error(new _("ajax error "+o,this,i)))}}e.onreadystatechange=s,s.subscriber=this,s.progressSubscriber=r,s.request=t},t.prototype.unsubscribe=function(){var t=this.done,r=this.xhr;!t&&r&&4!==r.readyState&&"function"===typeof r.abort&&r.abort(),e.prototype.unsubscribe.call(this)},t}(u.Subscriber);t.AjaxSubscriber=b;var g=function(e,t,r){this.originalEvent=e,this.xhr=t,this.request=r,this.status=t.status,this.responseType=t.responseType||r.responseType,this.response=S(this.responseType,t)};t.AjaxResponse=g;var _=function(e){function t(t,r,n){e.call(this,t),this.message=t,this.xhr=r,this.request=n,this.status=r.status,this.responseType=r.responseType||n.responseType,this.response=S(this.responseType,r)}return n(t,e),t}(Error);function S(e,t){switch(e){case"json":return"response"in t?t.responseType?t.response:JSON.parse(t.response||t.responseText||"null"):JSON.parse(t.responseText||"null");case"xml":return t.responseXML;case"text":default:return"response"in t?t.response:t.responseText}}t.AjaxError=_;var A=function(e){function t(t,r){e.call(this,"ajax timeout",t,r)}return n(t,e),t}(_);t.AjaxTimeoutError=A},function(e,t,r){"use strict";var n=r(29),i=r(1039);n.Observable.empty=i.empty},function(e,t,r){"use strict";var n=r(291);t.empty=n.EmptyObservable.create},function(e,t,r){"use strict";var n=r(29),i=r(1041);n.Observable.from=i.from},function(e,t,r){"use strict";var n=r(1042);t.from=n.FromObservable.create},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(286),o=r(591),a=r(592),s=r(1043),u=r(1044),c=r(403),l=r(1045),p=r(402),f=r(29),d=r(1046),h=r(401),v=function(e){function t(t,r){e.call(this,null),this.ish=t,this.scheduler=r}return n(t,e),t.create=function(e,r){if(null!=e){if("function"===typeof e[h.observable])return e instanceof f.Observable&&!r?e:new t(e,r);if(i.isArray(e))return new c.ArrayObservable(e,r);if(a.isPromise(e))return new s.PromiseObservable(e,r);if("function"===typeof e[p.iterator]||"string"===typeof e)return new u.IteratorObservable(e,r);if(o.isArrayLike(e))return new l.ArrayLikeObservable(e,r)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}
2,t.prototype._subscribe=function(e){var t=this.ish,r=this.scheduler;return null==r?t[h.observable]().subscribe(e):t[h.observable]().subscribe(new d.ObserveOnSubscriber(e,r,0))},t}(f.Observable);t.FromObservable=v},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(123),o=function(e){function t(t,r){e.call(this),this.promise=t,this.scheduler=r}return n(t,e),t.create=function(e,r){return new t(e,r)},t.prototype._subscribe=function(e){var t=this,r=this.promise,n=this.scheduler;if(null==n)this._isScalar?e.closed||(e.next(this.value),e.complete()):r.then((function(r){t.value=r,t._isScalar=!0,e.closed||(e.next(r),e.complete())}),(function(t){e.closed||e.error(t)})).then(null,(function(e){i.root.setTimeout((function(){throw e}))}));else if(this._isScalar){if(!e.closed)return n.schedule(a,0,{value:this.value,subscriber:e})}else r.then((function(r){t.value=r,t._isScalar=!0,e.closed||e.add(n.schedule(a,0,{value:r,subscriber:e}))}),(function(t){e.closed||e.add(n.schedule(s,0,{err:t,subscriber:e}))})).then(null,(function(e){i.root.setTimeout((function(){throw e}))}))},t}(r(29).Observable);function a(e){var t=e.value,r=e.subscriber;r.closed||(r.next(t),r.complete())}function s(e){var t=e.err,r=e.subscriber;r.closed||r.error(t)}t.PromiseObservable=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(123),o=r(29),a=r(402),s=function(e){function t(t,r){if(e.call(this),this.scheduler=r,null==t)throw new Error("iterator cannot be null.");this.iterator=function(e){var t=e[a.iterator];if(!t&&"string"===typeof e)return new u(e);
2if(!t&&void 0!==e.length)return new c(e);if(!t)throw new TypeError("object is not iterable");return e[a.iterator]()}(t)}return n(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.index,r=e.hasError,n=e.iterator,i=e.subscriber;if(r)i.error(e.error);else{var o=n.next();o.done?i.complete():(i.next(o.value),e.index=t+1,i.closed?"function"===typeof n.return&&n.return():this.schedule(e))}},t.prototype._subscribe=function(e){var r=this.iterator,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{index:0,iterator:r,subscriber:e});for(;;){var i=r.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed){"function"===typeof r.return&&r.return();break}}},t}(o.Observable);t.IteratorObservable=s;var u=function(){function e(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length),this.str=e,this.idx=t,this.len=r}return e.prototype[a.iterator]=function(){return this},e.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},e}(),c=function(){function e(e,t,r){void 0===t&&(t=0),void 0===r&&(r=function(e){var t=+e.length;if(isNaN(t))return 0;if(0===t||(r=t,"number"!==typeof r||!i.root.isFinite(r)))return t;var r;if((t=function(e){var t=+e;if(0===t)return t;if(isNaN(t))return t;return t<0?-1:1}(t)*Math.floor(Math.abs(t)))<=0)return 0;if(t>l)return l;return t}(e)),this.arr=e,this.idx=t,this.len=r}return e.prototype[a.iterator]=function(){return this},e.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},e}();var l=Math.pow(2,53)-1},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(29),o=r(593),a=r(291),s=function(e){function t(t,r){e.call(this),this.arrayLike=t,this.scheduler=r,r||1!==t.length||(this._isScalar=!0,this.value=t[0])}return n(t,e),t.create=function(e,r){var n=e.length;return 0===n?new a.EmptyObservable:1===n?new o.ScalarObservable(e[0],r):new t(e,r)},t.dispatch=function(e){var t=e.arrayLike,r=e.index,n=e.length,i=e.subscriber;i.closed||(r>=n?i.complete():(i.next(t[r]),e.index=r+1,this.schedule(e)))},t.prototype._subscribe=function(e){var r=this.arrayLike,n=this.scheduler,i=r.length;if(n)return n.schedule(t.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:e});for(var o=0;o<i&&!e.closed;o++)e.next(r[o]);e.complete()},t}(i.Observable);t.ArrayLikeObservable=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=r(77),o=r(594);t.observeOn=function(e,t){return void 0===t&&(t=0),function(r){return r.lift(new a(e,t))}};var a=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.scheduler,this.delay))},e}();t.ObserveOnOperator=a;var s=function(e){function t(t,r,n){void 0===n&&(n=0),e.call(this,t),this.scheduler=r,this.delay=n}return n(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.add(this.scheduler.schedule(t.dispatch,this.delay,new u(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(o.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(o.Notification.createError(e))},t.prototype._complete=function(){this.scheduleMessage(o.Notification.createComplete())},t}(i.Subscriber);t.ObserveOnSubscriber=s;var u=function(e,t){this.notification=e,this.destination=t};t.ObserveOnMessage=u},function(e,t,r){"use strict";var n=r(29),i=r(1048);n.Observable.interval=i.interval},function(e,t,r){"use strict";var n=r(1049);t.interval=n.IntervalObservable.create},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}
2,i=r(1050),o=r(29),a=r(288),s=function(e){function t(t,r){void 0===t&&(t=0),void 0===r&&(r=a.async),e.call(this),this.period=t,this.scheduler=r,(!i.isNumeric(t)||t<0)&&(this.period=0),r&&"function"===typeof r.schedule||(this.scheduler=a.async)}return n(t,e),t.create=function(e,r){return void 0===e&&(e=0),void 0===r&&(r=a.async),new t(e,r)},t.dispatch=function(e){var t=e.index,r=e.subscriber,n=e.period;r.next(t),r.closed||(e.index+=1,this.schedule(e,n))},t.prototype._subscribe=function(e){var r=this.period,n=this.scheduler;e.add(n.schedule(t.dispatch,r,{index:0,subscriber:e,period:r}))},t}(o.Observable);t.IntervalObservable=s},function(e,t,r){"use strict";var n=r(286);t.isNumeric=function(e){return!n.isArray(e)&&e-parseFloat(e)+1>=0}},function(e,t,r){"use strict";var n=r(29),i=r(1052);n.Observable.of=i.of},function(e,t,r){"use strict";var n=r(403);t.of=n.ArrayObservable.of},function(e,t,r){"use strict";var n=r(29),i=r(1054);n.Observable.throw=i._throw},function(e,t,r){"use strict";var n=r(1055);t._throw=n.ErrorObservable.create},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},i=function(e){function t(t,r){e.call(this),this.error=t,this.scheduler=r}return n(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.error;e.subscriber.error(t)},t.prototype._subscribe=function(e){var r=this.error,n=this.scheduler;if(e.syncErrorThrowable=!0,n)return n.schedule(t.dispatch,0,{error:r,subscriber:e});e.error(r)},t}(r(29).Observable);t.ErrorObservable=i},function(e,t,r){"use strict";var n=r(284);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return e.forEach((function(e){for(var r=(0,i.default)(e),n=r.extname,o=r.name,a=0,s=e;t.includes(s);)s=[o,"(".concat(++a,")")].filter((function(e){return e})).join(" ")+n;t.push(s)})),t};var i=n(r(1057))},function(e,t,r){"use strict";var n=r(284);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e){if(~e.indexOf(".")){var t=e.split(".").reverse(),r=(0,i.default)(t),n=r[0],o=r.slice(1);return{extname:"."+n,name:o.reverse().join(".")}}return{extname:"",name:e}}return{extname:"",name:""}};var i=n(r(1058))},function(e,t,r){var n=r(1059),i=r(598),o=r(599),a=r(1060);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(284),i=r(580);Object.defineProperty(t,"__esModule",{value:!0}),t.DirectLineStreaming=void 0;var o=n(r(581)),a=n(r(1062)),s=n(r(1063)),u=n(r(1066)),c=n(r(582)),l=n(r(583)),p=n(r(584)),f=r(585),d=r(157),h=r(29),v=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(1069)),m=n(r(1070)),y=r(281),T=["attachments"];function b(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}var g=function(){function e(t,r,n){(0,c.default)(this,e),(0,p.default)(this,"activityQueue",[]),this.subscriber=t,this.connectionStatus$=r,this.shouldQueue=n}return(0,l.default)(e,[{key:"setSubscriber",value:function(e){this.subscriber=e}},{key:"processRequest",value:function(){var e=(0,u.default)(a.default.mark((function e(t,r){var n,i,o,u,c,l,p,f,d;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,s.default)(t.streams),i=n.shift(),e.next=4,i.readAsString();case 4:if(o=e.sent,1===(u=JSON.parse(o)).activities.length){e.next=9;break}return this.subscriber.error(new Error("there should be exactly one activity")),e.abrupt("return",v.StreamingResponse.create(500));case 9:if(c=u.activities[0],!(n.length>0)){e.next=21;break}l=(0,s.default)(c.attachments);case 12:if(!(p=n.shift())){e.next=20;break}return e.next=15,p.readAsString();case 15:f=e.sent,d="data:text/plain;base64,"+f,l.push({contentType:p.contentType,contentUrl:d}),e.next=12;break;case 20:c.attachments=l;case 21:return this.shouldQueue()?this.activityQueue.push(c):this.subscriber.next(c),e.abrupt("return",v.StreamingResponse.create(200));case 23:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"flush",value:function(){var e=this;this.connectionStatus$.subscribe((function(e){})),this.activityQueue.forEach((function(t){return e.subscriber.next(t)})),this.activityQueue=[]}}]),e}(),_=function(){function e(t){var r=this;(0,c.default)(this,e),(0,p.default)(this,"connectionStatus$",new f.BehaviorSubject(y.C
2onnectionStatus.Uninitialized)),(0,p.default)(this,"_botAgent",""),this.token=t.token,this.refreshToken(),this.domain=t.domain,t.conversationId&&(this.conversationId=t.conversationId),this._botAgent=this.getBotAgent(t.botAgent),this.queueActivities=!0,this.activity$=h.Observable.create(function(){var e=(0,u.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.activitySubscriber=t,r.theStreamHandler=new g(t,r.connectionStatus$,(function(){return r.queueActivities})),r.connectWithRetryAsync();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).share()}return(0,l.default)(e,[{key:"reconnect",value:function(e){var t=e.conversationId,r=e.token;this.conversationId=t,this.token=r,this.connectAsync()}},{key:"end",value:function(){this.connectionStatus$.next(y.ConnectionStatus.Ended),this.streamConnection.disconnect()}},{key:"commonHeaders",value:function(){return{Authorization:"Bearer ".concat(this.token),"x-ms-bot-agent":this._botAgent}}},{key:"getBotAgent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="directlineStreaming";return e&&(t+="; ".concat(e)),"".concat("DirectLine/3.0"," (").concat(t,")")}},{key:"refreshToken",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,r,n,i,o=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return!(o.length>0&&void 0!==o[0])||o[0],o.length>1&&void 0!==o[1]?o[1]:0,e.next=4,this.waitUntilOnline();case 4:t=0;case 5:if(!(t<3)){e.next=30;break}return t++,e.next=9,new Promise((function(e){return setTimeout(e,9e5)}));case 9:return e.prev=9,e.next=12,(0,m.default)("".concat(this.domain,"/tokens/refresh"),{method:"POST",headers:this.commonHeaders()});case 12:if(!(r=e.sent).ok){e.next=22;break}return t=0,e.next=17,r.json();case 17:n=e.sent,i=n.token,this.token=i,e.next=23;break;case 22:403===r.status||403===r.status?(console.error("Fatal error while refreshing the token: ".concat(r.status," ").concat(r.statusText)),this.streamConnection.disconnect()):console.warn("Refresh attempt #".concat(t," failed: ").concat(r.status," ").concat(r.statusText));case 23:e.next=28;break;case 25:e.prev=25,e.t0=e.catch(9),console.warn("Refresh attempt #".concat(t," threw an exception: ").concat(e.t0));case 28:e.next=5;break;case 30:console.error("Retries exhausted"),this.streamConnection.disconnect();case 32:case"end":return e.stop()}}),e,this,[[9,25]])})));return function(){return e.apply(this,arguments)}}()},{key:"postActivity",value:function(e){var t=this;return"message"===e.type&&e.attachments&&e.attachments.length>0?this.postMessageWithAttachments(e):h.Observable.create(function(){var r=(0,u.default)(a.default.mark((function r(n){var i,o,s,u,c,l;return a.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return(i=v.StreamingRequest.create("POST","/v3/directline/conversations/"+t.conversationId+"/activities")).setBody(JSON.stringify(e)),r.next=4,t.streamConnection.send(i);case 4:if(o=r.sent,r.prev=5,200===o.statusCode){r.next=8;break}throw new Error("PostActivity returned "+o.statusCode);case 8:if(1===(s=o.streams.length)){r.next=11;break}throw new Error("Expected one stream but got "+s);case 11:return r.next=13,o.streams[0].readAsString();case 13:return u=r.sent,c=JSON.parse(u),l=c.Id,r.abrupt("return",n.next(l));case 18:return r.prev=18,r.t0=r.catch(5),console.warn(r.t0),t.streamConnection.disconnect(),r.abrupt("return",n.error(r.t0));case 23:case"end":return r.stop()}}),r,null,[[5,18]])})));return function(e){return r.apply(this,arguments)}}())}},{key:"postMessageWithAttachments",value:function(e){var t=this,r=e.attachments,n=(0,o.default)(e,T);return h.Observable.create((function(e){var i=[];(0,u.default)(a.default.mark((function o(){var s,c,l,p,f,h;return a.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,Promise.all(r.map(function(){var e=(0,u.default)(a.default.mark((function e(t){var r,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t,e.next=3,(0,m.default)(r.contentUrl);case 3:if(!(n=e.sent).ok){e.next=12;break}return e.next=7,n.arrayBuffer();case 7:return e.t0=e.sent,e.t1=r,e.abrupt("return",{arrayBuffer:e.t0,media:e.t1});case 12:throw new Error("...");case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:return o.sent.forEach((function(e){var t=e.arrayBuffer,r=e.media,n=d.Buffer.from(t);console.log(n);var o=new v.SubscribableStream;o.write(n);var a=new v.HttpContent({type:r.contentType,contentLength:n.length},o);i.push(a)})),s="/v3/directline/conversations/".concat(t.conversationId,"/users/").concat(n.from.id,"/upload"),c=v.StreamingRequest.create("PUT",s),(l=new v.SubscribableStream).write(JSON.stringify(n),"utf-8"),c.addStream(new v.HttpContent({type:"application/vnd.microsoft.activity",contentLength:l.length}
2,l)),i.forEach((function(e){return c.addStream(e)})),o.next=13,t.streamConnection.send(c);case 13:if(!(p=o.sent).streams||1===p.streams.length){o.next=18;break}e.error(new Error("Invalid stream count ".concat(p.streams.length))),o.next=23;break;case 18:return o.next=20,p.streams[0].readAsJson();case 20:f=o.sent,h=f.Id,e.next(h);case 23:o.next=28;break;case 25:o.prev=25,o.t0=o.catch(0),e.error(o.t0);case 28:case"end":return o.stop()}}),o,null,[[0,25]])})))()}))}},{key:"waitUntilOnline",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){t.connectionStatus$.subscribe((function(t){if(t===y.ConnectionStatus.Online)return e()}),(function(e){return r(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"connectAsync",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,r,n,i,o=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=new RegExp("^http(s?)")).test(this.domain)){e.next=3;break}throw"Domain must begin with http or https";case 3:return r={token:this.token},this.conversationId&&(r.conversationId=this.conversationId),n=new URLSearchParams(r).toString(),i="".concat(this.domain.replace(t,"ws$1"),"/conversations/connect?").concat(n),e.abrupt("return",new Promise(function(){var e=(0,u.default)(a.default.mark((function e(t,r){var n,s,u,c;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,o.streamConnection=new v.WebSocketClient({url:i,requestHandler:o.theStreamHandler,disconnectionHandler:function(e){return t(e)}}),o.queueActivities=!0,e.next=5,o.streamConnection.connect();case 5:return n=v.StreamingRequest.create("POST","/v3/directline/conversations"),e.next=8,o.streamConnection.send(n);case 8:if(200===(s=e.sent).statusCode){e.next=11;break}throw new Error("Connection response code "+s.statusCode);case 11:if(1===s.streams.length){e.next=13;break}throw new Error("Expected 1 stream but got "+s.streams.length);case 13:return e.next=15,s.streams[0].readAsString();case 15:return u=e.sent,c=JSON.parse(u),o.conversationId=c.conversationId,o.connectionStatus$.next(y.ConnectionStatus.Online),e.next=21,o.waitUntilOnline();case 21:o.theStreamHandler.flush(),o.queueActivities=!1,e.next=28;break;case 25:e.prev=25,e.t0=e.catch(0),r(e.t0);case 28:case"end":return e.stop()}}),e,null,[[0,25]])})));return function(t,r){return e.apply(this,arguments)}}()));case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"connectWithRetryAsync",value:function(){var e=(0,u.default)(a.default.mark((function e(){var t,r,n,i=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=3;case 1:if(!(t>0)){e.next=23;break}return t--,r=Date.now(),e.prev=4,this.connectionStatus$.next(y.ConnectionStatus.Connecting),e.next=8,this.connectAsync();case 8:if(n=e.sent,console.warn("Retrying connection ".concat(n)),!(6e4<Date.now()-r)){e.next=13;break}return t=3,e.abrupt("continue",1);case 13:e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(4),console.error("Failed to connect ".concat(e.t0)),e.t0;case 19:return e.next=21,new Promise((function(e){return setTimeout(e,i.getRetryDelay())}));case 21:e.next=1;break;case 23:case"end":return e.stop()}}),e,this,[[4,15]])})));return function(){return e.apply(this,arguments)}}()},{key:"getRetryDelay",value:function(){return Math.floor(3e3+12e3*Math.random())}}]),e}();t.DirectLineStreaming=_},function(e,t,r){e.exports=r(150)},function(e,t,r){var n=r(1064),i=r(598),o=r(599),a=r(1065);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(600);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}
2e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?i-1:0,f=r?-1:1,d=e[t+p];for(p+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+p],p+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,p=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,h=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+d]=255&a,d+=h,a/=256,c-=8);e[r+d-h]|=128*v}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){(function(t){e.exports=function e(t,r,n){function i(a,s){if(!r[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,r,n)}return r[a].exports}for(var o=!1,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadAssembler=void 0;var o=e("../subscribableStream"),a=e("../payloads"),s=e("../contentStream"),u=function(){function e(e,t){if(this.streamManager=e,this._byteOrderMark=65279,this._utf="utf8",t.header?(this.id=t.header.id,this.payloadType=t.header.payloadType,this.contentLength=t.header.payloadLength,this.end=t.header.end):this.id=t.id,!this.id)throw Error("An ID must be supplied when creating an assembler.");this._onCompleted=t.onCompleted}return e.prototype.getPayloadStream=function(){return this.stream||(this.stream=this.createPayloadStream()),this.stream},e.prototype.onReceive=function(e,t,r){this.end=e.end,e.payloadType===a.PayloadTypes.response||e.payloadType===a.PayloadTypes.request?this.process(t).then().catch():e.end&&t.end()},e.prototype.close=function(){this.streamManager.closeStream(this.id)},e.prototype.createPayloadStream=function(){return new o.SubscribableStream},e.prototype.payloadFromJson=function(e){return JSON.parse(e.charCodeAt(0)===this._byteOrderMark?e.slice(1):e)},e.prototype.stripBOM=function(e){return e.charCodeAt(0)===this._byteOrderMark?e.slice(1):e},e.prototype.process=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return(t=e.read(e.length))?(r=t.toString(this._utf),this.payloadType!==a.PayloadTypes.request?[3,2]:[4,this.processRequest(r)]):[2];case 1:return n.sent(),[3,4];case 2:return this.payloadType!==a.PayloadTypes.response?[3,4]:[4,this.processResponse(r)];case 3:n.sent(),n.label=4;case 4:return[2]}}
2))}))},e.prototype.processResponse=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return t=this.payloadFromJson(this.stripBOM(e)),r={streams:[],statusCode:t.statusCode},[4,this.processStreams(t,r)];case 1:return n.sent(),[2]}}))}))},e.prototype.processRequest=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return t=this.payloadFromJson(e),r={streams:[],path:t.path,verb:t.verb},[4,this.processStreams(t,r)];case 1:return n.sent(),[2]}}))}))},e.prototype.processStreams=function(e,t){return n(this,void 0,void 0,(function(){var r=this;return i(this,(function(n){switch(n.label){case 0:return e.streams&&e.streams.forEach((function(e){var n=r.streamManager.getPayloadAssembler(e.id);n.payloadType=e.contentType,n.contentLength=e.length,t.streams.push(new s.ContentStream(e.id,n))})),[4,this._onCompleted(this.id,t)];case 1:return n.sent(),[2]}}))}))},e}();r.PayloadAssembler=u},{"../contentStream":2,"../payloads":16,"../subscribableStream":27}],2:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.ContentStream=void 0;var o=function(){function e(e,t){if(!t)throw Error("Null Argument Exception");this.id=e,this.assembler=t}return Object.defineProperty(e.prototype,"contentType",{get:function(){return this.assembler.payloadType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this.assembler.contentLength},enumerable:!1,configurable:!0}),e.prototype.getStream=function(){return this.stream||(this.stream=this.assembler.getPayloadStream()),this.stream},e.prototype.cancel=function(){this.assembler.close()},e.prototype.readAsString=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.readAll()];case 1:return[2,(e.sent().bufferArray||[]).map((function(e){return e.toString("utf8")})).join("")]}}))}))},e.prototype.readAsJson=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return[4,this.readAsString()];case 1:return e=t.sent(),[2,JSON.parse(e)]}}))}))},e.prototype.readAll=function(){return n(this,void 0,void 0,(function(){var e,t,r,n,o=this;return i(this,(function(i){switch(i.label){case 0:for(e=[],t=0,r=this.getStream();t<r.length;)n=r.read(r.length),e.push(n),t+=n.length;return t<this.length?[4,new Promise((function(n){var i;r.subscribe((i=o,function(r){e.push(r),(t+=r.length)===i.length&&n(!0)}))}))]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2,{bufferArray:e,size:t}]}}))}))},e}();r.ContentStream=o},{}],3:[function(e,t,r){"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),r.CancelDisassembler=void 0;var n=function(){function e(e,t,r){this.sender=e,this.id=t,this.payloadType=r}return e.prototype.disassemble=function(){var e={payloadType:this.payloadType,payloadLength:0,id:this.id,end:!0};this.sender.sendPayload(e)},e}();r.CancelDisassembler=n},{}],4:[function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.HttpContentStreamDisassembler=void 0;var a=e("./payloadDisassembler"),s=e("../payloads"),u=function(e){function t(t,r){var n=e.call(this,t,r.id)||this;return n.payloadType=s.PayloadTypes.stream,n.contentStream=r,n}return n(t,e),t.prototype.getStream=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){return[2,{stream:e=this.contentStream.content.getStream(),streamLength:e.length}]}))}))},t}(a.PayloadDisassembler);r.HttpContentStreamDisassembler=u},{"../payloads":16,"./payloadDisassembler":5}],5:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};
2Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadDisassembler=void 0;var o=e("../subscribableStream"),a=function(){function e(e,t){this.sender=e,this.id=t}return e.serialize=function(e){var t=new o.SubscribableStream;return t.write(JSON.stringify(e)),t.end(),{stream:t,streamLength:t.length}},e.prototype.disassemble=function(){return n(this,void 0,void 0,(function(){var e,t,r;return i(this,(function(n){switch(n.label){case 0:return[4,this.getStream()];case 1:return e=n.sent(),t=e.stream,r=e.streamLength,this.stream=t,this.streamLength=r,[2,this.send()]}}))}))},e.prototype.send=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){return e={payloadType:this.payloadType,payloadLength:this.streamLength,id:this.id,end:!0},this.sender.sendPayload(e,this.stream),[2]}))}))},e}();r.PayloadDisassembler=a},{"../subscribableStream":27}],6:[function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.RequestDisassembler=void 0;var a=e("../payloads/payloadTypes"),s=e("./payloadDisassembler"),u=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.request=n,i.payloadType=a.PayloadTypes.request,i}return n(t,e),t.prototype.getStream=function(){var e,t,r,n;return i(this,void 0,void 0,(function(){var i;return o(this,(function(o){return i={verb:null===(e=this.request)||void 0===e?void 0:e.verb,path:null===(t=this.request)||void 0===t?void 0:t.path,streams:[]},null===(n=null===(r=this.request)||void 0===r?void 0:r.streams)||void 0===n||n.forEach((function(e){i.streams.push(e.description)})),[2,s.PayloadDisassembler.serialize(i)]}))}))},t}(s.PayloadDisassembler);r.RequestDisassembler=u},{"../payloads/payloadTypes":19,"./payloadDisassembler":5}],7:[function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.ResponseDisassembler=void 0;var a=e("../payloads/payloadTypes"),s=e("./payloadDisassembler"),u=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.payloadType=a.PayloadTypes.response,i.response=n,i}return n(t,e),t.prototype.getStream=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){return e={statusCode:this.response.statusCode,streams:[]},this.response.streams&&this.response.streams.forEach((function(t){e.streams.push(t.description)})),[2,s.PayloadDisassembler.serialize(e)]}))}))},t}(s.PayloadDisassembler);r.ResponseDisassembler=u},{"../payloads/payloadTypes":19,"./payloadDisassembler":5}],8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.HttpContent=r.HttpContentStream=void 0;var n=e("./utilities/protocol-base"),i=function(e){var t,r,i,o,a,s;this.content=e,this.id=n.generateGuid(),this.description={id:this.id,type:null!==(i=null===(r=null===(t=this.content)||void 0===t?void 0:t.headers)||void 0===r?void 0:r.type)&&void 0!==i?i:"unknown",length:null!==(s=null===(a=null===(o=this.content)||void 0===o?void 0:o.headers)||void 0===a?void 0:a.contentLength)&&void 0!==s?s:0}};r.HttpContentStream=i;var o=function(){function e(e,t){this.headers=e,this.stream=t}return e.prototype.getStream=function(){return this.stream},e}();r.HttpContent=o},{"./utilities/protocol-base":28}],9:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketClient=r.BrowserWebSocket=r.SubscribableStream=r.StreamingResponse=r.StreamingRequest=r.RequestHandler=r.HttpContent=r.ContentStream=void 0;var n=e("./contentStream");Object.defineProperty(r,"ContentStream",{enumerable:!0,get:function(){return n.ContentStream}});var i=e("./httpContentStream");Object.defineProperty(r,"HttpContent",{enumerable:!0,get:function(){return i.HttpContent}});var o=e("./requestHandler");Object.defineProperty(r,"RequestHandler",{enumerable:!0,get:function(){return o.RequestHandler}});var a=e("./streamingRequest");Object.defineProperty(r,"StreamingRequest",{enumerable:!0,get:function(){return a.StreamingRequest}});var s=e("./streamingResponse");Object.defineProperty(r,"StreamingResponse",{enumerable:!0,get:function(){return s.StreamingResponse}});var u=e("./subscribableStream");Object.defineProperty(r,"SubscribableStream",{enumerable:!0,get:function(){return u.SubscribableStream}});var c=e("./webSocket/index-browser");Object.defineProperty(r,"BrowserWebSocket",{enumerable:!0,get:function(){return c.BrowserWebSocket}}),Object.defineProperty(r,"WebSocketClient",{enumerable:!0,get:function(){return c.WebSocketClient}})},{"./contentStream":2,"./httpContentStream":8,"./requestHandler":24,"./streamingRequest":25,"./streamingResponse":26,"./subscribableStream":27,"./webSocket/index-browser":31}],10:[function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),i(e("./payloadReceiver"),r),i(e("./payloadSender"),r),i(e("./transportDisconnectedEvent"),r),i(e("./transportDisconnectedEventHandler"),r)},{"./payloadReceiver":11,"./payloadSender":12,"./transportDisconnectedEvent":13,"./transportDisconnectedEventHandler":14}],11:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadReceiver=void 0;var o=e("../payloads/payloadTypes"),a=e("../payloads/headerSerializer"),s=e("../payloads/payloadConstants"),u=e("./transportDisconnectedEvent"),c=function(){function e(){}return Object.defineProperty(e.prototype,"isConnected",{get:function(){return null!=this._receiver},enumerable:!1,configurable:!0}),e.prototype.connect=function(e){return this._receiver=e,this.receivePackets()},e.prototype.subscribe=function(e,t){this._getStream=e,this._receiveAction=t},e.prototype.disconnect=function(e){var t,r;if(void 0===e&&(e=u.TransportDisconnectedEvent.Empty),this.isConnected)try{this._receiver.close(),null===(t=this.disconnected)||void 0===t||t.call(this,this,e)}catch(n){null===(r=this.disconnected)||void 0===r||r.call(this,this,new u.TransportDisconnectedEvent(n.message))}finally{this._receiver=null}},e.prototype.receivePackets=function(){return n(this,void 0,void 0,(function(){var e,t,r,n,c,l,p,f,d;return i(this,(function(i){switch(i.label){case 0:if(!this.isConnected)return[3,11];i.label=1;case 1:i.trys.push([1,9,,10]),e=0,i.label=2;case 2:return e<s.PayloadConstants.MaxHeaderLength?(t=this,[4,this._receiver.receive(s.PayloadConstants.MaxHeaderLength-e)]):[3,4];case 3:return t._receiveHeaderBuffer=i.sent(),this._receiveHeaderBuffer&&(e+=this._receiveHeaderBuffer.length),[3,2];case 4:if(r=a.HeaderSerializer.deserialize(this._receiveHeaderBuffer),n=r.payloadType===o.PayloadTypes.stream,!(r.payloadLength>0))return[3,8];c=0,l=this._getStream(r),i.label=5;case 5:return c<r.payloadLength&&c<s.PayloadConstants.MaxPayloadLength?(p=Math.min(r.payloadLength-c,s.PayloadConstants.MaxPayloadLength),f=this,[4,this._receiver.receive(p)]):[3,7];case 6:return f._receivePayloadBuffer=i.sent(),c+=this._receivePayloadBuffer.byteLength,l.write(this._receivePayloadBuffer),n&&this._receiveAction(r,l,c),[3,5];case 7:n||this._receiveAction(r,l,c),i.label=8;case 8:return[3,10];case 9:return d=i.sent(),this.disconnect(new u.TransportDisconnectedEvent(d.message)),[3,10];case 10:return[3,0];case 11:return[2]}}
2))}))},e}();r.PayloadReceiver=c},{"../payloads/headerSerializer":15,"../payloads/payloadConstants":18,"../payloads/payloadTypes":19,"./transportDisconnectedEvent":13}],12:[function(e,t,r){(function(t){(function(){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadSender=void 0;var n=e("../payloads/headerSerializer"),i=e("../payloads/payloadConstants"),o=e("./transportDisconnectedEvent"),a=function(){function e(){}return Object.defineProperty(e.prototype,"isConnected",{get:function(){return null!=this._sender},enumerable:!1,configurable:!0}),e.prototype.connect=function(e){this._sender=e},e.prototype.sendPayload=function(e,t,r){var n={header:e,payload:t,sentCallback:r};this.writePacket(n)},e.prototype.disconnect=function(e){var t,r;if(void 0===e&&(e=o.TransportDisconnectedEvent.Empty),this.isConnected)try{this._sender.close(),null===(t=this.disconnected)||void 0===t||t.call(this,this,e)}catch(n){null===(r=this.disconnected)||void 0===r||r.call(this,this,new o.TransportDisconnectedEvent(n.message))}finally{this._sender=null}},e.prototype.writePacket=function(e){try{if(e.header.payloadLength>0&&e.payload){for(var r=e.header.payloadLength;r>0;){var a=r<=i.PayloadConstants.MaxPayloadLength?r:i.PayloadConstants.MaxPayloadLength,s=e.payload.read(a),u=e.header;u.payloadLength=a,u.end=r<=i.PayloadConstants.MaxPayloadLength;var c=t.alloc(i.PayloadConstants.MaxHeaderLength);n.HeaderSerializer.serialize(u,c),this._sender.send(c),this._sender.send(s),r-=s.length}e.sentCallback&&e.sentCallback()}}catch(l){this.disconnect(new o.TransportDisconnectedEvent(l.message))}},e}();r.PayloadSender=a}).call(this)}).call(this,e("buffer").Buffer)},{"../payloads/headerSerializer":15,"../payloads/payloadConstants":18,"./transportDisconnectedEvent":13,buffer:50}],13:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TransportDisconnectedEvent=void 0;var n=function(){function e(e){this.reason=e}return e.Empty=new e,e}();r.TransportDisconnectedEvent=n},{}],14:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},{}],15:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderSerializer=void 0;var n=e("./payloadConstants"),i=function(){function e(){}return e.serialize=function(e,t){t.write(e.payloadType,this.TypeOffset,1,this.Encoding),t.write(this.Delimiter,this.TypeDelimiterOffset,1,this.Encoding),t.write(this.headerLengthPadder(e.payloadLength,this.LengthLength,"0"),this.LengthOffset,this.LengthLength,this.Encoding),t.write(this.Delimiter,this.LengthDelimeterOffset,1,this.Encoding),t.write(e.id,this.IdOffset),t.write(this.Delimiter,this.IdDelimeterOffset,1,this.Encoding),t.write(e.end?this.End:this.NotEnd,this.EndOffset),t.write(this.Terminator,this.TerminatorOffset)},e.deserialize=function(e){var t=e.toString(this.Encoding),r=t.split(this.Delimiter);if(4!==r.length)throw Error("Cannot parse header, header is malformed. Header: "+t);var i=r[0],o=r[1],a=r[2],s=r[3],u={end:"1\n"===s,payloadLength:Number(o),payloadType:i,id:a};if(!(u.payloadLength<=n.PayloadConstants.MaxPayloadLength&&u.payloadLength>=n.PayloadConstants.MinLength))throw Error("Header length of "+u.payloadLength+" is missing or malformed");if(u.payloadType.length!==this.TypeDelimiterOffset)throw Error("Header type '"+u.payloadType.length+"' is missing or malformed.");if(!u.id||!u.id.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i)||u.id.length!==this.IdLength)throw Error("Header ID '"+u.id+"' is missing or malformed.");if("0\n"!==s&&"1\n"!==s)throw Error("Header End is missing or not a valid value. Header end: '"+s+"'");return u},e.headerLengthPadder=function(e,t,r){var n=Array(t+1).join(r),i=e.toString();return(n+i).slice(i.length)},e.Delimiter=".",e.Terminator="\n",e.End="1",e.NotEnd="0",e.TypeOffset=0,e.TypeDelimiterOffset=1,e.LengthOffset=2,e.LengthLength=6,e.LengthDelimeterOffset=8,e.IdOffset=9,e.IdLength=36,e.IdDelimeterOffset=45,e.EndOffset=46,e.TerminatorOffset=47,e.Encoding="utf8",e}();r.HeaderSerializer=i},{"./payloadConstants":18}],16:[function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};
2Object.defineProperty(r,"__esModule",{value:!0}),i(e("./headerSerializer"),r),i(e("./streamManager"),r),i(e("./payloadAssemblerManager"),r),i(e("./payloadTypes"),r),i(e("./requestManager"),r),i(e("./sendOperations"),r),i(e("./streamManager"),r)},{"./headerSerializer":15,"./payloadAssemblerManager":17,"./payloadTypes":19,"./requestManager":20,"./sendOperations":21,"./streamManager":22}],17:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadAssemblerManager=void 0;var n=e("../assemblers/payloadAssembler"),i=e("./payloadTypes"),o=function(){function e(e,t,r){this.streamManager=e,this.onReceiveResponse=t,this.onReceiveRequest=r,this.activeAssemblers={}}return e.prototype.getPayloadStream=function(e){if(e.payloadType===i.PayloadTypes.stream)return this.streamManager.getPayloadStream(e);if(!this.activeAssemblers[e.id]){var t=this.createPayloadAssembler(e);if(t)return this.activeAssemblers[e.id]=t,t.getPayloadStream()}},e.prototype.onReceive=function(e,t,r){e.payloadType===i.PayloadTypes.stream?this.streamManager.onReceive(e,t,r):(this.activeAssemblers&&this.activeAssemblers[e.id]&&this.activeAssemblers[e.id].onReceive(e,t,r),e.end&&delete this.activeAssemblers[e.id])},e.prototype.createPayloadAssembler=function(e){return e.payloadType===i.PayloadTypes.request?new n.PayloadAssembler(this.streamManager,{header:e,onCompleted:this.onReceiveRequest}):e.payloadType===i.PayloadTypes.response?new n.PayloadAssembler(this.streamManager,{header:e,onCompleted:this.onReceiveResponse}):void 0},e}();r.PayloadAssemblerManager=o},{"../assemblers/payloadAssembler":1,"./payloadTypes":19}],18:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadConstants=void 0,function(e){e[e.MaxPayloadLength=4096]="MaxPayloadLength",e[e.MaxHeaderLength=48]="MaxHeaderLength",e[e.MaxLength=999999]="MaxLength",e[e.MinLength=0]="MinLength"}(r.PayloadConstants||(r.PayloadConstants={}))},{}],19:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PayloadTypes=void 0,function(e){e.request="A",e.response="B",e.stream="S",e.cancelAll="X",e.cancelStream="C"}
2(r.PayloadTypes||(r.PayloadTypes={}))},{}],20:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.RequestManager=void 0;var o=function(){},a=function(){function e(){this._pendingRequests={}}return e.prototype.pendingRequestCount=function(){return Object.keys(this._pendingRequests).length},e.prototype.signalResponse=function(e,t){return n(this,void 0,void 0,(function(){var r;return i(this,(function(n){return(r=this._pendingRequests[e])?(r.resolve(t),delete this._pendingRequests[e],[2,!0]):[2,!1]}))}))},e.prototype.getResponse=function(e){var t=this._pendingRequests[e];if(t)return Promise.reject("requestId '"+e+"' already exists in RequestManager");(t=new o).requestId=e;var r=new Promise((function(e,r){t.resolve=e,t.reject=r}));return this._pendingRequests[e]=t,r},e}();r.RequestManager=a},{}],21:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.SendOperations=void 0;var o=e("../disassemblers/cancelDisassembler"),a=e("../disassemblers/httpContentStreamDisassembler"),s=e("../disassemblers/requestDisassembler"),u=e("../disassemblers/responseDisassembler"),c=e("./payloadTypes"),l=function(){function e(e){this.payloadSender=e}return e.prototype.sendRequest=function(e,t){return n(this,void 0,void 0,(function(){var r=this;return i(this,(function(o){switch(o.label){case 0:return[4,new s.RequestDisassembler(this.payloadSender,e,t).disassemble()];
2case 1:return o.sent(),t.streams&&t.streams.forEach((function(e){return n(r,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,new a.HttpContentStreamDisassembler(this.payloadSender,e).disassemble()];case 1:return t.sent(),[2]}}))}))})),[2]}}))}))},e.prototype.sendResponse=function(e,t){return n(this,void 0,void 0,(function(){var r=this;return i(this,(function(o){switch(o.label){case 0:return[4,new u.ResponseDisassembler(this.payloadSender,e,t).disassemble()];case 1:return o.sent(),t.streams&&t.streams.forEach((function(e){return n(r,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,new a.HttpContentStreamDisassembler(this.payloadSender,e).disassemble()];case 1:return t.sent(),[2]}}))}))})),[2]}}))}))},e.prototype.sendCancelStream=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){return new o.CancelDisassembler(this.payloadSender,e,c.PayloadTypes.cancelStream).disassemble(),[2]}))}))},e}();r.SendOperations=l},{"../disassemblers/cancelDisassembler":3,"../disassemblers/httpContentStreamDisassembler":4,"../disassemblers/requestDisassembler":6,"../disassemblers/responseDisassembler":7,"./payloadTypes":19}],22:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StreamManager=void 0;var n=e("../assemblers/payloadAssembler"),i=function(){function e(e){this.onCancelStream=e,this.activeAssemblers=[]}return e.prototype.getPayloadAssembler=function(e){if(this.activeAssemblers[e])return this.activeAssemblers[e];var t=new n.PayloadAssembler(this,{id:e});return this.activeAssemblers[e]=t,t},e.prototype.getPayloadStream=function(e){return this.getPayloadAssembler(e.id).getPayloadStream()},e.prototype.onReceive=function(e,t,r){this.activeAssemblers[e.id]&&this.activeAssemblers[e.id].onReceive(e,t,r)},e.prototype.closeStream=function(e){if(this.activeAssemblers[e]){var t=this.activeAssemblers[e];this.activeAssemblers.splice(this.activeAssemblers.indexOf(e),1);var r=t.getPayloadStream();(t.contentLength&&r.length<t.contentLength||!t.end)&&this.onCancelStream(t)}},e}();r.StreamManager=i},{"../assemblers/payloadAssembler":1}],23:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.ProtocolAdapter=void 0;var o=e("./payloads/payloadAssemblerManager"),a=e("./payloads/sendOperations"),s=e("./payloads/streamManager"),u=e("./utilities/protocol-base"),c=function(){function e(e,t,r,n){var i=this;this.requestHandler=e,this.requestManager=t,this.payloadSender=r,this.payloadReceiver=n,this.sendOperations=new a.SendOperations(this.payloadSender),this.streamManager=new s.StreamManager(this.onCancelStream),this.assemblerManager=new o.PayloadAssemblerManager(this.streamManager,(function(e,t){return i.onReceiveResponse(e,t)}),(function(e,t){return i.onReceiveRequest(e,t)})),this.payloadReceiver.subscribe((function(e){return i.assemblerManager.getPayloadStream(e)}),(function(e,t,r){return i.assemblerManager.onReceive(e,t,r)}))}return e.prototype.sendRequest=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=u.generateGuid(),[4,this.sendOperations.sendRequest(t,e)];case 1:return r.sent(),[2,this.requestManager.getResponse(t)]}}))}))},e.prototype.onReceiveRequest=function(e,t){return n(this,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return this.requestHandler?[4,this.requestHandler.processRequest(t)]:[3,3];case 1:return(r=n.sent())?[4,this.sendOperations.sendResponse(e,r)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[2]}}
2))}))},e.prototype.onReceiveResponse=function(e,t){return n(this,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return[4,this.requestManager.signalResponse(e,t)];case 1:return r.sent(),[2]}}))}))},e.prototype.onCancelStream=function(e){this.sendOperations.sendCancelStream(e.id).catch()},e}();r.ProtocolAdapter=c},{"./payloads/payloadAssemblerManager":17,"./payloads/sendOperations":21,"./payloads/streamManager":22,"./utilities/protocol-base":28}],24:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.RequestHandler=void 0;var n=function(){};r.RequestHandler=n},{}],25:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StreamingRequest=void 0;var n=e("./httpContentStream"),i=e("./subscribableStream"),o=function(){function e(){this.streams=[]}return e.create=function(t,r,n){var i=new e;return i.verb=t,i.path=r,n&&i.setBody(n),i},e.prototype.addStream=function(e){if(!e)throw new Error("Argument Undefined Exception: content undefined.");this.streams.push(new n.HttpContentStream(e))},e.prototype.setBody=function(e){if("string"===typeof e){var t=new i.SubscribableStream;t.write(e,"utf8"),this.addStream(new n.HttpContent({type:"application/json; charset=utf-8",contentLength:t.length},t))}else"object"===typeof e&&this.addStream(e)},e}();r.StreamingRequest=o},{"./httpContentStream":8,"./subscribableStream":27}],26:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StreamingResponse=void 0;var n=e("./httpContentStream"),i=e("./subscribableStream"),o=function(){function e(){this.streams=[]}return e.create=function(t,r){var n=new e;return n.statusCode=t,r&&n.addStream(r),n},e.prototype.addStream=function(e){this.streams.push(new n.HttpContentStream(e))},e.prototype.setBody=function(e){var t=new i.SubscribableStream;t.write(JSON.stringify(e),"utf8"),this.addStream(new n.HttpContent({type:"application/json; charset=utf-8",contentLength:t.length},t))},e}();r.StreamingResponse=o},{"./httpContentStream":8,"./subscribableStream":27}],27:[function(e,t,r){(function(t){(function(){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(r,"__esModule",{value:!0}),r.SubscribableStream=void 0;var i=function(e){function r(t){var r=e.call(this,t)||this;return r.length=0,r.bufferList=[],r}return n(r,e),r.prototype._write=function(e,r,n){var i=t.from(e);this.bufferList.push(i),this.length+=e.length,this._onData&&this._onData(i),n()},r.prototype._read=function(e){if(0===this.bufferList.length)this.push(null);else for(var t=0;t<e&&this.bufferList.length>0;){var r=this.bufferList[0];this.push(r),this.bufferList.splice(0,1),t+=r.length}},r.prototype.subscribe=function(e){this._onData=e},r}(e("stream").Duplex);r.SubscribableStream=i}).call(this)}).call(this,e("buffer").Buffer)},{buffer:50,stream:56}],28:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generateGuid=void 0;var n=e("uuid");r.generateGuid=function(){return n.v4()}},{uuid:33}],29:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};
2Object.defineProperty(r,"__esModule",{value:!0}),r.BrowserWebSocket=void 0;var o=function(){function e(e){e&&(this.webSocket=e)}return e.prototype.connect=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){return this.webSocket||(this.webSocket=new WebSocket(e)),this.webSocket.onerror=function(e){r(e)},this.webSocket.onopen=function(e){t(e)},[2,new Promise((function(e,n){t=e,r=n}))]}))}))},Object.defineProperty(e.prototype,"isConnected",{get:function(){return 1===this.webSocket.readyState},enumerable:!1,configurable:!0}),e.prototype.write=function(e){this.webSocket.send(e)},e.prototype.close=function(){this.webSocket.close()},e.prototype.setOnMessageHandler=function(e){var t=[];this.webSocket.onmessage=function(r){var n=new FileReader,i={buffer:null};t.push(i),n.onload=function(r){var n=r.target;if(i.buffer=n.result,t[0]===i)for(;0<t.length&&t[0].buffer;)e(t[0].buffer),t.splice(0,1)},n.readAsArrayBuffer(r.data)}},e.prototype.setOnErrorHandler=function(e){this.webSocket.onerror=function(t){t&&e(t)}},e.prototype.setOnCloseHandler=function(e){this.webSocket.onclose=e},e}();r.BrowserWebSocket=o},{}],30:[function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketClient=void 0;var o=e("./browserWebSocket"),a=e("../payloadTransport"),s=e("../protocolAdapter"),u=e("../payloads"),c=e("./webSocketTransport"),l=function(){function e(e){var t=e.url,r=e.requestHandler,n=e.disconnectionHandler,i=void 0===n?null:n;this._url=t,this._requestHandler=r,this._disconnectionHandler=i,this._requestManager=new u.RequestManager,this._sender=new a.PayloadSender,this._sender.disconnected=this.onConnectionDisconnected.bind(this),this._receiver=new a.PayloadReceiver,this._receiver.disconnected=this.onConnectionDisconnected.bind(this),this._protocolAdapter=new s.ProtocolAdapter(this._requestHandler,this._requestManager,this._sender,this._receiver)}return e.prototype.connect=function(){return n(this,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:return[4,(e=new o.BrowserWebSocket).connect(this._url)];case 1:return r.sent(),t=new c.WebSocketTransport(e),this._sender.connect(t),this._receiver.connect(t),[2]}}))}))},e.prototype.disconnect=function(){this._sender.disconnect(new a.TransportDisconnectedEvent("Disconnect was called.")),this._receiver.disconnect(new a.TransportDisconnectedEvent("Disconnect was called."))},e.prototype.send=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){return[2,this._protocolAdapter.sendRequest(e)]}))}))},e.prototype.onConnectionDisconnected=function(e,t){if(null==this._disconnectionHandler)throw new Error("Unable to re-connect client to transport for url "+this._url+". Sender: '"+JSON.stringify(e)+"'. Args:' "+JSON.stringify(t));this._disconnectionHandler("Disconnected")},e}();r.WebSocketClient=l},{"../payloadTransport":10,"../payloads":16,"../protocolAdapter":23,"./browserWebSocket":29,"./webSocketTransport":32}],31:[function(e,t,r){"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketTransport=r.WebSocketClient=r.BrowserWebSocket=void 0;var n=e("./browserWebSocket");Object.defineProperty(r,"BrowserWebSocket",{enumerable:!0,get:function(){return n.BrowserWebSocket}});var i=e("./browserWebSocketClient");Object.defineProperty(r,"WebSocketClient",{enumerable:!0,get:function(){return i.WebSocketClient}});var o=e("./webSocketTransport");Object.defineProperty(r,"WebSocketTransport",{enumerable:!0,get:function(){return o.WebSocketTransport}})},{"./browserWebSocket":29,"./browserWebSocketClient":30,"./webSocketTransport":32}],32:[function(e,t,r){(function(e){(function(){"use strict";var t=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.WebSocketTransport=void 0;var i=function(){function r(e){var t=this;this.ws=e,this._queue=[],this._activeOffset=0,this._activeReceiveCount=0,this.ws.setOnMessageHandler((function(e){t.onReceive(e)})),this.ws.setOnErrorHandler((function(e){t.onError(e)})),this.ws.setOnCloseHandler((function(){t.onClose()}))}return r.prototype.send=function(e){var t;return(null===(t=this.ws)||void 0===t?void 0:t.isConnected)?(this.ws.write(e),e.length):0},Object.defineProperty(r.prototype,"isConnected",{get:function(){var e;return null===(e=this.ws)||void 0===e?void 0:e.isConnected},enumerable:!1,configurable:!0}),r.prototype.close=function(){var e;(null===(e=this.ws)||void 0===e?void 0:e.isConnected)&&this.ws.close()},r.prototype.receive=function(e){return t(this,void 0,void 0,(function(){var t,r=this;return n(this,(function(n){if(this._activeReceiveResolve)throw new Error("Cannot call receive more than once before it has returned.");return this._activeReceiveCount=e,t=new Promise((function(e,t){r._activeReceiveResolve=e,r._activeReceiveReject=t})),this.trySignalData(),[2,t]}))}))},r.prototype.onReceive=function(t){this._queue&&t&&t.byteLength>0&&(this._queue.push(e.from(t)),this.trySignalData())},r.prototype.onClose=function(){this._activeReceiveReject&&this._activeReceiveReject(new Error("Socket was closed.")),this._active=null,this._activeOffset=0,this._activeReceiveResolve=null,this._activeReceiveReject=null,this._activeReceiveCount=0,this.ws=null},r.prototype.onError=function(e){this._activeReceiveReject&&this._activeReceiveReject(e),this.onClose()},r.prototype.trySignalData=function(){if(this._activeReceiveResolve&&(!this._active&&this._queue.length>0&&(this._active=this._queue.shift(),this._activeOffset=0),this._active)){if(0===this._activeOffset&&this._active.length===this._activeReceiveCount){var t=this._active;this._active=null,this._activeReceiveResolve(t)}else{var r=Math.min(this._activeReceiveCount,this._active.length-this._activeOffset);t=e.alloc(r),this._active.copy(t,0,this._activeOffset,this._activeOffset+r),this._activeOffset+=r,this._activeOffset>=this._active.length&&(this._active=null,this._activeOffset=0),this._activeReceiveResolve(t)}this._activeReceiveCount=0,this._activeReceiveReject=null,this._activeReceiveResolve=null}},r}();r.WebSocketTransport=i}).call(this)}).call(this,e("buffer").Buffer)},{buffer:50}],33:[function(e,t,r){"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return p.default}});var n=f(e("./v1.js")),i=f(e("./v3.js")),o=f(e("./v4.js")),a=f(e("./v5.js")),s=f(e("./nil.js")),u=f(e("./version.js")),c=f(e("./validate.js")),l=f(e("./stringify.js")),p=f(e("./parse.js"));function f(e){return e&&e.__esModule?e:{default:e}}},{"./nil.js":35,"./parse.js":36,"./stringify.js":40,"./v1.js":41,"./v3.js":42,"./v4.js":44,"./v5.js":45,"./validate.js":46,"./version.js":47}],34:[function(e,t,r){"use strict";function n(e){return 14+(e+64>>>9<<4)+1}function i(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return i((s=i(i(t,e),i(n,a)))<<(u=o)|s>>>32-u,r);var s,u}function a(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function c(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=function(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){for(var t=[],r=32*e.length,n=0;n<r;n+=8){var i=e[n>>5]>>>n%32&255,o=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;for(var r=1732584193,o=-271733879,l=-1732584194,p=271733878,f=0;f<e.length;f+=16){var d=r,h=o,v=l,m=p;r=a(r,o,l,p,e[f],7,-680876936),p=a(p,r,o,l,e[f+1],12,-389564586),l=a(l,p,r,o,e[f+2],17,606105819),o=a(o,l,p,r,e[f+3],22,-1044525330),r=a(r,o,l,p,e[f+4],7,-176418897),p=a(p,r,o,l,e[f+5],12,1200080426),l=a(l,p,r,o,e[f+6],17,-1473231341),o=a(o,l,p,r,e[f+7],22,-45705983),r=a(r,o,l,p,e[f+8],7,1770035416),p=a(p,r,o,l,e[f+9],12,-1958414417),l=a(l,p,r,o,e[f+10],17,-42063),o=a(o,l,p,r,e[f+11],22,-1990404162),r=a(r,o,l,p,e[f+12],7,1804603682),p=a(p,r,o,l,e[f+13],12,-40341101),l=a(l,p,r,o,e[f+14],17,-1502002290),o=a(o,l,p,r,e[f+15],22,1236535329),r=s(r,o,l,p,e[f+1],5,-165796510),p=s(p,r,o,l,e[f+6],9,-1069501632),l=s(l,p,r,o,e[f+11],14,643717713),o=s(o,l,p,r,e[f],20,-373897302),r=s(r,o,l,p,e[f+5],5,-701558691),p=s(p,r,o,l,e[f+10],9,38016083),l=s(l,p,r,o,e[f+15],14,-660478335),o=s(o,l,p,r,e[f+4],20,-405537848),r=s(r,o,l,p,e[f+9],5,568446438),p=s(p,r,o,l,e[f+14],9,-1019803690),l=s(l,p,r,o,e[f+3],14,-187363961),o=s(o,l,p,r,e[f+8],20,1163531501),r=s(r,o,l,p,e[f+13],5,-1444681467),p=s(p,r,o,l,e[f+2],9,-51403784),l=s(l,p,r,o,e[f+7],14,1735328473),o=s(o,l,p,r,e[f+12],20,-1926607734),r=u(r,o,l,p,e[f+5],4,-378558),p=u(p,r,o,l,e[f+8],11,-2022574463),l=u(l,p,r,o,e[f+11],16,1839030562),o=u(o,l,p,r,e[f+14],23,-35309556),r=u(r,o,l,p,e[f+1],4,-1530992060),p=u(p,r,o,l,e[f+4],11,1272893353),l=u(l,p,r,o,e[f+7],16,-155497632),o=u(o,l,p,r,e[f+10],23,-1094730640),r=u(r,o,l,p,e[f+13],4,681279174),p=u(p,r,o,l,e[f],11,-358537222),l=u(l,p,r,o,e[f+3],16,-722521979),o=u(o,l,p,r,e[f+6],23,76029189),r=u(r,o,l,p,e[f+9],4,-640364487),p=u(p,r,o,l,e[f+12],11,-421815835),l=u(l,p,r,o,e[f+15],16,530742520),o=u(o,l,p,r,e[f+2],23,-995338651),r=c(r,o,l,p,e[f],6,-198630844),p=c(p,r,o,l,e[f+7],10,1126891415),l=c(l,p,r,o,e[f+14],15,-1416354905),o=c(o,l,p,r,e[f+5],21,-57434055),r=c(r,o,l,p,e[f+12],6,1700485571),p=c(p,r,o,l,e[f+3],10,-1894986606),l=c(l,p,r,o,e[f+10],15,-1051523),o=c(o,l,p,r,e[f+1],21,-2054922799),r=c(r,o,l,p,e[f+8],6,1873313359),p=c(p,r,o,l,e[f+15],10,-30611744),l=c(l,p,r,o,e[f+6],15,-1560198380),o=c(o,l,p,r,e[f+13],21,1309151649),r=c(r,o,l,p,e[f+4],6,-145523070),p=c(p,r,o,l,e[f+11],10,-1120210379),l=c(l,p,r,o,e[f+2],15,718787259),o=c(o,l,p,r,e[f+9],21,-343485551),r=i(r,d),o=i(o,h),l=i(l,v),p=i(p,m)}return[r,o,l,p]}(function(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(n(t)),i=0;i<t;i+=8)r[i>>5]|=(255&e[i/8])<<i%32;return r}(e),8*e.length))};r.default=l},{}],35:[function(e,t,r){"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default="00000000-0000-0000-0000-000000000000"},{}],36:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n},o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};r.default=o},{"./validate.js":46}],37:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],38:[function(e,t,r){"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&!(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};var i=new Uint8Array(16)},{}],39:[function(e,t,r){"use strict";function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function i(e,t){return e<<t|e>>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var o=unescape(encodeURIComponent(e));e=[];for(var a=0;a<o.length;++a)e.push(o.charCodeAt(a))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var s=e.length/4+2,u=Math.ceil(s/16),c=new Array(u),l=0;l<u;++l){for(var p=new Uint32Array(16),f=0;f<16;++f)p[f]=e[64*l+4*f]<<24|e[64*l+4*f+1]<<16|e[64*l+4*f+2]<<8|e[64*l+4*f+3];c[l]=p}c[u-1][14]=8*(e.length-1)/Math.pow(2,32),c[u-1][14]=Math.floor(c[u-1][14]),c[u-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<u;++d){for(var h=new Uint32Array(80),v=0;v<16;++v)h[v]=c[d][v];for(var m=16;m<80;++m)h[m]=i(h[m-3]^h[m-8]^h[m-14]^h[m-16],1);for(var y=r[0],T=r[1],b=r[2],g=r[3],_=r[4],S=0;S<80;++S){var A=Math.floor(S/20),E=i(y,5)+n(A,T,b,g)+_+t[A]+h[S]>>>0;_=g,g=b,b=i(T,30)>>>0,T=y,y=E}r[0]=r[0]+y>>>0,r[1]=r[1]+T>>>0,r[2]=r[2]+b>>>0,r[3]=r[3]+g>>>0,r[4]=r[4]+_>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};r.default=o},{}],40:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;for(var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n},o=[],a=0;a<256;++a)o.push((a+256).toString(16).substr(1));var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r};r.default=s},{"./validate.js":46}],41:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i,o=s(e("./rng.js")),a=s(e("./stringify.js"));function s(e){return e&&e.__esModule?e:{default:e}}var u=0,c=0,l=function(e,t,r){var s=t&&r||0,l=t||new Array(16),p=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:i;if(null==p||null==f){var d=e.random||(e.rng||o.default)();null==p&&(p=n=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=i=16383&(d[6]<<8|d[7]))}var h=void 0!==e.msecs?e.msecs:Date.now(),v=void 0!==e.nsecs?e.nsecs:c+1,m=h-u+(v-c)/1e4;if(m<0&&void 0===e.clockseq&&(f=f+1&16383),(m<0||h>u)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=h,c=v,i=f;var y=(1e4*(268435455&(h+=122192928e5))+v)%4294967296;l[s++]=y>>>24&255,l[s++]=y>>>16&255,l[s++]=y>>>8&255,l[s++]=255&y;var T=h/4294967296*1e4&268435455;l[s++]=T>>>8&255,l[s++]=255&T,l[s++]=T>>>
224&15|16,l[s++]=T>>>16&255,l[s++]=f>>>8|128,l[s++]=255&f;for(var b=0;b<6;++b)l[s+b]=p[b];return t||(0,a.default)(l)};r.default=l},{"./rng.js":38,"./stringify.js":40}],42:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),i=o(e("./md5.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,i.default);r.default=a},{"./md5.js":34,"./v35.js":43}],43:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function o(e,o,a,s){if("string"===typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"===typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var u=new Uint8Array(16+e.length);if(u.set(o),u.set(e,o.length),(u=r(u))[6]=15&u[6]|t,u[8]=63&u[8]|128,a){s=s||0;for(var c=0;c<16;++c)a[s+c]=u[c];return a}return(0,n.default)(u)}try{o.name=e}catch(u){}return o.DNS=a,o.URL=s,o},r.URL=r.DNS=void 0;var n=o(e("./stringify.js")),i=o(e("./parse.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;var s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=s},{"./parse.js":36,"./stringify.js":40}],44:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./rng.js")),i=o(e("./stringify.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,r){var o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=o[a];return t}return(0,i.default)(o)};r.default=a},{"./rng.js":38,"./stringify.js":40}],45:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e("./v35.js")),i=o(e("./sha1.js"));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,i.default);r.default=a},{"./sha1.js":39,"./v35.js":43}],46:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./regex.js"))&&n.__esModule?n:{default:n},o=function(e){return"string"===typeof e&&i.default.test(e)};r.default=o},{"./regex.js":37}],47:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e("./validate.js"))&&n.__esModule?n:{default:n},o=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};r.default=o},{"./validate.js":46}],48:[function(e,t,r){"use strict";r.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},r.toByteArray=function(e){var t,r,n=c(e),a=n[0],s=n[1],u=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},r.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")};for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],49:[function(e,t,r){},{}],50:[function(e,t,r){(function(t){(function(){"use strict";var t=e("base64-js"),n=e("ieee754");function i(e){if(e>
22147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return a(e,t,r)}function a(e,t,r){if("string"===typeof e)return function(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=i(r),a=n.write(e,t);return a!==r&&(n=n.slice(0,a)),n}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r)).__proto__=o.prototype,n}(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return o.from(n,t,r);var a=function(e){if(o.isBuffer(e)){var t=0|l(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!==typeof e.length||U(e.length)?i(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(a)return a;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return s(e),i(e<0?0:0|l(e))}function c(e){for(var t=e.length<0?0:0|l(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function p(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return L(e).length;default:if(i)return n?-1:M(e).length;t=(""+t).toLowerCase(),i=!0}}function f(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return E(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function d(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function h(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),U(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;
vendor: 6,030 bytes, line 2
2o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var p=!0,f=0;f<u;f++)if(c(e,o+f)!==c(t,f)){p=!1;break}if(p)return o}return-1}function m(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(U(s))return a;e[r+a]=s}return a}function y(e,t,r,n){return j(M(t,e.length-r),e,r,n)}function T(e,t,r,n){return j(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function b(e,t,r,n){return T(e,t,r,n)}function g(e,t,r,n){return j(L(t),e,r,n)}function _(e,t,r,n){return j(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function S(e,r,n){return 0===r&&n===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(r,n))}function A(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,u,c=e[i],l=null,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=r)switch(p){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function E(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function O(e,t,r){var n,i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var o="",a=t;a<r;++a)o+=(n=e[a])<16?"0"+n.toString(16):n.toString(16);return o}function I(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function w(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,r,n,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function N(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,i,o){return t=+t,r>>>=0,o||N(e,0,r,4),n.write(e,t,r,i,23,4),r+4}function k(e,t,r,i,o){return t=+t,r>>>=0,o||N(e,0,r,8),n.write(e,t,r,i,52,8),r+8}r.Buffer=o,r.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=2147483647,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(t){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),"undefined"!==typeof Symbol&&null!=Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192,o.from=function(e,t,r){return a(e,t,r)},o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,o.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?i(e):void 0!==t?"string"===typeof r?i(e).fill(t,r):i(e).fill(t):i(e)}(e,t,r)},o.allocUnsafe=function(e){return u(e)},o.allocUnsafeSlow=function(e){return u(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(D(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),D(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(D(a,Uint8Array)&&(a=o.from(a)),!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},o.byteLength=p,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)d(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)d(this,t,t+3),d(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)d(this,t,t+7),d(this,t+1,t+6),d(this,t+2,t+5),d(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):f.apply(this,arguments)}
vendor: 8,429 bytes, line 2
2,o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},o.prototype.compare=function(e,t,r,n,i){if(D(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),u=Math.min(a,s),c=this.slice(n,i),l=e.slice(t,r),p=0;p<u;++p)if(c[p]!==l[p]){a=c[p],s=l[p];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return h(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return h(this,e,t,r,!1)},o.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return m(this,e,t,r);case"utf8":case"utf-8":return y(this,e,t,r);case"ascii":return T(this,e,t,r);case"latin1":case"binary":return b(this,e,t,r);case"base64":return g(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=o.prototype,n},o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),n.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),n.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),n.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),n.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||P(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||P(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);P(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);P(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return k(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return k(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"===typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},o.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!o.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(a=t;a<r;++a)this[a]=e;else{var s=o.isBuffer(e)?e:o.from(e,n),u=s.length;
2if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=s[a%u]}return this};var x=/[^+/0-9A-Za-z-_]/g;function M(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function L(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function j(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function D(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function U(e){return e!==e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":48,buffer:50,ieee754:52}],51:[function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(e,t){return new Promise((function(r,n){function i(){void 0!==o&&e.removeListener("error",o),r([].slice.call(arguments))}var o;"error"!==t&&(o=function(r){e.removeListener(t,i),n(r)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function p(e,t,r,n){var i,o,a,s;if(c(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"===typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):m(i,i.length)}function v(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"===typeof u)o(u,this,t);else{var c=u.length,l=m(u,c);for(r=0;r<c;++r)o(l[r],this,t)}return!0},s.prototype.addListener=function(e,t){return p(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return p(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,o,a;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit
vendor: 5,555 bytes, line 2
2("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):v.call(e,t)},s.prototype.listenerCount=v,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},{}],52:[function(e,t,r){r.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,p=r?i-1:0,f=r?-1:1,d=e[t+p];for(p+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+p],p+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,p=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,h=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+d]=255&a,d+=h,a/=256,c-=8);e[r+d-h]|=128*v}},{}],53:[function(e,t,r){"function"===typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},{}],54:[function(e,t,r){var n,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"===typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var c,l=[],p=!1,f=-1;function d(){p&&c&&(p=!1,c.length?l=c.concat(l):f=-1,l.length&&h())}function h(){if(!p){var e=u(d);p=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,p=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new v(e,t)),1!==l.length||p||u(h)},v.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],55:[function(e,t,r){var n=e("buffer"),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,r),r.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},{buffer:50}],56:[function(e,t,r){t.exports=i;var n=e("events").EventEmitter;function i(){n.call(this)}e("inherits")(i,n),i.Readable=e("readable-stream/lib/_stream_readable.js"),i.Writable=e("readable-stream/lib/_stream_writable.js"),i.Duplex=e("readable-stream/lib/_stream_duplex.js"),i.Transform=e("readable-stream/lib/_stream_transform.js"),i.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),i.finished=e("readable-stream/lib/internal/stream
2s/end-of-stream.js"),i.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",c),e.on("error",c),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},{events:51,inherits:53,"readable-stream/lib/_stream_duplex.js":58,"readable-stream/lib/_stream_passthrough.js":59,"readable-stream/lib/_stream_readable.js":60,"readable-stream/lib/_stream_transform.js":61,"readable-stream/lib/_stream_writable.js":62,"readable-stream/lib/internal/streams/end-of-stream.js":66,"readable-stream/lib/internal/streams/pipeline.js":68}],57:[function(e,t,r){"use strict";var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"===typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,i,a,s;if("string"===typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var u=function(e,t,r){return"number"!==typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(u," ").concat(n," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},{}],58:[function(e,t,r){(function(r){(function(){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=c;var i=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(c,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e("_process"))},{"./_stream_readable":60,"./_stream_writable":62,_process:54,inherits:53}],59:[function(e,t,r){"use strict";
vendor: 6,107 bytes, line 2
2t.exports=i;var n=e("./_stream_transform");function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}e("inherits")(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":61,inherits:53}],60:[function(e,r,n){(function(t,n){(function(){"use strict";var i;r.exports=C,C.ReadableState=E,e("events").EventEmitter;var o,a=function(e,t){return e.listeners(t).length},s=e("./internal/streams/stream"),u=e("buffer").Buffer,c=n.Uint8Array||function(){},l=e("util");o=l&&l.debuglog?l.debuglog("stream"):function(){};var p,f,d,h=e("./internal/streams/buffer_list"),v=e("./internal/streams/destroy"),m=e("./internal/streams/state").getHighWaterMark,y=e("../errors").codes,T=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,g=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(C,s);var S=v.errorOrDestroy,A=["error","close","destroy","pause","resume"];function E(t,r,n){i=i||e("./_stream_duplex"),t=t||{},"boolean"!==typeof n&&(n=r instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=m(this,t,"readableHighWaterMark",n),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=e("string_decoder/").StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function C(t){if(i=i||e("./_stream_duplex"),!(this instanceof C))return new C(t);var r=this instanceof i;this._readableState=new E(t,this,r),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function O(e,t,r,n,i){o("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,N(e)))}}(e,s);else if(i||(a=function(e,t){var r,n;return n=t,u.isBuffer(n)||n instanceof c||"string"===typeof t||void 0===t||e.objectMode||(r=new T("chunk",["string","Buffer","Uint8Array"],t)),r}(s,t)),a)S(e,a);else if(s.objectMode||t&&t.length>0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n)s.endEmitted?S(e,new _):I(e,s,t,!0);else if(s.ended)S(e,new b);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?I(e,s,t,!1):R(e,s)):I(e,s,t,!1)}else n||(s.reading=!1,R(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function I(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&P(e)),R(e,t)}function w(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e){var r=e._readableState;o("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(o("emitReadable",r.flowing),r.emittedReadable=!0,t.nextTick(N,e))}function N(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function R(e,r){r.readingMore||(r.readingMore=!0,t.nextTick(k,e,r))}function k(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(o("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function x(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){o("readable nexttick read 0"),e.read(0)}function L(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function U(e){var r=e._readableState;o("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,t.nextTick(B,r,e))}function B(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),C.prototype.destroy=v.destroy,C.prototype._undestroy=v.undestroy,C.prototype._destroy=function(e,t){t(e)},C.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),O(this,e,t,!1,r)},C.prototype.unshift=function(e){return O(this,e,null,!0,!1)},C.prototype.isPaused=function(){return!1===this._readableState.flowing},C.prototype.setEncoding=function(t){p||(p=e("string_decoder/").StringDecoder);var r=new p(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 2,637 bytes, line 2
2for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},C.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):P(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,i=t.needReadable;return o("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&o("length less than watermark",i=!0),t.ended||t.reading?o("reading or ended",i=!1):i&&(o("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=w(r,t))),null===(n=e>0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==n&&this.emit("data",n),n},C.prototype._read=function(e){S(this,new g("_read()"))},C.prototype.pipe=function(e,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,r);var s=r&&!1===r.end||e===t.stdout||e===t.stderr?m:c;function u(t,r){o("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,o("cleanup"),e.removeListener("close",h),e.removeListener("finish",v),e.removeListener("drain",l),e.removeListener("error",d),e.removeListener("unpipe",u),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",f),p=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){o("onend"),e.end()}i.endEmitted?t.nextTick(s):n.once("end",s),e.on("unpipe",u);var l=function(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,j(e))}}(n);e.on("drain",l);var p=!1;function f(t){o("ondata");var r=e.write(t);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!p&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function d(t){o("onerror",t),m(),e.removeListener("error",d),0===a(e,"error")&&S(e,t)}function h(){e.removeListener("finish",v),m()}function v(){o("onfinish"),e.removeListener("close",h),m()}function m(){o("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
vendor: 9,568 bytes, line 2
2ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",h),e.once("finish",v),e.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),e},C.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},C.prototype.on=function(e,r){var n=s.prototype.on.call(this,e,r),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?P(this):i.reading||t.nextTick(M,this))),n},C.prototype.addListener=C.prototype.on,C.prototype.removeListener=function(e,r){var n=s.prototype.removeListener.call(this,e,r);return"readable"===e&&t.nextTick(x,this),n},C.prototype.removeAllListeners=function(e){var r=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||t.nextTick(x,this),r},C.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,r){r.resumeScheduled||(r.resumeScheduled=!0,t.nextTick(L,e,r))}(this,e)),e.paused=!1,this},C.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},C.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(o("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<A.length;a++)e.on(A[a],this.emit.bind(this,A[a]));return this._read=function(t){o("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"===typeof Symbol&&(C.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=e("./internal/streams/async_iterator")),f(this)}),Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(C.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(C.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),C._fromList=D,Object.defineProperty(C.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(C.from=function(t,r){return void 0===d&&(d=e("./internal/streams/from")),d(C,t,r)})}).call(this)}).call(this,e("_process"),"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../errors":57,"./_stream_duplex":58,"./internal/streams/async_iterator":63,"./internal/streams/buffer_list":64,"./internal/streams/destroy":65,"./internal/streams/from":67,"./internal/streams/state":69,"./internal/streams/stream":70,_process:54,buffer:50,events:51,inherits:53,"string_decoder/":71,util:49}],61:[function(e,t,r){"use strict";t.exports=l;var n=e("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=e("./_stream_duplex");function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",p)}function p(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(t,r){f(e,t,r)}))}function f(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}e("inherits")(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,r){r(new i("_transform()"))},l.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},l.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},{"../errors":57,"./_stream_duplex":58,inherits:53}],62:[function(e,r,n){(function(t,n){(function(){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var o;r.exports=C,C.WritableState=E;var a,s={deprecate:e("util-deprecate")},u=e("./internal/streams/stream"),c=e("buffer").Buffer,l=n.Uint8Array||function(){},p=e("./internal/streams/destroy"),f=e("./internal/streams/state").getHighWaterMark,d=e("../errors").codes,h=d.ERR_INVALID_ARG_TYPE,v=d.ERR_METHOD_NOT_IMPLEMENTED,m=d.ERR_MULTIPLE_CALLBACK,y=d.ERR_STREAM_CANNOT_PIPE,T=d.ERR_STREAM_DESTROYED,b=d.ERR_STREAM_NULL_VALUES,g=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,S=p.errorOrDestroy;function A(){}function E(r,n,a){o=o||e("./_stream_duplex"),r=r||{},"boolean"!==typeof a&&(a=n instanceof o),this.objectMode=!!r.objectMode,a&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=f(this,r,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===r.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,r){var n=e._writableState,i=n.sync,o=n.writecb;if("function"!==typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),r)!function(e,r,n,i,o){--r.pendingcb,n?(t.nextTick(o,i),t.nextTick(R,e,r),e._writableState.errorEmitted=!0,S(e,i)):(o(i),e._writableState.errorEmitted=!0,S(e,i),R(e,r))}(e,n,i,r,o);else{var a=P(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),i?t.nextTick(I,e,n,a,o):I(e,n,a,o)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function C(t){var r=this instanceof(o=o||e("./_stream_duplex"));if(!r&&!a.call(C,this))return new C(t);this._writableState=new E(t,this,r),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),u.call(this)}function O(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new T("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function I(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),R(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,O(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,p=r.callback;if(O(e,t,!1,t.objectMode?1:c.length,c,l,p),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function N(e,t){e._final((function(r){t.pendingcb--,r&&S(e,r),t.prefinished=!0,e.emit("prefinish"),R(e,t)}))}function R(e,r){var n=P(r);
2if(n&&(function(e,r){r.prefinished||r.finalCalled||("function"!==typeof e._final||r.destroyed?(r.prefinished=!0,e.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,t.nextTick(N,e,r)))}(e,r),0===r.pendingcb&&(r.finished=!0,e.emit("finish"),r.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}e("inherits")(C,u),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(C,Symbol.hasInstance,{value:function(e){return!!a.call(this,e)||this===C&&e&&e._writableState instanceof E}})):a=function(e){return e instanceof this},C.prototype.pipe=function(){S(this,new y)},C.prototype.write=function(e,r,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=e,c.isBuffer(i)||i instanceof l);return s&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"===typeof r&&(n=r,r=null),s?r="buffer":r||(r=o.defaultEncoding),"function"!==typeof n&&(n=A),o.ending?function(e,r){var n=new g;S(e,n),t.nextTick(r,n)}(this,n):(s||function(e,r,n,i){var o;return null===n?o=new b:"string"===typeof n||r.objectMode||(o=new h("chunk",["string","Buffer"],n)),!o||(S(e,o),t.nextTick(i,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=c.from(t,r)),t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else O(e,t,!1,s,n,i,o);return u}(this,o,s,e,r,n)),a},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||w(this,e))},C.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),C.prototype._write=function(e,t,r){r(new v("_write()"))},C.prototype._writev=null,C.prototype.end=function(e,r,n){var i=this._writableState;return"function"===typeof e?(n=e,e=null,r=null):"function"===typeof r&&(n=r,r=null),null!==e&&void 0!==e&&this.write(e,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,r,n){r.ending=!0,R(e,r),n&&(r.finished?t.nextTick(n):e.once("finish",n)),r.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),C.prototype.destroy=p.destroy,C.prototype._undestroy=p.undestroy,C.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../errors":57,"./_stream_duplex":58,"./internal/streams/destroy":65,"./internal/streams/state":69,"./internal/streams/stream":70,_process:54,buffer:50,inherits:53,"util-deprecate":72}],63:[function(e,t,r){(function(r){(function(){"use strict";var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=e("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),l=Symbol("lastPromise"),p=Symbol("handlePromise"),f=Symbol("stream");function d(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var r=e[f].read();null!==r&&(e[l]=null,e[a]=null,e[s]=null,t(d(r,!1)))}}function v(e){r.nextTick(h,e)}var m=Object.getPrototypeOf((function(){}
vendor: 1,361 bytes, line 2
2)),y=Object.setPrototypeOf((i(n={get stream(){return this[f]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(d(void 0,!0));if(this[f].destroyed)return new Promise((function(t,n){r.nextTick((function(){e[u]?n(e[u]):t(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[c]?r(d(void 0,!0)):t[p](r,n)}),n)}}(i,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[p])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[f].destroy(null,(function(e){e?r(e):t(d(void 0,!0))}))}))})),n),m);t.exports=function(e){var t,r=Object.create(y,(i(t={},f,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,p,{value:function(e,t){var n=r[f].read();n?(r[l]=null,r[a]=null,r[s]=null,e(d(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[l]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[c]=!0})),e.on("readable",v.bind(null,r)),r}}
vendor: 7,160 bytes, line 2
2).call(this)}).call(this,e("_process"))},{"./end-of-stream":66,_process:54}],64:[function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=e("buffer").Buffer,s=e("util").inspect,u=s&&s.custom||"inspect";t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,c;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,r,n,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=i,n=s,a.prototype.copy.call(t,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&o(t.prototype,r),c&&o(t,c),e}()},{buffer:50,util:49}],65:[function(e,t,r){(function(e){(function(){"use strict";function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))},{_process:54}],66:[function(e,t,r){"use strict";var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function e(t,r,o){if("function"===typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!0,a||o.call(t)},p=t._readableState&&t._readableState.endEmitted,f=function(){a=!1,p=!0,s||o.call(t)},d=function(e){o.call(t,e)},h=function(){var e;return a&&!p?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!c?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},v=function(){t.req.on("finish",l)};return function(e){return e.setHeader&&"function"===typeof e.abort}(t)?(t.on("complete",l),t.on("abort",h),t.req?v():t.on("request",v)):s&&!t._writableState&&(t.on("end",u),t.on("close",u)),t.on("end",f),t.on("finish",l),!1!==r.error&&t.on("error",d),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",v),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("end",f),t.removeListener("error",d),t.removeListener("close",h)}}},{"../../../errors":57}],67:[function(e,t,r){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],68:[function(e,t,r){"use strict";var n,i=e("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(t,r,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=e("./end-of-stream")),n(t,{readable:r,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var u=!1;return function(e){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function c(e){e()}function l(e,t){return e.pipe(t)}function p(e){return e.length?"function"!==typeof e[e.length-1]?s:e.pop():s}t.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=p(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,r){var o=r<t.length-1;return u(e,o,r>
vendor: 4,450 bytes, line 2
20,(function(e){n||(n=e),e&&a.forEach(c),o||(a.forEach(c),i(n))}))}));return t.reduce(l)}},{"../../../errors":57,"./end-of-stream":66}],69:[function(e,t,r){"use strict";var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},{"../../../errors":57}],70:[function(e,t,r){t.exports=e("events").EventEmitter},{events:51}],71:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=p,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}r.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":55}],72:[function(e,r,n){(function(e){(function(){function t(t){try{if(!e.localStorage)return!1}catch(n){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}r.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;
2return function(){if(!n){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}]},{},[9])(9)}).call(this,r(90))},function(e,t){var r="undefined"!==typeof self?self:this,n=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!==typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=h(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=c(e),t=l(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},f.prototype.delete=function(e){delete this.map[c(e)]},f.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},f.prototype.set=function(e,t){this.map[c(e)]=l(t)},f.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),p(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),p(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var r=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=function(e){var t=e.toUpperCase();return T.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function _(e){var t=new f;
2return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();t.append(n,i)}})),t}function S(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:""});return e.type="error",e};var A=[301,302,303,307,308];S.redirect=function(e,t){if(-1===A.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(C){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function E(e,r){return new Promise((function(n,o){var a=new b(e,r);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:_(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;n(new S(t,e))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send("undefined"===typeof a._bodyInit?null:a._bodyInit)}))}E.polyfill=!0,e.fetch||(e.fetch=E,e.Headers=f,e.Request=b,e.Response=S),t.Headers=f,t.Request=b,t.Response=S,t.fetch=E,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.fork)(i.default.mark((function e(){var r,n,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a(t),e.prev=1,r.s();case 3:if((n=r.n()).done){e.next=9;break}return s=n.value,e.next=7,(0,o.put)(s);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),r.e(e.t0);case 14:return e.prev=14,r.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])})))};var i=n(r(25)),o=r(41);function a(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{type:"DIRECT_LINE/UPDATE_CONNECTION_STATUS",payload:{connectionStatus:e}}},t.UPDATE_CONNECTION_STATUS=void 0;t.UPDATE_CONNECTION_STATUS="DIRECT_LINE/UPDATE_CONNECTION_STATUS"},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var i=n(r(25)),o=r(41),a=r(175),s=r(260),u=n(r(293)),c=i.default.mark(l);function l(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.take)([a.CONNECT_PENDING,s.RECONNECT_PENDING]);case 2:return e.next=4,(0,o.race)({fulfilled:(0,o.take)([a.CONNECT_FULFILLED,s.RECONNECT_FULFILLED]),rejected:(0,o.take)([a.CONNECT_REJECTED,s.RECONNECT_REJECTED]),slow:(0,o.call)((function(){return(0,u.default)(15e3)}))});case 4:if(!("slow"in e.sent)){e.next=8;break}return e.next=8,(0,o.put)({type:a.CONNECT_STILL_PENDING});case 8:e.next=0;break;case 10:case"end":return e.stop()}}),c)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var i=n(r(25)),o=r(41),a=r(404),s=n(r(71)),u=n(r(62)),c=i.default.mark(f),l=i.default.mark(d),p=i.default.mark(h);function f(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.put)((0,s.default)({type:"typing"}));case 2:case"end":return e.stop()}}),c)}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)((function(e){return e.type===a.EMIT_TYPING_INDICATOR}),f);case 2:case"end":return e.stop()}}),l)}function h(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(d);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var o=i(r(25)),a=r(41),s=r(405),u=r(264),c=i(r(217)),l=i(r(601)),p=n.mark(v),f=n.mark(m);function d(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(){var e,t,r,n;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,a.select)((0,s.of)(l.default));case 2:e=i.sent,t=d(e),i.prev=4,t.s();case 6:if((r=t.n()).done){i.next=12;break}return n=r.value,i.next=10,(0,a.put)((0,c.default)(n,"speak",!1));case 10:i.next=6;break;case 12:i.next=17;break;case 14:i.prev=14,i.t0=i.catch(4),t.e(i.t0);case 17:return i.prev=17,t.f(),i.finish(17);case 20:case"end":return i.stop()}}),p,null,[[4,14,17,20]])}function m(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.takeEvery)(u.STOP_SPEAKING_ACTIVITY,v);case 2:case"end":return e.stop()}}),f)}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var o=i(r(25)),a=r(41),s=i(r(106)),u=i(r(548)),c=i(r(602)),l=i(r(62)),p=n.mark(m),f=n.mark(y),d=function(e){return e};function h(e,t){return e.from?e.from.role||(e=e.from.id===t?(0,s.default)(e,["from","role"],(function(){return"user"})):e.from.id?(0,s.default)(e,["from","role"],(function(){return"bot"})):(0,s.default)(e,["from","role"],(function(){return"channel"}))):e=(0,s.default)(e,["from","role"],(function(){return"channel"})),e}function v(e){return["attachmentLayout","attachments","channelData","conversation","entities","from","inputHint","locale","name","recipient","speak","suggestedActions","text","textFormat","t
2imestamp","type"].reduce((function(e,t){var r=e[t];return(0,s.default)(e,[t],"undefined"===typeof r||null===r?void 0:d)}),e)}function m(e){var t,r;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.directLine,r=e.userID,n.next=3,(0,u.default)(t.activity$,o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=h(t=v(t),r),e.next=4,(0,a.put)((0,c.default)(t));case 4:case"end":return e.stop()}}),e)})));case 3:case"end":return n.stop()}}),p)}function y(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.default)(m);case 2:case"end":return e.stop()}}),f)}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=I;var o=i(r(25)),a=i(r(603)),s=i(r(605)),u=r(41),c=i(r(1082)),l=i(r(62)),p=i(r(1083)),f=i(r(1084)),d=i(r(1085)),h=i(r(1086)),v=i(r(1087)),m=i(r(1088)),y=i(r(293)),T=i(r(360)),b=r(71),g=r(151),_=n.mark(O),S=n.mark(I);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){(0,s.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Date(+e+t).toISOString()}function O(e,t,r,n,i){var s,l,S,A,O,I,w,P,N,R,k,x,M,L;return o.default.wrap((function(_){for(;;)switch(_.prev=_.next){case 0:return s=i.meta.method,l=i.payload.activity,_.next=3,(0,u.select)((0,f.default)({clockSkewAdjustment:p.default,locale:h.default}));case 3:return S=_.sent,A=S.clockSkewAdjustment,O=S.locale,I=l.attachments,w=(0,T.default)(),P=new Date,N="undefined"===typeof window.Intl?void 0:(new Intl.DateTimeFormat).resolvedOptions().timeZone,l=E(E({},(0,m.default)(l,"id")),{},{attachments:I&&I.map((function(e){return{contentType:e.contentType,contentUrl:e.contentUrl,name:e.name,thumbnailUrl:e.thumbnailUrl}})),channelData:E(E({},(0,m.default)(l.channelData,"state")),{},{clientActivityID:w,clientTimestamp:C(P)}),channelId:"webchat",from:{id:t,name:r,role:"user"},locale:O,localTimestamp:(0,d.default)(P),localTimezone:N,timestamp:C(P,A)}),n||(l.entities=[].concat((0,a.default)(l.entities||[]),[{requiresBotState:!0,supportsListening:!0,supportsTts:!0,type:"ClientCapabilities"}])),R={clientActivityID:w,method:s},_.next=15,(0,u.put)({type:b.POST_ACTIVITY_PENDING,meta:R,payload:{activity:l}});case 15:return _.prev=15,k=(0,u.call)(o.default.mark((function e(){var t,r,n,i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.take)(g.INCOMING_ACTIVITY);case 2:if(t=e.sent,r=t.payload.activity,n=r.channelData,i=void 0===n?{}:n,a=r.id,i.clientActivityID!==w||!a){e.next=7;break}return e.abrupt("return",r);case 7:e.next=0;break;case 9:case"end":return e.stop()}}),e)}))),_.next=19,(0,u.select)(v.default);case 19:return x=_.sent,_.next=22,(0,u.race)({send:(0,u.all)({echoBack:k,postActivity:(0,c.default)(e.postActivity(l))}),timeout:(0,u.call)((function(){return(0,y.default)(x).then((function(){return Promise.reject(new Error("timeout"))}))}))});case 22:return M=_.sent,L=M.send.echoBack,_.next=26,(0,u.put)({type:b.POST_ACTIVITY_FULFILLED,meta:R,payload:{activity:L}});case 26:_.next=33;break;case 28:return _.prev=28,_.t0=_.catch(15),console.error("botframework-webchat: Failed to post activity to chat adapter.",_.t0),_.next=33,(0,u.put)({type:b.POST_ACTIVITY_REJECTED,error:!0,meta:R,payload:_.t0});case 33:return _.prev=33,_.next=36,(0,u.cancelled)();case 36:if(!_.sent){_.next=39;break}return _.next=39,(0,u.put)({type:b.POST_ACTIVITY_REJECTED,error:!0,meta:R,payload:new Error("cancelled")});case 39:return _.finish(33);case 40:case"end":return _.stop()}}),_,null,[[15,28,33,40]])}function I(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.default)(o.default.mark((function e(t){var r,n,i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.directLine,n=t.userID,i=t.username,a=0,e.next=4,(0,u.takeEvery)(b.POST_ACTIVITY,o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(O(r,n,i,a++,t),"t0",1);case 1:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),S)}},function(e,t,r){var n=r(604);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(604);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(22);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.call)(i.default.mark((function t(){var r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,o.call)((function(){return new Promise((function(t,n){r=e.subscribe({complete:t,error:n,next:t})}))}));case 3:return t.abrupt("return",t.sent);case 4:return t.prev=4,r&&r.unsubscribe(),t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[0,,4,7]])})))};var i=n(r(25)),o=r(41)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.clockSkewAdjustment}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(Array.isArray(e))return function(t){return e.reduce((function(e,r){return[].concat((0,o.default)(e),[r(t)])}),[])};return function(t){return Object.keys(e).reduce((function(r,n){return s(s({},r),{},(0,i.default)({},n,e[n](t)))}),{})}};var i=n(r(605)),o=n(r(603));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t,r){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if("number"!==typeof e)throw new Error("First argument must be a number");for(e+="";e.length<t;)e="0"+e;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof Date))throw new Error("First argument must be a Date object");var t=-e.getTimezoneOffset(),r=t<0?"-":"+";return"".concat(e.getFullYear(),"-").concat(n(e.getMonth()+1),"-").concat(n(e.getDate()),"T").concat(n(e.getHours()),":").concat(n(e.getMinutes()),":").concat(n(e.getSeconds()),".").concat(n(e.getMilliseconds(),3)).concat(t?"".concat(r).concat(n(~~(Math.abs(t)/60)),":").concat(n(t%60)):"Z")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.language}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.sendTimeout}},function(e,t,r){"use strict";var n=r(22),i=r(216);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return e;e[t];return(0,a.default)(e,[t].map(s))};var o=n(r(216)),a=n(r(1089));function s(e){var t=function(e,t){if("object"!==(0,o.default)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==(0,o.default)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}},function(e,t,r){var n=r(1090);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(22),i=r(216);Object.defineProperty(t,"__esModule",{value:!0}),t.default=A;var o=n(r(25)),a=r(41),s=r(602),u=v(r(405)),c=n(r(1092)),l=v(r(151)),p=n(r(363)),f=n(r(293)),d=n(r(62));function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var m=o.default.mark(g),y=o.default.mark(_),T=o.default.mark(S),b=o.default.mark(A);function g(e,t,r){var n,i;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.cancelled)();case 2:if(o.sent){o.next=13;break}return o.next=5,(0,a.take)(e);case 5:return n=o.sent,o.next=8,(0,a.select)(t);case 8:return i=o.sent,o.next=11,(0,a.fork)(r,n,i);case 11:o.next=0;break;case 13:case"end":return o.stop()}}),m)}function _(e,t){var r,n;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:r=t;case 1:if(!r.find((function(t){return t.id===e||t.replyToId===e}))){i.next=4;break}return i.abrupt("break",15);case 4:return i.next=6,(0,a.take)(l.INCOMING_ACTIVITY);case 6:if(n=i.sent,n.payload.activity.id!==e){i.next=10;break}return i.abrupt("break",15);case 10:return i.next=12,(0,a.select)(u.default);case 12:r=i.sent;case 13:i.next=1;break;case 15:case"end":return i.stop()}}),y)}function S(e){var t;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.userID,r.next=3,g(s.QUEUE_INCOMING_ACTIVITY,u.default,o.default.mark((function e(r,n){var i,s,d,h,v,m,y,T;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.payload.activity,s=i.replyToId,d=n.filter((function(e){return"bot"===e.from.role})),!s||!d.length){e.next=8;break}return e.next=6,(0,a.race)({_:_(s,n),timeout:(0,a.call)(f.default,5e3)});case 6:"timeout"in e.sent&&console.warn('botframework-webchat: Timed out while waiting for activity "'.concat(s,'" which activity "').concat(i.id,'" is replying to.'),{activity:i,replyToId:s});case 8:return e.next=10,(0,a.put)((0,l.default)(i));case 10:return e.next=12,(0,a.select)((0,u.ofType)("message"));case 12:if(h=e.sent,v=h[h.length-1],!(0,c.default)(v)){e.next=20;break}return m=v.suggestedActions,y=(m=void 0===m?{}:m).actions,T=m.to,e.next=20,(0,a.put)((0,p.default)(T&&T.length&&!T.includes(t)?null:y));case 20:case"end":return e.stop()}}),e)})));case 3:case"end":return r.stop()}}),T)}function A(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.default)(S);case 2:case"end":return e.stop()}}),b)}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e&&"bot"===e.from.role}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var i=n(r(25)),o=r(41),a=r(606),s=n(r(71)),u=n(r(62)),c=i.default.mark(f),l=i.default.mark(d),p=i.default.mark(h);function f(e){var t,r,n;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,r=t.name,n=t.value,i.next=3,(0,o.put)((0,s.default)({name:r,type:"event",value:n}));case 3:case"end":return i.stop()}}),c)}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)((function(e){var t=e.payload;return e.type===a.SEND_EVENT&&t.name}),f);case 2:case"end":return e.stop()}}),l)}function h(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(d);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var i=n(r(25)),o=r(41),a=r(607),s=n(r(1095)),u=n(r(71)),c=n(r(62)),l=i.default.mark(h),p=i.default.mark(v),f=i.default.mark(m),d=s.default.getType.bind(s.default);function h(e){var t;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.files,r.next=3,(0,o.put)((0,u.default)({attachments:[].map.call(t,(function(e){var t=e.name,r=e.thumbnail,n=e.url;return{contentType:d(t)||"application/octet-stream",contentUrl:n,name:t,thumbnailUrl:r}})),channelData:{attachmentSizes:[].map.call(t,(function(e){return e.size}))},type:"message"}));case 3:case"end":return r.stop()}}),l)}function v(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)((function(e){var t=e.payload;return e.type===a.SEND_FILES&&t.files.length}),h);case 2:case"end":return e.stop()}}),p)}function m(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.default)(v);case 2:case"end":return e.stop()}}),f)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=new(n(r(1096)).default)(r(1097),r(1098));t.default=i},function(e,t,r){"use strict";function n(){this._types=Object.create(null),this._extensions=Object.create(null);for(var e=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}n.prototype.define=function(e,t){for(var r in e){var n=e[r].map((function(e){return e.toLowerCase()}));r=r.toLowerCase();for(var i=0;i<n.length;i++){var o=n[i];
vendor: 7,388 bytes, line 2
2if("*"!==o[0]){if(!t&&o in this._types)throw new Error('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+r+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+r+'".');this._types[o]=r}}if(t||!this._extensions[r]){var a=n[0];this._extensions[r]="*"!==a[0]?a:a.substr(1)}}},n.prototype.getType=function(e){var t=(e=String(e)).replace(/^.*[/\\]/,"").toLowerCase(),r=t.replace(/^.*\./,"").toLowerCase(),n=t.length<e.length;return(r.length<t.length-1||!n)&&this._types[r]||null},n.prototype.getExtension=function(e){return(e=/^\s*([^;\s]*)/.test(e)&&RegExp.$1)&&this._extensions[e.toLowerCase()]||null},e.exports=n},function(e,t){e.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["w
2off"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},function(e,t){e.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace"
2:["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smz
2ip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager"
2:["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-p
2ascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var i=n(r(25)),o=r(41),a=n(r(71)),s=r(608),u=n(r(62)),c=i.default.mark(f),l=i.default.mark(d),p=i.default.mark(h);function f(e){var t,r,n,s;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,r=t.displayText,n=t.text,s=t.value,i.next=3,(0,o.put)((0,a.default)({channelData:{messageBack:{displayText:r}},text:n,type:"message",value:s}));case 3:case"end":return i.stop()}}),c)}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)(s.SEND_MESSAGE_BACK,f);case 2:case"end":return e.stop()}}),l)}function h(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(d);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var i=n(r(25)),o=r(41),a=r(406),s=n(r(71)),u=n(r(62)),c=i.default.mark(f),l=i.default.mark(d),p=i.default.mark(h);function f(e){var t,r,n,a;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,r=t.channelData,n=t.method,a=t.text,i.next=3,(0,o.put)((0,s.default)({channelData:r,text:a,textFormat:"plain",type:"message"},n));case 3:case"end":return i.stop()}}),c)}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)((function(e){var t=e.payload;return e.type===a.SEND_MESSAGE&&t.text}),f);case 2:case"end":return e.stop()}}),l)}function h(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(d);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var i=n(r(25)),o=r(41),a=n(r(71)),s=r(609),u=n(r(62)),c=i.default.mark(f),l=i.default.mark(d),p=i.default.mark(h);function f(e){var t;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.value,r.next=3,(0,o.put)((0,a.default)({channelData:{postBack:!0},text:"string"===typeof t?t:void 0,type:"message",value:"string"!==typeof t?t:void 0}));case 3:case"end":return r.stop()}}),c)}function d(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)(s.SEND_POST_BACK,f);case 2:case"end":return e.stop()}}),l)}function h(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.default)(d);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var o=i(r(25)),a=r(41),s=r(218),u=r(361),c=r(71),l=i(r(404)),p=i(r(1103)),f=i(r(293)),d=i(r(62)),h=n.mark(y),v=n.mark(T);function m(e){return(0,a.take)((function(t){var r=t.payload;return t.type===u.SET_SEND_TYPING_INDICATOR&&!r.sendTypingIndicator===!e}))}function y(){var e;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.select)(p.default);case 2:if(t.sent){t.next=6;break}return t.next=6,m(!0);case 6:e=o.default.mark((function e(){var t,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=-1/0,e.next=3,(0,a.takeLatest)((function(e){var t=e.payload,r=e.type;return r===s.SET_SEND_BOX&&t.text||r===c.POST_ACTIVITY&&"typing"!==t.activity.type}),o.default.mark((function e(r){var n,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.payload,r.type!==s.SET_SEND_BOX){e.next=11;break}if(!((i=3e3-Date.now()+t)>0)){e.next=6;break}return e.next=6,(0,a.call)(f.default,i);case 6:return e.next=8,(0,a.put)((0,l.default)());case 8:t=Date.now(),e.next=12;break;case 11:"message"===n.activity.type&&(t=-1/0);case 12:case"end":return e.stop()}}),e)})));case 3:return r=e.sent,e.next=6,m(!1);case 6:return e.next=8,(0,a.cancel)(r);case 8:return e.next=10,m(!0);case 10:case"end":return e.stop()}}),e)}));case 7:return t.delegateYield(e(),"t0",8);case 8:t.next=7;break;case 10:case"end":return t.stop()}}),h)}function T(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.default)(y);case 2:case"end":return e.stop()}}),v)}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.sendTypingIndicator}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var o=i(r(25)),a=r(41),s=r(151),u=r(259),c=i(r(217)),l=i(r(262)),p=i(r(1105)),f=i(r(1106)),d=i(r(263)),h=i(r(62)),v=n.mark(y),m=n.mark(T);function y(e){var t;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.userID,r.next=3,(0,a.takeEvery)((function(e){var r=e.payload;return e.type===s.INCOMING_ACTIVITY&&r.activity.from.id!==t&&"user"!==r.activity.from.role}),o.default.mark((function e(t){var r,n,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload.activity,e.next=3,(0,a.select)(p.default);case 3:if(n=e.sent,!(i=(0,f.default)(r)&&n)||!(r.speak||r.text||~(r.attachments||[]).findIndex((function(e){var t=e.content;return(t=void 0===t?{}:t).speak})))){e.next=8;break}return e.next=8,(0,a.put)((0,c.default)(r,"speak",!0));case 8:if(!i||"expectingInput"!==r.inputHint){e.next=13;break}return e.next=11,(0,a.put)((0,l.default)(u.WILL_START));case 11:e.next=16;break;case 13:if("ignoringInput"!==r.inputHint){e.next=16;break}return e.next=16,(0,a.put)((0,d.default)());case 16:case"end":return e.stop()}}),e)})));case 3:case"end":return r.stop()}}),v)}function T(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.default)(y);case 2:case"end":return e.stop()}}),m)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.shouldSpeakIncomingActivity}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.from&&"message"===e.type}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var i=n(r(25)),o=r(41),a=r(217),s=r(405),u=r(262),c=r(259),l=n(r(1108)),p=n(r(601)),f=n(r(358)),d=i.default.mark(v),h=i.default.mark(m);function v(){var e;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.select)((0,s.of)(p.default));case 2:return e=t.sent,t.next=5,(0,o.select)(l.default);case 5:if(t.sent!==c.WILL_START||e.length){t.next=9;break}return t.next=9,(0,o.put)((0,f.default)());case 9:case"end":return t.stop()}}),d)}function m(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.takeEvery)((function(e){var t=e.type;return t===a.MARK_ACTIVITY||t===u.SET_DICTATE_STATE}),v);case 2:case"end":return e.stop()}}),h)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.dictateState}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var o=i(r(25)),a=r(41),s=r(71),u=i(r(362)),c=i(r(62)),l=n.mark(f),p=n.mark(d);function f(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.takeEvery)((function(e){var t=e.meta,r=e.payload;return e.type===s.POST_ACTIVITY_PENDING&&"speech"===t.method&&"message"===r.activity.type}),o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.put)((0,u.default)());case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),l)}function d(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.default)(f);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var o=i(r(25)),a=r(41),s=r(71),u=i(r(263)),c=i(r(62)),l=n.mark(f),p=n.mark(d);function f(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.takeEvery)((function(e){var t=e.payload;return e.type===s.POST_ACTIVITY_PENDING&&"message"===t.activity.type}),o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.put)((0,u.default)());case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),l)}function d(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.default)(f);case 2:case"end":return e.stop()}}),p)}},function(e,t,r){"use strict";var n=r(25),i=r(22);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var o=i(r(25)),a=r(41),s=r(71),u=r(218),c=i(r(264)),l=i(r(62)),p=n.mark(d),f=n.mark(h);function d(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.takeEvery)((function(e){var t=e.meta,r=e.payload,n=e.type;return n===u.SET_SEND_BOX&&r.text||n===s.POST_ACTIVITY_PENDING&&"speech"!==t.method&&"message"===r.activity.type}),o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.put)((0,c.default)());case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),p)}function h(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.default)(d);case 2:case"end":return e.stop()}}),f)}},function(e,t,r){"use strict";var n=r(25),i=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var o=i(r(25)),a=r(41),s=r(610),u=i(r(1113)),c=i(r(406)),l=i(r(218)),p=i(r(62)),f=n.mark(h),d=n.mark(v);function h(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.takeEvery)(s.SUBMIT_SEND_BOX,o.default.mark((function e(t){var r,n,i,s;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.channelData,i=r.method,e.next=3,(0,a.select)(u.default);case 3:if(!(s=e.sent)){e.next=9;break}return e.next=7,(0,a.put)((0,c.default)(s.trim(),i,{channelData:n}));case 7:return e.next=9,(0,a.put)((0,l.default)(""));case 9:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),f)}function v(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.default)(h);case 2:case"end":return e.stop()}}),d)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){return e.sendBoxValue}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?Array.isArray(e)?e:[e]:[]}},function(e,t,r){"use strict";var n=r(22);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)((function(){return console.warn("botframework-webchat: ".concat(e,"."))}))};var i=n(r(1116))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;return function(){t||(e(),t=1)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useActiveTyping",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"useActivities",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useAvatarForBot",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useAvatarForUser",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"useByteFormatter",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useConnectivityStatus",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"useCreateActivityRenderer",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"useCreateActivityStatusRenderer",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"useCreateAttachmentForScreenReaderRenderer",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"useCreateAvatarRenderer",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"useCreateScrollToEndButtonRenderer",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"useDateFormatter",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"useDebouncedNotifications",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"useDictateInterims",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"useDictateState",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"useDirection",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"useDisabled",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"useDismissNotification",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"useEmitTypingIndicator",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"useGetSendTimeoutForActivity",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"useGrammars",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"useGroupActivities",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"useGroupTimestamp",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"useLanguage",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"useLastTypingAt",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"useLocalize",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"useLocalizeDate",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"useLocalizer",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"useMarkActivityAsSpoken",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"usePerformCardAction",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"usePostActivity",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"useReferenceGrammarID",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"useRelativeTimeFormatter",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"useRenderActivity",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"useRenderActivityStatus",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"useRenderAttachment",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"useRenderAvatar",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"useRenderToast",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"useRenderTypingIndicator",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"useSendBoxValue",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"useSendEvent",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"useSendFiles",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"useSendMessage",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"useSendMessageBack",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"useSendPostBack",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"useSendTimeoutForActivity",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"useSendTypingIndicator",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"useSetNotification",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"useShouldSpeakIncomingActivity",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"useStartDictate",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"useStopDictate",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"useStyleOptions",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"useSubmitSendBox",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"useSuggestedActions",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"useTimeoutForSend",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"useTrackDimension",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"useTrackEvent",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"useTrackException",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"useTrackTiming",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"useUserID",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"useUsername",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"useVoiceSelector",{enumerable:!0,get:function(){return le.default}});var n=pe(r(1118)),i=pe(r(1122)),o=pe(r(1123)),a=pe(r(1124)),s=pe(r(1125)),u=pe(r(1126)),c=pe(r(1127)),l=pe(r(614)),p=pe(r(1129)),f=pe(r(615)),d=pe(r(1130)),h=pe(r(616)),v=pe(r(1131)),m=pe(r(1135)),y=pe(r(1136)),T=pe(r(1137)),b=pe(r(1139)),g=pe(r(1140)),_=pe(r(1141)),S=pe(r(408)),A=pe(r(1142)),E=pe(r(1143)),C=pe(r(1144)),O=pe(r(230)),I=pe(r(1145)),w=pe(r(1146)),P=pe(r(1200)),N=pe(r(411)),R=pe(r(1201)),k=pe(r(1203)),x=pe(r(1204)),M=pe(r(1205)),L=pe(r(1206)),j=pe(r(1207)),D=pe(r(1208)),U=pe(r(613)),B=pe(r(1209)),F=pe(r(1210)),V=pe(r(1211)),z=pe(r(1212)),H=pe(r(1213)),G=pe(r(1214)),q=pe(r(1215)),Y=pe(r(1216)),W=pe(r(1217)),K=pe(r(1218)),$=pe(r(1219)),J=pe(r(1220)),X=pe(r(1221)),Z=pe(r(1222)),Q=pe(r(1223)),ee=pe(r(124)),te=pe(r(1224)),re=pe(r(1225)),ne=pe(r(1226)),ie=pe(r(623)),oe=pe(r(296)),ae=pe(r(414)),se=pe(r(1227)),ue=pe(r(1229)),ce=pe(r(1230)),le=pe(r(1231));
2function pe(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(0),i=r(78),o=s(r(611)),a=s(r(124));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"===typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e){var t=Date.now(),r=f((0,a.default)(),1)[0].typingAnimationDuration,s=(0,o.default)(),c=(0,i.useSelector)((function(e){return e.typing}));"number"!==typeof e&&(e=r);var d=Object.entries(c).reduce((function(r,n){var i=f(n,2),o=i[0],a=i[1],s=a.at,u=a.name,c=a.role,d=s+e;return d>t?l(l({},r),{},p({},o,{at:s,expireAt:d,name:u,role:c})):r}),{}),h=Math.min.apply(Math,u(Object.values(d).map((function(e){return e.expireAt})))),v=h&&h-t;return(0,n.useEffect)((function(){if(v&&isFinite(v)){var e=setTimeout(s,Math.max(0,v));return function(){return clearTimeout(e)}}}),[s,v]),[d]};t.default=v},function(e,t,r){"use strict";var n=r(1120);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
2;return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,T=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case p:case f:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case m:case c:return e;default:return t}}case o:return t}}}function A(e){return S(e)===f}t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return A(e)||S(e)===p},t.isConcurrentMode=A,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===d},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===y},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===f||e===u||e===s||e===h||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===g||e.$$typeof===_||e.$$typeof===T)},t.typeOf=S},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.useSelector)((function(e){return e.activities}))]};var n=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(n=(0,i.default)(),a=1,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(n,a)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(n,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],t=e.botAvatarImage,r=e.botAvatarInitials;var n,a;return[{image:t,initials:r}]};var n,i=(n=r(124))&&n.__esModule?n:{default:n};function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(n=(0,i.default)(),a=1,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(n,a)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}
2(n,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],t=e.userAvatarImage,r=e.userAvatarInitials;var n,a;return[{image:t,initials:r}]};var n,i=(n=r(124))&&n.__esModule?n:{default:n};function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(t=(0,o.default)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,r)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];var t,r;return(0,i.useMemo)((function(){var t=e.unitFormatter.bind(e);return function(e){return e<1024?t("byte",s)(e):e<1048576?t("kilobyte",u)(~~(e/1024)):e<1073741824?t("megabyte",u)(~~(e/1048576)):t("gigabyte",u)(~~(e/1073741824))}}),[e])};var n,i=r(0),o=(n=r(294))&&n.__esModule?n:{default:n};function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s={form:"long"},u={form:"short"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.useSelector)((function(e){return e.connectivityStatus}))]};var n=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)()};var n,i=(n=r(612))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(o=(0,n.useState)(),a=2,function(e){if(Array.isArray(e))return e}(o)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(o,a)||function(e,t){if(e){if("string"===typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(o,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=(t[0],t[1]);var o,a;return(0,n.useEffect)((function(){var t=Date.now();if(t<e){var n=setTimeout((function(){return r({})}),Math.max(0,e-t));return function(){return clearTimeout(n)}}}),[e]),Date.now()>=e};var n=r(0);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().attachmentForScreenReaderRenderer};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().scrollToEndButtonRenderer};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEarliestUpdateNotBefore=y,t.default=void 0;var n=r(0),i=l(r(106)),o=l(r(1132)),a=l(r(611)),s=l(r(1133)),u=l(r(124)),c=l(r(1134));
2function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e){return(0,o.default)(Object.values(e).filter((function(e){return e.outOfDate})).map((function(e){return e.updateNotBefore})))}var T=function(){var e,t=Date.now(),r=h((0,u.default)(),1)[0].notificationDebounceTimeout,o=h((0,s.default)(),1)[0],l=(0,n.useRef)({}),p=(0,a.default)(),d=function(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=v(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(Object.keys(l.current).filter((function(e){return!(e in o)})));try{for(d.s();!(e=d.n()).done;){var m=e.value;l.current=(0,i.default)(l.current,[m],(function(e){if(t<e.updateNotBefore)return f(f({},e),{},{outOfDate:!0})}))}}catch(_){d.e(_)}finally{d.f()}for(var T=function(){var e=h(g[b],2)[1],n=e.alt,o=e.data,a=e.id,s=e.level,u=e.message,c=e.timestamp;l.current=(0,i.default)(l.current,[a],(function(e){return e&&n===e.alt&&Object.is(o,e.data)&&s===e.level&&u===e.message&&c===e.timestamp?e:e&&t<e.updateNotBefore?f(f({},e),{},{outOfDate:!0}):f(f({},e),{},{alt:n,data:o,id:a,level:s,message:u,outOfDate:!1,timestamp:c,updateNotBefore:t+r})}))},b=0,g=Object.entries(o);b<g.length;b++)T();return(0,c.default)(y(l.current),p),[l.current]};t.default=T},function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){return"undefined"===typeof e}Object.defineProperty(t,"__esModule",{value:!0}),t.map=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return s(Object.entries(e).map((function(e){return o(e[1])?void 0:e})),(function(r){var i=n(r,2),o=i[0],a=i[1];return t.call(e,a,o)}))},t.default=void 0;var a=function(e){return e};function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return e.reduce((function(e,r){var n=o(e)?e:t(e),i=o(r)?r:t(r);return o(n)?r:o(i)||n<i?e:r}),void 0)}var u=s;t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.useSelector)((function(e){return e.notifications}))]};var n=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.useEffect)((function(){if("number"===typeof e){var r=setTimeout(t,Math.max(0,e-Date.now()));return function(){return clearTimeout(r)}}}),[e,t])};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}
2),t.default=function(){return[(0,i.useSelector)((function(e){return e.dictateInterims}))||[],(0,o.default)().setDictateInterims]};var n,i=r(78),o=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.useSelector)((function(e){return e.dictateState}))]};var n=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=u((0,o.default)(),1)[0],t=u((0,a.default)(),1)[0];return[(0,n.useMemo)((function(){return function(e,t){if("auto"!==e)return e;if((0,i.default)().includes(t))return"rtl";return"ltr"}(e,t)}),[e,t])]};var n=r(0),i=s(r(617)),o=s(r(1138)),a=s(r(230));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().dir]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().disabled]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().dismissNotification};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().emitTypingIndicator};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().grammars]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().groupActivities};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(e=(0,i.default)(),t=1,c(e)||u(e,t)||a(e,t)||o())[0].groupTimestamp];var e,t};var n,i=(n=r(124))&&n.__esModule?n:{default:n};function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}function c(e){if(Array.isArray(e))return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){i&&(console.warn('botframework-webchat: "useLastTypingAt" is deprecated. Please use "useActiveTyping" instead. This hook will be removed on or after 2022-02-16.'),i=!1);return[(0,n.useSelector)((function(e){return e.lastTypingAt}))]};var n=r(78),i=!0},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=(0,i.default)(),r=a(t,1),n=r[0],s=arguments.length,u=new Array(s>1?s-1:0),c=1;c<s;c++)u[c-1]=arguments[c];return o.localize.apply(void 0,[e,n].concat(u))};var n,i=(n=r(230))&&n.__esModule?n:{default:n},o=r(619);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){var n,i,o;!function(a,s){"use strict";i=[r(231),r(295)],void 0===(o="function"===typeof(n=function(e){var t=e._createErrorUnsupportedFeature,r=e._looseMatching,n=e._partsJoin,i=e._partsPush,o=e._regexpEscape,a=e._removeLiteralQuotes,s=e._runtimeKey,u=e._stringPad,c=e._validateParameterPresence,l=e._validateParameterType,p=e._validateParameterTypeString,f=function(e,t){l(e,t,void 0===e||e instanceof Date,"Date")},d=function(){function e(e,t,r){Object.defineProperty(e,t,{value:r})}function t(e,t){for(var r=0,n=e.getTime();r<t.length-1&&n>=t[r];)r++;return r}function r(e){var t=this.getTimezoneOffset(),r=e();this.original.setTime(new Date(this.getTime()));var n=this.getTimezoneOffset();return n-t&&this.original.setMinutes(this.original.getMinutes()+n-t),r}var n=function(t,n){if(e(this,"original",new Date(t.getTime())),e(this,"local",new Date(t.getTime())),e(this,"timeZoneData",n),e(this,"setWrap",r),!(n.untils&&n.offsets&&n.isdsts))throw new Error("Invalid IANA data");this.setTime(this.local.getTime()-60*this.getTimezoneOffset()*1e3)};return n.prototype.clone=function(){return new n(this.original,this.timeZoneData)},["getFullYear","getMonth","getDate","getDay","getHours","getMinutes","getSeconds","getMilliseconds"].forEach((function(e){var t="getUTC"+e.substr(3);n.prototype[e]=function(){return this.local[t]()}})),n.prototype.valueOf=n.prototype.getTime=function(){return this.local.getTime()+60*this.getTimezoneOffset()*1e3},n.prototype.getTimezoneOffset=function(){var e=t(this.original,this.timeZoneData.untils);return this.timeZoneData.offsets[e]},["setFullYear","setMonth","setDate","setHours","setMinutes","setSeconds","setMilliseconds"].forEach((function(e){var t="setUTC"+e.substr(3);n.prototype[e]=function(e){var r=this.local;return this.setWrap((function(){return r[t](e)}))}})),n.prototype.setTime=function(e){return this.local.setTime(e)},n.prototype.isDST=function(){var e=t(this.original,this.timeZoneData.untils);return Boolean(this.timeZoneData.isdsts[e])},n.prototype.inspect=function(){var e=t(this.original,this.timeZoneData.untils),r=this.timeZoneData.abbrs;return this.local.toISOString().replace(/Z$/,"")+" "+(r&&r[e]+" "||-1*this.getTimezoneOffset()+" ")+(this.isDST()?"(daylight savings)":"")},n.prototype.toDate=function(){return new Date(this.getTime())},["toISOString","toJSON","toUTCString"].forEach((function(e){n.prototype[e]=function(){return this.toDate()[e]()}})),n}(),h=function(e,t){return(e.getDay()-t+7)%7},v=function(e,t){switch(e=e instanceof d?e.clone():new Date(e.getTime()),t){case"year":e.setMonth(0);case"month":e.setDate(1);case"day":e.setHours(0);case"hour":e.setMinutes(0);case"minute":e.setSeconds(0);case"second":e.setMilliseconds(0)}return e},m=function(e){return Math.floor((t=v(e,"year"),(e.getTime()-t.getTime())/864e5));var t},y=function(e,t){return t=t||function(e,t,r){return e[r]=t,e},Object.keys(e).reduce((function(r,n){return t(r,n,e[n])}),{})}({era:"G",year:"yY",quarter:"qQ",month:"ML",week:"wW",day:"dDF",weekday:"ecE",dayperiod:"a",hour:"hHkK",minute:"m",second:"sSA",zone:"zvVOxX"},(function(e,t,r){return r.split("").forEach((function(r){e[r]=t})),e})),T=/([a-z])\1*|'([^']|'')+'|''|./gi,b=function(e,t,r,n){var i,o=e.getTimezoneOffset();return i=Math.abs(o),n=n||{1:function(e){return u(e,1)},2:function(e){return u(e,2)}},t.split(";")[o>0?1:0].replace(":",r).replace(/HH?/,(function(e){return n[e.length](Math.floor(i/60))})).replace(/mm/,(function(){return n[2](Math.floor(i%60))})).replace(/ss/,(function(){return n[2](Math.floor(i%1*60))}))},g=["sun","mon","tue","wed","thu","fri","sat"],_=function(e,t,r){var n=[],o=r.timeSeparator;return r.timeZoneData&&(e=new d(e,r.timeZoneData())),r.pattern.replace(T,(function(s){var u,c,l,p=s.charAt(0),f=s.length;
2switch("j"===p&&(p=r.preferredTime),"Z"===p&&(f<4?(p="x",f=4):f<5?(p="O",f=4):(p="X",f=5)),"z"===p&&(e.isDST&&(l=e.isDST()?r.daylightTzName:r.standardTzName),l||(p="O",f<4&&(f=1))),p){case"G":l=r.eras[e.getFullYear()<0?0:1];break;case"y":l=e.getFullYear(),2===f&&(l=+(l=String(l)).substr(l.length-2));break;case"Y":(l=new Date(e.getTime())).setDate(l.getDate()+7-h(e,r.firstDay)-r.firstDay-r.minDays),l=l.getFullYear(),2===f&&(l=+(l=String(l)).substr(l.length-2));break;case"Q":case"q":l=Math.ceil((e.getMonth()+1)/3),f>2&&(l=r.quarters[p][f][l]);break;case"M":case"L":l=e.getMonth()+1,f>2&&(l=r.months[p][f][l]);break;case"w":l=h(v(e,"year"),r.firstDay),l=Math.ceil((m(e)+l)/7)-(7-l>=r.minDays?0:1);break;case"W":l=h(v(e,"month"),r.firstDay),l=Math.ceil((e.getDate()+l)/7)-(7-l>=r.minDays?0:1);break;case"d":l=e.getDate();break;case"D":l=m(e)+1;break;case"F":l=Math.floor(e.getDate()/7)+1;break;case"e":case"c":if(f<=2){l=h(e,r.firstDay)+1;break}case"E":l=g[e.getDay()],l=r.days[p][f][l];break;case"a":l=r.dayPeriods[e.getHours()<12?"am":"pm"];break;case"h":l=e.getHours()%12||12;break;case"H":l=e.getHours();break;case"K":l=e.getHours()%12;break;case"k":l=e.getHours()||24;break;case"m":l=e.getMinutes();break;case"s":l=e.getSeconds();break;case"S":l=Math.round(e.getMilliseconds()*Math.pow(10,f-3));break;case"A":l=Math.round(function(e){return e-v(e,"day")}(e)*Math.pow(10,f-3));break;case"z":break;case"v":if(r.genericTzName){l=r.genericTzName;break}case"V":if(r.timeZoneName){l=r.timeZoneName;break}"v"===s&&(f=1);case"O":0===e.getTimezoneOffset()?l=r.gmtZeroFormat:(f<4?(u=e.getTimezoneOffset(),u=r.hourFormat[u%60-u%1===0?0:1]):u=r.hourFormat,l=b(e,u,o,t),l=r.gmtFormat.replace(/\{0\}/,l));break;case"X":if(0===e.getTimezoneOffset()){l="Z";break}case"x":u=e.getTimezoneOffset(),1===f&&u%60-u%1!==0&&(f+=1),4!==f&&5!==f||u%1!==0||(f-=2),l=b(e,l=["+HH;-HH","+HHmm;-HHmm","+HH:mm;-HH:mm","+HHmmss;-HHmmss","+HH:mm:ss;-HH:mm:ss"][f-1],":");break;case":":l=o;break;case"'":l=a(s);break;default:l=s}"number"===typeof l&&(l=t[f](l)),c=y[p],i(n,c||"literal",l)})),n},S=function(e,t){var r=e.getDate();e.setDate(1),e.setMonth(t),function(e,t){var r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate();e.setDate(t<1?1:t<r?t:r)}(e,r)},A=function(e,t,r){return e<t||e>r},E=function(e,r,n){var i,o,a,s,u,c,l,p,f,h=new Date,m=[];if(n.timeZoneData&&(h=new d(h,n.timeZoneData())),!r.length)return null;if(!r.every((function(e){var r,f,d;if("literal"===e.type)return!0;switch(r=e.type.charAt(0),d=e.type.length,"j"===r&&(r=n.preferredTimeData),r){case"G":m.push(0),u=+e.value;break;case"y":if(f=e.value,2===d){if(A(f,0,99))return!1;(f+=100*Math.floor(h.getFullYear()/100))>h.getFullYear()+20&&(f-=100)}h.setFullYear(f),m.push(0);break;case"Y":throw t({feature:"year pattern `"+r+"`"});case"Q":case"q":break;case"M":case"L":if(f=d<=2?e.value:+e.value,A(f,1,12))return!1;s=f,m.push(1);break;case"w":case"W":break;case"d":o=e.value,m.push(2);break;case"D":a=e.value,m.push(2);break;case"F":break;case"e":case"c":case"E":break;case"a":i=e.value;break;case"h":if(f=e.value,A(f,1,12))return!1;c=l=!0,h.setHours(12===f?0:f),m.push(3);break;case"K":if(f=e.value,A(f,0,11))return!1;c=l=!0,h.setHours(f),m.push(3);break;case"k":if(f=e.value,A(f,1,24))return!1;c=!0,h.setHours(24===f?0:f),m.push(3);break;case"H":if(f=e.value,A(f,0,23))return!1;c=!0,h.setHours(f),m.push(3);break;case"m":if(f=e.value,A(f,0,59))return!1;h.setMinutes(f),m.push(4);break;case"s":if(f=e.value,A(f,0,59))return!1;h.setSeconds(f),m.push(5);break;case"A":h.setHours(0),h.setMinutes(0),h.setSeconds(0);case"S":f=Math.round(e.value*Math.pow(10,3-d)),h.setMilliseconds(f),m.push(6);break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":"number"===typeof e.value&&(p=e.value)}return!0})))return null;if(c&&!(!i^l))return null;if(0===u&&h.setFullYear(-1*h.getFullYear()+1),void 0!==s&&S(h,s-1),void 0!==o){if(A(o,1,function(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}(h)))return null;h.setDate(o)}else if(void 0!==a){if(A(a,1,(f=h.getFullYear(),1===new Date(f,1,29).getMonth()?366:365)))return null;h.setMonth(0),h.setDate(a)}return l&&"pm"===i&&h.setHours(h.getHours()+12),void 0!==p&&h.setMinutes(h.getMinutes()+p-h.getTimezoneOffset()),m=Math.max.apply(null,m),(h=v(h,["year","month","day","hour","minute","second","milliseconds"][m]))instanceof d&&(h=h.toDate()),h},C=function(e,t,n){var i,s,u=[],c=["abbreviated","wide","narrow"];return i=n.digitsRe,e=r(e),s=n.pattern.match(T).every((function(r){var s,l,p,f,d={};function h(t,r){var n,i,o=e.match(t);return r=r||function(e){return+e},!!o&&(i=o[1],o.length<6?(n=i?1:3,d.value=60*r(o[n])):o.length<10?(n=i?[1,3]:[5,7],d.value=60*r(o[n[0]])+r(o[n[1]])):(n=i?[1,3,5]:[7,9,11],d.value=60*r(o[n[0]])+r(o[n[1]])+r(o[n[2]])/60),i&&(d.value*=-1),!0)}function v(){if(1===l)return p=!0,f=i}function m(){if(1===l||2===l)return p=!0,f=new RegExp("^("+i.source+"){1,2}")}function y(){if(2===l)return p=!0,f=new RegExp("^("+i.source+"){2}")}function T(t){var r=n[t.join("/")];return r?(r.some((function(t){if(t[1].test(e))return d.value=t[0],f=t[1],!0})),null):null}switch(d.type=r,s=r.charAt(0),l=r.length,"Z"===s&&(l<4?(s="x",l=4):l<5?(s="O",l=4):(s="X",l=5)),"z"===s&&n.standardOrDaylightTzName&&(d.value=null,f=n.standardOrDaylightTzName),"v"===s&&(n.genericTzName?(d.value=null,f=n.genericTzName):(s="V",l=4)),"V"===s&&n.timeZoneName&&(d.value=2===l?n.timeZoneName:null,f=n.timeZoneNameRe),s){case"G":T(["gregorian/eras",l<=3?"eraAbbr":4===l?"eraNames":"eraNarrow"]);break;case"y":case"Y":p=!0,f=1===l?new RegExp("^("+i.source+")+"):2===l?new RegExp("^("+i.source+"){1,2}"):new RegExp("^("+i.source+"){"+l+",}");break;case"Q":case"q":v()||y()||T(["gregorian/quarters","Q"===s?"format":"stand-alone",c[l-3]]);break;case"M":case"L":m()||T(["gregorian/months","M"===s?"format":"stand-alone",c[l-3]]);break;case"D":l<=3&&(p=!0,f=new RegExp("^("+i.source+"){"+l+",3}"));break;case"W":case"F":v();break;case"e":case"c":if(l<=2){v()||y();break}
2case"E":6===l?T(["gregorian/days",["c"===s?"stand-alone":"format"],"short"])||T(["gregorian/days",["c"===s?"stand-alone":"format"],"abbreviated"]):T(["gregorian/days",["c"===s?"stand-alone":"format"],c[l<3?0:l-3]]);break;case"a":T(["gregorian/dayPeriods/format/wide"]);break;case"w":(function(){if(1===l)return p=!0,f=new RegExp("^("+i.source+"){1,2}")})()||y();break;case"d":case"h":case"H":case"K":case"k":case"j":case"m":case"s":m();break;case"S":p=!0,f=new RegExp("^("+i.source+"){"+l+"}");break;case"A":p=!0,f=new RegExp("^("+i.source+"){"+(l+5)+"}");break;case"v":case"V":case"z":if(f&&f.test(e))break;if("V"===s&&2===l)break;case"O":if(e===n["timeZoneNames/gmtZeroFormat"])d.value=0,f=n["timeZoneNames/gmtZeroFormatRe"];else if(!n["timeZoneNames/hourFormat"].some((function(e){if(h(e,t))return f=e,!0})))return null;break;case"X":if("Z"===e){d.value=0,f=/^Z/;break}case"x":if(!n.x.some((function(e){if(h(e))return f=e,!0})))return null;break;case"'":d.type="literal",f=new RegExp("^"+o(a(r)));break;default:d.type="literal",f=new RegExp("^"+o(r))}return!!f&&(e=e.replace(f,(function(e){return d.lexeme=e,p&&(d.value=t(e)),""})),!!d.lexeme&&((!p||!isNaN(d.value))&&(u.push(d),!0)))})),""!==e&&(s=!1),s?u:[]};function O(e){return void 0!==e.skeleton||void 0!==e.date||void 0!==e.time||void 0!==e.datetime||void 0!==e.raw}return e._dateFormat=_,e._dateFormatterFn=function(e){return function(t){return n(e(t))}},e._dateParser=E,e._dateParserFn=function(e,t,r){return function(n){var i;return c(n,"value"),p(n,"value"),i=C(n,e,r),E(n,i,t)||null}},e._dateTokenizer=C,e._dateToPartsFormatterFn=function(e,t){return function(r){return c(r,"value"),f(r,"value"),_(r,e,t)}},e._validateParameterTypeDate=f,e.dateFormatter=e.prototype.dateFormatter=function(t){return O(t=t||{})||(t.skeleton="yMd"),e[s("dateFormatter",this._locale,[t])]},e.dateToPartsFormatter=e.prototype.dateToPartsFormatter=function(t){return O(t=t||{})||(t.skeleton="yMd"),e[s("dateToPartsFormatter",this._locale,[t])]},e.dateParser=e.prototype.dateParser=function(t){return O(t=t||{})||(t.skeleton="yMd"),e[s("dateParser",this._locale,[t])]},e.formatDate=e.prototype.formatDate=function(e,t){return c(e,"value"),f(e,"value"),this.dateFormatter(t)(e)},e.formatDateToParts=e.prototype.formatDateToParts=function(e,t){return c(e,"value"),f(e,"value"),this.dateToPartsFormatter(t)(e)},e.parseDate=e.prototype.parseDate=function(e,t){return c(e,"value"),p(e,"value"),this.dateParser(t)(e)},e})?n.apply(t,i):n)||(e.exports=o)}()},function(e,t,r){var n,i,o;!function(a,s){"use strict";i=[r(231),r(295),r(409)],void 0===(o="function"===typeof(n=function(e){var t=e._formatMessage,r=e._runtimeKey,n=e._validateParameterPresence,i=e._validateParameterTypeNumber,o=function(e,r,n,i){var o=i["relative-type-"+e];return o||(o=(e<=0?i["relativeTime-type-past"]:i["relativeTime-type-future"])["relativeTimePattern-count-"+n(e=Math.abs(e))],t(o,[r(e)]))};return e._relativeTimeFormatterFn=function(e,t,r){return function(a){return n(a,"value"),i(a,"value"),o(a,e,t,r)}},e.formatRelativeTime=e.prototype.formatRelativeTime=function(e,t,r){return n(e,"value"),i(e,"value"),this.relativeTimeFormatter(t,r)(e)},e.relativeTimeFormatter=e.prototype.relativeTimeFormatter=function(t,n){return n=n||{},e[r("relativeTimeFormatter",this._locale,[t,n])]},e})?n.apply(t,i):n)||(e.exports=o)}()},function(e,t,r){var n,i,o;!function(a,s){"use strict";i=[r(231),r(295),r(409)],void 0===(o="function"===typeof(n=function(e){var t=e._formatMessage,r=e._runtimeKey,n=e._validateParameterPresence,i=e._validateParameterTypeNumber,o=function(e,r,n,i){var o,a,s,u,c,l,p,f,d=i.compoundUnitPattern;return i=i.unitProperties,s=r(e),p=n(e),i instanceof Array?(a=i[0],f=(c=i[1]).hasOwnProperty("one")?"one":"other",o=t(a[p],[s]),u=t(c[f],[""]).trim(),t(d,[o,u])):(l=i[p],t(l,[s]))};return e._unitFormatterFn=function(e,t,r){return function(a){return n(a,"value"),i(a,"value"),o(a,e,t,r)}},e.formatUnit=e.prototype.formatUnit=function(e,t,r){return this.unitFormatter(t,r)(e)},e.unitFormatter=e.prototype.unitFormatter=function(t,n){return n=n||{},e[r("unitFormatter",this._locale,[t,n])]},e})?n.apply(t,i):n)||(e.exports=o)}()},function(e){e.exports=JSON.parse('{"_.comment":"The content of this file is contributed by the community.","ACTIVITY_BOT_SAID":"\u0627\u0644\u0628\u0648\u062a $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644: $3","ACTIVITY_ERROR_BOX_TITLE":"\u0631\u0633\u0627\u0644\u0629 \u062e\u0637\u0623","ACTIVITY_STATUS_SEND_FAILED_RETRY":"[\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629][RETRY]. \u0641\u0634\u0644 \u0641\u064a \u0627\u0644\u0625\u0631\u0633\u0627\u0644.","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0623\u0631\u0633\u0627\u0644","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
20623\u0631\u0633\u0644: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0627\u0631\u0633\u0644 \u0627\u0644\u062d\u0627\u0644\u0629: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u062d\u0627\u0644\u0627","ACTIVITY_USER_SAID":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644: $3","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0627\u0644\u0628\u0648\u062a \u0627\u0631\u0633\u0644:","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0623\u0631\u0633\u0644: ","CAROUSEL_FLIPPER_LEFT_ALT":"\u064a\u0633\u0627\u0631","CAROUSEL_FLIPPER_RIGHT_ALT":"\u064a\u0645\u064a\u0646","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0645\u062a\u0635\u0644","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u064a\u062a\u0645 \u0627\u0644\u062a\u0648\u0635\u064a\u0644\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0644\u0627\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u062d\u062f\u062b \u0627\u0646\u0642\u0637\u0627\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u062a\u0648\u0635\u064a\u0644\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u062a\u0642\u062f\u064a\u0645. \u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0623\u0648 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0645\u0637\u0648\u0631 \u0627\u0644\u0628\u0648\u062a.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u064a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u0627 \u0623\u0637\u0648\u0644 \u0645\u0646 \u0627\u0644\u0645\u0639\u062a\u0627\u062f \u0644\u0644\u0627\u062a\u0635\u0627\u0644.","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0645\u0644\u0641 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 $1 \u0628\u062d\u062c\u0645 $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 \u0628\u062d\u062c\u0645 $2","RECEIPT_CARD_TAX":"\u0636\u0631\u064a\u0628\u0629","RECEIPT_CARD_TOTAL":"\u0627\u0644\u0645\u062c\u0645\u0648\u0639","RECEIPT_CARD_VAT":"\u0636\u0631\u064a\u0628\u0629 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0645\u0636\u0627\u0641\u0629","SPEECH_INPUT_LISTENING":"\u064a\u0633\u062a\u0645\u0639\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u063a\u0644\u0642","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644","SPEECH_INPUT_STARTING":"\u064a\u0628\u062f\u0623\u2026","TEXT_INPUT_PLACEHOLDER":"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643","TEXT_INPUT_SEND_BUTTON_ALT":"\u0623\u0631\u0633\u0644","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u062a\u0643\u0644\u0645","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641","TRANSCRIPT_NEW_MESSAGES":"\u0631\u0633\u0627\u0626\u0644 \u062c\u062f\u064a\u062f\u0629","TYPING_INDICATOR_ALT":"\u0639\u0631\u0636 \u0645\u0624\u0634\u0631 \u0627\u0644\u0643\u062a\u0627\u0628\u0629"}')},function(e){e.exports=JSON.parse('{"_.comment":"The content of this file is contributed by the community.","ACTIVITY_BOT_SAID":"\u0631\u062f \u0627\u0644\u0622\u0644\u064a $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644 \u0628: $3","ACTIVITY_ERROR_BOX_TITLE":"\u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u0645\u0634\u0643\u0644\u0629","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0641\u0634\u0644 \u0641\u064a \u0627\u0644\u0627\u0631\u0633\u0627\u0644. [\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0648\u0627\u0644\u0629][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u062c\u0627\u0631\u064a \u0627\u0644\u0625\u0631\u0633\u0627\u0644","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
20623\u0631\u0633\u0644 \u0628: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u062d\u0627\u0644\u0629 \u0627\u0644\u0625\u0631\u0633\u0627\u0644: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0627\u0644\u0622\u0646","ACTIVITY_USER_SAID":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644 \u0628: $3","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u062a\u0641\u0635\u064a\u0644 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u062a\u0643\u064a\u0641","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0639\u0631\u0636 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u062a\u0643\u064a\u0641","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0627\u0644\u0631\u062f \u0627\u0644\u0622\u0644\u064a \u0623\u0631\u0633\u0644: ","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0623\u0631\u0633\u0644: ","CAROUSEL_FLIPPER_LEFT_ALT":"\u064a\u0633\u0627\u0631","CAROUSEL_FLIPPER_RIGHT_ALT":"\u064a\u0645\u064a\u0646","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u062a\u0645 \u0627\u0644\u0625\u062a\u0635\u0627\u0644","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u064a\u062a\u0645 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0627\u0644\u0625\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u062d\u062f\u062b \u0627\u0646\u0642\u0637\u0627\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u062e\u0637\u0623 \u062a\u0642\u062f\u064a\u0645. \u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0623\u0648 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0645\u0637\u0648\u0631 \u0627\u0644\u0631\u0648\u0628\u0648\u062a.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0627\u0644\u0625\u062a\u0635\u0627\u0644 \u064a\u0633\u062a\u063a\u0631\u0642 \u0627\u0643\u062b\u0631 \u0645\u0646 \u0627\u0644\u0645\u0639\u062a\u0627\u062f.","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 $1 \u0628\u062d\u062c\u0645 $2","FILE_CONTENT_WITH_SIZE_ALT":"\u0628\u062d\u062c\u0645 $1","RECEIPT_CARD_TAX":"\u0636\u0631\u064a\u0628\u0629","RECEIPT_CARD_TOTAL":"\u0627\u0644\u0645\u062c\u0645\u0648\u0639","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u062c\u0627\u0631\u064a \u0627\u0644\u0625\u0633\u062a\u0645\u0627\u0639\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0627\u0644\u0645\u0627\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u063a\u0644\u0642","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0627\u0644\u0645\u0627\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u064a\u0639\u0645\u0644","SPEECH_INPUT_STARTING":"\u062c\u0627\u0631\u064a \u0627\u0644\u0628\u062f\u0621\u2026","TEXT_INPUT_ALT":"\u0635\u0646\u062f\u0648\u0642 \u0627\u0644\u0625\u0631\u0633\u0627\u0644","TEXT_INPUT_PLACEHOLDER":"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643","TEXT_INPUT_SEND_BUTTON_ALT":"\u0625\u0631\u0633\u0627\u0644","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u062a\u0643\u0644\u0645","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641","TRANSCRIPT_NEW_MESSAGES":"\u0631\u0633\u0627\u0626\u0644 \u062c\u062f\u064a\u062f\u0629","TYPING_INDICATOR_ALT":"\u064a\u062a\u0645 \u0639\u0631\u0636 \u0645\u0624\u0634\u0631 \u0627\u0644\u0643\u062a\u0627\u0628\u0629"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0645\u062d\u062a\u0648\u0649 \u0647\u0630\u0627 \u0627\u0644\u0645\u0644\u0641 \u0645\u0624\u0645\u0646. \u0646\u0631\u062d\u0628 \u0628\u0627\u0644\u0645\u0633\u0627\u0647\u0645\u0627\u062a\u060c \u0648\u0644\u0643\u0646 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0635\u062d\u0629 \u0627\u0644\u062a\u063a\u064a\u064a\u0631 \u0642\u062f \u064a\u062a\u0623\u062e\u0631.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u0642\u0627\u0628\u0644 \u0627\u0644\u0631\u0648\u0628\u0648\u062a $1:","ACTIVITY_YOU_SAID_ALT":"\u0644\u0642\u062f \u0642\u0644\u062a:","ACTIVITY_BOT_ATTACHED_ALT":"\u0642\u0627\u0645 \u0627\u0644\u0631\u0648\u0628\u0648\u062a \u0628\u0625\u0631\u0641\u0627\u0642:","ACTIVITY_ERROR_BOX_TITLE":"\u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062e\u0637\u0623","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u0627\u0636\u063a\u0637 \u0639\u0644\u0649 \u0627\u0644\u0645\u0641\u062a\u0627\u062d ENTER \u0644\u0644\u062a\u0641\u0627\u0639\u0644.","ACTIVITY_YOU_ATTACHED_ALT":"\u0644\u0642\u062f \u0642\u0645\u062a \u0628\u0625\u0631\u0641\u0627\u0642:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"\u200f\u200f\u0645\u0631\u0641\u0642 \u0648\u0627\u062d\u062f.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u0645\u0631\u0641\u0642 (\u0645\u0631\u0641\u0642\u0627\u062a).","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u0645\u0631\u0641\u0642 (\u0645\u0631\u0641\u0642\u0627\u062a).","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u0645\u0631\u0641\u0642 (\u0645\u0631\u0641\u0642\u0627\u062a).","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u0645\u0631\u0641\u0642 (\u0645\u0631\u0641\u0642\u0627\u062a).","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0641\u0634\u0644 \u0627\u0644\u0625\u0631\u0633\u0627\u0644. [\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u062c\u0627\u0631\u064d \u0627\u0644\u0625\u0631\u0633\u0627\u0644","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
2062a\u0645 \u0625\u0631\u0633\u0627\u0644\u0647\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u062d\u0627\u0644\u0629 \u0627\u0644\u0625\u0631\u0633\u0627\u0644: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0642\u0628\u0644 \u0633\u0627\u0639\u0629","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u0629","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0627\u0644\u064a\u0648\u0645","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0627\u0644\u0623\u0645\u0633","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0644\u064a\u0644 \u0627\u0644\u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0645\u0648\u0627\u0626\u0645\u0629","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u062e\u0637\u0623 \u0641\u064a \u0639\u0631\u0636 \u0627\u0644\u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0645\u0648\u0627\u0626\u0645\u0629","ATTACHMENT_AUDIO":"\u0645\u0642\u0637\u0639 \u0635\u0648\u062a\u064a.","ATTACHMENT_CARD":"\u0628\u0637\u0627\u0642\u0629: $1 $2 $3","ATTACHMENT_FILE":"\u0645\u0644\u0641: $1","ATTACHMENT_IMAGE":"\u0635\u0648\u0631\u0629","ATTACHMENT_TEXT":"\u0646\u0635: $1","ATTACHMENT_VIDEO":"\u0645\u0642\u0637\u0639 \u0641\u064a\u062f\u064a\u0648","CAROUSEL_FLIPPER_LEFT_ALT":"\u064a\u0633\u0627\u0631","CAROUSEL_FLIPPER_RIGHT_ALT":"\u064a\u0645\u064a\u0646","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0645\u062a\u0635\u0644","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u062c\u0627\u0631\u064d \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u064a\u062a\u0639\u0630\u0631 \u0627\u0644\u0627\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u062d\u062f\u062b \u0627\u0646\u0642\u0637\u0627\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u062c\u0627\u0631\u064d \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0639\u0631\u0636. \u0627\u0644\u0631\u062c\u0627\u0621 \u0641\u062d\u0635 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0623\u0648 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0645\u0637\u0648\u0631 \u0627\u0644\u0631\u0648\u0628\u0648\u062a.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u064a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u064b\u0627 \u0623\u0637\u0648\u0644 \u0645\u0646 \u0627\u0644\u0645\u0639\u062a\u0627\u062f \u0644\u0644\u0627\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT":"\u062d\u0627\u0644\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u062a\u0646\u0632\u064a\u0644 \u0645\u0644\u0641 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \'$1\' \u0628\u062d\u062c\u0645 $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u0628\u062d\u062c\u0645 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u0641\u062a\u062d \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629\u061b \u062e\u0627\u0631\u062c\u064a\u0629.","RECEIPT_CARD_TAX":"\u0627\u0644\u0636\u0631\u064a\u0628\u0629","RECEIPT_CARD_TOTAL":"\u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a\u202c","RECEIPT_CARD_VAT":"\u0636\u0631\u064a\u0628\u0629 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0645\u0636\u0627\u0641\u0629","SPEECH_INPUT_LISTENING":"\u062c\u0627\u0631\u064d \u0627\u0644\u0627\u0633\u062a\u0645\u0627\u0639\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u062a\u0648\u0642\u0641 \u0639\u0646 \u0627\u0644\u062a\u0634\u063a\u064a\u0644","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644","SPEECH_INPUT_STARTING":"\u0627\u0644\u0628\u062f\u0621\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u064a\u062a\u0636\u0645\u0646 \u0645\u062d\u062a\u0648\u0649\u064b","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u064a\u062a\u0636\u0645\u0646 \u0645\u062d\u062a\u0648\u0649. \u0627\u0636\u063a\u0637 \u0639\u0644\u0649 $1 \u0644\u0644\u062a\u062d\u062f\u064a\u062f.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0641\u0627\u0631\u063a","SUGGESTED_ACTIONS_ALT":"\u062d\u0627\u0648\u064a\u0629 \u0627\u0644\u0625\u062c\u0631\u0627\u0621\u0627\u062a \u0627\u0644\u0645\u0642\u062a\u0631\u062d\u0629: $1","TEXT_INPUT_ALT":"\u0645\u0631\u0628\u0639 \u0625\u062f\u062e\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0644\u0629","TEXT_INPUT_PLACEHOLDER":"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643","TEXT_INPUT_SEND_BUTTON_ALT":"\u200f\u200f\u0625\u0631\u0633\u0627\u0644","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u062a\u062d\u062f\u0651\u062b","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641","TOAST_ACCORDION_FEW":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ACCORDION_MANY":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ACCORDION_OTHER":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ACCORDION_TWO":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ALT_ERROR":"\u200f\u200f\u0627\u0644\u062e\u0637\u0623","TOAST_ALT_INFO":"\u
20627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a","TOAST_ALT_SUCCESS":"\u0646\u062c\u0627\u062d","TOAST_ALT_WARN":"\u062a\u062d\u0630\u064a\u0631","TOAST_DISMISS_BUTTON":"\u0631\u0641\u0636","TOAST_TITLE_ALT":"\u0627\u0644\u0625\u0639\u0644\u0627\u0645","TRANSCRIPT_ARIA_LABEL_ALT":"\u0646\u0633\u062e\u0629 \u0645\u0643\u062a\u0648\u0628\u0629\u060c \u0627\u0636\u063a\u0637 \u0639\u0644\u0649 \u0645\u0641\u0627\u062a\u064a\u062d \u0627\u0644\u0623\u0633\u0647\u0645 \u0644\u0644\u062a\u0646\u0642\u0644.","TRANSCRIPT_ARIA_ROLE_ALT":"\u0646\u0633\u062e\u0629 \u0645\u0643\u062a\u0648\u0628\u0629","TRANSCRIPT_MORE_MESSAGES":"\u0627\u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0631\u0633\u0627\u0626\u0644","TRANSCRIPT_NEW_MESSAGES":"\u0631\u0633\u0627\u0626\u0644 \u062c\u062f\u064a\u062f\u0629","TRANSCRIPT_TERMINATOR_TEXT":"\u0646\u0647\u0627\u064a\u0629 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0645\u0643\u062a\u0648\u0628\u0629","TYPING_INDICATOR_ALT":"\u0625\u0638\u0647\u0627\u0631 \u0645\u0624\u0634\u0631 \u0627\u0644\u0643\u062a\u0627\u0628\u0629"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0421\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0442\u043e\u0437\u0438 \u0444\u0430\u0439\u043b \u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043e. \u041f\u0440\u0438\u043d\u043e\u0441\u044a\u0442 \u0435 \u0434\u043e\u0431\u0440\u0435 \u0434\u043e\u0448\u044a\u043b, \u043d\u043e \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u0437\u0430\u0431\u0430\u0432\u0438.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u0411\u043e\u0442 $1 \u043a\u0430\u0437\u0430:","ACTIVITY_YOU_SAID_ALT":"\u0412\u0438\u0435 \u043a\u0430\u0437\u0430\u0445\u0442\u0435:","ACTIVITY_BOT_ATTACHED_ALT":"\u041f\u0440\u0438\u043a\u0430\u0447\u0435\u043d \u0431\u043e\u0442:","ACTIVITY_ERROR_BOX_TITLE":"\u0421\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0437\u0430 \u0433\u0440\u0435\u0448\u043a\u0430","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u041d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 ENTER, \u0437\u0430 \u0434\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0430\u0442\u0435.","ACTIVITY_YOU_ATTACHED_ALT":"\u0412\u0438\u0435 \u043f\u0440\u0438\u043a\u0430\u0447\u0438\u0445\u0442\u0435:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u043f\u0440\u0438\u043a\u0430\u0447\u0435\u043d \u0444\u0430\u0439\u043b.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u043f\u0440\u0438\u043a\u0430\u0447\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u0435.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u043f\u0440\u0438\u043a\u0430\u0447\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u0435.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u043f\u0440\u0438\u043a\u0430\u0447\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u0435.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u043f\u0440\u0438\u043a\u0430\u0447\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u0435.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u0435 \u043d\u0435\u0443\u0441\u043f\u0435\u0448\u043d\u043e. [\u041f\u043e\u0432\u0442\u043e\u0440\u0435\u043d \u043e\u043f\u0438\u0442][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0418\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u043e \u0432 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0430 \u0438\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u041f\u0440\u0435\u0434\u0438 \u043c\u0430\u043b\u043a\u043e","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u041f\u0440\u0435\u0434\u0438 \u0447\u0430\u0441","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u041f\u0440\u0435\u0434\u0438 \u043c\u0438\u043d\u0443\u0442\u0430","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u
20414\u043d\u0435\u0441","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0412\u0447\u0435\u0440\u0430","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0413\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0430 \u043a\u0430\u0440\u0442\u0430","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0413\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0440\u0435\u043d\u0434\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0430 \u043a\u0430\u0440\u0442\u0430","ATTACHMENT_AUDIO":"\u0410\u0443\u0434\u0438\u043e\u043a\u043b\u0438\u043f.","ATTACHMENT_CARD":"\u041a\u0430\u0440\u0442\u0430: $1 $2 $3","ATTACHMENT_FILE":"\u0424\u0430\u0439\u043b: $1","ATTACHMENT_IMAGE":"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","ATTACHMENT_TEXT":"\u0422\u0435\u043a\u0441\u0442: $1","ATTACHMENT_VIDEO":"\u0412\u0438\u0434\u0435\u043e\u043a\u043b\u0438\u043f","CAROUSEL_FLIPPER_LEFT_ALT":"\u041b\u044f\u0432\u043e","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0414\u044f\u0441\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0435\u043d\u0430 \u0432\u0440\u044a\u0437\u043a\u0430","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435...","CONNECTIVITY_STATUS_ALT_FATAL":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u043d\u0435 \u0435 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 \u043f\u0440\u0435\u043a\u044a\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 \u043c\u0440\u0435\u0436\u0430\u0442\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0440\u0435\u043d\u0434\u0438\u0440\u0430\u043d\u0435. \u041c\u043e\u043b\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u0442\u0435 \u043a\u043e\u043d\u0437\u043e\u043b\u0430\u0442\u0430 \u0438\u043b\u0438 \u0441\u0435 \u0441\u0432\u044a\u0440\u0436\u0435\u0442\u0435 \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043d\u0430 \u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u043e\u0442\u043d\u0435\u043c\u0430 \u043f\u043e\u0432\u0435\u0447\u0435 \u0432\u0440\u0435\u043c\u0435 \u043e\u0442 \u043e\u0431\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u043e.","CONNECTIVITY_STATUS_ALT":"\u0421\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0430 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0442\u0430 \u0437\u0430 \u0432\u0440\u044a\u0437\u043a\u0430: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b \u201e$1\u201d \u0441 \u0440\u0430\u0437\u043c\u0435\u0440 $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d \u0441 \u0440\u0430\u0437\u043c\u0435\u0440 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u041e\u0442\u0432\u0430\u0440\u044f \u0441\u0435 \u0432 \u043d\u043e\u0432 \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446; \u0432\u044a\u043d\u0448\u0435\u043d.","RECEIPT_CARD_TAX":"\u0414\u0430\u043d\u044a\u043a","RECEIPT_CARD_TOTAL":"\u041e\u0431\u0449\u0430 \u0441\u0443\u043c\u0430","RECEIPT_CARD_VAT":"\u0414\u0414\u0421","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0448\u0430\u043d\u0435...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u044a\u0442 \u0435 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u044a\u0442 \u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d","SPEECH_INPUT_STARTING":"\u
2041d\u0430\u0447\u0430\u043b\u043e...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0418\u043c\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0418\u043c\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435. \u041d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 $1, \u0437\u0430 \u0434\u0430 \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0415 \u043f\u0440\u0430\u0437\u043d\u043e","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0437\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f: $1","TEXT_INPUT_ALT":"\u041f\u043e\u043b\u0435 \u0437\u0430 \u0432\u044a\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435","TEXT_INPUT_PLACEHOLDER":"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u0442\u043e \u0441\u0438","TEXT_INPUT_SEND_BUTTON_ALT":"\u0418\u0437\u043f\u0440\u0430\u0442\u0438","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0413\u043e\u0432\u043e\u0440\u0435\u0442\u0435","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041a\u0430\u0447\u0432\u0430\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b","TOAST_ACCORDION_FEW":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ACCORDION_MANY":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ACCORDION_OTHER":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ACCORDION_TWO":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ALT_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430","TOAST_ALT_INFO":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f","TOAST_ALT_SUCCESS":"\u0423\u0441\u043f\u0435\u0445","TOAST_ALT_WARN":"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435","TOAST_DISMISS_BUTTON":"\u041e\u0442\u0445\u0432\u044a\u0440\u043b\u044f\u043d\u0435","TOAST_TITLE_ALT":"\u0418\u0437\u0432\u0435\u0441\u0442\u044f\u0432\u0430\u043d\u0435","TRANSCRIPT_ARIA_LABEL_ALT":"\u041f\u0440\u0435\u043f\u0438\u0441, \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438\u0442\u0435 \u0441\u044a\u0441 \u0441\u0442\u0440\u0435\u043b\u043a\u0438, \u0437\u0430 \u0434\u0430 \u043d\u0430\u0432\u0438\u0433\u0438\u0440\u0430\u0442\u0435.","TRANSCRIPT_ARIA_ROLE_ALT":"\u043f\u0440\u0435\u043f\u0438\u0441","TRANSCRIPT_MORE_MESSAGES":"\u041e\u0449\u0435 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u0438 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TRANSCRIPT_TERMINATOR_TEXT":"\u041a\u0440\u0430\u0439 \u043d\u0430 \u043f\u0440\u0435\u043f\u0438\u0441\u0430","TYPING_INDICATOR_ALT":"\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0437\u0430 \u0432\u044a\u0432\u0435\u0436\u0434\u0430\u043d\u0435"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] El contingut d\'aquest fitxer est\xe0 bloquejat. Les aportacions s\xf3n benvingudes, per\xf2 la validaci\xf3 dels canvis es pot retardar.","ACCESS_KEY_ALT":"Alt + Maj + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Opci\xf3 + $1","ACTIVITY_BOT_SAID_ALT":"El bot $1 ha dit:","ACTIVITY_YOU_SAID_ALT":"Heu dit:","ACTIVITY_BOT_ATTACHED_ALT":"Bot adjuntat:","ACTIVITY_ERROR_BOX_TITLE":"Missatge d\'error","ACTIVITY_INTERACTIVE_LABEL_ALT":"Premeu la tecla RETORN per interactuar.","ACTIVITY_YOU_ATTACHED_ALT":"Heu adjuntat:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 fitxer adjunt.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 fitxers adju
2nts.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 fitxers adjunts.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 fitxers adjunts.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 fitxers adjunts.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"L\'enviament ha fallat. [Torna-ho a provar][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"S\'est\xe0 enviant","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"S\'ha enviat a les $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estat d\'enviament: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Ara mateix","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Fa una hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Fa un minut","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Avui","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ahir","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Error d\'an\xe0lisi de la targeta adaptativa","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Error de representaci\xf3 de la targeta adaptativa","ATTACHMENT_AUDIO":"Un clip d\u2019\xe0udio.","ATTACHMENT_CARD":"Una targeta: $1 $2 $3","ATTACHMENT_FILE":"Un fitxer: $1","ATTACHMENT_IMAGE":"Una imatge","ATTACHMENT_TEXT":"Un text: $1","ATTACHMENT_VIDEO":"Un clip de v\xeddeo","CAROUSEL_FLIPPER_LEFT_ALT":"Left","CAROUSEL_FLIPPER_RIGHT_ALT":"Right","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connectat","CONNECTIVITY_STATUS_ALT_CONNECTING":"S\'est\xe0 connectant\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"No es pot connectar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"S\'ha produ\xeft una interrupci\xf3 de la xarxa. S\'est\xe0 reconnectant\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Error de representaci\xf3. Consulteu la consola o poseu-vos en contacte amb el desenvolupador del bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"S\'est\xe0 trigant m\xe9s de l\'habitual per establir una connexi\xf3.","CONNECTIVITY_STATUS_ALT":"Estat de la connectivitat: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Baixa el fitxer \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Baixa el fitxer \\"$1\\" amb una mida de $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" amb una mida de $2","MARKDOWN_EXTERNAL_LINK_ALT":"S\u2019obre en una finestra nova; externa.","RECEIPT_CARD_TAX":"Impost","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"Escoltant\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Micr\xf2fon desactivat","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Micr\xf2fon activat","SPEECH_INPUT_STARTING":"Iniciant\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"T\xe9 contingut","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"T\xe9 contingut. Premeu $1 per seleccionar.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\xc9s buit","SUGGESTED_ACTIONS_ALT":"Contenidor d\'accions suggerides: $1","TEXT_INPUT_ALT":"Quadre d\'entrada del missatge","TEXT_INPUT_PLACEHOLDER":"Escriviu el missatge","TEXT_INPUT_SEND_BUTTON_ALT":"Envia","TEXT_INPUT_SPEAK_BUTTON_ALT":"Parlar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carrega el fitxer","TOAST_ACCORDION_FEW":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ACCORDION_MANY":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ACCORDION_OTHER":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ACCORDION_TWO":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ALT_ERROR":"Error","TOAST_ALT_INFO":"Informaci\xf3","TOAST_ALT_SUCCESS":"Correcta","TOAST_ALT_WARN":"Advertiment","TOAST_DISMISS_BUTTON":"Descarta","TOAST_TITLE_ALT":"Notificaci\xf3","TRANSCRIPT_ARIA_LABEL_ALT":"Transcripci\xf3, premeu les tecles amunt/avall per despla\xe7ar-vos.","TRANSCRIPT_ARIA_ROLE_ALT":"transcripci\xf3","TRANSCRIPT_MORE_MESSAGES":"M\xe9s missatges","TRANSCRIPT_NEW_MESSAGES":"Missatges nous","TRANSCRIPT_TERMINATOR_TEXT":"Fi de la transcripci\xf3","TYPING_INDICATOR_ALT":"S\'est\xe0 mostrant l\'indicador d\'escriptura"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Obsah tohoto souboru je uzam\u010den. P\u0159\xedsp\u011bvky jsou v\xedt\xe1ny, ale ov\u011b\u0159en\xed zm\u011bny m\u016f\u017ee b\xfdt zpo\u017ed\u011bno.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Robot $1 \u0159ekl:","ACTIVITY_YOU_SAID_ALT":"\u0158ekli jste:","ACTIVITY_BOT_ATTACHED_ALT":"Robot byl p\u0159ipojen:","ACTIVITY_ERROR_BOX_TITLE":"Chybov\xe1 zpr\xe1va","ACTIVITY_INTERACTIVE_LABEL_ALT":"Stisknut\xedm kl\xe1vesy ENTER provedete interakci.","ACTIVITY_YOU_ATTACHED_ALT":"P\u0159ipojili jste:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 p\u0159\xedloha","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 p\u0159\xedlohy","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 p\u0159\xedloh","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 p\u0159\xedloh","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 p\u0159\xedlohy","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Odesl\xe1n\xed se nezda\u0159ilo. [Opakovat][RETRY]","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Odes\xedl\xe1n\xed","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Odesl\xe1no v $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stav odes\xedl\xe1n\xed: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Pr\xe1v\u011b te\u010f","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"P\u0159ed 1 hodinou","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"P\u0159ed 1 minutou","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Dnes","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"V\u010dera","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Chyba analyzov\xe1n\xed adaptivn\xed karty","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Chyba vykreslov\xe1n\xed adaptivn\xed karty","ATTACHMENT_AUDIO":"Zvukov\xfd klip","ATTACHMENT_CARD":"Karta: $1 $2 $3","ATTACHMENT_FILE":"Soubor: $1","ATTACHMENT_IMAGE":"Obr\xe1zek","ATTACHMENT_TEXT":"Text: $1","ATTACHMENT_VIDEO":"Videoklip","CAROUSEL_FLIPPER_LEFT_ALT":"Vlevo","CAROUSEL_FLIPPER_RIGHT_ALT":"Vpravo","CONNECTIVITY_STATUS_ALT_CONNECTED":"P\u0159ipojeno","CONNECTIVITY_STATUS_ALT_CONNECTING":"P\u0159ipojov\xe1n\xed\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Nelze nav\xe1zat p\u0159ipojen\xed.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Do\u0161lo k p\u0159eru\u0161en\xed s\xedt\u011b. Znovu se p\u0159ipojuje\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Chyba vykreslov\xe1n\xed. Zkontrolujte konzolu nebo kontaktujte v\xfdvoj\xe1\u0159e bot\u016f.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"P\u0159ipojen\xed trv\xe1 d\xe9le ne\u017e obvykle.","CONNECTIVITY_STATUS_ALT":"Stav p\u0159ipojen\xed: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"St\xe1hnout soubor $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"St\xe1hnout soubor $1 o velikosti $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 o velikosti $2","MARKDOWN_EXTERNAL_LINK_ALT":"Otev\u0159e se v nov\xe9m okn\u011b; extern\xed.","RECEIPT_CARD_TAX":"Da\u0148","RECEIPT_CARD_TOTAL":"Celkem","RECEIPT_CARD_VAT":"DPH","SPEECH_INPUT_LISTENING":"Naslouch\xe1n\xed\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon vypnout","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon zapnout","SPEECH_INPUT_STARTING":"Spou\u0161t\u011bn\xed\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"M\xe1 obsah","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"M\xe1 obsah. Vyberte stisknut\xedm kl\xe1vesy $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je pr\xe1zdn\xe9","SUGGESTED_ACTIONS_ALT":"Kontejner navrhovan\xfdch akc\xed: $1","TEXT_INPUT_ALT":"Pole pro zad\xe1n\xed zpr\xe1vy","TEXT_INPUT_PLACEHOLDER":"Zadejte svou zpr\xe1vu","TEXT_INPUT_SEND_BUTTON_ALT":"Odeslat","TEXT_INPUT_SPEAK_BUTTON_ALT":"Mluvit","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nahr\xe1t soubor","TOAST_ACCORDION_FEW":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ACCORDION_MANY":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ACCORDION_OTHER":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ACCORDION_TWO":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ALT_ERROR":"Chyba","TOAST_ALT_INFO":"Informace","TOAST_ALT_SUCCESS":"\xdasp\u011bch","TOAST_ALT_WARN":"Upozorn\u011bn\xed","TOAST_DISMISS_BUTTON":"Zav\u0159\xedt","TOAST_TITLE_ALT":"Ozn\xe1men\xed","TRANSCRIPT_ARIA_LABEL_ALT":"P\u0159epis, k navigaci pou\u017eijte \u0161ipkov\xe9 kl\xe1vesy.","TRANSCRIPT_ARIA_ROLE_ALT":"p\u0159epis","TRANSCRIPT_MORE_MESSAGES":"Dal\u0161\xed zpr\xe1vy","TRANSCRIPT_NEW_MESSAGES":"Nov\xe9 zpr\xe1vy","TRANSCRIPT_TERMINATOR_TEXT":"Konec p\u0159episu","TYPING_INDICATOR_ALT":"Zobrazuje se indik\xe1tor psan\xed"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Indholdet af denne fil er l\xe5st. Bidrag er velkomne, men valideringen af \xe6ndringer bliver muligvis forsinket.","ACCESS_KEY_ALT":"Alt + Skift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Robotten $1 sagde:","ACTIVITY_YOU_SAID_ALT":"Du sagde:","ACTIVITY_BOT_ATTACHED_ALT":"Vedh\xe6ftet af robot:","ACTIVITY_ERROR_BOX_TITLE":"Fejlmeddelelse","ACTIVITY_INTERACTIVE_LABEL_ALT":"Tryk p\xe5 Enter for at interagere.","ACTIVITY_YOU_ATTACHED_ALT":"Du vedh\xe6ftede:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 vedh\xe6ftet fil.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 vedh\xe6ftede filer.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 vedh\xe6ftede filer.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 vedh\xe6ftede filer.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 vedh\xe6ftede filer.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Afsendelse mislykkedes. [Pr\xf8v igen][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Sender","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Sendt kl. $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status for afsendelse: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Lige nu","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"For en time siden","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"For et minut siden","ACTIVITY_STATUS_TIMESTAMP_TODAY":"I dag","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"I g\xe5r","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Fortolkningsfejl i AdaptiveCard","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Renderingsfejl i AdaptiveCard","ATTACHMENT_AUDIO":"Et lydklip.","ATTACHMENT_CARD":"Et kort: $1 $2 $3","ATTACHMENT_FILE":"En fil: $1","ATTACHMENT_IMAGE":"Et billede","ATTACHMENT_TEXT":"En tekst: $1","ATTACHMENT_VIDEO":"Et videoklip","CAROUSEL_FLIPPER_LEFT_ALT":"Venstre","CAROUSEL_FLIPPER_RIGHT_ALT":"H\xf8jre","CONNECTIVITY_STATUS_ALT_CONNECTED":"Forbundet","CONNECTIVITY_STATUS_ALT_CONNECTING":"Opretter forbindelse ...","CONNECTIVITY_STATUS_ALT_FATAL":"Det var ikke muligt at oprette forbindelse.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Der opstod en netv\xe6rksafbrydelse. Opretter forbindelse igen ...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Gengivelsesfejl. Kontroll\xe9r konsollen, eller kontakt robotudvikleren.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Det tager l\xe6ngere tid end normalt at oprette forbindelse.","CONNECTIVITY_STATUS_ALT":"Forbindelsesstatus: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Download filen \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Hent filen \'$1\', som fylder $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\', som fylder $2","MARKDOWN_EXTERNAL_LINK_ALT":"\xc5bner i et nyt vindue, eksternt.","RECEIPT_CARD_TAX":"Moms","RECEIPT_CARD_TOTAL":"I alt","RECEIPT_CARD_VAT":"Moms","SPEECH_INPUT_LISTENING":"Lytter ...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon Fra","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon Til","SPEECH_INPUT_STARTING":"Starter ...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Har indhold","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Har indhold. Tryk p\xe5 $1 for at v\xe6lge.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Er tom","SUGGESTED_ACTIONS_ALT":"Objektbeholder for foresl\xe5ede handlinger: $1","TEXT_INPUT_ALT":"Meddelelsesinputfelt","TEXT_INPUT_PLACEHOLDER":"Skriv din meddelelse","TEXT_INPUT_SEND_BUTTON_ALT":"Send","TEXT_INPUT_SPEAK_BUTTON_ALT":"Tal","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Overf\xf8r fil","TOAST_ACCORDION_FEW":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ACCORDION_MANY":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ACCORDION_OTHER":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ACCORDION_TWO":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ALT_ERROR":"Fejl","TOAST_ALT_INFO":"Oplysninger","TOAST_ALT_SUCCESS":"Fuldf\xf8rt","TOAST_ALT_WARN":"Advarsel!","TOAST_DISMISS_BUTTON":"Afvis","TOAST_TITLE_ALT":"Meddelelse","TRANSCRIPT_ARIA_LABEL_ALT":"Afskrift. Tryk p\xe5 piltasterne for at navigere.","TRANSCRIPT_ARIA_ROLE_ALT":"afskrift","TRANSCRIPT_MORE_MESSAGES":"Flere meddelelser","TRANSCRIPT_NEW_MESSAGES":"Nye meddelelser","TRANSCRIPT_TERMINATOR_TEXT":"Slut p\xe5 afskrift","TYPING_INDICATOR_ALT":"Viser indtastningsindikator"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Der Inhalt dieser Datei ist gesperrt. Beitr\xe4ge sind willkommen, die \xc4nderungs\xfcberpr\xfcfung kann jedoch verz\xf6gert werden.","ACCESS_KEY_ALT":"ALT + UMSCHALT + $1","ACCESS_KEY_FOR_MAC_ALT":"STRG + Wahltaste + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 sagte:","ACTIVITY_YOU_SAID_ALT":"Sie sagten:","ACTIVITY_BOT_ATTACHED_ALT":"Bot angef\xfcgt:","ACTIVITY_ERROR_BOX_TITLE":"Fehlermeldung","ACTIVITY_INTERACTIVE_LABEL_ALT":"Zum Interagieren EINGABETASTE dr\xfccken.","ACTIVITY_YOU_ATTACHED_ALT":"Sie haben angef\xfcgt:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 Anhang.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 Anh\xe4nge.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 Anh\xe4nge.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 Anh\xe4nge.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 Anh\xe4nge.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Fehler beim Senden. [Wiederholen][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Wird gesendet\xa0...","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Gesendet um $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Sendestatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Jetzt","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Vor einer Stunde","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Vor einer Minute","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Heute","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Gestern","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Fehler beim Analysieren der adaptiven Karte","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Fehler beim Rendern der adaptiven Karte","ATTACHMENT_AUDIO":"Ein Audioclip.","ATTACHMENT_CARD":"Eine Karte: $1 $2 $3","ATTACHMENT_FILE":"Eine Datei: $1","ATTACHMENT_IMAGE":"Ein Bild","ATTACHMENT_TEXT":"Ein Text: $1","ATTACHMENT_VIDEO":"Ein Videoclip","CAROUSEL_FLIPPER_LEFT_ALT":"Links","CAROUSEL_FLIPPER_RIGHT_ALT":"Berechtigung","CONNECTIVITY_STATUS_ALT_CONNECTED":"Verbunden","CONNECTIVITY_STATUS_ALT_CONNECTING":"Verbindung wird hergestellt\xa0...","CONNECTIVITY_STATUS_ALT_FATAL":"Verbindung konnte nicht aufgebaut werden.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Netzwerkunterbrechung ist aufgetreten. Verbindung wird wiederhergestellt\xa0...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Fehler beim Rendern. \xdcberpr\xfcfen Sie die Konsole, oder wenden Sie sich an den Botentwickler.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Der Verbindungsvorgang dauert l\xe4nger als erwartet.","CONNECTIVITY_STATUS_ALT":"Verbindungsstatus: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"Datei \u201e$1\u201c herunterladen","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Datei \u201e$1\u201c mit einer Gr\xf6\xdfe von $2 herunterladen","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201c mit einer Gr\xf6\xdfe von $2","MARKDOWN_EXTERNAL_LINK_ALT":"Wird in einem neuen Fenster ge\xf6ffnet, extern.","RECEIPT_CARD_TAX":"Steuer","RECEIPT_CARD_TOTAL":"Gesamt","RECEIPT_CARD_VAT":"Umsatzsteuer","SPEECH_INPUT_LISTENING":"Zuh\xf6ren\xa0...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon aus","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon an","SPEECH_INPUT_STARTING":"Wird gestartet\xa0...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Hat Inhalte","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Hat Inhalt. Dr\xfccken Sie $1, um auszuw\xe4hlen.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Ist leer","SUGGESTED_ACTIONS_ALT":"Container \u201eEmpfohlene Aktivit\xe4ten\u201c: $1","TEXT_INPUT_ALT":"Eingabefeld f\xfcr Nachricht","TEXT_INPUT_PLACEHOLDER":"Nachricht eingeben","TEXT_INPUT_SEND_BUTTON_ALT":"Senden","TEXT_INPUT_SPEAK_BUTTON_ALT":"Sprechen","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Datei hochladen","TOAST_ACCORDION_FEW":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ACCORDION_MANY":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ACCORDION_OTHER":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ACCORDION_TWO":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ALT_ERROR":"Fehler","TOAST_ALT_INFO":"Informationen","TOAST_ALT_SUCCESS":"Erfolg","TOAST_ALT_WARN":"Warnung","TOAST_DISMISS_BUTTON":"Schlie\xdfen","TOAST_TITLE_ALT":"Benachrichtigung","TRANSCRIPT_ARIA_LABEL_ALT":"Nach oben- oder Nach-unten-Tasten zum Navigieren im Transkript verwenden.","TRANSCRIPT_ARIA_ROLE_ALT":"Transkript","TRANSCRIPT_MORE_MESSAGES":"Weitere Meldungen","TRANSCRIPT_NEW_MESSAGES":"Neue Nachrichten","TRANSCRIPT_TERMINATOR_TEXT":"Transkriptende","TYPING_INDICATOR_ALT":"Anzeigen des Eingabeindikators"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u03a4\u03bf \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03bb\u03b5\u03b9\u03b4\u03c9\u03bc\u03ad\u03bd\u03bf. \u039f\u03b9 \u03c3\u03c5\u03bd\u03b5\u03b9\u03c3\u03c6\u03bf\u03c1\u03ad\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03c5\u03c0\u03c1\u03cc\u03c3\u03b4\u03b5\u03ba\u03c4\u03b5\u03c2, \u03b1\u03bb\u03bb\u03ac \u03b7 \u03b5\u03c0\u03b9\u03ba\u03cd\u03c1\u03c9\u03c3\u03b7 \u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03ba\u03b1\u03b8\u03c5\u03c3\u03c4\u03b5\u03c1\u03ae\u03c3\u03b5\u03b9.","ACCESS_KEY_ALT":"ALT + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"CTRL + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u03a4\u03bf bot $1 \u03b5\u03af\u03c0\u03b5:","ACTIVITY_YOU_SAID_ALT":"\u0395\u03af\u03c0\u03b1\u03c4\u03b5:","ACTIVITY_BOT_ATTACHED_ALT":"\u03a3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03bf bot:","ACTIVITY_ERROR_BOX_TITLE":"\u039c\u03ae\u03bd\u03c5\u03bc\u03b1 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1\u03c4\u03bf\u03c2","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u03a0\u03b1\u03c4\u03ae\u03c3\u03c4\u03b5 \xabENTER\xbb \u03b3\u03b9\u03b1 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae.","ACTIVITY_YOU_ATTACHED_ALT":"\u0395\u03c0\u03b9\u03c3\u03c5\u03bd\u03ac\u03c8\u03b1\u03c4\u03b5:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u03c3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03bf.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u03c3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u03c3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u03c3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u03c3\u03c5\u03bd\u03b7\u03bc\u03bc\u03ad\u03bd\u03b1.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0397 \u03b1\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae \u03b1\u03c0\u03ad\u03c4\u03c5\u03c7\u03b5. [\u0395\u03c0\u03b1\u03bd\u03ac\u03bb\u03b7\u03c8\u03b7][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
203a3\u03c4\u03ac\u03bb\u03b8\u03b7\u03ba\u03b5 \u03c3\u03c4\u03b9\u03c2 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u039a\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u03b1\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae\u03c2: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u039c\u03cc\u03bb\u03b9\u03c2 \u03c4\u03ce\u03c1\u03b1","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u03a0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc \u03bc\u03af\u03b1 \u03ce\u03c1\u03b1","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u03a0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0395\u03c7\u03b8\u03ad\u03c2","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7\u03c2 \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03c4\u03b9\u03ba\u03ae\u03c2 \u03ba\u03ac\u03c1\u03c4\u03b1\u03c2","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2 \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03c4\u03b9\u03ba\u03ae\u03c2 \u03ba\u03ac\u03c1\u03c4\u03b1\u03c2","ATTACHMENT_AUDIO":"\u
20388\u03bd\u03b1 \u03b1\u03c0\u03cc\u03c3\u03c0\u03b1\u03c3\u03bc\u03b1 \u03ae\u03c7\u03bf\u03c5.","ATTACHMENT_CARD":"\u039c\u03b9\u03b1 \u03ba\u03ac\u03c1\u03c4\u03b1: $1 $2 $3","ATTACHMENT_FILE":"\u0388\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf: $1","ATTACHMENT_IMAGE":"\u039c\u03b9\u03b1 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1","ATTACHMENT_TEXT":"\u0388\u03bd\u03b1 \u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf: $1","ATTACHMENT_VIDEO":"\u0388\u03bd\u03b1 \u03b1\u03c0\u03cc\u03c3\u03c0\u03b1\u03c3\u03bc\u03b1 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf","CAROUSEL_FLIPPER_LEFT_ALT":"\u0391\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0394\u03b5\u03be\u03b9\u03ac","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u03a3\u03c5\u03bd\u03b4\u03ad\u03b8\u03b7\u03ba\u03b5","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u0391\u03b4\u03c5\u03bd\u03b1\u03bc\u03af\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b4\u03b9\u03b1\u03ba\u03bf\u03c0\u03ae \u03b4\u03b9\u03ba\u03c4\u03cd\u03bf\u03c5. \u0395\u03c0\u03b1\u03bd\u03b1\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2. \u0395\u03bb\u03ad\u03b3\u03be\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03bf\u03bd\u03c3\u03cc\u03bb\u03b1 \u03ae \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03c0\u03c1\u03bf\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03b9\u03c3\u03c4\u03ae bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0397 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b4\u03b9\u03b1\u03c1\u03ba\u03b5\u03af \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03bf \u03c7\u03c1\u03cc\u03bd\u03bf \u03b1\u03c0\u03cc \u03c4\u03bf \u03c3\u03c5\u03bd\u03b7\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf.","CONNECTIVITY_STATUS_ALT":"\u039a\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u03c3\u03c5\u03bd\u03b4\u03b5\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"\u039b\u03ae\u03c8\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u039b\u03ae\u03c8\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \\"$1\\" \u03bc\u03b5\u03b3\u03ad\u03b8\u03bf\u03c5\u03c2 $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" \u03bc\u03b5\u03b3\u03ad\u03b8\u03bf\u03c5\u03c2 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u0391\u03bd\u03bf\u03af\u03b3\u03b5\u03b9 \u03bd\u03ad\u03bf \u03c0\u03b1\u03c1\u03ac\u03b8\u03c5\u03c1\u03bf \u2013 \u03b5\u03be\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03cc.","RECEIPT_CARD_TAX":"\u03a6\u03cc\u03c1\u03bf\u03c2","RECEIPT_CARD_TOTAL":"\u03a3\u03cd\u03bd\u03bf\u03bb\u03bf","RECEIPT_CARD_VAT":"\u03a6\u03a0\u0391","SPEECH_INPUT_LISTENING":"\u0391\u03ba\u03c1\u03cc\u03b1\u03c3\u03b7...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u039c\u03b9\u03ba\u03c1\u03cc\u03c6\u03c9\u03bd\u03bf \u03b1\u03bd\u03b5\u03bd\u03b5\u03c1\u03b3\u03cc","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u039c\u03b9\u03ba\u03c1\u03cc\u03c6\u03c9\u03bd\u03bf \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc","SPEECH_INPUT_STARTING":"\u0388\u03bd\u03b1\u03c1\u03be\u03b7\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0388\u03c7\u03b5\u03b9 \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0388\u03c7\u03b5\u03b9 \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf. \u03a0\u03b1\u03c4\u03ae\u03c3\u03c4\u03b5 $1 \u03b3\u03b9\u03b1 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0395\u03af\u03bd\u03b1\u03b9 \u03ba\u03b5\u03bd\u03cc","SUGGESTED_ACTIONS_ALT":"\u039a\u03bf\u03bd\u03c4\u03ad\u03b9\u03bd\u03b5\u03c1 \u03c0\u03c1\u03bf\u03c4\u03b5\u03b9\u03bd\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b5\u03bd\u03b5\u03c1\u03b3\u03b5\u03b9\u03ce\u03bd: $1","TEXT_INPUT_ALT":"\u03a0\u03bb\u03b1\u03af\u03c3\u03b9\u03bf \u03b5\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \u03bc\u03b7\u03bd\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2","TEXT_INPUT_PLACEHOLDER":"\u03a0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03bc\u03ae\u03bd\u03c5\u03bc\u03ac \u03c3\u03b1\u03c2","TEXT_INPUT_SEND_BUTTON_ALT":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u039f\u03bc\u03b9\u03bb\u03af\u03b1","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5","TOAST_ACCORDION_FEW":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ACCORDION_MANY":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ACCORDION_OTHER":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ACCORDION_TWO":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ALT_ERROR":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1","TOAST_ALT_INFO":"\u
203a0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2","TOAST_ALT_SUCCESS":"\u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1","TOAST_ALT_WARN":"\u03a0\u03c1\u03bf\u03b5\u03b9\u03b4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7","TOAST_DISMISS_BUTTON":"\u039c\u03b1\u03c4\u03b1\u03af\u03c9\u03c3\u03b7","TOAST_TITLE_ALT":"\u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7","TRANSCRIPT_ARIA_LABEL_ALT":"\u039c\u03b5\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae, \u03c0\u03b9\u03ad\u03c3\u03c4\u03b5 \u03c4\u03b1 \u03c0\u03bb\u03ae\u03ba\u03c4\u03c1\u03b1 \u03b2\u03ad\u03bb\u03bf\u03c5\u03c2 \u03b3\u03b9\u03b1 \u03c0\u03b5\u03c1\u03b9\u03ae\u03b3\u03b7\u03c3\u03b7.","TRANSCRIPT_ARIA_ROLE_ALT":"\u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf","TRANSCRIPT_MORE_MESSAGES":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b1 \u03bc\u03b7\u03bd\u03cd\u03bc\u03b1\u03c4\u03b1","TRANSCRIPT_NEW_MESSAGES":"\u039d\u03ad\u03b1 \u03bc\u03b7\u03bd\u03cd\u03bc\u03b1\u03c4\u03b1","TRANSCRIPT_TERMINATOR_TEXT":"\u03a4\u03ad\u03bb\u03bf\u03c2 \u03c4\u03b7\u03c2 \u03bc\u03b5\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2","TYPING_INDICATOR_ALT":"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03b4\u03b5\u03af\u03ba\u03c4\u03b7 \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03cc\u03b3\u03b7\u03c3\u03b7\u03c2"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] The content of this file is locked. Contributions are welcome, but change validation may be delayed.","ACCESS_KEY_ALT":"Alt + Shift + $1","_ACCESS_KEY_ALT.comment":"This is for screen reader for aria-keyshortcuts property.","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","_ACCESS_KEY_FOR_MAC_ALT.comment":"This is for screen reader for aria-keyshortcuts property on a Mac.","ACTIVITY_BOT_SAID_ALT":"Bot $1 said:","_ACTIVITY_BOT_SAID_ALT.comment":"This is for screen reader only. $1 is the initials for the bot (e.g. \\"JD\\").","ACTIVITY_YOU_SAID_ALT":"You said:","_ACTIVITY_YOU_SAID_ALT.comment":"This is for screen reader only.","ACTIVITY_BOT_ATTACHED_ALT":"Bot attached:","_ACTIVITY_BOT_ATTACHED_ALT.comment":"This is for screen reader and is narrated before each attachments sent by the bot.","ACTIVITY_ERROR_BOX_TITLE":"Error message","ACTIVITY_INTERACTIVE_LABEL_ALT":"Press ENTER to interact.","_ACTIVITY_INTERACTIVE_LABEL_ALT.comment":"This is for screen reader. When the user is navigating on the transcript, it give hints if the current activity have interactive contents.","ACTIVITY_YOU_ATTACHED_ALT":"You attached:","_ACTIVITY_YOU_ATTACHED_ALT.comment":"This is for screen reader and is narrated before each attachments sent by the user.","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 attachment.","_ACTIVITY_NUM_ATTACHMENTS_OONE_ALT.comment":"This is for screen reader and only narrated when the message arrive. The narration when the message arrive, could be \\"Bot WC said: Hello, World! 1 attachment. Sent at 2020-01-02 12:34 PM.\\". This is for plural rule of \\"one\\".","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 attachments.","_ACTIVITY_NUM_ATTACHMENTS_FEW_ALT.comment":"$1 is the number of attachments. This is for plural rule of \\"few\\".","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 attachments.","_ACTIVITY_NUM_ATTACHMENTS_MANY_ALT.comment":"$1 is the number of attachments. This is for plural rule of \\"many\\".","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 attachments.","_ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT.comment":"$1 is the number of attachments. This is for plural rule of \\"other\\".","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 attachments.","_ACTIVITY_NUM_ATTACHMENTS_TWO_ALT.comment":"$1 is the number of attachments. This is for plural rule of \\"two\\".","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Send failed. [Retry][RETRY].","_ACTIVITY_STATUS_SEND_FAILED_RETRY.comment":"This is Markdown. Do not localize \\"[RETRY]\\" (the one in uppercase).","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Sending","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Sent at $1","_ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT.comment":"$1 is the time when the message is successfully sent, in absolute format, e.g. 12:34 PM.","ACTIVITY_STATUS_SEND_STATUS_ALT":"Send Status: $1","_ACTIVITY_STATUS_SEND_STATUS_ALT.comment":"This is for screen reader. $1 will be one of \\"ACTIVITY_STATUS_SEND_STATUS_ALT_*\\".","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Just now","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"An hour ago","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"A minute ago","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Today","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Yesterday","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adaptive Card parse error","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adaptive Card render error","ATTACHMENT_AUDIO":"An audio clip.","ATTACHMENT_CARD":"A card: $1 $2 $3","_ATTACHMENT_CARD.comment":"$1 is the title of the card. $2 is the subtitle. $3 is the text content.","ATTACHMENT_FILE":"A file: $1","_ATTACHMENT_FILE.comment":"$1 is the filename.","ATTACHMENT_IMAGE":"An image","ATTACHMENT_TEXT":"A text: $1","_ATTACHMENT_TEXT.comment":"$1 is the content.","ATTACHMENT_VIDEO":"A video clip","CAROUSEL_FLIPPER_LEFT_ALT":"Left","_CAROUSEL_FLIPPER_LEFT_ALT.comment":"This is for screen reader for the label of the left flipper button for carousels.","CAROUSEL_FLIPPER_RIGHT_ALT":"Right","_CAROUSEL_FLIPPER_RIGHT_ALT.comment":"This is for screen reader for the label of the right flipper button for carousels.","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connected","CONNECTIVITY_STATUS_ALT_CONNECTING":"Connecting\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Unable to connect.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Network interruption occurred. Reconnecting\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Render error. Please check the console or contact the bot developer.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Taking longer than usual to connect.","CONNECTIVITY_STATUS_ALT":"Connectivity Status: $1","_CONNECTIVITY_STATUS_ALT.comment":"This is for screen reader. $1 will be one of \\"CONNECTIVITY_STATUS_ALT_\\"*.","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Download file \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Download file \'$1\' of size $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' of size $2","_FILE_CONTENT_ALT.comment":"$1 is the name of the file, e.g. document.docx. $2 is the file size, e.g. 12 MB","MARKDOWN_EXTERNAL_LINK_ALT":"Opens in a new window; external.","_MARKDOWN_EXTERNAL_LINK_ALT.comment":"This is for the screen reader and is added to the label of the hyperlink. When clicked, the hyperlink will open in a new tab or window.","RECEIPT_CARD_TAX":"Tax","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"Listening\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microphone off","_SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT.comment":"This is for screen reader and is the label of the microphone button, when clicked, will close microphone.","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microphone on","_SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT.comment":"This is for screen reader and is the label of the microphone button, when clicked, will open microphone.","SPEECH_INPUT_STARTING":"Starting\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Has content","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Has content. Press $1 to select.","_SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY.comment":"$1 will be \\"ACCESS_KEY_ALT\\".","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Is empty","SUGGESTED_ACTIONS_ALT":"Suggested Actions Container: $1","_SUGGESTED_ACTIONS_ALT.comment":"This is for screen reader. $1 will be one of \\"SUGGESTED_ACTIONS_ALT_*\\".","TEXT_INPUT_ALT":"Message input box","_TEXT_INPUT_ALT.comment":"This is for screen reader for the label of the message input box.","TEXT_INPUT_PLACEHOLDER":"Type your message","TEXT_INPUT_SEND_BUTTON_ALT":"Send","TEXT_INPUT_SPEAK_BUTTON_ALT":"Speak","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Upload file","TOAST_ACCORDION_FEW":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_FEW.comment":"$1 is the number of notifications. This is for plural rule of \\"few\\".","TOAST_ACCORDION_MANY":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_MANY.comment":"$1 is the number of notifications. This is for plural rule of \\"many\\".","TOAST_ACCORDION_OTHER":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_OTHER.comment":"$1 is the number of notifications. This is for plural rule of \\"other\\".","TOAST_ACCORDION_TWO":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_TWO.comment":"$1 is the number of notifications. This is for plural rule of \\"two\\".","TOAST_ALT_ERROR":"Error","_TOAST_ALT_ERROR.comment":"This is for screen reader.","TOAST_ALT_INFO":"Information","_TOAST_ALT_INFO.comment":"This is for screen reader.","TOAST_ALT_SUCCESS":"Success","_TOAST_ALT_SUCCESS.comment":"This is for screen reader.","TOAST_ALT_WARN":"Warning","_TOAST_ALT_WARN.comment":"This is for screen reader.","TOAST_DISMISS_BUTTON":"Dismiss","TOAST_TITLE_ALT":"Notification","_TOAST_TITLE_ALT.comment":"This is for screen reader. The label for individiual notification.","TRANSCRIPT_ARIA_LABEL_ALT":"Transcript, press arrow keys to navigate.","_TRANSCRIPT_ARIA_LABEL_ALT.comment":"This is for screen reader for the label that will be narrated when the transcript is focused.","TRANSCRIPT_ARIA_ROLE_ALT":"transcript","_TRANSCRIPT_ARIA_ROLE_ALT.comment":"This is for screen reader for the aria-roledescription of the transcript container.","TRANSCRIPT_MORE_MESSAGES":"More messages","TRANSCRIPT_NEW_MESSAGES":"New messages","TRANSCRIPT_TERMINATOR_TEXT":"End of transcript","TYPING_INDICATOR_ALT":"Showing typing indicator","_TYPING_INDICATOR_ALT.comment":"This is for screen reader for the label that will be narrated when the other party is typing a message."}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] El contenido de este archivo est\xe1 bloqueado. Todas las aportaciones son bienvenidas, pero la validaci\xf3n de cambios se puede retrasar.","ACCESS_KEY_ALT":"Alt + May\xfas + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Opci\xf3n + $1","ACTIVITY_BOT_SAID_ALT":"El bot $1 dijo:","ACTIVITY_YOU_SAID_ALT":"Usted dijo:","ACTIVITY_BOT_ATTACHED_ALT":"Bot adjunto:","ACTIVITY_ERROR_BOX_TITLE":"Mensaje de error","ACTIVITY_INTERACTIVE_LABEL_ALT":"Presione ENTRAR para interactuar.","ACTIVITY_YOU_ATTACHED_ALT":"Usted adjunt\xf3:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 archivo adjunto.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 datos adjuntos.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 datos adjuntos.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 datos adjuntos.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 datos adjuntos.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"No se pudo enviar. [Reintentar][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Enviando","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviado a las $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estado de env\xedo: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Ahora mismo","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Hace una hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Hace un minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoy","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Ayer","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Error de an\xe1lisis de tarjeta adaptable","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Error de representaci\xf3n de tarjeta adaptable","ATTACHMENT_AUDIO":"Clip de audio.","ATTACHMENT_CARD":"Tarjeta: $1 $2 $3","ATTACHMENT_FILE":"Archivo: $1","ATTACHMENT_IMAGE":"Imagen","ATTACHMENT_TEXT":"Texto: $1","ATTACHMENT_VIDEO":"Clip de v\xeddeo","CAROUSEL_FLIPPER_LEFT_ALT":"Izquierdo","CAROUSEL_FLIPPER_RIGHT_ALT":"Derecho","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectado","CONNECTIVITY_STATUS_ALT_CONNECTING":"Conectando\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"No se puede conectar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Interrupci\xf3n de la red. Conectando de nuevo\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Error de representaci\xf3n. Compruebe la consola o p\xf3ngase en contacto con el desarrollador del bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Se est\xe1 tardando m\xe1s de lo habitual en conectarse.","CONNECTIVITY_STATUS_ALT":"Estado de conexi\xf3n: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Descargar archivo \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Descargar el archivo \'$1\' de tama\xf1o $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' de tama\xf1o $2","MARKDOWN_EXTERNAL_LINK_ALT":"Se abre en una ventana nueva; externo.","RECEIPT_CARD_TAX":"Impuesto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"Escuchando\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Micr\xf3fono desactivado","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Micr\xf3fono activado","SPEECH_INPUT_STARTING":"Iniciando\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Tiene contenido","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Tiene contenido. Presione $1 para seleccionar.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 vac\xedo","SUGGESTED_ACTIONS_ALT":"Contenedor de acciones sugeridas: $1","TEXT_INPUT_ALT":"Cuadro de entrada de mensajes","TEXT_INPUT_PLACEHOLDER":"Escriba su mensaje","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Hablar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Cargar archivo","TOAST_ACCORDION_FEW":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ACCORDION_MANY":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ACCORDION_OTHER":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ACCORDION_TWO":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ALT_ERROR":"Error","TOAST_ALT_INFO":"Informaci\xf3n","TOAST_ALT_SUCCESS":"Correcta","TOAST_ALT_WARN":"Advertencia","TOAST_DISMISS_BUTTON":"Descartar","TOAST_TITLE_ALT":"Notificaci\xf3n","TRANSCRIPT_ARIA_LABEL_ALT":"Transcripci\xf3n, presione las teclas de direcci\xf3n para navegar.","TRANSCRIPT_ARIA_ROLE_ALT":"transcripci\xf3n","TRANSCRIPT_MORE_MESSAGES":"M\xe1s mensajes","TRANSCRIPT_NEW_MESSAGES":"Mensajes nuevos","TRANSCRIPT_TERMINATOR_TEXT":"Final de la transcripci\xf3n","TYPING_INDICATOR_ALT":"Mostrando indicador de escritura"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Selle faili sisu on lukus. Panused on teretulnud, kuid muudatuste valideerimine v\xf5ib aega v\xf5tta.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Suvand + $1","ACTIVITY_BOT_SAID_ALT":"Robot $1 \xfctles:","ACTIVITY_YOU_SAID_ALT":"Te \xfctlesite:","ACTIVITY_BOT_ATTACHED_ALT":"Manustatud robot:","ACTIVITY_ERROR_BOX_TITLE":"T\xf5rketeade","ACTIVITY_INTERACTIVE_LABEL_ALT":"Suhtlemiseks vajutage sisestusklahvi (ENTER).","ACTIVITY_YOU_ATTACHED_ALT":"Manustasite:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 manus.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 manust.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 manust.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 manust.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 manust.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Saatmine nurjus. [Proovi uuesti][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Saatmine","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Saadetud kell $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Saatmise olek: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Just praegu","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Tund tagasi","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Minut tagasi","ACTIVITY_STATUS_TIMESTAMP_TODAY":"T\xe4na","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Eile","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Kohandatava kaardi s\xf5elumise t\xf5rge","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Kohandatava kaardi renderdamise t\xf5rge","ATTACHMENT_AUDIO":"Heliklipp.","ATTACHMENT_CARD":"Kaart: $1 $2 $3","ATTACHMENT_FILE":"Fail: $1","ATTACHMENT_IMAGE":"Pilt","ATTACHMENT_TEXT":"Tekst: $1","ATTACHMENT_VIDEO":"Videoklipp","CAROUSEL_FLIPPER_LEFT_ALT":"Vasak","CAROUSEL_FLIPPER_RIGHT_ALT":"Parem","CONNECTIVITY_STATUS_ALT_CONNECTED":"\xdchendatud","CONNECTIVITY_STATUS_ALT_CONNECTING":"\xdchenduse loomine\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\xdchendamine nurjus.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ilmnes v\xf5rgukatkestus. Uuesti \xfchendamine\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Renderdamise t\xf5rge. Kontrollige konsooli v\xf5i p\xf6\xf6rduge roboti arendaja poole.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\xdchenduse loomiseks l\xe4heb tavap\xe4rasest kauem aega.","CONNECTIVITY_STATUS_ALT":"\xdchenduse olek: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"Laadi alla fail \u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Laadi alla fail \u201e$1\u201d mahuga $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d mahuga $2","MARKDOWN_EXTERNAL_LINK_ALT":"Avab uues aknas; v\xe4line.","RECEIPT_CARD_TAX":"Maks","RECEIPT_CARD_TOTAL":"Kokku","RECEIPT_CARD_VAT":"KM","SPEECH_INPUT_LISTENING":"Kuulamine\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon v\xe4ljas","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon sees","SPEECH_INPUT_STARTING":"Algus\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"On sisu","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"On sisu. Valimiseks vajutage $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"On t\xfchi","SUGGESTED_ACTIONS_ALT":"Soovitatud tegevuste konteiner: $1","TEXT_INPUT_ALT":"S\xf5numi sisestuse v\xe4li","TEXT_INPUT_PLACEHOLDER":"Tippige oma s\xf5num","TEXT_INPUT_SEND_BUTTON_ALT":"Saada","TEXT_INPUT_SPEAK_BUTTON_ALT":"R\xe4\xe4gi","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Laadi fail \xfcles","TOAST_ACCORDION_FEW":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ACCORDION_MANY":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ACCORDION_OTHER":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ACCORDION_TWO":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ALT_ERROR":"T\xf5rge","TOAST_ALT_INFO":"Teave","TOAST_ALT_SUCCESS":"Tehtud","TOAST_ALT_WARN":"Hoiatus","TOAST_DISMISS_BUTTON":"Sule","TOAST_TITLE_ALT":"Teatis","TRANSCRIPT_ARIA_LABEL_ALT":"Transkriptsioon, navigeerimiseks vajutage nooleklahvi.","TRANSCRIPT_ARIA_ROLE_ALT":"transkriptsioon","TRANSCRIPT_MORE_MESSAGES":"Rohkem s\xf5numeid","TRANSCRIPT_NEW_MESSAGES":"Uued s\xf5numid","TRANSCRIPT_TERMINATOR_TEXT":"Transkriptsiooni l\xf5pp","TYPING_INDICATOR_ALT":"Tippimise n\xe4idiku kuvamine"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Fitxategi honen edukia blokeatuta dago. Ekarpenak onartzen dira, baina baliteke aldaketen balidazioa atzeratzea.","ACCESS_KEY_ALT":"Alt + Maius + $1","ACCESS_KEY_FOR_MAC_ALT":"Ktrl + Aukera + $1","ACTIVITY_BOT_SAID_ALT":"$1 bot-ak hau esan du:","ACTIVITY_YOU_SAID_ALT":"Hau esan duzu:","ACTIVITY_BOT_ATTACHED_ALT":"Bot-ak hau erantsi du:","ACTIVITY_ERROR_BOX_TITLE":"Errore-mezua","ACTIVITY_INTERACTIVE_LABEL_ALT":"Elkarreraginean aritzeko, sakatu SARTU.","ACTIVITY_YOU_ATTACHED_ALT":"Hau erantsi duzu:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 eranskin.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 eranskin.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 eranskin.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 eranskin.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 eranskin.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Ezin izan da bidali. [Saiatu berriro][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Bidaltzen","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Bidaltze-ordua: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Bidalketaren egoera: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Oraintxe bertan","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Duela ordubete","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Duela minutu bat","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Gaur","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Atzo","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Txartel moldagarriaren analisi-errorea","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Txartel moldagarriaren errendatze-errorea","ATTACHMENT_AUDIO":"Audio zati bat.","ATTACHMENT_CARD":"Txartel bat: $1 $2 $3","ATTACHMENT_FILE":"Fitxategi bat: $1","ATTACHMENT_IMAGE":"Irudi bat","ATTACHMENT_TEXT":"Testu bat: $1","ATTACHMENT_VIDEO":"Bideo zati bat","CAROUSEL_FLIPPER_LEFT_ALT":"Ezkerra","CAROUSEL_FLIPPER_RIGHT_ALT":"Eskuina","CONNECTIVITY_STATUS_ALT_CONNECTED":"Konektatu da","CONNECTIVITY_STATUS_ALT_CONNECTING":"Konektatzen\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Ezin da konektatu.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Sareko konexioa eten egin da. Berriro konektatzen\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Errendatze-errorea. Egiaztatu kontsola edo jarri harremanetan botaren garatzailearekin.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Ohi baino denbora gehiago behar izaten ari gara konektatzeko.","CONNECTIVITY_STATUS_ALT":"Konexioaren egoera: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Deskargatu \\"$1\\" fitxategia","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Deskargatu \\"$1\\" fitxategia (tamaina: $2)","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" (tamaina: $2)","MARKDOWN_EXTERNAL_LINK_ALT":"Beste leiho batean irekitzen da; kanpokoa.","RECEIPT_CARD_TAX":"Zerga","RECEIPT_CARD_TOTAL":"Guztira","RECEIPT_CARD_VAT":"BEZ","SPEECH_INPUT_LISTENING":"Entzuten\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofonoa desaktibatuta dago","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofonoa aktibatuta dago","SPEECH_INPUT_STARTING":"Hasten\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Edukia du","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Edukia du. Sakatu $1 hautatzeko.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Hutsik dago","SUGGESTED_ACTIONS_ALT":"Iradokitako ekintzen edukitzailea: $1","TEXT_INPUT_ALT":"Mezua idazteko koadroa","TEXT_INPUT_PLACEHOLDER":"Idatzi mezua","TEXT_INPUT_SEND_BUTTON_ALT":"Bidali","TEXT_INPUT_SPEAK_BUTTON_ALT":"Hitz egin","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Kargatu fitxategia","TOAST_ACCORDION_FEW":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ACCORDION_MANY":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ACCORDION_OTHER":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ACCORDION_TWO":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ALT_ERROR":"Errorea","TOAST_ALT_INFO":"Informazioa","TOAST_ALT_SUCCESS":"Gauzatu da","TOAST_ALT_WARN":"Abisua","TOAST_DISMISS_BUTTON":"Baztertu","TOAST_TITLE_ALT":"Jakinarazpena","TRANSCRIPT_ARIA_LABEL_ALT":"Transkripzioa. Nabigatzeko, erabili Gora eta Behera geziak.","TRANSCRIPT_ARIA_ROLE_ALT":"transkripzioa","TRANSCRIPT_MORE_MESSAGES":"Mezu gehiago","TRANSCRIPT_NEW_MESSAGES":"Mezu berriak","TRANSCRIPT_TERMINATOR_TEXT":"Transkripzioaren amaiera","TYPING_INDICATOR_ALT":"Idazketa-adierazlea ikusgai dago"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] T\xe4m\xe4n tiedoston sis\xe4lt\xf6 on lukittu. Osallistuminen on tervetullutta, mutta muutosten tarkistamisessa saattaa olla viivett\xe4.","ACCESS_KEY_ALT":"Alt + Vaihto + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Valinta + $1","ACTIVITY_BOT_SAID_ALT":"Botti $1 sanoi:","ACTIVITY_YOU_SAID_ALT":"Sanoit:","ACTIVITY_BOT_ATTACHED_ALT":"Botti lis\xe4si liitteen:","ACTIVITY_ERROR_BOX_TITLE":"Virhesanoma","ACTIVITY_INTERACTIVE_LABEL_ALT":"K\xe4yt\xe4 painamalla Enter-n\xe4pp\xe4int\xe4.","ACTIVITY_YOU_ATTACHED_ALT":"Lis\xe4sit liitteen:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 liite.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 liitett\xe4.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 liitett\xe4.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 liitett\xe4.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 liitett\xe4.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"L\xe4hetys ep\xe4onnistui. [Yrit\xe4 uudelleen][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"L\xe4hetet\xe4\xe4n","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"L\xe4hetetty $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"L\xe4hetyksen tila: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Juuri nyt","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Tunti sitten","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Minuutti sitten","ACTIVITY_STATUS_TIMESTAMP_TODAY":"T\xe4n\xe4\xe4n","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Eilen","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Mukautuvan kortin j\xe4sennysvirhe","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Mukautuvan kortin muodostusvirhe","ATTACHMENT_AUDIO":"\xc4\xe4nileike.","ATTACHMENT_CARD":"Kortti: $1 $2 $3","ATTACHMENT_FILE":"Tiedosto: $1","ATTACHMENT_IMAGE":"Kuva","ATTACHMENT_TEXT":"Teksti: $1","ATTACHMENT_VIDEO":"Videoleike","CAROUSEL_FLIPPER_LEFT_ALT":"Vasen","CAROUSEL_FLIPPER_RIGHT_ALT":"Oikea","CONNECTIVITY_STATUS_ALT_CONNECTED":"Yhdistetty","CONNECTIVITY_STATUS_ALT_CONNECTING":"Muodostetaan yhteytt\xe4\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Yhdist\xe4minen ei onnistu.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Verkkoyhteys keskeytyi. Yhdistet\xe4\xe4n uudelleen\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Muodostusvirhe. Tarkista konsoli tai ota yhteytt\xe4 botin kehitt\xe4j\xe4\xe4n.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Yhteyden muodostaminen kest\xe4\xe4 tavallista kauemmin.","CONNECTIVITY_STATUS_ALT":"Yhteyden tila: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Lataa tiedosto $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Lataa tiedosto $1 (koko $2)","FILE_CONTENT_WITH_SIZE_ALT":"$1 (koko $2)","MARKDOWN_EXTERNAL_LINK_ALT":"Avaa uudessa ikkunassa; ulkoinen.","RECEIPT_CARD_TAX":"Vero","RECEIPT_CARD_TOTAL":"Yhteens\xe4","RECEIPT_CARD_VAT":"ALV","SPEECH_INPUT_LISTENING":"Kuunnellaan\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofoni pois p\xe4\xe4lt\xe4","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofoni p\xe4\xe4ll\xe4","SPEECH_INPUT_STARTING":"Aloitetaan\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"On sis\xe4lt\xf6\xe4","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"On sis\xe4lt\xf6\xe4. Valitse painamalla $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"On tyhj\xe4","SUGGESTED_ACTIONS_ALT":"Ehdotettujen toimintojen s\xe4il\xf6: $1","TEXT_INPUT_ALT":"Viestin sy\xf6tt\xf6ruutu","TEXT_INPUT_PLACEHOLDER":"Kirjoita viestisi","TEXT_INPUT_SEND_BUTTON_ALT":"L\xe4het\xe4","TEXT_INPUT_SPEAK_BUTTON_ALT":"Puhu","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Lataa tiedosto palvelimeen","TOAST_ACCORDION_FEW":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ACCORDION_MANY":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ACCORDION_OTHER":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ACCORDION_TWO":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ALT_ERROR":"Virhe","TOAST_ALT_INFO":"Tiedot","TOAST_ALT_SUCCESS":"Onnistui","TOAST_ALT_WARN":"Varoitus","TOAST_DISMISS_BUTTON":"Hylk\xe4\xe4","TOAST_TITLE_ALT":"Ilmoitus","TRANSCRIPT_ARIA_LABEL_ALT":"Transkriptio, siirry nuolin\xe4pp\xe4imill\xe4.","TRANSCRIPT_ARIA_ROLE_ALT":"kirjaus","TRANSCRIPT_MORE_MESSAGES":"Lis\xe4\xe4 viestej\xe4","TRANSCRIPT_NEW_MESSAGES":"Uudet viestit","TRANSCRIPT_TERMINATOR_TEXT":"Transkription loppu","TYPING_INDICATOR_ALT":"N\xe4ytet\xe4\xe4n kirjoittamisen ilmaisin"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Le contenu de ce fichier est verrouill\xe9. Les contributions sont les bienvenues, mais la validation des modifications peut \xeatre retard\xe9e.","ACCESS_KEY_ALT":"Alt + Maj + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Le bot $1 a dit\xa0:","ACTIVITY_YOU_SAID_ALT":"Vous avez dit\xa0:","ACTIVITY_BOT_ATTACHED_ALT":"Bot joint\xa0:","ACTIVITY_ERROR_BOX_TITLE":"Message d\'erreur","ACTIVITY_INTERACTIVE_LABEL_ALT":"Appuyez sur ENTR\xc9E pour interagir.","ACTIVITY_YOU_ATTACHED_ALT":"Vous avez joint\xa0:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1\xa0pi\xe8ce jointe.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1\xa0pi\xe8ces jointes.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1\xa0pi\xe8ces jointes.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1\xa0pi\xe8ces jointes.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1\xa0pi\xe8ces jointes.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\xc9chec de l\'envoi. [R\xe9essayez][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Envoi en cours","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Envoy\xe9 \xe0 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Statut d\'envoi\xa0: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\xc0 l\'instant","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Il y a une heure","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Il y a une minute","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Aujourd\'hui","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Hier","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erreur d\'analyse de la carte adaptative","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erreur d\'affichage de la carte adaptative","ATTACHMENT_AUDIO":"Un clip audio.","ATTACHMENT_CARD":"Une carte\xa0: $1 $2 $3","ATTACHMENT_FILE":"Un fichier\xa0: $1","ATTACHMENT_IMAGE":"Une image","ATTACHMENT_TEXT":"Un texte\xa0: $1","ATTACHMENT_VIDEO":"Un clip vid\xe9o","CAROUSEL_FLIPPER_LEFT_ALT":"Gauche","CAROUSEL_FLIPPER_RIGHT_ALT":"Droit","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connect\xe9","CONNECTIVITY_STATUS_ALT_CONNECTING":"Connexion en cours...","CONNECTIVITY_STATUS_ALT_FATAL":"Impossible de se connecter.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Une interruption du r\xe9seau s\'est produite. Reconnexion en cours...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erreur de rendu. V\xe9rifiez la console ou contactez le d\xe9veloppeur du bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"La connexion prend plus de temps que d\'habitude.","CONNECTIVITY_STATUS_ALT":"Statut de la connectivit\xe9\xa0: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"T\xe9l\xe9charger le fichier \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"T\xe9l\xe9charger le fichier \'$1\' de taille $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' de taille $2","MARKDOWN_EXTERNAL_LINK_ALT":"S\u2019ouvre dans une nouvelle fen\xeatre\xa0; externe.","RECEIPT_CARD_TAX":"Taxe","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"TVA","SPEECH_INPUT_LISTENING":"\xc9coute en cours...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microphone d\xe9sactiv\xe9","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microphone activ\xe9","SPEECH_INPUT_STARTING":"D\xe9marrage en cours...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"A du contenu","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Contenu disponible. Appuyez sur $1 pour le s\xe9lectionner.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est vide","SUGGESTED_ACTIONS_ALT":"Conteneur d\'actions sugg\xe9r\xe9es\xa0: $1","TEXT_INPUT_ALT":"Zone de saisie du message","TEXT_INPUT_PLACEHOLDER":"Tapez votre message","TEXT_INPUT_SEND_BUTTON_ALT":"Envoyer","TEXT_INPUT_SPEAK_BUTTON_ALT":"Parler","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Charger le fichier","TOAST_ACCORDION_FEW":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ACCORDION_MANY":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ACCORDION_OTHER":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ACCORDION_TWO":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ALT_ERROR":"Erreur","TOAST_ALT_INFO":"Informations","TOAST_ALT_SUCCESS":"R\xe9ussite","TOAST_ALT_WARN":"Avertissement","TOAST_DISMISS_BUTTON":"Ignorer","TOAST_TITLE_ALT":"Notification","TRANSCRIPT_ARIA_LABEL_ALT":"Transcription, appuyez sur les touches fl\xe9ch\xe9es pour naviguer.","TRANSCRIPT_ARIA_ROLE_ALT":"transcription","TRANSCRIPT_MORE_MESSAGES":"Plus de messages","TRANSCRIPT_NEW_MESSAGES":"Nouveaux messages","TRANSCRIPT_TERMINATOR_TEXT":"Fin de la transcription","TYPING_INDICATOR_ALT":"Affichage de l\'indicateur de saisie"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] O contido deste ficheiro est\xe1 bloqueado. As contribuci\xf3ns son benvidas, pero a validaci\xf3n da modificaci\xf3n pode demorarse.","ACCESS_KEY_ALT":"ALT + MAI\xdaS + $1","ACCESS_KEY_FOR_MAC_ALT":"CTRL + Opci\xf3n + $1","ACTIVITY_BOT_SAID_ALT":"O bot $1 dixo:","ACTIVITY_YOU_SAID_ALT":"Dixo:","ACTIVITY_BOT_ATTACHED_ALT":"Anexado ao bot:","ACTIVITY_ERROR_BOX_TITLE":"Mensaxe de erro","ACTIVITY_INTERACTIVE_LABEL_ALT":"Prema INTRO para interactuar.","ACTIVITY_YOU_ATTACHED_ALT":"Anexou:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"Un anexo.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 anexos.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Erro no env\xedo. [Tentar de novo][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Enviando","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviada \xe1s $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estado do env\xedo: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Agora mesmo","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Hai unha hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Hai un minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoxe","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Onte","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erro de an\xe1lise do cart\xf3n adaptable","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erro de procesamento do cart\xf3n adaptable","ATTACHMENT_AUDIO":"Un clip de audio.","ATTACHMENT_CARD":"Un cart\xf3n: $1 $2 $3","ATTACHMENT_FILE":"Un ficheiro: $1","ATTACHMENT_IMAGE":"Unha imaxe","ATTACHMENT_TEXT":"Un texto: $1","ATTACHMENT_VIDEO":"Un clip de v\xeddeo","CAROUSEL_FLIPPER_LEFT_ALT":"Esquerda","CAROUSEL_FLIPPER_RIGHT_ALT":"Dereita","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectado","CONNECTIVITY_STATUS_ALT_CONNECTING":"Conectando\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Non \xe9 posible conectarse.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Produciuse unha interrupci\xf3n da rede. Conectando de novo\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erro de procesamento. Comprobe a consola ou p\xf3\xf1ase en contacto co programador do bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"A conexi\xf3n est\xe1 a tardar m\xe1is do normal.","CONNECTIVITY_STATUS_ALT":"Estado da conectividade: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Descargar o ficheiro \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Descargar o ficheiro \\"$1\\" cun tama\xf1o de $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" cun tama\xf1o de $2","MARKDOWN_EXTERNAL_LINK_ALT":"\xc1brese nunha vent\xe1 nova; externa.","RECEIPT_CARD_TAX":"Imposto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVE","SPEECH_INPUT_LISTENING":"Escoitando\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Apagar Micr\xf3fono","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Acender micr\xf3fono","SPEECH_INPUT_STARTING":"Iniciando\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ten contido","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Ten contido. Prema $1 para seleccionar.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 baleiro","SUGGESTED_ACTIONS_ALT":"Contedor de acci\xf3ns suxeridas: $1","TEXT_INPUT_ALT":"Caixa de entrada de mensaxes","TEXT_INPUT_PLACEHOLDER":"Escriba a mensaxe","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Falar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Cargar ficheiro","TOAST_ACCORDION_FEW":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ACCORDION_MANY":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ACCORDION_OTHER":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ACCORDION_TWO":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ALT_ERROR":"Erro","TOAST_ALT_INFO":"Informaci\xf3n","TOAST_ALT_SUCCESS":"Correcto","TOAST_ALT_WARN":"Aviso","TOAST_DISMISS_BUTTON":"Rexeitar","TOAST_TITLE_ALT":"Notificaci\xf3n","TRANSCRIPT_ARIA_LABEL_ALT":"Transcribir ou premer as teclas de frecha para navegar.","TRANSCRIPT_ARIA_ROLE_ALT":"transcrici\xf3n","TRANSCRIPT_MORE_MESSAGES":"M\xe1is mensaxes","TRANSCRIPT_NEW_MESSAGES":"Mensaxes novas","TRANSCRIPT_TERMINATOR_TEXT":"Fin da transcrici\xf3n","TYPING_INDICATOR_ALT":"Mostrando o indicador de escritura"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u05ea\u05d5\u05db\u05df \u05e7\u05d5\u05d1\u05e5 \u05d6\u05d4 \u05e0\u05e2\u05d5\u05dc. \u05ea\u05e8\u05d5\u05de\u05d5\u05ea \u05d9\u05ea\u05e7\u05d1\u05dc\u05d5 \u05d1\u05d1\u05e8\u05db\u05d4, \u05d0\u05da \u05d0\u05d9\u05de\u05d5\u05ea \u05d4\u05e9\u05d9\u05e0\u05d5\u05d9\u05d9\u05dd \u05e2\u05e9\u05d5\u05d9 \u05dc\u05d4\u05ea\u05e2\u05db\u05d1.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05d4- Bot\u200f $1 \u05d0\u05de\u05e8\u05d4:","ACTIVITY_YOU_SAID_ALT":"\u05d0\u05de\u05e8\u05ea:","ACTIVITY_BOT_ATTACHED_ALT":"\u05ea\u05d5\u05db\u05e0\u05d9\u05ea Bot \u05e6\u05d9\u05e8\u05e4\u05d4:","ACTIVITY_ERROR_BOX_TITLE":"\u05d4\u05d5\u05d3\u05e2\u05ea \u05e9\u05d2\u05d9\u05d0\u05d4","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u05d4\u05e7\u05e9 Enter \u05db\u05d3\u05d9 \u05dc\u05e7\u05d9\u05d9\u05dd \u05d0\u05d9\u05e0\u05d8\u05e8\u05d0\u05e7\u05e6\u05d9\u05d4.","ACTIVITY_YOU_ATTACHED_ALT":"\u05e6\u05d9\u05e8\u05e4\u05ea:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"\u05e7\u05d5\u05d1\u05e5 \u05de\u05e6\u05d5\u05e8\u05e3 \u05d0\u05d7\u05d3.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u05e7\u05d1\u05e6\u05d9\u05dd \u05de\u05e6\u05d5\u05e8\u05e4\u05d9\u05dd.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u05e7\u05d1\u05e6\u05d9\u05dd \u05de\u05e6\u05d5\u05e8\u05e4\u05d9\u05dd.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u05e7\u05d1\u05e6\u05d9\u05dd \u05de\u05e6\u05d5\u05e8\u05e4\u05d9\u05dd.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u05e7\u05d1\u05e6\u05d9\u05dd \u05de\u05e6\u05d5\u05e8\u05e4\u05d9\u05dd.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u05d4\u05e9\u05dc\u05d9\u05d7\u05d4 \u05e0\u05db\u05e9\u05dc\u05d4. [\u05e0\u05e1\u05d4 \u05e9\u05e0\u05d9\u05ea][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u05e9\u05d5\u05dc\u05d7","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
205e0\u05e9\u05dc\u05d7 \u05d1\u05e9\u05e2\u05d4 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u05de\u05e6\u05d1 \u05e9\u05dc\u05d9\u05d7\u05d4: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u05de\u05de\u05e9 \u05e2\u05db\u05e9\u05d9\u05d5","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05d4","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u05dc\u05e4\u05e0\u05d9 \u05d3\u05e7\u05d4","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u05d4\u05d9\u05d5\u05dd","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u05d0\u05ea\u05de\u05d5\u05dc","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05e0\u05d9\u05ea\u05d5\u05d7 \u05de\u05d1\u05e0\u05d4 \u05d8\u05e7\u05e1\u05d8 \u05e9\u05dc \u05db\u05e8\u05d8\u05d9\u05e1 \u05de\u05e1\u05ea\u05d2\u05dc","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05e2\u05d9\u05d1\u05d5\u05d3 \u05db\u05e8\u05d8\u05d9\u05e1 \u05de\u05e1\u05ea\u05d2\u05dc","ATTACHMENT_AUDIO":"\u05e7\u05dc\u05d9\u05e4 \u05e9\u05de\u05e2.","ATTACHMENT_CARD":"\u05db\u05e8\u05d8\u05d9\u05e1: $1 $2 $3","ATTACHMENT_FILE":"\u05e7\u05d5\u05d1\u05e5: $1","ATTACHMENT_IMAGE":"\u05ea\u05de\u05d5\u05e0\u05d4","ATTACHMENT_TEXT":"\u05d8\u05e7\u05e1\u05d8: $1","ATTACHMENT_VIDEO":"\u05e7\u05dc\u05d9\u05e4 \u05d5\u05d9\u05d3\u05d0\u05d5","CAROUSEL_FLIPPER_LEFT_ALT":"\u05e9\u05de\u05d0\u05dc","CAROUSEL_FLIPPER_RIGHT_ALT":"\u05d9\u05de\u05d9\u05df","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u05de\u05d7\u05d5\u05d1\u05e8","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u05de\u05ea\u05d7\u05d1\u05e8...","CONNECTIVITY_STATUS_ALT_FATAL":"\u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05ea\u05d7\u05d1\u05e8.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u05d0\u05d9\u05e8\u05e2\u05d4 \u05d4\u05e4\u05e8\u
205e2\u05d4 \u05d1\u05e8\u05e9\u05ea. \u05de\u05ea\u05d7\u05d1\u05e8 \u05de\u05d7\u05d3\u05e9...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u05e9\u05d2\u05d9\u05d0\u05ea \u05e2\u05d9\u05d1\u05d5\u05d3. \u05d1\u05d3\u05d5\u05e7 \u05d0\u05ea \u05d4\u05de\u05e1\u05d5\u05e3 \u05d0\u05d5 \u05e4\u05e0\u05d4 \u05d0\u05dc \u05de\u05e4\u05ea\u05d7 \u05d4\u05d1\u05d5\u05d8.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u05d4\u05d4\u05ea\u05d7\u05d1\u05e8\u05d5\u05ea \u05e0\u05de\u05e9\u05db\u05ea \u05d6\u05de\u05df \u05e8\u05d1 \u05de\u05d4\u05e8\u05d2\u05d9\u05dc.","CONNECTIVITY_STATUS_ALT":"\u05de\u05e6\u05d1 \u05e7\u05d9\u05e9\u05d5\u05e8\u05d9\u05d5\u05ea: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u05d4\u05d5\u05e8\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u05d4\u05d5\u05e8\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \'$1\' \u05d1\u05d2\u05d5\u05d3\u05dc $2","FILE_CONTENT_WITH_SIZE_ALT":"\u200f\'$1\' \u05d1\u05d2\u05d5\u05d3\u05dc $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u05e0\u05e4\u05ea\u05d7 \u05d1\u05d7\u05dc\u05d5\u05df \u05d7\u05d3\u05e9; \u05d7\u05d9\u05e6\u05d5\u05e0\u05d9.","RECEIPT_CARD_TAX":"\u05de\u05e1","RECEIPT_CARD_TOTAL":"\u05e1\u05da \u05d4\u05db\u05dc","RECEIPT_CARD_VAT":"\u05de\u05e2\\"\u05de","SPEECH_INPUT_LISTENING":"\u05de\u05d0\u05d6\u05d9\u05df\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u05db\u05d1\u05d4 \u05de\u05d9\u05e7\u05e8\u05d5\u05e4\u05d5\u05df","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u05d4\u05e4\u05e2\u05dc \u05de\u05d9\u05e7\u05e8\u05d5\u05e4\u05d5\u05df","SPEECH_INPUT_STARTING":"\u05de\u05ea\u05d7\u05d9\u05dc...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u05de\u05db\u05d9\u05dc \u05ea\u05d5\u05db\u05df","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u05de\u05db\u05d9\u05dc \u05ea\u05d5\u05db\u05df. \u05dc\u05d7\u05e5 \u05e2\u05dc $1 \u05db\u05d3\u05d9 \u05dc\u05d1\u05d7\u05d5\u05e8.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u05e8\u05d9\u05e7","SUGGESTED_ACTIONS_ALT":"\u05d2\u05d5\u05e8\u05dd \u05de\u05db\u05d9\u05dc \u05e9\u05dc \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05de\u05d5\u05e6\u05e2\u05d5\u05ea: $1","TEXT_INPUT_ALT":"\u05ea\u05d9\u05d1\u05d4 \u05dc\u05d4\u05d6\u05e0\u05ea \u05d4\u05d5\u05d3\u05e2\u05d4","TEXT_INPUT_PLACEHOLDER":"\u05d4\u05e7\u05dc\u05d3 \u05d0\u05ea \u05d4\u05d4\u05d5\u05d3\u05e2\u05d4 \u05e9\u05dc\u05da","TEXT_INPUT_SEND_BUTTON_ALT":"\u05e9\u05dc\u05d7","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u05d3\u05d1\u05e8","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u05d4\u05e2\u05dc\u05d4 \u05e7\u05d5\u05d1\u05e5","TOAST_ACCORDION_FEW":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u
205d8\u05d9\u05dd","TOAST_ACCORDION_MANY":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ACCORDION_OTHER":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ACCORDION_TWO":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ALT_ERROR":"\u200f\u200f\u05e9\u05d2\u05d9\u05d0\u05d4","TOAST_ALT_INFO":"\u05de\u05d9\u05d3\u05e2","TOAST_ALT_SUCCESS":"\u05d4\u05e6\u05dc\u05d7\u05d4","TOAST_ALT_WARN":"\u05d0\u05d6\u05d4\u05e8\u05d4","TOAST_DISMISS_BUTTON":"\u05d1\u05d8\u05dc","TOAST_TITLE_ALT":"\u05d4\u05d5\u05d3\u05e2\u05d4","TRANSCRIPT_ARIA_LABEL_ALT":"\u05ea\u05e2\u05ea\u05d9\u05e7, \u05d4\u05e7\u05e9 \u05e2\u05dc \u05de\u05e7\u05e9\u05d9 \u05d4\u05d7\u05e6\u05d9\u05dd \u05db\u05d3\u05d9 \u05dc\u05e0\u05d5\u05d5\u05d8.","TRANSCRIPT_ARIA_ROLE_ALT":"\u05ea\u05e2\u05ea\u05d9\u05e7","TRANSCRIPT_MORE_MESSAGES":"\u05d4\u05d5\u05d3\u05e2\u05d5\u05ea \u05e0\u05d5\u05e1\u05e4\u05d5\u05ea","TRANSCRIPT_NEW_MESSAGES":"\u05d4\u05d5\u05d3\u05e2\u05d5\u05ea \u05d7\u05d3\u05e9\u05d5\u05ea","TRANSCRIPT_TERMINATOR_TEXT":"\u05e1\u05d5\u05e3 \u05d4\u05ea\u05e2\u05ea\u05d9\u05e7","TYPING_INDICATOR_ALT":"\u05de\u05d7\u05d5\u05d5\u05df \u05e9\u05de\u05e6\u05d9\u05d2 \u05d4\u05e7\u05dc\u05d3\u05d4"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0907\u0938 \u092b\u093c\u093e\u0907\u0932 \u0915\u0940 \u0938\u093e\u092e\u0917\u094d\u0930\u0940 \u0932\u0949\u0915 \u0939\u0948. \u092f\u094b\u0917\u0926\u093e\u0928\u0915\u0930\u094d\u0924\u093e\u0913\u0902 \u0915\u093e \u0938\u094d\u0935\u093e\u0917\u0924 \u0939\u0948, \u0932\u0947\u0915\u093f\u0928 \u092a\u0930\u093f\u0935\u0930\u094d\u0924\u0928 \u0938\u0924\u094d\u092f\u093e\u092a\u0928 \u092e\u0947\u0902 \u0926\u0947\u0930\u0940 \u0939\u094b \u0938\u0915\u0924\u0940 \u0939\u0948.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + \u0935\u093f\u0915\u0932\u094d\u092a + $1","ACTIVITY_BOT_SAID_ALT":"\u092c\u0949\u091f $1 \u0928\u0947 \u0915\u0939\u093e:","ACTIVITY_YOU_SAID_ALT":"\u0906\u092a\u0928\u0947 \u0915\u0939\u093e:","ACTIVITY_BOT_ATTACHED_ALT":"\u092c\u0949\u091f \u0938\u0902\u0932\u0917\u094d\u0928 \u0915\u093f\u092f\u093e \u0917\u092f\u093e:","ACTIVITY_ERROR_BOX_TITLE":"\u0924\u094d\u0930\u0941\u091f\u093f \u0938\u0902\u0926\u0947\u0936","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u0907\u0902\u091f\u0930\u0948\u0915\u094d\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u090f\u0902\u091f\u0930 \u0926\u092c\u093e\u090f\u0901.","ACTIVITY_YOU_ATTACHED_ALT":"\u0906\u092a\u0928\u0947 \u092f\u0939 \u0938\u0902\u0932\u0917\u094d\u0928 \u0915\u093f\u092f\u093e \u0939\u0948:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u0905\u0928\u0941\u0932\u0917\u094d\u0928\u0915.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u0905\u0928\u0941\u0932\u0917\u094d\u0928\u0915.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u0905\u0928\u0941\u0932\u0917\u094d\u0928\u0915.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u0905\u0928\u0941\u0932\u0917\u094d\u0928\u0915.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u0905\u0928\u0941\u0932\u0917\u094d\u0928\u0915.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u092d\u0947\u091c\u0928\u093e \u0935\u093f\u092b\u0932. [\u092a\u0941\u0928: \u092a\u094d\u0930\u092f\u093e\u0938 \u0915\u0930\u0947\u0902][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u092d\u0947\u091c\u0940 \u091c\u093e \u0930\u0939\u0940 \u0939\u0948","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"$1 \u092a\u0930 \u092d\u0947\u091c\u0940 \u0917\u0908","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u092d\u0947\u091c\u0947 \u091c\u093e\u0928\u0947 \u0915\u0940 \u0938\u094d\u0925\u093f\u0924\u093f: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0905\u092d\u0940-\u0905\u092d\u0940","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u090f\u0915 \u0918\u0902\u091f\u093e \u092a\u0939\u0932\u0947","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u092e\u093f\u0928\u091f \u092a\u0939\u0932\u0947","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u
20906\u091c","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u092c\u0940\u0924\u093e \u0939\u0941\u0906 \u0915\u0932","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u090f\u0921\u0947\u092a\u094d\u091f\u093f\u0935 \u0915\u093e\u0930\u094d\u0921 \u092a\u093e\u0930\u094d\u0938 \u0924\u094d\u0930\u0941\u091f\u093f","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u090f\u0921\u0947\u092a\u094d\u091f\u093f\u0935 \u0915\u093e\u0930\u094d\u0921 \u0930\u0947\u0902\u0921\u0930 \u0924\u094d\u0930\u0941\u091f\u093f","ATTACHMENT_AUDIO":"\u090f\u0915 \u0911\u0921\u093f\u092f\u094b \u0915\u094d\u0932\u093f\u092a.","ATTACHMENT_CARD":"\u090f\u0915 \u0915\u093e\u0930\u094d\u0921: $1 $2 $3","ATTACHMENT_FILE":"\u090f\u0915 \u092b\u093c\u093e\u0907\u0932: $1","ATTACHMENT_IMAGE":"\u090f\u0915 \u091b\u0935\u093f","ATTACHMENT_TEXT":"\u090f\u0915 \u092a\u093e\u0920: $1","ATTACHMENT_VIDEO":"\u090f\u0915 \u0935\u0940\u0921\u093f\u092f\u094b \u0915\u094d\u0932\u093f\u092a","CAROUSEL_FLIPPER_LEFT_ALT":"\u092c\u093e\u090f\u0901","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0926\u093e\u090f\u0901","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u093f\u092f\u093e \u0917\u092f\u093e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u093f\u092f\u093e \u091c\u093e \u0930\u0939\u093e \u0939\u0948...","CONNECTIVITY_STATUS_ALT_FATAL":"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0928\u0947 \u092e\u0947\u0902 \u0905\u0938\u092e\u0930\u094d\u0925.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0928\u0947\u091f\u0935\u0930\u094d\u0915 \u0935\u094d\u092f\u0935\u0927\u093e\u0928 \u0909\u0924\u094d\u092a\u0928\u094d\u0928 \u0939\u0941\u0906. \u092a\u0941\u0928: \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0930\u0947\u0902\u0921\u0930 \u0924\u094d\u0930\u0941\u091f\u093f. \u0915\u0943\u092a\u092f\u093e \u0915\u0902\u0938\u094b\u0932 \u0915\u0940 \u091c\u093e\u0901\u091a \u0915\u0930\u0947\u0902 \u092f\u093e \u092c\u0949\u091f \u0921\u0947\u0935\u0932\u092a\u0930 \u0938\u0947 \u0938\u0902\u092a\u0930\u094d\u0915 \u0915\u0930\u0947\u0902.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0915\u0928\u0947\u0915\u094d\u091f \u0939\u094b\u0928\u0947 \u092e\u0947\u0902 \u0938\u093e\u092e\u093e\u0928\u094d\u092f \u0938\u0947 \u0905\u0927\u093f\u0915 \u0938\u092e\u092f \u0932\u0947 \u0930\u0939\u093e \u0939\u0948.","CONNECTIVITY_STATUS_ALT":"\u0915\u0928\u0947\u0915\u094d\u091f\u093f\u0935\u093f\u091f\u0940 \u0938\u094d\u0925\u093f\u0924\u093f: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\'$1\' \u092b\u093c\u093e\u0907\u0932 \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 \u0915\u0947 \u0906\u0915\u093e\u0930 \u0915\u0940 \'$1\' \u092b\u093c\u093e\u0907\u0932 \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","FILE_CONTENT_WITH_SIZE_ALT":"$2 \u0915\u0947 \u0906\u0915\u093e\u0930 \u0915\u0940 \'$1\'","MARKDOWN_EXTERNAL_LINK_ALT":"\u090f\u0915 \u0928\u0908 \u0935\u093f\u0902\u0921\u094b \u092e\u0947\u0902 \u0916\u094b\u0932\u0924\u093e \u0939\u0948; \u092c\u093e\u0939\u0930\u0940.","RECEIPT_CARD_TAX":"\u0915\u0930","RECEIPT_CARD_TOTAL":"\u092f\u094b\u0917","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u0938\u0941\u0928 \u0930\u0939\u093e \u0939\u0948...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u092e\u093e\u0907\u0915\u094d\u0930\u094b\u092b\u093c\u094b\u0928 \u092c\u0902\u0926 \u0915\u0930\u0947\u0902","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u092e\u093e\u0907\u0915\u094d\u0930\u094b\u092b\u093c\u094b\u0928 \u091a\u093e\u0932\u0942 \u0915\u0930\u0947\u0902","SPEECH_INPUT_STARTING":"\u0906\u0930\u0902\u092d \u0939\u094b \u0930\u0939\u093e \u0939\u0948\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0907\u0938\u092e\u0947\u0902 \u0938\u093e\u092e\u0917\u094d\u0930\u0940 \u0939\u0948","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0938\u093e\u092e\u0917\u094d\u0930\u0940 \u0939\u0948. \u091a\u092f\u0928 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f $1 \u0926\u092c\u093e\u090f\u0901.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0916\u093e\u0932\u0940 \u0939\u0948","SUGGESTED_ACTIONS_ALT":"\u0938\u0941\u091d\u093e\u0908 \u0917\u0908 \u0915\u093e\u0930\u094d\u0930\u0935\u093e\u0907\u092f\u094b\u0902 \u0915\u093e \u0915\u0902\u091f\u0947\u0928\u0930: $1","TEXT_INPUT_ALT":"\u0938\u0902\u0926\u0947\u0936 \u0907\u0928\u092a\u0941\u091f \u092c\u0949\u0915\u094d\u0938","TEXT_INPUT_PLACEHOLDER":"\u0905\u092a\u0928\u093e \u0938\u0902\u0926\u0947\u0936 \u0932\u093f\u0916\u0947\u0902","TEXT_INPUT_SEND_BUTTON_ALT":"\u092d\u0947\u091c\u0947\u0902","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u092c\u094b\u0932\u0947\u0902","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u092b\u093c\u093e\u0907\u0932 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_FEW":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_MANY":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_OTHER":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_TWO":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ALT_ERROR":"\u0924\u094d\u0930\u0941\u091f\u093f","TOAST_ALT_INFO":"\u
2091c\u093e\u0928\u0915\u093e\u0930\u0940","TOAST_ALT_SUCCESS":"\u0938\u092b\u0932","TOAST_ALT_WARN":"\u091a\u0947\u0924\u093e\u0935\u0928\u0940","TOAST_DISMISS_BUTTON":"\u0916\u093e\u0930\u093f\u091c \u0915\u0930\u0947\u0902","TOAST_TITLE_ALT":"\u0938\u0942\u091a\u0928\u093e","TRANSCRIPT_ARIA_LABEL_ALT":"\u091f\u094d\u0930\u093e\u0902\u0938\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0915\u0930\u0947\u0902, \u0928\u0947\u0935\u093f\u0917\u0947\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0924\u0940\u0930 \u0915\u0941\u0902\u091c\u093f\u092f\u094b\u0902 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947\u0902.","TRANSCRIPT_ARIA_ROLE_ALT":"\u091f\u094d\u0930\u093e\u0902\u0938\u0915\u094d\u0930\u093f\u092a\u094d\u091f","TRANSCRIPT_MORE_MESSAGES":"\u0905\u0927\u093f\u0915 \u0938\u0902\u0926\u0947\u0936","TRANSCRIPT_NEW_MESSAGES":"\u0928\u090f \u0938\u0902\u0926\u0947\u0936","TRANSCRIPT_TERMINATOR_TEXT":"\u091f\u094d\u0930\u093e\u0902\u0938\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0915\u093e \u0938\u092e\u093e\u092a\u0928","TYPING_INDICATOR_ALT":"\u091f\u093e\u0907\u092a \u0915\u0930\u0928\u0947 \u0935\u093e\u0932\u093e \u0938\u0902\u0915\u0947\u0924\u0915 \u0926\u093f\u0916\u093e \u0930\u0939\u093e \u0939\u0948"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Sadr\u017eaj ove datoteke blokiran je. Doprinosi su dobrodo\u0161li, ali provjera valjanosti promjena mo\u017ee biti odgo\u0111ena.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + mogu\u0107nost + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 rekao je:","ACTIVITY_YOU_SAID_ALT":"Vi ste rekli:","ACTIVITY_BOT_ATTACHED_ALT":"Prilo\u017eeni bot:","ACTIVITY_ERROR_BOX_TITLE":"Poruka o pogre\u0161ci","ACTIVITY_INTERACTIVE_LABEL_ALT":"Pritisnite ENTER za interakciju.","ACTIVITY_YOU_ATTACHED_ALT":"Prilo\u017eili ste:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 privitak.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 privitka.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 privitaka.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 privitaka.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 privitka.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Slanije nije uspjelo. [Poku\u0161aj ponovno][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Slanje","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Poslano u $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status slanja: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Upravo sada","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Prije 1 h","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Prije 1 minute","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Danas","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ju\u010der","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Pogre\u0161ka pri ra\u0161\u010dlambi prilagodljive kartice","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Pogre\u0161ka pri renderiranju prilagodljive kartice","ATTACHMENT_AUDIO":"Audioisje\u010dak.","ATTACHMENT_CARD":"Kartica: $1 $2 $3","ATTACHMENT_FILE":"Datoteka: $1","ATTACHMENT_IMAGE":"Slika","ATTACHMENT_TEXT":"Tekst: $1","ATTACHMENT_VIDEO":"Videoisje\u010dak","CAROUSEL_FLIPPER_LEFT_ALT":"Lijevo","CAROUSEL_FLIPPER_RIGHT_ALT":"Desno","CONNECTIVITY_STATUS_ALT_CONNECTED":"Povezano","CONNECTIVITY_STATUS_ALT_CONNECTING":"Povezivanje u tijeku...","CONNECTIVITY_STATUS_ALT_FATAL":"Povezivanje nije mogu\u0107e.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Do\u0161lo je do prekida mre\u017ee. U tijeku je ponovno povezivanje...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Pogre\u0161ka pri renderiranju. Provjerite konzolu ili se obratite razvojnom in\u017eenjeru bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Povezivanje traje dulje nego obi\u010dno.","CONNECTIVITY_STATUS_ALT":"Status veze: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Preuzimanje datoteke \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Preuzimanje datoteke \u201e$1\u201d veli\u010dine $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d veli\u010dine $2","MARKDOWN_EXTERNAL_LINK_ALT":"Otvara se u novom prozoru, vanjskom.","RECEIPT_CARD_TAX":"Porez","RECEIPT_CARD_TOTAL":"Ukupno","RECEIPT_CARD_VAT":"PDV","SPEECH_INPUT_LISTENING":"Slu\u0161anje...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon je isklju\u010den","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon je uklju\u010den","SPEECH_INPUT_STARTING":"Zapo\u010dinje...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ima sadr\u017eaj","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Ima sadr\u017eaj. Pritisnite $1 za odabir.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je prazan","SUGGESTED_ACTIONS_ALT":"Spremnik predlo\u01
27eenih radnji: $1","TEXT_INPUT_ALT":"Okvir za unos poruke","TEXT_INPUT_PLACEHOLDER":"Unesite poruku","TEXT_INPUT_SEND_BUTTON_ALT":"Po\u0161alji","TEXT_INPUT_SPEAK_BUTTON_ALT":"Govor","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Prijenos datoteke","TOAST_ACCORDION_FEW":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ACCORDION_MANY":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ACCORDION_OTHER":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ACCORDION_TWO":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ALT_ERROR":"Pogre\u0161ka","TOAST_ALT_INFO":"Informacije","TOAST_ALT_SUCCESS":"Uspjeh","TOAST_ALT_WARN":"Upozorenje","TOAST_DISMISS_BUTTON":"Odbaci","TOAST_TITLE_ALT":"Obavijest","TRANSCRIPT_ARIA_LABEL_ALT":"Transkript, pritisnite tipke sa strelicama za navigaciju.","TRANSCRIPT_ARIA_ROLE_ALT":"transkript","TRANSCRIPT_MORE_MESSAGES":"Vi\u0161e poruka","TRANSCRIPT_NEW_MESSAGES":"Nove poruke","TRANSCRIPT_TERMINATOR_TEXT":"Kraj transkripta","TYPING_INDICATOR_ALT":"Prikaz pokazatelja tipkanja"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] A f\xe1jl tartalma z\xe1rolva van. Sz\xedvesen fogadjuk a hozz\xe1j\xe1rul\xe1sokat, de a m\xf3dos\xedt\xe1sok \xe9rv\xe9nyes\xedt\xe9se elh\xfaz\xf3dhat.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"A(z) $1 robot azt mondta:","ACTIVITY_YOU_SAID_ALT":"\xd6n azt mondta:","ACTIVITY_BOT_ATTACHED_ALT":"Robot \xe1ltal csatolva:","ACTIVITY_ERROR_BOX_TITLE":"Hiba\xfczenet","ACTIVITY_INTERACTIVE_LABEL_ALT":"Az interakci\xf3hoz nyomja meg az Entert.","ACTIVITY_YOU_ATTACHED_ALT":"\xd6n \xe1ltal csatolva:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 mell\xe9klet.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 mell\xe9klet.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 mell\xe9klet.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 mell\xe9klet.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 mell\xe9klet.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"A k\xfcld\xe9s sikertelen. [\xdajra][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"K\xfcld\xe9s","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Elk\xfcldve: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"K\xfcld\xe9s \xe1llapota: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\xc9ppen most","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Egy \xf3r\xe1ja","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Egy perce","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Ma","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Tegnap","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Elemz\xe9si hiba az adapt\xedv k\xe1rty\xe1n\xe1l","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Renderel\xe9si hiba az adapt\xedv k\xe1rty\xe1n\xe1l","ATTACHMENT_AUDIO":"Egy hangklip.","ATTACHMENT_CARD":"Egy k\xe1rtya: $1 $2 $3","ATTACHMENT_FILE":"Egy f\xe1jl: $1","ATTACHMENT_IMAGE":"Egy k\xe9p","ATTACHMENT_TEXT":"Egy sz\xf6veg: $1","ATTACHMENT_VIDEO":"Egy videoklip","CAROUSEL_FLIPPER_LEFT_ALT":"Bal","CAROUSEL_FLIPPER_RIGHT_ALT":"Jobb","CONNECTIVITY_STATUS_ALT_CONNECTED":"Csatlakoztatva","CONNECTIVITY_STATUS_ALT_CONNECTING":"Csatlakoz\xe1s...","CONNECTIVITY_STATUS_ALT_FATAL":"Nem lehet csatlakozni.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"A h\xe1l\xf3zati kapcsolat megszakadt. \xdajracsatlakoz\xe1s...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Renderel\xe9si hiba. Ellen\u0151rizze a konzolt, vagy forduljon a robot fejleszt\u0151j\xe9hez.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"A szok\xe1sosn\xe1l tov\xe1bb tart a csatlakoz\xe1s.","CONNECTIVITY_STATUS_ALT":"Kapcsolat \xe1llapota: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"$1 f\xe1jl let\xf6lt\xe9se","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"A(z) $1 f\xe1jl let\xf6lt\xe9se. M\xe9ret: $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 m\xe9rete: $2","MARKDOWN_EXTERNAL_LINK_ALT":"Megnyitja egy \xfaj ablakban; k\xfcls\u0151 hivatkoz\xe1s.","RECEIPT_CARD_TAX":"Ad\xf3","RECEIPT_CARD_TOTAL":"\xd6sszesen","RECEIPT_CARD_VAT":"\xc1FA","SPEECH_INPUT_LISTENING":"Hallgat\xe1s...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon kikapcsolva","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon bekapcsolva","SPEECH_INPUT_STARTING":"Kezd\xe9s...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Van tartalma","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Tartalma van. A kiv\xe1laszt\xe1shoz nyomja meg ezt: $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\xdcres","SUGGESTED_ACTIONS_ALT":"Javasolt m\u0171veletek t\xe1rol\xf3ja: $1","TEXT_INPUT_ALT":"\xdczenet beviteli mez\u0151je","TEXT_INPUT_PLACEHOLDER":"\xcdrja be az \xfczenet\xe9t","TEXT_INPUT_SEND_BUTTON_ALT":"K\xfcld\xe9s","TEXT_INPUT_SPEAK_BUTTON_ALT":"Besz\xe9d","TEXT_INPUT_UPLOAD_BUTTON_ALT":"F\xe1jl felt\xf6lt\xe9se","TOAST_ACCORDION_FEW":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ACCORDION_MANY":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ACCORDION_OTHER":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ACCORDION_TWO":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ALT_ERROR":"Hiba","TOAST_ALT_INFO":"Inform\xe1ci\xf3k","TOAST_ALT_SUCCESS":"Sikeres","TOAST_ALT_WARN":"Figyelmeztet\xe9s","TOAST_DISMISS_BUTTON":"Elvet\xe9s","TOAST_TITLE_ALT":"\xc9rtes\xedt\xe9s","TRANSCRIPT_ARIA_LABEL_ALT":"\xc1tirat, a navig\xe1l\xe1shoz haszn\xe1lja a ny\xedlbillenty\u0171ket.","TRANSCRIPT_ARIA_ROLE_ALT":"\xe1tirat","TRANSCRIPT_MORE_MESSAGES":"Tov\xe1bbi \xfczenetek","TRANSCRIPT_NEW_MESSAGES":"\xdaj \xfczenetek","TRANSCRIPT_TERMINATOR_TEXT":"V\xe9ge az \xe1tiratnak","TYPING_INDICATOR_ALT":"G\xe9pel\xe9sjelz\u0151 megjelen\xedt\xe9se"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Konten file ini terkunci. Kontribusi diterima, namun validasi perubahan mungkin tertunda.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 berkata:","ACTIVITY_YOU_SAID_ALT":"Anda berkata:","ACTIVITY_BOT_ATTACHED_ALT":"Bot melampirkan:","ACTIVITY_ERROR_BOX_TITLE":"Pesan kesalahan","ACTIVITY_INTERACTIVE_LABEL_ALT":"Tekan ENTER untu
2k berinteraksi.","ACTIVITY_YOU_ATTACHED_ALT":"Anda melampirkan:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 lampiran.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Gagal mengirim. [Coba lagi][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Mengirim","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Dikirim pada $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status Pengiriman: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Baru saja","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Satu jam yang lalu","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Satu menit yang lalu","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hari Ini","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Kemarin","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Kesalahan penguraian Kartu Adaptif","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Kesalahan render Kartu Adaptif","ATTACHMENT_AUDIO":"Klip audio.","ATTACHMENT_CARD":"Kartu: $1 $2 $3","ATTACHMENT_FILE":"File: $1","ATTACHMENT_IMAGE":"Gambar","ATTACHMENT_TEXT":"Teks: $1","ATTACHMENT_VIDEO":"Klip video","CAROUSEL_FLIPPER_LEFT_ALT":"Kiri","CAROUSEL_FLIPPER_RIGHT_ALT":"Kanan","CONNECTIVITY_STATUS_ALT_CONNECTED":"Tersambung","CONNECTIVITY_STATUS_ALT_CONNECTING":"Menyambungkan\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Tidak dapat menyambungkan.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Terjadi gangguan jaringan. Menyambungkan kembali\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Kesalahan render. Periksa konsol atau hubungi pengembang bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Memakan waktu lebih lama dari biasanya untuk menyambungkan.","CONNECTIVITY_STATUS_ALT":"Status Konektivitas: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Unduh file \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Unduh file \'$1\' dengan ukuran $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' dengan ukuran $2","MARKDOWN_EXTERNAL_LINK_ALT":"Membuka di jendela baru; eksternal.","RECEIPT_CARD_TAX":"Pajak","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"PPN","SPEECH_INPUT_LISTENING":"Mendengarkan\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon tidak aktif","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon aktif","SPEECH_INPUT_STARTING":"Memulai\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Memiliki konten","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Memiliki konten. Tekan $1 untuk memilih.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Kosong","SUGGESTED_ACTIONS_ALT":"Kontainer Tindakan yang Disarankan: $1","TEXT_INPUT_ALT":"Kotak input pesan","TEXT_INPUT_PLACEHOLDER":"Ketik pesan Anda","TEXT_INPUT_SEND_BUTTON_ALT":"Kirim","TEXT_INPUT_SPEAK_BUTTON_ALT":"Ucapkan","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Unggah file","TOAST_ACCORDION_FEW":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ACCORDION_MANY":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ACCORDION_OTHER":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ACCORDION_TWO":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ALT_ERROR":"Kesalahan","TOAST_ALT_INFO":"Informasi","TOAST_ALT_SUCCESS":"Berhasil","TOAST_ALT_WARN":"Peringatan","TOAST_DISMISS_BUTTON":"Tutup","TOAST_TITLE_ALT":"Pemberitahuan","TRANSCRIPT_ARIA_LABEL_ALT":"Transkrip, tekan panah untuk menavigasi.","TRANSCRIPT_ARIA_ROLE_ALT":"transkrip","TRANSCRIPT_MORE_MESSAGES":"Pesan lainnya","TRANSCRIPT_NEW_MESSAGES":"Pesan baru","TRANSCRIPT_TERMINATOR_TEXT":"Akhir transkrip","TYPING_INDICATOR_ALT":"Menampilkan indikator pengetikan"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Il contenuto del file \xe8 bloccato. I contributi sono ben accetti, ma la convalida delle modifiche potrebbe essere posticipata.","ACCESS_KEY_ALT":"ALT + MAIUSC + $1","ACCESS_KEY_FOR_MAC_ALT":"CTRL + OPZIONE + $1","ACTIVITY_BOT_SAID_ALT":"Il bot $1 ha detto:","ACTIVITY_YOU_SAID_ALT":"Hai detto:","ACTIVITY_BOT_ATTACHED_ALT":"Il bot ha allegato:","ACTIVITY_ERROR_BOX_TITLE":"Messaggio di errore","ACTIVITY_INTERACTIVE_LABEL_ALT":"Premi INVIO per interagire.","ACTIVITY_YOU_ATTACHED_ALT":"Hai allegato:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 allegato.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 allegati.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 allegati.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 allegati.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 allegati.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Invio non riuscito. [tentativo][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Invio in corso","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Inviato alle $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stato invio: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Adesso","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Un\'ora fa","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Un minuto fa","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Oggi","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"Ieri","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Errore di analisi scheda adattiva","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Errore di rendering scheda adattiva","ATTACHMENT_AUDIO":"Clip audio.","ATTACHMENT_CARD":"Scheda: $1 $2 $3","ATTACHMENT_FILE":"File: $1","ATTACHMENT_IMAGE":"Immagine","ATTACHMENT_TEXT":"Testo: $1","ATTACHMENT_VIDEO":"Clip video","CAROUSEL_FLIPPER_LEFT_ALT":"A sinistra","CAROUSEL_FLIPPER_RIGHT_ALT":"Diritti","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connesso","CONNECTIVITY_STATUS_ALT_CONNECTING":"Connessione in corso\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Impossibile connettersi.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Interruzione di rete. Riconnessione in corso\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Errore di rendering. Controlla la console o contatta lo sviluppatore del bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"La connessione sta richiedendo pi\xf9 tempo del solito.","CONNECTIVITY_STATUS_ALT":"Stato connettivit\xe0: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Scarica file \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Scarica il file \\"$1\\" con dimensioni pari a $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" con dimensioni pari a $2","MARKDOWN_EXTERNAL_LINK_ALT":"Apre in una nuova finestra; esterna.","RECEIPT_CARD_TAX":"Imposte","RECEIPT_CARD_TOTAL":"Totali","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"In ascolto\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfono disattivato","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfono attivo","SPEECH_INPUT_STARTING":"Avvio in corso\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Include contenuto","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Contiene contenuto. Premi $1 per selezionare.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Vuoto","SUGGESTED_ACTIONS_ALT":"Contenitore azioni suggerite: $1","TEXT_INPUT_ALT":"Casella di input messaggio","TEXT_INPUT_PLACEHOLDER":"Digita il tuo messaggio","TEXT_INPUT_SEND_BUTTON_ALT":"Invia","TEXT_INPUT_SPEAK_BUTTON_ALT":"Parla","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carica file","TOAST_ACCORDION_FEW":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ACCORDION_MANY":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ACCORDION_OTHER":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ACCORDION_TWO":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ALT_ERROR":"Errore","TOAST_ALT_INFO":"Informazioni","TOAST_ALT_SUCCESS":"Riuscito","TOAST_ALT_WARN":"Avviso","TOAST_DISMISS_BUTTON":"Ignora","TOAST_TITLE_ALT":"Notifica","TRANSCRIPT_ARIA_LABEL_ALT":"Trascrizione, premi i tasti freccia per spostarti.","TRANSCRIPT_ARIA_ROLE_ALT":"trascrizione","TRANSCRIPT_MORE_MESSAGES":"Altri messaggi","TRANSCRIPT_NEW_MESSAGES":"Nuovi messaggi","TRANSCRIPT_TERMINATOR_TEXT":"Fine della trascrizione","TYPING_INDICATOR_ALT":"Visualizzazione dell\'indicatore di digitazione in corso"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6295\u7a3f\u306f\u6b53\u8fce\u3057\u307e\u3059\u304c\u3001\u5909\u66f4\u306e\u691c\u8a3c\u306f\u9045\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u30dc\u30c3\u30c8 $1 \u306e\u767a\u8a00:","ACTIVITY_YOU_SAID_ALT":"\u3042\u306a\u305f\u306e\u767a\u8a00:","ACTIVITY_BOT_ATTACHED_ALT":"\u30dc\u30c3\u30c8\u306e\u6dfb\u4ed8:","ACTIVITY_ERROR_BOX_TITLE":"\u30a8\u30e9\u30fc \u30e1\u30c3\u30bb\u30fc\u30b8","ACTIVITY_INTERACTIVE_LABEL_ALT":"Enter \u30ad\u30fc\u3092\u62bc\u3057\u3066\u5bfe\u8a71\u3057\u307e\u3059\u3002","ACTIVITY_YOU_ATTACHED_ALT":"\u3042\u306a\u305f\u306e\u6dfb\u4ed8:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u500b\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3002","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3002","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3002","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3002","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3002","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u9001\u4fe1\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002[\u518d\u8a66\u884c][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u9001\u4fe1\u4e2d","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u9001\u4fe1\u6642\u523b: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u9001\u4fe1\u72b6\u614b: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u305f\u3063\u305f\u4eca","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u6642\u9593\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u65e5","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"\u6628\u65e5","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u30a2\u30c0\u30d7\u30c6\u30a3\u30d6 \u30ab\u30fc\u30c9\u306e\u89e3\u6790\u30a8\u30e9\u30fc","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u30a2\u30c0\u30d7\u30c6\u30a3\u30d6 \u30ab\u30fc\u30c9\u306e\u8868\u793a\u30a8\u30e9\u30fc","ATTACHMENT_AUDIO":"\u30aa\u30fc\u30c7\u30a3\u30aa\u30af\u30ea\u30c3\u30d7\u3067\u3059\u3002","ATTACHMENT_CARD":"\u30ab\u30fc\u30c9: $1 $2 $3","ATTACHMENT_FILE":"\u30d5\u30a1\u30a4\u30eb: $1","ATTACHMENT_IMAGE":"\u753b\u50cf","ATTACHMENT_TEXT":"\u30c6\u30ad\u30b9\u30c8: $1","ATTACHMENT_VIDEO":"\u30d3\u30c7\u30aa \u30af\u30ea\u30c3\u30d7","CAROUSEL_FLIPPER_LEFT_ALT":"\u5de6\u65b9\u5411","CAROUSEL_FLIPPER_RIGHT_ALT":"\u53f3\u65b9\u5411","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u63a5\u7d9a\u6e08\u307f","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u63a5\u7d9a\u4e2d\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u4e2d\u65ad\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u518d\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u8868\u793a\u30a8\u30e9\u30fc\u3002\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u304b\u30dc\u30c3\u30c8\u958b\u767a\u8005\u306b\u304a\u554f\u5408\u305b\u304f\u3060\u3055\u3044\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u901a\u5e38\u3088\u308a\u63a5\u7d9a\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002","CONNECTIVITY_STATUS_ALT":"\u63a5\u7d9a\u72b6\u614b: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u30d5\u30a1\u30a4\u30eb \'$1\' \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u30d5\u30a1\u30a4\u30eb \'$1\' (\u30b5\u30a4\u30ba: $2) \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' (\u30b5\u30a4\u30ba: $2)","MARKDOWN_EXTERNAL_LINK_ALT":"\u65b0\u3057\u3044\u30a6\u30a3\u30f3\u30c9\u30a6 (\u5916\u90e8) \u3067\u30ec\u30b3\u30fc\u30c9\u3092\u958b\u304d\u307e\u3059\u3002","RECEIPT_CARD_TAX":"\u7a0e\u984d","RECEIPT_CARD_TOTAL":"\u5408\u8a08","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u805e\u3044\u3066\u3044\u307e\u3059\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u30de\u30a4\u30af\u304c\u7121\u52b9","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u30de\u30a4\u30af\u304c\u6709\u52b9","SPEECH_INPUT_STARTING":"\u958b\u59cb\u3057\u3066\u3044\u307e\u3059\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u3042\u308a\u307e\u3059","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u3042\u308a\u307e\u3059\u3002\u9078\u629e\u3059\u308b\u306b\u306f $1 \u3092\u62bc\u3057\u307e\u3059\u3002","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u7a7a\u3067\u3059","SUGGESTED_ACTIONS_ALT":"\u63a8\u5968\u3059\u308b\u30a2\u30af\u30b7\u30e7\u30f3 \u30b3\u30f3\u30c6\u30ca\u30fc: $1","TEXT_INPUT_ALT":"\u30e1\u30c3\u30bb\u30fc\u30b8\u5165\u529b\u30dc\u30c3\u30af\u30b9","TEXT_INPUT_PLACEHOLDER":"\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044","TEXT_INPUT_SEND_BUTTON_ALT":"\u9001\u4fe1","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8a71\u3059","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","TOAST_ACCORDION_FEW":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ACCORDION_MANY":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ACCORDION_OTHER":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ACCORDION_TWO":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ALT_ERROR":"\u30a8\u30e9\u30fc","TOAST_ALT_INFO":"\u60c5\u5831","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u89e3\u9664","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_ARIA_LABEL_ALT":"\u30c8\u30e9\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u77e2\u5370\u30ad\u30fc\u3092\u62bc\u3057\u3066\u79fb\u52d5\u3057\u307e\u3059\u3002","TRANSCRIPT_ARIA_ROLE_ALT":"\u30c8\u30e9\u30f3\u30b9\u30af\u30ea\u30d7\u30c8","TRANSCRIPT_MORE_MESSAGES":"\u305d\u306e\u4ed6\u306e\u30e1\u30c3\u30bb\u30fc\u30b8","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u3057\u3044\u30e1\u30c3\u30bb\u30fc\u30b8","TRANSCRIPT_TERMINATOR_TEXT":"\u30c8\u30e9\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u672b\u5c3e","TYPING_INDICATOR_ALT":"\u5165\u529b\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0411\u04b1\u043b \u0444\u0430\u0439\u043b\u0434\u044b\u04a3 \u043c\u0430\u0437\u043c\u04b1\u043d\u044b \u049b\u04b1\u043b\u044b\u043f\u0442\u0430\u043b\u0493\u0430\u043d. \u0416\u0430\u0440\u043d\u0430\u043b\u0430\u0440 \u049b\u0430\u0431\u044b\u043b\u0434\u0430\u043d\u0430\u0434\u044b, \u0431\u0456\u0440\u0430\u049b \u04e9\u0437\u0433\u0435\u0440\u0442\u0443\u043b\u0435\u0440\u0434\u0456 \u0442\u0435\u043a\u0441\u0435\u0440\u0443 \u043a\u0435\u0439\u0456\u043d\u0433\u0435 \u049b\u0430\u043b\u0434\u044b\u0440\u044b\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + \u041e\u043f\u0446\u0438\u044f + $1","ACTIVITY_BOT_SAID_ALT":"$1 \u0431\u043e\u0442\u0442\u044b\u04a3 \u0430\u0439\u0442\u0443\u044b \u0431\u043e\u0439\u044b\u043d\u0448\u0430:","ACTIVITY_YOU_SAID_ALT":"\u0421\u0456\u0437\u0434\u0456\u04a3 \u0430\u0439\u0442\u0443\u044b \u0431\u043e\u0439\u044b\u043d\u0448\u0430:","ACTIVITY_BOT_ATTACHED_ALT":"\u0411\u0435\u043a\u0456\u0442\u0456\u043b\u0433\u0435\u043d \u0431\u043e\u0442:","ACTIVITY_ERROR_BOX_TITLE":"\u049a\u0430\u0442\u0435 \u0442\u0443\u0440\u0430\u043b\u044b \u0445\u0430\u0431\u0430\u0440","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u04e8\u0437\u0430\u0440\u0430 \u04d9\u0440\u0435\u043a\u0435\u0442\u0442\u0435\u0441\u0443 \u04af\u0448\u0456\u043d ENTER \u043f\u0435\u0440\u043d\u0435\u0441\u0456\u043d \u0431\u0430\u0441\u044b\u04a3\u044b\u0437.","ACTIVITY_YOU_ATTACHED_ALT":"\u0421\u0456\u0437 \u0431\u0435\u043a\u0456\u0442\u0442\u0456\u04a3\u0456\u0437:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u0442\u0456\u0440\u043a\u0435\u043c\u0435.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u0442\u0456\u0440\u043a\u0435\u043c\u0435\u043b\u0435\u0440\u0456.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u0442\u0456\u0440\u043a\u0435\u043c\u0435\u043b\u0435\u0440\u0456.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u0442\u0456\u0440\u043a\u0435\u043c\u0435\u043b\u0435\u0440\u0456.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u0442\u0456\u0440\u043a\u0435\u043c\u0435\u043b\u0435\u0440\u0456.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0416\u0456\u0431\u0435\u0440\u0443 \u0441\u04d9\u0442\u0441\u0456\u0437 \u0430\u044f\u049b\u0442\u0430\u043b\u0434\u044b. (\u049a\u0430\u0439\u0442\u0430\u043b\u0430\u0443][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0416\u0456\u0431\u0435\u0440\u0456\u043b\u0443\u0434\u0435","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
20421\u0430\u0493\u0430\u0442 $1 \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0416\u0456\u0431\u0435\u0440\u0443 \u043a\u04af\u0439\u0456: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0414\u04d9\u043b \u049b\u0430\u0437\u0456\u0440","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0411\u04af\u0433\u0456\u043d","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u041a\u0435\u0448\u0435","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0411\u0435\u0439\u0456\u043c\u0434\u0435\u043b\u0433\u0456\u0448 \u043a\u0430\u0440\u0442\u0430\u043d\u044b \u0442\u0430\u043b\u0434\u0430\u0443 \u049b\u0430\u0442\u0435\u0441\u0456","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0411\u0435\u0439\u0456\u043c\u0434\u0435\u043b\u0433\u0456\u0448 \u043a\u0430\u0440\u0442\u0430\u043d\u044b \u043a\u04e9\u0440\u0441\u0435\u0442\u0443 \u049b\u0430\u0442\u0435\u0441\u0456","ATTACHMENT_AUDIO":"\u
20414\u044b\u0431\u044b\u0441\u043a\u043b\u0438\u043f.","ATTACHMENT_CARD":"\u041a\u0430\u0440\u0442\u0430: $1 $2 $3","ATTACHMENT_FILE":"\u0424\u0430\u0439\u043b: $1","ATTACHMENT_IMAGE":"\u041a\u0435\u0441\u043a\u0456\u043d","ATTACHMENT_TEXT":"\u041c\u04d9\u0442\u0456\u043d: $1","ATTACHMENT_VIDEO":"\u0411\u0435\u0439\u043d\u0435\u043a\u043b\u0438\u043f","CAROUSEL_FLIPPER_LEFT_ALT":"\u0421\u043e\u043b \u0436\u0430\u049b","CAROUSEL_FLIPPER_RIGHT_ALT":"\u041e\u04a3 \u0436\u0430\u049b","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u049a\u043e\u0441\u044b\u043b\u0493\u0430\u043d","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u049a\u043e\u0441\u044b\u043b\u0443\u0434\u0430...","CONNECTIVITY_STATUS_ALT_FATAL":"\u049a\u043e\u0441\u0443 \u043c\u04af\u043c\u043a\u0456\u043d \u0435\u043c\u0435\u0441.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0416\u0435\u043b\u0456 \u0436\u04b1\u043c\u044b\u0441\u044b\u043d\u0434\u0430 \u0456\u0440\u043a\u0456\u043b\u0456\u0441 \u0431\u043e\u043b\u0434\u044b. \u049a\u0430\u0439\u0442\u0430 \u049b\u043e\u0441\u044b\u043b\u0443\u0434\u0430\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u041a\u04e9\u0440\u0441\u0435\u0442\u0443 \u049b\u0430\u0442\u0435\u0441\u0456. \u041a\u043e\u043d\u0441\u043e\u043b\u044c\u0434\u0456 \u0442\u0435\u043a\u0441\u0435\u0440\u0456\u04a3\u0456\u0437 \u043d\u0435\u043c\u0435\u0441\u0435 \u0431\u043e\u0442 \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\u0448\u0456\u0441\u0456\u043c\u0435\u043d \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0441\u044b\u04a3\u044b\u0437.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u049a\u043e\u0441\u044b\u043b\u0443 \u04d9\u0434\u0435\u0442\u0442\u0435\u0433\u0456\u0434\u0435\u043d \u04b1\u0437\u0430\u049b \u0443\u0430\u049b\u044b\u0442 \u0430\u043b\u0443\u0434\u0430.","CONNECTIVITY_STATUS_ALT":"\u049a\u043e\u0441\u044b\u043b\u044b\u043c \u043a\u04af\u0439\u0456: $1","FILE_CONTENT_ALT":"\xab$1\xbb","FILE_CONTENT_DOWNLOADABLE_ALT":"$1 \u0444\u0430\u0439\u043b\u044b\u043d \u0436\u04af\u043a\u0442\u0435\u043f \u0430\u043b\u0443","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 \u04e9\u043b\u0448\u0435\u043c\u0434\u0456 $1 \u0444\u0430\u0439\u043b\u044b\u043d \u0436\u04af\u043a\u0442\u0435\u0443","FILE_CONTENT_WITH_SIZE_ALT":"$2 \u04e9\u043b\u0448\u0435\u043c\u0434\u0456 $1","MARKDOWN_EXTERNAL_LINK_ALT":"\u0416\u0430\u04a3\u0430 \u0442\u0435\u0440\u0435\u0437\u0435\u0434\u0435 \u0430\u0448\u0430\u0434\u044b; \u0441\u044b\u0440\u0442\u049b\u044b.","RECEIPT_CARD_TAX":"\u0421\u0430\u043b\u044b\u049b","RECEIPT_CARD_TOTAL":"\u0411\u0430\u0440\u043b\u044b\u0493\u044b","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u0422\u044b\u04a3\u0434\u0430\u043b\u0443\u0434\u0430...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u04e9\u0448\u0456\u0440\u0443\u043b\u0456","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d","SPEECH_INPUT_STARTING":"\u0411\u0430\u0441\u0442\u0430\u043b\u0443\u0434\u0430...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u041c\u0430\u0437\u043c\u04b1\u043d\u044b \u0431\u0430\u0440","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u041c\u0430\u0437\u043c\u04b1\u043d\u044b \u0431\u0430\u0440. \u0422\u0430\u04a3\u0434\u0430\u0443 \u04af\u0448\u0456\u043d $1 \u0442\u04af\u0439\u043c\u0435\u0441\u0456\u043d \u0431\u0430\u0441\u044b\u04a3\u044b\u0437.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0411\u043e\u0441","SUGGESTED_ACTIONS_ALT":"\u0411\u043e\u043b\u0436\u0430\u043b\u0434\u044b \u04d9\u0440\u0435\u043a\u0435\u0442\u0442\u0435\u0440 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456: $1","TEXT_INPUT_ALT":"\u0425\u0430\u0431\u0430\u0440\u0434\u044b \u0435\u043d\u0433\u0456\u0437\u0443 \u04e9\u0440\u0456\u0441\u0456","TEXT_INPUT_PLACEHOLDER":"\u0425\u0430\u0431\u0430\u0440\u0434\u044b \u0442\u0435\u0440\u0456\u04a3\u0456\u0437","TEXT_INPUT_SEND_BUTTON_ALT":"\u0416\u0456\u0431\u0435\u0440\u0443","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0421\u04e9\u0439\u043b\u0435\u0443","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0424\u0430\u0439\u043b\u0434\u044b \u043a\u0435\u0440\u0456 \u0436\u04af\u043a\u0442\u0435\u0443","TOAST_ACCORDION_FEW":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ACCORDION_MANY":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ACCORDION_OTHER":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ACCORDION_TWO":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ALT_ERROR":"\u049a\u0430\u0442\u0435","TOAST_ALT_INFO":"\u
20410\u049b\u043f\u0430\u0440\u0430\u0442","TOAST_ALT_SUCCESS":"\u0421\u04d9\u0442\u0442\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0434\u044b","TOAST_ALT_WARN":"\u0415\u0441\u043a\u0435\u0440\u0442\u0443","TOAST_DISMISS_BUTTON":"\u0416\u043e\u044e","TOAST_TITLE_ALT":"\u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443","TRANSCRIPT_ARIA_LABEL_ALT":"\u0422\u04af\u0441\u0456\u043d\u0434\u0456\u0440\u043c\u0435, \u0448\u0430\u0440\u043b\u0430\u0443 \u04af\u0448\u0456\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u043a\u0456 \u043f\u0435\u0440\u043d\u0435\u043b\u0435\u0440\u0456\u043d \u0431\u0430\u0441\u044b\u04a3\u044b\u0437.","TRANSCRIPT_ARIA_ROLE_ALT":"\u0442\u0440\u0430\u043d\u0441\u043a\u0440\u0438\u043f\u0442","TRANSCRIPT_MORE_MESSAGES":"\u049a\u043e\u0441\u044b\u043c\u0448\u0430 \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0440","TRANSCRIPT_NEW_MESSAGES":"\u0416\u0430\u04a3\u0430 \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0440","TRANSCRIPT_TERMINATOR_TEXT":"\u0422\u04af\u0441\u0456\u043d\u0434\u0456\u0440\u043c\u0435 \u0441\u043e\u04a3\u044b","TYPING_INDICATOR_ALT":"\u041c\u04d9\u0442\u0456\u043d \u0442\u0435\u0440\u0443 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u0443"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \uc774 \ud30c\uc77c\uc758 \ub0b4\uc6a9\uc774 \uc7a0\uacbc\uc2b5\ub2c8\ub2e4. \uae30\uc5ec\ub97c \ud658\uc601\ud558\uc9c0\ub9cc \ubcc0\uacbd \uc720\ud6a8\uc131 \uac80\uc0ac\uac00 \uc9c0\uc5f0\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\ubd07 $1\uc758 \ub9d0:","ACTIVITY_YOU_SAID_ALT":"\ub098\uc758 \ub9d0:","ACTIVITY_BOT_ATTACHED_ALT":"\ubd07\uc774 \ucca8\ubd80\ud568:","ACTIVITY_ERROR_BOX_TITLE":"\uc624\ub958 \uba54\uc2dc\uc9c0","ACTIVITY_INTERACTIVE_LABEL_ALT":"\uc0c1\ud638\uc791\uc6a9\ud558\ub824\uba74 Enter \ud0a4\ub97c \ub204\ub974\uc138\uc694.","ACTIVITY_YOU_ATTACHED_ALT":"\ub0b4\uac00 \ucca8\ubd80\ud568:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"\ucca8\ubd80 \ud30c\uc77c 1\uac1c.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"\ucca8\ubd80 \ud30c\uc77c $1\uac1c.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"\ucca8\ubd80 \ud30c\uc77c $1\uac1c.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"\ucca8\ubd80 \ud30c\uc77c $1\uac1c.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"\ucca8\ubd80 \ud30c\uc77c $1\uac1c.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\ubcf4\ub0b4\uae30 \uc2e4\ud328. [\ub2e4\uc2dc \uc2dc\ub3c4][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\ubcf4\ub0b4\ub294 \uc911","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"$1\uc5d0 \ubcf4\ub0c4","ACTIVITY_STATUS_SEND_STATUS_ALT":"\ubcf4\ub0b4\uae30 \uc0c1\ud0dc: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\ubc29\uae08","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1\uc2dc\uac04 \uc804","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1\ubd84 \uc804","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\uc624\ub298","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\uc5b4\uc81c","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\uc801\uc751\ud615 \uce74\ub4dc \uad6c\ubb38 \ubd84\uc11d \uc624\ub958","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\uc801\uc751\ud615 \uce74\ub4dc \ub80c\ub354\ub9c1 \uc624\ub958","ATTACHMENT_AUDIO":"\uc624\ub514\uc624 \ud074\ub9bd\uc785\ub2c8\ub2e4.","ATTACHMENT_CARD":"\uce74\ub4dc: $1 $2 $3","ATTACHMENT_FILE":"\ud30c\uc77c: $1","ATTACHMENT_IMAGE":"\uc774\ubbf8\uc9c0","ATTACHMENT_TEXT":"\ud14d\uc2a4\ud2b8: $1","ATTACHMENT_VIDEO":"\ube44\ub514\uc624 \ud074\ub9bd","CAROUSEL_FLIPPER_LEFT_ALT":"\uc67c\ucabd","CAROUSEL_FLIPPER_RIGHT_ALT":"\uc624\ub978\ucabd","CONNECTIVITY_STATUS_ALT_CONNECTED":"\uc5f0\uacb0\ub428","CONNECTIVITY_STATUS_ALT_CONNECTING":"\uc5f0\uacb0 \uc911\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\uc5f0\uacb0\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\ub124\ud2b8\uc6cc\ud06c \uc911\ub2e8\uc774 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc5f0\uacb0\ud558\ub294 \uc911\uc785\ub2c8\ub2e4...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\ub80c\ub354\ub9c1 \uc624\ub958\uc785\ub2c8\ub2e4. \ucf58\uc194\uc744 \ud655\uc778\ud558\uac70\ub098 \ubd07 \uac1c\ubc1c\uc790\uc5d0\uac8c \ubb38\uc758\ud558\uc2ed\uc2dc\uc624.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\uc5f0\uacb0\ud558\ub294 \ub370 \ud3c9\uc18c\ubcf4\ub2e4 \uc624\ub798 \uac78\ub9bd\ub2c8\ub2e4.","CONNECTIVITY_STATUS_ALT":"\uc5f0\uacb0 \uc0c1\ud0dc: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\'$1\' \ud30c\uc77c \ub2e4\uc6b4\ub85c\ub4dc","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 \ud06c\uae30\uc758 \ub2e4\uc6b4\ub85c\ub4dc \ud30c\uc77c \'$1\'","FILE_CONTENT_WITH_SIZE_ALT":"$2 \ud06c\uae30\uc758 \'$1\'","MARKDOWN_EXTERNAL_LINK_ALT":"\uc0c8 \ucc3d\uc73c\ub85c \uc5fd\ub2c8\ub2e4. \uc678\ubd80.","RECEIPT_CARD_TAX":"\uc138\uae08","RECEIPT_CARD_TOTAL":"\ud569\uacc4","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\ub4e3\ub294 \uc911...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\ub9c8\uc774\ud06c \ub044\uae30","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\ub9c8\uc774\ud06c \ucf1c\uae30","SPEECH_INPUT_STARTING":"\uc2dc\uc791\ud558\ub294 \uc911\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\ucf58\ud150\uce20 \uc788\uc74c","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\ub0b4\uc6a9\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc120\ud0dd\ud558\ub824\uba74 $1 \ud0a4\ub97c \ub204\ub974\uc138\uc694.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\ube44\uc5b4 \uc788\uc74c","SUGGESTED_ACTIONS_ALT":"\uc81c\uc548\ub41c \uc791\uc5c5 \ucee8\ud14c\uc774\ub108: $1","TEXT_INPUT_ALT":"\uba54\uc2dc\uc9c0 \uc785\ub825 \uc0c1\uc790","TEXT_INPUT_PLACEHOLDER":"\uba54\uc2dc\uc9c0 \uc785\ub825","TEXT_INPUT_SEND_BUTTON_ALT":"\ubcf4\ub0b4\uae30","TEXT_INPUT_SPEAK_BUTTON_ALT":"\ub9d0\ud558\uae30","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\ud30c\uc77c \uc5c5\ub85c\ub4dc","TOAST_ACCORDION_FEW":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ACCORDION_MANY":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ACCORDION_OTHER":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ACCORDION_TWO":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ALT_ERROR":"\uc624\ub958","TOAST_ALT_INFO":"\uc815\ubcf4","TOAST_ALT_SUCCESS":"\uc131\uacf5","TOAST_ALT_WARN":"\uacbd\uace0","TOAST_DISMISS_BUTTON":"\ud574\uc81c","TOAST_TITLE_ALT":"\uc54c\ub9bc","TRANSCRIPT_ARIA_LABEL_ALT":"\ub300\ud654\ub85d, \uc544\ub798\ucabd \ud654\uc0b4\ud45c \ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud0d0\uc0c9\ud569\ub2c8\ub2e4.","TRANSCRIPT_ARIA_ROLE_ALT":"\ub300\ud654\ub85d","TRANSCRIPT_MORE_MESSAGES":"\ucd94\uac00 \uba54\uc2dc\uc9c0","TRANSCRIPT_NEW_MESSAGES":"\uc0c8 \uba54\uc2dc\uc9c0","TRANSCRIPT_TERMINATOR_TEXT":"\ub300\ud654\ub85d\uc758 \ub05d","TYPING_INDICATOR_ALT":"\uc785\ub825 \ud45c\uc2dc\uae30 \ud45c\uc2dc"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0160io failo turinys u\u017erakintas. Galite prisid\u0117ti, ta\u010diau gali u\u
2017etrukti, kol keitimai bus patikrinti.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + parinktis + $1","ACTIVITY_BOT_SAID_ALT":"Robotas $1 pasak\u0117:","ACTIVITY_YOU_SAID_ALT":"Pasak\u0117te:","ACTIVITY_BOT_ATTACHED_ALT":"Robotas prid\u0117jo:","ACTIVITY_ERROR_BOX_TITLE":"Klaidos prane\u0161imas","ACTIVITY_INTERACTIVE_LABEL_ALT":"Paspauskite ENTER, nor\u0117dami s\u0105veikauti.","ACTIVITY_YOU_ATTACHED_ALT":"Prid\u0117jote:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 pried\u0105.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 priedus.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 pried\u0173.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 priedus.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 priedus.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Nepavyko i\u0161si\u0173sti. [Bandyti dar kart\u0105][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Siun\u010diama","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"I\u0161si\u0173sta $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Siuntimo b\u016bsena: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"K\u0105 tik","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Prie\u0161 valand\u0105","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Prie\u0161 minut\u0119","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0160iandien","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Vakar","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adaptyviosios kortel\u0117s analiz\u0117s klaida","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adaptyviosios kortel\u0117s atvaizdavimo klaida","ATTACHMENT_AUDIO":"Garso \u012fra\u0161as.","ATTACHMENT_CARD":"Kortel\u0117: $1 $2 $3","ATTACHMENT_FILE":"Failas: $1","ATTACHMENT_IMAGE":"Vaizdas","ATTACHMENT_TEXT":"Teksto \u017einut\u0117: $1","ATTACHMENT_VIDEO":"Vaizdo \u012fra\u0161as","CAROUSEL_FLIPPER_LEFT_ALT":"Kair\u0117","CAROUSEL_FLIPPER_RIGHT_ALT":"De\u0161in\u0117","CONNECTIVITY_STATUS_ALT_CONNECTED":"Prijungta","CONNECTIVITY_STATUS_ALT_CONNECTING":"Jungiamasi\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Nepavyko prijungti.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Nutr\u016bko tinklo ry\u0161ys. Jungiamasi i\u0161 naujo...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Atvaizdavimo klaida. Patikrinkite konsol\u0119 arba kreipkit\u0117s \u012f roboto k\u016br\u0117j\u0105.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Prisijungimas trunka ilgiau nei \u012fprasta.","CONNECTIVITY_STATUS_ALT":"Ry\u0161io b\u016bsena: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Atsisi\u0173sti fail\u0105 $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Atsisi\u0173sti fail\u0105 $1, kurio dydis $2","FILE_CONTENT_WITH_SIZE_ALT":"$1, kurio dydis $2","MARKDOWN_EXTERNAL_LINK_ALT":"Atidaroma naujame lange; i\u0161orinis.","RECEIPT_CARD_TAX":"Mokestis","RECEIPT_CARD_TOTAL":"I\u0161 viso","RECEIPT_CARD_VAT":"PVM","SPEECH_INPUT_LISTENING":"Klausomasi\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofonas i\u0161jungtas","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofonas \u012fjungtas","SPEECH_INPUT_STARTING":"Pradedama\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Yra turinio","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Yra turinys. Nor\u0117dami pasirinkti, paspauskite $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Yra tu\u0161\u010dias","SUGGESTED_ACTIONS_ALT":"Rekomenduojam\u0173 veiksm\u0173 konteineris: $1","TEXT_INPUT_ALT":"Prane\u0161imo \u012fvedimo laukas","TEXT_INPUT_PLACEHOLDER":"\u012eveskite savo prane\u0161im\u0105","TEXT_INPUT_SEND_BUTTON_ALT":"Si\u0173sti","TEXT_INPUT_SPEAK_BUTTON_ALT":"Kalb\u0117ti","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nusi\u0173sti fail\u0105","TOAST_ACCORDION_FEW":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ACCORDION_MANY":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ACCORDION_OTHER":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ACCORDION_TWO":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ALT_ERROR":"Klaida","TOAST_ALT_INFO":"Informacija","TOAST_ALT_SUCCESS":"S\u0117kmingai","TOAST_ALT_WARN":"\u012esp\u0117jimas","TOAST_DISMISS_BUTTON":"I\u0161jungti","TOAST_TITLE_ALT":"Prane\u0161imas","TRANSCRIPT_ARIA_LABEL_ALT":"Nuora\u0161as, nar\u0161ykite naudodami rodykli\u0173 klavi\u0161us.","TRANSCRIPT_ARIA_ROLE_ALT":"nuora\u0161as","TRANSCRIPT_MORE_MESSAGES":"Daugiau prane\u0161im\u0173","TRANSCRIPT_NEW_MESSAGES":"Nauji prane\u0161imai","TRANSCRIPT_TERMINATOR_TEXT":"Nuora\u0161o pabaiga","TYPING_INDICATOR_ALT":"Rodomas teksto \u012fvedimo indikatorius"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0160\u012b faila saturs ir blo\u0137\u0113ts. Ieguld\u012bjumi tiek gaid\u012bti, ta\u010du izmai\u0146u valid\u0101cija var tikt aizkav\u0113ta.","ACCESS_KEY_ALT":"Alt\xa0+\xa0Shift\xa0+\xa0$1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl\xa0+\xa0Option\xa0+\xa0$1","ACTIVITY_BOT_SAID_ALT":"Robots $1 teica:","ACTIVITY_YOU_SAID_ALT":"J\u016bs teic\u0101t:","ACTIVITY_BOT_ATTACHED_ALT":"Robots pievienots:","ACTIVITY_ERROR_BOX_TITLE":"K\u013c\u016bdas zi\u0146ojums","ACTIVITY_INTERACTIVE_LABEL_ALT":"Lai mijiedarbotos, nospiediet tausti\u0146u ENTER.","ACTIVITY_YOU_ATTACHED_ALT":"J\u016bs pievienoj\u0101t:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1\xa0pielikums.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1\xa0pielikumi.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1\xa0pielikumi.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1\xa0pielikumi.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1\xa0pielikumi.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Neizdev\u
20101s nos\u016bt\u012bt. [M\u0113\u0123in\u0101t v\u0113lreiz][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Notiek s\u016bt\u012b\u0161ana","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Nos\u016bt\u012bts plkst.\xa0$1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Nos\u016bt\u012b\u0161anas statuss. $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Tikko","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pirms stundas","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pirms min\u016btes","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0160odien","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Vakardien","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adapt\u012bv\u0101s kart\u012btes pars\u0113\u0161anas k\u013c\u016bda","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adapt\u012bv\u0101s kart\u012btes atveides k\u013c\u016bda","ATTACHMENT_AUDIO":"Audioklips.","ATTACHMENT_CARD":"Kart\u012bte: $1 $2 $3","ATTACHMENT_FILE":"Fails: $1","ATTACHMENT_IMAGE":"Att\u0113ls","ATTACHMENT_TEXT":"Teksts: $1","ATTACHMENT_VIDEO":"Videoklips","CAROUSEL_FLIPPER_LEFT_ALT":"Pa kreisi","CAROUSEL_FLIPPER_RIGHT_ALT":"Pa labi","CONNECTIVITY_STATUS_ALT_CONNECTED":"Izveidots savienojums","CONNECTIVITY_STATUS_ALT_CONNECTING":"Notiek savienojuma izveide\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Nevar izveidot savienojumu.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Rad\u0101s t\u012bkla darb\u012bbas p\u0101rtraukums. Notiek atk\u0101rtota savienojuma izveide\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Atveides k\u013c\u016bda. L\u016bdzu, p\u0101rbaudiet konsoli vai sazinieties ar robota izstr\u0101d\u0101t\u0101ju.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Savienojuma izveide notiek ilg\u0101k nek\u0101 parasti.","CONNECTIVITY_STATUS_ALT":"Savienojuma statuss. $1","FILE_CONTENT_ALT":"\u201c$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Lejupiel\u0101d\u0113t failu \u201c$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Lejupiel\u0101d\u0113t failu \u201c$1\u201d, kura lielums ir $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201c$1\u201d, kura lielums ir $2","MARKDOWN_EXTERNAL_LINK_ALT":"Tiek atv\u0113rts jaun\u0101 log\u0101 (\u0101r\u0113j\u0101).","RECEIPT_CARD_TAX":"Nodoklis","RECEIPT_CARD_TOTAL":"Kop\u0101","RECEIPT_CARD_VAT":"PVN","SPEECH_INPUT_LISTENING":"Notiek klaus\u012b\u0161an\u0101s\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Izsl\u0113gt mikrofonu","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Iesl\u0113gt mikrofonu","SPEECH_INPUT_STARTING":"S\u0101kas ievade\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ir saturs","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Ietver saturu. Lai atlas\u012btu, nospiediet tausti\u0146u $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Ir tuk\u0161s","SUGGESTED_ACTIONS_ALT":"Ieteicamo darb\u012bbu konteiners. $1","TEXT_INPUT_ALT":"Zi\u0146ojuma ievades lodzi\u0146\u0161","TEXT_INPUT_PLACEHOLDER":"Ierakstiet zi\u0146ojumu","TEXT_INPUT_SEND_BUTTON_ALT":"Nos\u016bt\u012bt","TEXT_INPUT_SPEAK_BUTTON_ALT":"Run\u0101t","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Aug\u0161upiel\u0101d\u0113t failu","TOAST_ACCORDION_FEW":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ACCORDION_MANY":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ACCORDION_OTHER":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ACCORDION_TWO":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ALT_ERROR":"K\u013c\u016bda","TOAST_ALT_INFO":"Inform\u0101cija","TOAST_ALT_SUCCESS":"Veiksm\u012bgi","TOAST_ALT_WARN":"Br\u012bdin\u0101jums","TOAST_DISMISS_BUTTON":"Ner\u0101d\u012bt","TOAST_TITLE_ALT":"Pazi\u0146ojums","TRANSCRIPT_ARIA_LABEL_ALT":"Noraksts, izmantojiet bulttausti\u0146us, lai navi\u0123\u0113tu.","TRANSCRIPT_ARIA_ROLE_ALT":"noraksts","TRANSCRIPT_MORE_MESSAGES":"Vair\u0101k zi\u0146ojumu","TRANSCRIPT_NEW_MESSAGES":"Jauni zi\u0146ojumi","TRANSCRIPT_TERMINATOR_TEXT":"Noraksta beigas","TYPING_INDICATOR_ALT":"R\u0101da rakst\u012b\u0161anas indikatoru"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Kandungan fail ini telah dikunci. Sumbangan dialu-alukan, tetapi pengesahan perubahan mungkin ditunda.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 berkata:","ACTIVITY_YOU_SAID_ALT":"Anda berkata:","ACTIVITY_BOT_ATTACHED_ALT":"Bot lampirkan:","ACTIVITY_ERROR_BOX_TITLE":"Mesej ralat","ACTIVITY_INTERACTIVE_LABEL_ALT":"Tekan ENTER untu
2k berinteraksi.","ACTIVITY_YOU_ATTACHED_ALT":"Anda lampirkan:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 lampiran.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 lampiran.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Gagal dihantar. [Cuba Semula][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Menghantar","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Dihantar pada $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status Penghantaran: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Sebentar tadi","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Sejam yang lalu","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Seminit yang lalu","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hari Ini","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Semalam","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Ralat penguraian Kad Mudah Suai","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Ralat pemaparan Kad Mudah Suai","ATTACHMENT_AUDIO":"Klip audio.","ATTACHMENT_CARD":"Kad: $1 $2 $3","ATTACHMENT_FILE":"Fail: $1","ATTACHMENT_IMAGE":"Imej","ATTACHMENT_TEXT":"Teks: $1","ATTACHMENT_VIDEO":"Klip video","CAROUSEL_FLIPPER_LEFT_ALT":"Kiri","CAROUSEL_FLIPPER_RIGHT_ALT":"Kanan","CONNECTIVITY_STATUS_ALT_CONNECTED":"Disambungkan","CONNECTIVITY_STATUS_ALT_CONNECTING":"Bersambung\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Tidak dapat bersambung.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Gangguan rangkaian telah berlaku. Bersambung semula\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Ralat telah berlaku. Sila semak konsol atau hubungi pembangun bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Masa yang lebih lama daripada biasa diambil untuk bersambung.","CONNECTIVITY_STATUS_ALT":"Status Sambungan: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Muat turun fail \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Muat turun fail \'$1\' dengan saiz $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' dengan saiz $2","MARKDOWN_EXTERNAL_LINK_ALT":"Buka dalam tetingkap yang baharu; luaran.","RECEIPT_CARD_TAX":"Cukai","RECEIPT_CARD_TOTAL":"Jumlah","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"Mendengar\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon dimatikan","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon dihidupkan","SPEECH_INPUT_STARTING":"Bermula\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Mengandungi kandungan","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Mengandungi kandungan. Tekan $1 untuk memilih.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Tidak diisi","SUGGESTED_ACTIONS_ALT":"Bekas Cadangan Tindakan: $1","TEXT_INPUT_ALT":"Kotak input mesej","TEXT_INPUT_PLACEHOLDER":"Taip mesej anda","TEXT_INPUT_SEND_BUTTON_ALT":"Hantar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Cakap","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Muat naik fail","TOAST_ACCORDION_FEW":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ACCORDION_MANY":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ACCORDION_OTHER":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ACCORDION_TWO":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ALT_ERROR":"Ralat","TOAST_ALT_INFO":"Maklumat","TOAST_ALT_SUCCESS":"Berjaya","TOAST_ALT_WARN":"Amaran","TOAST_DISMISS_BUTTON":"Tolak","TOAST_TITLE_ALT":"Pemberitahuan","TRANSCRIPT_ARIA_LABEL_ALT":"Transkrip, tekan kekunci anak panah untuk menavigasi.","TRANSCRIPT_ARIA_ROLE_ALT":"transkrip","TRANSCRIPT_MORE_MESSAGES":"Lebih banyak mesej","TRANSCRIPT_NEW_MESSAGES":"Mesej baharu","TRANSCRIPT_TERMINATOR_TEXT":"Tamat transkrip","TYPING_INDICATOR_ALT":"Menunjukkan penunjuk menaip"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Innholdet i denne filen er l\xe5st. Bidrag er velkomne, men validering av endring kan bli forsinket.","ACCESS_KEY_ALT":"Alt + Skift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Tilvalg + $1","ACTIVITY_BOT_SAID_ALT":"Roboten $1 sa:","ACTIVITY_YOU_SAID_ALT":"Du sa:","ACTIVITY_BOT_ATTACHED_ALT":"Roboten la ved:","ACTIVITY_ERROR_BOX_TITLE":"Feilmelding","ACTIVITY_INTERACTIVE_LABEL_ALT":"Trykk p\xe5 ENTER for \xe5 samhandle.","ACTIVITY_YOU_ATTACHED_ALT":"Du la ved:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 vedlegg.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 vedlegg.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 vedlegg.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 vedlegg.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 vedlegg.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Sending mislyktes. [Pr\xf8v p\xe5 nytt][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Sender","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Sendt klokken $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Sendestatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Akkurat n\xe5","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"For en time siden","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"For et minutt siden","ACTIVITY_STATUS_TIMESTAMP_TODAY":"I dag","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"I g\xe5r","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Feil ved analyse av AdaptiveCard","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Feil ved gjengivelse av AdaptiveCard","ATTACHMENT_AUDIO":"Et lydklipp.","ATTACHMENT_CARD":"Et kort: $1 $2 $3","ATTACHMENT_FILE":"En fil: $1","ATTACHMENT_IMAGE":"Et bilde","ATTACHMENT_TEXT":"En tekst: $1","ATTACHMENT_VIDEO":"Et videoklipp","CAROUSEL_FLIPPER_LEFT_ALT":"Venstre","CAROUSEL_FLIPPER_RIGHT_ALT":"Rettigheter","CONNECTIVITY_STATUS_ALT_CONNECTED":"Tilkoblet","CONNECTIVITY_STATUS_ALT_CONNECTING":"Kobler til ...","CONNECTIVITY_STATUS_ALT_FATAL":"Kan ikke koble til.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Det oppstod et nettverksbrudd. Kobler til p\xe5 nytt ...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Gjengivelsesfeil. Kontroller konsollen eller kontakt robotutvikleren.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Tar lengre tid enn vanlig \xe5 koble til.","CONNECTIVITY_STATUS_ALT":"Tilkoblingsstatus: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Last ned filen $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Last ned filen $1 med st\xf8rrelsen $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 med st\xf8rrelsen $2","MARKDOWN_EXTERNAL_LINK_ALT":"\xc5pnes i et nytt vindu, eksternt.","RECEIPT_CARD_TAX":"Avgift","RECEIPT_CARD_TOTAL":"Totalt","RECEIPT_CARD_VAT":"Merverdiavgift","SPEECH_INPUT_LISTENING":"Lytter ...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon av","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon p\xe5","SPEECH_INPUT_STARTING":"Starter ...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Har innhold","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Har innhold. Trykk p\xe5 $1 for \xe5 velge.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Er tom","SUGGESTED_ACTIONS_ALT":"Beholder for foresl\xe5tte handlinger: $1","TEXT_INPUT_ALT":"Meldingsinndataboks","TEXT_INPUT_PLACEHOLDER":"Skriv inn meldingen","TEXT_INPUT_SEND_BUTTON_ALT":"Send","TEXT_INPUT_SPEAK_BUTTON_ALT":"Tal","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Last opp fil","TOAST_ACCORDION_FEW":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ACCORDION_MANY":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ACCORDION_OTHER":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ACCORDION_TWO":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ALT_ERROR":"Feil","TOAST_ALT_INFO":"Informasjon","TOAST_ALT_SUCCESS":"Vellykket","TOAST_ALT_WARN":"Advarsel!","TOAST_DISMISS_BUTTON":"Forkast","TOAST_TITLE_ALT":"Varsling","TRANSCRIPT_ARIA_LABEL_ALT":"Utskrift, trykk p\xe5 piltastene for \xe5 navigere.","TRANSCRIPT_ARIA_ROLE_ALT":"avskrift","TRANSCRIPT_MORE_MESSAGES":"Flere meldinger","TRANSCRIPT_NEW_MESSAGES":"Nye meldinger","TRANSCRIPT_TERMINATOR_TEXT":"Slutt p\xe5 utskrift","TYPING_INDICATOR_ALT":"Viser skriveindikatoren"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] De inhoud van dit bestand is vergrendeld. Bijdragen zijn welkom, maar wijzigingen in de validatie zijn mogelijk vertraagd.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 zei:","ACTIVITY_YOU_SAID_ALT":"U zei:","ACTIVITY_BOT_ATTACHED_ALT":"Bot heeft bijgevoegd:","ACTIVITY_ERROR_BOX_TITLE":"Foutbericht","ACTIVITY_INTERACTIVE_LABEL_ALT":"Druk op ENTER om te communiceren.","ACTIVITY_YOU_ATTACHED_ALT":"U hebt bijgevoegd:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 bijlage.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 bijlagen.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 bijlagen.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 bijlagen.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 bijlagen.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Verzenden mislukt. [Opnieuw][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Wordt verzonden","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Verzonden om $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Verzendstatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Zojuist","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Een uur geleden","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Een minuut geleden","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Vandaag","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Gisteren","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Parseerfout adaptieve kaart","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Weergavefout adaptieve kaart","ATTACHMENT_AUDIO":"Een audioclip.","ATTACHMENT_CARD":"Een kaart: $1 $2 $3","ATTACHMENT_FILE":"Een bestand: $1","ATTACHMENT_IMAGE":"Een afbeelding","ATTACHMENT_TEXT":"Een tekst: $1","ATTACHMENT_VIDEO":"Een videoclip","CAROUSEL_FLIPPER_LEFT_ALT":"Links","CAROUSEL_FLIPPER_RIGHT_ALT":"Recht","CONNECTIVITY_STATUS_ALT_CONNECTED":"Verbonden","CONNECTIVITY_STATUS_ALT_CONNECTING":"Verbinding maken...","CONNECTIVITY_STATUS_ALT_FATAL":"Kan geen verbinding maken.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Er is een netwerkonderbreking opgetreden. Verbinding wordt hersteld...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Fout bij genereren. Controleer de console of neem contact op met de bot-ontwikkelaar.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Het duurt langer dan gewoonlijk om verbinding te maken.","CONNECTIVITY_STATUS_ALT":"Verbindingsstatus: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Bestand \'$1\' downloaden","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Downloadbestand \'$1\' van grootte $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' van grootte $2","MARKDOWN_EXTERNAL_LINK_ALT":"Wordt geopend in een nieuw venster; extern.","RECEIPT_CARD_TAX":"Belastingen","RECEIPT_CARD_TOTAL":"Totaal","RECEIPT_CARD_VAT":"Btw","SPEECH_INPUT_LISTENING":"Luisteren...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfoon uit","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfoon aan","SPEECH_INPUT_STARTING":"Starten...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Bevat inhoud","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Bevat inhoud. Druk op $1 om te selecteren.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Is leeg","SUGGESTED_ACTIONS_ALT":"Container voor voorgestelde acties: $1","TEXT_INPUT_ALT":"Vak voor berichtinvoer","TEXT_INPUT_PLACEHOLDER":"Typ uw bericht","TEXT_INPUT_SEND_BUTTON_ALT":"
2Verzenden","TEXT_INPUT_SPEAK_BUTTON_ALT":"Spreken","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Bestand uploaden","TOAST_ACCORDION_FEW":"$1 meldingen: klik hier voor details","TOAST_ACCORDION_MANY":"$1 meldingen: klik hier voor details","TOAST_ACCORDION_OTHER":"$1 meldingen: klik hier voor details","TOAST_ACCORDION_TWO":"$1 meldingen: klik hier voor details","TOAST_ALT_ERROR":"Fout","TOAST_ALT_INFO":"Informatie","TOAST_ALT_SUCCESS":"Gelukt","TOAST_ALT_WARN":"Waarschuwing","TOAST_DISMISS_BUTTON":"Negeren","TOAST_TITLE_ALT":"Melding","TRANSCRIPT_ARIA_LABEL_ALT":"Transcriptie, druk op de pijltoetsen om te navigeren.","TRANSCRIPT_ARIA_ROLE_ALT":"transcriptie","TRANSCRIPT_MORE_MESSAGES":"Meer berichten","TRANSCRIPT_NEW_MESSAGES":"Nieuwe berichten","TRANSCRIPT_TERMINATOR_TEXT":"Einde transcriptie","TYPING_INDICATOR_ALT":"Indicator voor typen weergeven"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Zawarto\u015b\u0107 tego pliku jest zablokowana. Wk\u0142ad tw\xf3rczy jest mile widziany, ale weryfikacja zmian mo\u017ce by\u0107 op\xf3\u017aniona.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 powiedzia\u0142:","ACTIVITY_YOU_SAID_ALT":"Ty m\xf3wisz:","ACTIVITY_BOT_ATTACHED_ALT":"Bot do\u0142\u0105czy\u0142:","ACTIVITY_ERROR_BOX_TITLE":"Komunikat o b\u0142\u0119dzie","ACTIVITY_INTERACTIVE_LABEL_ALT":"Naci\u015bnij klawisz ENTER, aby rozpocz\u0105\u0107 interakcj\u0119.","ACTIVITY_YOU_ATTACHED_ALT":"Ty do\u0142\u0105czasz:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 za\u0142\u0105cznik.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 za\u0142\u0105czniki.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 za\u0142\u0105cznik\xf3w.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 za\u0142\u0105cznika.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 za\u0142\u0105czniki.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Wysy\u0142anie nie powiod\u0142o si\u0119. [Pon\xf3w pr\xf3b\u0119][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Wysy\u0142anie","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Wys\u0142ano o $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stan wysy\u0142ania: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Teraz","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Godzin\u0119 temu","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Minut\u0119 temu","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Dzisiaj","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Wczoraj","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"B\u0142\u0105d analizowania karty adaptacyjnej","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"B\u0142\u0105d renderowania karty adaptacyjnej","ATTACHMENT_AUDIO":"Klip audio.","ATTACHMENT_CARD":"Karta: $1 $2 $3","ATTACHMENT_FILE":"Plik: $1","ATTACHMENT_IMAGE":"Obraz","ATTACHMENT_TEXT":"Tekst: $1","ATTACHMENT_VIDEO":"Klip wideo","CAROUSEL_FLIPPER_LEFT_ALT":"W lewo","CAROUSEL_FLIPPER_RIGHT_ALT":"W prawo","CONNECTIVITY_STATUS_ALT_CONNECTED":"Po\u0142\u0105czono","CONNECTIVITY_STATUS_ALT_CONNECTING":"Trwa nawi\u0105zywanie po\u0142\u0105czenia...","CONNECTIVITY_STATUS_ALT_FATAL":"Nie mo\u017cna nawi\u0105za\u0107 po\u0142\u0105czenia.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Wyst\u0105pi\u0142a przerwa w dzia\u0142aniu sieci. Trwa ponowne nawi\u0105zywanie po\u0142\u0105czenia...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"B\u0142\u0105d renderowania. Sprawd\u017a konsol\u0119 lub skontaktuj si\u0119 z deweloperem bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Nawi\u0105zywanie po\u0142\u0105czenia trwa d\u0142u\u017cej ni\u017c zazwyczaj.","CONNECTIVITY_STATUS_ALT":"Stan \u0142\u0105czno\u015bci: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Pobierz plik \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Pobierz plik \u201e$1\u201d o rozmiarze $2","FILE_CONTENT_WITH_SIZE_ALT":"Plik \u201e$1\u201d o rozmiarze $2","MARKDOWN_EXTERNAL_LINK_ALT":"Powoduje otwarcie w nowym oknie; link zewn\u0119trzny.","RECEIPT_CARD_TAX":"Podatek","RECEIPT_CARD_TOTAL":"Suma","RECEIPT_CARD_VAT":"Podatek VAT","SPEECH_INPUT_LISTENING":"Trwa s\u0142uchanie...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon wy\u0142\u0105czony","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon w\u0142\u0105czony","SPEECH_INPUT_STARTING":"Trwa rozpoczynanie...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ma zawarto\u015b\u
20107","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Ma zawarto\u015b\u0107. Naci\u015bnij klawisz $1, aby wybra\u0107.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Jest puste","SUGGESTED_ACTIONS_ALT":"Kontener sugerowanych akcji: $1","TEXT_INPUT_ALT":"Pole wprowadzania wiadomo\u015bci","TEXT_INPUT_PLACEHOLDER":"Wpisz wiadomo\u015b\u0107","TEXT_INPUT_SEND_BUTTON_ALT":"Wy\u015blij","TEXT_INPUT_SPEAK_BUTTON_ALT":"M\xf3w","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Przeka\u017c plik","TOAST_ACCORDION_FEW":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ACCORDION_MANY":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ACCORDION_OTHER":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ACCORDION_TWO":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ALT_ERROR":"B\u0142\u0105d","TOAST_ALT_INFO":"Informacje","TOAST_ALT_SUCCESS":"Sukces","TOAST_ALT_WARN":"Ostrze\u017cenie","TOAST_DISMISS_BUTTON":"Odrzu\u0107","TOAST_TITLE_ALT":"Powiadomienie","TRANSCRIPT_ARIA_LABEL_ALT":"Transkrypcja, naciskaj klawisze strza\u0142ek, aby nawigowa\u0107.","TRANSCRIPT_ARIA_ROLE_ALT":"transkrypcja","TRANSCRIPT_MORE_MESSAGES":"Wi\u0119cej wiadomo\u015bci","TRANSCRIPT_NEW_MESSAGES":"Nowe wiadomo\u015bci","TRANSCRIPT_TERMINATOR_TEXT":"Koniec transkrypcji","TYPING_INDICATOR_ALT":"Wy\u015bwietlanie wska\u017anika wpisywania"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] O conte\xfado deste arquivo est\xe1 bloqueado. Contribui\xe7\xf5es s\xe3o bem-vindas, mas pode haver atrasos na valida\xe7\xe3o das altera\xe7\xf5es.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"O bot $1 disse:","ACTIVITY_YOU_SAID_ALT":"Voc\xea disse:","ACTIVITY_BOT_ATTACHED_ALT":"Bot anexado:","ACTIVITY_ERROR_BOX_TITLE":"Mensagem de erro","ACTIVITY_INTERACTIVE_LABEL_ALT":"Pressione ENTER para interagir.","ACTIVITY_YOU_ATTACHED_ALT":"Voc\xea anexou:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 anexo.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 anexos.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Falha no envio. [Repetir][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Enviando","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviado \xe0s $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status do envio: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Agora","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"H\xe1 uma hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"H\xe1 um minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoje","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ontem","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erro de an\xe1lise do Cart\xe3o Adapt\xe1vel","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erro de renderiza\xe7\xe3o do Cart\xe3o Adapt\xe1vel","ATTACHMENT_AUDIO":"Um clipe de \xe1udio.","ATTACHMENT_CARD":"Um cart\xe3o: $1 $2 $3","ATTACHMENT_FILE":"Um arquivo: $1","ATTACHMENT_IMAGE":"Uma imagem","ATTACHMENT_TEXT":"Um texto: $1","ATTACHMENT_VIDEO":"Um videoclipe","CAROUSEL_FLIPPER_LEFT_ALT":"Esquerdo","CAROUSEL_FLIPPER_RIGHT_ALT":"Direito","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectado","CONNECTIVITY_STATUS_ALT_CONNECTING":"Conectando\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"N\xe3o \xe9 poss\xedvel conectar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ocorreu uma interrup\xe7\xe3o da rede. Reconectando\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erro de renderiza\xe7\xe3o. Verifique o console ou contate o desenvolvedor de bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"A conex\xe3o est\xe1 demorando mais do que o habitual.","CONNECTIVITY_STATUS_ALT":"Status da Conectividade: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Baixar o arquivo \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Baixar o arquivo \'$1\' de tamanho $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' de tamanho $2","MARKDOWN_EXTERNAL_LINK_ALT":"Abre em uma nova janela externa.","RECEIPT_CARD_TAX":"Imposto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"Escutando\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfone desligado","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfone ligado","SPEECH_INPUT_STARTING":"Iniciando\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Tem conte\xfado","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Tem conte\xfado. Pressione $1 para selecionar.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 vazio","SUGGESTED_ACTIONS_ALT":"Cont\xeainer de A\xe7\xf5es Sugeridas: $1","TEXT_INPUT_ALT":"Caixa de entrada de mensagens","TEXT_INPUT_PLACEHOLDER":"Digite sua mensagem","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Falar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carregar arquivo","TOAST_ACCORDION_FEW":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_MANY":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_OTHER":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_TWO":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ALT_ERROR":"Erro","TOAST_ALT_INFO":"Informa\xe7\xe3o","TOAST_ALT_SUCCESS":"Sucesso","TOAST_ALT_WARN":"Aviso","TOAST_DISMISS_BUTTON":"Ignorar","TOAST_TITLE_ALT":"Notifica\xe7\xe3o","TRANSCRIPT_ARIA_LABEL_ALT":"Transcri\xe7\xe3o, use as teclas de seta para navegar.","TRANSCRIPT_ARIA_ROLE_ALT":"transcri\xe7\xe3o","TRANSCRIPT_MORE_MESSAGES":"Mais mensagens","TRANSCRIPT_NEW_MESSAGES":"Novas mensagens","TRANSCRIPT_TERMINATOR_TEXT":"Fim da transcri\xe7\xe3o","TYPING_INDICATOR_ALT":"Mostrando o indicador de digita\xe7\xe3o"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] O conte\xfado deste ficheiro est\xe1 bloqueado. S\xe3o aceites contribui\xe7\xf5es, mas a valida\xe7\xe3o das altera\xe7\xf5es pode registar atrasos.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Op\xe7\xe3o + $1","ACTIVITY_BOT_SAID_ALT":"O bot $1 disse:","ACTIVITY_YOU_SAID_ALT":"Disse
2:","ACTIVITY_BOT_ATTACHED_ALT":"Bot anexado:","ACTIVITY_ERROR_BOX_TITLE":"Mensagem de erro","ACTIVITY_INTERACTIVE_LABEL_ALT":"Prima ENTER para interagir.","ACTIVITY_YOU_ATTACHED_ALT":"Anexou:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 anexo.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 anexos.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 anexos.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Falha ao enviar. [Repetir][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"A enviar","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviado \xe0s $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estado do Envio: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Agora mesmo","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"H\xe1 uma hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"H\xe1 um minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoje","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ontem","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erro de an\xe1lise de Cart\xe3o Adapt\xe1vel","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erro de composi\xe7\xe3o de Cart\xe3o Adapt\xe1vel","ATTACHMENT_AUDIO":"Um clip de \xe1udio.","ATTACHMENT_CARD":"Um cart\xe3o: $1 $2 $3","ATTACHMENT_FILE":"Um ficheiro: $1","ATTACHMENT_IMAGE":"Uma imagem","ATTACHMENT_TEXT":"Um texto: $1","ATTACHMENT_VIDEO":"Um clip de v\xeddeo","CAROUSEL_FLIPPER_LEFT_ALT":"Esquerda","CAROUSEL_FLIPPER_RIGHT_ALT":"Direita","CONNECTIVITY_STATUS_ALT_CONNECTED":"Ligado","CONNECTIVITY_STATUS_ALT_CONNECTING":"A ligar\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"N\xe3o \xe9 poss\xedvel ligar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ocorreu uma interrup\xe7\xe3o de rede. A restabelecer liga\xe7\xe3o\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erro de composi\xe7\xe3o. Verifique a consola ou contacte o programador do bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"O estabelecimento da liga\xe7\xe3o est\xe1 a demorar mais tempo do que o esperado.","CONNECTIVITY_STATUS_ALT":"Estado de Conectividade: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Transferir o ficheiro \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Transferir o ficheiro \\"$1\\" com um tamanho de $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" com um tamanho de $2","MARKDOWN_EXTERNAL_LINK_ALT":"Abre numa nova janela externa.","RECEIPT_CARD_TAX":"Imposto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"A escutar\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfone desativado","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfone ativado","SPEECH_INPUT_STARTING":"A iniciar\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Tem conte\xfado","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Tem conte\xfado. Prima $1 para selecionar.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 vazio","SUGGESTED_ACTIONS_ALT":"Contentor de A\xe7\xf5es Sugeridas: $1","TEXT_INPUT_ALT":"Caixa de entrada de mensagens","TEXT_INPUT_PLACEHOLDER":"Escreva a sua mensagem","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Falar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carregar ficheiro","TOAST_ACCORDION_FEW":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_MANY":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_OTHER":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_TWO":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ALT_ERROR":"Erro","TOAST_ALT_INFO":"Informa\xe7\xf5es","TOAST_ALT_SUCCESS":"\xcaxito","TOAST_ALT_WARN":"Aviso","TOAST_DISMISS_BUTTON":"Dispensar","TOAST_TITLE_ALT":"Notifica\xe7\xe3o","TRANSCRIPT_ARIA_LABEL_ALT":"Transcri\xe7\xe3o, prima as teclas de seta para navegar.","TRANSCRIPT_ARIA_ROLE_ALT":"transcri\xe7\xe3o","TRANSCRIPT_MORE_MESSAGES":"Mais mensagens","TRANSCRIPT_NEW_MESSAGES":"Novas mensagens","TRANSCRIPT_TERMINATOR_TEXT":"Fim da transcri\xe7\xe3o","TYPING_INDICATOR_ALT":"A mostrar o indicador de escrita"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Con\u021binutul acestui fi\u0219ier este blocat. Contribu\u021biile sunt binevenite, dar validarea schimb\u0103rii poate fi \xeent\xe2rziat\u0103.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Robotul $1 a spus:","ACTIVITY_YOU_SAID_ALT":"A\u021bi spus:","ACTIVITY_BOT_ATTACHED_ALT":"Robot ata\u0219at:","ACTIVITY_ERROR_BOX_TITLE":"Mesaj de eroare","ACTIVITY_INTERACTIVE_LABEL_ALT":"Ap\u0103sa\u021bi ENTER pentru a interac\u021biona.","ACTIVITY_YOU_ATTACHED_ALT":"A\u021bi ata\u0219at:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 ata\u0219are.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 ata\u0219\u0103ri.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 ata\u0219\u0103ri.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 de ata\u0219\u0103ri.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 ata\u0219\u0103ri.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Trimiterea nu a reu\u0219it. [Re\xeencerca\u021bi][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Se trimite","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Trimis la $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stare de trimitere: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Chiar acum","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Acum o or\u
20103","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Acum un minut","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Azi","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ieri","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Eroare de analiz\u0103 a cardului adaptiv","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Eroare de redare a cardului adaptiv","ATTACHMENT_AUDIO":"Un clip audio.","ATTACHMENT_CARD":"Un card: $1 $2 $3","ATTACHMENT_FILE":"Un fi\u0219ier: $1","ATTACHMENT_IMAGE":"O imagine","ATTACHMENT_TEXT":"Un text: $1","ATTACHMENT_VIDEO":"Un videoclip","CAROUSEL_FLIPPER_LEFT_ALT":"St\xe2nga","CAROUSEL_FLIPPER_RIGHT_ALT":"Dreapta","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectat","CONNECTIVITY_STATUS_ALT_CONNECTING":"Se conecteaz\u0103\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Imposibil de conectat.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"A avut loc o \xeentrerupere \xeen re\u021bea. Se reconecteaz\u0103\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Eroare de randare. Verifica\u021bi consola sau contacta\u021bi dezvoltatorul robotului.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Conectarea dureaz\u0103 mai mult dec\xe2t de obicei.","CONNECTIVITY_STATUS_ALT":"Stare de conectivitate: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Desc\u0103rca\u021bi fi\u0219ierul \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Desc\u0103rca\u021bi fi\u0219ierul \u201e$1\u201d de dimensiune $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d de dimensiune $2","MARKDOWN_EXTERNAL_LINK_ALT":"Se deschide \xeentr-o fereastr\u0103 nou\u0103; extern.","RECEIPT_CARD_TAX":"Impozit","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"TVA","SPEECH_INPUT_LISTENING":"Se ascult\u0103\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfon dezactivat","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfon activat","SPEECH_INPUT_STARTING":"\xcencepe\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Are con\u021binut","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Are con\u021binut. Ap\u0103sa\u021bi $1 pentru a selecta.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Este necompletat","SUGGESTED_ACTIONS_ALT":"Container pentru ac\u021biuni sugerate: $1","TEXT_INPUT_ALT":"Caseta de introducere a mesajelor","TEXT_INPUT_PLACEHOLDER":"Tasta\u021bi mesajul","TEXT_INPUT_SEND_BUTTON_ALT":"Trimitere","TEXT_INPUT_SPEAK_BUTTON_ALT":"Vorbire","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\xcenc\u0103rcare fi\u0219ier","TOAST_ACCORDION_FEW":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ACCORDION_MANY":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ACCORDION_OTHER":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ACCORDION_TWO":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ALT_ERROR":"Eroare","TOAST_ALT_INFO":"Informa\u021bii","TOAST_ALT_SUCCESS":"Succes","TOAST_ALT_WARN":"Avertisment","TOAST_DISMISS_BUTTON":"\xcendep\u0103rtare","TOAST_TITLE_ALT":"Notificare","TRANSCRIPT_ARIA_LABEL_ALT":"Transcriere, ap\u0103sa\u021bi tastele s\u0103ge\u021bi pentru a naviga.","TRANSCRIPT_ARIA_ROLE_ALT":"transcriere","TRANSCRIPT_MORE_MESSAGES":"Mai multe mesaje","TRANSCRIPT_NEW_MESSAGES":"Mesaje noi","TRANSCRIPT_TERMINATOR_TEXT":"Sf\xe2r\u0219itul transcrierii","TYPING_INDICATOR_ALT":"Se afi\u0219eaz\u0103 indicatorul de tastare"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043e. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043d\u043e \u0438\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043d\u0430.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u0411\u043e\u0442 $1 \u0441\u043a\u0430\u0437\u0430\u043b:","ACTIVITY_YOU_SAID_ALT":"\u0412\u044b \u0441\u043a\u0430\u0437\u0430\u043b\u0438:","ACTIVITY_BOT_ATTACHED_ALT":"\u041f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043e \u0431\u043e\u0442\u043e\u043c:","ACTIVITY_ERROR_BOX_TITLE":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0443 \u0412\u0412\u041e\u0414, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.","ACTIVITY_YOU_ATTACHED_ALT":"\u041f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043e \u0432\u0430\u043c\u0438:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0435.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u044f.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u044f.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0421\u0431\u043e\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438. [\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u
2041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0427\u0430\u0441 \u043d\u0430\u0437\u0430\u0434","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u041c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0421\u0435\u0433\u043e\u0434\u043d\u044f","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0412\u0447\u0435\u0440\u0430","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438","ATTACHMENT_AUDIO":"\u
20410\u0443\u0434\u0438\u043e\u043a\u043b\u0438\u043f.","ATTACHMENT_CARD":"\u041a\u0430\u0440\u0442\u043e\u0447\u043a\u0430: $1 $2 $3","ATTACHMENT_FILE":"\u0424\u0430\u0439\u043b: $1","ATTACHMENT_IMAGE":"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","ATTACHMENT_TEXT":"\u0422\u0435\u043a\u0441\u0442: $1","ATTACHMENT_VIDEO":"\u0412\u0438\u0434\u0435\u043e\u043a\u043b\u0438\u043f","CAROUSEL_FLIPPER_LEFT_ALT":"\u0412\u043b\u0435\u0432\u043e","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0412\u043f\u0440\u0430\u0432\u043e","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0441\u0435\u0442\u044c\u044e. \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u044f\u0437\u0438\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u043e.","CONNECTIVITY_STATUS_ALT":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \'$1\' \u0440\u0430\u0437\u043c\u0435\u0440\u0430 $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u0440\u0430\u0437\u043c\u0435\u0440\u0430 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435; \u0432\u043d\u0435\u0448\u043d\u044f\u044f.","RECEIPT_CARD_TAX":"\u041d\u0430\u043b\u043e\u0433","RECEIPT_CARD_TOTAL":"\u0418\u0442\u043e\u0433\u043e","RECEIPT_CARD_VAT":"\u041d\u0414\u0421","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0448\u0430\u044e\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u044b\u043a\u043b.","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u043a\u043b.","SPEECH_INPUT_STARTING":"\u041d\u0430\u0447\u0430\u043b\u043e\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0415\u0441\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442. \u0414\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u041f\u0443\u0441\u0442\u043e","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439: $1","TEXT_INPUT_ALT":"\u041f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TEXT_INPUT_PLACEHOLDER":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","TEXT_INPUT_SEND_BUTTON_ALT":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0413\u043e\u0432\u043e\u0440\u0438\u0442\u044c","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b","TOAST_ACCORDION_FEW":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ACCORDION_MANY":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ACCORDION_OTHER":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ACCORDION_TWO":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ALT_ERROR":"\u041e\u0448\u0438\u0431\u043a\u0430","TOAST_ALT_INFO":"\u
20421\u0432\u0435\u0434\u0435\u043d\u0438\u044f","TOAST_ALT_SUCCESS":"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e","TOAST_ALT_WARN":"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435","TOAST_DISMISS_BUTTON":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","TOAST_TITLE_ALT":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435","TRANSCRIPT_ARIA_LABEL_ALT":"\u0420\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438 \u0441\u043e \u0441\u0442\u0440\u0435\u043b\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f.","TRANSCRIPT_ARIA_ROLE_ALT":"\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430","TRANSCRIPT_MORE_MESSAGES":"\u0414\u0440\u0443\u0433\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TRANSCRIPT_TERMINATOR_TEXT":"\u041a\u043e\u043d\u0435\u0446 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438","TYPING_INDICATOR_ALT":"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0432\u0432\u043e\u0434\u0430"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Obsah tohto s\xfaboru je zamknut\xfd. Pr\xedspevky s\xfa v\xedtan\xe9, ale overenie zmien sa m\xf4\u017ee oneskori\u0165.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Robot $1 povedal:","ACTIVITY_YOU_SAID_ALT":"Povedali ste:","ACTIVITY_BOT_ATTACHED_ALT":"Robot prilo\u017eil:","ACTIVITY_ERROR_BOX_TITLE":"Chybov\xe9 hl\xe1senie","ACTIVITY_INTERACTIVE_LABEL_ALT":"Na \xfa\u010dely interakcie stla\u010dte kl\xe1ves ENTER.","ACTIVITY_YOU_ATTACHED_ALT":"Prilo\u017eili ste:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1\xa0pr\xedloha.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 pr\xedlohy.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 pr\xedlohy.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 pr\xedloh.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 pr\xedlohy.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Odoslanie zlyhalo. [Sk\xfasi\u0165 znova][RETRY]","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Odosiela sa","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Odoslan\xe9 o\xa0$1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stav odoslania: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Pr\xe1ve teraz","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pred hodinou","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pred min\xfatou","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Dnes","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"V\u010dera","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Chyba anal\xfdzy adapt\xedvnej karty","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Chyba vykreslenia adapt\xedvnej karty","ATTACHMENT_AUDIO":"Zvukov\xfd klip.","ATTACHMENT_CARD":"Karta: $1 $2 $3","ATTACHMENT_FILE":"S\xfabor: $1","ATTACHMENT_IMAGE":"Obr\xe1zok","ATTACHMENT_TEXT":"Text: $1","ATTACHMENT_VIDEO":"Videoklip","CAROUSEL_FLIPPER_LEFT_ALT":"V\u013eavo","CAROUSEL_FLIPPER_RIGHT_ALT":"Vpravo","CONNECTIVITY_STATUS_ALT_CONNECTED":"Pripojen\xe9","CONNECTIVITY_STATUS_ALT_CONNECTING":"Prip\xe1ja sa...","CONNECTIVITY_STATUS_ALT_FATAL":"Pripojenie sa nepodarilo.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Vyskytlo sa preru\u0161enie siete. Prebieha op\xe4tovn\xe9 prip\xe1janie...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Chyba vykreslenia. Skontrolujte konzolu alebo sa obr\xe1\u0165te na v\xfdvoj\xe1ra bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Pripojenie trv\xe1 dlh\u0161ie ako zvy\u010dajne.","CONNECTIVITY_STATUS_ALT":"Stav pripojenia: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Stiahnu\u0165 s\xfabor $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Stiahnu\u0165 s\xfabor $1 s\xa0ve\u013ekos\u0165ou $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 s\xa0ve\u013ekos\u0165ou $2","MARKDOWN_EXTERNAL_LINK_ALT":"Otvor\xed sa v\xa0novom okne, extern\xe9.","RECEIPT_CARD_TAX":"Da\u0148","RECEIPT_CARD_TOTAL":"Celkov\xfd po\u010det","RECEIPT_CARD_VAT":"DPH","SPEECH_INPUT_LISTENING":"Po\u010d\xfavanie...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Vypn\xfa\u0165 mikrof\xf3n","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Zapn\xfa\u0165 mikrof\xf3n","SPEECH_INPUT_STARTING":"Sp\xfa\u0161\u0165a sa...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"M\xe1 obsah","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"M\xe1 obsah. V\xfdber vykonajte stla\u010den\xedm tla\u010didla $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je pr\xe1zdne","SUGGESTED_ACTIONS_ALT":"Kontajner navrhovan\xfdch akci\xed: $1","TEXT_INPUT_ALT":"Vstupn\xe9 pole pre spr\xe1vu","TEXT_INPUT_PLACEHOLDER":"Zadajte svoju spr\xe1vu","TEXT_INPUT_SEND_BUTTON_ALT":"Odosla\u0165","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u010c\xedta\u0165","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nahra\u0165 s\xfabor","TOAST_ACCORDION_FEW":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ACCORDION_MANY":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ACCORDION_OTHER":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ACCORDION_TWO":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ALT_ERROR":"Chyba","TOAST_ALT_INFO":"Inform\xe1cie","TOAST_ALT_SUCCESS":"\xdaspe\u0161n\xe9","TOAST_ALT_WARN":"Upozornenie","TOAST_DISMISS_BUTTON":"Zru\u0161i\u0165","TOAST_TITLE_ALT":"Ozn\xe1menie","TRANSCRIPT_ARIA_LABEL_ALT":"Prepis \u2013 na navig\xe1ciu stla\u010dte kl\xe1vesy so \u0161\xedpkami.","TRANSCRIPT_ARIA_ROLE_ALT":"prepis","TRANSCRIPT_MORE_MESSAGES":"\u010eal\u0161ie spr\xe1vy","TRANSCRIPT_NEW_MESSAGES":"Nov\xe9 spr\xe1vy","TRANSCRIPT_TERMINATOR_TEXT":"Koniec prepisu","TYPING_INDICATOR_ALT":"Zobrazuje sa indik\xe1tor p\xedsania"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Vsebina te datoteke je zaklenjena. Prispevki so dobrodo\u0161li, vendar je preverjanje sprememb lahko zakasnje
2no.","ACCESS_KEY_ALT":"Alt\xa0+\xa0Shift\xa0+\xa0$1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl\xa0+\xa0Option\xa0+\xa0$1","ACTIVITY_BOT_SAID_ALT":"Bot $1 je rekel:","ACTIVITY_YOU_SAID_ALT":"Rekli ste:","ACTIVITY_BOT_ATTACHED_ALT":"Bot je prilo\u017eil:","ACTIVITY_ERROR_BOX_TITLE":"Sporo\u010dilo o napaki","ACTIVITY_INTERACTIVE_LABEL_ALT":"Pritisnite ENTER za interakcijo.","ACTIVITY_YOU_ATTACHED_ALT":"Prilo\u017eili ste:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 priloga.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 priloge.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 prilog.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 prilog.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 prilogi.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Po\u0161iljanje ni uspelo. [Vnovi\u010dni poskus][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Po\u0161iljanje","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Poslano: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stanje po\u0161iljanja: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Zdaj","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pred uro","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pred minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"danes","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"v\u010deraj","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Napaka pri raz\u010dlenjevanju prilagodljive kartice","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Napaka pri upodabljanju prilagodljive kartice","ATTACHMENT_AUDIO":"Zvo\u010dni posnetek.","ATTACHMENT_CARD":"Kartica: $1 $2 $3","ATTACHMENT_FILE":"Datoteka: $1","ATTACHMENT_IMAGE":"Slika","ATTACHMENT_TEXT":"Besedilo: $1","ATTACHMENT_VIDEO":"Videoposnetek","CAROUSEL_FLIPPER_LEFT_ALT":"Levo","CAROUSEL_FLIPPER_RIGHT_ALT":"Desno","CONNECTIVITY_STATUS_ALT_CONNECTED":"Povezava je vzpostavljena.","CONNECTIVITY_STATUS_ALT_CONNECTING":"Povezovanje \u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Povezave ni mogo\u010de vzpostaviti.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Pri\u0161lo je do omre\u017ene prekinitve. Vnovi\u010dno povezovanje \u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Napaka pri upodabljanju. Preverite konzolo ali se obrnite na razvijalca bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Povezovanje traja dlje kot obi\u010dajno.","CONNECTIVITY_STATUS_ALT":"Stanje povezave: $1","FILE_CONTENT_ALT":"\xbb$1\xab","FILE_CONTENT_DOWNLOADABLE_ALT":"Prenesi datoteko \xbb$1\xab","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Prenos datoteke \xbb$1\xab velikosti $2","FILE_CONTENT_WITH_SIZE_ALT":"\xbb$1\xab velikosti $2","MARKDOWN_EXTERNAL_LINK_ALT":"Odpre se v novem oknu; zunanje.","RECEIPT_CARD_TAX":"Davek","RECEIPT_CARD_TOTAL":"Skupaj","RECEIPT_CARD_VAT":"DDV","SPEECH_INPUT_LISTENING":"Poslu\u0161anje \u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon je izklopljen","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon je vklopljen","SPEECH_INPUT_STARTING":"Za\u010detek \u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ima vsebino","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Ima vsebino. Za izbiro pritisnite $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je prazno","SUGGESTED_ACTIONS_ALT":"Vsebnik predlaganih dejanj: $1","TEXT_INPUT_ALT":"Polje za vnos sporo\u010dila","TEXT_INPUT_PLACEHOLDER":"Vnesite sporo\u010dilo","TEXT_INPUT_SEND_BUTTON_ALT":"Po\u0161lji","TEXT_INPUT_SPEAK_BUTTON_ALT":"Govor","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nalo\u017ei datoteko","TOAST_ACCORDION_FEW":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ACCORDION_MANY":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ACCORDION_OTHER":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ACCORDION_TWO":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ALT_ERROR":"Napaka","TOAST_ALT_INFO":"Informacije","TOAST_ALT_SUCCESS":"Uspelo je","TOAST_ALT_WARN":"Opozorilo","TOAST_DISMISS_BUTTON":"Opusti","TOAST_TITLE_ALT":"Obvestilo","TRANSCRIPT_ARIA_LABEL_ALT":"Prepis \u2013 za pomikanje pritisnite pu\u0161\u010di\u010dne tipke.","TRANSCRIPT_ARIA_ROLE_ALT":"prepis","TRANSCRIPT_MORE_MESSAGES":"Ve\u010d sporo\u010dil","TRANSCRIPT_NEW_MESSAGES":"Nova sporo\u010dila","TRANSCRIPT_TERMINATOR_TEXT":"Konec prepisa","TYPING_INDICATOR_ALT":"Prikaz indikatorja tipkanja"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0421\u0430\u0434\u0440\u0436\u0430\u0458 \u
2043e\u0432\u0435 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0435 \u0458\u0435 \u0437\u0430\u043a\u0459\u0443\u0447\u0430\u043d. \u0414\u043e\u043f\u0440\u0438\u043d\u043e\u0441\u0438 \u0441\u0443 \u0434\u043e\u0431\u0440\u043e\u0434\u043e\u0448\u043b\u0438, \u0430\u043b\u0438 \u043f\u043e\u0442\u0432\u0440\u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0435 \u043c\u043e\u0436\u0435 \u0431\u0438\u0442\u0438 \u043e\u0434\u043b\u043e\u0436\u0435\u043d\u0430.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + \u041e\u043f\u0446\u0438\u0458\u0430 + $1","ACTIVITY_BOT_SAID_ALT":"\u0420\u043e\u0431\u043e\u0442 $1 \u0458\u0435 \u0440\u0435\u043a\u0430\u043e:","ACTIVITY_YOU_SAID_ALT":"\u0412\u0438 \u0441\u0442\u0435 \u0440\u0435\u043a\u043b\u0438:","ACTIVITY_BOT_ATTACHED_ALT":"\u0420\u043e\u0431\u043e\u0442 \u0458\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u043e:","ACTIVITY_ERROR_BOX_TITLE":"\u041f\u043e\u0440\u0443\u043a\u0430 \u043e \u0433\u0440\u0435\u0448\u0446\u0438","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u041f\u0440\u0438\u0442\u0438\u0441\u043d\u0438\u0442\u0435 \u0442\u0430\u0441\u0442\u0435\u0440 ENTER \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u043e\u0441\u0442\u0432\u0430\u0440\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0446\u0438\u0458\u0443.","ACTIVITY_YOU_ATTACHED_ALT":"\u041f\u0440\u0438\u043b\u043e\u0436\u0438\u043b\u0438 \u0441\u0442\u0435:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u043f\u0440\u0438\u043b\u043e\u0433.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u043f\u0440\u0438\u043b\u043e\u0433\u0430.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u043f\u0440\u0438\u043b\u043e\u0433\u0430.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u043f\u0440\u0438\u043b\u043e\u0433\u0430.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u043f\u0440\u0438\u043b\u043e\u0433\u0430.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0421\u043b\u0430\u045a\u0435 \u043d\u0438\u0458\u0435 \u0443\u0441\u043f\u0435\u043b\u043e. [\u041f\u043e\u043d\u043e\u0432\u043e \u043f\u043e\u043a\u0443\u0448\u0430\u0458] [RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0421\u043b\u0430\u045a\u0435","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u041f\u043e\u0441\u043b\u0430\u0442\u043e \u0443 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u0442\u0430\u0442\u0443\u0441 \u0441\u043b\u0430\u045a\u0430: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u041c\u0430\u043b\u043e\u043f\u0440\u0435","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u041f\u0440\u0435 \u0441\u0430\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0430","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u041f\u0440\u0435 \u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0414\u0430\u043d\u0430\u0441","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0408\u0443\u0447\u0435","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0413\u0440\u0435\u0448\u043a\u0430 \u0443 \u0440\u0430\u0448\u0447\u043b\u0430\u045a\u0438\u0432\u0430\u045a\u0443 \u043f\u0440\u0438\u043b\u0430\u0433\u043e\u0434\u0459\u0438\u0432\u0435 \u043a\u0430\u0440\u0442\u0438\u0446\u0435","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0413\u0440\u0435\u0448\u043a\u0430 \u0443 \u043f\u0440\u0438\u043a\u0430\u0437\u0438\u0432\u0430\u045a\u0443 \u043f\u0440\u0438\u043b\u0430\u0433\u043e\u0434\u0459\u0438\u0432\u0435 \u043a\u0430\u0440\u0442\u0438\u0446\u0435","ATTACHMENT_AUDIO":"\u
20410\u0443\u0434\u0438\u043e \u043a\u043b\u0438\u043f.","ATTACHMENT_CARD":"\u041a\u0430\u0440\u0442\u0438\u0446\u0430: $1 $2 $3","ATTACHMENT_FILE":"\u0414\u0430\u0442\u043e\u0442\u0435\u043a\u0430: $1","ATTACHMENT_IMAGE":"\u0421\u043b\u0438\u043a\u0430","ATTACHMENT_TEXT":"\u0422\u0435\u043a\u0441\u0442: $1","ATTACHMENT_VIDEO":"\u0412\u0438\u0434\u0435\u043e \u043a\u043b\u0438\u043f","CAROUSEL_FLIPPER_LEFT_ALT":"\u041b\u0435\u0432\u043e","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0414\u0435\u0441\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u041f\u043e\u0432\u0435\u0437\u0430\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u041f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u041f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435 \u043d\u0438\u0458\u0435 \u043c\u043e\u0433\u0443\u045b\u0435.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0414\u043e\u0448\u043b\u043e \u0458\u0435 \u0434\u043e \u043f\u0440\u0435\u043a\u0438\u0434\u0430 \u043c\u0440\u0435\u0436\u0435. \u041f\u043e\u043d\u043e\u0432\u043d\u043e \u043f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430 \u0443 \u043f\u0440\u0438\u043a\u0430\u0437\u0438\u0432\u0430\u045a\u0443. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u0435 \u043a\u043e\u043d\u0437\u043e\u043b\u0443 \u0438\u043b\u0438 \u0441\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0435\u0440\u0443 \u0440\u043e\u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u041f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435 \u0442\u0440\u0430\u0458\u0435 \u0434\u0443\u0436\u0435 \u043d\u0435\u0433\u043e \u0438\u043d\u0430\u0447\u0435.","CONNECTIVITY_STATUS_ALT":"\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0430: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"\u041f\u0440\u0435\u0443\u0437\u0438\u043c\u0430\u045a\u0435 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0435 \u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u041f\u0440\u0435\u0443\u0437\u043c\u0438\u0442\u0435 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0443 \u201e$1\u201c \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0435 $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201c \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0435 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u041e\u0442\u0432\u0430\u0440\u0430 \u0441\u0435 \u0443 \u043d\u043e\u0432\u043e\u043c \u043f\u0440\u043e\u0437\u043e\u0440\u0443; \u0441\u043f\u043e\u0459\u043d\u043e.","RECEIPT_CARD_TAX":"\u041f\u043e\u0440\u0435\u0437","RECEIPT_CARD_TOTAL":"\u0423\u043a\u0443\u043f\u043d\u043e","RECEIPT_CARD_VAT":"\u041f\u0414\u0412","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0448\u0430\u043c\u043e...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0458\u0435 \u0438\u0441\u043a\u0459\u0443\u0447\u0435\u043d","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0458\u0435 \u0443\u043a\u0459\u0443\u0447\u0435\u043d","SPEECH_INPUT_STARTING":"\u041f\u043e\u0447\u0438\u045a\u0435\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0418\u043c\u0430 \u0441\u0430\u0434\u0440\u0436\u0430\u0458","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0418\u043c\u0430 \u0441\u0430\u0434\u0440\u0436\u0430\u0458. \u041f\u0440\u0438\u0442\u0438\u0441\u043d\u0438\u0442\u0435 $1 \u0437\u0430 \u0438\u0437\u0431\u043e\u0440.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0408\u0435 \u043f\u0440\u0430\u0437\u043d\u043e","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0458\u043d\u0435\u0440 \u0437\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0435 \u0440\u0430\u0434\u045a\u0435: $1","TEXT_INPUT_ALT":"\u041f\u043e\u0459\u0435 \u0437\u0430 \u0443\u043d\u043e\u0441 \u043f\u043e\u0440\u0443\u043a\u0435","TEXT_INPUT_PLACEHOLDER":"\u041e\u0442\u043a\u0443\u0446\u0430\u0458\u0442\u0435 \u043f\u043e\u0440\u0443\u043a\u0443","TEXT_INPUT_SEND_BUTTON_ALT":"\u041f\u043e\u0448\u0430\u0459\u0438","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0418\u0437\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0435","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041e\u0442\u043f\u0440\u0435\u043c\u0438 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0443","TOAST_ACCORDION_FEW":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ACCORDION_MANY":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ACCORDION_OTHER":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ACCORDION_TWO":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ALT_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430","TOAST_ALT_INFO":"\u
20418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0458\u0435","TOAST_ALT_SUCCESS":"\u0423\u0441\u043f\u0435\u0448\u043d\u043e","TOAST_ALT_WARN":"\u0423\u043f\u043e\u0437\u043e\u0440\u0435\u045a\u0435","TOAST_DISMISS_BUTTON":"\u041e\u0434\u0431\u0430\u0446\u0438","TOAST_TITLE_ALT":"\u041e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0435","TRANSCRIPT_ARIA_LABEL_ALT":"\u041f\u0440\u0435\u043f\u0438\u0441\u043a\u0430, \u043a\u043e\u0440\u0438\u0441\u0442\u0438\u0442\u0435 \u0442\u0430\u0441\u0442\u0435\u0440\u0435 \u0441\u0430 \u0441\u0442\u0440\u0435\u043b\u0438\u0446\u043e\u043c \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0441\u0435 \u043a\u0440\u0435\u0442\u0430\u043b\u0438.","TRANSCRIPT_ARIA_ROLE_ALT":"\u043f\u0440\u0435\u043f\u0438\u0441\u043a\u0430","TRANSCRIPT_MORE_MESSAGES":"\u0408\u043e\u0448 \u043f\u043e\u0440\u0443\u043a\u0430","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u0435 \u043f\u043e\u0440\u0443\u043a\u0435","TRANSCRIPT_TERMINATOR_TEXT":"\u041a\u0440\u0430\u0458 \u043f\u0440\u0435\u043f\u0438\u0441\u043a\u0435","TYPING_INDICATOR_ALT":"\u041f\u0440\u0438\u043a\u0430\u0437\u0443\u0458\u0435 \u0441\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0443\u0446\u0430\u045a\u0430"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Sadr\u017eaj ove datoteke je zaklju\u010dan. Doprinosi su dobrodo\u0161li, ali potvrda promene mo\u017ee biti odlo\u017eena.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Opcija + $1","ACTIVITY_BOT_SAID_ALT":"Robot $1 je rekao:","ACTIVITY_YOU_SAID_ALT":"Vi ste rekli:","ACTIVITY_BOT_ATTACHED_ALT":"Robot je prilo\u017eio:","ACTIVITY_ERROR_BOX_TITLE":"Poruka o gre\u0161ci","ACTIVITY_INTERACTIVE_LABEL_ALT":"Pritisnite taster ENTER da biste ostvarili interakciju.","ACTIVITY_YOU_ATTACHED_ALT":"Prilo\u017eili ste:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 prilog.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 priloga.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 priloga.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 priloga.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 priloga.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Slanje nije uspelo. [Ponovo poku\u0161aj] [RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Slanje","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Poslato u $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status slanja: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Malopre","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pre sat vremena","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pre jednog minuta","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Danas","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ju\u010de","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Gre\u0161ka u ra\u0161\u010dlanjivanju prilagodljive kartice","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Gre\u0161ka u prikazivanju prilagodljive kartice","ATTACHMENT_AUDIO":"Audio klip.","ATTACHMENT_CARD":"Kartica: $1 $2 $3","ATTACHMENT_FILE":"Datoteka: $1","ATTACHMENT_IMAGE":"Slika","ATTACHMENT_TEXT":"Tekst: $1","ATTACHMENT_VIDEO":"Video klip","CAROUSEL_FLIPPER_LEFT_ALT":"Levo","CAROUSEL_FLIPPER_RIGHT_ALT":"Desno","CONNECTIVITY_STATUS_ALT_CONNECTED":"Povezano","CONNECTIVITY_STATUS_ALT_CONNECTING":"Povezivanje\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Povezivanje nije mogu\u0107e.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Do\u0161lo je do prekida mre\u017ee. Ponovno povezivanje\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Gre\u0161ka u prikazivanju. Proverite konzolu ili se obratite programeru robota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Povezivanje traje du\u017ee nego ina\u010de.","CONNECTIVITY_STATUS_ALT":"Status povezivanja: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"Preuzimanje datoteke \u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Preuzmite datoteku \u201e$1\u201c veli\u010dine $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201c veli\u010dine $2","MARKDOWN_EXTERNAL_LINK_ALT":"Otvara se u novom prozoru; spoljno.","RECEIPT_CARD_TAX":"Porez","RECEIPT_CARD_TOTAL":"Ukupno","RECEIPT_CARD_VAT":"PDV","SPEECH_INPUT_LISTENING":"Slu\u0161amo\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon je isklju\u010den","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon je uklju\u010den","SPEECH_INPUT_STARTING":"Po\u010dinje\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ima sadr\u017eaj","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Ima sadr\u017eaj. Pritisnite $1 za izbor.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je prazno","SUGGESTED_ACTIONS_ALT":"Kontejner za predlo\u01
27eene radnje: $1","TEXT_INPUT_ALT":"Polje za unos poruke","TEXT_INPUT_PLACEHOLDER":"Otkucajte poruku","TEXT_INPUT_SEND_BUTTON_ALT":"Po\u0161alji","TEXT_INPUT_SPEAK_BUTTON_ALT":"Izgovorite","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Otpremi datoteku","TOAST_ACCORDION_FEW":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ACCORDION_MANY":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ACCORDION_OTHER":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ACCORDION_TWO":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ALT_ERROR":"Gre\u0161ka","TOAST_ALT_INFO":"Informacije","TOAST_ALT_SUCCESS":"Uspe\u0161no","TOAST_ALT_WARN":"Upozorenje","TOAST_DISMISS_BUTTON":"Odbaci","TOAST_TITLE_ALT":"Obave\u0161tenje","TRANSCRIPT_ARIA_LABEL_ALT":"Prepiska, koristite tastere sa strelicom da biste se kretali.","TRANSCRIPT_ARIA_ROLE_ALT":"prepiska","TRANSCRIPT_MORE_MESSAGES":"Jo\u0161 poruka","TRANSCRIPT_NEW_MESSAGES":"Nove poruke","TRANSCRIPT_TERMINATOR_TEXT":"Kraj prepiske","TYPING_INDICATOR_ALT":"Prikazuje se indikator kucanja"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Inneh\xe5llet i den h\xe4r filen \xe4r l\xe5st. Bidrag v\xe4lkomnas men verifieringen av \xe4ndrar kan f\xf6rdr\xf6jas.","ACCESS_KEY_ALT":"Alt + Skift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Alt + $1","ACTIVITY_BOT_SAID_ALT":"Roboten $1 sade:","ACTIVITY_YOU_SAID_ALT":"Du sade:","ACTIVITY_BOT_ATTACHED_ALT":"Robot bifogad:","ACTIVITY_ERROR_BOX_TITLE":"Felmeddelande","ACTIVITY_INTERACTIVE_LABEL_ALT":"Tryck p\xe5 Retur f\xf6r att interagera.","ACTIVITY_YOU_ATTACHED_ALT":"Du bifogade:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"En bilaga.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1-bilagor.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1-bilagor.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1-bilagor.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1-bilagor.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Det gick inte att skicka. [F\xf6rs\xf6k igen med][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Skickar","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Skickades klockan $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"S\xe4ndningsstatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Just nu","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"En timme sedan","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"En minut sedan","ACTIVITY_STATUS_TIMESTAMP_TODAY":"I dag","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"I g\xe5r","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Fel vid parsning av adaptivt kort","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Fel vid \xe5tergivning av adaptivt kort","ATTACHMENT_AUDIO":"Ett ljudklipp.","ATTACHMENT_CARD":"Ett kort: $1 $2 $3","ATTACHMENT_FILE":"En fil: $1","ATTACHMENT_IMAGE":"En bild","ATTACHMENT_TEXT":"En text: $1","ATTACHMENT_VIDEO":"Ett videoklipp","CAROUSEL_FLIPPER_LEFT_ALT":"V\xe4nster","CAROUSEL_FLIPPER_RIGHT_ALT":"H\xf6ger","CONNECTIVITY_STATUS_ALT_CONNECTED":"Ansluten","CONNECTIVITY_STATUS_ALT_CONNECTING":"Ansluter ...","CONNECTIVITY_STATUS_ALT_FATAL":"Det gick inte att ansluta.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ett n\xe4tverksavbrott intr\xe4ffade. Ansluter igen ...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\xc5terge fel. Kontrollera konsolen eller kontakta robotutvecklaren.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Det tar l\xe4ngre tid \xe4n vanligt att ansluta.","CONNECTIVITY_STATUS_ALT":"Anslutningsstatus: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"H\xe4mta filen $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Ladda ned filen $1 med storleken $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 med storleken $2","MARKDOWN_EXTERNAL_LINK_ALT":"\xd6ppnas i ett nytt f\xf6nster; externt.","RECEIPT_CARD_TAX":"Skatt","RECEIPT_CARD_TOTAL":"Summa","RECEIPT_CARD_VAT":"Moms","SPEECH_INPUT_LISTENING":"Lyssnar ...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon av","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon p\xe5","SPEECH_INPUT_STARTING":"Startar ...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Har inneh\xe5ll","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"Har inneh\xe5ll. V\xe4lj genom att trycka p\xe5 $1.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\xc4r tom","SUGGESTED_ACTIONS_ALT":"Beh\xe5llare f\xf6r f\xf6rslag p\xe5 \xe5tg\xe4rd: $1","TEXT_INPUT_ALT":"Inmatningsruta f\xf6r meddelande","TEXT_INPUT_PLACEHOLDER":"Skriv ditt meddelande","TEXT_INPUT_SEND_BUTTON_ALT":"Skicka","TEXT_INPUT_SPEAK_BUTTON_ALT":"L\xe4s upp","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Lad
2da upp fil","TOAST_ACCORDION_FEW":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ACCORDION_MANY":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ACCORDION_OTHER":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ACCORDION_TWO":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ALT_ERROR":"Fel","TOAST_ALT_INFO":"Information","TOAST_ALT_SUCCESS":"Lyckades","TOAST_ALT_WARN":"Varning","TOAST_DISMISS_BUTTON":"St\xe4ng","TOAST_TITLE_ALT":"Avisering","TRANSCRIPT_ARIA_LABEL_ALT":"Avskrift, tryck p\xe5 piltangenterna f\xf6r att navigera.","TRANSCRIPT_ARIA_ROLE_ALT":"avskrift","TRANSCRIPT_MORE_MESSAGES":"Fler meddelanden","TRANSCRIPT_NEW_MESSAGES":"Nya meddelanden","TRANSCRIPT_TERMINATOR_TEXT":"Slut p\xe5 avskriften","TYPING_INDICATOR_ALT":"Visar skrivindikatorn"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e02\u0e2d\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e16\u0e39\u0e01\u0e25\u0e47\u0e2d\u0e01 \u0e22\u0e34\u0e19\u0e14\u0e35\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19 \u0e41\u0e15\u0e48\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e04\u0e27\u0e32\u0e21\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07\u0e2d\u0e32\u0e08\u0e25\u0e48\u0e32\u0e0a\u0e49\u0e32","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + \u0e15\u0e31\u0e27\u0e40\u0e25\u0e37\u0e2d\u0e01 + $1","ACTIVITY_BOT_SAID_ALT":"\u0e1a\u0e2d\u0e17 $1 \u0e01\u0e25\u0e48\u0e32\u0e27\u0e27\u0e48\u0e32:","ACTIVITY_YOU_SAID_ALT":"\u0e04\u0e38\u0e13\u0e1e\u0e39\u0e14\u0e27\u0e48\u0e32:","ACTIVITY_BOT_ATTACHED_ALT":"\u0e1a\u0e2d\u0e17\u0e41\u0e19\u0e1a:","ACTIVITY_ERROR_BOX_TITLE":"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u0e01\u0e14 ENTER \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e42\u0e15\u0e49\u0e15\u0e2d\u0e1a","ACTIVITY_YOU_ATTACHED_ALT":"\u0e04\u0e38\u0e13\u0e41\u0e19\u0e1a:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e41\u0e19\u0e1a 1 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e41\u0e19\u0e1a $1 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e41\u0e19\u0e1a $1 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e41\u0e19\u0e1a $1 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e41\u0e19\u0e1a $1 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0e2a\u0e48\u0e07\u0e44\u0e21\u0e48\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08 [\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48][RETRY]","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e2a\u0e48\u0e07","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0e2a\u0e48\u0e07\u0e40\u0e21\u0e37\u0e48\u0e2d $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0e19\u0e32\u0e17\u0e35\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e41\u0e22\u0e01\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c Adaptive Card","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25 Adaptive Card","ATTACHMENT_AUDIO":"\u
20e04\u0e25\u0e34\u0e1b\u0e40\u0e2a\u0e35\u0e22\u0e07","ATTACHMENT_CARD":"\u0e01\u0e32\u0e23\u0e4c\u0e14: $1 $2 $3","ATTACHMENT_FILE":"\u0e44\u0e1f\u0e25\u0e4c: $1","ATTACHMENT_IMAGE":"\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e","ATTACHMENT_TEXT":"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21: $1","ATTACHMENT_VIDEO":"\u0e04\u0e25\u0e34\u0e1b\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d","CAROUSEL_FLIPPER_LEFT_ALT":"\u0e0b\u0e49\u0e32\u0e22","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0e02\u0e27\u0e32","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e41\u0e25\u0e49\u0e27","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d...","CONNECTIVITY_STATUS_ALT_FATAL":"\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e14\u0e49","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22\u0e02\u0e31\u0e14\u0e02\u0e49\u0e2d\u0e07 \u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e43\u0e2b\u0e21\u0e48...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14 \u0e42\u0e1b\u0e23\u0e14\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e04\u0e2d\u0e19\u0e42\u0e0b\u0e25\u0e2b\u0e23\u0e37\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d\u0e19\u0e31\u0e01\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e1a\u0e2d\u0e17","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0e43\u0e0a\u0e49\u0e40\u0e27\u0e25\u0e32\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e19\u0e32\u0e19\u0e01\u0e27\u0e48\u0e32\u0e1b\u0e01\u0e15\u0e34","CONNECTIVITY_STATUS_ALT":"\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c \'$1\' \u0e02\u0e19\u0e32\u0e14 $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u0e02\u0e19\u0e32\u0e14 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07\u0e43\u0e2b\u0e21\u0e48; \u0e20\u0e32\u0e22\u0e19\u0e2d\u0e01","RECEIPT_CARD_TAX":"\u0e20\u0e32\u0e29\u0e35","RECEIPT_CARD_TOTAL":"\u0e22\u0e2d\u0e14\u0e23\u0e27\u0e21","RECEIPT_CARD_VAT":"\u0e20\u0e32\u0e29\u0e35\u0e21\u0e39\u0e25\u0e04\u0e48\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e21","SPEECH_INPUT_LISTENING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e1f\u0e31\u0e07...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0e1b\u0e34\u0e14\u0e44\u0e21\u0e42\u0e04\u0e23\u0e42\u0e1f\u0e19","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e21\u0e42\u0e04\u0e23\u0e42\u0e1f\u0e19","SPEECH_INPUT_STARTING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e23\u0e34\u0e48\u0e21...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0e21\u0e35\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0e21\u0e35\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32 \u0e01\u0e14 $1 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e25\u0e37\u0e2d\u0e01","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0e27\u0e48\u0e32\u0e07\u0e40\u0e1b\u0e25\u0e48\u0e32","SUGGESTED_ACTIONS_ALT":"\u0e04\u0e2d\u0e19\u0e40\u0e17\u0e19\u0e40\u0e19\u0e2d\u0e23\u0e4c\u0e01\u0e32\u0e23\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e41\u0e19\u0e30\u0e19\u0e33: $1","TEXT_INPUT_ALT":"\u0e01\u0e25\u0e48\u0e2d\u0e07\u0e1b\u0e49\u0e2d\u0e19\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21","TEXT_INPUT_PLACEHOLDER":"\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13","TEXT_INPUT_SEND_BUTTON_ALT":"\u0e2a\u0e48\u0e07","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0e1e\u0e39\u0e14","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0e2d\u0e31\u0e1b\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c","TOAST_ACCORDION_FEW":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ACCORDION_MANY":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ACCORDION_OTHER":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ACCORDION_TWO":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ALT_ERROR":"\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14","TOAST_ALT_INFO":"\u
20e02\u0e49\u0e2d\u0e21\u0e39\u0e25","TOAST_ALT_SUCCESS":"\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08","TOAST_ALT_WARN":"\u0e04\u0e33\u0e40\u0e15\u0e37\u0e2d\u0e19","TOAST_DISMISS_BUTTON":"\u0e1b\u0e34\u0e14\u0e01\u0e32\u0e23\u0e40\u0e15\u0e37\u0e2d\u0e19","TOAST_TITLE_ALT":"\u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19","TRANSCRIPT_ARIA_LABEL_ALT":"\u0e01\u0e32\u0e23\u0e16\u0e2d\u0e14\u0e04\u0e27\u0e32\u0e21 \u0e43\u0e0a\u0e49\u0e41\u0e1b\u0e49\u0e19\u0e25\u0e39\u0e01\u0e28\u0e23\u0e02\u0e36\u0e49\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e25\u0e07\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19","TRANSCRIPT_ARIA_ROLE_ALT":"\u0e2a\u0e33\u0e40\u0e19\u0e32\u0e1a\u0e17\u0e2a\u0e19\u0e17\u0e19\u0e32","TRANSCRIPT_MORE_MESSAGES":"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21","TRANSCRIPT_NEW_MESSAGES":"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e43\u0e2b\u0e21\u0e48","TRANSCRIPT_TERMINATOR_TEXT":"\u0e2a\u0e34\u0e49\u0e19\u0e2a\u0e38\u0e14\u0e01\u0e32\u0e23\u0e16\u0e2d\u0e14\u0e04\u0e27\u0e32\u0e21","TYPING_INDICATOR_ALT":"\u0e41\u0e2a\u0e14\u0e07\u0e15\u0e31\u0e27\u0e41\u0e2a\u0e14\u0e07\u0e01\u0e32\u0e23\u0e1e\u0e34\u0e21\u0e1e\u0e4c"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] Bu dosyan\u0131n i\xe7eri\u011fi kilitli. Kat\u0131l\u0131mc\u0131lar dosyay\u0131 kullanabilir ancak de\u011fi\u015fikli\u011fin do\u011frulanmas\u0131 gecikebilir.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"$1 botu \u015f\xf6yle diyor:","ACTIVITY_YOU_SAID_ALT":"\u015e\xf6yle dediniz:","ACTIVITY_BOT_ATTACHED_ALT":"Bot eklendi:","ACTIVITY_ERROR_BOX_TITLE":"Hata iletisi","ACTIVITY_INTERACTIVE_LABEL_ALT":"Etkile\u015fimde bulunmak i\xe7in ENTER tu\u015funa bas\u0131n.","ACTIVITY_YOU_ATTACHED_ALT":"\u015eunu eklediniz:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 ek.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 ek.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 ek.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 ekler.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 ek.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"G\xf6nderme ba\u015far\u0131s\u0131z. [Yeniden Dene][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"G\xf6nderiliyor","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"$1 itibar\u0131yla g\xf6nderildi","ACTIVITY_STATUS_SEND_STATUS_ALT":"G\xf6nderme Durumu: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Hemen \u015fimdi","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Bir saat \xf6nce","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Bir dakika \xf6nce","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Bug\xfcn","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"D\xfcn","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Uyarlamal\u0131 Kart ayr\u0131\u015ft\u0131rma hatas\u0131","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Uyarlamal\u0131 Kart i\u015fleme hatas\u0131","ATTACHMENT_AUDIO":"Ses klibi.","ATTACHMENT_CARD":"Kart: $1 $2 $3","ATTACHMENT_FILE":"Dosya: $1","ATTACHMENT_IMAGE":"G\xf6r\xfcnt\xfc","ATTACHMENT_TEXT":"Metin: $1","ATTACHMENT_VIDEO":"Video klibi","CAROUSEL_FLIPPER_LEFT_ALT":"Sol","CAROUSEL_FLIPPER_RIGHT_ALT":"Sa\u011f","CONNECTIVITY_STATUS_ALT_CONNECTED":"Ba\u011fl\u0131","CONNECTIVITY_STATUS_ALT_CONNECTING":"Ba\u011flant\u0131 kuruluyor...","CONNECTIVITY_STATUS_ALT_FATAL":"Ba\u011flant\u0131 kurulamad\u0131.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"A\u011f kesintisi olu\u015ftu. Yeniden ba\u011flan\u0131yor...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0130\u015fleme hatas\u0131. L\xfctfen konsolu denetleyin veya bot geli\u015ftiricisine ba\u015fvurun.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Ba\u011flant\u0131 kurmak normalden uzun s\xfcr\xfcyor.","CONNECTIVITY_STATUS_ALT":"Ba\u011flant\u0131 Durumu: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"\\"$1\\" dosyas\u0131n\u0131 indir","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 boyutlu \\"$1\\" dosyas\u0131n\u0131 indir","FILE_CONTENT_WITH_SIZE_ALT":"$2 boyutlu \\"$1\\" dosyas\u0131","MARKDOWN_EXTERNAL_LINK_ALT":"Yeni bir pencerede a\xe7\u0131l\u0131r; harici.","RECEIPT_CARD_TAX":"Vergi","RECEIPT_CARD_TOTAL":"Toplam","RECEIPT_CARD_VAT":"KDV","SPEECH_INPUT_LISTENING":"Dinliyor\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon kapal\u0131","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon a\xe7\u0131k","SPEECH_INPUT_STARTING":"Ba\u015flat\u0131l\u0131yor...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0130\xe7erik var","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u0130\xe7erik var. Se\xe7mek i\xe7in $1 tu\u015funa bas\u0131n.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Bo\u015f","SUGGESTED_ACTIONS_ALT":"\xd6nerilen Eylemler Kapsay\u0131c\u0131s\u0131: $1","TEXT_INPUT_ALT":"\u0130leti gelen kutusu","TEXT_INPUT_PLACEHOLDER":"\u0130letinizi yaz\u0131n","TEXT_INPUT_SEND_BUTTON_ALT":"G\xf6nder","TEXT_INPUT_SPEAK_BUTTON_ALT":"Konu\u015f","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Dosya y\xfckle","TOAST_ACCORDION_FEW":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rme
2k i\xe7in buraya t\u0131klay\u0131n","TOAST_ACCORDION_MANY":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ACCORDION_OTHER":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ACCORDION_TWO":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ALT_ERROR":"Hata","TOAST_ALT_INFO":"Bilgiler","TOAST_ALT_SUCCESS":"Ba\u015far\u0131l\u0131","TOAST_ALT_WARN":"Uyar\u0131","TOAST_DISMISS_BUTTON":"Kapat","TOAST_TITLE_ALT":"Bildirim","TRANSCRIPT_ARIA_LABEL_ALT":"D\xf6k\xfcm, gezinmek i\xe7in yukar\u0131 ve a\u015fa\u011f\u0131 ok tu\u015flar\u0131n\u0131 kullan\u0131n.","TRANSCRIPT_ARIA_ROLE_ALT":"d\xf6k\xfcm","TRANSCRIPT_MORE_MESSAGES":"Di\u011fer iletiler","TRANSCRIPT_NEW_MESSAGES":"Yeni iletiler","TRANSCRIPT_TERMINATOR_TEXT":"D\xf6k\xfcm\xfcn sonu","TYPING_INDICATOR_ALT":"Yazma g\xf6stergesi g\xf6steriliyor"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u0412\u043c\u0456\u0441\u0442 \u0446\u044c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 \u0437\u0430\u0431\u043b\u043e\u043a\u043e\u0432\u0430\u043d\u043e. \u0412\u043d\u0435\u0441\u043a\u0438 \u0432\u0456\u0442\u0430\u044e\u0442\u044c\u0441\u044f, \u0430\u043b\u0435 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u0437\u043c\u0456\u043d \u043c\u043e\u0436\u0435 \u0437\u0430\u0439\u043d\u044f\u0442\u0438 \u043f\u0435\u0432\u043d\u0438\u0439 \u0447\u0430\u0441.","ACCESS_KEY_ALT":"Alt+Shift+$1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl+Option+$1","ACTIVITY_BOT_SAID_ALT":"\u0411\u043e\u0442 $1 \u043a\u0430\u0436\u0435:","ACTIVITY_YOU_SAID_ALT":"\u0412\u0438 \u043a\u0430\u0436\u0435\u0442\u0435:","ACTIVITY_BOT_ATTACHED_ALT":"\u0411\u043e\u0442 \u0432\u043a\u043b\u0430\u0434\u0430\u0454:","ACTIVITY_ERROR_BOX_TITLE":"\u041f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043a\u043b\u0430\u0432\u0456\u0448\u0443 Enter, \u0449\u043e\u0431 \u0432\u0437\u0430\u0454\u043c\u043e\u0434\u0456\u044f\u0442\u0438.","ACTIVITY_YOU_ATTACHED_ALT":"\u0412\u0438 \u0432\u043a\u043b\u0430\u0434\u0430\u0454\u0442\u0435:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u043d\u044f.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u043d\u044f.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u043d\u044f.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u043d\u044f.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u043d\u044f.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438. [\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e \u043e $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u0442\u0430\u043d \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0429\u043e\u0439\u043d\u043e","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0413\u043e\u0434\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0425\u0432\u0438\u043b\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0423\u0447\u043e\u0440\u0430","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0430\u043d\u0430\u043b\u0456\u0437\u0443 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0457 \u043a\u0430\u0440\u0442\u043a\u0438","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0457 \u043a\u0430\u0440\u0442\u043a\u0438","ATTACHMENT_AUDIO":"\u
20410\u0443\u0434\u0456\u043e\u043a\u043b\u0456\u043f.","ATTACHMENT_CARD":"\u041a\u0430\u0440\u0442\u043a\u0430: $1 $2 $3","ATTACHMENT_FILE":"\u0424\u0430\u0439\u043b: $1","ATTACHMENT_IMAGE":"\u0417\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","ATTACHMENT_TEXT":"\u0422\u0435\u043a\u0441\u0442: $1","ATTACHMENT_VIDEO":"\u0412\u0456\u0434\u0435\u043e\u043a\u043b\u0456\u043f","CAROUSEL_FLIPPER_LEFT_ALT":"\u041b\u0456\u0432\u043e\u0440\u0443\u0447","CAROUSEL_FLIPPER_RIGHT_ALT":"\u041f\u0440\u0430\u0432\u043e\u0440\u0443\u0447","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043e \u043c\u0435\u0440\u0435\u0436\u0456 \u043f\u0435\u0440\u0435\u0440\u0432\u0430\u043d\u043e. \u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f. \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0430\u0431\u043e \u0437\u0432\u0435\u0440\u043d\u0456\u0442\u044c\u0441\u044f \u0434\u043e \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0430 \u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0432\u0430\u0454 \u0431\u0456\u043b\u044c\u0448\u0435 \u0447\u0430\u0441\u0443, \u043d\u0456\u0436 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439.","CONNECTIVITY_STATUS_ALT":"\u0421\u0442\u0430\u043d \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b \\"$1\\" \u0437\u0430\u0432\u0431\u0456\u043b\u044c\u0448\u043a\u0438 $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" \u0437\u0430\u0432\u0431\u0456\u043b\u044c\u0448\u043a\u0438 $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u0412\u0456\u0434\u043a\u0440\u0438\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0432 \u043d\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456; \u0437\u043e\u0432\u043d\u0456\u0448\u043d\u0454.","RECEIPT_CARD_TAX":"\u041f\u043e\u0434\u0430\u0442\u043e\u043a","RECEIPT_CARD_TOTAL":"\u0423\u0441\u044c\u043e\u0433\u043e","RECEIPT_CARD_VAT":"\u041f\u0414\u0412","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0445\u0430\u043d\u043d\u044f\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0456\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u0438\u043c\u043a\u043d\u0443\u0442\u043e","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0456\u043a\u0440\u043e\u0444\u043e\u043d \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u043e","SPEECH_INPUT_STARTING":"\u041f\u043e\u0447\u0430\u0442\u043e\u043a\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u041c\u0430\u0454 \u0432\u043c\u0456\u0441\u0442","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u041c\u0430\u0454 \u0432\u043c\u0456\u0441\u0442. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043a\u043b\u0430\u0432\u0456\u0448\u0443 $1, \u0449\u043e\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u041f\u0443\u0441\u0442\u0438\u0439","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u0438\u0445 \u0434\u0456\u0439: $1","TEXT_INPUT_ALT":"\u0412\u0456\u043a\u043d\u043e \u0432\u0432\u043e\u0434\u0443 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u044c","TEXT_INPUT_PLACEHOLDER":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","TEXT_INPUT_SEND_BUTTON_ALT":"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0413\u043e\u0432\u043e\u0440\u0438\u0442\u0438","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0444\u0430\u0439\u043b","TOAST_ACCORDION_FEW":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ACCORDION_MANY":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ACCORDION_OTHER":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ACCORDION_TWO":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ALT_ERROR":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430","TOAST_ALT_INFO":"\u
20412\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ALT_SUCCESS":"\u0412\u0438\u043a\u043e\u043d\u0430\u043d\u043e","TOAST_ALT_WARN":"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f!","TOAST_DISMISS_BUTTON":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","TOAST_TITLE_ALT":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f","TRANSCRIPT_ARIA_LABEL_ALT":"\u0421\u0442\u0435\u043d\u043e\u0433\u0440\u0430\u043c\u0430 (\u043d\u0430\u0442\u0438\u0441\u043a\u0430\u0439\u0442\u0435 \u043a\u043b\u0430\u0432\u0456\u0448\u0456 \u0437\u0456 \u0441\u0442\u0440\u0456\u043b\u043a\u0430\u043c\u0438, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u0438 \u043c\u0456\u0436 \u0440\u044f\u0434\u043a\u0430\u043c\u0438).","TRANSCRIPT_ARIA_ROLE_ALT":"\u0441\u0442\u0435\u043d\u043e\u0433\u0440\u0430\u043c\u0430","TRANSCRIPT_MORE_MESSAGES":"\u0406\u043d\u0448\u0456 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u0456 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","TRANSCRIPT_TERMINATOR_TEXT":"\u041a\u0456\u043d\u0435\u0446\u044c \u0441\u0442\u0435\u043d\u043e\u0433\u0440\u0430\u043c\u0438","TYPING_INDICATOR_ALT":"\u041f\u043e\u043a\u0430\u0437\u0443\u0454 \u0456\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043d\u0430\u0431\u043e\u0440\u0443"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] N\u1ed9i dung c\u1ee7a t\u1ec7p n\xe0y \u0111\xe3 b\u1ecb kh\xf3a. Hoan ngh\xeanh \xfd ki\u1ebfn \u0111\xf3ng g\xf3p, nh\u01b0ng vi\u1ec7c x\xe1c nh\u1eadn thay \u0111\u1ed5i c\xf3 th\u1ec3 b\u1ecb tr\xec ho\xe3n.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"Bot $1 \u0111\xe3 n\xf3i:","ACTIVITY_YOU_SAID_ALT":"B\u1ea1n \u0111\xe3 n\xf3i:","ACTIVITY_BOT_ATTACHED_ALT":"Bot \u0111\xe3 \u0111\xednh k\xe8m:","ACTIVITY_ERROR_BOX_TITLE":"Th\xf4ng b\xe1o l\u1ed7i","ACTIVITY_INTERACTIVE_LABEL_ALT":"Nh\u1ea5n ENTER \u0111\u1ec3 t\u01b0\u01a1ng t\xe1c.","ACTIVITY_YOU_ATTACHED_ALT":"B\u1ea1n \u0111\xe3 \u0111\xednh k\xe8m:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 t\u1ec7p \u0111\xednh k\xe8m.","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 t\u1ec7p \u0111\xednh k\xe8m.","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 t\u1ec7p \u0111\xednh k\xe8m.","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 t\u1ec7p \u0111\xednh k\xe8m.","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 t\u1ec7p \u0111\xednh k\xe8m.","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0110\xe3 kh\xf4ng g\u1eedi \u0111\u01b0\u1ee3c. [Th\u1eed l\u1ea1i][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0110ang g\u1eedi","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0110\xe3 g\u1eedi v\xe0o l\xfac $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Tr\u1ea1ng th\xe1i g\u1eedi: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"V\u1eeba xong","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"M\u1ed9t gi\u1edd tr\u01b0\u1edbc","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"M\u1ed9t ph\xfat tr\u01b0\u1edbc","ACTIVITY_STATUS_TIMESTAMP_TODAY":"H\xf4m nay","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"H\xf4m qua","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"L\u1ed7i ph\xe2n t\xedch Th\u1ebb th\xedch nghi","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"L\u1ed7i k\u1ebft xu\u1ea5t Th\u1ebb th\xedch nghi","ATTACHMENT_AUDIO":"\u
20110o\u1ea1n \xe2m thanh.","ATTACHMENT_CARD":"Th\u1ebb: $1 $2 $3","ATTACHMENT_FILE":"T\u1ec7p: $1","ATTACHMENT_IMAGE":"H\xecnh \u1ea3nh","ATTACHMENT_TEXT":"V\u0103n b\u1ea3n: $1","ATTACHMENT_VIDEO":"\u0110o\u1ea1n video","CAROUSEL_FLIPPER_LEFT_ALT":"Tr\xe1i","CAROUSEL_FLIPPER_RIGHT_ALT":"Ph\u1ea3i","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0110\xe3 k\u1ebft n\u1ed1i","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0110ang k\u1ebft n\u1ed1i...","CONNECTIVITY_STATUS_ALT_FATAL":"Kh\xf4ng th\u1ec3 k\u1ebft n\u1ed1i.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0110\xe3 b\u1ecb gi\xe1n \u0111o\u1ea1n m\u1ea1ng. \u0110ang k\u1ebft n\u1ed1i l\u1ea1i...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"L\u1ed7i k\u1ebft xu\u1ea5t. Vui l\xf2ng ki\u1ec3m tra b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n ho\u1eb7c li\xean h\u1ec7 v\u1edbi nh\xe0 ph\xe1t tri\u1ec3n bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Vi\u1ec7c k\u1ebft n\u1ed1i \u0111ang m\u1ea5t nhi\u1ec1u th\u1eddi gian h\u01a1n b\xecnh th\u01b0\u1eddng.","CONNECTIVITY_STATUS_ALT":"Tr\u1ea1ng th\xe1i K\u1ebft n\u1ed1i: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"T\u1ea3i t\u1ec7p \'$1\' xu\u1ed1ng","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"T\u1ea3i t\u1ec7p \'$1\' k\xedch th\u01b0\u1edbc $2 xu\u1ed1ng","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' k\xedch th\u01b0\u1edbc $2","MARKDOWN_EXTERNAL_LINK_ALT":"M\u1edf trong c\u1eeda s\u1ed5 m\u1edbi; b\xean ngo\xe0i.","RECEIPT_CARD_TAX":"Thu\u1ebf","RECEIPT_CARD_TOTAL":"T\u1ed5ng s\u1ed1","RECEIPT_CARD_VAT":"Thu\u1ebf GTGT","SPEECH_INPUT_LISTENING":"\u0110ang nghe\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"T\u1eaft micr\xf4","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"B\u1eadt micr\xf4","SPEECH_INPUT_STARTING":"\u0110ang b\u1eaft \u0111\u1ea7u...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"C\xf3 n\u1ed9i dung","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"C\xf3 n\u1ed9i dung. Nh\u1ea5n $1 \u0111\u1ec3 ch\u1ecdn.","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0110ang tr\u1ed1ng","SUGGESTED_ACTIONS_ALT":"V\xf9ng ch\u1ee9a h\xe0nh \u0111\u1ed9ng \u0111\u01b0\u1ee3c \u0111\u1ec1 xu\u1ea5t: $1","TEXT_INPUT_ALT":"H\u1ed9p nh\u1eadp tin nh\u1eafn","TEXT_INPUT_PLACEHOLDER":"Nh\u1eadp tin nh\u1eafn c\u1ee7a b\u1ea1n","TEXT_INPUT_SEND_BUTTON_ALT":"G\u1eedi","TEXT_INPUT_SPEAK_BUTTON_ALT":"N\xf3i","TEXT_INPUT_UPLOAD_BUTTON_ALT":"T\u1ea3i l\xean t\u1ec7p","TOAST_ACCORDION_FEW":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ACCORDION_MANY":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ACCORDION_OTHER":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ACCORDION_TWO":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ALT_ERROR":"L\u1ed7i","TOAST_ALT_INFO":"Th\xf4ng tin","TOAST_ALT_SUCCESS":"Th\xe0nh c\xf4ng","TOAST_ALT_WARN":"C\u1ea3nh b\xe1o","TOAST_DISMISS_BUTTON":"B\u1ecf qua","TOAST_TITLE_ALT":"Th\xf4ng b\xe1o","TRANSCRIPT_ARIA_LABEL_ALT":"B\u1ea3n ch\xe9p l\u1eddi, nh\u1ea5n c\xe1c ph\xedm m\u0169i t\xean \u0111\u1ec3 \u0111i\u1ec1u h\u01b0\u1edbng.","TRANSCRIPT_ARIA_ROLE_ALT":"b\u1ea3n ch\xe9p l\u1ea1i","TRANSCRIPT_MORE_MESSAGES":"C\xe1c tin nh\u1eafn kh\xe1c","TRANSCRIPT_NEW_MESSAGES":"Tin nh\u1eafn m\u1edbi","TRANSCRIPT_TERMINATOR_TEXT":"K\u1ebft th\xfac b\u1ea3n ch\xe9p l\u1eddi","TYPING_INDICATOR_ALT":"Hi\u1ec3n th\u1ecb ch\u1ec9 b\xe1o \u0111ang nh\u1eadp"}')},function(e){e.exports=JSON.parse('{"_.comment":"The content of this file is contributed by the community.","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_MAC_ALT":"Ctrl + Alt + $1","ACTIVITY_BOT_ATTACHED_ALT":"Bot \u5605\u9644\u4ef6\uff1a","ACTIVITY_BOT_SAID_ALT":"Bot $1 \u8a71\uff1a","ACTIVITY_ERROR_BOX_TITLE":"\u932f\u5605\u4fe1\u606f","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u895f ENTER \u569f\u9032\u884c\u4e92\u52d5\u3002","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u4ef6\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u4ef6\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"\u4e00\u4ef6\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u4ef6\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"\u5169\u4ef6\u9644\u4ef6\u3002","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u50b3\u9
2001\u5514\u5012\u3002[\u518d\u569f\u4e00\u6b21][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u800c\u5bb6\u50b3\u9001\u7dca","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u9001\u51fa\u5605\u6642\u9593\uff1a$1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u50b3\u9001\u60c5\u6cc1\uff1a$1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u5571\u5571","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u4e00\u500b\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u4e00\u5206\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u65e5","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u5c0b\u65e5","ACTIVITY_YOU_ATTACHED_ALT":"\u4f60\u5605\u9644\u4ef6\uff1a","ACTIVITY_YOU_SAID_ALT":"\u4f60\u8a71\uff1a","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adaptive Card \u89e3\u6790\u51fa\u4e8b","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adaptive Card render \u51fa\u4e8b","ATTACHMENT_AUDIO":"\u4e00\u6bb5\u9304\u97f3","ATTACHMENT_CARD":"\u4e00\u5f35\u5361\uff1a$1 $2 $3","ATTACHMENT_FILE":"\u4e00\u500b\u6a94\u6848\uff1a$1","ATTACHMENT_IMAGE":"\u4e00\u5e45\u5716","ATTACHMENT_TEXT":"\u4e00\u6bb5\u6587\u5b57\uff1a$1","ATTACHMENT_VIDEO":"\u4e00\u6bb5\u9304\u50cf","CAROUSEL_FLIPPER_LEFT_ALT":"\u5de6","CAROUSEL_FLIPPER_RIGHT_ALT":"\u53f3","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u63a5\u99c1\u5230","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u63a5\u99c1\u7dca\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u63a5\u99c1\u5514\u5012\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u7db2\u7d61\u66ab\u6642\u65b7\u5497\uff0c\u8a66\u7dca\u518d\u99c1\u8fd4\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Render \u51fa\u4e8b\uff0c\u8acb\u7747\u4e0b console \u6216\u8005\u540c bot \u958b\u767c\u4eba\u54e1\u806f\u7d61\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u63a5\u99c1\u5605\u6642\u9593\u6bd4\u5e73\u6642\u9577\u3002","CONNECTIVITY_STATUS_ALT":"\u63a5\u99c1\u60c5\u6cc1\uff1a$1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f09\u6a94\u6848 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f09\u6a94\u6848 \'$1\' \u6a94\u6848\u5927\u5c0f $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u6a94\u6848\u5927\u5c0f $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u55ba\u65b0\u5605\u8996\u7a97\u958b\u555f\u5916\u90e8\u9023\u7d50\u3002","RECEIPT_CARD_TAX":"\u7a05","RECEIPT_CARD_TOTAL":"\u7e3d\u5171","RECEIPT_CARD_VAT":"\u6d88\u8cbb\u7a05","SPEECH_INPUT_LISTENING":"\u807d\u7dca\u4f60\u8b1b\u5622\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u9582\u54aa","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u958b\u54aa","SPEECH_INPUT_STARTING":"\u958b\u59cb\u7dca\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u6709\u5185\u5bb9","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u6709\u5185\u5bb9\uff0c\u895f $1 \u63c0\u3002","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u7121\u5185\u5bb9","SUGGESTED_ACTIONS_ALT":"\u5efa\u8b70\u3a52\u5605\u63a3\uff1a$1","TEXT_INPUT_ALT":"\u8a0a\u606f\u8f38\u5165\u76d2","TEXT_INPUT_PLACEHOLDER":"\u8f38\u5165\u4f60\u5605\u8a0a\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u50b3\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8b1b\u5622","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u8f09\u6a94\u6848","TOAST_ACCORDION_FEW":"$1 \u9805\u901a\u77e5\uff1a\u895f\u5462\u5ea6\u7747\u8a73\u60c5","TOAST_ACCORDION_MANY":"$1 \u9805\u901a\u77e5\uff1a\u895f\u5462\u5ea6\u7747\u8a73\u60c5","TOAST_ACCORDION_OTHER":"$1 \u9805\u901a\u77e5\uff1a\u895f\u5462\u5ea6\u7747\u8a73\u60c5","TOAST_ACCORDION_TWO":"\u5169\u9805\u901a\u77e5\uff1a\u895f\u5462\u5ea6\u7747\u8a73\u60c5","TOAST_ALT_ERROR":"\u932f\u8aa4\uff1a$1","TOAST_ALT_INFO":"\u8cc7\u8a0a\uff1a$1","TOAST_ALT_SUCCESS":"\u6210\u529f\uff1a$1","TOAST_ALT_WARN":"\u8b66\u544a\uff1a$1","TOAST_DISMISS_BUTTON":"\u9582\u5497\u4f62","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_ARIA_LABEL_ALT":"\u6587\u5b57\u8a18\u9304\uff0c\u895f\u65b9\u5411\u9375\u569f\u700f\u89bd\u3002","TRANSCRIPT_ARIA_ROLE_ALT":"\u6587\u5b57\u8a18\u9304","TRANSCRIPT_MORE_MESSAGES":"\u66f4\u591a\u8a0a\u606f","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u8a0a\u606f","TRANSCRIPT_TERMINATOR_TEXT":"\u6587\u5b57\u8a18\u9304\u7d50\u675f","TYPING_INDICATOR_ALT":"\u5c0d\u65b9\u6253\u7dca\u5b57"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u6b64\u6587\u4ef6\u7684\u5185\u5bb9\u5df2\u9501\u5b9a\u3002\u6b22\u8fce\u53d1\u5e03\u5185\u5bb9\uff0c\u4f46\u66f4\u6539\u9a8c\u8bc1\u53ef\u80fd\u4f1a\u5ef6\u8fdf\u3002","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u673a\u5668\u4eba $1 \u8bf4:","ACTIVITY_YOU_SAID_ALT":"\u60a8\u8bf4:","ACTIVITY_BOT_ATTACHED_ALT":"\u673a\u5668\u4eba\u9644\u52a0\u4e86:","ACTIVITY_ERROR_BOX_TITLE":"\u9519\u8bef\u6d88\u606f","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u6309 Enter \u952e\u4ee5\u8fdb\u884c\u4ea4\u4e92\u3002","ACTIVITY_YOU_ATTACHED_ALT":"\u60a8\u9644\u52a0\u4e86:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u4e2a\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u4e2a\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u4e2a\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u4e2a\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u4e2a\u9644\u4ef6\u3002","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u53d1\u9001\u5931\u8d25\u3002[\u91cd\u8bd5][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u6b63\u5728\u53d1\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u5df2\u4e8e $1 \u53d1\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u53d1\u9001\u72b6\u6001: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u521a\u521a","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u5c0f\u65f6\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u949f\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u5929","ACTIVITY_STATUS_TIMESTAMP_YESTE
2RDAY":"\u6628\u5929","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u81ea\u9002\u5e94\u5361\u5206\u6790\u9519\u8bef","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u81ea\u9002\u5e94\u5361\u5448\u73b0\u9519\u8bef","ATTACHMENT_AUDIO":"\u97f3\u9891\u526a\u8f91\u3002","ATTACHMENT_CARD":"\u5361\u7247: $1 $2 $3","ATTACHMENT_FILE":"\u6587\u4ef6: $1","ATTACHMENT_IMAGE":"\u56fe\u50cf","ATTACHMENT_TEXT":"\u6587\u672c: $1","ATTACHMENT_VIDEO":"\u89c6\u9891\u526a\u8f91","CAROUSEL_FLIPPER_LEFT_ALT":"\u5de6","CAROUSEL_FLIPPER_RIGHT_ALT":"\u53f3","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u5df2\u8fde\u63a5","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u6b63\u5728\u8fde\u63a5...","CONNECTIVITY_STATUS_ALT_FATAL":"\u65e0\u6cd5\u8fde\u63a5\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u53d1\u751f\u7f51\u7edc\u4e2d\u65ad\u3002\u6b63\u5728\u91cd\u65b0\u8fde\u63a5...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u5448\u73b0\u9519\u8bef\u3002\u8bf7\u68c0\u67e5\u63a7\u5236\u53f0\u6216\u8054\u7cfb\u673a\u5668\u4eba\u5f00\u53d1\u8005\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u8fde\u63a5\u6240\u82b1\u8d39\u7684\u65f6\u95f4\u957f\u4e8e\u5e73\u65f6\u3002","CONNECTIVITY_STATUS_ALT":"\u8fde\u63a5\u72b6\u6001: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f7d\u6587\u4ef6 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f7d\u6587\u4ef6 \'$1\'\uff0c\u5927\u5c0f\u4e3a $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u7684\u5927\u5c0f\u4e3a $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u5728\u65b0\u7a97\u53e3\u4e2d\u6253\u5f00\uff1b\u5916\u90e8\u3002","RECEIPT_CARD_TAX":"\u7a0e\u6b3e","RECEIPT_CARD_TOTAL":"\u603b\u989d","RECEIPT_CARD_VAT":"\u589e\u503c\u7a0e","SPEECH_INPUT_LISTENING":"\u6b63\u5728\u503e\u542c...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u9ea6\u514b\u98ce\u5173\u95ed","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u9ea6\u514b\u98ce\u6253\u5f00","SPEECH_INPUT_STARTING":"\u6b63\u5728\u542f\u52a8...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u6709\u5185\u5bb9","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u5177\u6709\u5185\u5bb9\u3002\u6309 $1 \u4ee5\u9009\u62e9\u3002","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u4e3a\u7a7a","SUGGESTED_ACTIONS_ALT":"\u5efa\u8bae\u7684\u64cd\u4f5c\u5bb9\u5668: $1","TEXT_INPUT_ALT":"\u6d88\u606f\u8f93\u5165\u6846","TEXT_INPUT_PLACEHOLDER":"\u952e\u5165\u6d88\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u53d1\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u54a8\u8be2","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u4f20\u6587\u4ef6","TOAST_ACCORDION_FEW":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ACCORDION_MANY":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ACCORDION_OTHER":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ACCORDION_TWO":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ALT_ERROR":"\u51fa\u9519","TOAST_ALT_INFO":"\u4fe1\u606f","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u53d6\u6d88","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_ARIA_LABEL_ALT":"\u8bb0\u5f55\uff0c\u6309\u7bad\u5934\u952e\u5bfc\u822a\u3002","TRANSCRIPT_ARIA_ROLE_ALT":"\u811a\u672c","TRANSCRIPT_MORE_MESSAGES":"\u66f4\u591a\u6d88\u606f","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u6d88\u606f","TRANSCRIPT_TERMINATOR_TEXT":"\u8bb0\u5f55\u7ed3\u675f","TYPING_INDICATOR_ALT":"\u663e\u793a\u952e\u5165\u6307\u793a\u5668"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u6b64\u6a94\u6848\u7684\u5167\u5bb9\u5df2\u9396\u5b9a\u3002\u6b61\u8fce\u63d0\u4f9b\u610f\u898b\uff0c\u4f46\u8b8a\u66f4\u9a57\u8b49\u53ef\u80fd\u6703\u6709\u6240\u5ef6\u9072\u3002","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u6a5f\u5668\u4eba $1 \u8aaa:","ACTIVITY_YOU_SAID_ALT":"\u60a8\u8aaa:","ACTIVITY_BOT_ATTACHED_ALT":"\u6a5f\u5668\u4eba\u9644\u52a0\u4e86:","ACTIVITY_ERROR_BOX_TITLE":"\u932f\u8aa4\u8a0a\u606f","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u6309 ENTER \u9375\u9032\u884c\u4e92\u52d5\u3002","ACTIVITY_YOU_ATTACHED_ALT":"\u60a8\u9644\u52a0\u4e86:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u50b3\u9
2001\u5931\u6557\u3002[\u91cd\u8a66][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u6b63\u5728\u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u65bc $1 \u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u50b3\u9001\u72c0\u614b: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u525b\u525b","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u5c0f\u6642\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u5929","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u6628\u5929","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u8abf\u9069\u578b\u5361\u7247\u5256\u6790\u932f\u8aa4","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u8abf\u9069\u578b\u5361\u7247\u8f49\u8b6f\u932f\u8aa4","ATTACHMENT_AUDIO":"\u97f3\u8a0a\u526a\u8f2f\u3002","ATTACHMENT_CARD":"\u5361\u7247: $1 $2 $3","ATTACHMENT_FILE":"\u6a94\u6848: $1","ATTACHMENT_IMAGE":"\u5f71\u50cf","ATTACHMENT_TEXT":"\u6587\u5b57: $1","ATTACHMENT_VIDEO":"\u8996\u8a0a\u526a\u8f2f","CAROUSEL_FLIPPER_LEFT_ALT":"\u5411\u5de6\u7ffb\u8f49","CAROUSEL_FLIPPER_RIGHT_ALT":"\u5411\u53f3\u7ffb\u8f49","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u5df2\u9023\u7dda","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u6b63\u5728\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u7121\u6cd5\u9023\u7dda\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u767c\u751f\u7db2\u8def\u4e2d\u65b7\u3002\u6b63\u5728\u91cd\u65b0\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u8f49\u8b6f\u932f\u8aa4\u3002\u8acb\u6aa2\u67e5\u4e3b\u63a7\u53f0\u6216\u9023\u7d61\u6a5f\u5668\u4eba\u958b\u767c\u4eba\u54e1\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u9023\u7dda\u6240\u9700\u7684\u6642\u9593\u6bd4\u5e73\u6642\u66f4\u9577\u3002","CONNECTIVITY_STATUS_ALT":"\u9023\u7dda\u72c0\u614b: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848\uff0c\u5927\u5c0f\u70ba $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\'\uff0c\u5927\u5c0f\u70ba $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u5728\u65b0\u8996\u7a97\u4e2d\u958b\u555f; \u5916\u90e8\u3002","RECEIPT_CARD_TAX":"\u7a05\u91d1","RECEIPT_CARD_TOTAL":"\u7e3d\u8a08","RECEIPT_CARD_VAT":"\u52a0\u503c\u7a05","SPEECH_INPUT_LISTENING":"\u6b63\u5728\u8046\u807d\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u95dc\u9589\u9ea5\u514b\u98a8","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u958b\u555f\u9ea5\u514b\u98a8","SPEECH_INPUT_STARTING":"\u6b63\u5728\u555f\u52d5\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u5177\u6709\u5167\u5bb9","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u5177\u6709\u5167\u5bb9\u3002\u6309 $1 \u4ee5\u9078\u53d6\u3002","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u662f\u7a7a\u7684","SUGGESTED_ACTIONS_ALT":"\u5efa\u8b70\u7684\u52d5\u4f5c\u5bb9\u5668: $1","TEXT_INPUT_ALT":"\u8a0a\u606f\u8f38\u5165\u65b9\u584a","TEXT_INPUT_PLACEHOLDER":"\u8f38\u5165\u60a8\u7684\u8a0a\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u50b3\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8aaa\u8a71","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u50b3\u6a94\u6848","TOAST_ACCORDION_FEW":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_MANY":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_OTHER":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_TWO":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ALT_ERROR":"\u932f\u8aa4","TOAST_ALT_INFO":"\u8cc7\u8a0a","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u95dc\u9589","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_ARIA_LABEL_ALT":"\u6587\u5b57\u8a18\u9304\uff0c\u6309\u65b9\u5411\u9375\u9032\u884c\u700f\u89bd\u3002","TRANSCRIPT_ARIA_ROLE_ALT":"\u6587\u5b57\u8a18\u9304","TRANSCRIPT_MORE_MESSAGES":"\u66f4\u591a\u8a0a\u606f","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u8a0a\u606f","TRANSCRIPT_TERMINATOR_TEXT":"\u6587\u5b57\u8a18\u9304\u7d50\u675f","TYPING_INDICATOR_ALT":"\u986f\u793a\u8f38\u5165\u6307\u793a\u5668"}')},function(e){e.exports=JSON.parse('{"_comment":"[CI-LOCKED] \u6b64\u6a94\u6848\u7684\u5167\u5bb9\u5df2\u9396\u5b9a\u3002\u6b61\u8fce\u63d0\u4f9b\u610f\u898b\uff0c\u4f46\u8b8a\u66f4\u9a57\u8b49\u53ef\u80fd\u6703\u6709\u6240\u5ef6\u9072\u3002","ACCESS_KEY_ALT":"Alt + Shift + $1","ACCESS_KEY_FOR_MAC_ALT":"Ctrl + Option + $1","ACTIVITY_BOT_SAID_ALT":"\u6a5f\u5668\u4eba $1 \u8aaa:","ACTIVITY_YOU_SAID_ALT":"\u60a8\u8aaa:","ACTIVITY_BOT_ATTACHED_ALT":"\u6a5f\u5668\u4eba\u9644\u52a0\u4e86:","ACTIVITY_ERROR_BOX_TITLE":"\u932f\u8aa4\u8a0a\u606f","ACTIVITY_INTERACTIVE_LABEL_ALT":"\u6309 ENTER \u9375\u9032\u884c\u4e92\u52d5\u3002","ACTIVITY_YOU_ATTACHED_ALT":"\u60a8\u9644\u52a0\u4e86:","ACTIVITY_NUM_ATTACHMENTS_ONE_ALT":"1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_FEW_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_MANY_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_NUM_ATTACHMENTS_TWO_ALT":"$1 \u500b\u9644\u4ef6\u3002","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u50b3\u9
2001\u5931\u6557\u3002[\u91cd\u8a66][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u6b63\u5728\u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u65bc $1 \u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u50b3\u9001\u72c0\u614b: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u525b\u525b","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u5c0f\u6642\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u5929","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u6628\u5929","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u8abf\u9069\u578b\u5361\u7247\u5256\u6790\u932f\u8aa4","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u8abf\u9069\u578b\u5361\u7247\u8f49\u8b6f\u932f\u8aa4","ATTACHMENT_AUDIO":"\u97f3\u8a0a\u526a\u8f2f\u3002","ATTACHMENT_CARD":"\u5361\u7247: $1 $2 $3","ATTACHMENT_FILE":"\u6a94\u6848: $1","ATTACHMENT_IMAGE":"\u5f71\u50cf","ATTACHMENT_TEXT":"\u6587\u5b57: $1","ATTACHMENT_VIDEO":"\u8996\u8a0a\u526a\u8f2f","CAROUSEL_FLIPPER_LEFT_ALT":"\u5411\u5de6\u7ffb\u8f49","CAROUSEL_FLIPPER_RIGHT_ALT":"\u5411\u53f3\u7ffb\u8f49","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u5df2\u9023\u7dda","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u6b63\u5728\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u7121\u6cd5\u9023\u7dda\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u767c\u751f\u7db2\u8def\u4e2d\u65b7\u3002\u6b63\u5728\u91cd\u65b0\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u8f49\u8b6f\u932f\u8aa4\u3002\u8acb\u6aa2\u67e5\u4e3b\u63a7\u53f0\u6216\u9023\u7d61\u6a5f\u5668\u4eba\u958b\u767c\u4eba\u54e1\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u9023\u7dda\u6240\u9700\u7684\u6642\u9593\u6bd4\u5e73\u6642\u66f4\u9577\u3002","CONNECTIVITY_STATUS_ALT":"\u9023\u7dda\u72c0\u614b: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848\uff0c\u5927\u5c0f\u70ba $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\'\uff0c\u5927\u5c0f\u70ba $2","MARKDOWN_EXTERNAL_LINK_ALT":"\u5728\u65b0\u8996\u7a97\u4e2d\u958b\u555f; \u5916\u90e8\u3002","RECEIPT_CARD_TAX":"\u7a05\u91d1","RECEIPT_CARD_TOTAL":"\u7e3d\u8a08","RECEIPT_CARD_VAT":"\u52a0\u503c\u7a05","SPEECH_INPUT_LISTENING":"\u6b63\u5728\u8046\u807d\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u95dc\u9589\u9ea5\u514b\u98a8","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u958b\u555f\u9ea5\u514b\u98a8","SPEECH_INPUT_STARTING":"\u6b63\u5728\u555f\u52d5\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u5177\u6709\u5167\u5bb9","SUGGESTED_ACTIONS_ALT_HAS_CONTENT_AND_ACCESS_KEY":"\u5177\u6709\u5167\u5bb9\u3002\u6309 $1 \u4ee5\u9078\u53d6\u3002","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u662f\u7a7a\u7684","SUGGESTED_ACTIONS_ALT":"\u5efa\u8b70\u7684\u52d5\u4f5c\u5bb9\u5668: $1","TEXT_INPUT_ALT":"\u8a0a\u606f\u8f38\u5165\u65b9\u584a","TEXT_INPUT_PLACEHOLDER":"\u8f38\u5165\u60a8\u7684\u8a0a\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u50b3\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8aaa\u8a71","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u50b3\u6a94\u6848","TOAST_ACCORDION_FEW":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_MANY":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_OTHER":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_TWO":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ALT_ERROR":"\u932f\u8aa4","TOAST_ALT_INFO":"\u8cc7\u8a0a","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u95dc\u9589","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_ARIA_LABEL_ALT":"\u6587\u5b57\u8a18\u9304\uff0c\u6309\u65b9\u5411\u9375\u9032\u884c\u700f\u89bd\u3002","TRANSCRIPT_ARIA_ROLE_ALT":"\u6587\u5b57\u8a18\u9304","TRANSCRIPT_MORE_MESSAGES":"\u66f4\u591a\u8a0a\u606f","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u8a0a\u606f","TRANSCRIPT_TERMINATOR_TEXT":"\u6587\u5b57\u8a18\u9304\u7d50\u675f","TYPING_INDICATOR_ALT":"\u986f\u793a\u8f38\u5165\u6307\u793a\u5668"}')},function(e){e.exports=JSON.parse('{"ar-EG":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ar-EG","SPEECH_LANGUAGE":"ar-EG"},"ar-SA":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ar-SA","SPEECH_LANGUAGE":"ar-SA"},"bg-BG":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"bg","SPEECH_LANGUAGE":"bg-BG"},"ca-ES":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ca","SPEECH_LANGUAGE":"ca-ES"},"cs-CZ":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"cs","SPEECH_LANGUAGE":"cs-CZ"},"da-DK":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"da","SPEECH_LANGUAGE":"da-DK"},"de-DE":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"de","SPEECH_LANGUAGE":"de-DE"},"el-GR":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"el","SPEECH_LANGUAGE":"el-GR"},"en-US":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"en","SPEECH_LANGUAGE":"en-US"},"es-ES":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"es","SPEECH_LANGUAGE":"es-ES"},"et-EE":{"GLOBALIZE_LANGUAGE":"et"},"eu-ES":{"GLOBALIZE_LANGUAGE":"eu"},"fi-FI":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"fi","SPEECH_LANGUAGE":"fi-FI"},"fr-FR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"fr","SPEECH_LANGUAGE":"fr-FR"},"gl-ES":{"GLOBALIZE_LANGUAGE":"gl"},"he-IL":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"he","SPEECH_LANGUAGE":"he-IL"},"hi-IN":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"hi","SPEECH_LANGUAGE":"hi-IN"},"hr-HR":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"hr","SPEECH_LANGUAGE":"hr-HR"},"hu-HU":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"hu","SPEECH_LANGUAGE":"hu-HU"},"id-ID":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"id","SPEECH_LANGUAGE":"id-ID"},"it-IT":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"it","SPEECH_LANGUAGE":"it-IT"},"ja-JP":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ja","SPEECH_LANGUAGE":"ja-JP"},"kk-KZ":{"GLOBALIZE_LANGUAGE":"kk"},"ko-KR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ko","SPEECH_LANGUAGE":"ko-KR"},"lt-LT":{"GLOBALIZE_LANGUAGE":"lt"},"lv-LV":{"GLOBALIZE_LANGUAGE":"lv"},"ms-MY":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ms","SPEECH_LANGUAGE":"ms-MY"},"nb-NO":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"nb","SPEECH_LANGUAGE":"nb-NO"},"nl-NL":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"nl","SPEECH_LANGUAGE":"nl-NL"},"pl-PL":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"pl","SPEECH_LANGUAGE":"pl-PL"},"pt-BR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"pt","SPEECH_LANGUAGE":"pt-BR"},"pt-PT":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"pt-PT","SPEECH_LANGUAGE":"pt-PT"},"ro-RO":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ro","SPEECH_LANGUAGE":"ro-RO"},"ru-RU":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ru","SPEECH_LANGUAGE":"ru-RU"},"sk-SK":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"sk","SPEECH_LANGUAGE":"sk-SK"},"sl-SI":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"sl","SPEECH_LANGUAGE":"sl-SI"},"sr-Cyrl":{"GLOBALIZE_LANGUAGE":"sr-Cyrl"},"sr-Latn":{"GLOBALIZE_LANGUAGE":"sr-Latn"},"sv-SE":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"sv","SPEECH_LANGUAGE":"sv-SE"},"th-TH":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"th","SPEECH_LANGUAGE":"th-TH"},"tr-TR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"tr","SPEECH_LANGUAGE":"tr-TR"},"uk-UA":{"GLOBALIZE_LANGUAGE":"uk"},"vi-VN":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"vi","SPEECH_LANGUAGE":"vi-VN"},"yue":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"yue","SPEECH_LANGUAGE":"zh-HK"},"zh-Hans":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"zh-Hans","SPEECH_LANGUAGE":"zh-CN"},"zh-Hans-SG":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"zh-Hans-SG","SPEECH_LANGUAGE":"zh-CN"},"zh-Hant":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"zh-Hant","SPEECH_LANGUAGE":"zh-TW"},"zh-Hant-HK":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"zh-Hant-HK","SPEECH_LANGUAGE":"zh-HK"},"zh-Hant-MO":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"zh-Hant-MO","SPEECH_LANGUAGE":"zh-HK"}}')},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function s(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o,u=r.reduce((function(e,t){return[].concat(s(e),s(Object.keys(t)))}),[]),c=a(new Set(u));try{var l=function(){var t=o.value;e[t]=r.reduce((function(e,r){return i(i({},e),r[t])}),{})};for(c.s();!(o=c.n()).done;)l()}catch(p){c.e(p)}finally{c.f()}return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){n||(console.warn("botframework-webchat: useLocalizeDate() is deprecated. Please use the useDateFormatter() hooks instead. This hook will be removed on or after 2022-02-12."),n=!0);var t=(r=(0,i.default)(),a=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(r,a)||function(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(r,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];var r,a;return(0,o.default)(e,t)};var n,i=a(r(230)),o=a(r(620));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return(0,i.useCallback)((function(t){return e(t,"speak",!1)}),[e])};var n,i=r(0),o=(n=r(1202))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().markActivity};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().onCardAction};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().postActivity};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.useSelector)((function(e){return e.referenceGrammarID}))]};var n=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)(),t=(0,a.default)(),r=(s=(0,o.default)(),c=1,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(s,c)||function(e,t){if(e){if("string"===typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(s,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];var s,c;return(0,n.useMemo)((function(){var n=r.relativeTimeFormatter.bind(r);return function(r){var i=new Date(r),o=i.getTime();if(isNaN(o))return r;var a=Date.now()-o,s=Math.floor(a/6e4),u=Math.floor(a/36e5);return s<1?t("ACTIVITY_STATUS_TIMESTAMP_JUST_NOW"):1===s?t("ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO"):u<1?n("minute")(-s):1===u?t("ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO"):u<5?n("hour")(-u):u<=24?t("ACTIVITY_STATUS_TIMESTAMP_TODAY"):u<=48?t("ACTIVITY_STATUS_TIMESTAMP_YESTERDAY"):e(i)}}),[e,r,t])};var n=r(0),i=s(r(616)),o=s(r(294)),a=s(r(411));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){a&&(console.warn('botframework-webchat: "useRenderActivity" is deprecated and will be removed on or after 2022-07-22. Please use "useCreateActivityRenderer()" instead.'),a=!1);if("function"!==typeof e)throw new Error('botframework-webchat: First argument passed to "useRenderActivity" must be a function.');var t=(0,o.default)(e);return(0,i.useMemo)((function(){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e||{},i=n.activity;if(!i)throw new Error('botframework-webchat: First argument passed to the callback of useRenderActivity() must contain an "activity" property.');var o=t(e);return!!o&&o(r)}}),[t])};var n,i=r(0),o=(n=r(612))&&n.__esModule?n:{default:n};var a=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activity,r=e.nextVisibleActivity;a&&(console.warn('botframework-webchat: "useRenderActivityStatus" is deprecated and will be removed on or after 2022-07-22. Please use "useCreateActivityStatusRenderer()" instead.'),a=!1);var n=(0,o.default)();return(0,i.useMemo)((function(){var e=n({activity:t,nextVisibleActivity:r});return!!e&&e}),[t,n,r])};var n,i=r(0),o=(n=r(614))&&n.__esModule?n:{default:n};var a=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activity;o&&(console.warn('botframework-webchat: "useRenderAvatar" is deprecated and will be removed on or after 2022-07-28. Please use "useRenderAvatar()" instead.'),o=!1);return(0,i.default)()({activity:t})};var n,i=(n=r(615))&&n.__esModule?n:{default:n};var o=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().toastRenderer};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().typingIndicatorRenderer};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.useSelector)((function(e){return e.sendBoxValue})),(0,o.default)().setSendBox]};var n,i=r(78),o=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().sendEvent};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().sendFiles,t=(0,i.default)();return(0,n.useCallback)((function(r){r&&r.length&&(e(r),t("sendFiles",{numFiles:r.length,sumSizeInKB:Math.round(r.reduce((function(e,t){return e+t.size}),0)/1024)}))}),[e,t])};var n=r(0),i=a(r(296)),o=a(r(21));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().sendMessage};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().sendMessageBack};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().sendPostBack};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){o&&(console.warn('botframework-webchat: "useSendTimeoutForActivity" is deprecated and will be removed on or after 2022-07-28. Please use "useGetSendTimeoutForActivity()" instead.'),o=!1);return(0,i.default)()({activity:e})};var n,i=(n=r(408))&&n.__esModule?n:{default:n};var o=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,n.useSelector)((function(e){return e.sendTypingIndicator}))]};var n=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().setNotification};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)(),t=e.startSpeakingActivity,r=e.stopSpeakingActivity;return[(0,o.useSelector)((function(e){return e.shouldSpeakIncomingActivity})),(0,i.useCallback)((function(e){e?t():r()}),[t,r])]};var n,i=r(0),o=r(78),a=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().startDictate};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().stopDictate};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().submitSendBox,t=(0,i.default)();return(0,n.useCallback)((function(){var r=(arguments.length<=0?void 0:arguments[0])||"keyboard";return t("submitSendBox",r),e.apply(void 0,arguments)}),[e,t])};var n=r(0),i=a(r(296)),o=a(r(21));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.useSelector)((function(e){return e.suggestedActions})),t=(0,a.default)().clearSuggestedActions;return[e,(0,i.useCallback)((function(e){if(e&&e.length)throw new Error("SuggestedActions cannot be set to values other than empty.");t()}),[t])]};var n,i=r(0),o=r(78),a=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(e=(0,i.default)(),t=1,c(e)||u(e,t)||a(e,t)||o())[0].sendTimeout];var e,t};var n,i=(n=r(124))&&n.__esModule?n:{default:n};function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}function c(e){if(Array.isArray(e))return e}},function(e,t,r){"use strict";var n=r(3);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,c.default)().onTelemetry,t=(0,s.default)(),r=(0,u.default)();return(0,i.useCallback)(function(){var i,s=(i=n.mark((function i(s,u){var c,l,p;return n.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(s&&"string"===typeof s){n.next=4;break}return n.abrupt("return",console.warn('botframework-webchat: "name" passed to "useTrackTiming" hook must be specified and of type string.'));case 4:if("function"===typeof u||"function"===typeof u.then){n.next=6;break}return n.abrupt("return",console.warn('botframework-webchat: "functionOrPromise" passed to "useTrackTiming" hook must be specified, of type function or Promise.'));case 6:return c=(0,a.default)(),e&&e((0,o.default)("timingstart",{dimensions:t(),name:s,timingId:c})),l=Date.now(),n.prev=9,n.next=12,"function"===typeof u?u():u;case 12:return n.abrupt("return",n.sent);case 15:throw n.prev=15,n.t0=n.catch(9),r(n.t0,!1),n.t0;case 19:return n.prev=19,p=Date.now()-l,e&&e((0,o.default)("timingend",{dimensions:t(),duration:p,name:s,timingId:c})),n.finish(19);case 23:case"end":return n.stop()}}),i,null,[[9,15,19,23]])})),function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){p(o,r,n,a,s,"next",e)}function s(e){p(o,r,n,a,s,"throw",e)}a(void 0)}))});return function(e,t){return s.apply(this,arguments)}}(),[e,t,r])};var i=r(0),o=l(r(297)),a=l(r(1228)),s=l(r(413)),u=l(r(414)),c=l(r(21));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return(0,i.default)().toString(36).substr(2,e)};var n,i=(n=r(86))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().userID]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().username]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)();return(0,i.useCallback)((function(r){return t.selectVoice(r,e)}),[e,t])};var n,i=r(0),o=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(486),i=w(r(5)),o=I(r(0)),a=w(r(106)),s=r(70),u=w(r(407)),c=w(r(297)),l=w(r(1233)),p=w(r(1234)),f=w(r(1235)),d=w(r(624)),h=w(r(410)),v=w(r(412)),m=w(r(1236)),y=w(r(622)),T=w(r(625)),b=w(r(1237)),g=w(r(1238)),_=w(r(1239)),S=I(r(78)),A=I(r(1241)),E=w(r(621)),C=["internalRenderErrorBox","onTelemetry","store"];function O(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(O=function(e){return e?r:t})(e)}function I(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==k(e)&&"function"!==typeof e)return{default:e};var r=O(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}function w(e){return e&&e.__esModule?e:{default:e}}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||D(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function k(e){return(k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){L(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){if(e){if("string"===typeof e)return U(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var B={clearSuggestedActions:s.clearSuggestedActions,dismissNotification:s.dismissNotification,emitTypingIndicator:s.emitTypingIndicator,markActivity:s.markActivity,postActivity:s.postActivity,sendEvent:s.sendEvent,sendFiles:s.sendFiles,sendMessage:s.sendMessage,sendMessageBack:s.sendMessageBack,sendPostBack:s.sendPostBack,setDictateInterims:s.setDictateInterims,setDictateState:s.setDictateState,setNotification:s.setNotification,setSendBox:s.setSendBox,setSendTimeout:s.setSendTimeout,startDictate:s.startDictate,startSpeakingActivity:s.startSpeakingActivity,stopDictate:s.stopDictate,stopSpeakingActivity:s.stopSpeakingActivity,submitSendBox:s.submitSendBox};var F=function(e){var t=e.activityMiddleware,r=e.activityRenderer,n=e.activityStatusMiddleware,i=e.activityStatusRenderer,c=e.attachmentMiddleware,d=e.attachmentForScreenReaderMiddleware,C=e.attachmentRenderer,O=e.avatarMiddleware,I=e.avatarRenderer,w=e.cardActionMiddleware,P=e.children,N=e.dir,R=e.directLine,x=e.disabled,L=e.downscaleImageToDataURL,D=e.grammars,U=e.groupActivitiesMiddleware,F=e.groupTimestamp,V=e.internalErrorBoxClass,z=e.locale,H=e.onTelemetry,G=e.overrideLocalizedStrings,q=e.renderMarkdown,Y=e.scrollToEndButtonMiddleware,W=e.selectVoice,K=e.sendTimeout,$=e.sendTypingIndicator,J=e.styleOptions,X=e.toastMiddleware,Z=e.toastRenderer,Q=e.typingIndicatorMiddleware,ee=e.typingIndicatorRenderer,te=e.userID,re=e.username,ne=(0,S.useDispatch)(),ie=(0,o.useRef)({}),oe=(0,o.useMemo)((function(){return"ltr"===N||"rtl"===N?N:"auto"}),[N]),ae=(0,o.useMemo)((function(){return D||[]}),[D]),se=(0,o.useMemo)((function(){return(0,T.default)((0,g.default)(J,{groupTimestamp:F,sendTimeout:K}))}),[F,K,J]);(0,o.useEffect)((function(){ne((0,s.setLanguage)(z))}),[ne,z]),(0,o.useEffect)((function(){"number"===typeof K&&ne((0,s.setSendTimeout)(K))}),[ne,K]),(0,o.useEffect)((function(){ne((0,s.setSendTypingIndicator)(!!$))}
2),[ne,$]),(0,o.useEffect)((function(){return ne((0,s.connect)({directLine:R,userID:te,username:re})),function(){ne((0,s.disconnect)())}}),[ne,R,te,re]);var ue=(0,o.useMemo)((function(){return function(e){var t=e.cardActionMiddleware,r=e.directLine,n=e.dispatch,i=A.default.apply(void 0,["card action"].concat(j((0,s.singleToArray)(t)),[(0,l.default)()]))({dispatch:n});return{onCardAction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.target;return i({cardAction:e,getSignInUrl:"signin"===e.type?function(){var t=e.value;return r.getSessionId?(0,b.default)(r.getSessionId()).then((function(e){return"".concat(t).concat(encodeURIComponent("&code_challenge=".concat(e)))})):(console.warn("botframework-webchat: OAuth is not supported on this Direct Line adapter."),t)}:null,target:n})}}}({cardActionMiddleware:w,directLine:R,dispatch:ne})}),[w,R,ne]),ce=(0,o.useMemo)((function(){return W||f.default.bind(null,{language:z})}),[z,W]),le=(0,o.useMemo)((function(){return function(e){var t=e.groupActivitiesMiddleware,r=e.groupTimestamp;return{groupActivities:A.default.apply(void 0,["group activities"].concat(j((0,s.singleToArray)(t)),[(0,p.default)({groupTimestamp:r})]))({})}}({groupActivitiesMiddleware:U,groupTimestamp:se.groupTimestamp})}),[U,se.groupTimestamp]),pe=(0,o.useMemo)((function(){return(0,m.default)(B,(function(e){return function(){return ne(e.apply(void 0,arguments))}}))}),[ne]),fe=(0,o.useMemo)((function(){return function(e,t,r){if(!r)return e;if("function"===typeof r){var n=r(e,t);if(!(0,v.default)(n))throw new Error("botframework-webchat: overrideLocalizedStrings function must return an object.");return n}if(!(0,v.default)(r))throw new Error("botframework-webchat: overrideLocalizedStrings must be either a function, an object, or falsy.");return M(M({},e),r)}((0,h.default)()[(0,y.default)(z)],z,G)}),[z,G]),de=(0,o.useMemo)((function(){var e=fe||{},t=e.GLOBALIZE,r=e.GLOBALIZE_LANGUAGE;return t||r&&(0,E.default)(r)||(0,E.default)("en")}),[fe]),he=(0,o.useCallback)((function(e,t){if(!e||"string"!==typeof e)return console.warn("botframework-webchat: Telemetry dimension name must be a string.");var r=k(t);if("string"!==r&&"undefined"!==r)return console.warn("botframework-webchat: Telemetry dimension data must be a string or undefined.");ie.current=(0,a.default)(ie.current,[e],"undefined"===r?t:function(){return t})}),[ie]),ve=(0,o.useMemo)((function(){return r&&console.warn('Web Chat: "activityRenderer" is deprecated and will be removed on 2022-06-15, please use "activityMiddleware" instead.'),r||A.forRenderer.apply(void 0,["activity",{strict:!1}].concat(j((0,s.singleToArray)(t)),[function(){return function(){return function(e){var t=e.activity;throw t?new Error('No renderer for activity of type "'.concat(t.type,'"')):new Error("No activity to render")}}}]))({})}),[t,r]),me=(0,o.useMemo)((function(){return i&&console.warn('Web Chat: "activityStatusRenderer" is deprecated and will be removed on 2022-06-15, please use "activityStatusMiddleware" instead.'),i||A.forRenderer.apply(void 0,["activity status",{strict:!1}].concat(j((0,s.singleToArray)(n)),[function(){return function(){return function(){return!1}}}]))({})}),[n,i]),ye=(0,o.useMemo)((function(){return A.forRenderer.apply(void 0,["attachment for screen reader",{strict:!0}].concat(j((0,s.singleToArray)(d)),[function(){return function(){return function(e){var t=e.attachment;return t?(console.warn('No renderer for attachment for screen reader of type "'.concat(t.contentType,'"')),!1):function(){throw new Error("No attachment to render")}}}}]))({})}),[d]),Te=(0,o.useMemo)((function(){return C?(console.warn('Web Chat: "attachmentRenderer" is deprecated and will be removed on 2022-06-15, please use "attachmentMiddleware" instead.'),C):A.forLegacyRenderer.apply(void 0,["attachment"].concat(j((0,s.singleToArray)(c)),[function(){return function(){return function(e){var t=e.attachment;throw t?new Error('No renderer for attachment of type "'.concat(t.contentType,'"')):new Error("No attachment to render")}}}]))({})}),[c,C]),be=(0,o.useMemo)((function(){return I&&console.warn('Web Chat: "avatarRenderer" is deprecated and will be removed on 2022-06-15, please use "avatarMiddleware" instead.'),I||A.forRenderer.apply(void 0,["avatar",{strict:!1}].concat(j((0,s.singleToArray)(O)),[function(){return function(){return function(){return!1}}}]))({})}),[O,I]),ge=(0,o.useMemo)((function(){return Z&&console.warn('Web Chat: "toastRenderer" is deprecated and will be removed on 2022-06-15, please use "toastMiddleware" instead.'),Z||A.forRenderer.apply(void 0,["toast",{strict:!1}].concat(j((0,s.singleToArray)(X)),[function(){return function(){return function(e){var t=e.notification;throw t?new Error('No renderer for notification of type "'.concat(t.contentType,'"')):new Error("No notification to render")}}}]))({})}),[X,Z]),_e=(0,o.useMemo)((function(){return ee&&console.warn('Web Chat: "typingIndicatorRenderer" is deprecated and will be removed on 2022-06-15, please use "typingIndicatorMiddleware" instead.'),ee||A.forRenderer.apply(void 0,["typing indicator",{strict:!1}].concat(j((0,s.singleToArray)(Q)),[function(){return function(){return function(){return!1}}}]))({})}),[Q,ee]),Se=(0,o.useMemo)((function(){return A.forRenderer.apply(void 0,["scroll to end button",{strict:!0}].concat(j((0,s.singleToArray)(Y)),[function(){return function(){return function(){return!1}}}]))()}),[Y]),Ae=(0,o.useMemo)((function(){return M(M(M(M({},ue),le),pe),{},{activityRenderer:ve,activityStatusRenderer:me,attachmentForScreenReaderRenderer:ye,attachmentRenderer:Te,avatarRenderer:be,dir:oe,directLine:R,disabled:x,downscaleImageToDataURL:L,grammars:ae,internalErrorBoxClass:V,language:z,localizedGlobalizeState:[de],localizedStrings:fe,onTelemetry:H,renderMarkdown:q,scrollToEndButtonRenderer:Se,selectVoice:ce,sendTypingIndicator:$,styleOptions:se,telemetryDimensionsRef:ie,toastRenderer:ge,trackDimension:he,typingIndicatorRenderer:_e,userID:te,username:re})}),[ue,R,x,L,le,pe,V,z,de,H,ve,me,ye,Te,be,oe,ae,fe,ce,se,ge,_e,q,Se,$,ie,he,te,re]);return o.default.createElement(u.default.Provider,{value:Ae},"function"===typeof P?P(Ae):P,H&&o.default.createElement(_.default,null))};F.defaultProps={activityMiddleware:void 0,activityRenderer:void 0,activityStatusMiddleware:void 0,activityStatusRenderer:void 0,attachmentForScreenReaderMiddleware:void 0,attachmentMiddleware:void 0,attachmentRenderer:void 0,avatarMiddleware:void 0,avatarRenderer:void 0,cardActionMiddleware:void 0,children:void 0,dir:"auto",disabled:!1,downscaleImageToDataURL:void 0,grammars:[],groupActivitiesMiddleware:void 0,groupTimestamp:void 0,internalErrorBoxClass:void 0,locale:window.navigator.language||"en-US",onTelemetry:void 0,overrideLocalizedStrings:void 0,renderMarkdown:void 0,scrollToEndButtonMiddleware:void 0,selectVoice:void 0,sendTimeout:void 0,sendTypingIndicator:!1,styleOptions:{},toastMiddleware:void 0,toastRenderer:void 0,typingIndicatorMiddleware:void 0,typingIndicatorRenderer:void 0,userID:"",username:""},F.propTypes={activityMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),activityRenderer:i.default.func,activityStatusMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),activityStatusRenderer:i.default.func,attachmentForScreenReaderMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),attachmentMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),attachmentRenderer:i.default.func,avatarMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),avatarRenderer:i.default.func,cardActionMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),children:i.default.any,dir:i.default.oneOf(["auto","ltr","rtl"]),directLine:i.default.shape({activity$:i.default.shape({subscribe:i.default.func.isRequired}).isRequired,connectionStatus$:i.default.shape({subscribe:i.default.func.isRequired}).isRequired,end:i.default.func,getSessionId:i.default.func,postActivity:i.default.func.isRequired,referenceGrammarID:i.default.string,token:i.default.string}).isRequired,disabled:i.default.bool,downscaleImageToDataURL:i.default.func,grammars:i.default.arrayOf(i.default.string),groupActivitiesMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),groupTimestamp:i.default.oneOfType([i.default.bool,i.default.number]),internalErrorBoxClass:i.default.func,locale:i.default.string,onTelemetry:i.default.func,overrideLocalizedStrings:i.default.oneOfType([i.default.any,i.default.func]),renderMarkdown:i.default.func,scrollToEndButtonMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),selectVoice:i.default.func,sendTimeout:i.default.number,sendTypingIndicator:i.default.bool,styleOptions:i.default.any,toastMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),toastRenderer:i.default.func,typingIndicatorMiddleware:i.default.oneOfType([i.default.arrayOf(i.default.func),i.default.func]),typingIndicatorRenderer:i.default.func,userID:i.default.string,username:i.default.string};var V=function(e){var t=e.internalRenderErrorBox,r=e.onTelemetry,i=e.store,a=R(e,C),u=N((0,o.useState)(),2),l=u[0],p=u[1],f=(0,o.useCallback)((function(e){console.error("botframework-webchat: Uncaught exception",{error:e}),r&&r((0,c.default)("exception",{error:e,fatal:!0})),p(e)}
2),[r,p]),h=(0,o.useMemo)((function(){return i||(0,s.createStore)()}),[i]);return l?!!t&&t({error:l,type:"uncaught exception"}):o.default.createElement(d.default,{onError:f},o.default.createElement(n.Provider,{context:S.default,store:h},o.default.createElement(F,P({internalRenderErrorBox:t,onTelemetry:r},a))))};V.defaultProps={internalRenderErrorBox:void 0,onTelemetry:void 0,store:void 0},V.propTypes={internalRenderErrorBox:i.default.any,onTelemetry:i.default.func,store:i.default.any};var z=V;t.default=z},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(e){var t=e.dispatch;return function(e){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i[0],s=a.cardAction,u=a.cardAction.value;switch(s.type){case"imBack":if("string"!==typeof u)throw new Error('cannot send "imBack" with a non-string value');t((0,n.sendMessage)(u,"imBack"));break;case"messageBack":t((0,n.sendMessageBack)(u,s.text,s.displayText));break;case"postBack":t((0,n.sendPostBack)(u));break;default:return e.apply(void 0,i)}}}}};var n=r(70)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.groupTimestamp;return function(){return function(){return function(e){var r=e.activities;return{sender:i(r,(function(e,t){return e.from.role===t.from.role})),status:i(r,(function(e,r){return function(e,t,r){if(!1===r)return!0;if(e&&t){if(o(e)!==o(t))return!1;r="number"===typeof r?r:1/0;var n=new Date(e.timestamp).getTime(),i=new Date(t.timestamp).getTime();return Math.abs(n-i)<=r}return!1}(e,r,t)}))}}}}};var n=r(70).Constants.ActivityClientState.SENT;function i(e,t){var r,n,i=[];return e.forEach((function(e){n&&t(n,e)?r.push(e):(r=[e],i.push(r)),n=e})),i}function o(e){return"user"===e.from.role&&e.channelData&&e.channelData.state!==n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=e.language;return[r.locale,n,window.navigator.language,"en-US"].reduce((function(e,r){return e||t.find((function(e){var t=e.lang,n=e.name;return t===r&&/neural/i.test(n)}))||t.find((function(e){return e.lang===r}))}),null)||t[0]}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Object.entries(e).reduce((function(e,r){var i,o,a=(o=2,function(e){if(Array.isArray(e))return e}(i=r)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(i,o)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(i,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],u=a[1];return e[s]=t(u,s),e}),{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Promise((function(t,r){var n=e.subscribe((function(e){t(e),setTimeout((function(){return n.unsubscribe()}),0)}),(function(e){r(e),setTimeout((function(){return n.unsubscribe()}),0)}))}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=t.groupTimestamp,n=t.sendTimeout;"undefined"!==typeof r&&"undefined"===typeof e.groupTimestamp&&(console.warn('Web Chat: "groupTimestamp" has been moved to "styleOptions". This deprecation migration will be removed on or after January 1 2022.'),e=(0,i.default)(e,["groupTimestamp"],(function(){return r})));"undefined"!==typeof n&&"undefined"===typeof e.sendTimeout&&(console.warn('Web Chat: "sendTimeout" has been moved to "styleOptions". This deprecation migration will be removed on or after January 1 2022.'),e=(0,i.default)(e,["
2sendTimeout"],(function(){return n})));e.slowConnectionAfter<0&&(console.warn('Web Chat: "slowConnectionAfter" cannot be negative, will set to 0.'),e=(0,i.default)(e,["slowConnectionAfter"],(function(){return 0})));return e};var n,i=(n=r(106))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(1240))&&n.__esModule?n:{default:n};var o=function(){return(0,i.default)(),null};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(0),i=s(r(230)),o=s(r(623)),a=s(r(296));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=function(){var e=u((0,i.default)(),1)[0],t=(0,o.default)(),r=(0,a.default)();(0,n.useEffect)((function(){t("prop:locale",e)}),[e,t]),(0,n.useEffect)((function(){r("init")}),[r])};t.default=l},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){return a.default.apply(void 0,r).apply(void 0,arguments)((function(){throw new Error("reached terminator of ".concat(e))}))}},t.forLegacyRenderer=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){var t=a.default.apply(void 0,r).apply(void 0,arguments)((function(){throw new Error("reached terminator of ".concat(e))}));return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return i.default.createElement(s.default,{type:"render of ".concat(e)},(function(){try{return t.apply(void 0,n)}catch(r){return i.default.createElement(o.default,{error:r,type:"render of ".concat(e)})}}))}}},t.forRenderer=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.strict,n=void 0!==r&&r,u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];return function(){var t=a.default.apply(void 0,c).apply(void 0,arguments)((function(){return i.default.createElement(o.default,{error:new Error("reached terminator of ".concat(e)),type:e})}));return function(){try{var r=t.apply(void 0,arguments);return!!r&&((0,i.isValidElement)(r)?n?(console.error("botframework-webchat: ".concat(e," should only return either false or a render function.")),!1):i.default.createElement(s.default,{type:"render of ".concat(e)},r):function(){for(var t=arguments.length,a=new Array(t),u=0;u<t;u++)a[u]=arguments[u];return i.default.createElement(s.default,{type:"render of ".concat(e)},(function(){try{var t=r.apply(void 0,a);return n&&!(0,i.isValidElement)(t)&&console.error("botframework-webchat: ".concat(e," should return React element only.")),t}catch(s){return i.default.createElement(o.default,{error:s,type:"render of ".concat(e)})}}))})}catch(a){return i.default.createElement(o.default,{error:a,type:"render of ".concat(e)})}}}};
2var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),o=u(r(627)),a=u(r(628)),s=u(r(1243));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[(0,i.default)().internalErrorBoxClass]};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r(5)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),a=c(r(624)),s=c(r(627));function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=function(e){var t=e.children,r=e.type,n=l((0,o.useState)(),2),i=n[0],u=n[1],c=(0,o.useCallback)((function(e){return u(e)}),[]);return i?o.default.createElement(s.default,{error:i,type:r}):o.default.createElement(a.default,{onError:c},t)};f.defaultProps={children:void 0,type:void 0},f.propTypes={children:i.default.any,type:i.default.string};var d=f;t.default=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(5)),i=u(r(0)),o=u(r(629)),a=u(r(688)),s=["className","role"];function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var d=function(e){var t=e.className,r=e.role,n=f(e,s);return i.default.createElement(a.default,n,i.default.createElement(o.default,{className:t,role:r}))};d.defaultProps=l({className:void 0,role:void 0},a.default.defaultProps);
2var h=a.default.propTypes,v=(h.children,f(h,["children"]));d.propTypes=l({className:n.default.string,role:n.default.oneOf(["complementary","contentinfo","form","main","region"])},v);var m=d;t.default=m},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r(5)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),a=r(1246),s=p(r(630)),u=p(r(631)),c=["children"];function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var m=function(e){var t=e.children,r=v(e,c),n=d((0,u.default)(),1)[0].apple,i=(0,o.useRef)({focii:[]}),l=(0,o.useCallback)((function(e){var t=e.altKey,r=e.ctrlKey,o=e.key,s=e.shiftKey;if(t&&(n?r:s)){var u=i.current.focii.filter((function(e){return e.keys.includes(o)})),c=u.findIndex((function(e){var t=e.ref.current;return t===document.activeElement||t.contains(document.activeElement)})),l=u[(c+1)%u.length];if(l){e.preventDefault(),e.stopPropagation();var p=(0,a.orSelf)(l.ref.current);p&&p.focus()}}}),[n]);return o.default.createElement(s.default.Provider,{value:i.current},o.default.createElement("div",f({onKeyUp:l},r),t))};m.defaultProps={children:void 0},m.propTypes={children:i.default.any};var y=m;t.default=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s,t.orSelf=function(e){if(!e)return;if(e.matches(a))return e;return s(e)};var n,i=(n=r(415))&&n.__esModule?n:{default:n};var o=function(){return!0},a="a[href], audio, button, details, details summary, embed, iframe, input, object, rect, select, svg[focusable], textarea, video, [tabindex]";function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if(e){var r=[].filter.call(e.querySelectorAll(a),t);return[].find.call(r,(function(e){var t=(0,i.default)(e);return"number"===typeof t&&t>=0}))}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=c(r(0)),o=c(r(1248)),a=c(r(1249)),s=c(r(1253)),u=c(r(1254));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useDebouncedNotifications,d=function(){var e=l(f(),1)[0].connectivitystatus;if(!e)return!1;switch(e.message){case"connecting":return i.default.createElement(a.default,null);case"javascripterror":return i.default.createElement(u.default,null);case"failedtoconnect":return i.default.createElement(s.default,null);case"reconnecting":return i.default.createElement(a.default,{reconnect:!0});case"connected":default:return i.default.createElement(o.default,null)}};t.default=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=a(r(0)),o=a(r(74));function a(e){return e&&e.__esModule?e:{default:e}}var s=n.hooks.useLocalizer,u=function(){var e=s();return i.default.createElement(o.default,{text:e("CONNECTIVITY_STATUS_ALT",e("CONNECTIVITY_STATUS_ALT_CONNECTED"))})};t.default=u},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=v(r(20)),a=v(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=v(r(74)),c=v(r(1250)),l=v(r(1251)),p=v(r(23)),f=v(r(632)),d=v(r(1252));function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var T=i.hooks.useDirection,b=i.hooks.useLocalizer,g=i.hooks.useStyleOptions,_=function(e){var t=e.reconnect,r=m(g(),1)[0].slowConnectionAfter,n=m((0,p.default)(),1)[0],i=n.connectivityNotification,a=n.warningNotification,h=m(T(),1)[0],v=m((0,s.use
2State)((function(){return Date.now()})),1)[0],y=(0,l.default)(),_=b(),S=_("CONNECTIVITY_STATUS_ALT_CONNECTING"),A=_("CONNECTIVITY_STATUS_ALT_RECONNECTING"),E=_("CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION");return(0,f.default)(v+r,y),Date.now()>=v+r?s.default.createElement(s.default.Fragment,null,s.default.createElement(u.default,{text:_("CONNECTIVITY_STATUS_ALT",E)}),s.default.createElement("div",{"aria-hidden":!0,className:(0,o.default)("webchat__connectivityStatus",a+""),dir:h},s.default.createElement(d.default,null),E)):s.default.createElement(s.default.Fragment,null,s.default.createElement(u.default,{text:_("CONNECTIVITY_STATUS_ALT",t?A:S)}),s.default.createElement("div",{"aria-hidden":!0,className:(0,o.default)("webchat__connectivityStatus",i+""),dir:h},s.default.createElement(c.default,null),t?A:S))};_.defaultProps={reconnect:!1},_.propTypes={reconnect:a.default.bool};var S=_;t.default=S},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(20)),o=s(r(0)),a=s(r(23));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=n.hooks.useDirection,p=function(){var e=u((0,a.default)(),1)[0].spinnerAnimation,t=u(l(),1)[0];return o.default.createElement("div",{className:(0,i.default)(e+"","rtl"===t&&"webchat__spinner--rtl")}
2)};t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(0);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(){var e=i((0,n.useState)(),2)[1];return(0,n.useCallback)((function(){return e({})}),[e])};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(20)),o=s(r(5)),a=s(r(0));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=n.hooks.useDirection,p=function(e){var t=e.className,r=e.size,n=u(l(),1)[0];return a.default.createElement("svg",{alt:"",className:(0,i.default)(t+"","rtl"===n&&"webchat_warning--rtl"),height:16*r,viewBox:"0 0 13.1 13.1",width:16*r},a.default.createElement("path",{d:"M13.1,13.1H0L6.6,0L13.1,13.1z M7,10.5H6.1v0.9H7V10.5z M7,9.7V5.2H6.1v4.4L7,9.7z",fillRule:"evenodd"}))};p.defaultProps={className:"",size:1},p.propTypes={className:o.default.string,size:o.default.number};var f=p;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=c(r(20)),o=c(r(0)),a=c(r(633)),s=c(r(74)),u=c(r(23));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useDirection,d=n.hooks.useLocalizer,h=function(){var e=l((0,u.default)(),1)[0].errorNotification,t=l(f(),1)[0],r=d(),n=r("CONNECTIVITY_STATUS_ALT_FATAL");return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.default,{text:r("CONNECTIVITY_STATUS_ALT",n)}
2),o.default.createElement("div",{"aria-hidden":!0,className:(0,i.default)("webchat__connectivityStatus",e+""),dir:t},o.default.createElement(a.default,null),n))};t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=c(r(20)),o=c(r(0)),a=c(r(633)),s=c(r(74)),u=c(r(23));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useDirection,d=n.hooks.useLocalizer,h=function(){var e=l((0,u.default)(),1)[0].errorNotification,t=l(f(),1)[0],r=d(),n=r("CONNECTIVITY_STATUS_ALT_RENDER_ERROR");return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.default,{text:r("CONNECTIVITY_STATUS_ALT",n)}),o.default.createElement("div",{"aria-hidden":!0,className:(0,i.default)("webchat__connectivityStatus",e+""),dir:t},o.default.createElement(a.default,null),n))};t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(0))&&n.__esModule?n:{default:n};var o=function(e){var t=e.className;return i.default.createElement("svg",{className:t,focusable:!1,height:28,role:"presentation",viewBox:"0 0 34.75 46",width:28},i.default.createElement("path",{className:"a",d:"M29.75,23v6.36a7,7,0,0,1-.56,2.78,7.16,7.16,0,0,1-3.8,3.8,7,7,0,0,1-2.78.56H18.5v2.25H23V41H11.75v-2.25h4.5V36.5h-4.11a7,7,0,0,1-2.78-.56,7.16,7.16,0,0,1-3.8-3.8,7,7,0,0,1-.56-2.78V23h2.25v6.36a4.72,4.72,0,0,0,.39,1.9,4.78,4.78,0,0,0,2.6,2.6,4.72,4.72,0,0,0,1.9.39h10.47a4.72,4.72,0,0,0,1.9-.39,4.78,4.78,0,0,0,2.6-2.6,4.72,4.72,0,0,0,.39-1.9V23Zm-18,5.62a1.13,1.13,0,0,0,1.13,1.13h9a1.13,1.13,0,0,0,1.12-1.13V8.38a1.13,1.13,0,0,0-1.12-1.13h-9a1.13,1.13,0,0,0-1.13,1.13Zm1.13,3.38a3.41,3.41,0,0,1-1.32-.26,3.31,3.31,0,0,1-1.8-1.8,3.41,3.41,0,0,1-.26-1.32V8.38a3.41,3.41,0,0,1,.26-1.32,3.31,3.31,0,0,1,1.8-1.8,3.41,3.41,0,0,1,1.32-.26h9a3.4,3.4,0,0,1,1.31.26,3.31,3.31,0,0,1,1.8,1.8,3.41,3.41,0,0,1,.26,1.32v20.24a3.41,3.41,0,0,1-.26,1.32,3.31,3.31,0,0,1-1.8,1.8,3.4,3.4,0,0,1-1.31.26Z"}))};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(20)),o=s(r(0)),a=s(r(40));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=n.hooks.useDirection,p={"&.webchat__send-icon":{"&.webchat__send-icon--rtl":{transform:"scale(-1, 1)"}}},f=function(){var e=u(l(),1)[0],t=(0,a.default)()(p)+"";return o.default.createElement("svg",{className:(0,i.default)("webchat__send-icon",{"webchat__send-icon--rtl":"rtl"===e},t),height:28,viewBox:"0 0 45.7 33.8",width:28},o.default.createElement("path",{clipRule:"evenodd",d:"M8.55 25.25l21.67-7.25H11zm2.41-9.47h19.26l-21.67-7.23zm-6 13l4-11.9L5 5l35.7 11.9z"}))};t.default=f},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(55),i=r(1263),o=r(650);n({target:"Array",proto:!0},{fill:i}),o("fill")},function(e,t,r){var n=r(51),i=r(422),o=n.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},function(e,t,r){var n=r(101),i=r(644),o=r(188),a=r(127);e.exports=function(e,t){for(var r=i(t),s=a.f,u=o.f,c=0;c<r.length;c++){var l=r[c];n(e,l)||s(e,l,u(t,l))}}},function(e,t,r){"use strict";var n=r(125),i=r(305),o=r(137);e.exports=function(e){for(var t=n(this),r=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>s;)t[s++]=e;return t}},function(e,t,r){var n=r(111),i=r(127),o=r(83),a=r(307);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=n.length,u=0;s>u;)i.f(e,r=n[u++],t[r]);return e}},function(e,t,r){var n=r(100),i=r(425).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(t){return a.slice()}}(e):i(n(e))}},function(e,t,r){var n=r(645),i=r(101),o=r(654),a=r(127).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,r){var n=r(55),i=r(1268);n({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(e,t,r){var n=r(51),i=r(1269).trim,o=r(655),a=n.parseFloat,s=1/a(o+"-0")!==-1/0;e.exports=s?function(e){var t=i(String(e)),r=a(t);return 0===r&&"-"==t.charAt(0)?-0:r}:a},function(e,t,r){var n=r(234),i="["+r(655)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(a,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){"use strict";var n=r(309).forEach,i=r(319)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){"use strict";var n=r(100),i=r(650),o=r(238),a=r(301),s=r(1273),u=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,r){"use strict";var n=r(55),i=r(1274),o=r(657),a=r(658),s=r(312),u=r(126),c=r(136),l=r(58),p=r(235),f=r(238),d=r(656),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,m=l("iterator"),y=function(){return this};e.exports=function(e,t,r,l,d,T,b){i(r,t,l);var g,_,S,A=function(e){if(e===d&&w)return w;if(!v&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},E=t+" Iterator",C=!1,O=e.prototype,I=O[m]||O["@@iterator"]||d&&O[d],w=!v&&I||A(d),P="Array"==t&&O.entries||I;if(P&&(g=o(P.call(new e)),h!==Object.prototype&&g.next&&(p||o(g)===h||(a?a(g,h):"function"!=typeof g[m]&&u(g,m,y)),s(g,E,!0,!0),p&&(f[E]=y))),"values"==d&&I&&"values"!==I.name&&(C=!0,w=function(){return I.call(this)}),p&&!b||O[m]===w||u(O,m,w),f[t]=w,d)if(_={values:A("values"),keys:T?w:A("keys"),entries:A("entries")},b)for(S in _)(v||C||!(S in O))&&c(O,S,_[S]);else n({target:t,proto:!0,forced:v||C},_);return _}},function(e,t,r){"use strict";
vendor: 5,563 bytes, line 2
2var n=r(656).IteratorPrototype,i=r(429),o=r(232),a=r(312),s=r(238),u=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,c,!1,!0),s[c]=u,e}},function(e,t,r){var n=r(67);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(112);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){var n=r(55),i=r(1278).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},function(e,t,r){var n=r(111),i=r(307),o=r(100),a=r(419).f,s=function(e){return function(t){for(var r,s=o(t),u=i(s),c=u.length,l=0,p=[];c>l;)r=u[l++],n&&!a.call(s,r)||p.push(e?[r,s[r]]:s[r]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){var n=r(55),i=r(659),o=r(316);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,r){o(t,e,r)}),{AS_ENTRIES:!0}),t}})},function(e,t,r){var n=r(58),i=r(238),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,r){var n=r(660),i=r(238),o=r(58)("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(83);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},function(e,t,r){"use strict";var n=r(55),i=r(299),o=r(100),a=r(319),s=[].join,u=i!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:u||!c},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},function(e,t,r){"use strict";var n=r(432),i=r(660);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,r){"use strict";var n=r(67);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,r){"use strict";var n=r(136),i=r(83),o=r(67),a=r(664),s=RegExp.prototype,u=s.toString,c=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(c||l)&&n(RegExp.prototype,"toString",(function(){var e=i(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in s)?a.call(e):r)}),{unsafe:!0})},function(e,t,r){"use strict";var n=r(1288),i=r(83),o=r(137),a=r(236),s=r(234),u=r(1289),c=r(1291),l=r(1292),p=Math.max,f=Math.min;n("replace",2,(function(e,t,r,n){var d=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,h=n.REPLACE_KEEPS_$0,v=d?"$":"$0";return[function(r,n){var i=s(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!d&&h||"string"===typeof n&&-1===n.indexOf(v)){var s=r(t,e,this,n);if(s.done)return s.value}var m=i(e),y=String(this),T="function"===typeof n;T||(n=String(n));var b=m.global;if(b){var g=m.unicode;m.lastIndex=0}for(var _=[];;){var S=l(m,y);if(null===S)break;if(_.push(S),!b)break;""===String(S[0])&&(m.lastIndex=u(y,o(m.lastIndex),g))}for(var A,E="",C=0,O=0;O<_.length;O++){S=_[O];for(var I=String(S[0]),w=p(f(a(S.index),y.length),0),P=[],N=1;N<S.length;N++)P.push(void 0===(A=S[N])?A:String(A));var R=S.groups;if(T){var k=[I].concat(P,w,y);void 0!==R&&k.push(R);var x=String(n.apply(void 0,k))}else x=c(I,y,w,P,R,n);w>=C&&(E+=y.slice(C,w)+x,C=w+I.length)}return E+y.slice(C)}]}))},function(e,t,r){"use strict";r(663);var n=r(136),i=r(433),o=r(67),a=r(58),s=r(126),u=a("species"),c=RegExp.prototype,l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),p="$0"==="a".replace(/./,"$0"),f=a("replace"),d=!!/./[f]&&""===/./[f]("a","$0"),h=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var v=a(e),m=!o((function(){var t={};return t[v]=function(){return 7},7!=""[e](t)})),y=m&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return t=!0,null},r[v](""),!t}));if(!m||!y||"replace"===e&&(!l||!p||d)||"split"===e&&!h){var T=/./[v],b=r(v,""[e],(function(e,t,r,n,o){var a=t.exec;return a===i||a===c.exec?m&&!o?{done:!0,value:T.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),g=b[0],_=b[1];n(String.prototype,e,g),n(c,v,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(c[v],"sham",!0)}},function(e,t,r){"use strict";var n=r(1290).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},function(e,t,r){var n=r(236),i=r(234),o=function(e){return function(t,r){var o,a,s=String(i(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,r){var n=r(125),i=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,u,c,l){var p=r+e.length,f=u.length,d=s;return void 0!==c&&(c=n(c),d=a),o.call(l,d,(function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(p);case"<":a=c[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>f){var l=i(s/10);return 0===l?n:l<=f?void 0===u[l-1]?o.charAt(1):u[l-1]+o.charAt(1):n}
2a=u[s-1]}return void 0===a?"":a}))}},function(e,t,r){var n=r(233),i=r(433);e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var o=r.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,r){"use strict";var n=r(55),i=r(112),o=r(431),a=r(305),s=r(137),u=r(100),c=r(316),l=r(58),p=r(310)("slice"),f=l("species"),d=[].slice,h=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,l,p=u(this),v=s(p.length),m=a(e,v),y=a(void 0===t?v:t,v);if(o(p)&&("function"!=typeof(r=p.constructor)||r!==Array&&!o(r.prototype)?i(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return d.call(p,m,y);for(n=new(void 0===r?Array:r)(h(y-m,0)),l=0;m<y;m++,l++)m in p&&c(n,l,p[m]);return n.length=l,n}})},function(e,t,r){"use strict";var n=r(55),i=r(1295).left,o=r(319),a=r(306),s=r(320);n({target:"Array",proto:!0,forced:!o("reduce")||!s&&a>79&&a<83},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(237),i=r(125),o=r(299),a=r(137),s=function(e){return function(t,r,s,u){n(r);var c=i(t),l=o(c),p=a(c.length),f=e?p-1:0,d=e?-1:1;if(s<2)for(;;){if(f in l){u=l[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in l&&(u=r(u,l[f],f,c));return u}};e.exports={left:s(!1),right:s(!0)}},function(e,t,r){r(55)({target:"Math",stat:!0},{sign:r(1297)})},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,r){"use strict";var n=r(55),i=r(647).indexOf,o=r(319),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=o("indexOf");n({target:"Array",proto:!0,forced:s||!u},{indexOf:function(e){return s?a.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){"use strict";var n=r(55),i=r(305),o=r(236),a=r(137),s=r(125),u=r(653),c=r(316),l=r(310)("splice"),p=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!l},{splice:function(e,t){var r,n,l,d,h,v,m=s(this),y=a(m.length),T=i(e,y),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=y-T):(r=b-2,n=f(p(o(t),0),y-T)),y+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(m,n),d=0;d<n;d++)(h=T+d)in m&&c(l,d,m[h]);if(l.length=n,r<n){for(d=T;d<y-n;d++)v=d+r,(h=d+n)in m?m[v]=m[h]:delete m[v];for(d=y;d>y-n+r;d--)delete m[d-1]}else if(r>n)for(d=y-n;d>T;d--)v=d+r-1,(h=d+n-1)in m?m[v]=m[h]:delete m[v];for(d=0;d<r;d++)m[d+T]=arguments[d+2];return m.length=y-n+r,l}})},function(e,t,r){"use strict";var n,i,o,a,s=r(55),u=r(235),c=r(51),l=r(189),p=r(1301),f=r(136),d=r(1302),h=r(658),v=r(312),m=r(1303),y=r(112),T=r(237),b=r(1304),g=r(422),_=r(659),S=r(1305),A=r(1306),E=r(665).set,C=r(1307),O=r(1309),I=r(1310),w=r(667),P=r(1311),N=r(301),R=r(649),k=r(58),x=r(1312),M=r(320),L=r(306),j=k("species"),D="Promise",U=N.get,B=N.set,F=N.getterFor(D),V=p&&p.prototype,z=p,H=V,G=c.TypeError,q=c.document,Y=c.process,W=w.f,K=W,$=!!(q&&q.createEvent&&c.dispatchEvent),J="function"==typeof PromiseRejectionEvent,X=!1,Z=R(D,(function(){var e=g(z)!==String(z);if(!e&&66===L)return!0;if(u&&!H.finally)return!0;if(L>=51&&/native code/.test(z))return!1;var t=new z((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[j]=r,!(X=t.then((function(){}))instanceof r)||!e&&x&&!J})),Q=Z||!S((function(e){z.all(e).catch((function(){}))})),ee=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},te=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;C((function(){for(var n=e.value,i=1==e.state,o=0;r.length>o;){var a,s,u,c=r[o++],l=i?c.ok:c.fail,p=c.resolve,f=c.reject,d=c.domain;try{l?(i||(2===e.rejection&&oe(e),e.rejection=1),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),u=!0)),a===c.promise?f(G("Promise-chain cycle")):(s=ee(a))?s.call(a,p,f):p(a)):f(n)}catch(h){d&&!u&&d.exit(),f(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ne(e)}))}},re=function(e,t,r){var n,i;
vendor: 4,163 bytes, line 2
2$?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!J&&(i=c["on"+e])?i(n):"unhandledrejection"===e&&I("Unhandled promise rejection",r)},ne=function(e){E.call(c,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=P((function(){M?Y.emit("unhandledRejection",n,r):re("unhandledrejection",r,n)})),e.rejection=M||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){E.call(c,(function(){var t=e.facade;M?Y.emit("rejectionHandled",t):re("rejectionhandled",t,e.value)}))},ae=function(e,t,r){return function(n){e(t,n,r)}},se=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,te(e,!0))},ue=function e(t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===r)throw G("Promise can't be resolved itself");var i=ee(r);i?C((function(){var n={done:!1};try{i.call(r,ae(e,n,t),ae(se,n,t))}catch(o){se(n,o,t)}})):(t.value=r,t.state=1,te(t,!1))}catch(o){se({done:!1},o,t)}}};if(Z&&(H=(z=function(e){b(this,z,D),T(e),n.call(this);var t=U(this);try{e(ae(ue,t),ae(se,t))}catch(r){se(t,r)}}).prototype,(n=function(e){B(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(H,{then:function(e,t){var r=F(this),n=W(A(this,z));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?Y.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&te(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=U(e);this.promise=e,this.resolve=ae(ue,t),this.reject=ae(se,t)},w.f=W=function(e){return e===z||e===o?new i(e):K(e)},!u&&"function"==typeof p&&V!==Object.prototype)){a=V.then,X||(f(V,"then",(function(e,t){var r=this;return new z((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(V,"catch",H.catch,{unsafe:!0}));try{delete V.constructor}catch(ce){}h&&h(V,H)}s({global:!0,wrap:!0,forced:Z},{Promise:z}),v(z,D,!1,!0),m(D),o=l(D),s({target:D,stat:!0,forced:Z},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:u||Z},{resolve:function(e){return O(u&&this===o?z:this,e)}}),s({target:D,stat:!0,forced:Q},{all:function(e){var t=this,r=W(t),n=r.resolve,i=r.reject,o=P((function(){var r=T(t.resolve),o=[],a=0,s=1;_(e,(function(e){var u=a++,c=!1;o.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,o[u]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=W(t),n=r.reject,i=P((function(){var i=T(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},function(e,t,r){var n=r(51);e.exports=n.Promise},function(e,t,r){var n=r(136);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";var n=r(189),i=r(127),o=r(58),a=r(111),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},function(e,t,r){var n=r(58)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(s){}return r}},function(e,t,r){var n=r(83),i=r(237),o=r(58)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){var n,i,o,a,s,u,c,l,p=r(51),f=r(188).f,d=r(665).set,h=r(666),v=r(1308),m=r(320),y=p.MutationObserver||p.WebKitMutationObserver,T=p.document,b=p.process,g=p.Promise,_=f(p,"queueMicrotask"),S=_&&_.value;S||(n=function(){var e,t;for(m&&(e=b.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},h||m||v||!y||!T?g&&g.resolve?((c=g.resolve(void 0)).constructor=g,l=c.then,a=function(){l.call(c,n)}):a=m?function(){b.nextTick(n)}:function(){d.call(p,n)}:(s=!0,u=T.createTextNode(""),new y(n).observe(u,{characterData:!0}
2),a=function(){u.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,r){var n=r(428);e.exports=/web0s(?!.*chrome)/i.test(n)},function(e,t,r){var n=r(83),i=r(112),o=r(667);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){var n=r(51);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t){e.exports="object"==typeof window},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectSuggestedAction=t.default=void 0;var i=r(13),o=T(r(20)),a=T(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=T(r(636)),c=T(r(92)),l=T(r(158)),p=T(r(1314)),f=T(r(668)),d=T(r(298)),h=T(r(669)),v=T(r(23)),m=T(r(40));function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}function T(e){return e&&e.__esModule?e:{default:e}}function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var S=i.hooks.useDirection,A=i.hooks.useDisabled,E=i.hooks.usePerformCardAction,C=i.hooks.useStyleOptions,O=i.hooks.useSuggestedActions,I={"&.webchat__suggested-action":{"& .webchat__suggested-action__button":{display:"flex",overflow:"hidden"}}};t.connectSuggestedAction=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.default.apply(void 0,[function(e,t){var r=e.clearSuggestedActions,n=e.disabled,i=e.language,o=e.onCardAction,a=t.displayText,s=t.text,u=t.type,c=t.value;return{click:function(){o({displayText:a,text:s,type:u,value:c}),"openUrl"===u&&r()},disabled:n,language:i}}].concat(t))};var w=function(e){var t=e.buttonText,r=e.className,n=e.displayText,i=e.image,a=e.imageAlt,c=e.text,y=e.textClassName,T=e.type,_=e.value,w=g(O(),2),P=(w[0],w[1]),N=g(C(),1)[0].suggestedActionsStackedLayoutButtonTextWrap,R=g((0,v.default)(),1)[0].suggestedAction,k=g((0,h.default)(),1)[0],x=g(S(),1)[0],M=g(A(),1)[0],L=(0,l.default)(),j=(0,s.useRef)(),D=(0,f.default)(),U=E(),B=(0,d.default)(),F=(0,m.default)()(I)+"",V=(0,s.useCallback)((function(e){var t=e.target;U({displayText:n,text:c,type:T,value:_},{target:t}),"openUrl"===T&&P([]),L("sendBoxWithoutKeyboard"),B()}),[n,L,U,B,P,c,T,_]);return(0,p.default)(k,j),s.default.createElement("div",{className:(0,o.default)("webchat__suggested-action",{"webchat__suggested-action--rtl":"rtl"===x},F,R+"",(r||"")+"")},s.default.createElement(u.default,b({},k?{"aria-keyshortcuts":D(k)}:{},{className:(0,o.default)("webchat__suggested-action__button",{"webchat__suggested-action--wrapping":N}),disabled:M,onClick:V,ref:j,type:"button"}),i&&s.default.createElement("img",{alt:a,className:(0,o.default)("webchat__suggested-action__image","rtl"===x&&"webchat__suggested-action__image--rtl"),src:i}),s.default.createElement("span",{className:(0,o.default)("webchat__suggested-action__text",(y||"")+"")},t)))};w.defaultProps={className:"",displayText:"",image:"",imageAlt:void 0,text:"",textClassName:"",type:"",value:void 0},w.propTypes={buttonText:a.default.string.isRequired,className:a.default.string,displayText:a.default.string,image:a.default.string,imageAlt:a.default.string,text:a.default.string,textClassName:a.default.string,type:a.default.string,value:a.default.any};var P=w;t.default=P},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e&&"string"!==typeof e)throw new Error('useFocusAccessKeyEffect: If defined, "key" must be of type "string".');if(!t||!("current"in t))throw new Error('useFocusAccessKeyEffect: "ref" must be defined and has "current" property.');var r=(0,o.default)();(0,i.useEffect)((function(){if(e){var n={keys:e.split(/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/g),ref:t};return r.focii.push(n),function(){return function(e,t){var r=e.indexOf(t);~r&&e.splice(r,1)}(r.focii,n)}}}),[r,e,t])};var n,i=r(0),o=(n=r(1315))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.useContext)(o.default)};var n,i=r(0),o=(n=r(630))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(r(5)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),a=c(r(672)),s=["className","disabled","enterKeyHint","onChange","onFocus","onKeyDown","onKeyDownCapture","onKeyPress","onSelect","placeholder","readOnly","tabIndex","value"];function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var f=(0,o.forwardRef)((function(e,t){var r=e.className,n=e.disabled,i=e.enterKeyHint,u=e.onChange,c=e.onFocus,f=e.onKeyDown,d=e.onKeyDownCapture,h=e.onKeyPress,v=e.onSelect,m=e.placeholder,y=e.readOnly,T=e.tabIndex,b=e.value,g=p(e,s),_=(0,o.useRef)(),S=t||_;return(0,a.default)(S,i),o.default.createElement("input",l({"aria-disabled":n||void 0,className:r,onChange:n?void 0:u,onFocus:n?void 0:c,onKeyDown:n?void 0:f,onKeyDownCapture:n?void 0:d,onKeyPress:n?void 0:h,onSelect:n?void 0:v,placeholder:m,readOnly:y||n,ref:S,tabIndex:n?-1:T,value:b},g,{type:"text"}))}));f.defaultProps={className:void 0,disabled:void 0,enterKeyHint:void 0,inputMode:void 0,onChange:void 0,onFocus:void 0,onKeyDown:void 0,onKeyDownCapture:void 0,onKeyPress:void 0,onSelect:void 0,placeholder:void 0,readOnly:void 0,tabIndex:void 0,value:void 0},f.displayName="AccessibleInputText",f.propTypes={className:i.default.string,disabled:i.default.bool,enterKeyHint:i.default.string,inputMode:i.default.oneOf(["text","none","tel","url","email","numeric","decimal","search"]),onChange:i.default.func,onFocus:i.default.func,onKeyDown:i.default.func,onKeyDownCapture:i.default.func,onKeyPress:i.default.func,onSelect:i.default.func,placeholder:i.default.string,readOnly:i.default.bool,tabIndex:i.default.number,type:i.default.oneOf(["text"]).isRequired,value:i.default.string};var d=f;t.default=d},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=p(r(20)),o=p(r(5)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=p(r(1318)),u=p(r(672)),c=p(r(23));function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=(0,a.forwardRef)((function(e,t){var r=e["aria-label"],n=e.className,o=e["data-id"],l=e.disabled,p=e.enterKeyHint,d=e.inputMode,h=e.onChange,v=e.onFocus,m=e.onKeyDown,y=e.onKeyDownCapture,T=e.onKeyPress,b=e.onSelect,g=e.placeholder,_=e.readOnly,S=e.rows,A=e.textAreaClassName,E=e.value,C=f((0,c.default)(),1)[0].autoResizeTextArea;return(0,u.default)(t,p),a.default.createElement("div",{className:(0,i.default)("webchat__auto-resize-textarea",C+"",n)},a.default.createElement("div",{"aria-hidden":!0,className:"webchat__auto-resize-textarea__doppelganger"},E,"\xa0"),a.default.createElement(s.default,{"aria-label":r,className:(0,i.default)("webchat__auto-resize-textarea__textarea",A),"data-id":o,disabled:l,inputMode:d,onChange:h,onFocus:v,onKeyDown:m,onKeyDownCapture:y,onKeyPress:T,onSelect:b,placeholder:g,readOnly:_,ref:t,rows:S,value:E}))}));h.defaultProps={"aria-label":void 0,"data-id":void 0,className:void 0,disabled:void 0,enterKeyHint:void 0,inputMode:void 0,onChange:void 0,onFocus:void 0,onKeyDown:void 0,onKeyDownCapture:void 0,onKeyPress:void 0,onSelect:void 0,placeholder:void 0,readOnly:void 0,rows:void 0,textAreaClassName:void 0,value:""},h.propTypes={"aria-label":o.default.string,className:o.default.string,"data-id":o.default.string,disabled:o.default.bool,enterKeyHint:o.default.string,inputMode:o.default.oneOf(["text","none","tel","url","email","numeric","decimal","search"]),onChange:o.default.func,onFocus:o.default.func,onKeyDown:o.default.func,onKeyDownCapture:o.default.func,onKeyPress:o.default.func,onSelect:o.default.func,placeholder:o.default.string,readOnly:o.default.bool,rows:o.default.number,textAreaClassName:o.default.string,value:o.default.string};var v=h;t.default=v},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=r(5))&&i.__esModule?i:{default:i},a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=["className","disabled","inputMode","onChange","onFocus","onKeyDown","onKeyDownCapture","onKeyPress","onSelect","placeholder","readOnly","rows","tabIndex"];function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=(0,a.forwardRef)((function(e,t){var r=e.className,n=e.disabled,i=e.inputMode,o=e.onChange,u=e.onFocus,p=e.onKeyDown,f=e.onKeyDownCapture,d=e.onKeyPress,h=e.onSelect,v=e.placeholder,m=e.readOnly,y=e.rows,T=e.tabIndex,b=l(e,s),g=(0,a.useRef)(),_=t||g;return a.default.createElement("textarea",c({"aria-disabled":n||void 0,className:r,inputMode:i,onChange:n?void 0:o,onFocus:n?void 0:u,onKeyDown:n?void 0:p,onKeyDownCapture:n?void 0:f,onKeyPress:n?void 0:d,onSelect:n?void 0:h,placeholder:v,readOnly:m||n,ref:_,rows:y,tabIndex:n?-1:T},b))}));p.defaultProps={className:void 0,disabled:void 0,inputMode:void 0,onChange:void 0,onFocus:void 0,onKeyDown:void 0,onKeyDownCapture:void 0,onKeyPress:void 0,onSelect:void 0,placeholder:void 0,readOnly:void 0,rows:void 0,tabIndex:void 0,value:void 0},p.displayName="AccessibleTextArea",p.propTypes={className:o.default.string,disabled:o.default.bool,inputMode:o.default.oneOf(["text","none","tel","url","email","numeric","decimal","search"]),onChange:o.default.func,onFocus:o.default.func,onKeyDown:o.default.func,onKeyDownCapture:o.default.func,onKeyPress:o.default.func,onSelect:o.default.func,placeholder:o.default.string,readOnly:o.default.bool,rows:o.default.number,tabIndex:o.default.number,value:o.default.string};var f=p;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.altKey,r=e.target,n=e.target.tagName,i=r.getAttribute("autocomplete"),o=i&&"off"!==i;if("INPUT"===n){var a=r.list,s=r.type,u=r.value;if("button"===s||"checkbox"===s||"file"===s||"image"===s||"radio"===s||"reset"===s||"submit"===s)return!0;if("email"===s||"password"===s||"search"===s||"tel"===s||"text"===s||"url"===s){if(o||a)return!0;if(t||!u)return!0}}else{if("SELECT"===n)return!1;if("TEXTAREA"===n){if(!o&&(t||!r.value))return!0}else{if("true"!==r.getAttribute("contenteditable"))return!0;if(t||!r.innerHTML)return!0}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)().focusSendBoxCallbacksRef;(0,n.useEffect)((function(){if(e){var r=t.current;return r.push(e),function(){return(0,i.default)(r,e)}}}),[e,t])};var n=r(0),i=a(r(190)),o=a(r(44));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=o(s(),1)[0].emojiSet;return(0,i.useCallback)((function(t){var r=t.selectionEnd,n=t.selectionStart,i=t.value;return"number"!==typeof r?console.warn('botframework-webchat: The first argument passed to "useReplaceEmoticon" must contains "selectionEnd" of type number, indicating the caret position.'):"number"!==typeof n?console.warn('botframework-webchat: The first argument passed to "useReplaceEmoticon" must contains "selectionStart" of type number, indicating the caret position.'):"str
2ing"!==typeof i&&console.warn('botframework-webchat: The first argument passed to "useReplaceEmoticon" must contains "value" of type string.'),r===n&&Object.entries(e).every((function(e){var t=o(e,2),a=t[0],s=t[1],u=a.length;return i.slice(n-u,n)!==a||(i="".concat(i.slice(0,n-u)).concat(s).concat(i.slice(n)),r=n+=s.length-u,!1)})),{selectionEnd:r,selectionStart:n,value:i}}),[e])};var n=r(13),i=r(0);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=n.hooks.useStyleOptions},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(0))&&n.__esModule?n:{default:n};var o=function(){return i.default.createElement("svg",{focusable:!1,height:28,role:"presentation",viewBox:"0 0 25.75 46",width:28},i.default.createElement("path",{clipRule:"evenodd",d:"M20.75 11.75v21.37a7.69 7.69 0 0 1-.62 3.07 7.95 7.95 0 0 1-4.19 4.19 7.89 7.89 0 0 1-6.13 0 7.95 7.95 0 0 1-4.19-4.19 7.69 7.69 0 0 1-.62-3.07v-22.5a5.27 5.27 0 0 1 .45-2.17 5.69 5.69 0 0 1 3-3 5.48 5.48 0 0 1 4.35 0 5.69 5.69 0 0 1 3 3 5.27 5.27 0 0 1 .45 2.17v22.5a3.41 3.41 0 0 1-.26 1.32 3.31 3.31 0 0 1-1.8 1.8 3.46 3.46 0 0 1-2.63 0 3.31 3.31 0 0 1-1.8-1.8 3.41 3.41 0 0 1-.26-1.32V14h2.25v19.12a1.13 1.13 0 1 0 2.25 0v-22.5a3.4 3.4 0 0 0-.26-1.31 3.31 3.31 0 0 0-1.8-1.8 3.46 3.46 0 0 0-2.63 0 3.31 3.31 0 0 0-1.8 1.8 3.4 3.4 0 0 0-.26 1.31v22.5a5.32 5.32 0 0 0 .45 2.18 5.69 5.69 0 0 0 3 3 5.48 5.48 0 0 0 4.35 0 5.69 5.69 0 0 0 3-3 5.32 5.32 0 0 0 .45-2.18v-21.37z"}))};t.default=o},function(e,t,r){"use strict";var n=r(3);function i(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function s(e){i(a,n,o,s,u,"next",e)}function u(e){i(a,n,o,s,u,"throw",e)}s(void 0)}))}}function a(e,t,r,n){if(e<r&&t<n)return{height:t,width:e};var i=e/t;return i>r/n?{height:r/i,width:r}:{height:n,width:n*i}}function s(e,t){var r=document.createElement("canvas");return r.height=t,r.width=e,r}function u(e){var t=URL.createObjectURL(e);return new Promise((function(e,r){var n=document.createElement("img");n.addEventListener("error",(function(e){var t=e.error;return r(t)})),n.addEventListener("load",(function(){return e(n)})),n.setAttribute("src",t)})).finally((function(){URL.revokeObjectURL(t)}))}function c(){return(c=o(n.mark((function e(t,r,i,o,c){var l,p,f,d,h;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(t);case 2:return l=e.sent,p=a(l.width,l.height,r,i),f=p.height,d=p.width,h=s(d,f),h.getContext("2d").drawImage(l,0,0,d,f),e.abrupt("return",h.toDataURL(o,c));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){return c.apply(this,arguments)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new Promise((function(t,r){var n=new FileReader;n.onerror=function(e){var t=e.error,n=e.message;return r(t||new Error(n))},n.onloadend=function(){return t(n.result)},n.readAsArrayBuffer(e)}))}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){onmessage=function(e){var t=e.data,r=t.arrayBuffer,n=t.maxHeight,i=t.maxWidth,o=t.type,a=t.quality,s=e.ports[0];return Promise.resolve().then((function(){return createImageBitmap(new Blob([r],{resizeQuality:"high"}))})).then((function(e){var t=function(e,t,r,n){if(e<r&&t<n)return{height:t,width:e};var i=e/t;return i>r/n?{height:r/i,width:r}:{height:n,width:n*i}}(e.width,e.height,i,n),r=t.height,s=t.width,u=new OffscreenCanvas(s,r);return u.getContext("2d").drawImage(e,0,0,s,r),(u.convertToBlob||u.toBlob).bind(u)({type:o,quality:a})})).then((function(e){return function(e){return new Promise((function(t,r){var n=new FileReader;n.onerror=function(e){r(e.error||new Error(e.message))},n.onloadend=function(){t(n.result)},n.readAsDataURL(e)}))}(e)})).then((function(e){return s.postMessage({result:e})})).catch((function(e){console.error(e),s.postMessage({error:{message:e.message,stack:e.stack}})}))},postMessage("ready")}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=h(r(20)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=h(r(1327)),u=h(r(1328)),c=h(r(679)),l=h(r(436)),p=h(r(23)),f=h(r(40));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=i.hooks.useDebouncedNotifications,T=i.hooks.useLocalizer,b=i.hooks.useRenderToast,g={display:"flex",flexDirection:"column","& .webchat__toaster__header":{display:"flex",flexShrink:0},"& .webchat__toaster__expandText":{flex:1},"& .webchat__toaster__list":{display:"block",listStyleType:"none"}},_={error:1,warn:2,info:3,success:4};function S(e){return _[e]||5}function A(e,t){return S(e)-S(t)}var E=function(e){return e},C={two:"TOAST_ACCORDION_TWO",few:"TOAST_ACCORDION_FEW",many:"TOAST_ACCORDION_MANY",other:"TOAST_ACCORDION_OTHER"},O=function(){var e=(0,a.useMemo)(l.default,[]),t=v((0,p.default)(),1)[0].toaster,r=v(y(),1)[0],n=v((0,a.useState)(!1),2),i=n[0],d=n[1],h=T({plural:!0}),m=b(),_=(0,f.default)()(g)+"",S=(0,a.useCallback)((function(){return d(!i)}),[i,d]),O=(0,a.useMemo)((function(){return e=r,Object.values(e).sort((function(e,t){var r=e.timestamp;return t.timestamp-r}));var e}),[r]),I=(0,a.useMemo)((function(){return O.map((function(e){var t=m({notification:e});return t&&{children:t,notification:e}})).filter(E)}),[m,O]),w=I.length>1,P=v(I.map((function(e){return e.notification.level}
2)).sort(A),1)[0],N=(0,a.useMemo)((function(){return!w||i?"webchat__toaster__list__".concat(e):void 0}),[w,i,e]),R=(0,a.useMemo)((function(){return w?"webchat__toaster__header__".concat(e):void 0}),[w,e]);return(0,a.useEffect)((function(){!w&&d(!1)}),[w]),a.default.createElement("div",{"aria-labelledby":R,"aria-live":"polite","aria-relevant":"all",className:(0,o.default)("webchat__toaster",{"webchat__toaster--expandable":w,"webchat__toaster--expanded":i,"webchat__toaster--error":"error"===P,"webchat__toaster--info":"info"===P,"webchat__toaster--success":"success"===P,"webchat__toaster--warn":"warn"===P},_,t+""),role:"log"},w&&a.default.createElement("button",{"aria-controls":N,"aria-expanded":i,className:"webchat__toaster__header",id:R,onClick:S,type:"button"},a.default.createElement("div",{"aria-hidden":!0,className:"webchat__toaster__expandLevelIconBox"},a.default.createElement(c.default,{className:"webchat__toaster__expandLevelIcon",level:P})),a.default.createElement("div",{className:"webchat__toaster__expandText"},h(C,I.length)),a.default.createElement("div",{"aria-hidden":!0,className:"webchat__toaster__expandIcon"},a.default.createElement("div",{className:"webchat__toaster__expandIconFocus"},i?a.default.createElement(s.default,null):a.default.createElement(u.default,null)))),(!w||i)&&a.default.createElement("ul",{"aria-labelledby":R,className:"webchat__toaster__list",id:N,role:"region"},I.map((function(e){var t=e.children,r=e.notification.id;return a.default.createElement("li",{"aria-atomic":!0,className:"webchat__toaster__listItem",key:r,role:"none"},t)}))))};t.default=O},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(5)),i=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.className;return i.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"9",role:"presentation",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("path",{d:"M15.2734 8.97656L8 1.71094L0.726563 8.97656L0.0234375 8.27344L8 0.289062L15.9766 8.27344L15.2734 8.97656Z"}))};a.defaultProps={className:void 0},a.propTypes={className:n.default.string};var s=a;t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(5)),i=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.className;return i.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"10",role:"presentation",viewBox:"0 0 16 10",width:"16",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("path",{d:"M15.1484 0.648437L15.8516 1.35156L8 9.20312L0.148438 1.35156L0.851563 0.648438L8 7.79687L15.1484 0.648437Z"}))};a.defaultProps={className:void 0},a.propTypes={className:n.default.string};var s=a;t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(5)),i=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e["aria-label"],r=e.className;return i.default.createElement("svg",{"aria-label":t,className:(r||"")+"",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("path",{d:"M14.5605 5.81055L15.4395 6.68945L8.125 14.0039L4.56055 10.4395L5.43945 9.56055L8.125 12.2461L14.5605 5.81055ZM10 0C10.918 0 11.8034 0.120443 12.6562 0.361328C13.5091 0.595703 14.3066 0.93099 15.0488 1.36719C15.791 1.79688 16.4648 2.31771 17.0703 2.92969C17.6823 3.53516 18.2031 4.20898 18.6328 4.95117C19.069 5.69336 19.4043 6.49089 19.6387 7.34375C19.8796 8.19661 20 9.08203 20 10C20 10.918 19.8796 11.8034 19.6387 12.6562C19.4043 13.5091 19.069 14.3066 18.6328 15.0488C18.2031 15.791 17.6823 16.4681 17.0703 17.0801C16.4648 17.6855 15.791 18.2064 15.0488 18.6426C14.3066 19.0723 13.5091 19.4076 12.6562 19.6484C11.8034 19.8828 10.918 20 10 20C9.08203 20 8.19661 19.8828 7.34375 19.6484C6.49089 19.4076 5.69336 19.0723 4.95117 18.6426C4.20898 18.2064 3.5319 17.6855 2.91992 17.0801C2.31445 16.4681 1.79362 15.791 1.35742 15.0488C0.927734 14.3066 0.592448 13.5124 0.351562 12.666C0.117188 11.8132 0 10.9245 0 10C0 9.08203 
20.117188 8.19661 0.351562 7.34375C0.592448 6.49089 0.927734 5.69336 1.35742 4.95117C1.79362 4.20898 2.31445 3.53516 2.91992 2.92969C3.5319 2.31771 4.20898 1.79688 4.95117 1.36719C5.69336 0.93099 6.48763 0.595703 7.33398 0.361328C8.18685 0.120443 9.07552 0 10 0ZM10 18.75C10.8008 18.75 11.5723 18.6458 12.3145 18.4375C13.0632 18.2292 13.7598 17.9362 14.4043 17.5586C15.0553 17.1745 15.6478 16.7155 16.1816 16.1816C16.7155 15.6478 17.1712 15.0586 17.5488 14.4141C17.9329 13.763 18.2292 13.0664 18.4375 12.3242C18.6458 11.582 18.75 10.8073 18.75 10C18.75 9.19922 18.6458 8.42773 18.4375 7.68555C18.2292 6.93685 17.9329 6.24023 17.5488 5.5957C17.1712 4.94466 16.7155 4.35221 16.1816 3.81836C15.6478 3.28451 15.0553 2.82878 14.4043 2.45117C13.7598 2.06706 13.0632 1.77083 12.3145 1.5625C11.5723 1.35417 10.8008 1.25 10 1.25C9.19922 1.25 8.42448 1.35417 7.67578 1.5625C6.93359 1.77083 6.23698 2.06706 5.58594 2.45117C4.94141 2.82878 4.35221 3.28451 3.81836 3.81836C3.28451 4.35221 2.82552 4.94466 2.44141 5.5957C2.0638 6.24023 1.77083 6.93685 1.5625 7.68555C1.35417 8.42773 1.25 9.19922 1.25 10C1.25 10.8008 1.35417 11.5755 1.5625 12.3242C1.77083 13.0664 2.0638 13.763 2.44141 14.4141C2.82552 15.0586 3.28451 15.6478 3.81836 16.1816C4.35221 16.7155 4.94141 17.1745 5.58594 17.5586C6.23698 17.9362 6.93359 18.2292 7.67578 18.4375C8.41797 18.6458 9.19271 18.75 10 18.75Z",fill:"#107C10"}))};a.defaultProps={"aria-label":void 0,className:void 0},a.propTypes={"aria-label":n.default.string,className:n.default.string};var s=a;t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(5)),i=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e["aria-label"],r=e.className;return i.default.createElement("svg",{"aria-label":t,className:(r||"")+"",height:"19",viewBox:"0 0 19 19",width:"19",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("path",{d:"M9.375 0C10.2409 0 11.071 0.110677 11.8652 0.332031C12.666 0.553385 13.4147 0.869141 14.1113 1.2793C14.8079 1.68294 15.4395 2.17122 16.0059 2.74414C16.5788 3.31055 17.0671 3.94206 17.4707 4.63867C17.8809 5.33529 18.1966 6.08398 18.418 6.88477C18.6393 7.67904 18.75 8.50911 18.75 9.375C18.75 10.2409 18.6393 11.0742 18.418 11.875C18.1966 12.6693 17.8809 13.4147 17.4707 14.1113C17.0671 14.8079 16.5788 15.4427 16.0059 16.0156C15.4395 16.582 14.8079 17.0703 14.1113 17.4805C13.4147 17.8841 12.666 18.1966 11.8652 18.418C11.071 18.6393 10.2409 18.75 9.375 18.75C8.50911 18.75 7.67578 18.6393 6.875 18.418C6.08073 18.1966 5.33529 17.8841 4.63867 17.4805C3.94206 17.0703 3.30729 16.582 2.73438 16.0156C2.16797 15.4427 1.67969 14.8079 1.26953 14.1113C0.865885 13.4147 0.553385 12.6693 0.332031 11.875C0.110677 11.0742 0 10.2409 0 9.375C0 8.50911 0.110677 7.67904 0.332031 6.88477C0.553385 6.08398 0.865885 5.33529 1.26953 4.63867C1.67969 3.94206 2.16797 3.31055 2.73438 2.74414C3.30729 2.17122 3.94206 1.68294 4.63867 1.2793C5.33529 0.869141 6.08073 0.553385 6.875 0.332031C7.67578 0.110677 8.50911 0 9.375 0ZM9.375 17.5C10.1172 17.5 10.8333 17.4023 11.5234 17.207C12.2201 17.0117 12.8678 16.7383 13.4668 16.3867C14.0723 16.0352 14.6224 15.612 15.1172 15.1172C15.612 14.6224 16.0352 14.0755 16.3867 13.4766C16.7383 12.8711 17.0117 12.2233 17.207 11.5332C17.4023 10.8431 17.5 10.1237 17.5 9.375C17.5 8.63281 17.4023 7.91667 17.207 7.22656C17.0117 6.52995 16.7383 5.88216 16.3867 5.2832C16.0352 4.67773 15.612 4.1276 15.1172 3.63281C14.6224 3.13802 14.0723 2.71484 13.4668 2.36328C12.8678 2.01172 12.2201 1.73828 11.5234 1.54297C10.8333 1.34766 10.1172 1.25 9.375 1.25C8.6263 1.25 7.9069 1.34766 7.2168 1.54297C6.52669 1.73828 5.87891 2.01172 5.27344 2.36328C4.67448 2.71484 4.1276 3.13802 3.63281 3.63281C3.13802 4.1276 2.71484 4.67773 2.36328 5.2832C2.01172 5.88216 1.73828 6.52995 1.54297 7.22656C1.34766 7.91667 1.25 8.63281 1.25 9.375C1.25 10.1172 1.34766 10.8366 1.54297 11.5332C1.73828 12.2233 2.01172 12.8711 2.36328 13.4766C2.71484 14.0755 3.13802 14.6224 3.63281 15.1172C4.1276 15.612 4.67448 16.0352 5.27344 16.3867C5.87891 16.7383 6.52669 17.0117 7.2168 17.207C7.9069 17.4023 8.6263 17.5 9.375 17.5ZM8.75 5H10V11.25H8.75V5ZM8.75 12.5H10V13.75H8.75V12.5Z"}))};a.defaultProps={"aria-label":void 0,className:void 0},a.propTypes={"aria-label":n.default.string,className:n.default.string};var s=a;t.default=s},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=r(860),a=j(r(20)),s=j(r(5)),u=j(r(86)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=L(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),l=j(r(680)),p=j(r(1332)),f=j(r(1333)),d=j(r(681)),h=j(r(415)),v=j(r(1334)),m=j(r(1335)),y=j(r(321)),T=j(r(190)),b=j(r(1336)),g=j(r(74)),_=j(r(682)),S=j(r(1353)),A=j(r(1354)),E=j(r(1357)),C=j(r(1358)),O=j(r(158)),I=j(r(1359)),w=j(r(1360)),P=j(r(1361)),N=j(r(1362)),R=j(r(1363)),k=j(r(23)),x=j(r(40)),M=j(r(138));function L(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(L=function(e){return e?r:t})(e)}function j(e){return e&&e.__esModule?e:{default:e}}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||z(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||z(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){if(e){if("string"===typeof e)return H(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(e,t):void 0}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var G=i.hooks.useActivities,q=i.hooks.useCreateActivityRenderer,Y=i.hooks.useCreateActivityStatusRenderer,W=i.hooks.useCreateAvatarRenderer,K=i.hooks.useCreateScrollToEndButtonRenderer,$=i.hooks.useDirection,J=i.hooks.useGroupActivities,X=i.hooks.useLocalizer,Z=i.hooks.useStyleOptions,Q={"&.webchat__basic-transcript":{display:"flex",flexDirection:"column",overflow:"hidden",position:"relative","& .webchat__basic-transcript__filler":{flex:1},"& .webchat__basic-transcript__scrollable":{display:"flex",flexDirection:"column",overflowX:"hidden",WebkitOverflowScrolling:"touch"},"& .webchat__basic-transcript__transcript":{listStyleType:"none"}}};function ee(e,t){return e.every((function(e){return t.some((function(t){return t.includes(e)}))}))}var te=function(e){var t=e.activityElementsRef,r=e.className,n=V((0,k.default)(),1)[0].basicTranscript,i=V(Z(),1)[0],s=i.bubbleFromUserNubOffset,l=i.bubbleNubOffset,L=i.groupTimestamp,j=i.internalLiveRegionFadeAfter,D=i.showAvatarInGroup,B=V((0,c.useState)(),2),z=B[0],H=B[1],K=V(G(),1)[0],te=V($(),1)[0],ne=q(),ie=Y(),oe=W(),ae=(0,O.default)(),se=J(),ue=X(),ce=(0,x.default)()(Q)+"",le=(0,c.useRef)(),pe=(0,c.useRef)(),fe=ue("ACTIVITY_INTERACTIVE_LABEL_ALT"),de=ue("TRANSCRIPT_TERMINATOR_TEXT"),he=ue("TRANSCRIPT_ARIA_LABEL_ALT"),ve=ue("TRANSCRIPT_ARIA_ROLE_ALT"),me=!1===L,ye=(0,c.useCallback)((function(e,t){return ne({activity:e,nextVisibleActivity:t})}),[ne]),Te=(0,I.default)(ye,(function(e){for(var t,r=[],n=K.length-1;n>=0;n--){var i=K[n],o=e(i,t);o&&(r.splice(0,0,{activity:i,renderActivity:o}),t=i)}return r}),[K]),be=(0,c.useMemo)((function(){return Te.map((function(e){return e.activity}))}),[Te]),ge=(0,c.useMemo)((function(){var e=se({activities:be}),t=e.sender,r=e.status;return ee(be,t)||console.warn('botframework-webchat: Not every activities are grouped in the "sender" property. Please fix "groupActivitiesMiddleware" and group every activities.'),ee(be,r)||console.warn('botframework-webchat: Not every activities are grouped in the "status" property. Please fix "groupActivitiesMiddleware" and group every activities.'),{activitiesGroupBySender:t,activitiesGroupByStatus:r}}),[se,be]),_e=ge.activitiesGroupBySender,Se=ge.activitiesGroupByStatus,Ae=(0,c.useMemo)((function(){for(var e=F(be),t=[],r=function(){var r=V(e,1)[0],n=[],i=_e.find((function(e){return e.includes(r)}));
2t.push(n),i.forEach((function(t){var r=Se.find((function(e){return e.includes(t)})),o=(0,m.default)(e,i,r);o.length&&(n.push(o),T.default.apply(void 0,[e].concat(F(o))))}))};e.length;)r();return be.every((function(e){return t.some((function(t){return t.some((function(t){return t.includes(e)}))}))}))||console.warn("botframework-webchat internal: Not all visible activities are grouped in the activityTree.",{visibleActivities:be,activityTree:t}),t}),[_e,Se,be]),Ee=(0,c.useMemo)((function(){var e=[],r=(0,y.default)(l),n=(0,y.default)(s);Ae.forEach((function(i){var o=V(i,1),a=V(o[0],1)[0],s=oe({activity:a});i.forEach((function(o,a){var u=!a,c=a===i.length-1;o.forEach((function(i,a){var l,p,f,v,m,y,T=ie({activity:i}),b=!a,g=a===o.length-1,_=Te.find((function(e){return e.activity===i})).renderActivity,S=(0,d.default)(i)||e.length,A="string"===typeof(null===i||void 0===i||null===(l=i.channelData)||void 0===l?void 0:l["webchat:fallback-text"])?null===i||void 0===i||null===(p=i.channelData)||void 0===p?void 0:p["webchat:fallback-text"]:(null===i||void 0===i||null===(f=i.channelData)||void 0===f||null===(v=f.messageBack)||void 0===v?void 0:v.displayText)||i.text,E=""!==(null===i||void 0===i||null===(m=i.channelData)||void 0===m?void 0:m["webchat:fallback-text"]),C=i.from.role,O="user"===C?n:r;y="sender"===D?O?u&&b:c&&g:"status"!==D||(O?b:g);var I=function(){H((0,d.default)(i));var e=le.current;e&&e.focus()};e.push({activity:i,callbackRef:function(e){var r=t.current.find((function(e){return e.activityID===i.id}));r&&(r.element=e)},focusActivity:I,handleFocus:function(){H((0,d.default)(i))},handleKeyDown:function(e){if("Escape"===e.key){e.preventDefault(),e.stopPropagation(),H((0,d.default)(i));var t=le.current;t&&t.focus()}},handleMouseDownCapture:function(e){var t=e.target,r=(0,h.default)(t);("number"!==typeof r||r<0||"true"===t.getAttribute("aria-disabled"))&&I()},hideTimestamp:me||a!==o.length-1,key:S,liveRegionKey:S+"|"+A,renderActivity:_,renderActivityStatus:T,renderAvatar:s,role:C,shouldSpeak:i.channelData&&i.channelData.speak,showCallout:y,supportScreenReader:E})}))}))}));var i=t.current;if(t.current=e.map((function(e){var t=e.activity,r=e.activity.id,n=e.elementId,o=e.key,a=i.find((function(e){return e.key===o}));return{activity:t,activityID:r,ariaLabelID:a?a.ariaLabelID:"webchat__basic-transcript__activity-label-".concat((0,u.default)().toString(36).substr(2,5)),element:a&&a.element,elementId:n,key:o}})),!e.find((function(e){return e.focused}))){var o=e[e.length-1];o&&(o.focused=!0)}return e}),[Te,t,Ae,s,l,ie,oe,me,le,D]),Ce=(0,c.useMemo)((function(){return Ee.map((function(e){return e.activity}))}),[Ee]),Oe=(0,o.useScrollTo)(),Ie=(0,o.useScrollToEnd)(),we=(0,c.useCallback)((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.behavior,i=void 0===n?"auto":n;if(!e)throw new Error('botframework-webchat: First argument passed to "useScrollTo" must be a ScrollPosition object.');var o=e.activityID,a=e.scrollTop;if("undefined"!==typeof a)Oe(a,{behavior:i});else if("undefined"!==typeof o){var s=le.current,u=t.current.find((function(e){return e.activityID===o}))||{},c=u.element,l=s.querySelector(".webchat__basic-transcript__scrollable");if(l&&c){var p=c.getClientRects(),f=V(p,1),d=f[0],h=d.height,v=d.y,m=l.getClientRects(),y=V(m,1),T=y[0].height,b=v+l.scrollTop,g=Math.min(b,b-T+h);Oe(g,{behavior:i})}}}
2),[t,le,Oe]),Pe=(0,c.useCallback)((function(){return Ie({behavior:"smooth"})}),[Ie]),Ne=(0,c.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.displacement,n=le.current;if(n){var i,o=n.querySelector(".webchat__basic-transcript__scrollable");i="number"===typeof r?o.scrollTop+("down"===e?1:-1)*r:o.scrollTop+("down"===e?1:-1)*o.offsetHeight,we({scrollTop:Math.max(0,Math.min(o.scrollHeight-o.offsetHeight,i))},{behavior:"smooth"})}}),[le,we]);(0,N.default)(we),(0,R.default)(Pe),(0,P.default)(Ne);var Re=(0,E.default)(),ke=(0,c.useMemo)((function(){if(Re)return function(e){var r=e.scrollTop,n=le.current;if(n){var i=n.querySelector(".webchat__basic-transcript__scrollable"),o=V(i.getClientRects(),1)[0],a=(o=void 0===o?{}:o).height,s=((i.scrollTop?F(t.current).reverse().find((function(e){var t=e.element;if(!t)return!1;var r=V(t.getClientRects(),1)[0];return(r=void 0===r?{}:r).y<a})):t.current[0])||{}).activityID;Re(U(U({},s?{activityID:s}:{}),{},{scrollTop:r}))}}}),[t,Re,le]);(0,o.useObserveScrollPosition)(ke);var xe=V((0,A.default)(),1)[0],Me=K.indexOf(xe),Le=(0,c.useMemo)((function(){return z&&"webchat__basic-transcript__active-descendant-".concat((0,u.default)().toString(36).substr(2,5))}),[z]),je=(0,c.useCallback)((function(){var e=Le&&document.getElementById(Le);if(e&&!e.contains(document.activeElement))if("scrollBehavior"in document.documentElement.style)e.scrollIntoView({block:"nearest"});else{var t=le.current.querySelector(".webchat__basic-transcript__scrollable"),r=e.offsetTop,n=e.offsetTop+e.offsetHeight;r<t.scrollTop?t.scrollTop=r:n>t.scrollTop+t.offsetHeight&&(t.scrollTop=n-t.offsetHeight)}}),[Le,le]),De=(0,c.useCallback)((function(e){e.currentTarget===e.target&&je()}),[je]);(0,c.useEffect)((function(){return je()}),[je]),(0,c.useEffect)((function(){return H(void 0)}),[K,H]);var Ue=(0,c.useCallback)((function(e){if(isNaN(e)||!Ee.length)return H(void 0);var t=Ee.findIndex((function(e){return e.key===z})),r=~t?Math.max(0,Math.min(Ee.length-1,t+e)):Ee.length-1,n=Ee[r];H(n.key),le.current&&le.current.focus()}),[z,Ee,le,H]),Be=(0,c.useCallback)((function(e){var r=e.target,n=r===pe.current,i=r===e.currentTarget;if(n||i){var o=!0;switch(e.key){case"ArrowDown":Ue(n?0:1);break;case"ArrowUp":Ue(n?0:-1);break;case"End":Ue(1/0);break;case"Enter":if(!n){var a=Ee.find((function(e){return e.key===z}));if(a){var s=(t.current.find((function(e){return e.activity===a.activity}))||{}).element;if(s){var u=V((0,S.default)(s).filter((function(e){return"webchat__basic-transcript__activity-sentinel"!==e.className})),1)[0];u&&u.focus()}}}break;case"Escape":ae("sendBoxWithoutKeyboard");break;case"Home":Ue(-1/0);break;default:o=!1}o&&(e.preventDefault(),e.stopPropagation())}}),[z,t,Ue,ae,pe,Ee]),Fe=(0,M.default)("webchat__basic-transcript__label"),Ve=(0,c.useCallback)((function(){if(!~Ee.findIndex((function(e){return e.key===z}))){var e=(Ee[Ee.length-1]||{}).key;H(e)}}),[z,Ee,H]),ze=(0,c.useCallback)((function(e){var t=e.altKey,r=e.ctrlKey,n=e.key,i=e.metaKey,o=e.target;t||r&&"v"!==n||i||!(0,v.default)(n)&&"Backspace"!==n||o!==e.currentTarget&&o!==pe.current||(e.stopPropagation(),ae("sendBox"))}),[ae]),He=(0,c.useCallback)((function(){return le.current&&le.current.focus()}),[le]);(0,w.default)(He);var Ge=(0,c.useCallback)((function(e){H(e),le.current&&le.current.focus()}),[H]),qe=(0,C.default)(),Ye=(0,c.useMemo)((function(){return(Ee.find((function(e){return e.key===z}))||{}).activity}),[z,Ee]);(0,c.useMemo)((function(){return qe&&qe({activity:Ye})}),[qe,Ye]);var We=(0,c.useCallback)((function(){var e=le.current;e&&e.focus()}),[le]);return c.default.createElement("div",{"aria-activedescendant":z?Le:void 0,"aria-labelledby":Fe,className:(0,a.default)("webchat__basic-transcript",n+"",ce,(r||"")+""),dir:te,onFocus:De,onKeyDown:Be,onKeyDownCapture:ze,ref:le,role:"group",tabIndex:0},c.default.createElement(g.default,{id:Fe,text:he}),c.default.createElement("section",{"aria-atomic":!1,"aria-live":"polite","aria-relevant":"additions","aria-roledescription":ve,role:"log"},Ee.filter((function(e){return e.supportScreenReader})).map((function(e){var t=e.activity,r=e.liveRegionKey;return c.default.createElement(p.default,{fadeAfter:j,key:r},(function(){return c.default.createElement(b.default,{activity:t})}))}))),c.default.createElement(re,{activities:Ce,onFocusActivity:Ge,onFocusFiller:We,terminatorRef:pe},Ee.map((function(e,r){var n=e.activity,i=e.callbackRef,o=e.focusActivity,s=e.handleFocus,u=e.handleKeyDown,l=e.handleMouseDownCapture,p=e.hideTimestamp,d=e.key,h=e.renderActivity,v=e.renderActivityStatus,m=e.renderAvatar,y=e.role,T=e.shouldSpeak,g=e.showCallout,A=e.supportScreenReader,E=t.current.find((function(e){return e.activity===n}))||{},C=E.ariaLabelID,O=E.element,I=z===d,w=!(!O||!(0,S.default)(O.querySelector(".webchat__basic-transcript__activity-box")).length);return c.default.createElement("li",{"aria-labelledby":C,className:(0,a.default)("webchat__basic-transcript__activity",{"webchat__basic-transcript__activity--acknowledged":r<=Me,"webchat__basic-transcript__activity--from-bot":"user"!==y,"webchat__basic-transcript__activity--from-user":"user"===y}),id:I?Le:void 0,key:d,onFocus:s,onKeyDown:u,onMouseDownCapture:l,ref:i},A&&c.default.createElement(b.default,{activity:n,id:C,renderAttachments:!1},!!w&&c.default.createElement("p",null,fe)),c.default.createElement(f.default,{className:"webchat__basic-transcript__activity-sentinel",onFocus:o,redirectRef:le}),c.default.createElement("div",{className:"webchat__basic-transcript__activity-box"},h({hideTimestamp:p,renderActivityStatus:v,renderAvatar:m,showCallout:g})),T&&c.default.createElement(_.default,{activity:n}),c.default.createElement(f.default,{className:"webchat__basic-transcript__activity-sentinel",onFocus:o,redirectRef:le}),c.default.createElement("div",{className:(0,a.default)("webchat__basic-transcript__activity-indicator",{"webchat__basic-transcript__activity-indicator--first":!r,"webchat__basic-transcript__activity-indicator--focus":I})}))}))),!!Ee.length&&c.default.createElement(c.default.Fragment,null,c.default.createElement(f.default,{className:"webchat__basic-transcript__sentinel",onFocus:Ve,redirectRef:le}),c.default.createElement("div",{className:"webchat__basic-transcript__terminator",ref:pe,tabIndex:0},c.default.createElement("div",{className:"webchat__basic-transcript__terminator-body"},c.default.createElement("div",{className:"webchat__basic-transcript__terminator-text"},de)))),c.default.createElement("div",{className:"webchat__basic-transcript__focus-indicator"}))};te.defaultProps={className:""},te.propTypes={activityElementsRef:s.default.shape({current:s.default.array.isRequired}).isRequired,className:s.default.string};s.default.arrayOf(s.default.shape({activity:s.default.any,liveRegionKey:s.default.string})).isRequired;var re=function(e){var t=e.activities,r=e.children,n=e.onFocusActivity,i=e.onFocusFiller,s=e.terminatorRef,u=V((0,k.default)(),1)[0].activities,p=V((0,o.useAnimatingToEnd)(),1)[0],h=V((0,o.useAtEnd)(),1)[0],v=V((0,o.useSticky)(),1)[0],m=V(Z(),1)[0],y=(0,d.default)(t[t.length-1]||{}),T=X(),b=(0,o.useScrollToEnd)(),g=(0,c.useRef)(y),_=T("TRANSCRIPT_ARIA_ROLE_ALT"),S=(0,c.useCallback)((function(){b({behavior:"smooth"});var e=t.findIndex((function(e){return e.id===g.current}));if(~e){var r=t[e+1];if(r)return n((0,d.default)(r))}var i=s.current;i&&i.focus()}),[t,g,n,b,s]);(h||v)&&(g.current=y);var A=K()({atEnd:p||h||v,styleOptions:m,unread:y!==g.current&&!!~t.findIndex((function(e){return(0,d.default)(e)===g.current}))});return c.default.createElement(c.default.Fragment,null,A&&c.default.createElement(A,{onClick:S}),!!c.default.Children.count(r)&&c.default.createElement(f.default,{className:"webchat__basic-transcript__sentinel",redirectRef:s}),c.default.createElement(o.Panel,{className:"webchat__basic-transcript__scrollable"}
2,c.default.createElement("div",{"aria-hidden":!0,className:"webchat__basic-transcript__filler",onFocus:i}),c.default.createElement("ul",{"aria-roledescription":_,className:(0,a.default)(u+"","webchat__basic-transcript__transcript"),role:"list"},r),c.default.createElement(l.default,null)))};re.propTypes={activities:s.default.array.isRequired,children:s.default.any.isRequired,onFocusActivity:s.default.func.isRequired,onFocusFiller:s.default.func.isRequired,terminatorRef:s.default.any.isRequired};var ne=function(e){var t=e.activityElementsRef,r=e.scrollerRef,n=V(Z(),1)[0],i=n.autoScrollSnapOnActivity,o=n.autoScrollSnapOnActivityOffset,a=n.autoScrollSnapOnPage,s=n.autoScrollSnapOnPageOffset,u=V(G(),1)[0],l=V((0,A.default)(),1)[0],p=(0,c.useRef)(u),f=(0,c.useRef)(l);return p.current=u,f.current=l,r.current=(0,c.useCallback)((function(e){var r=e.offsetHeight,n=e.scrollTop,u="number"===typeof i?Math.max(0,i):i?1:0,c="number"===typeof a?Math.max(0,Math.min(1,a)):a?1:0,l="number"===typeof o?o:0,d="number"===typeof s?s:0;if(u||c){var h=p.current,v=t.current,m=f.current,y=[],T=h.indexOf(m);if(~T){for(var b=-1,g=function(e,t){var r=h[e],n=v.findIndex((function(e){return e.activity===r}));if(~n)return b=n,"break"},_=T+1,S=h.length;_<S;_++){if("break"===g(_))break}if(~b){if(u){var A=v[b+u-1].element;A&&y.push(A.offsetTop+A.offsetHeight-r-n+l)}if(c){var E=v[b].element;y.push(E.offsetTop-n-r*(1-c)+d)}}}return y.reduce((function(e,t){return Math.min(e,t)}),1/0)}return 1/0}),[p,t,i,o,a,s,f]),!1},ie=function(e){var t=e.className,r=(0,c.useRef)([]),n=(0,c.useRef)((function(){return 1/0})),i=(0,c.useCallback)((function(){return n.current.apply(n,arguments)}),[n]);return c.default.createElement(o.Composer,{scroller:i},c.default.createElement(ne,{activityElementsRef:r,scrollerRef:n}),c.default.createElement(te,{activityElementsRef:r,className:t}))};ie.defaultProps={className:""},ie.propTypes={className:s.default.string};var oe=ie;t.default=oe},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(0),o=(n=r(5))&&n.__esModule?n:{default:n};function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(e){var t=e.children,r=e.fadeAfter,n=a((0,i.useState)(!1),2),o=n[0],s=n[1];return(0,i.useLayoutEffect)((function(){s(!1);var e=setTimeout((function(){return s(!0)}),r);return function(){return clearTimeout(e)}}),[r]),!o&&("function"===typeof t?t():t)};u.defaultProps={children:void 0,fadeAfter:1e3},u.propTypes={children:o.default.oneOfType([o.default.element,o.default.func]),fadeAfter:o.default.number};var c=u;t.default=c},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=r(5))&&i.__esModule?i:{default:i},a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(i,a,u):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0));function s(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}var u=function(e){var t=e.className,r=e.onFocus,n=e.redirectRef,i=(0,a.useCallback)((function(){var e=n.current;e&&e.focus(),r&&r()}),[r,n]);return a.default.createElement("div",{className:t,onFocus:i,tabIndex:0})};u.defaultProps={className:void 0,onFocus:void 0},u.propTypes={className:o.default.string,onFocus:o.default.func,redirectRef:o.default.shape({current:o.default.any}).isRequired};var c=u;t.default=c},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return 1===e.length?e:n[e]};var n={Add:"+",Decimal:".",Divide:"/",Multiply:"*",Subtract:"-"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((function(e,t){return e.reduce((function(e,r){return t.includes(r)&&e.push(r),e}),[])}),e)}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=f(r(20)),a=f(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=f(r(1337)),c=f(r(40)),l=f(r(438));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=i.hooks.useAvatarForBot,m=i.hooks.useCreateAttachmentForScreenReaderRenderer,y=i.hooks.useDateFormatter,T=i.hooks.useLocalizer,b={"&.webchat__screen-reader-activity":{color:"transparent",height:1,opacity:0,overflow:"hidden",position:"absolute",top:0,whiteSpace:"nowrap",width:1}},g={few:"ACTIVITY_NUM_ATTACHMENTS_FEW_ALT",many:"ACTIVITY_NUM_ATTACHMENTS_MANY_ALT",one:"ACTIVITY_NUM_ATTACHMENTS_ONE_ALT",other:"ACTIVITY_NUM_ATTACHMENTS_OTHER_ALT",two:"ACTIVITY_NUM_ATTACHMENTS_TWO_ALT"},_=function(e){var t=e.activity,r=e.renderAttachments,n=t.attachments,i=void 0===n?[]:n,o=m(),a=T({plural:!0}),u=r?i.map((function(e){return o({activity:t,attachment:e})})).filter((function(e){return e})):[],c=i.length-u.length,l=!!c&&a(g,c);return s.default.createElement(s.Fragment,null,!!u.length&&s.default.createElement("ul",null,u.map((function(e,t){return s.default.createElement("li",{key:t},e())}))),l&&s.default.createElement("p",null,l))};_.propTypes={activity:a.default.shape({attachments:a.default.array}).isRequired,renderAttachments:a.default.bool.isRequired};var S=function(e){var t=e.activity,r=e.children,n=e.id,i=e.renderAttachments,a=d(v(),1)[0].initials,p=y(),f=T(),h=(0,l.default)(),m=(0,c.default)()(b)+"",g=(0,s.useMemo)((function(){return(0,u.default)(t,h)}),[t,h]),S=t.channelData,A=(S=void 0===S?{}:S)["webchat:fallback-text"],E=t.from,C=(E=void 0===E?{}:E).role,O=t.timestamp,I=("user"===C?f("ACTIVITY_YOU_SAID_ALT"):f("ACTIVITY_BOT_SAID_ALT",a||"")).replace(/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]{2,}/g," "),w=f("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",p(O));return s.default.createElement("article",{"aria-atomic":!0,"aria-roledescription":"message",className:(0,o.default)("webchat__screen-reader-activity",m),id:n,role:"region"},s.default.createElement("p",null,s.default.createElement("span",null,I),s.default.createElement("span",null,g)),!A&&s.default.createElement(_,{activity:t,renderAttachments:i}),s.default.createElement("p",{className:"webchat__screen-reader-activity__timestamp"},w),r)};S.defaultProps={children:void 0,id:void 0,renderAttachments:!0},S.propTypes={activity:a.default.any.isRequired,children:a.default.any,id:a.default.string,renderAttachments:a.default.bool};var A=S;t.default=A},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n,a;if("message"!==e.type)return!1;var u=null===e||void 0===e||null===(r=e.channelData)||void 0===r?void 0:r["webchat:fallback-text"];if("string"===typeof u)return u||!1;var c=(null===e||void 0===e||null===(n=e.channelData)||void 0===n||null===(a=n.messageBack)||void 0===a?void 0:a.displayText)||e.text;if(!c)return"";if(t&&"text/markdown"===(0,i.default)(e.textFormat))return function(e){return function(e,t){var r=[].slice.call(e.childNodes),n=[];for(;r.length;){var i=r.shift(),a=i.childNodes;n.push.apply(n,o(t(i)||[])),r.unshift.apply(r,o([].slice.call(a)))}return n}(e,(function(e){var t=e.nodeType,r=e.tagName,n=e.textContent;return t===Node.TEXT_NODE?[n]:"IMG"===r?[e.getAttribute("alt")]:s.includes(r)?void 0:["\n"]}))}((new DOMParser).parseFromString(t(c),"text/html")).join("").replace(/\n{2,}/g,"\n").trim();return c};var n,i=(n=r(437))&&n.__esModule?n:{default:n};function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=["A","ABBR","ACRONYM","AUDIO","B","BDI","BDO","BIG","BR","BUTTON","CANVAS","CITE","CODE","DATA","DATALIST","DEL","DFN","EM","EMBED","I","IFRAME","IMG","INPUT","INS","KBD","LABEL","MAP","MARK","METER","NOSCRIPT","OBJECT","OUTPUT","PICTURE","PROGRESS","Q","RUBY","S","SAMP","SCRIPT","SELECT","SLOT","SMALL","SPAN","STRONG","SUB","SUP","SVG","TEMPLATE","TEXTAREA","TIME","U","TT","VAR","VIDEO","WBR"]},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){throw new TypeError('"'+e+'" is read-only')},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[],r=function(){return o.default.async((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e){r.next=2;break}return r.abrupt("return");case 2:return e=!0,r.prev=3,r.next=6,o.default.awrap(function(){var e;return o.default.async((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=t[0])){r.next=12;break}return r.prev=1,r.next=4,o.default.awrap(e.speak());case 4:r.next=9;break;case 6:r.prev=6,r.t0=r.catch(1),"cancelled"!==r.t0.message&&console.error(r.t0);case 9:t=t.filter((function(t){return t!==e})),r.next=0;break;case 12:case"end":return r.stop()}}),null,null,[[1,6]])}());case 6:return r.prev=6,e=!1,r.finish(6);case 9:case"end":return r.stop()}}),null,null,[[3,,6,9]])};return function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=o.onEnd,u=o.onError,c=o.onStart;if(!(n instanceof e.SpeechSynthesisUtterance))throw new Error("utterance must be instance of the ponyfill");var l=new a.default(e,n,{onEnd:s,onError:u,onStart:c});return t=[].concat((0,i.default)(t),[l]),r(),{cancel:function(){return l.cancel()},promise:l.promise}}};var i=n(r(1341)),o=n(r(249)),a=n(r(1345))},function(e,t,r){var n=r(1342),i=r(1343),o=r(641),a=r(1344);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(642);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(84);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(1346)),o=n(r(1347)),a=n(r(249)),s=n(r(442)),u=n(r(1348)),c=n(r(684));function l(e,t,r){var n,i,o,s,c,l,p,f;return a.default.async((function(d){for(;;)switch(d.prev=d.next){case 0:return n=e.speechSynthesis,i=(0,u.default)(),o=(0,u.default)(),s=(0,u.default)(),t.addEventListener("end",s.resolve),t.addEventListener("error",o.resolve),t.addEventListener("start",i.resolve),n.speak(t),d.next=10,a.default.awrap(Promise.race([o.promise,i.promise]));case 10:if("error"!==(c=d.sent).type){d.next=13;break}throw c.error;case 13:return p=Promise.race([o.promise,s.promise]),r&&r((function(){return a.default.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(l){e.next=4;break}return n.cancel(),e.next=4,a.default.awrap(p);case 4:case"end":return e.stop()}}))})),d.next=17,a.default.awrap(p);case 17:if(f=d.sent,l=!0,"error"!==f.type){d.next=21;break}throw f.error;case 21:case"end":return d.stop()}}))}var p=function(){function e(t,r,n){var o=n.onEnd,a=n.onError,s=n.onStart;(0,i.default)(this,e),this._cancelled=!1,this._deferred=(0,u.default)(),this._onEnd=o,this._onError=a,this._onStart=s,this._ponyfill=t,this._speaking=!1,this._utterance=r,this.promise=this._deferred.promise}return(0,o.default)(e,[{key:"cancel",value:function(){return a.default.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._cancelled=!0,e.t0=this._cancel,!e.t0){e.next=5;break}return e.next=5,a.default.awrap(this._cancel());case 5:case"end":return e.stop()}}),null,this)}},{key:"speak",value:function(){var e=this;return this._speaking&&console.warn("ASSERTION: QueuedUtterance is already speaking or has spoken."),this._speaking=!0,a.default.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e._cancelled){t.next=2;break}throw new Error("cancelled");case 2:return t.next=4,a.default.awrap(l(e._ponyfill,e._utterance,(function(t){if(e._cancelled)throw t(),new Error("cancelled");e._cancel=t,e._onStart&&e._onStart((0,s.default)("start"))})));case 4:if(!e._cancelled){t.next=6;break}throw new Error("cancelled");case 6:case"end":return t.stop()}})).then((function(){e._onEnd&&e._onEnd((0,s.default)("end")),e._deferred.resolve()}),(function(t){e._onError&&e._onError((0,c.default)(t)),e._deferred.reject(t)})),this.promise}}]),e}();t.default=p},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,r=new Promise((function(r,n){e=n,t=r}));if(!e||!t)throw new Error("Promise is not a ES-compliant and do not run exector immediately");return{promise:r,reject:e,resolve:t}}},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){(0,i.default)((function(){var i=function(e){return r&&r(e)};return e.addEventListener(t,i,n),function(){r=null,e.removeEventListener(t,i,n)}}),[r,t,n,e])};var i=n(r(1350))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,n.useRef)({first:!0,id:Math.random().toString(36).substr(2,5),unsubscribe:e()});(0,n.useEffect)((function(){var t=r.current;return t.first?t.first=!1:t.unsubscribe=e(),function(){t.unsubscribe&&t.unsubscribe(),t.unsubscribe=null}}),t)};var n=r(0)},function(e,t,r){"use strict";var n=r(84);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.useContext)(o.default),t=e.ponyfill,r=e.synthesize;return function(e,n){return"string"===typeof e&&(e=(0,a.default)(t,{text:e})),r(t,e,{onStart:n&&function(){return n()}})}};var i=r(0),o=n(r(323)),a=n(r(686))},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(40));function a(e){return e&&e.__esModule?e:{default:e}}var s={color:"Red",margin:0},u=function(e){var t=e.speak,r=(0,o.default)()(s)+"";return!!t&&i.default.createElement("pre",{className:r},t)};u.defaultProps={speak:""},u.propTypes={speak:n.default.string};var c=u;t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.querySelectorAll("a[href], area[href], audio[controls], button:not(:disabled), iframe, input:not(:disabled), keygen, select:not(:disabled), summary, textarea:not(:disabled), video[controls], [contenteditable], [tabindex]");return[].filter.call(t,(function(e){var t=e.attributes.getNamedItem("tabindex");if(t&&t.specified){var r=parseInt(t.value,10);return r>=0||isNaN(r)&&"input"===e.nodeName.toLowerCase()}return!0}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=l(f(),1)[0],t=l((0,o.useSticky)(),1)[0],r=(0,i.useRef)(),n=(0,u.default)(t)&&t,c=(0,i.useMemo)((function(){return n&&(r.current=(0,s.default)(e[e.length-1]||{})),r.current}),[e,r,n]);return(0,i.useMemo)((function(){var t=e.findIndex((function(e){return(0,s.default)(e)===c})),r=(0,a.default)(e,(function(e){var t=e.from;return"user"===(t=void 0===t?{}:t).role})),n=~r?Math.max(t,r):e.length-1;return[e[n]]}),[e,c])};var n=r(13),i=r(0),o=r(860),a=c(r(1355)),s=c(r(681)),u=c(r(1356));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useActivities},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(i=e,function(e){if(Array.isArray(e))return n(e)}(i)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).reverse().findIndex(t);var i;if(~r){return(e||[]).length-r-1}return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,n.useRef)(e),r=e!==t.current;return t.current=e,r};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)(),t=e.dispatchScrollPosition;return e.numScrollPositionObservers?t:void 0};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)(),t=e.dispatchTranscriptFocus;return e.numTranscriptFocusObservers?t:void 0};var n,i=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if("function"!==typeof e)throw new Error("The first argument must be a function.");if("function"!==typeof t)throw new Error("The second argument must be a function.");if(!Array.isArray(r))throw new Error("The third argument must be an array.");return(0,n.useMemo)((function(){var t=[];return function(r){var n=[],o=r((function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var s=[].concat(i(t),n).find((function(e){var t=e.args;return o.length===t.length&&o.every((function(e,r){return Object.is(e,t[r])}))}))||{result:e.apply(void 0,o)},u=s.result;return n.push({args:o,result:u}),u}));return t=n,o}}),[e].concat(i(r)))(t)};var n=r(0);function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)().focusTranscriptCallbacksRef;(0,n.useEffect)((function(){if(e){var r=t.current;return r.push(e),function(){return(0,i.default)(r,e)}}}),[e,t])};var n=r(0),i=a(r(190)),o=a(r(44));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)().scrollRelativeCallbacksRef;(0,n.useEffect)((function(){if(e){var r=t.current;return r.push(e),function(){return(0,i.default)(r,e)}}}),[e,t])};var n=r(0),i=a(r(190)),o=a(r(44));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)().scrollToCallbacksRef;(0,n.useEffect)((function(){if(e){var r=t.current;return r.push(e),function(){return(0,i.default)(r,e)}}}),[e,t])};var n=r(0),i=a(r(190)),o=a(r(44));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)().scrollToEndCallbacksRef;(0,n.useEffect)((function(){var r=t.current;return r.push(e),function(){return(0,i.default)(r,e)}}),[e,t])};var n=r(0),i=a(r(190)),o=a(r(44));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{margin:0,padding:0}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{display:"flex",minHeight:e.avatarSize}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{width:"100%"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{"&.webchat__auto-resize-textarea":{fontFamily:e.primaryFont,overflow:"hidden",position:"relative","& .webchat__auto-resize-textarea__doppelganger":{color:"transparent",height:"100%",overflowY:"auto",userSelect:"none",width:"inherit",whiteSpace:"pre-wrap",wordBreak:"break-word"},"& .webchat__auto-resize-textarea__textarea":{appearance:"none",backgroundColor:"transparent",border:0,color:"inherit",fontFamily:"inherit",fontSize:"inherit",height:"100%",left:0,margin:0,outline:0,overflowY:"auto",padding:0,position:"absolute",resize:"none",top:0,width:"100%",wordBreak:"break-word"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.avatarBorderRadius,r=e.avatarSize;return{"&.webchat__defaultAvatar":{borderRadius:t,height:r,width:r}}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular,r=e.primaryFont,n=e.transcriptActivityVisualKeyboardIndicatorColor,i=e.transcriptActivityVisualKeyboardIndicatorStyle,o=e.transcriptActivityVisualKeyboardIndicatorWidth,a=e.transcriptTerminatorBackgroundColor,s=e.transcriptTerminatorBorderRadius,u=e.transcriptTerminatorColor,c=e.transcriptTerminatorFontSize,l=e.transcriptVisualKeyboardIndicatorColor,p=e.transcriptVisualKeyboardIndicatorStyle,f=e.transcriptVisualKeyboardIndicatorWidth;return{"&.webchat__basic-transcript":{"&:focus":{outline:0,"& .webchat__basic-transcript__activity-indicator.webchat__basic-transcript__activity-indicator--focus":{borderColor:n,borderStyle:i,borderWidth:o,boxSizing:"border-box",height:"calc(100% - ".concat(t,"px)"),left:0,margin:t/2,pointerEvents:"none",position:"absolute",top:0,width:"calc(100% - ".concat(t,"px)")}},"&:focus .webchat__basic-transcript__focus-indicator, .webchat__basic-transcript__terminator:focus + .webchat__basic-transcript__focus-indicator":{height:"100%",borderColor:l,borderStyle:p,borderWidth:f,boxSizing:"border-box",pointerEvents:"none",position:"absolute",top:0,width:"100%"},"& .webchat__basic-transcript__activity":{paddingTop:t,position:"relative","&:not(:first-child)":{marginTop:-t}},"& .webchat__basic-transcript__activity-box:not(:empty)":{paddingBottom:t},"& .webchat__basic-transcript__activity-sentinel":{height:"100%",left:0,pointerEvents:"none",position:"absolute",top:0,width:"100%"},"& .webchat__basic-transcript__terminator":{bottom:0,height:0,outline:0,position:"relative",width:"100%"},"& .webchat__basic-transcript__terminator-body":{bottom:0,display:"flex",justifyContent:"center",position:"absolute",width:"100%"},"& .webchat__basic-transcript__terminator:not(:focus) .webchat__basic-transcript__terminator-body":{display:"none"},"& .webchat__basic-transcript__terminator-text":{backgroundColor:a,borderRadius:s,color:u,fontFamily:r,fontSize:c,margin:t/2,padding:t/2}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}
2),t.default=function(e){var t=e.bubbleBackground,r=e.bubbleBorderColor,n=e.bubbleBorderRadius,o=e.bubbleBorderStyle,s=e.bubbleBorderWidth,u=e.bubbleFromUserBackground,c=e.bubbleFromUserBorderColor,l=e.bubbleFromUserBorderRadius,p=e.bubbleFromUserBorderStyle,f=e.bubbleFromUserBorderWidth,d=e.bubbleFromUserNubOffset,h=e.bubbleFromUserNubSize,v=e.bubbleFromUserTextColor,m=e.bubbleMinHeight,y=e.bubbleNubOffset,T=e.bubbleNubSize,b=e.bubbleTextColor,g=e.messageActivityWordBreak,_=e.paddingRegular,S=e.transitionDuration,A="number"===typeof y?Math.min(n,Math.abs(y)):n,E="number"===typeof d?Math.min(l,Math.abs(d)):l;return{"&.webchat__bubble":a({"& .webchat__bubble__content":{marginLeft:0,marginRight:0,transitionDuration:S,transitionProperty:"margin-left, margin-right",wordBreak:g},"& .webchat__bubble__nub":{overflow:"hidden",position:"absolute"},"& .webchat__bubble__nub-pad":{transitionDuration:S,transitionProperty:"width",width:0},"&.webchat__bubble--hide-nub, &.webchat__bubble--show-nub":{"& .webchat__bubble__nub-pad":{width:_}},"&.webchat__bubble--rtl .webchat__bubble__nub":{transform:"scale(-1, 1)"},"&:not(.webchat__bubble--from-user)":a(a({"& .webchat__bubble__content":{background:t,borderColor:r,borderRadius:n,borderStyle:o,borderWidth:s,color:b,minHeight:m-2*s}},"number"===typeof T?{"& .webchat__bubble__nub":{height:T,width:T}}:{}),{},{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub":{bottom:-y},"&.webchat__bubble--nub-on-top .webchat__bubble__nub":{top:y},"& .webchat__bubble__nub-outline":{fill:t,stroke:r,strokeWidth:s}}),"&.webchat__bubble--from-user":a(a({flexDirection:"row-reverse","& .webchat__bubble__content":{background:u,borderColor:c,borderRadius:l,borderStyle:p,borderWidth:f,color:v,minHeight:m-2*f}},"number"===typeof h?{"& .webchat__bubble__nub":{height:h,width:h}}:{}),{},{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub":{bottom:-d},"&.webchat__bubble--nub-on-top .webchat__bubble__nub":{top:d},"& .webchat__bubble__nub-outline":{fill:u,stroke:c,strokeWidth:f}})},(0,i.default)("&.webchat__bubble--rtl",{"&:not(.webchat__bubble--from-user)":a({"&.webchat__bubble--show-nub":{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__content":{borderBottomLeftRadius:A},"&.webchat__bubble--nub-on-top .webchat__bubble__content":{borderTopLeftRadius:A}}},"number"===typeof T?{"& .webchat__bubble__nub":{left:s-T+_}}:{}),"&.webchat__bubble--from-user":a({"&.webchat__bubble--show-nub":{"&:not(.webchat__bubble--nub-on-top) .webchat__bubble__content":{borderBottomRightRadius:E},"&.webchat__bubble--nub-on-top .webchat__bubble__content":{borderTopRightRadius:E}}},"number"===typeof h?{"& .webchat__bubble__nub":{right:f-h+_}}:{})}))}};var n,i=(n=r(443))&&n.__esModule?n:{default:n};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.avatarSize,r=e.bubbleMaxWidth,n=e.paddingRegular,o=e.transitionDuration;return{"&.webchat__carousel-filmstrip":a({"@supports (-moz-appearance: none)":{marginBottom:-17},"& .webchat__carousel-filmstrip__message":{maxWidth:r,transitionDuration:o,transitionProperty:"max-width"},"&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub, &.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__message":{maxWidth:r+n}},"& .webchat__carousel-filmstrip__alignment-pad":{transitionDuration:o,transitionProperty:"width",width:n},"&.webchat__carousel-filmstrip--extra-trailing .webchat__carousel-filmstrip__alignment-pad":{width:2*n},"&:not(.webchat__carousel-filmstrip--no-message) .webchat__carousel-filmstrip__attachments":{marginTop:n},"& .webchat__carousel-filmstrip__avatar-gutter":{alignItems:"flex-end",transitionDuration:o,transitionProperty:"width"},"& .webchat__carousel-filmstrip__nub-pad":{transitionDuration:o,transitionProperty:"width",width:0},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__avatar-gutter":{width:t}},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar, &.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub":{"& .webchat__carousel-filmstrip__nub-pad":{width:n}},"&:not(.webchat__carousel-filmstrip--top-callout) .webchat__carousel-filmstrip__avatar-gutter":{justifyContent:"flex-end"}},(0,i.default)("&.webchat__carousel-filmstrip--rtl",{"& .webchat__carousel-filmstrip__avatar-gutter":{marginLeft:n},"& .webchat__carousel-filmstrip__attachments":{marginLeft:-n},"&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar":{"& .webchat__carousel-filmstrip__attachments":{marginLeft:-(t+2*n)}},"&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub":{"&:not(.webchat__carousel-filmstrip--hide-avatar.webchat__carousel-filmstrip--show-avatar)":{"& .webchat__carousel-filmstrip__attachments":{marginLeft:2*-n}}}}))}};var n,i=(n=r(443))&&n.__esModule?n:{default:n};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.avatarSize,r=e.bubbleMaxWidth,n=e.bubbleMinWidth,s=e.paddingRegular,u=e.transcriptVisualKeyboardIndicatorColor,c=e.transcriptVisualKeyboardIndicatorStyle,l=e.transcriptVisualKeyboardIndicatorWidth,p=e.transitionDuration;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({"&.webchat__carousel-filmstrip-attachment":{minWidth:n,maxWidth:r,transitionDuration:p,transitionProperty:"max-width, min-width","&:focus":{outline:0},"&:focus .webchat__carousel-filmstrip-attachment--focus":{borderColor:u,borderStyle:c,borderWidth:l,boxSizing:"border-box",height:"calc(100% - ".concat(l,"px)"),left:0,pointerEvents:"none",position:"absolute",top:0,width:"calc(100% - ".concat(l,"px)")}}},(0,i.default)("&.webchat__carousel-filmstrip-attachment--rtl",{paddingLeft:s,"&.webchat__carousel-filmstrip-attachment--hide-avatar, &.webchat__carousel-filmstrip-attachment--show-avatar":{"&:first-child":{paddingLeft:t+2*s}},"&.webchat__carousel-filmstrip-attachment--hide-nub, &.webchat__carousel-filmstrip-attachment--show-nub":{"&:not(.webchat__carousel-filmstrip-attachment--hide-avatar.webchat__carousel-filmstrip-attachment--show-avatar):first-child":{paddingLeft:2*s}}}))};var n,i=(n=r(443))&&n.__esModule?n:{default:n};function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.transcriptOverlayButtonBackground,r=e.transcriptOverlayButtonBackgroundOnDisabled,n=e.transcriptOverlayButtonBackgroundOnFocus,i=e.transcriptOverlayButtonBackgroundOnHover,o=e.transcriptOverlayButtonColor,a=e.transcriptOverlayButtonColorOnDisabled,s=e.transcriptOverlayButtonColorOnFocus,u=e.transcriptOverlayButtonColorOnHover;return{"&.webchat__carousel-layout":{"& .react-film__flipper":{"& .react-film__flipper__body":{backgroundColor:t,color:o,outline:0},'&:disabled, &[aria-disabled="true"]':{"& .react-film__flipper__body":{backgroundColor:r,color:a}},"&:focus .react-film__flipper__body":{backgroundColor:n,color:s||o}
2,"&:hover .react-film__flipper__body":{backgroundColor:i,color:u||o}}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.connectivityMarginLeftRight,r=e.connectivityMarginTopBottom,n=e.connectivityTextSize,i=e.notificationText,o=e.primaryFont;return{alignItems:"center",color:i,display:"flex",fontFamily:o,fontSize:n,marginBottom:r,marginLeft:t,marginRight:t,marginTop:r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular;return{fontFamily:e.primaryFont,margin:0,paddingBottom:0,paddingLeft:t,paddingRight:t,paddingTop:0,"&.dictating > span:not(:first-child), &.status":{opacity:.5}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.monospaceFont;return{display:"flex",flexDirection:"column",fontFamily:e.primaryFont,margin:0,minHeight:20,maxHeight:200,overflowY:"auto",WebkitOverflowScrolling:"touch","& > :first-child":{backgroundColor:"#EF0000",color:"White",padding:"5px 10px"},"& > :last-child":{borderColor:"#EF0000",borderStyle:"dashed",borderBottomWidth:2,borderLeftWidth:2,borderRightWidth:2,borderTopWidth:0,margin:0,overflowY:"auto",padding:10,"& > pre":{fontFamily:t,fontSize:"60%",margin:0}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.connectivityIconPadding,r=e.connectivityMarginLeftRight,n=e.connectivityMarginTopBottom,i=e.connectivityTextSize,o=e.failedConnectivity,a=e.primaryFont;return{alignItems:"center",color:o,display:"flex",fontFamily:a,fontSize:i,fontWeight:"bold",marginBottom:n,marginLeft:r,marginRight:r,marginTop:n,"& > svg":{fill:o,"&:not(.webchat__error--rtl)":{paddingRight:t},"&.webchat__error--rtl":{paddingLeft:t}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.accent,r=e.bubbleTextColor,n=e.paddingRegular,i=e.primaryFont;return{color:r,display:"flex",fontFamily:i,padding:n,"& .webchat__fileContent__badge":{justifyContent:"center"},"& .webchat__fileContent__buttonLink":{alignItems:"center",color:r,textDecoration:"none","&:focus":{backgroundColor:"rgba(0, 0, 0, .1)"}},"& .webchat__fileContent__downloadIcon":{fill:t,padding:n,"&:not(.webchat__fileContent__downloadIcon--rtl)":{marginLeft:n},"&.webchat__fileContent__downloadIcon--rtl":{marginRight:n}},"& .webchat__fileContent__fileName":{color:t}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.avatarSize;return{height:t,overflow:"hidden",width:t}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.accent,r=e.avatarSize,n=e.botAvatarBackgroundColor,i=e.primaryFont,o=e.userAvatarBackgroundColor;return{"&.webchat__initialsAvatar":{alignItems:"center",color:"White",fontFamily:i,height:r,justifyContent:"center",overflow:"hidden",width:r,"&.webchat__initialsAvatar--fromUser":{backgroundColor:o||t},"&:not(.webchat__initialsAvatar--fromUser)":{backgroundColor:n||t}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{"&.webchat__microphone-button":{"&.webchat__microphone-button--dictating .webchat__microphone-button__button":{"&, &:focus, &:hover":{"& .webchat__microphone-button__icon":{fill:e.microphoneButtonColorOnDictate}}}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.backgroundColor,r=e.rootHeight,n=e.rootWidth,i=e.rootZIndex;return{backgroundColor:t,height:r,width:n,zIndex:i}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular,r=e.primaryFont,n=e.scrollToEndButtonFontSize,i=e.transcriptOverlayButtonBackground,o=e.transcriptOverlayButtonBackgroundOnFocus,a=e.transcriptOverlayButtonBackgroundOnHover,s=e.transcriptOverlayButtonColor,u=e.transcriptOverlayButtonColorOnFocus,c=e.transcriptOverlayButtonColorOnHover;return{"&.webchat__scroll-to-end-button":{"@media screen and (-ms-high-contrast: active)":{borderWidth:"initial",outline:"initial"},appearance:"none",backgroundColor:i,borderRadius:t,borderWidth:0,bottom:5,color:s,fontFamily:r,fontSize:n,outline:0,padding:t,position:"absolute",zIndex:1,"&:hover":{backgroundColor:a,color:c||s},"&:focus":{backgroundColor:o,color:u||s},"&:not(.webchat__scroll-to-end-button--rtl)":{right:20},"&.webchat__scroll-to-end-button--rtl":{left:20}}}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.sendBoxButtonColor,r=e.sendBoxButtonColorOnDisabled,n=e.sendBoxButtonColorOnFocus,i=e.sendBoxButtonColorOnHover,o=e.sendBoxHeight,a=e.subtle;return{"&.webchat__icon-button":{alignItems:"center",backgroundColor:"Transparent",border:0,display:"flex",justifyContent:"center",outline:0,padding:0,width:o,"&:not(.webchat__icon-button--stretch)":{height:o},'&:not(:disabled):not([aria-disabled="true"])':{"&:focus svg":{fill:n},"&:hover svg":{fill:i}},"& svg":{fill:t||a},'&:disabled, &[aria-disabled="true"]':{"& svg":{fill:r}}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.sendBoxBackground,r=e.sendBoxBorderBottom,n=e.sendBoxBorderLeft,i=e.sendBoxBorderRight,o=e.sendBoxBorderTop,a=e.sendBoxHeight;return{"&.webchat__send-box":{"& .webchat__send-box__button--align-bottom":{alignSelf:"flex-end"},"& .webchat__send-box__button--align-stretch":{alignSelf:"stretch"},"& .webchat__send-box__button--align-top":{alignSelf:"flex-start"},"& .webchat__send-box__main":{alignItems:"stretch",backgroundColor:t,borderBottom:r,borderLeft:n,borderRight:i,borderTop:o,minHeight:a}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular,r=e.primaryFont,n=e.sendBoxBackground,i=e.sendBoxDisabledTextColor,o=e.sendBoxMaxHeight,a=e.sendBoxPlaceholderColor,s=e.sendBoxTextColor,u=e.subtle;return{"&.webchat__send-box-text-box":{alignItems:"center",fontFamily:r,padding:t,position:"relative","& .webchat__send-box-text-box__input":{border:0,fontFamily:"inherit",fontSize:"inherit",height:"100%",outline:0,padding:0},"& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area":{backgroundColor:n,'&:not(:disabled):not([aria-disabled="true"])':{color:s},'&:disabled, &[aria-disabled="true"]':{color:i||u},"&::placeholder":{color:a||u}},"& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area":{maxHeight:o},"& .webchat__send-box-text-box__glass":{height:"100%",left:0,position:"absolute",top:0,userSelect:0,width:"100%"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.fontSizeSmall,r=e.primaryFont,n=e.subtle;return{color:e.timestampColor||n,fontFamily:r,fontSize:t,paddingTop:5}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.bubbleMaxWidth,r=e.bubbleMinWidth,n=e.paddingRegular;return{"& > .bubble-box":{maxWidth:t,minWidth:r},"& > .filler":{minWidth:n}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.spinnerAnimationBackgroundImage,r=e.spinnerAnimationHeight,o=e.spinnerAnimationWidth,a=e.spinnerAnimationPadding;return n||(n=URL.createObjectURL(new Blob([(0,i.toByteArray)(
vendor: 35,670 bytes, line 2
2"R0lGODlhJQEsAfAAAHp6ev///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OcdIEAsta1+w+G4kiW5uls6nqh7gvH8kxL7K3W+s73vowL5n7EovHYEyo3yKbzCZ0sp5mo9YotUretrPcLHnG34bL5nBpT0ew2WM11y+dN+JiOz+vsd73/f8LXB0hYWCEYZ6i4yICYyAjJ6PgYWfk3SWmpSYdJtvk51+kJSnomulaaGnY6perqxbr0OmsVq0SL62QrlNtrtIvjK/wDHDx8XFPMgsw8o7zSHA3zzCRtbULNcb0tkt3FDe6RHU7eQV1udlGljvaM/tW6WvyOpSa/Sx8l+Babr+8Ij5U/XZ0CFhxYR5RBgAiP2Fpop2HCfhAzSSSG7x6qi/+/5pWRxRHJuTbsIJUsNTKkOGOfxqk8xGuTt5dSNkby9o1mg1Emcep8MEiSz5+N7PWcSdSCUaFDkx7gc9Sl06cRF+HUNhVDVatNs0JlitTrVkNXq2TVCidqSrFLuYY9O5ZsV7YWC109iyAoWHd4Deh1y7cvVZCWpApGGwTU2sN+WcoMzDiBupyKPUZGZvnyMGCamz3sHO0UaGkKR1ubZHrbvtTg2rJuHe91vhyUZdu+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/jz+//v38+/v//w8gCjEFiFFsBO7x14EurKbggog0KCBqEK6DgTmlBXiLDaL5V5dkAvXnmgKf6feViBnd96BSI9on4WAr0oeJh5zVdyFk8tWoDI0b2gjfh4u91w+P7j30Y3tE5jjfkUjGp+SMN1K0JJNQZtbjlE4+ueOVWB7U2ItSXojYhjqCGSaXY7aYl5gsmukimii6mSacb6ZYFEP70ZlGiRzGlWeC/IUYQYd72gRThhC2uUwJ7Jh1aCMVMtpopJJOSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/gpssMIOS2yxxh6LbLLK/2I62UnINQspKYYOR5gmguJ2LSBp+QYoIXpi+622DILLpx9ymhajt+eClu4l7bJGJifxssumvPNe9iEeFKGrZij5jvavv/1q5iVJARO8r8ADR1ZwOw0f9rApB+ObsBwR93XxRxMzXLEbHVO8scMLg1yvxyEzdrLI7wI8sskrs/yyvXbCW7LCeNI8s7vjypazzuW+trO62+oWrlzZAu2n0dX+RmhhAxI3LUqPNrfoslZfjXXWWm/NdddeK1IbronZ2rSrSZ/6s6k3q712qeuCWvOn98o9N6cpa/pxp3lvmjGzd196It1/W9o34INXWjjhhyO+OONx61233Y97OjnlPRKTejnbQ7O6eatHp2pgrYk6VQAAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rOx0AACAqDwJ7xiPQNl8yk8wnlMKfUqPWKTVC306z32+OKm+CyWTZOD8/stkkNJ7rn9E38/qvr9xB8nA/Y8DM4COZ3F5hIKIZ1iJfI5wfl+AhJR/lEWWl5pimU5PnHaRb6aVQqOuqFusbDqqa6+iqnM5sW22hLi6PLiBvVa8obvPU7SZx3g1xlDLqcs0zWfBS9S1O9NE1drYzdqr3jnXwtPg4+jN3tfe66blNuzl4jrp4uj+4+T3//Xt6fz4/cPn3cAv4DOAOhQSUDCT5bKFAhmmgQHdqrF6xixIv/GG1ptEgRWsaPCRvim0Vy48NwHlOW5CiSlcuDK9uVmqmSmDNNOGnqdIKpp09dVhAJjdkryyJmR5ESLROvqc2WUqv2eWo16wOqWrsqeOU1rKBQYssyCGo27ddNatsaWFosqtu5b4EQkUs3r969fPv6/Qs4sODBhAsbPow4seLFjBs7fgw5MsYikoX6qkwSFuaPqTbzY+tZnqTQokeTPufoNOpDqrWhbW0sNezYr2erkm07Vu3cnHDzHsX6Ny7Twm8bLQ68M3Ljt5bTLubctbTo1Kt3spsNr/U9cLYrAu29Dc/w4seTJ3Xz/Bew6nOxb38MJfz48ucj+Wn/1Mj8U7Hy/6+FzH8s4SfgUFwVmJN/CL6034IMEuggDAVFyBCEFLow4YUY1qThhhZ2qEJIIHrY4IgsfGhiCiimeEKJLK6Q1IskyiTjC/XVOKMnOFa4244t6OhjgmNQFuSDt2hXZI5NIJmkD9gV0mSUUk5JZZVWXollllpuyWWXXn4JZphijklmmWaeiWaaaq7JZptuvglnnHLOSWeddt55G54YcKGnBN31uQB4ffqGJ5B6klUoonbSWOd7ct4Y54FuKjippG3GCCell2qqpotsYvomp2uK2qmln5p6qqOZqhopo3O6Smd6iZoHYxFMatjjG3zWSGgJypl4nIqCjjjkrR3kCiJcUP/CiGyrhi4qa6yo3MlqqNVWeu2oqJa6LZqkpgkqtpCm2u2Z33p7rpnpqlsuutlq+y630zY6L73R2tvsqvk6Gxyg/QJ6QLAAIzDkwH1gR6TBCi/McMMOPwxxxBJPTHHFFl+MccbSTecwI9YoLLC/xA26r7Ulb6qotPc+Cqu+9bIcL7gxuzszu+2WGS7KNZPpKbzjembseusmtuscQx/2JxtHEzasUjcX1qssOw9Gq9AtL7ay0y83lrV7KXN99RVbMza1flWDHbbXI6OddlFRY/00UCE7trTczVWWM1RPrhE0YnU3Alve8v7sc9lh/g2m4IOPLS7jOnf9+Nf8Su7ysyoan335269qju/csybN8N0Qd9G3xqafjrpnBQAAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4LI8BMzwEQ5/rOx/X/u/WGxKJRAkwmj8ymM6eMLp/UqpUjzQav3K53oQ3XvuTyU4y2mddsXfrdjstT7/r8jvfU9/m+n7Jn9zdImBDIV5j4dyio6DjHiPg4uRbZSInZZSnJhWPzmem3CdcZJhQqN0pKxYlqpprGyuj6Cot2tklLZnt7BKvrxSvGJAx8JTxchIxjLLscZfTM3OwkrRT9TF1tPTXErd3EDUQkPg1OXk6D/n2unG6+897unu5dP9/zDg8lj59fvu6ev3jiAgIcSNAaPYEI+UkzeLChm2wLGUp8QRFiwYv/E3n50qeGow9bxECK5PGrpL6THWdtW8kS5SFnFmPC8BTLikmb9rJo6scz2qkyMIMaNQT06NGaSo1GbKp0I1So7KY2VWh16sOsWotxzer1q9WUYr/mKisWZyu0aS+xZZvsrVwFnoTsm4s3aN28fNVe44t2FeCxawfztGTYKeLENskyvujxscSwkgciq2x5GeZ5WzeDw+q5WdXQxkCT1iX1tKvUqjM9be16NGxKr2c/qm3bEevcinDzLiT7d+/gwgkRL268M/JEppcPv+xcd8boz0lSvx35OnZV2jE57i49EvhQ4sejCmSeluD0q29AY+/GrlD4Mv/SB2bq/vm4+r3n/+y/XS8AVvffgMkVZuAdLiUoykwMNojeg30sKKGCDlaIx4UYpqLhhnFE6CEkCIZYS4EkcijgiShqoSKEUrQointbwLiIAXvRiGOOOu7IY48+/ghkkEIOSWSRRh6JZJJKLslkk04+CWWUUk5JZZVWXollllpuyWWXXn4JZphijklmmWaeiSZezNyVph4vtqmHjD7BmYFbdEZA4Z0OlKfnA2f1SdcogILB3aAHZDcoon1Stiijd0IHKKR6Tveoo3BSSqeklVp6qaaZctomqJ1+1yipk5pa6p+G2qjqqqzm6aqcI7oKYqyEpmjrnizmOoE66vAaqn3A6prfsIEOw6attf8Cy2eura5aKK3RQovqp9WOei2anm6a7ZmaRbptsIpaK6q34ab5bardmpnuqeNyO626z8rbbKLxGioor/NS26Gzsyq73rB+vWksseMUjHDCCi/McMMOPwxxxBJPTHHFFl+MccYalxJEsgib4rG/yCq8rMglx7qYybDamy+/LRvn3lDLvbuisL+VS5SJs527y7+e8fxFv6oBzbHQobVbYr2kYRr0y6cRXYV1TyMdjNRT01z0vZhRXfW6iUH9ktVH44wL2YOZHbbXhmGtE9dbq5023IDJrZLYSzudM9prp1yJ22Mb3TTbP5+cNN2M2dmG3pXhKqLhi8sKyiJ20wu4u3whu7wyvkoD7HOkkBf7MeMkExxxXSFvjHrqqq/OeuuuD1IAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5w0gnBz3bz7D4biSJYQgKbqarbuC8fyXK32fdH6zvc+jAuycr+i8YjsCZespPMJjUqY1BRGis1qjdUucQsOi0Ne73WMTqsZ5fL6DRe33fG63Tlv3/f8XX7eFyho8gc4eIhYU6iX2OjItkj3OPkYyUiJOWh5mdm5tynpKRoHajZ6+lZqisoaptrVGuv6SiVrK0Vbdbv7lLvEC3zkyxRc7DMcZKzsh4yz/BzTfANN7SJtU51Ncq2i7S3CjfI97hH+RY4+dZ3OPsHdDn/SHE/vgFyPv3Cfz3+Q25/l3KdXAJP84lOKFIZuAlutsrNpzUNRfwbmkWiIYiGE/24aasmwMZOlProwRhIJSpAGcXUSVnJZUJEqR7RiUvCVCKdNeTo19dwJaZjPf0AbSBv6s6iBdyTnKUUQrum+pwuZWhRKteq6q1OLmmN5Z6vSrx7VWPX6lSvWsWnDigVKFiypt3DbunWKluzdrnXtQsTL1u9cvjvjciRcWK/amVkVL4b51PFeglm10p0MmapgzCMrWz6KtLPnz2tVphzt73KgiKiXqiZJGlZrqIBzZpxNOynNibhdE/Uk5EzvoIxRaRhuoTjybKeXa2PtfFzF6Ok4Ua8eu9v1fjnKbv8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///D2CAAg5IYIEGHohgggouyGCDDj4IYYQSTkhhhRZeiGGGGm7IYYcefghiiCKOSGKJP3RnIhgHpWiQbCwWcduLNEwnow6L1PgAQxtAh2NqybjDY40l8SQaji4apRyL1ilAmYwxJlDTixcRl1mJNEIZpZJTYpmliSEx+ZuVX/rYpJdX5lammE9md5KWW3KZJolnklmlnGv6lqSZocBZp5288VmklH+iGaSgxCRXqJPBeUfojT02Kg6jgL75aAltVmrNnJhaeuemnA7pqQy1hKqEVsKRimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/Lstss84+C2200k5LbbXWXottttpuy2233n4LbrjijktuueZKi+K0wTE7KLCd9grSksAtdOp5jmq0bnmJNtJudM29JK+//9pGqcADH3IpdXGuFihyYTK872wPS9Uwbro9NuZwE3OWcG8X/7UwaqVhnLHFG4Ocp8Rdktxxax+3tLLJIQ8Ws8gn05yyyzPj3KfNOaPcs88Hs6ypykMTXbDHR3PcssZNU7y00iWbFrXUSYd273fvUv20wv0iXPF28f4I3NTkxVsvvlvruja8RyK7IrTpnks3GmMf1+yoye4pbNFuX81217hGbGvVs/5M686x1py44q++DOvNi0v+OOWuMUJeOeOTax655Zdznjnimwc9uuGdm3562LeiLqvquWbtLuB/f+3r23s7Q62kde9uSwEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDNYAAQDxKEwqlx+j8wllSqfUBfSKJVa3XF/2e+2KxzKwOUxOq0vntnMNj3PcdKP8jofU9/m+v7jH9zcIFyhIiChmGJjYWLVo6Ci5BMk4yWX3VDRWGXkpRYfZefgp5Ak6SlrqBTmVarnak8r0qhqLU0tZG3qrs6sV9FvXiytsKtxGfIMM/MOcrEzzHPxsFj1T3cyT/XWNXU3NHeUNww0kjkVebu6MPq6+gt7u/gbfIn5Ob2cfLz/vz0+Fu38AA6IoKGugQYEItzVcSEIhwWkQUzx0mK2ixYv/vjJqPIhPCbiPID0eQ0aSockkxlJuHEkrl0uVzB512jTzJcotlXLeq9mFjzafJX+lOQIGJ9Gfu+4gGbrUhdGoVBO8qorV6s2sXA8sUtqVK6ywZA1AK4vWK6C1adu6fQs3rty5dOvavYs3r969fPsuRRoFqt+AwwYbbGWY3KjE3q4yjtXy8aedkiVRrJxoJWY/ITf34ehZjcTQckaTXqPvdKHUqkXrE9yaymvYsVGxri3qNe6gs3fz1u1bdu/gwocTjwn8OPLkykUyb37yNnSWz6fno2ddF/bszk1znwjz4PcO3kEkHX8BtIbC6Cd0Nm+rvQPN5BHLfxDew9b7+CnD/9/PXwNT/bdYgPPJFEJTBh7Y0wiRLciAfSI8CGGE7DlIYYURApKOTgpqyEqGIBbj34g5XGZiRyWmOARQLJK44ovfiChjDCjWKE2MOK4z4I459ujjjAgGKeQsRNrw4ZE/Aqjkkl81uUyDUMJ44ZRR8mJlQudl6QyHSHAJZphijklmmWaeiWaaaq7JZptuvglnnHLOSWeddt6JZ5567slnn37+CWiggg5KaKGGHopoooouymijegG2j6MRWCMpg5RWikCVmI4l6SmVPtmpp45KyCiTi0pZKqmpgtqoqqey2iqssca3KpaYmmXrrbneims3vG4Y2K/CDktsscYei2yyyv8GFwZtn571K62vclqrqIkWOK2phSZpKJCD0giojn66+K24fd4YLrnpmssnun+6ey688YI7L717qisou+16my+//Tp2rZGKApyttQEbXO0ZYG2ajLOjZrFsxBJPTHHFFl+MccYajwjpwsRCy6umD1NbMMmHYjuwwIhyuy3L/w5JqL37yqwnvuvSfKe89fpLGsS54fyYGzbpy5i04BEcmqvXAc2Xtkej7BnUS7scNNJPO100zFfLKhnVWmpdNc87eJ0Y0VQqHTbZY6uMmc5ro5222Bgh3LXN4ewatd3RXaqa2+d4qYnDlflNiXKE43l4zmbnqffOVr/8+M2RQ47qyZMcl4t1y3B3y3XJCg8rdLGQviH4xqafjnrqqs9UAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEogWATAICS6PzCXUop9So9TqkaqfYrve2DVe/5HJKjE6a12xQ+o1sy+cUuJ2OzyfsfL1/ztf3N2gWKEiIeGUYmNj4tMjoKJkFeTd5+VN56LXU1IQJpbkZyoQG+ij6phh5GpRqaaTZ6vqahpo621OrWrSby7NrSxn8+WtDHEaErGZ8vKw1vNxc8zxGWz1NU811vZ09s82cGS7+7UJerIuebr5C3o3e/hIO/y7f4g20zn3v/iy0r1w/FP/qxRvoj5jBgwhVBFMWUGBDE74ARowzMWGlXv8XMWZ0CMlJR3YfKbLi2LHkOWGhLqqE0akTEywjSb4cmPLmx5E6S+bsmdEl0KABh+4sapQow6QN9zE9Su+pUmxSoRasOlUhVp/Itr7U6vUrrrA6Y4YkO3QR2qeqbK5NOzOO27d069q9i3eSWZl5jfLqe/MkYIRnB+PcaPje2MTfKjI29vAxZMeSW3WtfOoqZr2XN1/S7LkR1dCipZEuDfq0n9GqB+Vr7To1bDqsZ+uRbRuQ6dyrO/PGs/v3bcrC80Qu3vsV8j/Kl8eW5ZxQ4ehnqswlaIg6djjzuGs3mX1eKWjfwSMu34Y4+i9g13Py7d7K6/i3cNNf2P5+tNr69a3/679fVAD6ENGA4zhlIDBCJZjDTwyCseCDzkQooQw8VUjNhRiC4+CG3VHo4UodhogPiCSyoOGJKI6oIkgFtigiUjCWiOCMNP5n441L5eiiPTzqyN+P280npEbBFWlkfkiuCN+SSS7mJEy1RKkNlFRaON2VGcKiZYPjkddlmGKOSWaZZp6JZppqrslmm26+CWeccs5JZ5123olnnnruyWeffv4JaKCClrXXoBx4Z2gdX7KU6ANZNroAdJDuIcqklDY36XGQKilok516CuiRgdrXZ5B+mloqqXuiuiqrrYr6p6qvgpoqrafaWqt6g3L66ZSWLiqppZj+CqxgvwZL7AHh/yXLAJfMNpDMmmA+66gp1EL717UIGPvsstqq9S241CKb7HnMknusueWqSyy66Yp7Lrvtwjuut/WOci2+4TKq7aVb9FutGtcBTHDBBh+McMIKL8xwww4/DHHEEk9MccUWX4xxxhpvDLASpTCMaMd3DNzoo/PKm2mlJ6v87rCJ8hoqzPXxtRysKIkxk3CyqsMdyZjtrKC9rbkaNL2qEd2glachjYOvQwM9ocuhMb2l00tDXaWmU2PNocyMUd211lt73bTNlZmdNNd4oZ022V+LzTPbb1vtn9yP6Ro3rpJJXbfbe7tLoNqGody333/rGyDdtvUchd1LF+szfoTHariecCAbqnjJSqcM+KZGx4s46PwaHC3Hpp+Oeuqqr8566xQUAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gufQDDX8Y3neg70/u/bCYfEYgWIRNKMzKYTl4wqn9Sq9SPNAq/crrdR04p737K5Ok7Pzuy2UJ12y+csOJyOz4vsd73/b8HXB0hYyCA4aKhIiJi4+JjX6AhJySY5WZn5dRmn6bnJ2fk5ihYqRopKZTqW2mq0euoquwObNXvLUyuFy/uiG9UbXPebJGwsQ7x1vEyS/MMMHeJMFl3tMW2dvYGt3X2R7B1OAS5eLvFrng5Rq97usOoevxAqX3+IuGSvbyCYv/+/hNUagAQD0ghio+Cbg8oUNmP4bKCmMLYcXoNoS+IjPv8WM1DEBAhfx0CXFkkaOQFeSE4oH8Dyp8dUSzC6YqqciYAcnpo4+Tnb+bLnNGpy0OEcSrQNsZlIk57RibKpxjJLW0oNorRqx6tOQRkdyXWqF6gOw4rtQlah2bNXfoINa0lr2bVZeW41G9fuXbh5g77l21fmX8BP/Q6+6oadVbxF6TFlnJilUK5AG/XEKLUyx8uYudlUwzknYj9x2EYdzQgzzNAHMrNu1fS1rKGyZ7ut7eo2bthfd+dW7HvWzeC4SpomjsryceS8BTKP9hHh6ufUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/jz+//v38+/v//w9ggAIOSGCBBh6IYIIKLshggw4+CGGEEk5IYYWiMTSdhb6UpuGGdnSogmQgjhCdZSnxM+I7wx3SWUIp+gRcAiUW82Ja/XTomYkW0gajSBSudWOEQOoI4ZBBPmikjw0mqSSDTDap4JNHRinllAlW+eGSWGa54JYgGejllwWGKQqVZMbS5ZlaOKjmmmy2CYyWcNIo55xYvWnnnXjaKWGeyyEYm4h9ItWjlUXy2CKaFSLamphCyiWjmzX2xmIYGY5I6YsarKgpB451CsJJoJbA5agmrPmnqQ+pymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/gpssMIOS2yxxh6LbLLK/y7LbLPOPgtttNJOS2211l6Lbbbabsttt95+C2644o5LblQGpcqcDeiaJOl1M3ZFyR3rhqZovJs95+hnUOJWqiHvOkecoaQJyu+9hRgmG5EDC1awwJox/Jqof2TKmcQLI0yvwg9jfJnF+nI82b5zpNWxyCNDmrHDkVFcssEfx8iayy9zmnKZE6Mcsc0Xw5xwvYyw3PMUG+mFnIuVEJ0r0ruCjCvTukIMbEnGejysysKC9mxG1Kp7sEHT+pzsv0Ijy9G8t2ocNcG/fpo2273ynDTccTtNK9B141wr3rbqPSvJefstq25N8x044bECfrfce9vdt+JnO/43zU9D/bbbbRij7SvVVctcbL5VJ3rpslybXW7ppp++SAEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwqVYBAs7mMSo9PgPWKnWq3Oqz3a+WKxyuw+UtOq0PndnYNj0/c9Kv8jk/U99C8f83H9zc4FhhIiDhlKJjYiLR46Cg5BBk5eclTaYnJaaO52WlUFdYn9ckYSlkXdYqa+jO6mtS69wpUOUsra7tzSqXrxpvpWwS8K+xJK2p8hoxjXMzc7FzDTCRtRl1trYrtpU2D3e1tBx7jfU1ebg6DLqQext4uPu4u70Kenn/foq5Pz6+fvXcAA7LY9w+YQXwD67VayFDaI4UQBRaMRqziwYv/y3BpfMGxo6GP86ApcnKMZERdW56g/FZKJUiKMmvqYWkz5wFlOnu+9OhT56egRBcRPWqgFtKlTn5mick0qtSpVKtavYo1q9atXLt6/Qo2rNixZMuaPYs2rdq1bIO4hNqWl9K4nSDRxZTx7iCeev+Y7CsnJOBCggcr8meYMOLEWuCtY8zKMVzIIuFRjix58mW3mR9vduj4M8bOmkUPI13a9DPU8VTDYp3a9TbWsl/Trn36Nu5esHfnJu2bt+7gN2DHJm4RNfIcw5fP7ux8NfTo0jN3iNWUegXgG1Jqd2A9w8jvEMJfAEqeQWgMedPfbEjhoXv1hcvznf+epoW/+BFw/zvPX39JySfefwL6N1SBBh6IICgKBshgg218AF+EejR1HID1WXgCQhzOtOGHJCwm4kYhlshGhSh2qOKKI57oIoUwxujBjDRyINGNTCyoowkQ9ujjfUCmIOSQLCZopIlGJbnSXEyCSMeT4WSToZRWXollllpuyWWXXn4JZphijklmmWaeiWaaaq7JZptuvglnnHLOSWeddt6JJymk4CmBK3wOuOSf7c2pX5wKVUmmjWF6uCaJakrWKKSPmmcmd2cqd6mliWJaZm+dNgemcZ+C+qVxiD4p6qaejrmqmKaqyimrpJY6q5etuhorrJJWqumo66FJKbC/Tspomo5GquiiP/+2yeORdpwaXZFBRsmhJkpGCS1yge64rYUTZqvBoNVOiSSdhRp6rpvNMrsuscsi+26mOcLZorzJdlmsu+3aOy+b+eqbrrH18huwwPsaXDDA4qqbMLwL00tgnQ/LWS6f3f4JaDAYq+eUZxt/DHLIIo9Mcskmn4xyyiqvzHLLLhOSTcoak+znxg4KenGeOduJ3l2xeJyGtT57x0XFa42nWM9oKX0Y02YZ3fTOY0m7BNRk4dSS0GfFW9nNV3PdtZNl9WuK1GHd24PZYA0c9jRpsf3LzEvDHTcYcf17GErZHY03wQ3rCravBwv+N+GFy0o2u4HzOjjjhzseMcVUQzwxw1YYE2rXx5mDLPbIbr8Meuiij0566aafTlcBACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjaoA1GpVis2+rNyu9gsmdcfcsPlcIaut6LabsY5T33S0/A6o6794+f4f1XcHSMgkOFiYWHSIqOgIxNj4OJkTKUmJSWPp55S3lom0yankeQkKKfpJyngalBqXlNr686oW+jrLU0t2W5u7sztmFDz3i0NcRoRcbFyzzCz0DN0cI71oTa25rCw9ne2yPdR99S2DfD1eXh2Mnq4Oszs87v2+4ss9T1+fIts+vw8vUq9/ANf1WZWvYLUAowYSVLjFgLAm+chBhFgxz8WN/xk3Yqzo8WLHkAVBklT48CTAlCr3uWu5EhvMkuFm0jxn8+O9nDpx8eTY7ydQgUJJlsJTdKYfjUl5emLYNKrUqVSrWr2KNavWrVy7OvMa8mgZpmDLDSJbNhfRtLNEsT0V9O2keHIdsauriBjeQjj3/qnpl86zwHpkEm5j+LCZbordMG68ODFkLS8n8xlsGczjzJcxc84i+TOU0KI7AS4t5TTqQHdXg27tGgvd2JTj0pbt9nYYS7rtHOxth2FD4FO+skFL/AQs5Mlf/26emjdz6A7XUo8F+zq+7NpRqe7eYzN4XSzHH0tovpLJ9DYy6mMPzj18Z+6nz59S3/59FPn17/830Z9//4kQoIADglDggfYEqCB+/TXID4MQKifhhCUkaCGAD2YoRoUcErjhhyDmJ+IIIZaIIIkojjjSiiHI5yKL5cXIQYs0pljZjTiSpmONPPboY19AyrjTkBcWaaSJwm2SJAvWNcnPksNBCY6UwlGJZZZabslll15+CWaYYo5JZplmnolmmmquyWabbr4JZ5xyzklnndSJ9ZSdE5iiZwKH9KkAk4BK+SSdPuk5m5x6GbponN+1+aiaP5o5KaWVkikem5muuamkl47ZaZqhojkqqZEeaOCLnqGqCoWN/venq9yll1uHSLJ36wezjvfqjoLOd6oGttG6qq+C7FdqkM//wYeeiUjBOiOChM6R6nU2WnotpjBim62YJ4Kqorbfgumht+WSe+6XGII7rrrpermuue3C+26X8cq7rbj1cdttmPua2i++0QqcrL8Dl3mwvkK6WSzDvb65K5yyVMtpoYMuO2ig00KVcccefwxyyCLDayXFiE6Zcawe83ZxrSe7zOihcz7scMSa0lzxwpA2nLPOPeMMMM+iCh10sAoDXTTSCH8aC8eNMe1PMoFBHc20Uu9FtXd8smW0PM9i7TNCx4KdKEUWc52r2CrjVbbZZ6cls2lvv/XraHWTPTZuLCuGMWt78211np3NfZjJbrPSMuGKKr543isfZPjOX4e89eMTGI0MB1SRY855555/Dnrooo9Oeummn05cAQAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MPgDEYlGITCo/xmZzCY1KF87qc4rNAq1co/YLrnXHxLD5nCKr0ex2SL12y+cTOJyOz1Ptcb1/znf3N9gWKEiI+GV4mNgotdjnKKkEGTl5+VM5hsm5pdnVGarzuSlqakPKdbo6k2rFCvvi6hRbyzJLa6trguu1+0vSWwZMDCJcjMyEm8y8sdwMjTEbTW1BWo1d8ZnNLQHZDe7NFwAQbu7AeK7OUP66/g6PVR5Pv+deD2+Hn0aeuLj/plSeSgA7BKKzraC0f25SKbSmic20hxFcnelFEcJEMP8YM7LrqAikRwTC5mUpOTJByWHyUKYkt9LkI5cvY7KMEvMlzJxTeI60eWQmTY9Aby7xmbGoUUorayoVeuzn055DKSpdigSp1atURSblCnUj0aldxX4li/OZU6BazI4t2taizp02OSaci7YlwbkH2Jr5xrdv3YvjAqtsWoiMYXtR5dCSufiw18iTJlOWpPZyJ4eQNV+669kU4NCn2ukjbUsgamDzOq9+DTu27Nm0a9u+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/j982qPwnDvL/F7HXfxpcc0E7/bgWn1sf7SefZQqYpth7iDF2GntaCTYaenBhGKCGfhkgl3lgKQjeVa2R6J2JdDlUnolVfefihCXG2BiMNNaY4o0ObqdjZjn2iCJ2QAYp5JAszmgkaD8m2eGSTDKE5JNQ2qgijlQ+ZaWTbO3InYsghkieil8S2CJYYzY5npgcGqKemWum4+FgFKq23odUrJiLhBc2YCCC7skoYEU+BqoRmIRScOShELGpKAf+NWoQnkFBSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/hplFa0+eiqan5JZWWiD/w7EYGBZAgKnVFwSVlhKcjZkbEF2ooGsQhtKJCmxALn5V6L7eEmtofSgG8a06sRYrrvg0BgvkebQa9ez7+Ib14v78nuSv+vcmK++4ehYsLzZINyvwPcSHJLDBzMcsMETA6yXxfNiXNay/8KbsLrvQNywxx+rGbHII4Pcrskn51WykvWw3HK3+LCbbrbrklsvo2ddm5jPW20LboXS7ln0Jn4+hDRCEFIGaKYKN2qvpTaDqnOo1aoK4RNLAwt22GKPDfWtqsCqtKtGo7p1sUKTmiHcU8o9t9ZZd3r3pjIfm7fecdv9N+Bvixo44YPTHS3iEbJqCdfhfp2qaf2QTXnllghfjnnmmrNQAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1KR4Cp9SoDaLdcrPdL5YrH4LLZMk6Lz+z2Qg3vuufluH1Lz2PvfL0fytf3N6gUGEjIVEVWtWd4iHj0OOUoCSnkGMAYRVlp6cOptQl65/kzivd0alf6qaqZ6ArHqhOLClu7NpuDG7rEm6Z78/uaNCwXTGN8q4w8Y0xs9Nzb7MxcLE2dZX29nd0iDR3d7b0CvoxLHmNeOJ6Osu7L6/4CH187T4/tmxmL71JvT5W/f88AnRqYrx07UAgJDrNCqSEMhU4ESUyI7osiPP/hLn6T5zGkhIwiSzogaTKlAlcqWzY46DImAoYyayboZDPnxkU5e770CTSo0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWr1q1cu3r9+lNRJrDULJJFxOnsIIFq6bBs6wYlXI0g53qhaLeJvrxS9vJNBfDvwsCCI4GbVpgb4cRDDh9jLM4xZMOOO05uVfkykcq2NAfhjNgzZsmiP3MubTozalOnV48+7Jo16dg8VNOuPfv2Dti6X//q3WMxcGF4h9f4bVz2veRAlp8QK5Z5BbYmdqqRPmHUO0PYs+MUob07BOtdLIOgLh43zPS7nbO3Uff98fjy1T2srw05foz697P/8OtfCsIFSAKABFZn4IElDKigBww26GCCEH7w4IQbSGhhhMVlqAGGHHKw4YcZhCgiBv2VGMKJKJ7n3orgveXiguHFuF1ENL7Dj1k3CrjKjhONZZ6PQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZdefglmmGI+wEiQYpK3hplaphXmel22aCV9VZKYpIdL8hZlbk+25iRoUIKmpo+A9gloaEcWaqiRiAZK46KMrujonZHWOSmSjj6K4qVKakrpoptWaqmnnSIqaaFMilqqn6nyWSAwmHpm6os66jYoeDl+RxurGrIJnG0sztibniD2M1yFFMgZm50X/6iYK7LDOpusXLtKexuxsjJLK02t3icdJs8VJB6a0X0L7pTGHqrsqNxKeS665eaZrrrQNvmuufWyuy6V+c45L7zWZgknwG5yObCXvI7Zx6tYujpmww4/DHHEEk9MccVojGXxrQw7fPCbGnv75r8LU4svtnvGq2i7RAp7qq8tu7wqnjHL/GmtNdssr64pk3ozzjvznDPMK3PqLtChovpzrEGzPCTRXwFDmdJckVIEqFvN2pzRWdmYms9Ydayczldp2zXTVQGbtdhWFezbvV+jHTbKTqFXNp1PwXiJ3HeznbbJb5O9md9j81034VoZXjjIZ8EdNddtAR5QHBjn5XgqHyBjrPDfuBqMNcKyZD5yeRmPTnrppp+Oeuqqr85668AVAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+j4C/h8A8IbEIu6HTPqMzKazp4wuhc+q9fqQaoHYrte5DVO/5HJOLDar1y80mg2Pk9xuuf2eodfx/H5Wn+YnOBgE+EaIiGd4mNi4tsjoKOkFGTl5WVUZiMn5pLnVGcr0CSpqykNaerpqkyolOMaa6ZokJxQVJOtJiwRHpzvKy6VmCEwkvEQMaTyE/FjJvCOs/Bmtw2tGa33kSp26fdNdNg3eqvmMXV5znu2sbq7Hhpz8ThMvP18frpXrm6+Pqs+8WAALThhIz6DCP/8WOmyA8KFEBgMnWjwQ8eLFiv8aLTbsOPEjyIUiRzpMZzKktpQqv7H0SOplR3YyNy6rCbIYTpOWdqZ8RdCn0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWr1q1co9261dVaz7Ci7pENtegsp2pqJcVsm0gcXFhy5/IhZ1cR3ry29vLF5/evN5SCB68s3K4k4i4ZF4/j6JgS5MiMJ1O+0vgyFsuaZ7nrjPkz6NCER3s+bPq0y9Sk37LevPp167SyOYCdsoJmbQtvgoq4ubuCzhO/gvOGhiJMP+MU2Ka4zRxD3ejNUFO/Fvj6OsXaZXDuHgOhb/AtxCck78L8ePTPzbOHoX79+znx57OIL99+CPz6VeD/z99fB/wFSFx9BJbwH4AH5mHgglCo5yCCEEb424QUVijehfRlpuEHGXaIIXcgbvDdiAJmZ6IHKKZom3Us7ufcixICJ6MJaSlY44l75HhfIbjwCGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZe64OglRvyAqeWOYYoJyJlophmma2W6iaWLVZZG5YpQijaliE6WuKeeS3IYJZ9MfigloHf6qaShTwo6KKKJOpokpI/SWSilecpZZ2xZwrmpbl3S2B+ZBRY331ev2JOGqKyZaiZ8tagqG6ukcqnplZhWaumieAaq6J+EHvprkwMKO2yjxU7aILLH/x6Z4HlGNutskdBGO+S0vkKr7H/ZLkvktLCO6O22yT5rbaTYXqstutxK2yyx65L7LrvjqtsrkhYCK2m3Pu6qK7/41jrndFYC3OlwZ7KppgJjJsxwww4/DHHEEk9MccV3fEurKpGBdZdZf8k6jGEezzUWbJ6qNWtlBG+F8GwrY0Wbyy9bFfMujE6FnM03R5VzE/dm1bMR8fJ8cnXzVhX0MenCXLQ0CWqVtNFDPxW1008DDarUS19VcxHlMt2y0udinbLXY5NdstVng61xMGtDfaoVX4eFG8YzeGv3heGK6x7fwcJ7tbmB+51vje0ae7S9U3f7M+L1Kv644P66a2eftxbyOjPmTdvadZthJwxK3haPTnrp6hQAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5w0gYtB3bz7D4biSJZQhqLmyrbuC8dbSmfyjef6Ltc+xgsKh0Ti73gpKpfMJgeJdEqn1CUUWs1qt63rlQsOiyfe7/iMFpfN6bZbuma/5/RdXF7P67v36P4PONLnF1hoSDFIeLjIaJH40xgZ+QgpaVlI6XO5GZhZwwma55kSWjo3qmKqioZqs/qq1qoBS7slW4ur1ZrLO4XaC+w0Gkys5FmMXPSYzCyU2AwdFBdNLY1XjX1Tmc3t3P0NHi4+Tl5ufo6err7O3u7+Dh8vP0/PGqAxWw+Df796pL9C0aQyAEMQHLimYIc7jQYprPDMEKWHESYCOkbRAcY9/8MyLujIEaTHA7/07BpJ8iQdWflG3qrDEuW9lytpemTZsg3OnA9x1ox50+cpoUFt6iRKcSfPMztdIj0KtKhKN02lGmX1tGfUN1szZk3TNelVqCVRjiWbSaaBs2DLmnULc6NauHEtql2b9uKyu44iYnLIty/DQ30CMyjc8KDhw142YVl84l8pfEmWQtY4k9/lzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+Pfh7lfuk/8rP8RCD5xwsVi58GET94wBX5d/+3q9Fe2omkgFzY0ZVSXgdOlaCB04WVmYPRVdUggRNSGKGFzymVz1fOcTgLhhuCiBeEzIEYoofLoUiZiSuSmCGCL6IYo4Yn0ihicyy2yOCIMLqo3I4lynjjj2zNyGGFAF6YpJICSkcjAjb6mKOC1TUpmH/UYVkgYtnlKOVg26no5DZjHpklDfcRidl65bHZXmRPxlmflnR6IOadgjSmZ0Bm9glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSusJGYLK56VeTjpnoxIm2uOhQAZKJqBcEnqsoFH/hlLZWzA6polYyyIkGUA7JiFJrvVcC98fCenDbbch2SdPuOLW9a164TKyazzmLuIXPOaeO1S777xLmJ3tzEsvVfqyMy+8/wK8br727huwwfq5W7DC5MrbsER5MsxtYg9DXDG7F2MsZLbXlHutJfRZ2/Elf5I8LSeaScQeUyymNrIuz5K2cBbJghYvFUqZZqUvxUIGpzLBeoam0FNu9rPROeMMpjBLM9200+nSPLPNMVNdNRjr9Uv0y8qWbGzIYYvdZ8R34ns22mlnvDbbdCbcNtlvqx0n3HF7fTfeeWfdntlzu7131OnJXTbYY/Md+NB6In540YsnnfjThio+ec++Dvb66MGSbmwpj0BwTU4BACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2nQH6ruP+DwxCeESi8IhMvopMo/IJjWqaVJ70is0qqlyA9gtGdsfhsrk2Jp/X7FQ63Y7LP2/4/I6v1O35vj+xx/c3mBcoSIjYZqiW2Hi2yOgoCQbJNXmpVWmJyRmlWdUZqvQJKvrlFYB6R8pkirWpyFrk6vkWK7tDOxrIhpurmwT56NsDHKS5Rmx8TGrmuwwkO8wK/YPrTF2N84yNrL3N3W34DR5eJkx+Q1w8bZuuvn7b9V6uHOfVqkpvs86+/7+hnz6ABCkILIhQT7+EDCUsbAiRwcGIFAHFq4gxlb2M/xUvcuxo7mPEayIxSitpMhvKlJVWcvTm8uW4mCL30FyJD9TAmyVz5trJM6jQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7Sp0F1KurQ2I72SwbahHaSzDXJvrk9m2zuH9O0i1E8u6qkHqTbewrzy7gdoIHn3toWFzexJQmMj6F+HGmyJKzUK4sxTHmVx43X7ns+Unn0Jn5kha9+HRplapXw21teS5szuhYUJmNobabebgtzNxdp7dvsiR0Cx+iMZ9t48cdGghrgnXzI9KnR6tuvR727DT+cudn+nsM0OKXjC5v/jx6F+TXq9DsvoVA6PGjt69/4j7+4vr3j//o718IAAYIgncE5mfggfYVpiAKqTXooGwQvvfahMu1ZCF7v2VoW3LucAjDhyDK4JMV9I2IYooqrshiiy6+CGOMMs5IY4023ohjjjruyGOPPv4IZJBCDklkkUYeiWSSSi7JZJNOmpScRk82AMeJSPLyJHNHSmgkg0M+CKR6Pg5YI3xjmrnjfFaWqeaPavqT5ptuvrlmjHTW+eKdc8rJ4514uujnmXzGSaeg8+15qKFo5jhoj22GmSikYvY5KaFeSrodpm11WaGSWiap1pQewiKqRSaWeg6qDzSRiqqm3uYqcU6eJSqWWdra5KdbhpqrrkX6SuSmoAL7Ja9MElvshsf/Krsks8uKOGVwqkYybSmubtHDn9duy2233n4LbrjijktuueYy6qGU3ELbK63PIqsovJZyGWSC8Waq46Nx4aNYpVaV2Eps+m6FK2qNXoXhLnpiRe91C1cFpnaFQhweeIFORaZ8fv4SVaQ+bMzxUwNbvPFXB3cHMpxLPUxyySKzjHLKL8M8Q8oqJwUyPDI3tTMaNjvVc8w58xw0iUXj/HPLNCOVtM8uM2WztgteDHXTQk9M9NFGL8101DpjnfXTSmfMk9cfj1y11jWjnbbYX9u78tAOVxy32xI3PDPXbwvbMdXU4Q2V3UIkzLDec7OLMNiuwerVyZ+1yu++i84bMaV0GFPOt5CXap45pwW3Sy2qjJ9Leummn75VAQAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITJoAAQCTqYxKlc6qtTrNanvX7nULDsO85K/4jB6V19i0+41hy+H0+kOOh9r39TyeDwjn92enFyg2mOe2dgiWSIio2Bj1KLn1OElVOXe5mXm0yTkV2vYpRMqmhepkerpKlvVq2Ooj6yVly0rLlWs1artb21uaNDwbfGN8bDSMvKO8TKTsrDOtaUyNg025nZ3ci2vtXdN83T0+Ax5ejk4uGyvenv76ey4/H9ppfx9Dqq/Oz12iSAADCoT0D5jBHKII5lr4rIlEOg8hWgxR8aLGDv/vNnrkQO+jyAz+RpqMU+mkyguYVrq0gPClzAm3os28iTOnzp08e/r8CTSo0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWrVodfbG7dZelrsJRiwZItmwkV2kkd1/Jp67aPwriCMtJdVPAuV7h6w8Trq+ovYHjsBhMubHgd4sTm8jJubPcxEmiS6zmuXEQwZmb7Nktb7Dnz5dBDRpMuPfc0KL6qOattrbglbG5nZ8duaPswo9x7WXnlDZzareCOYhJfPej45NrKg7xu/mMV9Oghp1dLbd2G6ewuQHN/0fk7i/DiV2gur4Iy+u7k15eA9tu9iPPyScCvb749foz094P/6O/fBwAG6IF3BPIX2YFqbKdggdg1aF91EC4h4YQU5mNhChhmmJ8fE3HYIW4gjtdEGSNqd2KKKq7IYosuvghjjDLOSGONNt6IY4467shjjz7+CGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTsnWh1QesJuUxjXpoZMDefnlkp6IyZyRJSF55pFpmrmhmm2yWWaRa8IZZpJjkpkcl3mCGRafJk75BCwHPlGNRPF9JyKTddp5p5tvCskakA/2aGCO+tWoHqUDygjfoS926qmLoIbK4qg6jkrqiqZaiiqroJ7aKo6opnpirLLaaiOuN65666uw3sdjp5pm+uulM256rLGY/yY4bIWSOgvpo3I2ymiffg53pQG0ZutNoCVma221e6L5HJHQ+sjgriVOWiyzuwK7o6+uwvsur7nqSuOs22ao774W9usvDYQGvBTABLOXylcGozauVQtTJ21UBh98wrlNTSyMxRc/zFClSU1M8XzKFoVxx8gOVbI29DqV8kHEbtyvycI+xbHLKxcM8DezQpWzzvYyFbPP+H6sr9BDE/0zPkXznLQMNcN8s9JL0xy11EcrNbPRO0t88nhPs5zuGF8zHal2Y4MtXcZTV1UuDy2zLRvEa2e1pdpbl+VtyGLPHWPQy979t7z3Np1s1r2+PO/IonYNo+KcutvsnM9Kbu5Aeg0XniiX6/rGbeee81QAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiaYdoLbuC8cxQNc2K+f6zvf3b+sJh8RiBogMGpfMpjAJpTmn1GopirVqt9wJ9ovrisdacJaMTi/NYLX7nWN/4fT6Sd626/cc/JwPGOjldyZoeHhAWIjIGKi42BhZ9xglaTlJmXS56ZapyQk65okUWso1CmSqWoX6s/rq1FoDS7smG1aby3OLq+s7I/srHNc6bAyDeqzckrzsfEf5LA2tOG19hXetTSK37T3y9y0uIjU7fo6ern4VwNK7Dj/4GU/PwFaPn5idD/+46X6DHwiA1RrlEbjBEyKC4RBaaObIj8OHEAH5mxjhlsVo/xgh8NpTsaOCj3aKiVzA690bkycRpCwZrKXLl3RIykwpBQ5Nme1s6tTIE6dKMjh59vSppmhQpGmULgX6k2lHp512trSalOrVmDWlioQaFezNkCu9fiVblqtRAwpBql17tCCft3AvbhwFF6VEQ2jzxoUUMZNfB4APcRz8AGA7TnIRK+s21LEwM5KtMQxYWVzkzJw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP74Khovlm2hov8+9/Pr38f+/YNd/8gT4kHt4VUBKeix5VMl5CzZAWXli6XVQeGb9VSF4Zu1l4YYcfoeVPh92JxSFI3IXIluNoaiVioR0OCGG+4HYoowR0hijjfiR6NWKPOaoY4MaAhnkPDD2JWKGQz5oYmE4tsWgkBIeOGBAmy1JYEZH1bfeYQJW2c2XFM0o5piVXFlmRqSgmWaBbb4JZ5xyzklnnXbeiWeeeu7JZ59+/glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnh7BFpeF7sinf3l6SedlJ8bJZJoXGoWDO4wReVWQkQjFJkJh8lUirC8G1utWWXaFa679QAlTscb/rtNqU8qa4xCtYjwLbbR0OUvtspqlKEq2OQkULLbZ6houGt5+mw+uaXnLj7JZnQtusVXBi8+z77LbrrvmnotuPNTe+2+69u7Lr8D6EjyuwfKKG3C9ByPcsMMLQzywxOrOW7HCNU6bcL4XY/yxx+VSvLG/IYPMbT0nA/wqPSWT3KzGMTM8s8zIJluzyDfrcS0rPS2mbSxIYiJYF0p2i6ogSU+xqtHD8rqrFUs7HbUkN25BJVFXgyJrEEH7kHMZRqLWcn4pmz3yfyV+7eDEameM9sP24Rs33PHRKx/eeev9Hr9sY9lx3wXPPTh8fhNeuOF8G3j43nTfvTjjgUP+OOV2Kit+ueUrO+42f3K//bLm0nLes4Cjg77zm1nXOXWqVe+pqit/swq0qB0VAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MqgDEolGITCo9xqZzCY1KF85qc4rNAq3cYgCgDYtp3TJxjE4PzWa1+/1hy+H0ekXOtuv3VHyeD2jnhxdY+DY4Z6g4hvi3+DjVmAhJqSTpWJm5dVmmefjFyNnlidYZKcpFqkUohZqqejoI5WoFG3U5S/tkaynaq+vFm0T7CwwmLKQ7bHyMvOkKmmzsHDS9rEz9w1zsm+3DfIaE7c0D3izdTV4OvpSurmN+Lt74rm1+61f/Hd+Kqb++LQuYK/L+7YhX0KDCCfcWOqTA76HECA0nWmRQ8aJGBP8BN3o00PGjR2AiS5IsKZIYSpPuVn7k5HLlQEQxXc6cVDOmv5w8Z0bjCTSo0KFEixo9ijSp0qVMmzp9CjWqVG8JpzpMVdVqNpxaqdHr6lUSWF4tx2ZSabbSuLSQTrJdZO2topBy+WSsq+cu3jp69x7q61dNxMB8ARMWM/iwG4SK/7Jr7Dgu5DSGJ2OpbLmf5Myh3HLujPZzqdCiR6MqHVks6sUwV8NR7fp1vth5O2Wl7fhLuNu4e/v+DTy48OHEixs/jlxQcjq1liMe5fwy1+jzWFG/Zv36M0K8tdeA7b0HrvDiwZPHUfY8mfHqc7Rub+M9/Pjm589gb389zfw3vvL/p5/df98FKOB9OxU44CsIAjTQgg4+CGGEEk5IYYUWXohhhhpuyGGHHn4IYogijkhiiSaeiGKKKq7IYosuvghjjDLOSGONNt6IY446GvVEdzZOl6MsOtY3Y3ovnkbjWi56tiSTK07jo4h0qYjZiFVKeSWIiaG4ZYpdmsgYi1+C+ZiYZbIQpXFZanBTc9edKYKQ0U0ZB37IbcYEknc6yUGbRgpHWp5KqqlnnXQG5+d+IIR5nJ2CrombLGkyhFA4y80xKaWVZkpbosGQsOmnJIYqaoiklqrlqZamqiqnEba66oewxtrhrK4+OCuWuZq6K6ut8tqrrMHWOqyHxRL7q5XJ/+pKaonLKtuss9GSWamXm1LJqLVwassnt4E++W2Tjso4bo2z7XhAoj+hy2677r4Lb7zyzksvR7qdceuS90KHrqI3ylfkn+BCQ+6gcjWYbzWHdgVkLHha5Z90204FcC6Q8kiwxRcT1e12GwM1sT3VRvWxDNMyNTI62aKcssjXNhVqdS0rdXJ5MbN8s8szH/UsgztjfKrCL9PcMzw1A62qx2MOdax7Qydlq84lswSr0gsLFbXVHXPcNHor85y11AaDXbXQDyNdtM/hkp20zBnD3LXaRBKdttj+OhX3PhGT3LZmBEJVtzj7Kshw36vsu+5YQVP79KiNS/u140tDe/aJIRt7KzCXbxdcbox7B3lgv6A0WG/ppp+OeurhFQAAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEy2AMqm82kASKdUqPXKo2q32K7XtQ1rv+SySIwem9dsS/rNZLbn9AT8Xs/X73y9v8zX9zd4FRjYJUc4Zyj4lKYIyIindAiJJdlohGlphTmp6cnp6AkHSipKSfpmqoqapLo6BFvlWjT7KHRLWyury5Xrm8gLFKwWVCw1DIws7MOsfPy8XAz9w9zcc11NTD3dvZ31zS0NHu7bS16uE0x0ja1+o2urDW9+Op9en9PKKq6/H+oIvX87GKVCRnAcroPsEhILMAXipYYOK27wZzFjhXP/Gju6kecx5IRbIkuODGgy5YN7Kls2MOgypoNPMmsyiAMRp82dPHv6/Ak0qNChRIsaPYo0qdKlTJs6fQo1qtSpVKtavYo1q9atXLt6/Qo2rNixZMuaPWspDFpRsdYSyuR2T6W4dCTRXWT3LhuUer/w6+uFJWBEggd3Kmx4FN/EijcxPuz4MZS/kp0srsxwLubGcDc3MeS5UOfQnI2RJvFOhdrTIdqytjz6NTrQstvlzFs7GuXcBWfxzgbyN8DgwmtgLA4jH/IXypcvae5cNfToJ9xRBzPwuvTs2qtz727COvgU4sej+G7+DPr0rRGy9378fXuK8lHTr2+fOP78u/eX//Dt33n9BfgfbgRuF9uBAi6kYHI5SZRagxJOSGGFFl6IYYYabshhhx5+CGKIIo5IYokmnohiiiquyGKLLr4II1IRxviSazTaAdONocx4IkkucrSiez1OB6I7PG5o5JEZJpmMiExGFOKTTX4oJZQeVjllh1gqKeGWWWroJZcKhqllmGISSCaHZp7p35plbvmml2qaGWeVV8pZp5R3wrmnnlRiWaSdUfo5aJIkPlmioSaWt6iQKMaXqH7CJcLmfJfxFocYMVyam2Yr0IZcZMzdlkylniHGIoA/+tiipI8CmaKjQ94XqayHEvmnrSMyuut6heoaKK59Qjosrb0KOyewv/8aeyysszrbKLTPqhokq63CQuOA1xqYLag34sjgtzc9aKq45p4rFE6lomsHqeHq6G4pOmr7qrUqMtustE76WiyxyfKaq5H5CrwswQEjejCTCSP8r6ANEwpmmg9DjIS6615FZ2aaVuWmQDlGlXE7qCrV8WycyiixbtQyFbJCK5OMp8uuHpWyM8gCVbM9/g7Fp8z48tyzzQCjTLHON/sEqM/KEuWw0IouxbA1UcM8dG9TJ2WwyllDze9wCkO1s9dPOxW22FVzjW0/W4N9stZnN8Wtx19blem7Fc/NlU4TjV3w0kiuHWzXE+sbOOF9vxytvfUivvjI9zqe6sffeopu3bcMsYt55ppvznnnpBUAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNc2CwT5fvf+D7QAhsTiUBdMKpc0o5OIZEqn1M/zaqxqt9wH9gvtisdSsDlHTqt75/P6DW+13fG6XTRv3/d8TF7fFyjo9Wc2eIhYCIjI2KdI1xgZ9wgpaZlGaXi5OZYJxgnK5fkVWko1imWquoR6tfoK1PoES3sj61Sb23R7pOsLwxv2O6wSTHy8Yoy8XHLL/NwsCz0dgkp9DeKJvd2Ryf3NURgFTu63WI5+seOKlu6uweOIFP9eX0Habq+vkLfvf6Donz1vAt2NKkiuFUJw0hZi4+XwGsSI0ILlO8TjIkUK/xYZHZm1cYJFjXwqhWwwkmSdOSchpBT0pyXKkY7EyeT3smbMmwly3iHI04DPn4+CAqS5h5LRo8qSKl2qo6PTokuRTqVqVOpVm1An6twJNWrDkk/Djv3aLyxToDDBqhVbFmPat2u5yjVJd95cSXjzwu3r8W8vvw7wmcpImOO8xIwbO34MObLkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPVQ8ldlNfOLePVxM8OHvCXZDvnwEa+rNKWwvsmn1dVDSW41OnxTOoc7d1v+VzxxWKdXXnDbnaaXcQQMWsdyCCB7noFfGRfjgcBQCKNyFFQKnoYQWdugMcSB6GNyIZ5VoInsipqhihiweVNyLBn4oI1Yr1hhQjDjaReOOLEHo4zk6BgkYikSmkuCRSDaoTYQFzuhkfwIOiN+Brixw33P5paLShtBt+dF6J8LnUotk3qNUemdiaeWSa24g5Jvh6DWOnHbeiWeeeu7JZ59+/glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnn4KaqiilqfmooYxOl6iAZV6p5l/jqknhnhm2Sp/di44q4O56koYq2toqBaXgQBbVZxvgBgUj3D/dMhTXGqMeNOMvyJ7kqtimFjte5hAuxGJonBLUYjbUhuRl1VgG66sWqRYrrmngLuQrevCG6+7ZdArkLxb4JsvrfMym6699wLskL7nElyvv/temK26/0YZsLddMBySwgvz2q3AB1Mpk8TXctyxuMta3K61zzocsbR2eFwxjEm1+aNZzpLFVrDi+DpuPzh3C3MWlsTcWJGBfUTPsBhFhfTOlIEZpqNAI2rjoCoDqu2r1ihNqsh7akwmyWeCXKvBXYMtJ8RlY3w22mtSeCvbbas9ttlfu502rnXbfbfY4dGdt9dZk/0m3GsD3jesgfsdt9axsvy2yXlWHajLUkdt6F6KDDItjKSIjcp5598UAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCpVgKXz6QRIp1Oo9cqjardNrPfb4oqlgS74jP6M1+S0+21hy83wuj0xZ9/39vycD5jm9xdYeDWYZ6gYhSi3+HjUSAhJGSQ5WZmpc4mp6WnDqfc5ShPqSIoKYzqW2hq2yuoqewIrNvvTRCVYu3W7I4rF2+ubkxgsXEV8M3iMTKcsg+jlDF0j2cxbPcN5KKxdet1d+x3NLW5KXn45jZ6uah5ctu4eE/oFT+/SDsacr97o5s8zf6/CvamSjKA1gwobPmDoMCIDgBIrLpBmMaMCY/8aOxrIFcujyAO2Rpo8iTKlypUsW7p8CTOmzJk0a9q8iTOnzp08e/r8CTTok4FCXa0pmqof0kog/SxlOu9poVVSp1Ktuicb1jreth5E5jUg2LBonBElO9Qs2ntmz65N0vYttrFyGcWtm1Yt3iVt2+xVcvcv4MCCI+ktjIQwYiOHFzOm69iw1siJx1GGC+sy330vurjVHIFzik6gQ0NEQbG0BIyj8amGcGpF5ter5YEsaJk2Lsi6NzXuDarvZ+D6hBMPLnz48dbJlS8v0VzXc9zNpxeP7tc6c+zOtXPgLt27CfAJxZMgX958CPTZ1ath7/48/Pgg2Len/30+/g72u+//N03ef++hJyB/BBaYX4AIJsjdggxG5+CD1UW4AXgUVojdhRIqpuEFE3aIIYcgeijiiCTyZmKIs6U4oGgsGujai/WdJuN6th1VIxMf3eZfjj7+CGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZfi9bgljl6SxFGXqWVpD5YuSpnblG1CiWKT1EQ555O/MVkiknka2RecexLZp5PGyflnkYHiWaiHZSwKJnCJruZIo6o9+hBr5tWJwZrPYXpimtrFCelk1nXVqaibrhjHnctdleqho8Y4wYevntnqoN4plSmEX95YkgYWxtfUojDqaqiCgBo7pH5B/yq7LLM/2nfsgUJCmyy1zUp7LbJAWpvtr9M6+6y23RIbbYbFNqinuUequy657dqqJLxLUvotqPGaSierVGq6L61aNtXrmBsxKnDBBh+McMIKL8xwww4/DHHEEtfW8FGSCsprSGZaqmZUV+rrJsj5olrVxUWQihTAupicBcpB4TqYvTl5XJnMNvErBL0uvTmEqzPjm7OqNXnD8jtCz3R0D/IOnfQvOqe0tA8+05QcEVMjXXXPT5sk626cUu2u1E23FLbYNu9cttJnk512y0DLhK7WPGPNriUi39y22bAy3XXQe4Odt9cc/9y31TDvVHfNGvuUOFy2CZty1vdGfe7WMidS/u7a1X49r+aV3y0oyWx62jGNVQ7OZWwJezZx666/Dnvsss+OUwEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwql8ym8wmNSqfUqvWKzWq3XEDA6+WKxxaA+Ywmq9cJtNvNjovf9LP8fq3r8fyp/t8XyPS3J2iIRFh4uBiUCNjF+OSoaEUYiThJVzl5aZSpSfVp1jkkCidlmkb6k2oX1aq6ygOLCusqO9v6ahuLi5Nay3vr+2sKJfxGnCMajDyqvMx57HwKfZPoR91rbVNXpb3NfY0FHi5+LlE+jM7uoL7eHq/wLl+/8P5sr/+lvu+P708fvYD2BhKsV+6gQHAKF1JrWPAhxIjCJu6raPEirYz//4BxJMjso0JsIjOCGRWmpMqVLFu6fAkzpsyZNGvaHEfpprVPOolt7NkJI9BFEof2YWiUj8GkawAyZYMv39MuUVNO1VIV3tVQWaVu/dbV69ddYa2Obdb1bLayZtUOYqvVLSa4ciXBFVv3yF28eYvsbdvX797ASv4CJtxoMGK9ihcLvuvYU+PIQiZTrgz5cim6momw7fw4LWjPYUdzODyitOkyOVNXXV0hU4mssNMZc720doOfIvrpfsCLRMLf7oSG0Ea8OLLZwZPvLipcl/Pn0KPLnk4dOYqToLADH+7dh+/wucaTj2b+/LXc6ms4bb8+PfwZ7+fTqG9fBv78MNjz/+8v338uBCjggNoVSN+BCOrnzILuNejgg7ZE2M2EFMbH04XoSaOhDo50CEQyII5IYokmnohiiiquyGKLLr4IY4wyzkhjjTbeiGOOOu7IY48+/ghkkEJ2wF0aqA1pG4dIRsDbkgwY5+QBDR4JJFJREvhjVEi+NiRtQYqWpWo+ftYjZzxmtiOaOVp2I5s2/pWmmzTCqSOda8o5o5046tmmmnvimaeZdwo6aFllknmomGcqmiiXVTr6qJZd+heplUuCdyWEUbbR3Kb3SOfpPfwoGao7oyZDZYRFxlVqdo+0qhypsBoA6qyn3jbrcq1q6qmCmVa3paWXYjqpsMUa+yWWjf8Sm6yycVI6prOLSlsospX6KiS0YVp7ra6bctust73y+q24pVpo66rX2UprSOwioG53785zq5Hz3otvvvruy2+/MoLxRcD+tmuJvri+2+S5ne5qrpPYBgtutBFPy+y21P6537IX1wimxRk/CynFkno8ssYf+1WvW4xKRtJUhs4l61Avh+auUSsnlnBPN7OysM4d4wylTj+HCKxNQ4v3sNElA03uTSHzPHFMJ5cXNUza7nC1TBtXuLVLVRfTtddNYxZ2Sw2TXTFQPZNWttUHM9a21B+mynTST3lDN9pfY7x3n33zPXa2dgseOMRr/4ourInnWqvi9baMb8yRa5L3wJYNX4555ppvznnnno9VAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCYBAYCzqYxKo86q9TnNan3XbnULDs+8ZLH5nCKrmei2m7NWv+d0Slxez+sRd/z+T9dXBkjoJjhYmBh26KXoqMXY9Tg5FXlFiYlk+ZXZSbTJ6Sn6AzpqymV5qrqzueqaw/gqa3M4a1tzd6tL07jr+wscLDxMXGx8jJysvGwkx8YMvRAZTd1UWp0MeoltrL3NHeyNCK4rPk4uwXT5nGe+hh7R1+7uBy89bUj/bp9w3aYfhx8fbWgABhTo7ozBg/boiVnIEJ2+hxD3kTMIpqLFi/8Yt2ishw2ix48gqYmERLIXuIooU0ripjGLy3MmT1aa+a3aR5k4raxkebNnKJ1Agwr9WZSKUHYhbUpZigWm06dHOS5s2VPi1ZFZtQJchLNhR64u+X0FW9asQzMzBVoT94+kWwPm4sace8Cf3alzUwXairefoD0YmQbOW8ZwHYeKD/ejVNexLYKSfdVqXHmWukaYM3v+DDq06NGkS5s+jTq16tWsW7t+DTu27Nm0a9u+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu5Po7F3H5pLhacUqb14v+hYJ17uY6D7N2fgmktJnoA5Kurv3B27/vLdTf28NBqB97rWiQFvxeSNYWuhFRpeC5a01oFwTwtdVeF9lyN1VVXVYWFjdQQXYdiTOp92JKGanInwptkjhizDCBeKMDNZoo3rX5UijiTwiiOOPtXgnJD4jhijhkROJqOGGDl7YXpJNQlghX1DqaOGClCVo4IF+JVhlewKGSR4fZG45JmJl4idmmtJAAV4DVLpZgo501nmmSneyMJ5Pce4JaKCCDkpooYYeimiiii7KaKOOPgpppJJOSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeiqtZ+rWaC6pGhopmpz1uGmOmK1Y6lqVW/44myZ9KLZsZgWx1Ge15GQX4WbBU8Vettkuk5NmcSjx5mIvjkouXuZqg29exRTCZbrLrgltuic1IiRC0QcDbrr2f4KuWv++yK5a+pBBcsMBDAJywvANn2a/BQNAbGLf3YlsxtQtjnLHDR3AcsbsfSwwPyfsqHHKx54ocr7rbiluZy0bdCJrMM38pWpsU4cwszQUNmZq3CuW5q2o86+GsaX3+Z+qauT7N2tJD+SpPqUACe7WwPhMLs7Iqe/31pB6LPTakJiuqcaMWS5o2o2ub3faiID/6Nt1xy302onejnfehfetdNtw2kx02pYUjO6ymUlv7qZ2cHi2qPEk/3izUlghfjnnmmndSAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNngDcbgCgDYsz3bJ5jE47wOY2Vw1Xu+fvuNz9ndLp9vC+DfU314clyMdkiEdIlXiY1Ai4GAX590jpJfl0WWm0WZbZ5MlZJAoGqlQ6KlR6ipqqGsTa2vkqSCQ6e1RrO4Sbe7vLu7r5CxwM60NcPHyMnEy5zNzsKO0cvTNtaCx8/Zy9p0vd7f092Pn1aToOVA6+/q7R7g5PTyEvXp/PcG+u79/AT9G/gQcCRiKIEJ1BTAkHLmTY8N9DiBHzTVRX0d/EjP8SH3J0uPAjyIAiO/IrOVIeSpPtVqbM5pJgy5gvd9FMOO0mQja1dEZ8lcfnT19CM14qutIaUpcYlzp9CjWq1KlUq1q9ijWr1q1clzTtWtPLV7DjGpFdB23s2VPE1K5dlOot255yJdmsC/cuXjg599455vcv4MBivhEuDPOwlnKKszBufOUxZEaSJ+sxbJly38yXE2/Bx9kDZhOQQoPwLIKo6XibQwBdTabZiGCwY9NOPbi2vdunW+uWoPfDzN/AXwsfTjxCXNcqkxdX1vue8wnQcJ+cTp0bc5LYgSv89Jl7dx4ex5Mvbx7HxfQ61rO3cdHt+xbx59eob38G/vwx9vP/f+HffyzEJ5+ApLlnoAsbJaggggyusOCDA6InIYQGVdigeBiqcOGG9F3n4YTIhWhhZSRyaOKJKPqmYom8tZghXTD2t9yMNKhmo36l5XgeaDyS92OQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZdefglmmGKOCQFPQZGJAU8+ogmQWWw+4Mmb++Aop3F1yshmbmjqOSaLYPrp5WhiovYnoYGm2KWgX454KKBbMpqooY06qqWihcpGJqVcarrpi3sG96mdb4qKQoEnylLqPDNCV4JZpkq444GlvVqhUsfR2SIbZ6ZKap+gZsrnpcEuKmmnlhpbbJbS/xELKZYgItuslRpW+qyy01q7LLSIXtkhtdVi25y2xzobrricUpntpOdWWa66njKLqa/DCtvroHiOWqOcBbGqbwLV9TunrQAvoCutAx+McMIKL8xwww4/DHHEEk9MccUWXwyVwQoLDLCbDPPbMch3oqrvvcCaLC/Ka/VjRbxnJdKyy12pCbMUyV7VViA3U5UvIjtLpXI4P2ccNClDP/Wu0EcjtS45Mlf1NC1LFzV1j00LNW4vVfuUdTVJA92110UTfbXVX0e17Ta/8py21mejHbbYuEK9tdlzs1233UfNnLfesW4Vt9F7k1W22zUTXrjaLK88byDf1YFX1PbWOznJIxzfHeq/CA++8eEPq4px6KKPTnrppp+Oeuqqm1YAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuCx9ATNf2jcvAzvPBnAsKh8THrIdMAovMptOljCqf1Kp1I80ir9yuV6ENb7/kclGM3pnX7Fr6vWzL5yT4m47Pd+xwvf8vwWcHSFiIIDhoqKiHmLj4KNfoCEn5JdlXmel1OanpycTZ+TkqFHpHihpkepra6raa5ir7Ahs7e8tSi0Z2pIZrqau1KfXLFSxmHFZsdSxchbnc1EzMzBp9Nh31DH1NlD21Ldp9850ULj5uU95zzp2Os+771PheGl8tWK+63u6u//rtCr1/8LIJRERw37SDfBLmWJisocOCuoD5m0ijokVb/xgfwiqDriMMU2w4ilSIMFKWk6Dy4dEWh6U3k39iynSy0ubNnTx7+vwJNKjQoUSLGj2KNKnSpUybOn1qDCpQZVJPXqw6LiXWd5y2XiPpddnHsLOCkXXV7CwqiGpHGWybqRzcuAHnQrpnd1E8nXnz7O1raC9fwHMEDya8xvBhxCAFM2Zk+PHLyJLpUK7cRjFmlZc3N3bsuSTo0J//kjYz+jQv06pL12298TXs2G9n0zZr2/Wx3KjZ8l69+7fuVcJFjy3emzjyzKGWF5bk3K/L6BqoZaRJ3cIuNz+sZ78Q8jvwq+KHaS1/mzz6eV3XR2zvvh/0+OyV05dW637L/Ppn8v/vb89/AHqk0YAUCWjgdQUmqA5uDAKE4IO0LCjhSBRWCMWFGLag4YYrROghh/aFOGFzJCp4yYkQTqciihK16KI1MK643YwHrmQjNuYslmOPPv4IZJBCDklkkUYeiWSSSi7JZJNOPglllFJOSWWVVl6JZZZabpkgj1xW0As4X4KH3ZgNsGgmGAOlmYCJbBoAVprEeUkliFgG9yWeWfp2J59W+lmlXH0COqWgVxr6p2yBKlooP4cy2mhtiUq6KKV1Wlqpno+mpSWhmdo5KaifujmmqIPCxyapIR7xQ6sqpHgiVSiguaF6e3RX46rhhSAMqySedwKrvrYI65twopqqqqX/xmmmqaEyy2WHmx4XrbTPjtipg1tqeiq122qbrbWXOhupt9+aGy60eWJbLbvrItssvMkCa+yaxra565sy3nsmMXTyC2d3rgJMcMEGH4xwwgovzHDDDj8MccQSP+Lvw7kinK+ctOpr773yLlvsvB+fqyzJJaer7p7ijotut+5O+zLMMbNMbpTcunxyYQM/drNx2hAGrs+y5rXye2WeVbR8R4dVs9JLe9VyFzlvNbPRHSM9stQpk5U1Q1szffV4U0P9InNRg71vcmdjndNkTVONKzv/Wv31qHXTXHW5a0vZs8x36/034GPbHXK7eeNd+Ltdq7w4zhuDTC/Hj9ebscZPEfMbpncNhynwxJ5/DnroRRUAACH5BAUIAAEALAAAAAAlASwBAAL/jI+py+0Po5x0gQCy1rX7D4biSJbm6WzqeqHuC8fyTEvsrdb6zve+jAvmfsSi8dgTKjfIpvMJnSynmaj1ii1St62s9wsecbfhsvmcGlPR7DZYzXXL5034mI7P6+x3vf9/wtcHSFhYIRhnqLjIgJjICMno+BhZ+TdJaalJh0m2+TnX6QlKeia6Vpoadjql6urFuvQ6axWrRIvrZCuU22u0i+Mr/AMcPHxcU8yCzDyjvNIcDfPMJG1tQs1xvS2S3cUN7pEdTt5BXW52UaWO9oz+1bpa/I6lJr9LHyX4Fpuv7wiPlT9dnQIWHFhHlEGACI/YWminYcJ+EDNJJIbvHqqL/7/mlZHFEcm5NuwglSw1MqQ4Y5/GqTzEa5O3l1I2RvL2jWaDUSZx6nwwSJLPn43s9ZxJ1IJRoUOTHuBz1KXTpxEX4dQ2FUNVq02zQmWK1OtWQ1erZNUKJ2pKsUu5hj07lmxXthYLXT2LIChYd3gN6HXLty9VkJakCkYbBNTaw35ZygzMOIG6nIo9RkZm+fIwYJqbPewc7RRoaQpHW5tketu+1ODasm4d73W+HJRl276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///DyAKMQWIUWwE7vHXgS6spuCCiDQoIGoQroOBOaUFeIsNovlXl2QC9eeaAp/p95WIGd33oFIj2ifhYCvSh4mHnNV3IWTy1agMjRvaCN+Hi73XD4/uPfRje0TmON+RSMan5Iw3UrQkk1Bm1uOUTj6545VYHtTYi1JeiNiGOoIZJpdjtpiXmCya6SKaKLqZJpxvplgUQ/vRmUaJHMaVZ4L8hRhBh3vaBFOGELa5TAnsmHVoIxUy2mikkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/YjrZScg1Cykphg5HmCaC4nYtIGn5BighemL7rbYMgsunH3KaFqO354KW7iXtskYmJ/Gyy6a88172IR4UoatmKPmO9q+//WrmJUkBE7yvwANHVnA7DR/2sCkH45uwHBH3dfFHEzNcsRsdU7yxwwuDXK/HITN2ssjvAjyyySuz/LK9dsJbssJ40jyzu+PKlrPO5b62s7rb6hauXNkC7afR1f5GaGEDEjctSo82t+iyVl+NddZab811114rUhuuidnatKtJn/qzqTervXap64Ja86f3yj03pylr+nGneW+aMbN3X3oi3X9b2jfgg1daOOGHI74443HrXbfdj3s6OeU9EpN6OdtDs7p5q0enamCtiTpVAAA7"
2)],{type:"image/gif"}))),{backgroundImage:t||"url('".concat(n,"')"),backgroundRepeat:"no-repeat",backgroundSize:"contain",height:r,width:o,":not(.webchat__spinner--rtl)":{marginRight:a},".webchat__spinner--rtl":{marginLeft:a}}};var n,i=r(292)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.avatarSize,r=e.bubbleMaxWidth,n=e.bubbleMinWidth,i=e.paddingRegular,o=e.transitionDuration;return{"&.webchat__stacked-layout":{marginLeft:i,marginRight:i,"& .webchat__stacked-layout__alignment-pad":{transitionDuration:o,transitionProperty:"width",width:0},"&.webchat__stacked-layout--extra-trailing .webchat__stacked-layout__alignment-pad":{width:i},"& .webchat__stacked-layout__avatar-gutter":{transitionDuration:o,transitionProperty:"width",width:0},"& .webchat__stacked-layout__attachment":{maxWidth:r,minWidth:n,transitionDuration:o,transitionProperty:"max-width, min-width"},"& .webchat__stacked-layout__attachment-row":{marginTop:i,width:"100%"},"&.webchat__stacked-layout--no-message .webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first":{marginTop:0},"& .webchat__stacked-layout__message":{maxWidth:r,overflow:"hidden",transitionDuration:o,transitionProperty:"max-width"},"& .webchat__stacked-layout__nub-pad":{transitionDuration:o,transitionProperty:"width",width:0},"&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar":{"& .webchat__stacked-layout__avatar-gutter":{width:t}},"&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub":{"& .webchat__stacked-layout__attachment, & .webchat__stacked-layout__message":{maxWidth:r+i},"& .webchat__stacked-layout__nub-pad":{width:i}},"&:not(.webchat__stacked-layout--top-callout)":{"& .webchat__stacked-layout__avatar-gutter, & .webchat__stacked-layout__content":{justifyContent:"flex-end"}}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular,r=e.suggestedActionsCarouselFlipperSize,n=e.suggestedActionsFlowMaxHeight,i=e.suggestedActionsStackedHeight,o=e.suggestedActionsStackedOverflow,a=e.transcriptOverlayButtonBackground,s=e.transcriptOverlayButtonBackgroundOnDisabled,u=e.transcriptOverlayButtonBackgroundOnFocus,c=e.transcriptOverlayButtonBackgroundOnHover,l=e.transcriptOverlayButtonColor,p=e.transcriptOverlayButtonColorOnDisabled,f=e.transcriptOverlayButtonColorOnFocus,d=e.transcriptOverlayButtonColorOnHover;return{"&.webchat__suggested-actions":{"&.webchat__suggested-actions--carousel-layout":{"& .webchat__suggested-actions__carousel":{paddingBottom:t/2,paddingTop:t/2,"& .webchat__suggested-actions__button":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .react-film__filmstrip":{scrollbarWidth:"none"},"& .react-film__flipper":{'&:disabled, &[aria-disabled="true"]':{"& .react-film__flipper__body":{backgroundColor:s,color:p}},"&:focus .react-film__flipper__body":{backgroundColor:u,color:f||l},"&:hover .react-film__flipper__body":{backgroundColor:c,color:d||l},"& .react-film__flipper__body":{background:a,color:l,outline:0}}},"&:not(.webchat__suggested-actions--rtl)":{"& .react-film__filmstrip__item:first-child":{paddingLeft:t/2},"& .react-film__filmstrip__item:last-child":{paddingRight:t/2},"& .react-film__flipper + .react-film__filmstrip":{"& .react-film__filmstrip__item:first-child":{paddingLeft:r+1.5*t},"& .react-film__filmstrip__item:last-child":{paddingRight:r+1.5*t}}},"&.webchat__suggested-actions--rtl":{"& .react-film__filmstrip__item:first-child":{paddingRight:t/2},"& .react-film__filmstrip__item:last-child":{paddingLeft:t/2},"& .react-film__flipper + .react-film__filmstrip":{"& .react-film__filmstrip__item:first-child":{paddingRight:r+1.5*t},"& .react-film__filmstrip__item:last-child":{paddingLeft:r+1.5*t}}}},"&.webchat__suggested-actions--flow-layout":{"& .webchat__suggested-actions__flow-box":{maxHeight:n,overflowY:"auto",paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .webchat__suggested-actions__item":{maxWidth:"100%",overflow:"hidden"},"& .webchat__suggested-actions__button":{padding:t/2}},"&.webchat__suggested-actions--stacked-layout":{"& .webchat__suggested-actions__stack":{maxHeight:i||"auto",overflowY:o||"auto",paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2},"& .webchat__suggested-actions__button":{paddingBottom:t/2,paddingLeft:t/2,paddingRight:t/2,paddingTop:t/2}}
2,"&.webchat__suggested-actions--flow-layout, &.webchat__suggested-actions--stacked-layout":{"& .webchat__suggested-actions__button-text":{overflow:"hidden",textOverflow:"ellipsis"},"& .webchat__suggested-actions__button-text-stacked-text-wrap":{alignItems:"center",display:"flex",whiteSpace:"normal"}}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.accent,r=e.paddingRegular,n=e.paddingWide,i=e.primaryFont,o=e.suggestedActionBackground,a=e.suggestedActionBorderColor,s=e.suggestedActionBorderStyle,u=e.suggestedActionBorderWidth,c=e.suggestedActionBorderRadius,l=e.suggestedActionImageHeight,p=e.suggestedActionTextColor,f=e.suggestedActionDisabledBackground,d=e.suggestedActionDisabledBorderColor,h=e.suggestedActionDisabledBorderStyle,v=e.suggestedActionDisabledBorderWidth,m=e.suggestedActionDisabledTextColor,y=e.suggestedActionHeight,T=e.suggestedActionsStackedLayoutButtonMaxHeight,b=e.subtle;return{"&.webchat__suggested-action":{display:"flex",maxWidth:"100%","& .webchat__suggested-action__button":{alignItems:"center",borderRadius:c,fontFamily:i,fontSize:"inherit",height:y,justifyContent:"center",maxWidth:"100%",paddingLeft:n,paddingRight:n,whiteSpace:"nowrap",width:"100%",'&:disabled, &[aria-disabled="true"]':{background:f||o,borderColor:d,borderStyle:h,borderWidth:v,color:m||b},'&:not(:disabled):not([aria-disabled="true"])':{background:o,borderColor:a||t,borderStyle:s,borderWidth:u,color:p||t}},"& .webchat__suggested-action__image":{height:l},"& .webchat__suggested-action--wrapping":{height:"auto",maxHeight:T||"100%",minHeight:"number"===typeof T&&"number"===typeof y?Math.min(T,y):y},"&:not(.webchat__suggested-action--rtl) .webchat__suggested-action__image + .webchat__suggested-action__text":{paddingLeft:r},"&.webchat__suggested-action--rtl .webchat__suggested-action__image + .webchat__suggested-action__text":{paddingRight:r}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.bubbleMaxWidth,r=e.bubbleMinHeight,n=e.markdownExternalLinkIconImage,i=e.primaryFont,o=e.paddingRegular;return{fontFamily:i,margin:0,minHeight:r-2*o,padding:o,"& > :first-child":{marginTop:0},"& > :last-child":{marginBottom:0},"&.markdown":{"& img:not(.webchat__markdown__external-link-icon)":{maxWidth:t,width:"100%"},"& img.webchat__markdown__external-link-icon":{backgroundImage:n,height:".75em",marginLeft:".25em"},"& pre":{overflow:"hidden"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.primaryFont,r=e.toasterHeight,n=e.toasterMaxHeight,i=e.toastErrorBackgroundColor,o=e.toastErrorColor,a=e.toasterSingularMaxHeight,s=e.toastFontSize,u=e.toastIconWidth,c=e.toastInfoBackgroundColor,l=e.toastInfoColor,p=e.toastSeparatorColor,f=e.toastSuccessBackgroundColor,d=e.toastSuccessColor,h=e.toastWarnBackgroundColor,v=e.toastWarnColor;return{overflowY:"hidden","&:not(.webchat__toaster--expandable)":{maxHeight:a},"&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul":{height:0},"&.webchat__toaster--expandable.webchat__toaster--expanded":{maxHeight:n},"& .webchat__toaster__header":{alignItems:"center",alignSelf:"stretch",appearance:"none",backgroundColor:"Transparent",border:0,display:"flex",fontFamily:t,fontSize:s,minHeight:r,outline:0,padding:0,textAlign:"left","&:focus .webchat__toaster__expandIconFocus":{borderColor:"rgba(26, 10, 0, .7)"},"&:hover .webchat__toaster__expandIconFocus":{backgroundColor:"rgba(0, 0, 0, .12)"}},"& .webchat__toaster__expandIconFocus":{alignItems:"center",borderColor:"Transparent",borderStyle:"solid",borderWidth:1,borderRadius:3,display:"flex",height:22,justifyContent:"center",width:22},"&.webchat__toaster--error":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:i},"& .webchat__toaster__header":{color:o,fill:o}},"&.webchat__toaster--info":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:c},"& .webchat__toaster__header":{color:l,fill:l}},"&.webchat__toaster--success":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:f},"& .webchat__toaster__header":{color:d,fill:d}},"&.webchat__toaster--warn":{"&:not(.webchat__toaster--expandable), & .webchat__toaster__header":{backgroundColor:h},"& .webchat__toaster__header":{color:v,fill:v}},"& .webchat__toaster__expandLevelIconBox":{height:r,width:u},"& .webchat__toaster__expandIcon":{height:r,width:r},"& .webchat__toaster__expandText":{padding:"6px 0"},"& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon":{alignItems:"center",display:"flex",justifyContent:"center"},"& .webchat__toaster__list":{margin:0,overflowY:"auto",padding:0},"& .webchat__toaster__listItem:first-child:last-child":{overflow:"hidden"},"& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)":{borderBottomColor:p,borderBottomStyle:"solid",borderBottomWidth:1,minHeight:32}}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.primaryFont,r=e.toasterHeight,n=e.toastErrorColor,i=e.toastFontSize,o=e.toastIconWidth,a=e.toastInfoColor,s=e.toastSuccessColor,u=e.toastTextPadding,c=e.toastWarnColor;return{fontFamily:t,fontSize:i,minHeight:r,"&.webchat__toast--error":{color:n,fill:n},"&.webchat__toast--info":{color:a,fill:a},"&.webchat__toast--success":{color:s,fill:s},"&.webchat__toast--warn":{color:c,fill:c},"& .webchat__toast__iconBox":{alignItems:"center",display:"flex",flexShrink:0,height:r,justifyContent:"center",width:o},"& .webchat__toast__dismissButton":{alignItems:"center",appearance:"none",backgroundColor:"Transparent",border:0,display:"flex",height:r,justifyContent:"center",outline:0,padding:0,width:r,"&:focus .webchat__toast__dismissButtonFocus":{borderColor:"rgba(26, 10, 0, .7)"},"&:hover .webchat__toast__dismissButtonFocus":{backgroundColor:"rgba(0, 0, 0, .12)"}},"& .webchat__toast__dismissButtonFocus":{alignItems:"center",borderColor:"Transparent",borderStyle:"solid",borderWidth:1,borderRadius:3,display:"flex",height:22,justifyContent:"center",width:22},"& .webchat__toast__text":{alignSelf:"center",paddingBottom:u,paddingTop:u}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.typingAnimationBackgroundImage,r=e.typingAnimationHeight,o=e.typingAnimationWidth;return n||(n=URL.createObjectURL(new Blob([(0,i.toByteArray)("R0lGODlhQAAYAPYBAOzv8evu8Ort7+fq7Ons7ujr7eXo6uTn6ebp6+Xn6ebo6uzu8OPm6OTm6OPm5+Tn6N/i4+Ll59/i5N7h4+Hk5uDj5evu7+Hk5d/h49PV18PFx7/BwsfJysXHyMLExdja3Nfa28vNz72/wL7Awc/S08TGyMDCw9TW2NbY2t3g4trd39bZ2szO0M7Q0dnb3djb3Nvd39ve4Nnc3dze4Nrc3t7g4tzf4dXX2d3f4d7h4tnc3tve383P0MrMzs7Q0sjKzNLU1s/R08jKy9DT1NfZ293g4efp68bIyby+v9bZ27q8vdHT1c7R0uvt78nLzM/R0tjb3ens7bO0tbS2t7GztK+xsrW3uK6vsLe4utfa3L/Awtzf4MnLzamqq5WWl66wsbm7vNrd3uXo6a2ur6yurp2en6KjpKusrZ+goKeoqers7urt7peXmIGBgYSEhHx8fJmamqipqnZ2doqLi8XHyY2NjpGSkpOUlJiYmZOTlI+QkJqbm4eIiJucnIuMjP///yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEY0RUJCMDNENkM4MTFFNkI5RENGRDgzMjAyQjU3QzUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEY0RUJCMDRENkM4MTFFNkI5RENGRDgzMjAyQjU3QzUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowRjRFQkIwMUQ2QzgxMUU2QjlEQ0ZEODMyMDJCNTdDNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowRjRFQkIwMkQ2QzgxMUU2QjlEQ0ZEODMyMDJCNTdDNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUOAAEAIf4YT3B0aW1pemVkIHdpdGggZXpnaWYuY29tACwAAAAAQAAYAAACJoSPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+l0AACH5BAUHAAAALD4ACQACAAYAAAIERI5oBQAh+QQFBwAOACwsAAcAFAAJAAAEJRDISZetmJQ9uhcZyClGSY4hYjbHKqYs06ooLLuBPeM6b2u1SgQAIfkEBQcADQAsGAAHACUACQAABlFAgHAYKBqJyKRS+ahMchKnoSBYWq0Mp+rzimEiiUH1SjaCd64VioaTEo5lbA3GvaWjCmpcfnl27TZ4ent8Mmo6KW6EhXSIEGCDi4VZCG+SSUEAIfkEBQcABgAsEQAHABcACQAAB0aAAIKDAoSGh4RELD8sHwkBiJEoIUKVPSAHkJGJQZaWNQSbnJ6VMAOigzI8pDwxp6gCKUOMnhKFsAgvi59GuKkZPhkTBb6BACH5BAUHAAQALA8ABwANAAkAAAYsQICwYAgMj0LWZokSIAedpTSDREmvxaHyyjy2uN2hCqwZVLmqp2DF0bAkzyAAIfkEBRUABQAsDgAHAAoACQAABidAgDBgGAyHH5NoyUAunxuEcANdkqbVJTa7hZ6EkFFVcAx5ShmCMAgAIfkEBQcAAAAsLAAHABAACQAABC0QyClXpZWUwbsOU/AhSWmQGyiOB+Mq3rJ6zosKM22n+d2YqQzvBOOFcMOgJAIAIfkEBQcAAwAsIQAHABsACQAAB0yAAIKDAgGEh4iJKStLGTARBYmShDgoJEyYNBSRk4ouQJiZNQeFnYc5II2hJzMOBKanH6qiDK+wlBlBqxMGhreDE6m0Ub+xjBi9xYKBACH5BAUHAAYALB0ABwAQAAkAAAc+gACCAgoFg4eIGSNKSj0MiIckjJNHB5AAEiaTkzcBkC8im4w8BJ+hoj6lkBqiSC+XAUmnowOwsT8bJSiGl4EAIfkEBQcAAgAsHAAHAAsACQAABy2AAIIGDIOGRVhXijeHVYqPjIIej5QBglKUjweXmYoIkp0ClpyVhghCiRoUhoEAIfkEBRUAAgAsGwAHAAoACQAAByyAAIKCB4ODMlNkijKHY4qPMIJgj49ggpSUAQBXmIqSnRuEVJgMhiWJJQmCgQAh+QQFBwAAACwxAAcADQAJAAAEJRDICQKdgQyktrBS5h0G91WfSXYaWqjrK8rx6LL1cpf8GaY2SQQAIfkEBQcABgAsKwAHABMACQAABzyAAIKDBISGhzwbSB4ZCIeIIouLQI6PgjcmkpI4AZYDJCOak4WWQ1qiJi8Cnh8eqBiel6GbpLEgHIycsYEAIfkEBQcAAgAsKQAHAA0ACQAABzyAAIIBEhQBg4gBXHh1dWUZiQCLjZQriWWUlF2Hghh2mY14A4MVn6B7UYhmoHVSnJ13maiROFdse1YMiYEAIfkEBQcAAwAsDgAHACUACQAAB2OAA4KCBYOGh4iIETBRAI6PIIYNiZSHKWxymVUCkIcmlaAHbpmkcQCVQ6CUUqStKaeJR6qJcK2
2kdI6zugNltplOjh6IN7uGJr5vB44YngTFgwKYrRuPwR4dAwLPklNzbV4sj4EAIfkEBQcACgAsCwAHACcACQAAB2qAAIKDBAEACoiJiouMiQ4qBYSCLiw/LCsHho2bjF6KhpM9lpY3D4KcnAmMXaGjozECh6izihMFM5Wul5G0vQodBDY8uruyvqhcARVAxDgWxscbjQatrwOnx4mem8EZLUApkdDZClKJPIKBACH5BAUHAAoALAQABwASAAkAAAdCgACCCwEWhoOIiQMRKTQxFQYCioiMMi8fMJAEk5sQKpegjIWTEzqhNhcIo4qlpxSqnBWZroSxpi4zr5KcnTWei5yBACH5BAUHAAYALAAABwAQAAkAAAMRCLrc/rCIEIe9tOKpd/dfqCUAIfkEBRUAAQAsAAAIAAcACAAAAgaEj6nL7VAAIfkEBQcABQAsGwAHAAoACQAABzSAAIICDAODgyxSX1UeDYiLkEoIABJUkJBDADeXkZqci0eUU58ogkBVlxoEgzobVkpLqwCBACH5BAUHAAMALBMABwARAAkAAAdPgACCgwIEhoSIhTJBRx08RBSFiRQvTBoimI8VkoQ4GU4bmKFLMAqTS42iji8RAYgwqCOqQS4Mpz2hmUAxCJMqQ6mrrYmuOShPLSc2Bq6EgQAh+QQFBwAJACwHAAcAGgAJAAAHWIAAgoMBhYaEiImDFTNZRC44FAiHiomMK0A+mTaSlJWCEUVQJySaNzoYDAWfiJIfGUymkBEDrIuusLI1tJ6VDrs3pUMoKhANBLa3W4+lLym8ycqczwer0YEAIfkEBQcACwAsAAAHABYACQAABS4gIAbkaJ5oVF3HIJTpqWJ048bpVKsFjM+7xA03WgV7xOIRmUQ4jKxh0/V0+oghACH5BAUVAAEALAAABwAKAAkAAAIIhI+py+0PYQEAIfkEBQcABQAsJgAHAAwACQAAB0qAAIIEYhQGAYODN1R1bnpXN4iCGV98bZd+ZxmIFx54l6B4SodhYI2gbXZUOQAwSnqoqVMYrSV9sWUbA5NYp7IwiRgaZndmHhWDgQAh+QQFBwAHACwZAAcAGAAJAAAHboAAgoMEhYYBhImJMUMcGyNII0JANQWKimEkHUpVaWlUSkdLOFGXgxIoIY9dZWZnWCYsRBGmgikZPyJSnmhdU1pOJxKIpkW4kLy+kjfDtRWpHlhnvWOwPB8NxMXHVGevyxBqtacgQSFcTsFQtOOBACH5BAUHAAMALAkABwAgAAkAAAdtgACCgwKFhoSIiYoFFWEZPi1PJDczEQSLmIONQCElGyYckZUFmZg2KEwcHkqsPUsfEwYBpYkRMDc8R59gHkJBKzgNh7SCtriqvL2/KQzDxGIpK0FOq0jKsLLPiConLLrXNs3atS6UqDQS2eMAgQAh+QQFBwALACwAAAcAGQAJAAAHUIAAAYNNhIKHiImIDDk6ICoSCQSKlIg1MjcnmRAHk5WKFTErmqQURoafghA0KKStoQKplpCuMRUKsbKqW0S1EQOoshispQa5urtFMxO/x8iBACH5BAUHAAIALAAABwALAAkAAAIJhI+py+3xolwFACH5BAUHAAEALAAACQABAAUAAAIChF0AOw==")],{type:"image/gif"}))),{backgroundImage:t||"url('".concat(n,"')"),backgroundRepeat:"no-repeat",height:r,width:o}};var n,i=r(292)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular;return{paddingBottom:t,"&:not(.webchat__typingIndicator--rtl)":{paddingLeft:t},"&.webchat__typingIndicator--rtl":{paddingRight:t}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.sendBoxButtonColor,r=e.sendBoxButtonColorOnFocus,n=e.sendBoxButtonColorOnHover,i=e.sendBoxHeight,o=e.subtle;return{width:i,"& > .icon > svg":{fill:t||o},"& > input:hover + .icon > svg":{fill:n},"& > input:focus + .icon > svg":{fill:r}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{height:e.videoHeight,width:"100%"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{border:0,height:e.videoHeight,width:"100%"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.connectivityIconPadding,r=e.connectivityMarginLeftRight,n=e.connectivityMarginTopBottom,i=e.connectivityTextSize,o=e.primaryFont,a=e.slowConnectivity;return{alignItems:"center",color:e.notificationText,display:"flex",fontFamily:o,fontSize:i,marginBottom:n,marginLeft:r,marginRight:r,marginTop:n,"& > svg":{fill:a,"&:not(webchat__warning--rtl)":{paddingRight:t},"&.webchat__warning--rtl":{paddingLeft:t}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{border:0,height:e.videoHeight,width:"100%"}}},function(e,t,r){"use strict";var n=r(35),i=r(1412),o=r(1416),a=r(1417),s=r(1425),u=r(1439),c=r(1452),l=r(692),p=r(1454),f={default:r(1456),zero:r(1457),commonmark:r(1458)},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function v(e){var t=e.trim().toLowerCase();return!d.test(t)||!!h.test(t)}var m=["http:","https:","mailto:"];function y(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(r){}return l.encode(l.format(t))}function T(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(r){}return l.decode(l.format(t),l.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=v,this.normalizeLink=y,this.normalizeLinkText=T,this.utils=n,this.helpers=n.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;
vendor: 6,445 bytes, line 2
2if(n.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","Cir
2clePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","
2Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail"
2:"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace"
2:"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u228
20","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr"
2:"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","
2subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(e,t,r){"use strict";var n={};function i(e,t,r){var o,a,s,u,c,l="";for("string"!==typeof t&&(r=t,t=i.defaultChars),"undefined"===typeof r&&(r=!0),c=function(e){var t,r,i=n[e];if(i)return i;for(i=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),r&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))l+=e.slice(o,o+3),o+=2;else if(s<128)l+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(u=e.charCodeAt(o+1))>=56320&&u<=57343){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[o]);return l}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,r){"use strict";var n={};function i(e,t){var r;return"string"!==typeof t&&(t=i.defaultChars),r=function(e){var t,r,i=n[e];if(i)return i;for(i=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),i.push(r);for(t=0;t<e.length;t++)i[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,i,o,a,s,u,c="";for(t=0,n=e.length;t<n;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?c+=r[i]:192===(224&i)&&t+3<n&&128===(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(u=i<<6&1984|63&o)<128?"\ufffd\ufffd":String.fromCharCode(u),t+=3):224===(240&i)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128===(192&o)&&128===(192&a))?(c+=(u=i<<12&61440|o<<6&4032|63&a)<2048||u>=55296&&u<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(u),t+=6):240===(248&i)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128===(192&o)&&128===(192&a)&&128===(192&s))?((u=i<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||u>1114111?c+="\ufffd\ufffd\ufffd\ufffd":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),t+=9):c+="\ufffd";return c}))}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}
vendor: 46,345 bytes, line 2
2var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),c=["%","/","?",";","#"].concat(u),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(e,t){var r,n,o,s,u,v=e;if(v=v.trim(),!t&&1===e.split("#").length){var m=a.exec(v);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var y=i.exec(v);if(y&&(o=(y=y[0]).toLowerCase(),this.protocol=y,v=v.substr(y.length)),(t||y||v.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(u="//"===v.substr(0,2))||y&&d[y]||(v=v.substr(2),this.slashes=!0)),!d[y]&&(u||y&&!h[y])){var T,b,g=-1;for(r=0;r<l.length;r++)-1!==(s=v.indexOf(l[r]))&&(-1===g||s<g)&&(g=s);for(-1!==(b=-1===g?v.lastIndexOf("@"):v.lastIndexOf("@",g))&&(T=v.slice(0,b),v=v.slice(b+1),this.auth=T),g=-1,r=0;r<c.length;r++)-1!==(s=v.indexOf(c[r]))&&(-1===g||s<g)&&(g=s);-1===g&&(g=v.length),":"===v[g-1]&&g--;var _=v.slice(0,g);v=v.slice(g),this.parseHost(_),this.hostname=this.hostname||"";var S="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!S){var A=this.hostname.split(/\./);for(r=0,n=A.length;r<n;r++){var E=A[r];if(E&&!E.match(p)){for(var C="",O=0,I=E.length;O<I;O++)E.charCodeAt(O)>127?C+="x":C+=E[O];if(!C.match(p)){var w=A.slice(0,r),P=A.slice(r+1),N=E.match(f);N&&(w.push(N[1]),P.unshift(N[2])),P.length&&(v=P.join(".")+v),this.hostname=w.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),S&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=v.indexOf("#");-1!==R&&(this.hash=v.substr(R),v=v.slice(0,R));var k=v.indexOf("?");return-1!==k&&(this.search=v.substr(k),v=v.slice(0,k)),v&&(this.pathname=v),h[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof n)return e;var r=new n;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(693),t.Cc=r(694),t.Cf=r(1411),t.P=r(444),t.Z=r(695)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(1413),t.parseLinkDestination=r(1414),t.parseLinkTitle=r(1415)},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,o,a,s=-1,u=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos<u;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--n){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)n++;else if(r)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}},function(e,t,r){"use strict";var n=r(35).unescapeAll;e.exports=function(e,t,r){var i,o,a=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(i=e.charCodeAt(t)))return s;if(60===i)return s;if(62===i)return s.pos=t+1,s.str=n(e.slice(a+1,t)),s.ok=!0,s;92===i&&t+1<r?t+=2:t++}return s}for(o=0;t<r&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<r){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===i&&++o>32)return s;if(41===i){if(0===o)break;o--}t++}return a===t||0!==o||(s.str=n(e.slice(a,t)),s.lines=0,s.pos=t,s.ok=!0),s}},function(e,t,r){"use strict";var n=r(35).unescapeAll;e.exports=function(e,t,r){var i,o,a=0,s=t,u={ok:!1,pos:0,lines:0,str:""};if(t>=r)return u;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return u;for(t++,40===o&&(o=41);t<r;){if((i=e.charCodeAt(t))===o)return u.pos=t+1,u.lines=a,u.str=n(e.slice(s+1,t)),u.ok=!0,u;if(40===i&&41===o)return u;10===i?a++:92===i&&t+1<r&&(t++,10===e.charCodeAt(t)&&a++),t++}return u}},function(e,t,r){"use strict";var n=r(35).assign,i=r(35).unescapeAll,o=r(35).escapeHtml,a={};function s(){this.rules=n({},a)}a.code_inline=function(e,t,r,n,i){var a=e[t];return"<code"+i.renderAttrs(a)+">"+o(e[t].content)+"</code>"},a.code_block=function(e,t,r,n,i){var a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+o(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,r,n,a){var s,u,c,l,p,f=e[t],d=f.info?i(f.info).trim():"",h="",v="";return d&&(h=(c=d.split(/(\s+)/g))[0],v=c.slice(2).join("")),0===(s=r.highlight&&r.highlight(f.content,h,v)||o(f.content)).indexOf("<pre")?s+"\n":d?(u=f.attrIndex("class"),l=f.attrs?f.attrs.slice():[],u<0?l.push(["class",r.langPrefix+h]):(l[u]=l[u].slice(),l[u][1]+=" "+r.langPrefix+h),p={attrs:l},"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(f)+">"+s+"</code></pre>\n"},a.image=function(e,t,r,n,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,r,n),i.renderToken(e,t,r)},a.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return n},s.prototype.renderToken=function(e,t,r){var n,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&r.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden||-1===n.nesting&&n.tag===a.tag)&&(o=!1)),i+=o?">\n":">")},s.prototype.renderInline=function(e,t,r){for(var n,i="",o=this.rules,a=0,s=e.length;a<s;a++)"undefined"!==typeof o[n=e[a].type]?i+=o[n](e,a,t,r,this):i+=this.renderToken(e,a,t);return i},s.prototype.renderInlineAsText=function(e,t,r){for(var n="",i=0,o=e.length;i<o;i++)"text"===e[i].type?n+=e[i].content:"image"===e[i].type?n+=this.renderInlineAsText(e[i].children,t,r):"softbreak"===e[i].type&&(n+="\n");return n},s.prototype.render=function(e,t,r){var n,i,o,a="",s=this.rules;for(n=0,i=e.length;n<i;n++)"inline"===(o=e[n].type)?a+=this.renderInline(e[n].children,t,r):"undefined"!==typeof s[o]?a+=s[e[n].type](e,n,t,r,this):a+=this.renderToken(e,n,t,r);return a},e.exports=s},function(e,t,r){"use strict";var n=r(445),i=[["normalize",r(1418)],["block",r(1419)],["inline",r(1420)],["linkify",r(1421)],["replacements",r(1422)],["smartquotes",r(1423)]];function o(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}o.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},o.prototype.State=r(1424),e.exports=o},function(e,t,r){"use strict";var n=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=(t=e.src.replace(n,"\n")).replace(i,"\ufffd"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,i=e.tokens;for(r=0,n=i.length;r<n;r++)"inline"===(t=i[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var n=r(35).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,o,a,s,u,c,l,p,f,d,h,v,m,y,T,b,g,_=e.tokens;if(e.md.options.linkify)for(r=0,o=_.length;r<o;r++)if("inline"===_[r].type&&e.md.linkify.pretest(_[r].content))for(v=0,t=(a=_[r].children).length-1;t>=0;t--)if("link_close"!==(u=a[t]).type){if("html_inline"===u.type&&(g=u.content,/^<a[>\s]/i.test(g)&&v>0&&v--,i(u.content)&&v++),!(v>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(p=u.content,b=e.md.linkify.match(p),c=[],h=u.level,d=0,l=0;l<b.length;l++)m=b[l].url,y=e.md.normalizeLink(m),e.md.validateLink(y)&&(T=b[l].text,T=b[l].schema?"mailto:"!==b[l].schema||/^mailto:/i.test(T)?e.md.normalizeLinkText(T):e.md.normalizeLinkText("mailto:"+T).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+T).replace(/^http:\/\//,""),(f=b[l].index)>d&&((s=new e.Token("text","",0)).content=p.slice(d,f),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",y]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=T,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),d=b[l].lastIndex);d<p.length&&((s=new e.Token("text","",0)).content=p.slice(d),s.level=h,c.push(s)),_[r].children=a=n(a,t,c)}}else for(t--;a[t].level!==u.level&&"link_open"!==a[t].type;)t--}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(e,t){return a[t.toLowerCase()]}function u(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(o,s)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function c(e){var t,r,i=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||i||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&u(e.tokens[t].children),n.test(e.tokens[t].content)&&c(e.tokens[t].children))}},function(e,t,r){"use strict";var n=r(35).isWhiteSpace,i=r(35).isPunctChar,o=r(35).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function u(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function c(e,t){var r,a,c,l,p,f,d,h,v,m,y,T,b,g,_,S,A,E,C,O,I;for(C=[],r=0;r<e.length;r++){for(a=e[r],d=e[r].level,A=C.length-1;A>=0&&!(C[A].level<=d);A--);if(C.length=A+1,"text"===a.type){p=0,f=(c=a.content).length;e:for(;p<f&&(s.lastIndex=p,l=s.exec(c));){if(_=S=!0,p=l.index+1,E="'"===l[0],v=32,l.index-1>=0)v=c.charCodeAt(l.index-1);else for(A=r-1;A>=0&&("softbreak"!==e[A].type&&"hardbreak"!==e[A].type);A--)if(e[A].content){v=e[A].content.charCodeAt(e[A].content.length-1);break}if(m=32,p<f)m=c.charCodeAt(p);else for(A=r+1;A<e.length&&("softbreak"!==e[A].type&&"hardbreak"!==e[A].type);A++)if(e[A].content){m=e[A].content.charCodeAt(0);break}if(y=o(v)||i(String.fromCharCode(v)),T=o(m)||i(String.fromCharCode(m)),b=n(v),(g=n(m))?_=!1:T&&(b||y||(_=!1)),b?S=!1:y&&(g||T||(S=!1)),34===m&&'"'===l[0]&&v>=48&&v<=57&&(S=_=!1),_&&S&&(_=y,S=T),_||S){if(S)for(A=C.length-1;A>=0&&(h=C[A],!(C[A].level<d));A--)if(h.single===E&&C[A].level===d){h=C[A],E?(O=t.md.options.quotes[2],I=t.md.options.quotes[3]):(O=t.md.options.quotes[0],I=t.md.options.quotes[1]),a.content=u(a.content,l.index,I),e[h.token].content=u(e[h.token].content,h.pos,O),p+=I.length-1,h.token===r&&(p+=O.length-1),f=(c=a.content).length,C.length=A;continue e}_?C.push({token:r,pos:l.index,single:E,level:d}):S&&E&&(a.content=u(a.content,l.index,"\u2019"))}else E&&(a.content=u(a.content,l.index,"\u2019"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},function(e,t,r){"use strict";var n=r(446);function i(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=n,e.exports=i},function(e,t,r){"use strict";var n=r(445),i=[["table",r(1426),["paragraph","reference"]],["code",r(1427)],["fence",r(1428),["paragraph","reference","blockquote","list"]],["blockquote",r(1429),["paragraph","reference","blockquote","list"]],["hr",r(1430),["paragraph","reference","blockquote","list"]],["list",r(1431),["paragraph","reference","blockquote"]],["reference",r(1432)],["html_block",r(1433),["paragraph","reference","blockquote"]],["heading",r(1435),["paragraph","reference","blockquote"]],["lheading",r(1436)],["paragraph",r(1437)]];function o(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,r){for(var n,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,u=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=u){e.line=r;break}for(n=0;n<o&&!i[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},o.prototype.parse=function(e,t,r,n){var i;e&&(i=new this.State(e,t,r,n),this.tokenize(i,i.line,i.lineMax))},o.prototype.State=r(1438),e.exports=o},function(e,t,r){"use strict";var n=r(35).isSpace;function i(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.substr(r,n-r)}function o(e){var t,r=[],n=0,i=e.length,o=!1,a=0,s="";for(t=e.charCodeAt(n);n<i;)124===t&&(o?(s+=e.substring(a,n-1),a=n):(r.push(s+e.substring(a,n)),s="",a=n+1)),o=92===t,n++,t=e.charCodeAt(n);return r.push(s+e.substring(a)),r}e.exports=function(e,t,r,a){var s,u,c,l,p,f,d,h,v,m,y,T,b,g,_,S,A,E;if(t+2>r)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(A=e.src.charCodeAt(c++))&&45!==A&&58!==A)return!1;if(c>=e.eMarks[f])return!1;if(124!==(E=e.src.charCodeAt(c++))&&45!==E&&58!==E&&!n(E))return!1;if(45===A&&n(E))return!1;for(;c<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!n(s))return!1;c++}for(d=(u=i(e,t+1)).split("|"),m=[],l=0;l<d.length;l++){if(!(y=d[l].trim())){if(0===l||l===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;58===y.charCodeAt(y.length-1)?m.push(58===y.charCodeAt(0)?"center":"right"):58===y.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(u=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=o(u)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),0===(h=d.length)||h!==m.length)return!1;if(a)return!0;for(g=e.parentType,e.parentType="table",S=e.md.block.ruler.getRules("blockquote"),(v=e.push("table_open","table",1)).map=T=[t,0],(v=e.push("thead_open","thead",1)).map=[t,t+1],(v=e.push("tr_open","tr",1)).map=[t,t+1],l=0;l<d.length;l++)v=e.push("th_open","th",1),m[l]&&(v.attrs=[["style","text-align:"+m[l]]]),(v=e.push("inline","",0)).content=d[l].trim(),v.children=[],v=e.push("th_close","th",-1);for(v=e.push("tr_close","tr",-1),v=e.push("thead_close","thead",-1),f=t+2;f<r&&!(e.sCount[f]<e.blkIndent);f++){for(_=!1,l=0,p=S.length;l<p;l++)if(S[l](e,f,r,!0)){_=!0;break}if(_)break;if(!(u=i(e,f).trim()))break;if(e.sCount[f]-e.blkIndent>=4)break;for((d=o(u)).length&&""===d[0]&&d.shift(),d.length&&""===d[d.length-1]&&d.pop(),f===t+2&&((v=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(v=e.push("tr_open","tr",1)).map=[f,f+1],l=0;l<h;l++)v=e.push("td_open","td",1),m[l]&&(v.attrs=[["style","text-align:"+m[l]]]),(v=e.push("inline","",0)).content=d[l]?d[l].trim():"",v.children=[],v=e.push("td_close","td",-1);v=e.push("tr_close","tr",-1)}return b&&(v=e.push("tbody_close","tbody",-1),b[1]=f),v=e.push("table_close","table",-1),T[1]=f,e.parentType=g,e.line=f,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;i=++n}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var i,o,a,s,u,c,l,p=!1,f=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(u=f,(o=(f=e.skipChars(f,i))-u)<3)return!1;if(l=e.src.slice(u,f),a=e.src.slice(f,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;for(s=t;!(++s>=r)&&!((f=u=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(f)===i&&!(e.sCount[s]-e.blkIndent>=4)&&!((f=e.skipChars(f,i))-u<o)&&!((f=e.skipSpaces(f))<d)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=l,c.map=[t,e.line],!0}},function(e,t,r){"use strict";var n=r(35).isSpace;e.exports=function(e,t,r,i){var o,a,s,u,c,l,p,f,d,h,v,m,y,T,b,g,_,S,A,E,C=e.lineMax,O=e.bMarks[t]+e.tShift[t],I=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(O++))return!1;if(i)return!0;for(u=d=e.sCount[t]+1,32===e.src.charCodeAt(O)?(O++,u++,d++,o=!1,g=!0):9===e.src.charCodeAt(O)?(g=!0,(e.bsCount[t]+d)%4===3?(O++,u++,d++,o=!1):o=!0):g=!1,h=[e.bMarks[t]],e.bMarks[t]=O;O<I&&(a=e.src.charCodeAt(O),n(a));)9===a?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,O++;for(v=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(g?1:0),l=O>=I,T=[e.sCount[t]],e.sCount[t]=d-u,b=[e.tShift[t]],e.tShift[t]=O-e.bMarks[t],S=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",f=t+1;f<r&&(E=e.sCount[f]<e.blkIndent,!((O=e.bMarks[f]+e.tShift[f])>=(I=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(O++)||E){if(l)break;for(_=!1,s=0,c=S.length;s<c;s++)if(S[s](e,f,r,!0)){_=!0;break}if(_){e.lineMax=f,0!==e.blkIndent&&(h.push(e.bMarks[f]),v.push(e.bsCount[f]),b.push(e.tShift[f]),T.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),v.push(e.bsCount[f]),b.push(e.tShift[f]),T.push(e.sCount[f]),e.sCount[f]=-1}else{for(u=d=e.sCount[f]+1,32===e.src.charCodeAt(O)?(O++,u++,d++,o=!1,g=!0):9===e.src.charCodeAt(O)?(g=!0,(e.bsCount[f]+d)%4===3?(O++,u++,d++,o=!1):o=!0):g=!1,h.push(e.bMarks[f]),e.bMarks[f]=O;O<I&&(a=e.src.charCodeAt(O),n(a));)9===a?d+=4-(d+e.bsCount[f]+(o?1:0))%4:d++,O++;l=O>=I,v.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(g?1:0),T.push(e.sCount[f]),e.sCount[f]=d-u,b.push(e.tShift[f]),e.tShift[f]=O-e.bMarks[f]}for(m=e.blkIndent,e.blkIndent=0,(A=e.push("blockquote_open","blockquote",1)).markup=">",A.map=p=[t,0],e.md.block.tokenize(e,t,f),(A=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=C,e.parentType=y,p[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=b[s],e.sCount[s+t]=T[s],e.bsCount[s+t]=v[s];return e.blkIndent=m,!0}},function(e,t,r){"use strict";var n=r(35).isSpace;e.exports=function(e,t,r,i){var o,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<l;){if((s=e.src.charCodeAt(c++))!==o&&!n(s))return!1;s===o&&a++}return!(a<3)&&(i||(e.line=t+1,(u=e.push("hr","hr",0)).map=[t,e.line],u.markup=Array(a+1).join(String.fromCharCode(o))),!0)}},function(e,t,r){"use strict";var n=r(35).isSpace;function i(e,t){var r,i,o,a;return i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(r=e.src.charCodeAt(i++))&&45!==r&&43!==r||i<o&&(a=e.src.charCodeAt(i),!n(a))?-1:i}function o(e,t){var r,i=e.bMarks[t]+e.tShift[t],o=i,a=e.eMarks[t];if(o+1>=a)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=a)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-i>=10)return-1}return o<a&&(r=e.src.charCodeAt(o),!n(r))?-1:o}e.exports=function(e,t,r,n){var a,s,u,c,l,p,f,d,h,v,m,y,T,b,g,_,S,A,E,C,O,I,w,P,N,R,k,x,M=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(M=!0),(w=o(e,t))>=0){if(f=!0,N=e.bMarks[t]+e.tShift[t],T=Number(e.src.substr(N,w-N-1)),M&&1!==T)return!1}else{if(!((w=i(e,t))>=0))return!1;f=!1}if(M&&e.skipSpaces(w)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(w-1),n)return!0;for(m=e.tokens.length,f?(x=e.push("ordered_list_open","ol",1),1!==T&&(x.attrs=[["start",T]])):x=e.push("bullet_list_open","ul",1),x.map=v=[t,0],x.markup=String.fromCharCode(y),g=t,P=!1,k=e.md.block.ruler.getRules("list"),A=e.parentType,e.parentType="list";g<r;){for(I=w,b=e.eMarks[g],p=_=e.sCount[g]+w-(e.bMarks[t]+e.tShift[t]);I<b;){if(9===(a=e.src.charCodeAt(I)))_+=4-(_+e.bsCount[g])%4;else{if(32!==a)break;_++}I++}if((l=(s=I)>=b?1:_-p)>4&&(l=1),c=p+l,(x=e.push("list_item_open","li",1)).markup=String.fromCharCode(y),x.map=d=[t,0],O=e.tight,C=e.tShift[t],E=e.sCount[t],S=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=_,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!P||(L=!1),P=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[t]=C,e.sCount[t]=E,e.tight=O,(x=e.push("list_item_close","li",-1)).markup=String.fromCharCode(y),g=t=e.line,d[1]=g,s=e.bMarks[t],g>=r)break;if(e.sCount[g]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(R=!1,u=0,h=k.length;u<h;u++)if(k[u](e,g,r,!0)){R=!0;break}if(R)break;if(f){if((w=o(e,g))<0)break}else if((w=i(e,g))<0)break;if(y!==e.src.charCodeAt(w-1))break}return(x=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(y),v[1]=g,e.line=g,e.parentType=A,L&&function(e,t){var r,n,i=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===i&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0}},function(e,t,r){"use strict";var n=r(35).normalizeReference,i=r(35).isSpace;e.exports=function(e,t,r,o){var a,s,u,c,l,p,f,d,h,v,m,y,T,b,g,_,S=0,A=e.bMarks[t]+e.tShift[t],E=e.eMarks[t],C=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(A))return!1;for(;++A<E;)if(93===e.src.charCodeAt(A)&&92!==e.src.charCodeAt(A-1)){if(A+1===E)return!1;if(58!==e.src.charCodeAt(A+1))return!1;break}for(c=e.lineMax,g=e.md.block.ruler.getRules("reference"),v=e.parentType,e.parentType="reference";C<c&&!e.isEmpty(C);C++)if(!(e.sCount[C]-e.blkIndent>3)&&!(e.sCount[C]<0)){for(b=!1,p=0,f=g.length;p<f;p++)if(g[p](e,C,c,!0)){b=!0;break}if(b)break}for(E=(T=e.getLines(t,C,e.blkIndent,!1).trim()).length,A=1;A<E;A++){if(91===(a=T.charCodeAt(A)))return!1;if(93===a){h=A;break}(10===a||92===a&&++A<E&&10===T.charCodeAt(A))&&S++}if(h<0||58!==T.charCodeAt(h+1))return!1;for(A=h+2;A<E;A++)if(10===(a=T.charCodeAt(A)))S++;else if(!i(a))break;if(!(m=e.md.helpers.parseLinkDestination(T,A,E)).ok)return!1;if(l=e.md.normalizeLink(m.str),!e.md.validateLink(l))return!1;for(s=A=m.pos,u=S+=m.lines,y=A;A<E;A++)if(10===(a=T.charCodeAt(A)))S++;else if(!i(a))break;for(m=e.md.helpers.parseLinkTitle(T,A,E),A<E&&y!==A&&m.ok?(_=m.str,A=m.pos,S+=m.lines):(_="",A=s,S=u);A<E&&(a=T.charCodeAt(A),i(a));)A++;if(A<E&&10!==T.charCodeAt(A)&&_)for(_="",A=s,S=u;A<E&&(a=T.charCodeAt(A),i(a));)A++;return!(A<E&&10!==T.charCodeAt(A))&&(!!(d=n(T.slice(1,h)))&&(o||("undefined"===typeof e.env.references&&(e.env.references={}),"undefined"===typeof e.env.references[d]&&(e.env.references[d]={title:_,href:l}),e.parentType=v,e.line=t+S+1),!0))}},function(e,t,r){"use strict";var n=r(1434),i=r(696).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var i,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(u=e.src.slice(c,l),i=0;i<o.length&&!o[i][0].test(u);i++);if(i===o.length)return!1;if(n)return o[i][2];if(a=t+1,!o[i][1].test(u))for(;a<r&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],l=e.eMarks[a],u=e.src.slice(c,l),o[i][1].test(u)){0!==u.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";var n=r(35).isSpace;e.exports=function(e,t,r,i){var o,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<l&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<l&&!n(o))&&(i||(l=e.skipSpacesBack(l,c),(s=e.skipCharsBack(l,35,c))>c&&n(e.src.charCodeAt(s-1))&&(l=s),e.line=t+1,(u=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),u.map=[t,e.line],(u=e.push("inline","",0)).content=e.src.slice(c,l).trim(),u.map=[t,e.line],u.children=[],(u=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),!0)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,o,a,s,u,c,l,p,f,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";d<r&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(u=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(u))||61===p)&&(u=e.skipChars(u,p),(u=e.skipSpaces(u))>=c)){l=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,r,!0)){i=!0;break}if(i)break}}return!!l&&(n=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),e.parentType=f,!0)}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,a,s,u=t+1,c=e.md.block.ruler.getRules("paragraph"),l=e.lineMax;for(s=e.parentType,e.parentType="paragraph";u<l&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(n=!1,i=0,o=c.length;i<o;i++)if(c[i](e,u,l,!0)){n=!0;break}if(n)break}return r=e.getLines(t,u,e.blkIndent,!1).trim(),e.line=u,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,r){"use strict";var n=r(446),i=r(35).isSpace;function o(e,t,r,n){var o,a,s,u,c,l,p,f;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,s=u=l=p=0,c=(a=this.src).length;u<c;u++){if(o=a.charCodeAt(u),!f){if(i(o)){l++,9===o?p+=4-p%4:p++;continue}f=!0}10!==o&&u!==c-1||(10!==o&&u++,this.bMarks.push(s),this.eMarks.push(u),this.tShift.push(l),this.sCount.push(p),this.bsCount.push(0),f=!1,l=0,p=0,s=u+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,r){var i=new n(e,t,r);return i.block=!0,r<0&&this.level--,i.level=this.level,r>0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),i(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,r,n){var o,a,s,u,c,l,p,f=e;if(e>=t)return"";for(l=new Array(t-e),o=0;f<t;f++,o++){for(a=0,p=u=this.bMarks[f],c=f+1<t||n?this.eMarks[f]+1:this.eMarks[f];u<c&&a<r;){if(s=this.src.charCodeAt(u),i(s))9===s?a+=4-(a+this.bsCount[f])%4:a++;else{if(!(u-p<this.tShift[f]))break;a++}u++}l[o]=a>r?new Array(a-r+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=n,e.exports=o},function(e,t,r){"use strict";var n=r(445),i=[["text",r(1440)],["newline",r(1441)],["escape",r(1442)],["backticks",r(1443)],["strikethrough",r(697).tokenize],["emphasis",r(698).tokenize],["link",r(1444)],["image",r(1445)],["autolink",r(1446)],["html_inline",r(1447)],["entity",r(1448)]],o=[["balance_pairs",r(1449)],["strikethrough",r(697).postProcess],["emphasis",r(698).postProcess],["text_collapse",r(1450)]];function a(){var e;for(this.ruler=new n,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new n,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,r,n=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[n]){if(e.level<a)for(r=0;r<o&&(e.level++,t=i[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},a.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),i=n.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(r=0;r<i&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,r,n){var i,o,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](s)},a.prototype.State=r(1451),e.exports=a},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var n=r(35).isSpace;e.exports=function(e,t){var r,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,i=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&n(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},function(e,t,r){"use strict";for(var n=r(35).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((r=e.src.charCodeAt(o))<256&&0!==i[r])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),o++;o<a&&(r=e.src.charCodeAt(o),n(r));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,a,s,u,c,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(r=l,l++,n=e.posMax;l<n&&96===e.src.charCodeAt(l);)l++;if(u=(i=e.src.slice(r,l)).length,e.backticksScanned&&(e.backticks[u]||0)<=r)return t||(e.pending+=i),e.pos+=u,!0;for(a=s=l;-1!==(a=e.src.indexOf("`",s));){for(s=a+1;s<n&&96===e.src.charCodeAt(s);)s++;if((c=s-a)===u)return t||((o=e.push("code_inline","code",0)).markup=i,o.content=e.src.slice(l,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=a}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=u,!0}},function(e,t,r){"use strict";var n=r(35).normalizeReference,i=r(35).isSpace;e.exports=function(e,t){var r,o,a,s,u,c,l,p,f="",d="",h=e.pos,v=e.posMax,m=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<v&&40===e.src.charCodeAt(c)){for(y=!1,c++;c<v&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=v)return!1;if(m=c,(l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(f=e.md.normalizeLink(l.str),e.md.validateLink(f)?c=l.pos:f="",m=c;c<v&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(l=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<v&&m!==c&&l.ok)for(d=l.str,c=l.pos;c<v&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);}(c>=v||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if("undefined"===typeof e.env.references)return!1;if(c<v&&91===e.src.charCodeAt(c)?(m=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(m,c++):c=s+1):c=s+1,a||(a=e.src.slice(u,s)),!(p=e.env.references[n(a)]))return e.pos=h,!1;f=p.href,d=p.title}return t||(e.pos=u,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",f]],d&&r.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=v,!0}},function(e,t,r){"use strict";var n=r(35).normalizeReference,i=r(35).isSpace;e.exports=function(e,t){var r,o,a,s,u,c,l,p,f,d,h,v,m,y="",T=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(u=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=u+1)<b&&40===e.src.charCodeAt(l)){for(l++;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(l>=b)return!1;for(m=l,(f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(y=e.md.normalizeLink(f.str),e.md.validateLink(y)?l=f.pos:y=""),m=l;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&m!==l&&f.ok)for(d=f.str,l=f.pos;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);else d="";if(l>=b||41!==e.src.charCodeAt(l))return e.pos=T,!1;l++}else{if("undefined"===typeof e.env.references)return!1;if(l<b&&91===e.src.charCodeAt(l)?(m=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(m,l++):l=u+1):l=u+1,s||(s=e.src.slice(c,u)),!(p=e.env.references[n(s)]))return e.pos=T,!1;y=p.href,d=p.title}return t||(a=e.src.slice(c,u),e.md.inline.parse(a,e.md,e.env,v=[]),(h=e.push("image","img",0)).attrs=r=[["src",y],["alt",""]],h.children=v,h.content=a,d&&r.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,r){"use strict";var n=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,i=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,t){var r,o,a,s,u,c,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(u=e.pos,c=e.posMax;;){if(++l>=c)return!1;if(60===(s=e.src.charCodeAt(l)))return!1;if(62===s)break}return r=e.src.slice(u+1,l),i.test(r)?(o=e.md.normalizeLink(r),!!e.md.validateLink(o)&&(t||((a=e.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(r),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=r.length+2,!0)):!!n.test(r)&&(o=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(o)&&(t||((a=e.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(r),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=r.length+2,!0))}},function(e,t,r){"use strict";var n=r(696).HTML_TAG_RE;e.exports=function(e,t){var r,i,o,a=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=o)&&(!(33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(i=e.src.slice(a).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,r){"use strict";var n=r(691),i=r(35).has,o=r(35).isValidEntityCode,a=r(35).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,u=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,c,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(c=e.src.slice(l).match(s))return t||(r="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(r)?a(r):a(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(l).match(u))&&i(n,c[1]))return t||(e.pending+=n[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";function n(e,t){var r,n,i,o,a,s,u,c,l={},p=t.length;for(r=0;r<p;r++)if((i=t[r]).length=i.length||0,i.close){for(l.hasOwnProperty(i.marker)||(l[i.marker]=[-1,-1,-1,-1,-1,-1]),a=l[i.marker][(i.open?3:0)+i.length%3],(n=r-i.jump-1)<-1&&(n=-1),s=n;n>a;n-=o.jump+1)if((o=t[n]).marker===i.marker&&o.open&&o.end<0&&(u=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(u=!0)),!u)){c=n>0&&!t[n-1].open?t[n-1].jump+1:0,i.jump=r-n+c,i.open=!1,o.end=r,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(l[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}e.exports=function(e){var t,r=e.tokens_meta,i=e.tokens_meta.length;for(n(0,e.delimiters),t=0;t<i;t++)r[t]&&r[t].delimiters&&n(0,r[t].delimiters)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n=0,i=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}},function(e,t,r){"use strict";var n=r(446),i=r(35).isWhiteSpace,o=r(35).isPunctChar,a=r(35).isMdAsciiPunct;function s(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new n("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,r){this.pending&&this.pushPending();var i=new n(e,t,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(e,t){var r,n,s,u,c,l,p,f,d,h=e,v=!0,m=!0,y=this.posMax,T=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;h<y&&this.src.charCodeAt(h)===T;)h++;return s=h-e,n=h<y?this.src.charCodeAt(h):32,p=a(r)||o(String.fromCharCode(r)),d=a(n)||o(String.fromCharCode(n)),l=i(r),(f=i(n))?v=!1:d&&(l||p||(v=!1)),l?m=!1:p&&(f||d||(m=!1)),t?(u=v,c=m):(u=v&&(!m||p),c=m&&(!v||d)),{can_open:u,can_close:c,length:s}},s.prototype.Token=n,e.exports=s},function(e,t,r){"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===i(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=r(1453)(e.__opts__),n=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("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]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var u=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===i(r))return!function(e){return"[object RegExp]"===i(e)}(r.validate)?o(r.validate)?n.validate=r.validate:c(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(o(r.normalize)?n.normalize=r.normalize:r.normalize?c(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(r)?c(t,r):u.push(t)}})),u.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function d(e,t){if(!(this instanceof d))return new d(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},d.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,i,o,a,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},d.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(f(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(693).source,t.src_Cc=r(694).source,t.src_Z=r(695).source,t.src_P=r(444).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}
2"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e,n){var i;!function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,u=2147483647,c=/^xn--/,l=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function v(e){throw new RangeError(f[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(p,".")).split("."),t).join(".")}function T(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return m(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function g(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function S(e){var t,r,n,i,o,a,s,c,l,p,f,h=[],m=e.length,y=0,T=128,g=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&v("not-basic"),h.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<m;){for(o=y,a=1,s=36;i>=m&&v("invalid-input"),((c=(f=e.charCodeAt(i++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||c>d((u-y)/a))&&v("overflow"),y+=c*a,!(c<(l=s<=g?1:s>=g+26?26:s-g));s+=36)a>d(u/(p=36-l))&&v("overflow"),a*=p;g=_(y-o,t=h.length+1,0==o),d(y/t)>u-T&&v("overflow"),T+=d(y/t),y%=t,h.splice(y++,0,T)}return b(h)}function A(e){var t,r,n,i,o,a,s,c,l,p,f,m,y,b,S,A=[];for(m=(e=T(e)).length,t=128,r=0,o=72,a=0;a<m;++a)(f=e[a])<128&&A.push(h(f));for(n=i=A.length,i&&A.push("-");n<m;){for(s=u,a=0;a<m;++a)(f=e[a])>=t&&f<s&&(s=f);for(s-t>d((u-r)/(y=n+1))&&v("overflow"),r+=(s-t)*y,t=s,a=0;a<m;++a)if((f=e[a])<t&&++r>u&&v("overflow"),f==t){for(c=r,l=36;!(c<(p=l<=o?1:l>=o+26?26:l-o));l+=36)S=c-p,b=36-p,A.push(h(g(p+S%b,0))),c=d(S/b);A.push(h(g(c,0))),o=_(r,y,n==i),r=0,++n}++r,++t}return A.join("")}s={version:"1.4.1",ucs2:{decode:T,encode:b},decode:S,encode:A,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+A(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?S(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r(1455)(e),r(90))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,(function(e){switch(e.type){case"link_open":e=(0,n.default)(e,(function(e){return/^[0-9A-Z_a-z]/.test(e.href)?s(s({},e),{},{rel:"noopener noreferrer",target:"_blank"}):e}))}return e}))};var n=o(r(1460)),i=o(r(700));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e,["attrs"],(function(e){var r=Object.fromEntries(e),n=t(r);return Object.entries(n)}))};var n,i=(n=r(106))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().toString(26).substr(2,5).replace(/[0-9]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65)}))};var n,i=(n=r(86))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=r(485),a=h(r(20)),s=h(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),c=h(r(1463)),l=h(r(670)),p=h(r(23)),f=h(r(40));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g=i.hooks.useDirection,_=i.hooks.useLocalizer,S={"&.webchat__carousel-layout":{overflow:"hidden",position:"relative"}}
2,A=function(e){var t=e.activity,r=e.hideTimestamp,n=e.renderActivityStatus,i=e.renderAttachment,s=e.renderAvatar,l=e.showCallout,d=T((0,p.default)(),1)[0].carouselFlipper,h=T((0,o.useStyleSetClassNames)(),1)[0].root,v=T(g(),1)[0],m=T((0,o.useScrollBarWidth)(),1)[0],y=T((0,o.useScrolling)(),1)[0],b="rtl"===v?">":"<",A=_(),E="rtl"===v?"<":">",C=(0,f.default)()(S)+"";return u.default.createElement("div",{className:(0,a.default)("webchat__carousel-layout",C,d+"",h)},u.default.createElement("div",{className:(0,a.default)("react-film__main",{"react-film__main--scrolling":y})},u.default.createElement(c.default,{activity:t,hideTimestamp:r,renderActivityStatus:n,renderAttachment:i,renderAvatar:s,showCallout:l}),"100%"!==m&&u.default.createElement(u.default.Fragment,null,u.default.createElement(o.Flipper,{"aria-label":A("CAROUSEL_FLIPPER_LEFT_ALT"),blurFocusOnClick:!0,mode:"left"},b),u.default.createElement(o.Flipper,{"aria-label":A("CAROUSEL_FLIPPER_RIGHT_ALT"),blurFocusOnClick:!0,mode:"right"},E))))};A.defaultProps={hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:!1,showCallout:!0},A.propTypes={activity:s.default.shape({attachments:s.default.array}).isRequired,hideTimestamp:s.default.bool,renderActivityStatus:s.default.oneOfType([s.default.oneOf([
2!1]),s.default.func]),renderAttachment:s.default.func.isRequired,renderAvatar:s.default.oneOfType([s.default.oneOf([!1]),s.default.func]),showCallout:s.default.bool};var E=function(e){var t=e.activity,r=(t=void 0===t?{}:t).attachments,n=void 0===r?[]:r,i=T(g(),1)[0],a=T((0,l.default)(),1)[0],s=(0,u.useMemo)((function(){return(0,o.createBasicStyleSet)({cursor:null})}),[]);return u.default.createElement(o.Composer,{dir:i,nonce:a,numItems:n.length,styleSet:s},u.default.createElement(A,e))};E.defaultProps=m({},A.defaultProps),E.propTypes=m({},A.propTypes);var C=E;t.default=C},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectCarouselFilmStrip=t.default=void 0;var n=r(13),i=r(485),o=m(r(20)),a=m(r(5)),s=m(r(0)),u=m(r(325)),c=m(r(1464)),l=m(r(92)),p=m(r(321)),f=m(r(74)),d=m(r(437)),h=m(r(23)),v=m(r(40));function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=n.hooks.useAvatarForBot,g=n.hooks.useAvatarForUser,_=n.hooks.useDirection,S=n.hooks.useLocalizer,A=n.hooks.useStyleOptions,E={"&.webchat__carousel-filmstrip":{display:"flex",flexDirection:"column",MsOverflowStyle:"none",overflowX:"scroll",overflowY:"hidden",position:"relative",touchAction:"manipulation",WebkitOverflowScrolling:"touch","&::-webkit-scrollbar":{display:"none"},"& .webchat__carousel-filmstrip__alignment-pad":{flexShrink:0},"& .webchat__carousel-filmstrip-attachment":{flex:1},"& .webchat__carousel-filmstrip__attachments":{display:"flex",listStyleType:"none",margin:0,padding:0},"& .webchat__carousel-filmstrip__avatar":{flexShrink:0},"& .webchat__carousel-filmstrip__avatar-gutter":{display:"flex",flexDirection:"column",flexShrink:0},"& .webchat__carousel-filmstrip__complimentary":{display:"flex"},"& .webchat__carousel-filmstrip__complimentary-content":{display:"flex",flexGrow:1,flexDirection:"column"},"& .webchat__carousel-filmstrip__content":{display:"flex",flexGrow:1,flexDirection:"column"},"& .webchat__carousel-filmstrip__filler":{flexGrow:1e4,flexShrink:1},"& .webchat__carousel-filmstrip__main":{display:"flex"},"& .webchat__carousel-filmstrip__message":{display:"flex"},"& .webchat__carousel-filmstrip__nub-pad":{flexShrink:0},"& .webchat__carousel-filmstrip__status":{display:"flex"}}};t.connectCarouselFilmStrip=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return l.default.apply(void 0,[function(e,t){var r=e.language,n=e.styleSet.options,i=n.botAvatarInitials,o=n.userAvatarInitials,a=t.activity,s=(a=void 0===a?{}:a).from;return{avatarInitials:"user"===(s=void 0===s?{}:s).role?o:i,language:r}}].concat(t))};var C=function(e){var t=e.activity,r=e.className,n=e.hideTimestamp,a=e.renderActivityStatus,l=e.renderAttachment,m=e.renderAvatar,T=e.showCallout,C=y(A(),1)[0],O=C.bubbleNubOffset,I=C.bubbleNubSize,w=C.bubbleFromUserNubOffset,P=C.bubbleFromUserNubSize,N=y((0,h.default)(),1)[0].carouselFilmStrip,R=y(b(),1)[0].initials,k=y(g(),1)[0].initials,x=y(_(),1)[0],M=S(),L=(0,v.default)()(E)+"",j="function"===typeof a,D=(0,i.useItemContainerCallbackRef)(),U=(0,i.useScrollableCallbackRef)(),B=t.attachments,F=void 0===B?[]:B,V=t.channelData,z=(V=void 0===V?{}:V).messageBack,H=(z=void 0===z?{}:z).displayText,G=t.from,q=(G=void 0===G?{}
2:G).role,Y=t.text,W=t.textFormat,K=H||Y,$="user"===q,J=($?M("ACTIVITY_YOU_SAID_ALT"):M("ACTIVITY_BOT_SAID_ALT",R||"")).replace(/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]{2,}/g," "),X=$?k:R,Z=$?w:O,Q=$?R:k,ee=X||"string"===typeof X,te=Q||"string"===typeof Q,re="number"===typeof($?P:I),ne="number"===typeof($?I:P),ie=(0,p.default)(Z),oe=!te&&ne,ae=T&&ee&&!!m,se=T&&re&&(ie||!F.length),ue=re&&!se;return s.default.createElement("div",{className:(0,o.default)("webchat__carousel-filmstrip",{"webchat__carousel-filmstrip--extra-trailing":oe,"webchat__carousel-filmstrip--hide-avatar":ee&&!ae,"webchat__carousel-filmstrip--hide-nub":ue,"webchat__carousel-filmstrip--no-message":!K,"webchat__carousel-filmstrip--rtl":"rtl"===x,"webchat__carousel-filmstrip--show-avatar":ae,"webchat__carousel-filmstrip--show-nub":se,"webchat__carousel-filmstrip--top-callout":ie},"react-film__filmstrip",L,N+"",(r||"")+""),ref:U,role:"group"},s.default.createElement("div",{className:"webchat__carousel-filmstrip__main"},s.default.createElement("div",{className:"webchat__carousel-filmstrip__avatar-gutter"},ae&&m({activity:t})),s.default.createElement("div",{className:"webchat__carousel-filmstrip__content"},!!K&&s.default.createElement("div",{"aria-roledescription":"message",className:"webchat__carousel-filmstrip__message",role:"group"},s.default.createElement(f.default,{text:J}),s.default.createElement(u.default,{className:"webchat__carousel-filmstrip__bubble",fromUser:$,nub:se||(ee||re)&&"hidden"},l({activity:t,attachment:{content:K,contentType:(0,d.default)(W)}})),s.default.createElement("div",{className:"webchat__carousel-filmstrip__filler"})),s.default.createElement("div",{className:"webchat__carousel-filmstrip__complimentary"},s.default.createElement("div",{className:"webchat__carousel-filmstrip__nub-pad"}),s.default.createElement("div",{className:"webchat__carousel-filmstrip__complimentary-content c"},s.default.createElement("ul",{className:"webchat__carousel-filmstrip__attachments react-film__filmstrip__list",ref:D},F.map((function(e,r){return s.default.createElement(c.default,{activity:t,attachment:e,fromUser:$,hasAvatar:ee,hideNub:ue,index:r,key:r,renderAttachment:l,showAvatar:ae,showNub:se})})))))),s.default.createElement("div",{className:"webchat__carousel-filmstrip__alignment-pad"})),j&&s.default.createElement("div",{className:"webchat__carousel-filmstrip__status"},s.default.createElement("div",{className:"webchat__carousel-filmstrip__avatar-gutter"}),s.default.createElement("div",{className:"webchat__carousel-filmstrip__nub-pad"}),a({hideTimestamp:n})))};C.defaultProps={className:"",hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:!1,showCallout:!1},C.propTypes={activity:a.default.shape({attachments:a.default.array,channelData:a.default.shape({messageBack:a.default.shape({displayText:a.default.string}),state:a.default.string}),from:a.default.shape({role:a.default.string.isRequired}).isRequired,text:a.default.string,textFormat:a.default.string,timestamp:a.default.string}).isRequired,className:a.default.string,hideTimestamp:a.default.bool,renderActivityStatus:a.default.oneOfType([a.default.oneOf([
2!1]),a.default.func]),renderAttachment:a.default.func.isRequired,renderAvatar:a.default.oneOfType([a.default.oneOf([!1]),a.default.func]),showCallout:a.default.bool};var O=C;t.default=O},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=l(r(20)),o=l(r(5)),a=l(r(0)),s=l(r(325)),u=l(r(74)),c=l(r(23));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=n.hooks.useDirection,h=n.hooks.useLocalizer,v=function(e){var t=e.activity,r=e.attachment,n=e.className,o=e.fromUser,l=e.hasAvatar,f=e.hideNub,v=e.index,m=e.renderAttachment,y=e.showAvatar,T=e.showNub,b=p(d(),1)[0],g=h(),_=p((0,c.default)(),1)[0].carouselFilmStripAttachment,S=g(o?"ACTIVITY_YOU_ATTACHED_ALT":"ACTIVITY_BOT_ATTACHED_ALT");return a.default.createElement("li",{"aria-roledescription":"attachment",className:(0,i.default)("webchat__carousel-filmstrip-attachment",{"webchat__carousel-filmstrip-attachment--hide-avatar":l&&!y,"webchat__carousel-filmstrip-attachment--hide-nub":f,"webchat__carousel-filmstrip-attachment--rtl":"rtl"===b,"webchat__carousel-filmstrip-attachment--show-avatar":y,"webchat__carousel-filmstrip-attachment--show-nub":T},"react-film__filmstrip__item",_+"",(n||"")+""),role:"listitem",tabIndex:0},a.default.createElement(u.default,{text:S}),a.default.createElement(s.default,{fromUser:o,key:v,nub:!1},m({activity:t,attachment:r}),a.default.createElement("div",{className:"webchat__carousel-filmstrip-attachment--focus"})))};v.defaultProps={className:""},v.propTypes={activity:o.default.shape({attachments:o.default.array,channelData:o.default.shape({messageBack:o.default.shape({displayText:o.default.string}),state:o.default.string}),from:o.default.shape({role:o.default.string.isRequired}).isRequired,text:o.default.string,textFormat:o.default.string,timestamp:o.default.string}).isRequired,attachment:o.default.shape({content:o.default.any}).isRequired,className:o.default.string,fromUser:o.default.any.isRequired,hasAvatar:o.default.any.isRequired,hideNub:o.default.bool.isRequired,index:o.default.number.isRequired,renderAttachment:o.default.func.isRequired,showAvatar:o.default.bool.isRequired,showNub:o.default.bool.isRequired};var m=v;t.default=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectStackedLayout=t.default=void 0;var n=r(13),i=v(r(20)),o=v(r(5)),a=v(r(0)),s=v(r(325)),u=v(r(92)),c=v(r(321)),l=v(r(74)),p=v(r(437)),f=v(r(23)),d=v(r(40)),h=v(r(138));function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var T=n.hooks.useAvatarForBot,b=n.hooks.useAvatarForUser,g=n.hooks.useLocalizer,_=n.hooks.useStyleOptions,S={"&.webchat__stacked-layout":{position:"relative","& .webchat__stacked-layout__attachment-row, & .webchat__stacked-layout__main, & .webchat__stacked-layout__message-row, & .webchat__stacked-layout__status":{display:"flex"},"& .webchat__stacked-layout__alignment-pad":{flexShrink:0},"& .webchat__stacked-layout__attachment":{width:"100%"},"& .webchat__stacked-layout__avatar-gutter":{display:"flex",flexDirection:"column",flexShrink:0},"&.webchat__stacked-layout--from-user":{"& .webchat__stacked-layout__attachment-row, & .webchat__stacked-layout__main, & .webchat__stacked-layout__message-row, & .webchat__stacked-layout__status":{flexDirection:"row-reverse"}},"& .webchat__stacked-layout__content":{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},"& .webchat__stacked-layout__nub-pad":{flexShrink:0}}};t.connectStackedLayout=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.default.apply(void 0,[function(e,t){var r=e.language,n=e.styleSet.options,i=n.botAvatarInitials,o=n.userAvatarInitials,a=t.activity,s=(a=void 0===a?{}:a).from,u=(s=void 0===s?{}:s).role;return{avatarInitials:"user"===(void 0===u?void 0:u)?o:i,language:r,botAvatarInitials:i,userAvatarInitials:o}}].concat(t))};var A=function(e){var t=e.activity,r=e.hideTimestamp,n=e.renderActivityStatus,o=e.renderAttachment,u=e.renderAvatar,v=e.showCallout,y=m(_(),1)[0],A=m(T(),1)[0].initials,E=m(b(),1)[0].initials,C=m((0,f.default)(),1)[0].stackedLayout,O=(0,h.default)("webchat__stacked-layout__id"),I=g(),w=(0,d.default)()(S)+"",P=y.bubbleNubOffset,N=y.bubbleNubSize,R=y.bubbleFromUserNubOffset,k=y.bubbleFromUserNubSize,x=t.attachments,M=void 0===x?[]:x,L=t.channelData,j=(L=void 0===L?{}:L).messageBack,D=(j=void 0===j?{}:j).displayText,U=t.from,B=(U=void 0===U?{}:U).role,F=t.text,V=t.textFormat,z=D||F,H="user"===B,G=I(H?"ACTIVITY_YOU_ATTACHED_ALT":"ACTIVITY_BOT_ATTACHED_ALT"),q=(H?I("ACTIVITY_YOU_SAID_ALT"):I("ACTIVITY_BOT_SAID_ALT",A||"")).replace(/[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]{2,}/g," "),Y=H?E:A,W=H?R:P,K=H?A:E,$=Y||"string"===typeof Y,J=K||"string"===typeof K,X="number"===typeof(H?k:N),Z="number"===typeof(H?N:k),Q=(0,c.default)(W),ee=!J&&Z,te=v&&$&&!!u,re=v&&X&&(Q||!M.length);return a.default.createElement("div",{"aria-labelledby":z?O:void 0,"aria-roledescription":"activity",className:(0,i.default)("webchat__stacked-layout",w,C+"",{"webchat__stacked-layout--extra-trailing":ee,"webchat__stacked-layout--from-user":H,"webchat__stacked-layout--hide-avatar":$&&!te,"webchat__stacked-layout--hide-nub":X&&!re,"webchat__stacked-layout--no-message":!z,"webchat__stacked-layout--show-avatar":te,"webchat__stacked-layout--show-nub":re,"webchat__stacked-layout--top-callout":Q}),role:"group"},a.default.createElement("div",{className:"webchat__stacked-layout__main"},a.default.createElement("div",{className:"webchat__stacked-layout__avatar-gutter"},te&&u&&u({activity:t})),a.default.createElement("div",{className:"webchat__stacked-layout__content"},!!z&&a.default.createElement("div",{"aria-roledescription":"message",className:"webchat__stacked-layout__message-row",id:O,role:"group"},a.default.createElement(l.default,{text:q}),a.default.createElement(s.default,{className:"webchat__stacked-layout__message",fromUser:H,nub:re||!(!$&&!X)&&"hidden"},o({activity:t,attachment:{content:z,contentType:(0,p.default)(V)}}))),M.map((function(e,r){return a.default.createElement("div",{"aria-roledescription":"attachment",className:(0,i.default)("webchat__stacked-layout__attachment-row",{"webchat__stacked-layout__attachment-row--first":!r}),key:r,role:"group"},a.default.createElement(l.default,{text:G}),a.default.createElement(s.default,{className:"webchat__stacked-layout__attachment",fromUser:H,key:r,nub:!(!$&&!X)&&"hidden"},o({activity:t,attachment:e})))}))),a.default.createElement("div",{className:"webchat__stacked-layout__alignment-pad"})),"function"===typeof n&&a.default.createElement("div",{className:"webchat__stacked-layout__status"},a.default.createElement("div",{className:"webchat__stacked-layout__avatar-gutter"}),a.default.createElement("div",{className:"webchat__stacked-layout__nub-pad"}),n({hideTimestamp:r}),a.default.createElement("div",{className:"webchat__stacked-layout__alignment-pad"})))};A.defaultProps={hideTimestamp:!1,renderActivityStatus:!1,renderAvatar:void 0,showCallout:!0},A.propTypes={activity:o.default.shape({attachments:o.default.array,channelData:o.default.shape({messageBack:o.default.shape({displayText:o.default.string})}),from:o.default.shape({role:o.default.string.isRequired}).isRequired,text:o.default.string,textFormat:o.default.string,timestamp:o.default.string,type:o.default.string.isRequired}).isRequired,hideTimestamp:o.default.bool,renderActivityStatus:o.default.oneOfType([o.default.oneOf([
2!1]),o.default.func]),renderAttachment:o.default.func.isRequired,renderAvatar:o.default.oneOfType([o.default.oneOf([!1]),o.default.func]),showCallout:o.default.bool};var E=A;t.default=E},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(){return function(e){return function(t){var r=t.activity,n=t.sendState,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,a);return n!==l?i.default.createElement(o.default,{activity:r,sendState:n}):e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({activity:r,sendState:n},s))}}}};var n=r(70),i=s(r(0)),o=s(r(703)),a=["activity","sendState"];function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=n.Constants.ActivityClientState.SENT},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=c(r(5)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=c(r(1468));function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}var l=i.hooks.useLocalizer,p=["RETRY"],f=function(e){var t=e.onRetryClick,r=(0,a.useCallback)((function(e){return"RETRY"===e.data&&t()}),[t]),n=l()("ACTIVITY_STATUS_SEND_FAILED_RETRY");return a.default.createElement(s.default,{onReference:r,references:p},n)};f.propTypes={onRetryClick:o.default.func.isRequired};var d=f;t.default=d},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=h(r(5)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),s=h(r(106)),u=h(r(1469)),c=h(r(436)),l=h(r(1470)),p=h(r(40)),f=h(r(700));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"===typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=i.hooks.useStyleOptions;var A=function(e){var t=e.children,r=e.onReference,n=e.references;"string"!==typeof t&&(console.warn('botframework-webchat: "children" prop passed to <InlineMarkdown> must be of type string.'),t="");var i=v((0,l.default)(),1)[0],o=v(S(),1)[0].accent,d=(0,p.default)(),h=(0,a.useMemo)((function(){return d({"& button[data-markdown-href]":{appearance:"none",backgroundColor:"transparent",border:0,color:o,cursor:"pointer",fontFamily:"inherit",fontSize:"inherit",padding:0}})+""}),[o,d]),y=(n=n.map((function(e){return e.toUpperCase()}))).reduce((function(e,t){var r=e.hrefToRef,n=e.refToHref,i=(0,c.default)();return{hrefToRef:g(g({},r),{},_({},i,t)),refToHref:g(g({},n),{},_({},t,i))}}),{hrefToRef:{},refToHref:{}}),T=y.hrefToRef,b=y.refToHref,A=(0,a.useMemo)((function(){var e,r=i.parseInline(t,{references:n.reduce((function(e,t){return g(g({},e),{},_({},t,{href:"#".concat(b[t])}))}),{})}),o=(e=r,(0,f.default)(e,(function(e){switch((e=g({},e)).type){case"link_open":e.tag="button",e.attrs=[].concat(m((0,s.default)(e.attrs,[function(e){var t=v(e,2),r=t[0],n=t[1];return"href"===r&&n.startsWith("#")}],(function(e){return["data-markdown-href",v(e,2)[1].substr(1)]}))),[["type","button"]]);break;
2case"link_close":e.tag="button"}return e})));return{__html:i.renderer.render(o)}}),[t,b,i,n]),E=(0,a.useCallback)((function(e){e.stopPropagation();var t=e.target.getAttribute("data-markdown-href");t&&r&&r((0,u.default)("reference",{data:T[t]}))}),[T,r]);return a.default.createElement("span",{className:h,dangerouslySetInnerHTML:A,onClick:E})};A.defaultProps={children:"",onReference:void 0,references:[]},A.propTypes={children:o.default.string,onReference:o.default.func,references:o.default.arrayOf(o.default.string)};var E=A;t.default=E},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;"function"===typeof CustomEvent?r=new CustomEvent(e):(r=document.createEvent("Event")).initEvent(e,!0,!0);return Object.entries(t).forEach((function(e){var t,i,o=(i=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,i)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],s=o[1];r[a]=s})),r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(44))&&n.__esModule?n:{default:n};var o=function(){return(0,i.default)().internalMarkdownItState};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(){return function(){return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=t[0],s=a.activity,u=a.hideTimestamp;return u?n.default.createElement(i.default,{hide:!0,value:s.timestamp}):n.default.createElement(o.default,{activity:s})}}}};var n=a(r(0)),i=a(r(704)),o=a(r(705));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=u(r(5)),o=u(r(0)),a=u(r(74)),s=u(r(1473));function u(e){return e&&e.__esModule?e:{default:e}}var c=n.hooks.useDateFormatter,l=n.hooks.useLocalizer,p=n.hooks.useRelativeTimeFormatter,f=function(e){var t=e.value,r=c(),n=p(),i=l();return(0,s.default)(t,6e4),o.default.createElement(o.default.Fragment,null,o.default.createElement(a.default,{text:i("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT",r(t))}),o.default.createElement("span",{"aria-hidden":!0},n(t)))};f.propTypes={value:i.default.string.isRequired};var d=f;t.default=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var a=(f=(0,n.useState)(u(e,t)),d=2,function(e){if(Array.isArray(e))return e}(f)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(f,d)||function(e,t){if(e){if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(f,d)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],l=a[1],p=(0,n.useCallback)((function(){r&&r(),l(u(e,t)+(0,i.default)())}),[r,e,t]);var f,d;return(0,o.default)(c,p),[c,l]};
2var n=r(0),i=a(r(86)),o=a(r(632));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r=new Date(e).getTime(),n=Date.now();return r>n?r:n+t-(n-r)%t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),c=0;c<t;c++)r[c]=arguments[c];var l=r[0],p=l.activity,f=(p=void 0===p?{}:p).from,d=(f=void 0===f?{}:f).role,h=void 0===d?void 0:d,v=l.attachment,m=l.attachment,y=(m=void 0===m?{}:m).contentType,T=void 0===y?void 0:y,b=m.contentUrl,g=void 0===b?void 0:b,_=m.thumbnailUrl,S=void 0===_?void 0:_,A=/^text\//.test(T);return(A?v.content:"user"!==h||S)?/^audio\//.test(T)?function(){return n.default.createElement(i.default,null)}:/^image\//.test(T)?function(){return n.default.createElement(a.default,null)}:/^video\//.test(T)?function(){return n.default.createElement(u.default,null)}:g||"application/octet-stream"===T?function(){return n.default.createElement(o.default,{attachment:v})}:A?function(){return n.default.createElement(s.default,{attachment:v})}:e.apply(void 0,r):function(){return n.default.createElement(o.default,{attachment:v})}}}}]};var n=c(r(0)),i=c(r(1475)),o=c(r(1476)),a=c(r(1477)),s=c(r(1478)),u=c(r(1479));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=a(r(0)),o=a(r(138));function a(e){return e&&e.__esModule?e:{default:e}}var s=n.hooks.useLocalizer,u=function(){var e=(0,o.default)("webchat__id"),t=s()("ATTACHMENT_AUDIO");return i.default.createElement("article",{"aria-labelledby":e},i.default.createElement("div",{id:e},t))};t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(5)),o=s(r(0)),a=s(r(138));function s(e){return e&&e.__esModule?e:{default:e}}var u=n.hooks.useLocalizer,c=function(e){var t=e.attachment,r=(t=void 0===t?{}:t).name,n=void 0===r?"":r,i=(0,a.default)("webchat__id"),s=u()("ATTACHMENT_FILE",n);return o.default.createElement("article",{"aria-labelledby":i},o.default.createElement("div",{id:i},s))};c.propTypes={attachment:i.default.shape({name:i.default.string.isRequired}).isRequired};var l=c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=a(r(0)),o=a(r(138));function a(e){return e&&e.__esModule?e:{default:e}}var s=n.hooks.useLocalizer,u=function(){var e=(0,o.default)("webchat__id"),t=s()("ATTACHMENT_IMAGE");return i.default.createElement("article",{"aria-labelledby":e},i.default.createElement("div",{id:e},t))};t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=s(r(5)),o=s(r(0)),a=s(r(138));function s(e){return e&&e.__esModule?e:{default:e}}var u=n.hooks.useLocalizer,c=function(e){var t=e.attachment,r=(t=void 0===t?{}:t).content,n=void 0===r?"":r,i=(0,a.default)("webchat__id"),s=u()("ATTACHMENT_TEXT",n);return o.default.createElement("article",{"aria-labelledby":i},o.default.createElement("div",{id:i},s))};c.propTypes={attachment:i.default.shape({content:i.default.string.isRequired}).isRequired};var l=c;t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=a(r(0)),o=a(r(138));function a(e){return e&&e.__esModule?e:{default:e}}var s=n.hooks.useLocalizer,u=function(){var e=(0,o.default)("webchat__id"),t=s()("ATTACHMENT_VIDEO");return i.default.createElement("article",{"aria-labelledby":e},i.default.createElement("div",{id:e},t))};t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(5)),i=s(r(0)),o=s(r(707)),a=s(r(23));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=function(e){var t=e.attachment,r=u((0,a.default)(),1)[0].audioAttachment;return i.default.createElement("div",{className:r},i.default.createElement(o.default,{alt:t.name,src:t.contentUrl}))};l.propTypes={attachment:n.default.shape({contentUrl:n.default.string.isRequired,name:n.default.string}).isRequired};var p=l;t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(708));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e.activity,r=(t=void 0===t?{}:t).attachments,n=void 0===r?[]:r,a=t.channelData,s=(a=void 0===a?{}:a).attachmentSizes,u=void 0===s?[]:s,c=e.attachment,l=u[n.indexOf(c)];return i.default.createElement(o.default,{fileName:c.name,href:c.contentUrl,size:l})};s.propTypes={activity:n.default.shape({attachment:n.default.array,channelData:n.default.shape({attachmentSizes:n.default.arrayOf(n.default.number)})}).isRequired,attachment:n.default.shape({contentUrl:n.default.string,name:n.default.string.isRequired}).isRequired};var u=s;t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(5)),i=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.className,r=e.size;return i.default.createElement("svg",{className:t,focusable:!1,height:22*r,role:"presentation",viewBox:"0 0 31.8 46",width:22*r},i.default.createElement("path",{d:"M26.8,23.8l-10.9,11L5,23.8l1.6-1.6l8.2,8.3V5H17v25.5l8.2-8.3L26.8,23.8z M5.8,41v-2.2H26V41H5.8z"}))};a.defaultProps={className:"",size:1},a.propTypes={className:n.default.string,size:n.default.number};var s=a;t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(5)),i=s(r(0)),o=s(r(709)),a=s(r(1484));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.attachment,r=t.thumbnailUrl||t.contentUrl,n=(0,a.default)(r);return n&&(r=URL.createObjectURL(n)),i.default.createElement(o.default,{alt:t.name,src:r})};u.propTypes={attachment:n.default.oneOfType([n.default.shape({contentUrl:n.default.string.isRequired,name:n.default.string,thumbnailUrl:n.default.string}),n.default.shape({contentUrl:n.default.string,name:n.default.string,thumbnailUrl:n.default.string.isRequired})]).isRequired};var c=u;t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=s,t.default=function(e){var t=s(e);if(!t)return;return new Blob([(0,n.toByteArray)(t.base64)],{type:t.contentType})};var n=r(292);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=/^data:((?:(?!,)[\s\S])*?)(;(base64))?,([\+\/-9=A-Za-z]+)/;function s(e){var t=a.exec(e);if(t){var r=i(t,5),n=r[1],o=r[3],s=r[4];if("base64"===o)return{base64:s,contentType:n||"text/plain;charset=US-ASCII",encoding:o}}}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=a(r(711));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e.attachment,r=(t=void 0===t?{}:t).content,n=void 0===r?"":r,a=t.contentType;return i.default.createElement(o.default,{contentType:a,text:n})};s.propTypes={attachment:n.default.shape({content:n.default.string,contentType:n.default.string.isRequired}).isRequired};var u=s;t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(20)),i=c(r(5)),o=c(r(0)),a=c(r(23)),s=c(r(40)),u=c(r(712));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f={display:"flex",flexDirection:"column"},d=function(e){var t=e.attachment,r=l((0,a.default)(),1)[0].videoAttachment,i=(0,s.default)()(f)+"";return o.default.createElement("div",{className:(0,n.default)(i,r+"")},o.default.createElement(u.default,{alt:t.name,src:t.contentUrl}))};d.propTypes={attachment:i.default.shape({contentUrl:i.default.string.isRequired,name:i.default.string}).isRequired};var h=d;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=l(r(20)),o=l(r(5)),a=l(r(0)),s=l(r(710)),u=l(r(23)),c=l(r(40));function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=n.hooks.useAvatarForBot,h=n.hooks.useAvatarForUser,v={"& .webchat__imageAvatar__image":{width:"100%"}},m=function(e){var t=e.fromUser,r=p(d(),1)[0].image,n=p(h(),1)[0].image,o=p((0,u.default)(),1)[0].imageAvatar,l=(0,c.default)()(v)+"";return!!(t?n:r)&&a.default.createElement("div",{className:(0,i.default)("webchat__imageAvatar",l,o+"")},a.default.createElement(s.default,{alt:"",className:"webchat__imageAvatar__image",height:"100%",src:t?n:r,width:"100%"}))};m.defaultProps={fromUser:!1},m.propTypes={fromUser:o.default.bool};var y=m;t.default=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=c(r(20)),o=c(r(5)),a=c(r(0)),s=c(r(23)),u=c(r(40));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useAvatarForBot,d=n.hooks.useAvatarForUser,h={alignItems:"center",display:"flex","& .webchat__initialsAvatar__initials":{justifyContent:"center"}},v=function(e){var t=e.fromUser,r=l(f(),1)[0].initials,n=l(d(),1)[0].initials,o=l((0,s.default)(),1)[0].initialsAvatar,c=(0,u.default)()(h)+"";return a.default.createElement("div",{className:(0,i.default)("webchat__initialsAvatar",{"webchat__initialsAvatar--fromUser":t},c,o+"")},a.default.createElement("div",{className:"webchat__initialsAvatar__initials"},t?n:r))};v.defaultProps={fromUser:!1},v.propTypes={fromUser:o.default.bool};var m=v;t.default=m},function(e,t,r){"use strict";var n=r(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var c=r[0],l=c.cardAction,p=l.type,f=l.value,d=c.getSignInUrl;switch(p){case"call":case"downloadFile":case"openUrl":case"playAudio":case"playVideo":case"showImage":if(u.includes(s(f)))if(i.ie11){var h=window.open();h.opener=null,h.location=f}else window.open(f,"_blank","noopener noreferrer");else console.warn("botframework-webchat: Cannot open URL with disallowed schemes.",f);break;case"signin":a(n.mark((function e(){var t,r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=window.open(),e.next=3,d();case 3:r=e.sent,t.location.href=r;case 5:case"end":return e.stop()}}),e)})))();break;default:return e.apply(void 0,r)}}}}]};var i=r(671);function o(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){o(a,n,i,s,u,"next",e)}function u(e){o(a,n,i,s,u,"throw",e)}s(void 0)}))}}function s(e){var t=(e=(e=e.replace(/[\0- ]+/g,"")).replace(/<!\x2D\x2D(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\x2D\x2D>/g,"")).match(/^([A-Za-z]+):/);if(t)return t[1].toLowerCase()}var u=["data","http","https","ftp","mailto","sip","tel"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(){return function(e){var t=e.atEnd,r=e.styleOptions.scrollToEndButtonBehavior,n=e.unread;return!!r&&("any"===r?!t&&i.default:!t&&n&&i.default)}}}]};var n,i=(n=r(1491))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=u(r(20)),o=u(r(5)),a=u(r(0)),s=u(r(23));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=n.hooks.useDirection,f=n.hooks.useLocalizer,d=n.hooks.useStyleOptions,h=function(e){var t=e.onClick,r=c((0,s.default)(),1)[0].scrollToEndButton,n=c(d(),1)[0].scrollToEndButtonBehavior,o=c(p(),1)[0],u=f()("any"===n?"TRANSCRIPT_MORE_MESSAGES":"TRANSCRIPT_NEW_MESSAGES");return a.default.createElement("button",{"aria-label":u,className:(0,i.default)("webchat__scroll-to-end-button",r+"","rtl"===o?"webchat__scroll-to-end-button--rtl":""),onClick:t,tabIndex:0,type:"button"},u)};h.defaultProps={onClick:void 0},h.displayName="ScrollToEndButton",h.propTypes={onClick:o.default.func};var v=h;t.default=v},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(1493))&&n.__esModule?n:{default:n};var o=function(){return[function(){return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[0].notification.id;return"connectivitystatus"!==i&&e.apply(void 0,r)}}},(0,i.default)()]};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(0)),i=o(r(1494));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){return function(){return function(){return function(e){var t=e.notification;return n.default.createElement(i.default,{notification:t})}}}};t.default=a},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(13),o=m(r(20)),a=m(r(5)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=v(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),u=m(r(1495)),c=m(r(679)),l=m(r(436)),p=m(r(74)),f=m(r(1496)),d=m(r(23)),h=m(r(40));function v(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(v=function(e){return e?r:t})(e)}function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=i.hooks.useDismissNotification,g=i.hooks.useLocalizer,_={display:"flex","& .webchat__toast__text":{flex:1}},S=function(e){var t=e.notification,r=t.alt,n=t.id,i=t.level,a=t.message,v=void 0===a?"":a,m=y((0,d.default)(),1)[0].toast,T=(0,s.useMemo)((function(){return"webchat__toast__".concat((0,l.default)())}),[]),S=g(),A=b(),E=(0,f.default)(),C=(0,h.default)()(_)+"",O=(0,s.useCallback)((function(){return A(n)}),[A,n]),I=(0,s.useMemo)((function(){return{__html:E(v)}}),[v,E]);return s.default.createElement("div",{"aria-describedby":T,"aria-label":S("TOAST_TITLE_ALT"),className:(0,o.default)("webchat__toast",{"webchat__toast--error":"error"===i,"webchat__toast--info":"info"===i,"webchat__toast--success":"success"===i,"webchat__toast--warn":"warn"===i},C,m+""),role:"dialog"},s.default.createElement("div",{className:"webchat__toast__iconBox"},s.default.createElement(c.default,{className:"webchat__toast__icon",level:i})),!!r&&s.default.createElement(p.default,{text:r}),s.default.createElement("div",{"aria-hidden":!!r,className:"webchat__toast__text",dangerouslySetInnerHTML:I,id:T}),s.default.createElement("button",{"aria-label":S("TOAST_DISMISS_BUTTON"),className:"webchat__toast__dismissButton",onClick:O,type:"button"},s.default.createElement("div",{"aria-hidden":!0,className:"webchat__toast__dismissButtonFocus"},s.default.createElement(u.default,null))))};S.propTypes={notification:a.default.shape({alt:a.default.string,id:a.default.string.isRequired,level:a.default.string.isRequired,message:a.default.string.isRequired}).isRequired};var A=S;t.default=A},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(5)),i=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.className;return i.default.createElement("svg",{className:(t||"")+"",focusable:!1,height:"14",role:"presentation",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("path",{d:"M7.71094 7L13.1016 12.3984L12.3984 13.1016L7 7.71094L1.60156 13.1016L0.898438 12.3984L6.28906 7L0.898438 1.60156L1.60156 0.898438L7 6.28906L12.3984 0.898438L13.1016 1.60156L7.71094 7Z"}))};a.defaultProps={className:void 0},a.propTypes={className:n.default.string};var s=a;t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(44))&&n.__esModule?n:{default:n};var o=function(){return(0,i.default)().internalRenderMarkdownInline};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[function(){return function(){return function(e){return e.visible&&o.default.createElement(d,null)}}}]};var n=r(13),i=u(r(20)),o=u(r(0)),a=u(r(1498)),s=u(r(23));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=n.hooks.useDirection,f=n.hooks.useLocalizer,d=function(){var e=c((0,s.default)(),1)[0].typingIndicator,t=c(p(),1)[0],r=f();return o.default.createElement("div",{className:(0,i.default)(e+"","rtl"===t&&"webchat__typingIndicator--rtl")},o.default.createElement(a.default,{"aria-label":r("TYPING_INDICATOR_ALT")}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(13),i=c(r(20)),o=c(r(0)),a=c(r(74)),s=c(r(23)),u=c(r(40));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=n.hooks.useDirection,d=n.hooks.useLocalizer,h={"&.webchat__typingIndicator.webchat__typingIndicator--rtl":{transform:"scale(-1, 1)"}},v=function(){var e=l((0,s.default)(),1)[0].typingAnimation,t=l(f(),1)[0],r=d(),n=(0,u.default)()(h)+"";return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.default,{text:r("TYPING_INDICATOR_ALT")}
2),o.default.createElement("div",{"aria-hidden":!0,className:(0,i.default)("webchat__typingIndicator",{"webchat__typingIndicator--rtl":"rtl"===t},n,e+"")}))};t.default=v},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(1972),o=r(70),a=r(13),s=h(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,r&&r.set(e,i);return i}(r(0)),c=h(r(1560)),l=h(r(638)),p=h(r(187)),f=h(r(1561));function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var y=a.hooks.useActivities,T=a.hooks.useDictateInterims,b=a.hooks.useDictateState,g=a.hooks.useDisabled,_=a.hooks.useEmitTypingIndicator,S=a.hooks.useLanguage,A=a.hooks.useSendBoxValue,E=a.hooks.useSendTypingIndicator,C=a.hooks.useShouldSpeakIncomingActivity,O=a.hooks.useStopDictate,I=a.hooks.useSubmitSendBox,w=o.Constants.DictateState,P=w.DICTATING,N=w.IDLE,R=w.STARTING,k=function(e){var t=e.onError,r=v((0,l.default)(),2)[1],n=v(T(),2)[1],o=v(A(),2)[1],a=v(C(),2)[1],s=v((0,p.default)(),1)[0],d=(s=void 0===s?{}:s).SpeechGrammarList,h=s.SpeechRecognition,m=v(y(),1)[0],w=v(b(),1)[0],k=v(g(),1)[0],x=v(E(),1)[0],M=v(S("speech"),1)[0],L=_(),j=(0,c.default)(),D=(0,f.default)(),U=O(),B=I(),F=(0,u.useMemo)((function(){return m.filter((function(e){var t=e.channelData;return(t=void 0===t?{}:t).speak})).length}),[m]),V=(0,u.useCallback)((function(e){var t=e.result,r=(t=void 0===t?{}:t).confidence,i=t.transcript;w!==P&&w!==R||(n([]),D(N),U(),i&&(o(i),B("speech",{channelData:{speech:{alternatives:[{confidence:r,transcript:i}]}}}),a(!0)))}),[w,n,D,U,o,B,a]),z=(0,u.useCallback)((function(e){var t=e.abortable,i=e.results;if(w===P||w===R){var o=(void 0===i?[]:i).map((function(e){return e.transcript}));r(t),n(o),D(P),x&&L()}}),[w,L,x,r,n,D]),H=(0,u.useCallback)((function(e){w!==N&&D(N),(w===P||w===R)&&U(),t&&t(e)}),[w,t,D,U]);return(0,u.useEffect)((function(){return window.addEventListener("pointerdown",j),function(){return window.removeEventListener("pointerdown",j)}}),[j]),u.default.createElement(i.Composer,{lang:M,onDictate:V,onError:H,onProgress:z,speechGrammarList:d,speechRecognition:h,started:!k&&(w===R||w===P)&&!F})};k.defaultProps={onError:void 0},k.propTypes={onError:s.default.func};var x=k;t.default=x},function(e,t,r){var n=r(717);e.exports=function(e){if(n(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1502);e.exports=n},function(e,t,r){var n=r(1503);e.exports=n},function(e,t,r){r(1504);var n=r(50);e.exports=n.Array.isArray},function(e,t,r){r(36)({target:"Array",stat:!0},{isArray:r(239)})},function(e,t,r){var n=r(447),i=r(725);e.exports=function(e,t){var r=null==e?null:"undefined"!==typeof n&&i(e)||e["@@iterator"];if(null!=r){var o,a,s=[],u=!0,c=!1;try{for(r=r.call(e);!(u=(o=r.next()).done)&&(s.push(o.value),!t||s.length!==t);u=!0);}catch(l){c=!0,a=l}finally{try{u||null==r.return||r.return()}finally{if(c)throw a}}return s}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(718);r(1523),r(1524),r(1525),r(1526),r(1527),r(1528),r(1529),e.exports=n},function(e,t,r){r(1508),r(185),r(1510),r(1511),r(1512),r(1513),r(1514),r(720),r(1515),r(1516),r(1517),r(1518),r(1519),r(1520),r(1521),r(721),r(1522),r(722),r(723),r(724);var n=r(50);e.exports=n.Symbol},function(e,t,r){"use strict";
vendor: 4,923 bytes, line 2
2var n=r(36),i=r(43),o=r(239),a=r(56),s=r(109),u=r(131),c=r(326),l=r(448),p=r(240),f=r(53),d=r(269),h=f("isConcatSpreadable"),v=d>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),m=p("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,forced:!v||!m},{concat:function(e){var t,r,n,i,o,a=s(this),p=l(a,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(y(o=-1===t?a:arguments[t])){if(f+(i=u(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<i;r++,f++)r in o&&c(p,f,o[r])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(p,f++,o)}return p.length=f,p}})},function(e,t,r){var n=r(239),i=r(279),o=r(56),a=r(53)("species");e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===Array||n(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(36),i=r(47),o=r(108),a=r(178),s=r(72),u=r(368),c=r(43),l=r(91),p=r(239),f=r(49),d=r(56),h=r(367),v=r(82),m=r(109),y=r(107),T=r(268),b=r(276),g=r(177),_=r(152),S=r(219),A=r(449),E=r(450),C=r(719),O=r(265),I=r(98),w=r(266),P=r(183),N=r(370),R=r(273),k=r(221),x=r(271),M=r(53),L=r(327),j=r(48),D=r(184),U=r(132),B=r(191).forEach,F=R("hidden"),V=M("toPrimitive"),z=U.set,H=U.getterFor("Symbol"),G=Object.prototype,q=i.Symbol,Y=o("JSON","stringify"),W=O.f,K=I.f,$=E.f,J=w.f,X=N("symbols"),Z=N("op-symbols"),Q=N("string-to-symbol-registry"),ee=N("symbol-to-string-registry"),te=N("wks"),re=i.QObject,ne=!re||!re.prototype||!re.prototype.findChild,ie=s&&c((function(){return 7!=_(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=W(G,t);n&&delete G[t],K(e,t,r),n&&e!==G&&K(G,t,n)}:K,oe=function(e,t){var r=X[e]=_(q.prototype);return z(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},ae=function(e,t,r){e===G&&ae(Z,t,r),v(e);var n=T(t);return v(r),l(X,n)?(r.enumerable?(l(e,F)&&e[F][n]&&(e[F][n]=!1),r=_(r,{enumerable:g(0,!1)})):(l(e,F)||K(e,F,g(1,{})),e[F][n]=!0),ie(e,n,r)):K(e,n,r)},se=function(e,t){v(e);var r=y(t),n=S(r).concat(pe(r));return B(n,(function(t){s&&!ue.call(r,t)||ae(e,t,r[t])})),e},ue=function(e){var t=T(e),r=J.call(this,t);return!(this===G&&l(X,t)&&!l(Z,t))&&(!(r||!l(this,t)||!l(X,t)||l(this,F)&&this[F][t])||r)},ce=function(e,t){var r=y(e),n=T(t);if(r!==G||!l(X,n)||l(Z,n)){var i=W(r,n);return!i||!l(X,n)||l(r,F)&&r[F][n]||(i.enumerable=!0),i}},le=function(e){var t=$(y(e)),r=[];return B(t,(function(e){l(X,e)||l(k,e)||r.push(e)})),r},pe=function(e){var t=e===G,r=$(t?Z:y(e)),n=[];return B(r,(function(e){!l(X,e)||t&&!l(G,e)||n.push(X[e])})),n};(u||(P((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,t=x(e),r=function e(r){this===G&&e.call(Z,r),l(this,F)&&l(this[F],t)&&(this[F][t]=!1),ie(this,t,g(1,r))};return s&&ne&&ie(G,t,{configurable:!0,set:r}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),P(q,"withoutSetter",(function(e){return oe(x(e),e)})),w.f=ue,I.f=ae,O.f=ce,A.f=E.f=le,C.f=pe,L.f=function(e){return oe(M(e),e)},s&&(K(q.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||P(G,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),B(S(te),(function(e){j(e)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=b(e);if(l(Q,t))return Q[t];var r=q(t);return Q[t]=r,ee[r]=t,r},keyFor:function(e){if(!h(e))throw TypeError(e+" is not a symbol");if(l(ee,e))return ee[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(e,t){return void 0===t?_(e):se(_(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:le,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:c((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(m(e))}}),Y)&&n({target:"JSON",stat:!0,forced:!u||c((function(){var e=q();return"[null]"!=Y([e])||"{}"!=Y({a:e})||"{}"!=Y(Object(e))}))},{stringify:function(e,t,r){for(var n,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=t,(d(t)||void 0!==e)&&!h(e))return p(t)||(t=function(e,t){if(f(n)&&(t=n.call(this,e,t)),!h(t))return t}),i[1]=t,Y.apply(null,i)}});if(!q.prototype[V]){var fe=q.prototype.valueOf;P(q.prototype,V,(function(){return fe.apply(this,arguments)}))}D(q,"Symbol"),k[F]=!0},function(e,t,r){r(48)("asyncIterator")},function(e,t){},function(e,t,r){r(48)("hasInstance")},function(e,t,r){r(48)("isConcatSpreadable")},function(e,t,r){r(48)("match")},function(e,t,r){r(48)("matchAll")},function(e,t,r){r(48)("replace")},function(e,t,r){r(48)("search")},function(e,t,r){r(48)("species")},function(e,t,r){r(48)("split")},function(e,t,r){r(48)("toPrimitive")},function(e,t,r){r(48)("unscopables")}
2,function(e,t,r){r(48)("asyncDispose")},function(e,t,r){r(48)("dispose")},function(e,t,r){r(48)("matcher")},function(e,t,r){r(48)("metadata")},function(e,t,r){r(48)("observable")},function(e,t,r){r(48)("patternMatch")},function(e,t,r){r(48)("replaceAll")},function(e,t,r){var n=r(1531);e.exports=n},function(e,t,r){var n=r(1532);r(154),e.exports=n},function(e,t,r){r(182),r(222);var n=r(275);e.exports=n},function(e,t,r){e.exports=r(1534)},function(e,t,r){var n=r(727);e.exports=n},function(e,t,r){var n=r(1536),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||e instanceof Array&&t===i.slice?n:t}},function(e,t,r){r(1537);var n=r(159);e.exports=n("Array").slice},function(e,t,r){"use strict";var n=r(36),i=r(239),o=r(279),a=r(56),s=r(373),u=r(131),c=r(107),l=r(326),p=r(53),f=r(240)("slice"),d=p("species"),h=[].slice,v=Math.max;n({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var r,n,p,f=c(this),m=u(f.length),y=s(e,m),T=s(void 0===t?m:t,m);if(i(f)&&(r=f.constructor,(o(r)&&(r===Array||i(r.prototype))||a(r)&&null===(r=r[d]))&&(r=void 0),r===Array||void 0===r))return h.call(f,y,T);for(n=new(void 0===r?Array:r)(v(T-y,0)),p=0;y<T;y++,p++)y in f&&l(n,p,f[y]);return n.length=p,n}})},function(e,t,r){e.exports=r(1539)},function(e,t,r){var n=r(1540);e.exports=n},function(e,t,r){var n=r(1541);e.exports=n},function(e,t,r){r(222),r(1542);var n=r(50);e.exports=n.Array.from},function(e,t,r){var n=r(36),i=r(1543);n({target:"Array",stat:!0,forced:!r(542)((function(e){Array.from(e)}))},{from:i})},function(e,t,r){"use strict";var n=r(179),i=r(109),o=r(1544),a=r(535),s=r(279),u=r(131),c=r(326),l=r(536),p=r(275);e.exports=function(e){var t=i(e),r=s(this),f=arguments.length,d=f>1?arguments[1]:void 0,h=void 0!==d;h&&(d=n(d,f>2?arguments[2]:void 0,2));var v,m,y,T,b,g,_=p(t),S=0;if(!_||this==Array&&a(_))for(v=u(t.length),m=r?new this(v):Array(v);v>S;S++)g=h?d(t[S],S):t[S],c(m,S,g);else for(b=(T=l(t,_)).next,m=r?new this:[];!(y=b.call(T)).done;S++)g=h?o(T,d,[y.value,S],!0):y.value,c(m,S,g);return m.length=S,m}},function(e,t,r){var n=r(82),i=r(537);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(a){i(e,"throw",a)}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){r(154);var n=r(1548),i=r(181),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;
2return e===o||e instanceof Array&&t===o.forEach||a.hasOwnProperty(i(e))?n:t}},function(e,t,r){var n=r(1549);e.exports=n},function(e,t,r){r(1550);var n=r(159);e.exports=n("Array").forEach},function(e,t,r){"use strict";var n=r(36),i=r(1551);n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,r){"use strict";var n=r(191).forEach,i=r(451)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(1553);e.exports=n},function(e,t,r){var n=r(1554),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||e instanceof Array&&t===i.map?n:t}},function(e,t,r){r(1555);var n=r(159);e.exports=n("Array").map},function(e,t,r){"use strict";var n=r(36),i=r(191).map;n({target:"Array",proto:!0,forced:!r(240)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(1557);e.exports=n},function(e,t,r){r(1558);var n=r(50);e.exports=n.Object.entries},function(e,t,r){var n=r(36),i=r(1559).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},function(e,t,r){var n=r(72),i=r(219),o=r(107),a=r(266).f,s=function(e){return function(t){for(var r,s=o(t),u=i(s),c=u.length,l=0,p=[];c>l;)r=u[l++],n&&!a.call(s,r)||p.push(e?[r,s[r]]:s[r]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(t=(0,i.default)(),r=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,r)||function(e,t){if(e){if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].resumeAudioContext;var t,r;return function(){return e&&e()}};var n,i=(n=r(187))&&n.__esModule?n:{default:n};function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.default)().setDictateState};var n,i=(n=r(21))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Object.entries(e).reduce((function(e,r){var i,o,a=(o=2,function(e){if(Array.isArray(e))return e}(i=r)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(i,o)||function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(i,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],u=a[1];return e[s]=t(u,s),e}),{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(13),o=r(0),a=r(677),s=r(699),u=(n=r(187))&&n.__esModule?n:{default:n};function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=i.hooks.useTrackDimension,f=function(){var e=c((0,u.default)(),1)[0],t=p(),r=!!e.SpeechRecognition,n=e.speechSynthesis&&e.speechSynthesis!==s.speechSynthesis;return(0,o.useEffect)((function(){t("capability:downscaleImage:workerType",(0,a.checkSupport)()?"web worker":"main"),t("capability:renderer","html"),t("prop:speechRecognition",!!r+""),t("prop:speechSynthesis",!!n+"")}),[t,r,n]),!1};t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(5)),i=a(r(0)),o=r(716);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=e["aria-hidden"],r=e.className,n=e.fromUser;return console.warn("botframework-webchat: <Avatar> component is deprecated and will be removed on or after 2022-02-25. Please use `useRenderAvatar` hook instead."),i.default.createElement(o.DefaultAvatar,{"aria-hidden":t,className:r,fromUser:n})};s.defaultProps={"aria-hidden":!1,className:"",fromUser:!1},s.propTypes={"aria-hidden":n.default.bool,className:n.default.string,fromUser:n.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useDictateAbortable",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"useFocus",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useFocusSendBox",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"useObserveScrollPosition",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"useObserveTranscriptFocus",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"useRenderMarkdownAsHTML",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"useScrollDown",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"useScrollTo",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"useScrollToEnd",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"useScrollUp",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"useSendFiles",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"useStyleSet",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"useWebSpeechPonyfill",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"useMicrophoneButtonClick",{enumerable:!0,get:function(){return m.useMicrophoneButtonClick}}),Object.defineProperty(t,"useMicrophoneButtonDisabled",{enumerable:!0,get:function(){return m.useMicrophoneButtonDisabled}}),Object.defineProperty(t,"useSendBoxSpeechInterimsVisible",{enumerable:!0,get:function(){return y.useSendBoxSpeechInterimsVisible}}),Object.defineProperty(t,"useTextBoxSubmit",{enumerable:!0,get:function(){return T.useTextBoxSubmit}}),Object.defineProperty(t,"useTextBoxValue",{enumerable:!0,get:function(){return T.useTextBoxValue}}),Object.defineProperty(t,"useTypingIndicatorVisible",{enumerable:!0,get:function(){return b.useTypingIndicatorVisible}});var n=g(r(637)),i=g(r(158)),o=g(r(1566)),a=g(r(1567)),s=g(r(1568)),u=g(r(438)),c=g(r(673)),l=g(r(1569)),p=g(r(298)),f=g(r(675)),d=g(r(678)),h=g(r(23)),v=g(r(187)),m=r(417),y=r(634),T=r(434),b=r(680);function g(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){o&&(console.warn('botframework-webchat: "useFocusSendBox" is deprecated and will be removed on or after 2022-04-21. Please use "useFocus(\'sendBox\')" instead.'),o=!1);return(0,i.default)().bind(null,"sendBox")};var n,i=(n=r(158))&&n.__esModule?n:{default:n};var o=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){"function"!==typeof e?(e=void 0,console.warn('botframework-webchat: First argument passed to "useObserveScrollPosition" must be a function.')):"undefined"===typeof t||Array.isArray(t)||console.warn('botframework-webchat: Second argument passed to "useObserveScrollPosition" must be an array if specified.');var r=(0,o.default)().observeScrollPosition;(0,i.useEffect)((function(){return e&&r(e)}),[].concat((n=t||[],function(e){if(Array.isArray(e))return a(e)}(n)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[e,r]));var n};var n,i=r(0),o=(n=r(44))&&n.__esModule?n:{default:n};function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){"function"!==typeof e?(e=void 0,console.warn('botframework-webchat: First argument passed to "useObserveTranscriptFocus" must be a function.')):"undefined"===typeof t||Array.isArray(t)||console.warn('botframework-webchat: Second argument passed to "useObserveTranscriptFocus" must be an array if specified.');var r=(0,o.default)().observeTranscriptFocus;(0,i.useEffect)((function(){return e&&r(e)}),[].concat((n=t||[],function(e){if(Array.isArray(e))return a(e)}(n)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[e,r]));var n};var n,i=r(0),o=(n=r(44))&&n.__esModule?n:{default:n};function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)().scrollToCallbacksRef;return(0,i.useCallback)((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.current.forEach((function(e){return e.apply(void 0,r)}))}),[e])};var n,i=r(0),o=(n=r(44))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){window.SpeechRecognition||window.webkitSpeechRecognition||console.warn("Web Chat: This browser does not support Web Speech API Speech Recognition.");window.speechSynthesis||console.warn("Web Chat: This browser does not support Web Speech API Speech Synthesis.");return function(){return{SpeechGrammarList:window.SpeechGrammarList||window.webkitSpeechGrammarList,SpeechRecognition:window.SpeechRecognition||window.webkitSpeechRecognition,speechSynthesis:window.speechSynthesis,SpeechSynthesisUtterance:window.SpeechSynthesisUtterance}}}},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(735);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=u(u({},(0,o.normalizeStyleOptions)(e)),(0,a.default)(e)),r=t.accent,n=t.bubbleTextColor,i=t.cardEmphasisBackgroundColor,s=t.primaryFont,c=t.subtle;return{containerStyles:{default:{foregroundColors:{default:{default:n,subtle:c},accent:{default:r,subtle:"#0078D4"},attention:{default:"#D13438",subtle:"#A4262C"},dark:{default:"#000000",subtle:"#646464"},good:{default:"#0B6A0B",subtle:"#028A02"},light:{default:"#FFFFFF",subtle:c},warning:{default:"#B75C00",subtle:"#986F0B"}}},emphasis:{backgroundColor:i,foregroundColors:{default:{default:"#000000",subtle:"#484644"}}},accent:{backgroundColor:"#C7DEF9",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}},good:{backgroundColor:"#CCFFCC",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}},attention:{backgroundColor:"#FFC5B2",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}},warning:{backgroundColor:"#FFE2B2",foregroundColors:{default:{default:"#333333",subtle:"#484644"}}}},supportsInteractivity:!0,fontFamily:s,imageSizes:{small:40,medium:80,large:160},actions:{actionAlignment:"stretch",actionsOrientation:"vertical",buttonSpacing:8,maxActions:100,showCard:{actionMode:"inline",inlineTopMargin:8},spacing:"default"},adaptiveCard:{allowCustomStyle:!1},imageSet:{imageSize:"medium",maxImageHeight:100},factSet:{title:{color:"default",size:"default",isSubtle:!1,weight:"bolder",wrap:!0,maxWidth:150},value:{color:"default",size:"default",isSubtle:!1,weight:"default",wrap:!0},spacing:8}}
2};var i=n(r(88)),o=r(13),a=n(r(739));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={adaptiveCardsParserMaxVersion:void 0,cardEmphasisBackgroundColor:"#F0F0F0",cardPushButtonBackgroundColor:"#0063B1",cardPushButtonTextColor:"White",richCardWrapTitle:!1};t.default=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.formatText=void 0;var i=function(){function e(e){this._regularExpression=e}return e.prototype.format=function(e,t){var r;if(t){for(var n=t;null!=(r=this._regularExpression.exec(t));)n=n.replace(r[0],this.internalFormat(e,r));return n}return t},e}(),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalFormat=function(e,t){var r=new Date(Date.parse(t[1])),n=void 0!=t[2]?t[2].toLowerCase():"compact";return"compact"!=n?r.toLocaleDateString(e,{day:"numeric",weekday:n,month:n,year:"numeric"}):r.toLocaleDateString()},t}(i),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.internalFormat=function(e,t){return new Date(Date.parse(t[1])).toLocaleTimeString(e,{hour:"numeric",minute:"2-digit"})},t}(i);t.formatText=function(e,t){for(var r=t,n=0,i=[new o(/\{{2}DATE\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))(?:, ?(COMPACT|LONG|SHORT))?\)\}{2}/g),new a(/\{{2}TIME\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))\)\}{2}/g)];n<i.length;n++){r=i[n].format(e,r)}return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelAdapter=void 0;var n=function(){};t.ChannelAdapter=n},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AdaptiveApplet=void 0;var o=r(140),a=r(242),s=r(160),u=r(750),c=r(243),l=r(748),p=r(193);function f(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(s.GlobalSettings.applets.logEnabled)if(s.GlobalSettings.applets.onLogEvent)s.GlobalSettings.applets.onLogEvent(e,t,r);else switch(e){case o.LogLevel.Warning:console.warn(t,r);break;case o.LogLevel.Error:console.error(t,r);break;default:console.log(t,r)}}var d=function(){function e(e,t,r){this.action=e,this.trigger=t,this.consecutiveRefreshes=r,this.attemptNumber=0}return e.prototype.retryAsync=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){return this.onSend&&this.onSend(this),[2]}))}
2))},e}(),h=function(){function e(){this._allowAutomaticCardUpdate=!1,this.renderedElement=document.createElement("div"),this.renderedElement.className="aaf-cardHost",this.renderedElement.style.position="relative",this.renderedElement.style.display="flex",this.renderedElement.style.flexDirection="column",this._cardHostElement=document.createElement("div"),this._refreshButtonHostElement=document.createElement("div"),this._refreshButtonHostElement.className="aaf-refreshButtonHost",this._refreshButtonHostElement.style.display="none",this.renderedElement.appendChild(this._cardHostElement),this.renderedElement.appendChild(this._refreshButtonHostElement)}return e.prototype.displayCard=function(e){if(!e.renderedElement)throw new Error("displayCard: undefined card.");a.clearElementChildren(this._cardHostElement),this._refreshButtonHostElement.style.display="none",this._cardHostElement.appendChild(e.renderedElement)},e.prototype.showManualRefreshButton=function(e){var t=this;if(!this.onShowManualRefreshButton||this.onShowManualRefreshButton(this)){this._refreshButtonHostElement.style.display="none";var r=void 0;if(this.onRenderManualRefreshButton)r=this.onRenderManualRefreshButton(this);else{var n=c.Strings.runtime.refreshThisCard();if(s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Automatic){var i=c.Strings.runtime.automaticRefreshPaused();" "!==i[i.length-1]&&(i+=" "),n=c.Strings.runtime.clckToRestartAutomaticRefresh()}var f={type:"AdaptiveCard",version:"1.2",body:[{type:"RichTextBlock",horizontalAlignment:"right",inlines:[{type:"TextRun",text:n,selectAction:{type:"Action.Submit",id:"refreshCard"}}]}]},d=new l.AdaptiveCard;d.parse(f,new l.SerializationContext(p.Versions.v1_2)),d.onExecuteAction=function(r){"refreshCard"===r.id&&(a.clearElementChildren(t._refreshButtonHostElement),t.internalExecuteAction(e,u.ActivityRequestTrigger.Automatic,0))},r=d.render()}r&&(a.clearElementChildren(this._refreshButtonHostElement),this._refreshButtonHostElement.appendChild(r),this._refreshButtonHostElement.style.removeProperty("display"))}},e.prototype.createActivityRequest=function(e,t,r){var n=this;if(this.card){var i=new d(e,t,r);return i.onSend=function(e){e.attemptNumber++,n.internalSendActivityRequestAsync(i)},!!this.onPrepareActivityRequest&&!this.onPrepareActivityRequest(this,i,e)?void 0:i}throw new Error("createActivityRequest: no card has been set.")},e.prototype.createMagicCodeInputCard=function(t){var r={type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",color:"attention",text:1===t?void 0:"That didn't work... let's try again.",wrap:!0,horizontalAlignment:"center"},{type:"TextBlock",text:'Please login in the popup. You will obtain a magic code. Paste that code below and select "Submit"',wrap:!0,horizontalAlignment:"center"},{type:"Input.Text",id:"magicCode",placeholder:"Enter magic code"},{type:"ActionSet",horizontalAlignment:"center",actions:[{type:"Action.Submit",id:e.submitMagicCodeActionId,title:"Submit"},{type:"Action.Submit",id:e.cancelMagicCodeAuthActionId,title:"Cancel"}]}]},n=new l.AdaptiveCard;return n.parse(r),n},e.prototype.cancelAutomaticRefresh=function(){this._allowAutomaticCardUpdate&&f(o.LogLevel.Warning,"Automatic card refresh has been cancelled as a result of the user interacting with the card."),this._allowAutomaticCardUpdate=!1},e.prototype.createSerializationContext=function(){return this.onCreateSerializationContext?this.onCreateSerializationContext(this):new l.SerializationContext},e.prototype.internalSetCard=function(e,t){var r=this;if("object"===typeof e&&"AdaptiveCard"===e.type&&(this._cardPayload=e),this._cardPayload)try{var n=new l.AdaptiveCard;this.hostConfig&&(n.hostConfig=this.hostConfig);var i=this.createSerializationContext();if(n.parse(this._cardPayload,i),(!this.onCardChanging||this.onCardChanging(this,this._cardPayload))&&(this._card=n,this._card.authentication&&this._card.authentication.tokenExchangeResource&&this.onPrefetchSSOToken&&this.onPrefetchSSOToken(this,this._card.authentication.tokenExchangeResource),this._card.onExecuteAction=function(e){r.cancelAutomaticRefresh(),r.internalExecuteAction(e,u.A
2ctivityRequestTrigger.Manual,0)},this._card.onInputValueChanged=function(e){r.cancelAutomaticRefresh()},this._card.render(),this._card.renderedElement&&(this.displayCard(this._card),this.onCardChanged&&this.onCardChanged(this),this._card.refresh)))if(s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Automatic&&t<s.GlobalSettings.applets.refresh.maximumConsecutiveAutomaticRefreshes)if(s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes<=0)f(o.LogLevel.Info,"Triggering automatic card refresh number "+(t+1)),this.internalExecuteAction(this._card.refresh.action,u.ActivityRequestTrigger.Automatic,t+1);else{f(o.LogLevel.Info,"Scheduling automatic card refresh number "+(t+1)+" in "+s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes+"ms");var a=this._card.refresh.action;this._allowAutomaticCardUpdate=!0,window.setTimeout((function(){r._allowAutomaticCardUpdate&&r.internalExecuteAction(a,u.ActivityRequestTrigger.Automatic,t+1)}),s.GlobalSettings.applets.refresh.timeBetweenAutomaticRefreshes)}else s.GlobalSettings.applets.refresh.mode!==o.RefreshMode.Disabled&&(f(o.LogLevel.Warning,t>0?"Stopping automatic refreshes after "+t+" consecutive refreshes.":"The card has a refresh section, but automatic refreshes are disabled."),(s.GlobalSettings.applets.refresh.allowManualRefreshesAfterAutomaticRefreshes||s.GlobalSettings.applets.refresh.mode===o.RefreshMode.Manual)&&(f(o.LogLevel.Info,"Showing manual refresh button."),this.showManualRefreshButton(this._card.refresh.action)))}catch(c){f(o.LogLevel.Error,"setCard: "+c)}},e.prototype.internalExecuteAction=function(e,t,r){if(e instanceof l.ExecuteAction){if(!this.channelAdapter)throw new Error("internalExecuteAction: No channel adapter set.");var n=this.createActivityRequest(e,t,r);n&&n.retryAsync()}this.onAction&&this.onAction(this,e)},e.prototype.createProgressOverlay=function(e){if(!this._progressOverlay)if(this.onCreateProgressOverlay)this._progressOverlay=this.onCreateProgressOverlay(this,e);else{this._progressOverlay=document.createElement("div"),this._progressOverlay.className="aaf-progress-overlay";var t=document.createElement("div");t.className="aaf-spinner",t.style.width="28px",t.style.height="28px",this._progressOverlay.appendChild(t)}return this._progressOverlay},e.prototype.removeProgressOverlay=function(e){this.onRemoveProgressOverlay&&this.onRemoveProgressOverlay(this,e),void 0!==this._progressOverlay&&(this.renderedElement.removeChild(this._progressOverlay),this._progressOverlay=void 0)},e.prototype.activityRequestSucceeded=function(e,t){this.onActivityRequestSucceeded&&this.onActivityRequestSucceeded(this,e,t)},e.prototype.activityRequestFailed=function(e){return this.onActivityRequestFailed?this.onActivityRequestFailed(this,e):s.GlobalSettings.applets.defaultTimeBetweenRetryAttempts},e.prototype.showAuthCodeInputDialog=function(t){var r=this;if(!this.onShowAuthCodeInputDialog||this.onShowAuthCodeInputDialog(this,t)){var n=this.createMagicCodeInputCard(t.attemptNumber);n.render(),n.onExecuteAction=function(n){if(r.card&&n instanceof l.SubmitAction)switch(n.id){case e.submitMagicCodeActionId:var i=void 0;n.data&&"string"===typeof n.data.magicCode&&(i=n.data.magicCode),i?(r.displayCard(r.card),t.authCode=i,t.retryAsync()):alert("Please enter the magic code you received.");break;case e.cancelMagicCodeAuthActionId:f(o.LogLevel.Warning,"Authentication cancelled by user."),r.displayCard(r.card);break;default:f(o.LogLevel.Error,"Unespected action taken from magic code input card (id = "+n.id+")"),alert(c.Strings.magicCodeInputCard.somethingWentWrong())}},this.displayCard(n)}},e.prototype.internalSendActivityRequestAsync=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a;return i(this,(function(l){switch(l.label){case 0:if(!this.channelAdapter)throw new Error("internalSendActivityRequestAsync: channelAdapter is not set.");void 0!==(t=this.createProgressOverlay(e))&&this.renderedElement.appendChild(t),r=!1,n=function(){var t,n,l,p,d,h,v;return i(this,(function(i){switch(i.label){case 0:t=void 0,1===e.attemptNumber?f(o.LogLevel.Info,"Sending activity request to channel (attempt "+e.attemptNumber+")"):f(o.LogLevel.Info,"Re-sending activity request to channel (attempt "+e.attemptNumber+")"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a.channelAdapter.sendRequestAsync(e)];case 2:return t=i.sent(),[3,4];case 3:return n=i.sent(),f(o.LogLevel.Error,"Activity request failed: "+n),a.removeProgressOverlay(e),r=!0,[3,4];case 4:if(!t)return[3,10];if(!(t instanceof u.SuccessResponse))return[3,5];if(a.removeProgressOverlay(e),void 0===t.rawContent)throw new Error("internalSendActivityRequestAsync: Action.Execute result is undefined");l=t.rawContent;try{l=JSON.parse(t.rawContent)}catch(m){}if("string"===typeof l)f(o.LogLevel.Info,"The activity request returned a string after "+e.attemptNumber+" attempt(s)."),a.activityRequestSucceeded(t,l);else{if("object"!==typeof l||"AdaptiveCard"!==l.type)throw new Error("internalSendActivityRequestAsync: Action.Execute result is of unsupported type ("+typeof t.rawContent+")");f(o.LogLevel.Info,"The activity request returned an Adaptive Card after "+e.attemptNumber+" attempt(s)."),a.internalSetCard(l,e.consecutiveRefreshes),a.activityRequestSucceeded(t,a.card)}return r=!0,[3,10];case 5:return t instanceof u.ErrorResponse?(p=a.activityRequestFailed(t))>=0&&e.attemptNumber<s.GlobalSettings.applets.maximumRetryAttempts?(f(o.LogLevel.Warning,"Activity request failed: "+t.error.message+". Retrying in "+p+"ms"),e.attemptNumber++,[4,new Promise((function(e,t){window.setTimeout((function(){e()}),p)}))]):[3,7]:[3,9];case 6:return i.sent(),[3,8];case 7:f(o.LogLevel.Error,"Activity request failed: "+t.error.message+". Giving up after "+e.attemptNumber+" attempt(s)"),a.removeProgressOverlay(e),r=!0,i.label=8;case 8:return[3,10];case 9:if(t instanceof u.LoginRequestResponse){if(f(o.LogLevel.Info,"The activity request returned a LoginRequestResponse after "+e.attemptNumber+" attempt(s)."),e.attemptNumber<=s.GlobalSettings.applets.maximumRetryAttempts){if(d=!0,t.tokenExchangeResource&&a.onSSOTokenNeeded&&(d=!a.onSSOTokenNeeded(a,e,t.tokenExchangeResource)),d){if(a.removeProgressOverlay(e),void 0===t.signinButton)throw new Error("internalSendActivityRequestAsync: the login request doesn't contain a valid signin URL.");f(o.LogLevel.Info,"Login required at "+t.signinButton.value),a.onShowSigninPrompt?a.onShowSigninPrompt(a,e,t.signinButton):(a.showAuthCodeInputDialog(e),h=window.screenX+(window.outerWidth-s.GlobalSettings.applets.authPromptWidth)/2,v=window.screenY+(window.outerHeight-s.GlobalSettings.applets.authPromptHeight)/2,window.open(t.signinButton.value,t.signinButton.title?t.signinButton.title:"Sign in","width="+s.GlobalSettings.applets.authPromptWidth+",height="+s.GlobalSettings.applets.authPromptHeight+",left="+h+",top="+v))}}else f(o.LogLevel.Error,"Authentication failed. Giving up after "+e.attemptNumber+" attempt(s)"),alert(c.Strings.magicCodeInputCard.authenticationFailed());return[2,"break"]}throw new Error("Unhandled response type: "+t.toString());case 10:return[2]}}
2))},a=this,l.label=1;case 1:return r?[3,3]:[5,n()];case 2:return"break"===l.sent()?[3,3]:[3,1];case 3:return[2]}}))}))},e.prototype.refreshCard=function(){this._card&&this._card.refresh&&this.internalExecuteAction(this._card.refresh.action,u.ActivityRequestTrigger.Manual,0)},e.prototype.setCard=function(e){this.internalSetCard(e,0)},Object.defineProperty(e.prototype,"card",{get:function(){return this._card},enumerable:!1,configurable:!0}),e.submitMagicCodeActionId="submitMagicCode",e.cancelMagicCodeAuthActionId="cancelMagicCodeAuth",e}();t.AdaptiveApplet=h},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(733)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})},u=s;t.default=u,s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.any.isRequired}).isRequired,disabled:i.default.bool}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(743)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({media:i.default.arrayOf(i.default.shape({profile:i.default.string,url:i.default.string.isRequired})).isRequired}).isRequired}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(751)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({autostart:i.default.bool,autoloop:i.default.bool,image:i.default.shape({url:i.default.string.isRequired}),media:i.default.arrayOf(i.default.shape({url:i.default.string.isRequired}).isRequired).isRequired})}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(753)),s=function(e){var t=e.attachment,r=(t=void 0===t?{}:t).content,n=e.disabled;return!!r&&o.default.createElement(a.default,{content:r,disabled:n})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({buttons:i.default.any,images:i.default.arrayOf(i.default.shape({alt:i.default.string,tap:i.default.any,url:i.default.string.isRequired})),subtitle:i.default.string,tap:i.default.any,text:i.default.string,title:i.default.string}).isRequired}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(754)),s=function(e){var t=e.attachment,r=(t=void 0===t?{}:t).content,n=e.disabled;return o.default.createElement(a.default,{content:r,disabled:n})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({buttons:i.default.array}).isRequired}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(755)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({buttons:i.default.array,facts:i.default.arrayOf(i.default.shape({key:i.default.string,value:i.default.string})),items:i.default.arrayOf(i.default.shape({image:i.default.shape({alt:i.default.string.isRequired,tap:i.default.any,url:i.default.string.isRequired}),price:i.default.string.isRequired,quantity:i.default.string,subtitle:i.default.string,tap:i.default.any,text:i.default.string,title:i.default.string.isRequired})),tap:i.default.any,tax:i.default.string,title:i.default.string,total:i.default.string,vat:i.default.string}).isRequired}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){var n=r(734),i=r(737),o=r(452),a=r(736);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(18);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(756)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.any.isRequired}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(757)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({buttons:i.default.array,images:i.default.arrayOf(i.default.shape({alt:i.default.string.isRequired,tap:i.default.any,url:i.default.string.isRequired})),subtitle:i.default.string,tap:i.default.any,text:i.default.string,title:i.default.string}).isRequired}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=n(r(758)),s=function(e){var t=e.attachment.content,r=e.disabled;return o.default.createElement(a.default,{content:t,disabled:r})};s.defaultProps={disabled:void 0},s.propTypes={attachment:i.default.shape({content:i.default.shape({autoloop:i.default.bool,autostart:i.default.bool,image:i.default.shape({url:i.default.string.isRequired}),media:i.default.arrayOf(i.default.shape({profile:i.default.string.isRequired,url:i.default.string}))})}).isRequired,disabled:i.default.bool};var u=s;t.default=u},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(63)),a=r(54),s=n(r(5)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(0)),c=n(r(128)),l=n(r(742)),p=n(r(760));function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}var d=a.hooks.useLocalizer;var h=function(e){var t=e.input,r=t.choices,n=t.defaultValue,i=(0,p.default)("webchat__id"),o=r.find((function(e){var t=e.value;return n===t||!n&&!t}));return u.default.createElement("div",null,u.default.createElement("select",{"aria-labelledby":o?i:void 0,defaultValue:n,tabIndex:-1},r.map((function(e){return u.default.createElement("option",{id:e===o?i:void 0,key:e.value,value:e.value},e.title)}))))};h.propTypes={input:s.default.shape({choices:s.default.arrayOf(s.default.shape({title:s.default.string,value:s.default.any})),defaultValue:s.default.any,value:s.default.any}).isRequired};var v=function(e){var t=e.content,r=(0,p.default)("webchat__id"),n=d(),i=(0,l.default)(),a=(0,c.default)(),s=(0,o.default)(a,1)[0],f=s.ChoiceSetInput,v=s.DateInput,m=s.NumberInput,y=s.OpenUrlAction,T=s.ShowCardAction,b=s.SubmitAction,g=s.TextInput,_=s.TimeInput,S=s.ToggleInput,A=(0,u.useMemo)((function(){return i(t,{ignoreErrors:!0})}),[t,i]),E=(0,u.useMemo)((function(){var e=[];return function e(t,r){if(r(t),t.getItemAt&&t.getItemCount)for(var n=t.getItemCount(),i=0;i<n;i++)e(t.getItemAt(i),r);if(t.getActionAt&&t.getActionCount)for(var o=t.getActionCount(),a=0;a<o;a++)r(t.getActionAt(a))}(A,(function(t){(t instanceof f||t instanceof v||t instanceof m||t instanceof y||t instanceof T||t instanceof b||t instanceof g||t instanceof _||t instanceof S)&&e.push(t)})),e}),[A,f,v,m,y,T,b,g,_,S]),C=n("ATTACHMENT_CARD",A.speak||"","","");return u.default.createElement("article",{"aria-labelledby":r},u.default.createElement("div",{id:r},C),E.map((function(e,t){return e instanceof f?u.default.createElement(h,{input:e,key:t}):e instanceof v?u.default.createElement("div",{key:t},u.default.createElement("input",{placeholder:e.placeholder,tabIndex:-1,type:"date"})):e instanceof m?u.default.createElement("div",{key:t},u.default.createElement("input",{placeholder:e.placeholder,tabIndex:-1,type:"number"})):e instanceof y||e instanceof T||e instanceof b?u.default.createElement("div",{key:t},u.default.createElement("button",{tabIndex:-1,type:"button"},e.title)):e instanceof g?u.default.createElement("div",{key:t},u.default.createElement("input",{placeholder:e.placeholder,tabIndex:-1,type:"text"})):e instanceof _?u.default.createElement("div",{key:t},u.default.createElement("input",{placeholder:e.placeholder,tabIndex:-1,type:"time"})):e instanceof S&&u.default.createElement("div",{key:t},e.title,u.default.createElement("input",{defaultChecked:e.value===e.valueOn,tabIndex:-1,type:"checkbox"}))})))};v.propTypes={content:s.default.any.isRequired};var m=v;t.default=m},function(e,t,r){"use strict";var n=r(18);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(5)),o=n(r(0)),a=r(54),s=n(r(760)),u=a.hooks.useLocalizer,c=function(e){var t=e.content,r=void 0===t?{}:t,n=(0,s.default)("webchat__id"),i=u(),a=r.buttons,c=r.facts,l=r.image,p=r.images,f=r.items,d=r.subtitle,h=r.tax,v=r.text,m=r.title,y=r.total,T=r.vat,b=i("RECEIPT_CARD_TAX"),g=i("RECEIPT_CARD_TOTAL"),_=i("RECEIPT_CARD_VAT"),S=i("ATTACHMENT_CARD",m||"",d||"",v||"");return o.default.createElement("article",{"aria-labelledby":n},o.default.createElement("div",{id:n},S),!!l&&!!l.alt&&o.default.createElement("img",{alt:l.alt}),!!p&&!!p.length&&p.map((function(e,t){var r=e.alt;return o.default.createElement("img",{alt:r,key:t})})),!!c&&!!c.length&&o.default.createElement("dl",null,c.map((function(e,t){var r=e.key,n=e.value;return o.default.createElement(o.default.Fragment,{key:t},o.default.createElement("dt",null,r),o.default.createElement("dd",null,n))}))),!!f&&!!f.length&&o.default.createElement("ul",null,f.map((function(e,t){var r=e.image,n=e.price,i=e.quantity,a=e.subtitle,s=e.text,u=e.title;return o.default.createElement("li",{key:t},!!r&&!!r.alt&&o.default.createElement("img",{alt:r.alt}),!!u&&o.default.createElement("p",null,u),!!a&&o.default.createElement("p",null,a),!!s&&o.default.createElement("p",null,s),!!i&&o.default.createElement("p",null,i),!!n&&o.default.createElement("p",null,n))}))),!!T&&o.default.createElement("p",null,_," ",T),!!h&&o.default.createElement("p",null,b," ",h),!!y&&o.default.createElement("p",null,g," ",y),!!a&&!!a.length&&o.default.createElement("div",null,a.map((function(e,t){var r=e.title;return o.default.createElement("button",{key:t,tabIndex:-1,type:"button"},r)}))))};c.propTypes={content:i.default.any.isRequired};var l=c;t.default=l},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.audioConfig,r=e.audioContext,n=e.audioInputDeviceId,a=e.credentials,s=e.enableTelemetry,u=e.speechRecognitionEndpointId,c=e.speechSynthesisDeploymentId,l=e.speechSynthesisOutputFormat,p=e.textNormalization;if(!window.navigator.mediaDevices&&!t)return console.warn("botframework-webchat: Your browser does not support Web Audio or the page is not loaded via HTTPS or localhost. Cognitive Services Speech Services is disabled. However, you may pass a custom AudioConfig to enable speech in this environment."),function(){return{}};if(t)n&&console.warn('botframework-webchat: "audioConfig" and "audioInputDeviceId" cannot be set at the same time; ignoring "audioInputDeviceId".'),r&&console.warn('botframework-webchat: "audioConfig" and "audioContext" cannot be set at the same time; ignoring "audioContext" for speech recognition.');else{var f=(0,o.default)({audioContext:r,audioInputDeviceId:n,enableTelemetry:s});t=f.audioConfig,r=f.audioContext}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.referenceGrammarID,o=(0,i.default)({audioConfig:t,audioContext:r,credentials:a,enableTelemetry:s,referenceGrammars:n?["luis/".concat(n,"-PRODUCTION")]:[],speechRecognitionEndpointId:u,speechSynthesisDeploymentId:c,speechSynthesisOutputFormat:l,textNormalization:p}),f=o.SpeechGrammarList,d=o.SpeechRecognition,h=o.speechSynthesis,v=o.SpeechSynthesisUtterance;return{resumeAudioContext:function(){return r&&"suspended"===r.state&&r.resume()},SpeechGrammarList:f,SpeechRecognition:d,speechSynthesis:h,SpeechSynthesisUtterance:v}}};var i=n(r(1592)),o=n(r(794))},function(e,t,r){"use strict";var n=r(59),i=r(456);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=p(p({},a.default.apply(void 0,[e].concat(r))),s.default.apply(void 0,[e].concat(r)));return p(p({},i),{},{then:function(e){console.warn("web-speech-cognitive-services: This function no longer need to be called in an asynchronous fashion. Please update your code. We will remove this Promise.then function on or after 2020-08-10."),e(i)}})},Object.defineProperty(t,"createSpeechRecognitionPonyfill",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"createSpeechRecognitionPonyfillFromRecognizer",{enumerable:!0,get:function(){return a.createSpeechRecognitionPonyfillFromRecognizer}}),Object.defineProperty(t,"createSpeechSynthesisPonyfill",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"fetchAuthorizationToken",{enumerable:!0,get:function(){return u.default}});
2var o=n(r(194)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(761)),s=n(r(1792)),u=n(r(1805));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=document.createElement("meta");f.setAttribute("name","web-speech-cognitive-services"),f.setAttribute("content","version=".concat("7.1.1")),document.head.appendChild(f)},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.createSpeechRecognitionPonyfillFromRecognizer=k,t.default=void 0;var i=n(r(113)),o=n(r(1594)),a=n(r(161)),s=n(r(194)),u=n(r(114)),c=n(r(141)),l=n(r(329)),p=n(r(330)),f=n(r(331)),d=r(166),h=n(r(1601)),v=n(r(1787)),m=n(r(789)),y=n(r(1791)),T=n(r(763));function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){(0,s.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,p.default)(this,r)}}var S=T.default.AudioConfig,A=T.default.OutputFormat,E=T.default.ResultReason,C=T.default.SpeechConfig,O=T.default.SpeechRecognizer;function I(e){var t=e.duration,r=e.errorDetails,n=e.json,i=e.offset,o=e.properties,a=e.reason,s=e.resultId,u=e.text;return{duration:t,errorDetails:r,json:JSON.parse(n),offset:i,properties:o,reason:a,resultId:s,text:u}}function w(e){var t=new Int16Array(e);return[].reduce.call(t,(function(e,t){return e+Math.abs(t)}),0)/t.length}function P(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return new Promise((function(t,n){return e.apply(void 0,r.concat([t,n]))}))}}var N=function(e){(0,l.default)(r,e);var t=_(r);function r(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.data,a=i.emma,s=i.interpretation,u=i.resultIndex,l=i.results;return(0,c.default)(this,r),(n=t.call(this,e)).data=o,n.emma=a,n.interpretation=s,n.resultIndex=u,n.results=l,n}return r}(d.Event);function R(e){var t,r,n=e.attach,o=e.attach.bind(e);return e.attach=(0,u.default)(i.default.mark((function n(){var a;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o();case 2:return a=n.sent,n.abrupt("return",g(g({},a),{},{read:function(){var n=(0,u.default)(i.default.mark((function n(){var o;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a.read();case 2:if(o=n.sent,!t&&w(o.buffer)>150&&(e.events.onEvent({name:"FirstAudibleChunk"}),t=!0),!r){n.next=6;break}return n.abrupt("return",{buffer:new ArrayBuffer(0),isEnd:!0,timeReceived:Date.now()});case 6:return n.abrupt("return",o);case 7:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()}));case 4:case"end":return n.stop()}}),n)}))),{audioConfig:e,pause:function(){r=!0},unprepare:function(){e.attach=n}}}function k(e){var t=e.createRecognizer,r=e.enableTelemetry,n=e.looseEvents,s=e.referenceGrammars,p=e.textNormalization;O.enableTelemetry(!1!==r);var f=function(e){(0,l.default)(f,e);var r=_(f);function f(){var e;return(0,c.default)(this,f),(e=r.call(this))._continuous=!1,e._interimResults=!1,e._lang="undefined"!==typeof window?window.document.documentElement.getAttribute("lang")||window.navigator.language:"en-US",e._grammars=new y.default,e._maxAlternatives=1,e}return(0,a.default)(f,[{key:"emitCognitiveServices",value:function(e,t){this.dispatchEvent(new N("cognitiveservices",{data:g(g({},t),{},{type:e})}))}},{key:"continuous",get:function(){return this._continuous},set:function(e){this._continuous=e}},{key:"grammars",get:function(){return this._grammars},set:function(e){if(!(e instanceof y.default))throw new Error("The provided value is not of type 'SpeechGrammarList'");this._grammars=e}},{key:"interimResults",get:function(){return this._interimResults},set:function(e){this._interimResults=e}},{key:"maxAlternatives",get:function(){return this._maxAlternatives},set:function(e){this._maxAlternatives=e}},{key:"lang",get:function(){return this._lang},set:function(e){this._lang=e}},{key:"onaudioend",get:function(){return(0,d.getEventAttributeValue)(this,"audioend")},set:function(e){(0,d.setEventAttributeValue)(this,"audioend",e)}},{key:"onaudiostart",get:function(){return(0,d.getEventAttributeValue)(this,"audiostart")},set:function(e){(0,d.setEventAttributeValue)(this,"audiostart",e)}},{key:"oncognitiveservices",get:function(){return(0,d.getEventAttributeValue)(this,"cognitiveservices")},set:function(e){(0,d.setEventAttributeValue)(this,"cognitiveservices",e)}},{key:"onend",get:function(){return(0,d.getEventAttributeValue)(this,"end")},set:function(e){(0,d.setEventAttributeValue)(this,"end",e)}},{key:"onerror",get:function(){return(0,d.getEventAttributeValue)(this,"error")}
2,set:function(e){(0,d.setEventAttributeValue)(this,"error",e)}},{key:"onresult",get:function(){return(0,d.getEventAttributeValue)(this,"result")},set:function(e){(0,d.setEventAttributeValue)(this,"result",e)}},{key:"onsoundend",get:function(){return(0,d.getEventAttributeValue)(this,"soundend")},set:function(e){(0,d.setEventAttributeValue)(this,"soundend",e)}},{key:"onsoundstart",get:function(){return(0,d.getEventAttributeValue)(this,"soundstart")},set:function(e){(0,d.setEventAttributeValue)(this,"soundstart",e)}},{key:"onspeechend",get:function(){return(0,d.getEventAttributeValue)(this,"speechend")},set:function(e){(0,d.setEventAttributeValue)(this,"speechend",e)}},{key:"onspeechstart",get:function(){return(0,d.getEventAttributeValue)(this,"speechstart")},set:function(e){(0,d.setEventAttributeValue)(this,"speechstart",e)}},{key:"onstart",get:function(){return(0,d.getEventAttributeValue)(this,"start")},set:function(e){(0,d.setEventAttributeValue)(this,"start",e)}},{key:"start",value:function(){var e=this;this._startOnce().catch((function(t){e.dispatchEvent(new ErrorEvent("error",{error:t,message:t&&(t.stack||t.message)}))}))}},{key:"_startOnce",value:function(){var e=(0,u.default)(i.default.mark((function e(){var r,a,u,c,l,f,d,m,y,T,b,g,_,S,A,C,O,w=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(this.lang);case 2:return r=e.sent,a=R(r.audioConfig),u=a.pause,c=a.unprepare,e.prev=4,l=(0,v.default)(),y=r.audioConfig.events.attach((function(e){var t=e.name;"AudioSourceReadyEvent"===t?l.push({audioSourceReady:{}}):"AudioSourceOffEvent"===t?l.push({audioSourceOff:{}}):"FirstAudibleChunk"===t&&l.push({firstAudibleChunk:{}})})),T=y.detach,r.canceled=function(e,t){var r=t.errorDetails,n=t.offset,i=t.reason,o=t.sessionId;l.push({canceled:{errorDetails:r,offset:n,reason:i,sessionId:o}})},r.recognized=function(e,t){var r=t.offset,n=t.result,i=t.sessionId;l.push({recognized:{offset:r,result:I(n),sessionId:i}})},r.recognizing=function(e,t){var r=t.offset,n=t.result,i=t.sessionId;l.push({recognizing:{offset:r,result:I(n),sessionId:i}})},r.sessionStarted=function(e,t){var r=t.sessionId;l.push({sessionStarted:{sessionId:r}})},r.sessionStopped=function(e,t){var r=t.sessionId;l.push({sessionStopped:{sessionId:r}})},r.speechStartDetected=function(e,t){var r=t.offset,n=t.sessionId;l.push({speechStartDetected:{offset:r,sessionId:n}})},r.speechEndDetected=function(e,t){var r=t.sessionId;l.push({speechEndDetected:{sessionId:r}})},b=this.grammars.phrases,g=r.privReco.dynamicGrammar,s&&s.length&&g.addReferenceGrammar(s),b&&b.length&&g.addPhrase(b),e.next=20,P(r.startContinuousRecognitionAsync.bind(r))();case 20:r.stopContinuousRecognitionAsync?(this.abort=function(){return l.push({abort:{}})},this.stop=function(){return l.push({stop:{}})}):this.abort=this.stop=void 0,A=[],C=i.default.mark((function e(t){var a,s,c,v,y,T,b,g,C,O,I,R;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.shift();case 2:if(a=e.sent,s=a.abort,c=a.audioSourceOff,v=a.audioSourceReady,y=a.canceled,T=a.firstAudibleChunk,b=a.recognized,g=a.recognizing,C=a.stop,Object.keys(a).forEach((function(e){return w.emitCognitiveServices(e,a[e])})),O=y&&y.errorDetails,!/Permission[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]denied/.test(O||"")){e.next=9;break}return S={error:"not-allowed",type:"error"},e.abrupt("return","break");case 9:if(t||w.dispatchEvent(new N("start")),!O){e.next=15;break}return/1006/.test(O)?(_||(w.dispatchEvent(new N("audiostart")),w.dispatchEvent(new N("audioend"))),S={error:"network",type:"error"}):S={error:"unknown",type:"error"},e.abrupt("return","break");case 15:if(!s&&!C){e.next=22;break}if(s?(S={error:"aborted",type:"error"},m="abort"):(u(),m="stop"),!s||!r.stopContinuousRecognitionAsync){e.next=20;break}return e.next=20,P(r.stopContinuousRecognitionAsync.bind(r))();case 20:e.next=61;break;case 22:if(!v){e.next=27;break}w.dispatchEvent(new N("audiostart")),_=!0,e.next=61;break;case 27:if(!T){e.next=32;break}w.dispatchEvent(new N("soundstart")),f=!0,e.next=61;break;case 32:if(!c){e.next=40;break}return d&&w.dispatchEvent(new N("speechend")),f&&w.dispatchEvent(new N("soundend")),_&&w.dispatchEvent(new N("audioend")),_=f=d=!1,e.abrupt("return","break");case 40:if("abort"===m){e.next=61;break}if(!b||!b.result||b.result.reason!==E.NoMatch){e.next=45;break}S={error:"no-speech",type:"error"},e.next=61;break;case 45:if(!b&&!g){e.next=61;break}if(_||(w.dispatchEvent(new N("audiostart")),_=!0),f||(w.dispatchEvent(new N("soundstart")),f=!0),d||(w.dispatchEvent(new N("speechstart")),d=!0),!b){e.next=60;break}if(I=(0,h.default)(b.result,{maxAlternatives:w.maxAlternatives,textNormalization:p}),(R=!!I[0].transcript)&&(A=[].concat((0,o.default)(A),[I]),w.continuous&&w.dispatchEvent(new N("result",{results:A}))),S=w.continuous&&R?null:{results:A,type:"result"},w.continuous||!r.stopContinuousRecognitionAsync){e.next=57;break}return e.next=57,P(r.stopContinuousRecognitionAsync.bind(r))();case 57:n&&S&&R&&(w.dispatchEvent(new N(S.type,S)),S=null),e.next=61;break;case 60:g&&w.interimResults&&w.dispatchEvent(new N("result",{results:[].concat((0,o.default)(A),[(0,h.default)(g.result,{maxAlternatives:w.maxAlternatives,textNormalization:p})])}));case 61:case"end":return e.stop()}}),e)})),O=0;case 24:if(m&&!_){e.next=32;break}return e.delegateYield(C(O),"t0",26);case 26:if("break"!==e.t0){e.next=29;break}return e.abrupt("break",32);case 29:O++,e.next=24;break;case 32:d&&this.dispatchEvent(new N("speechend")),f&&this.dispatchEvent(new N("soundend")),_&&this.dispatchEvent(new N("audioend")),S&&("result"!==S.type||S.results.length||(S={error:"no-speech",type:"error"}),"error"===S.type?this.dispatchEvent(new ErrorEvent("error",S)):this.dispatchEvent(new N(S.type,S))),this.dispatchEvent(new N("end")),T(),e.next=44;break;case 40:throw e.prev=40,e.t1=e.catch(4),console.error(e.t1),e.t1;case 44:return e.prev=44,c(),r.dispose(),e.finish(44);case 48:case"end":return e.stop()}}),e,this,[[4,40,44,48]])})));return function(){return e.apply(this,arguments)}}()}]),f}(d.EventTarget);return{SpeechGrammarList:y.default,SpeechRecognition:f,SpeechRecognitionEvent:N}}t.default=function(e){var t=(0,m.default)(e),r=t.audioConfig,n=void 0===r?S.fromDefaultMicrophoneInput():r,o=t.enableTelemetry,a=void 0===o||o,s=t.fetchCredentials,c=t.looseEvents,l=t.referenceGrammars,p=t.speechRecognitionEndpointId,f=t.textNormalization,d=void 0===f?"display":f;return n||window.navigator.mediaDevices&&window.navigator.mediaDevices.getUserMedia?k({audioConfig:n,createRecognizer:function(){var e=(0,u.default)(i.default.mark((function e(t){var r,o,a,u,c,l,f;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s();case 2:return r=e.sent,o=r.authorizationToken,a=r.region,u=r.speechRecognitionHostname,c=r.subscriptionKey,u?(f={hostname:u,port:443,protocol:"wss:"}
2,o?(l=C.fromHost(f)).authorizationToken=o:l=C.fromHost(f,c)):l=o?C.fromAuthorizationToken(o,a):C.fromSubscription(c,a),p&&(l.endpointId=p),l.outputFormat=A.Detailed,l.speechRecognitionLanguage=t||"en-US",e.abrupt("return",new O(l,n));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),enableTelemetry:a,looseEvents:c,referenceGrammars:l,textNormalization:d}):(console.warn("web-speech-cognitive-services: This browser does not support WebRTC and it will not work with Cognitive Services Speech Services."),{})}},function(e,t,r){var n=r(1595),i=r(1596),o=r(1597),a=r(1598);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(762);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(762);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,n)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxAlternatives,n=void 0===r?1/0:r,o=t.textNormalization,u=void 0===o?"display":o;if(e.reason===a||e.reason===s&&!e.json.NBest){var c=[{confidence:.5,transcript:e.text}];return e.reason===s&&(c.isFinal=!0),c}if(e.reason===s){var l=(0,i.default)((e.json.NBest||[]).slice(0,n).map((function(e){var t=e.Confidence,r=e.Display,n=e.ITN,i=e.Lexical,o=e.MaskedITN;return{confidence:t,transcript:"itn"===u?n:"lexical"===u?i:"maskeditn"===u?o:r}})),{isFinal:!0});return l}return[]};var i=n(r(1602)),o=n(r(763)).default.ResultReason,a=o.RecognizingSpeech,s=o.RecognizedSpeech},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=a(a(a({},[].reduce.call(e,(function(e,t,r){return e[r]=t,e}),{})),t),{},(0,i.default)({length:e.length},Symbol.iterator,(function(){return[].slice.call(r)[Symbol.iterator]()})));return r};var i=n(r(194));function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};
2Object.defineProperty(t,"__esModule",{value:!0});var o=r(85);r(16).Events.instance.attachListener(new o.ConsoleLoggingListener),i(r(12),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLoggingListener=void 0;var n=r(16),i=function(e){var t=this;void 0===e&&(e=n.EventType.Warning),this.onEvent=function(e){if(e.eventType>=t.privLogLevelFilter){var r=t.toString(e);switch(e.eventType){case n.EventType.Debug:console.debug(r);break;case n.EventType.Info:console.info(r);break;case n.EventType.Warning:console.warn(r);break;case n.EventType.Error:console.error(r);break;default:console.log(r)}}},this.toString=function(e){var t=[""+e.EventTime,""+e.Name];for(var r in e)if(r&&e.hasOwnProperty(r)&&"eventTime"!==r&&"eventType"!==r&&"eventId"!==r&&"name"!==r&&"constructor"!==r){var n=e[r],i="<NULL>";void 0!==n&&null!==n&&(i="number"===typeof n||"string"===typeof n?n.toString():JSON.stringify(n)),t.push(r+": "+i)}return t.join(" | ")},this.privLogLevelFilter=e};t.ConsoleLoggingListener=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AudioStreamNodeErrorEvent=t.AudioStreamNodeDetachedEvent=t.AudioStreamNodeAttachedEvent=t.AudioStreamNodeAttachingEvent=t.AudioStreamNodeEvent=t.AudioSourceErrorEvent=t.AudioSourceOffEvent=t.AudioSourceReadyEvent=t.AudioSourceInitializingEvent=t.AudioSourceEvent=void 0;var i=r(244),o=function(e){function t(t,r,n){void 0===n&&(n=i.EventType.Info);var o=e.call(this,t,n)||this;return o.privAudioSourceId=r,o}return n(t,e),Object.defineProperty(t.prototype,"audioSourceId",{get:function(){return this.privAudioSourceId},enumerable:!1,configurable:!0}),t}(i.PlatformEvent);t.AudioSourceEvent=o;var a=function(e){function t(t){return e.call(this,"AudioSourceInitializingEvent",t)||this}return n(t,e),t}(o);t.AudioSourceInitializingEvent=a;var s=function(e){function t(t){return e.call(this,"AudioSourceReadyEvent",t)||this}return n(t,e),t}(o);t.AudioSourceReadyEvent=s;var u=function(e){function t(t){return e.call(this,"AudioSourceOffEvent",t)||this}return n(t,e),t}(o);t.AudioSourceOffEvent=u;var c=function(e){function t(t,r){var n=e.call(this,"AudioSourceErrorEvent",t,i.EventType.Error)||this;return n.privError=r,n}return n(t,e),Object.defineProperty(t.prototype,"error",{get:function(){return this.privError},enumerable:!1,configurable:!0}),t}(o);t.AudioSourceErrorEvent=c;var l=function(e){function t(t,r,n){var i=e.call(this,t,r)||this;return i.privAudioNodeId=n,i}return n(t,e),Object.defineProperty(t.prototype,"audioNodeId",{get:function(){return this.privAudioNodeId},enumerable:!1,configurable:!0}),t}(o);t.AudioStreamNodeEvent=l;var p=function(e){function t(t,r){return e.call(this,"AudioStreamNodeAttachingEvent",t,r)||this}return n(t,e),t}(l);t.AudioStreamNodeAttachingEvent=p;var f=function(e){function t(t,r){return e.call(this,"AudioStreamNodeAttachedEvent",t,r)||this}return n(t,e),t}(l);t.AudioStreamNodeAttachedEvent=f;var d=function(e){function t(t,r){return e.call(this,"AudioStreamNodeDetachedEvent",t,r)||this}return n(t,e),t}(l);t.AudioStreamNodeDetachedEvent=d;var h=function(e){function t(t,r,n){var i=e.call(this,"AudioStreamNodeErrorEvent",t,r)||this;return i.privError=n,i}return n(t,e),Object.defineProperty(t.prototype,"error",{get:function(){return this.privError},enumerable:!1,configurable:!0}),t}(l);t.AudioStreamNodeErrorEvent=h},function(e,t,r){var n,i,o=r(764),a=r(765),s=0,u=0;e.exports=function(e,t,r){var c=t&&r||0,l=t||[],p=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:i;if(null==p||null==f){var d=o();null==p&&(p=n=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=i=16383&(d[6]<<8|d[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:u+1,m=h-s+(v-u)/1e4;if(m<0&&void 0===e.clockseq&&(f=f+1&16383),(m<0||h>s)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,u=v,i=f;var y=(1e4*(268435455&(h+=122192928e5))+v)%4294967296;l[c++]=y>>>24&255,l[c++]=y>>>16&255,l[c++]=y>>>8&255,l[c++]=255&y;var T=h/4294967296*1e4&268435455;l[c++]=T>>>8&255,l[c++]=255&T,l[c++]=T>>>
224&15|16,l[c++]=T>>>16&255,l[c++]=f>>>8|128,l[c++]=255&f;for(var b=0;b<6;++b)l[c+b]=p[b];return t||a(l)}},function(e,t,r){var n=r(764),i=r(765);e.exports=function(e,t,r){var o=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||n)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionMessageSentEvent=t.ConnectionMessageReceivedEvent=t.ConnectionEstablishErrorEvent=t.ConnectionErrorEvent=t.ConnectionClosedEvent=t.ConnectionEstablishedEvent=t.ConnectionStartEvent=t.ConnectionEvent=t.ServiceEvent=void 0;var i=r(244),o=function(e){function t(t,r,n){void 0===n&&(n=i.EventType.Info);var o=e.call(this,t,n)||this;return o.privJsonResult=r,o}return n(t,e),Object.defineProperty(t.prototype,"jsonString",{get:function(){return this.privJsonResult},enumerable:!1,configurable:!0}),t}(i.PlatformEvent);t.ServiceEvent=o;var a=function(e){function t(t,r,n){void 0===n&&(n=i.EventType.Info);var o=e.call(this,t,n)||this;return o.privConnectionId=r,o}return n(t,e),Object.defineProperty(t.prototype,"connectionId",{get:function(){return this.privConnectionId},enumerable:!1,configurable:!0}),t}(i.PlatformEvent);t.ConnectionEvent=a;var s=function(e){function t(t,r,n){var i=e.call(this,"ConnectionStartEvent",t)||this;return i.privUri=r,i.privHeaders=n,i}return n(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this.privUri},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"headers",{get:function(){return this.privHeaders},enumerable:!1,configurable:!0}),t}(a);t.ConnectionStartEvent=s;var u=function(e){function t(t,r){return e.call(this,"ConnectionEstablishedEvent",t)||this}return n(t,e),t}(a);t.ConnectionEstablishedEvent=u;var c=function(e){function t(t,r,n){var o=e.call(this,"ConnectionClosedEvent",t,i.EventType.Debug)||this;return o.privReason=n,o.privStatusCode=r,o}return n(t,e),Object.defineProperty(t.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"statusCode",{get:function(){return this.privStatusCode},enumerable:!1,configurable:!0}),t}(a);t.ConnectionClosedEvent=c;var l=function(e){function t(t,r,n){var o=e.call(this,"ConnectionErrorEvent",t,i.EventType.Debug)||this;return o.privMessage=r,o.privType=n,o}return n(t,e),Object.defineProperty(t.prototype,"message",{get:function(){return this.privMessage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.privType},enumerable:!1,configurable:!0}),t}(a);t.ConnectionErrorEvent=l;var p=function(e){function t(t,r,n){var o=e.call(this,"ConnectionEstablishErrorEvent",t,i.EventType.Error)||this;return o.privStatusCode=r,o.privReason=n,o}return n(t,e),Object.defineProperty(t.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"statusCode",{get:function(){return this.privStatusCode},enumerable:!1,configurable:!0}),t}(a);t.ConnectionEstablishErrorEvent=p;var f=function(e){function t(t,r,n){var i=e.call(this,"ConnectionMessageReceivedEvent",t)||this;return i.privNetworkReceivedTime=r,i.privMessage=n,i}return n(t,e),Object.defineProperty(t.prototype,"networkReceivedTime",{get:function(){return this.privNetworkReceivedTime},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this.privMessage},enumerable:!1,configurable:!0}),t}(a);t.ConnectionMessageReceivedEvent=f;var d=function(e){function t(t,r,n){var i=e.call(this,"ConnectionMessageSentEvent",t)||this;return i.privNetworkSentTime=r,i.privMessage=n,i}return n(t,e),Object.defineProperty(t.prototype,"networkSentTime",{get:function(){return this.privNetworkSentTime}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this.privMessage},enumerable:!1,configurable:!0}),t}(a);t.ConnectionMessageSentEvent=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionOpenResponse=void 0;var n=function(){function e(e,t){this.privStatusCode=e,this.privReason=t}return Object.defineProperty(e.prototype,"statusCode",{get:function(){return this.privStatusCode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),e}();t.ConnectionOpenResponse=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Events=void 0;var n=r(115),i=r(768),o=function(){function e(){}return Object.defineProperty(e,"instance",{get:function(){return e.privInstance},enumerable:!1,configurable:!0}),e.privInstance=new i.EventSource,e.setEventSource=function(t){if(!t)throw new n.ArgumentNullError("eventSource");e.privInstance=t},e}();t.Events=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionState=void 0,function(e){e[e.None=0]="None",e[e.Connected=1]="Connected",e[e.Connecting=2]="Connecting",e[e.Disconnected=3]="Disconnected"}(t.ConnectionState||(t.ConnectionState={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawWebsocketMessage=void 0;var n=r(766),i=r(115),o=r(162),a=function(){function e(e,t,r){if(this.privPayload=null,!t)throw new i.ArgumentNullError("payload");if(e===n.MessageType.Binary&&"ArrayBuffer"!==t.__proto__.constructor.name)throw new i.InvalidOperationError("Payload must be ArrayBuffer");if(e===n.MessageType.Text&&"string"!==typeof t)throw new i.InvalidOperationError("Payload must be a string");this.privMessageType=e,this.privPayload=t,this.privId=r||o.createNoDashGuid()}return Object.defineProperty(e.prototype,"messageType",{get:function(){return this.privMessageType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"payload",{get:function(){return this.privPayload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{get:function(){if(this.privMe
2ssageType===n.MessageType.Binary)throw new i.InvalidOperationError("Not supported for binary message");return this.privPayload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"binaryContent",{get:function(){if(this.privMessageType===n.MessageType.Text)throw new i.InvalidOperationError("Not supported for text message");return this.privPayload},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privId},enumerable:!1,configurable:!0}),e}();t.RawWebsocketMessage=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RiffPcmEncoder=void 0;var n=function(e,t){var r=this;this.encode=function(e){var t=r.downSampleAudioFrame(e,r.privActualSampleRate,r.privDesiredSampleRate);if(!t)return null;var n=2*t.length,i=new ArrayBuffer(n),o=new DataView(i);return r.floatTo16BitPCM(o,0,t),i},this.setString=function(e,t,r){for(var n=0;n<r.length;n++)e.setUint8(t+n,r.charCodeAt(n))},this.floatTo16BitPCM=function(e,t,r){for(var n=0;n<r.length;n++,t+=2){var i=Math.max(-1,Math.min(1,r[n]));e.setInt16(t,i<0?32768*i:32767*i,!0)}},this.downSampleAudioFrame=function(e,t,r){if(r===t||r>t)return e;for(var n=t/r,i=Math.round(e.length/n),o=new Float32Array(i),a=0,s=0;s<i;){for(var u=Math.round((s+1)*n),c=0,l=0;a<u&&a<e.length;)c+=e[a++],l++;o[s++]=c/l}return o},this.privActualSampleRate=e,this.privDesiredSampleRate=t};t.RiffPcmEncoder=n},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Stream=void 0;var o=r(115),a=r(162),s=r(770),u=function(){function e(e){var t=this;this.privIsWriteEnded=!1,this.privIsReadEnded=!1,this.read=function(){if(t.privIsReadEnded)throw new o.InvalidOperationError("Stream read has already finished");return t.privReaderQueue.dequeue().then((function(e){return n(t,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return void 0===e||e.isEnd?[4,this.privReaderQueue.dispose("End of stream reached")]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2,e]}}))}))}))},this.readEnded=function(){t.privIsReadEnded||(t.privIsReadEnded=!0,t.privReaderQueue=new s.Queue)},this.throwIfClosed=function(){if(t.privIsWriteEnded)throw new o.InvalidOperationError("Stream closed")},this.privId=e||a.createNoDashGuid(),this.privReaderQueue=new s.Queue}return Object.defineProperty(e.prototype,"isClosed",{get:function(){return this.privIsWriteEnded},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isReadEnded",{get:function(){return this.privIsReadEnded},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privId},enumerable:!1,configurable:!0}),e.prototype.close=function(){this.privIsWriteEnded||(this.writeStreamChunk({buffer:null,isEnd:!0,timeReceived:Date.now()}),this.privIsWriteEnded=!0)},e.prototype.writeStreamChunk=function(e){if(this.throwIfClosed(),!this.privReaderQueue.isDisposed())try{this.privReaderQueue.enqueue(e)}catch(t){}},e}();t.Stream=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkedArrayBufferStream=void 0;var i=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privTargetChunkSize=t,n.privNextBufferReadyBytes=0,n}return n(t,e),t.prototype.writeStreamChunk=function(t){if(t.isEnd||0===this.privNextBufferReadyBytes&&t.buffer.byteLength===this.privTargetChunkSize)e.prototype.writeStreamChunk.call(this,t);else for(var r=0;r<t.buffer.byteLength;){void 0===this.privNextBufferToWrite&&(this.privNextBufferToWrite=new ArrayBuffer(this.privTargetChunkSize),this.privNextBufferStartTime=t.timeReceived);var n=Math.min(t.buffer.byteLength-r,this.privTargetChunkSize-this.privNextBufferReadyBytes),i=new Uint8Array(this.privNextBufferToWrite),o=new Uint8Array(t.buffer.slice(r,n+r));i.set(o,this.privNextBufferReadyBytes),this.privNextBufferReadyBytes+=n,r+=n,this.privNextBufferReadyBytes===this.privTargetChunkSize&&(e.prototype.writeStreamChunk.call(this,{buffer:this.privNextBufferToWrite,isEnd:!1,timeReceived:this.privNextBufferStartTime}),this.privNextBufferReadyBytes=0,this.privNextBufferToWrite=void 0)}},t.prototype.close=function(){0===this.privNextBufferReadyBytes||this.isClosed||e.prototype.writeStreamChunk.call(this,{buffer:this.privNextBufferToWrite.slice(0,this.privNextBufferReadyBytes),isEnd:!1,timeReceived:this.privNextBufferStartTime}),e.prototype.close.call(this)},t}(r(16).Stream);t.ChunkedArrayBufferStream=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timeout=void 0;var n=function(){function e(){}return e.workerTimers=null,e.clearTimeout=function(t){return e.timers().clearTimeout(t)},e.setTimeout=function(t,r){return e.timers().setTimeout(t,r)},e.load=function(t){var r=new Map([[0,function(){}]]),n=new Map,i=new Worker(t);i.addEventListener("message",(function(t){var i=t.data;if(e.isCallNotification(i)){var o=i.params.timerId,a=r.get(o);if("number"===typeof a){if(void 0===(u=n.get(a))||u!==o)throw new Error("The timer is in an undefined state.")}else{if("undefined"===typeof a)throw new Error("The timer is in an undefined state.");a(),r.delete(o)}}else{if(!e.isClearResponse(i)){var s=i.error.message;throw new Error(s)}var u,c=i.id;if(void 0===(u=n.get(c)))throw new Error("The timer is in an undefined state.");n.delete(c),r.delete(u)}}));return{clearTimeout:function(e){var t=Math.random();n.set(t,e),r.set(e,t),i.postMessage({id:t,method:"clear",params:{timerId:e}})},setTimeout:function(e,t){var n=Math.random();return r.set(n,e),i.postMessage({id:null,method:"set",params:{delay:t,now:performance.now(),timerId:n}}),n}}},e.loadWorkerTimers=function(){return function(){if(null!==e.workerTimers)return e.workerTimers;var t=new Blob(['!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return d}));const r=new Map,o=new Map,i=e=>{const t=r.get(e);if(void 0===t)throw new Error(\'There is no interval scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(t),r.delete(e)},u=e=>{const t=o.get(e);if(void 0===t)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(t),o.delete(e)},f=(e,t)=>{let n,r;if("performance"in self){const o=performance.now();
2n=o,r=e-Math.max(0,o-t)}else n=Date.now(),r=e;return{expected:n+r,remainingDelay:r}},c=(e,t,n,r)=>{const o="performance"in self?performance.now():Date.now();o>n?postMessage({id:null,method:"call",params:{timerId:t}}):e.set(t,setTimeout(c,n-o,e,t,n))},a=(e,t,n)=>{const{expected:o,remainingDelay:i}=f(e,n);r.set(t,setTimeout(c,i,r,t,o))},d=(e,t,n)=>{const{expected:r,remainingDelay:i}=f(e,n);o.set(t,setTimeout(c,i,o,t,r))}},function(e,t,n){"use strict";n.r(t);var r=n(2);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var i=n(3);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n(4);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);var f=n(5);for(var o in f)"default"!==o&&function(e){n.d(t,e,(function(){return f[e]}))}(o);var c=n(6);for(var o in c)"default"!==o&&function(e){n.d(t,e,(function(){return c[e]}))}(o);var a=n(7);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);var d=n(8);for(var o in d)"default"!==o&&function(e){n.d(t,e,(function(){return d[e]}))}(o);var s=n(9);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(11);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var i=n(12);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n(13);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o)},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var u=n(10);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);addEventListener("message",({data:e})=>{try{if("clear"===e.method){const{id:t,params:{timerId:n}}=e;Object(r.b)(n),postMessage({error:null,id:t})}else{if("set"!==e.method)throw new Error(\'The given method "\'.concat(e.method,\'" is not supported\'));{const{params:{delay:t,now:n,timerId:o}}=e;Object(r.d)(t,o,n)}}}catch(t){postMessage({error:{message:t.message},id:e.id,result:null})}})}]);'],{type:"application/javascript; charset=utf-8"}),r=URL.createObjectURL(t);return e.workerTimers=e.load(r),e.workerTimers.setTimeout((function(){return URL.revokeObjectURL(r)}),0),e.workerTimers}},e.timers=e.loadWorkerTimers(),e.isCallNotification=function(e){return void 0!==e.method&&"call"===e.method},e.isClearResponse=function(e){return null===e.error&&"number"===typeof e.id},e}();t.Timeout=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundEvent=void 0;var i=r(16),o=function(e){function t(t){var r=e.call(this,"BackgroundEvent",i.EventType.Error)||this;return r.privError=t,r}return n(t,e),Object.defineProperty(t.prototype,"error",{get:function(){return this.privError},enumerable:!1,configurable:!0}),t}(i.PlatformEvent);t.BackgroundEvent=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MicAudioSource=t.AudioWorkletSourceURLPropertyName=void 0;var o=r(17),a=r(16),s=r(142);t.AudioWorkletSourceURLPropertyName="MICROPHONE-WorkletSourceUrl";var u=function(){function e(t,r,o,u){var c=this;this.privRecorder=t,this.deviceId=r,this.privStreams={},this.turnOn=function(){if(c.privInitializeDeferral)return c.privInitializeDeferral.promise;c.privInitializeDeferral=new a.Deferred;try{c.createAudioContext()}catch(o){if(o instanceof Error){var e=o;c.privInitializeDeferral.reject(e.name+": "+e.message)}else c.privInitializeDeferral.reject(o);return c.privInitializeDeferral.promise}var t=window.navigator,r=t.getUserMedia||t.webkitGetUserMedia||t.mozGetUserMedia||t.msGetUserMedia;if(t.mediaDevices&&(r=function(e,r,n){t.mediaDevices.getUserMedia(e).then(r).catch(n)}),r){var n=function(){c.onEvent(new a.AudioSourceInitializingEvent(c.privId)),c.privMediaStream&&c.privMediaStream.active?(c.onEvent(new a.AudioSourceReadyEvent(c.privId)),c.privInitializeDeferral.resolve()):r({audio:!c.deviceId||{deviceId:c.deviceId},video:!1},(function(e){c.privMediaStream=e,c.onEvent(new a.AudioSourceReadyEvent(c.privId)),c.privInitializeDeferral.resolve()}),(function(e){var t="Error occurred during microphone initialization: "+e;c.privInitializeDeferral.reject(t),c.onEvent(new a.AudioSourceErrorEvent(c.privId,t))}))};"suspended"===c.privContext.state?c.privContext.resume().then(n).catch((function(e){c.privInitializeDeferral.reject("Failed to initialize audio context: "+e)})):n()}else{var i="Browser does not support getUserMedia.";c.privInitializeDeferral.reject(i),c.onEvent(new a.AudioSourceErrorEvent(i,""))}return c.privInitializeDeferral.promise},this.id=function(){return c.privId},this.attach=function(e){return c.onEvent(new a.AudioStreamNodeAttachingEvent(c.privId,e)),c.listen(e).then((function(t){return c.onEvent(new a.AudioStreamNodeAttachedEvent(c.privId,e)),{detach:function(){return n(c,void 0,void 0,(function(){return i(this,(function(r){return t.readEnded(),delete this.privStreams[e],this.onEvent(new a.AudioStreamNodeDetachedEvent(this.privId,e)),[2,this.turnOff()]}))}))},id:function(){return e},read:function(){return t.read()}}}))},this.detach=function(e){e&&c.privStreams[e]&&(c.privStreams[e].close(),delete c.privStreams[e],c.onEvent(new a.AudioStreamNodeDetachedEvent(c.privId,e)))},this.listen=function(e){return n(c,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.turnOn()];case 1:r.sent(),t=new a.ChunkedArrayBufferStream(this.privOutputChunkSize,e),this.privStreams[e]=t;try{this.privRecorder.record(this.privContext,this.privMediaStream,t)}catch(n){throw this.onEvent(new a.AudioStreamNodeErrorEvent(this.privId,e,n)),n}return[2,t]}}))}))},this.onEvent=function(e){c.privEvents.onEvent(e),a.Events.instance.onEvent(e)},this.createAudioContext=function(){c.privContext||(c.privContext=s.AudioStreamFormatImpl.getAudioContext(e.AUDIOFORMAT.samplesPerSec))},this.privOutputChunkSize=e.AUDIOFORMAT.avgBytesPerSec/10,this.privId=o||a.createNoDashGuid(),this.privEvents=new a.EventSource,this.privMediaStream=u||null}return Object.defineProperty(e.prototype,"format",{get:function(){return Promise.resolve(e.AUDIOFORMAT)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blob",{get:function(){return Promise.reject("Not implemented for Mic input")},enumerable:!1,configurable:!0}),e.prototype.turnOff=function(){return n(this,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:for(e in this.privStreams)e&&(t=this.privStreams[e])&&t.close();return this.onEvent(new a.AudioSourceOffEvent(this.privId)),this.privInitializeDeferral?[4,this.privInitializeDeferral]:[3,2];case 1:r.sent(),this.privInitializeDeferral=null,r.label=2;case 2:return[4,this.destroyAudioContext()];case 3:return r.sent(),[2]}}))}))},Object.defineProperty(e.prototype,"events",{get:function(){return this.privEvents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceInfo",{get:function(){return this.getMicrophoneLabel().then((function(t){return{bitspersample:e.AUDIOFORMAT.bitsPerSample,channelcount:e.AUDIOFORMAT.channels,connectivity:o.connectivity.Unknown,manufacturer:"Speech SDK",model:t,samplerate:e.AUDIOFORMAT.samplesPerSec,type:o.type.Microphones}}))},enumerable:!1,configurable:!0}),e.prototype.setProperty=function(e,r){if(e!==t.AudioWorkletSourceURLPropertyName)throw new Error("Property '"+e+"' is not supported on Microphone.");this.privRecorder.setWorkletUrl(r)},e.prototype.getMicrophoneLabel=function(){var e=this;if(void 0!==this.privMicrophoneLabel)return Promise.resolve(this.privMicrophoneLabel);if(void 0===this.privMediaStream||!this.privMediaStream.active)return Promise.resolve("microphone");this.privMicrophoneLabel="microphone";var t=this.privMediaStream.getTracks()[0].getSettings().deviceId;if(void 0===t)return Promise.resolve(this.privMicrophoneLabel);var r=new a.Deferred;return navigator.mediaDevices.enumerateDevices().then((function(n){for(var i=0,o=n;i<o.length;i++){var a=o[i];if(a.deviceId===t){e.privMicrophoneLabel=a.label;break}}r.resolve(e.privMicrophoneLabel)}),(function(){return r.resolve(e.privMicrophoneLabel)})),r.promise},e.prototype.destroyAudioContext=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return this.privContext?(this.privRecorder.releaseMediaResources(this.privContext),e=!1,"close"in this.privContext&&(e=!0),e?[4,this.privContext.close()]:[3,2]):[2];case 1:return t.sent(),this.privContext=null,[3,4];case 2:return null===this.privContext||"running"!==this.privContext.state?[3,4]:[4,this.privContext.suspend()];case 3:t.sent(),t.label=4;case 4:return[2]}}
2))}))},e.AUDIOFORMAT=s.AudioStreamFormat.getDefaultInputFormat(),e}();t.MicAudioSource=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CognitiveSubscriptionKeyAuthentication=void 0;var n=r(16),i=r(116),o=r(459),a=function(e){var t=this;if(this.fetch=function(e){return Promise.resolve(t.privAuthInfo)},this.fetchOnExpiry=function(e){return Promise.resolve(t.privAuthInfo)},!e)throw new n.ArgumentNullError("subscriptionKey");this.privAuthInfo=new o.AuthInfo(i.HeaderNames.AuthKey,e)};t.CognitiveSubscriptionKeyAuthentication=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CognitiveTokenAuthentication=void 0;var n=r(16),i=r(459),o=function(e,t){var r=this;if(this.fetch=function(e){return r.privFetchCallback(e).then((function(e){return new i.AuthInfo("Authorization",e)}))},this.fetchOnExpiry=function(e){return r.privFetchOnExpiryCallback(e).then((function(e){return new i.AuthInfo("Authorization",e)}))},!e)throw new n.ArgumentNullError("fetchCallback");if(!t)throw new n.ArgumentNullError("fetchOnExpiryCallback");this.privFetchCallback=e,this.privFetchOnExpiryCallback=t};t.CognitiveTokenAuthentication=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.IntentConnectionFactory=void 0;var i=r(85),o=r(12),a=r(196),s=r(17),u=r(116),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.create=function(e,r,n){var a=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint);if(!a){var c=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_IntentRegion),l=c&&c.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com";a=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,"wss://"+c+".sr.speech"+l)+"/speech/recognition/interactive/cognitiveservices/v1"}var p={format:"simple",language:e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage)};t.setCommonUrlParams(e,p,a);var f={};void 0!==r.token&&""!==r.token&&(f[r.headerName]=r.token),f[u.HeaderNames.ConnectionId]=n,e.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,a);var d="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.WebsocketConnection(a,p,f,new s.WebsocketMessageFormatter,i.ProxyInfo.fromRecognizerConfig(e),d,n)},t}return n(t,e),t.prototype.getSpeechRegionFromIntentRegion=function(e){switch(e){case"West US":case"US West":case"westus":return"uswest";case"West US 2":case"US West 2":case"westus2":return"uswest2";case"South Central US":case"US South Central":case"southcentralus":return"ussouthcentral";case"West Central US":case"US West Central":case"westcentralus":return"uswestcentral";case"East US":case"US East":case"eastus":return"useast";case"East US 2":case"US East 2":case"eastus2":return"useast2";case"West Europe":case"Europe West":case"westeurope":return"europewest";case"North Europe":case"Europe North":case"northeurope":return"europenorth";case"Brazil South":case"South Brazil":case"southbrazil":return"brazilsouth";case"Australia East":case"East Australia":case"eastaustralia":return"australiaeast";case"Southeast Asia":case"Asia Southeast":case"southeastasia":return"asiasoutheast";case"East Asia":case"Asia East":case"eastasia":return"asiaeast";default:return e}},t}(a.ConnectionFactoryBase);t.IntentConnectionFactory=c},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.AudioOutputConfigImpl=t.AudioConfigImpl=t.AudioConfig=void 0;var i=r(85),o=r(27),a=r(12),s=r(772),u=r(773),c=r(195),l=function(){function e(){}return e.fromDefaultMicrophoneInput=function(){var e=new i.PcmRecorder;return new p(new i.MicAudioSource(e))},e.fromMicrophoneInput=function(e){var t=new i.PcmRecorder;return new p(new i.MicAudioSource(t,e))},e.fromWavFileInput=function(e,t){return void 0===t&&(t="unnamedBuffer.wav"),new p(new i.FileAudioSource(e,t))},e.fromStreamInput=function(e){if(e instanceof a.PullAudioInputStreamCallback)return new p(new u.PullAudioInputStreamImpl(e));if(e instanceof a.AudioInputStream)return new p(e);if("undefined"!==typeof MediaStream&&e instanceof MediaStream){var t=new i.PcmRecorder;return new p(new i.MicAudioSource(t,null,null,e))}throw new Error("Not Supported Type")},e.fromDefaultSpeakerOutput=function(){return new f(new a.SpeakerAudioDestination)},e.fromSpeakerOutput=function(t){if(void 0===t)return e.fromDefaultSpeakerOutput();if(t instanceof a.SpeakerAudioDestination)return new f(t);throw new Error("Not Supported Type")},e.fromAudioFileOutput=function(e){return new f(new s.AudioFileWriter(e))},e.fromStreamOutput=function(e){if(e instanceof a.PushAudioOutputStreamCallback)return new f(new c.PushAudioOutputStreamImpl(e));if(e instanceof a.PushAudioOutputStream)return new f(e);if(e instanceof a.PullAudioOutputStream)return new f(e);throw new Error("Not Supported Type")},e}();t.AudioConfig=l;var p=function(e){function t(t){var r=e.call(this)||this;return r.privSource=t,r}return n(t,e),Object.defineProperty(t.prototype,"format",{get:function(){return this.privSource.format},enumerable:!1,configurable:!0}),t.prototype.close=function(e,t){this.privSource.turnOff().then((function(){e&&e()}),(function(e){t&&t(e)}))},t.prototype.id=function(){return this.privSource.id()},Object.defineProperty(t.prototype,"blob",{get:function(){return this.privSource.blob},enumerable:!1,configurable:!0}),t.prototype.turnOn=function(){return this.privSource.turnOn()},t.prototype.attach=function(e){return this.privSource.attach(e)},t.prototype.detach=function(e){return this.privSource.detach(e)},t.prototype.turnOff=function(){return this.privSource.turnOff()},Object.defineProperty(t.prototype,"events",{get:function(){return this.privSource.events},enumerable:!1,configurable:!0}),t.prototype.setProperty=function(e,t){if(o.Contracts.throwIfNull(t,"value"),void 0===this.privSource.setProperty)throw new Error("This AudioConfig instance does not support setting properties.");this.privSource.setProperty(e,t)},t.prototype.getProperty=function(e,t){if(void 0!==this.privSource.getProperty)return this.privSource.getProperty(e,t);throw new Error("This AudioConfig instance does not support getting properties.")},Object.defineProperty(t.prototype,"deviceInfo",{get:function(){return this.privSource.deviceInfo},enumerable:!1,configurable:!0}),t}(l);t.AudioConfigImpl=p;var f=function(e){function t(t){var r=e.call(this)||this;return r.privDestination=t,r}return n(t,e),Object.defineProperty(t.prototype,"format",{set:function(e){this.privDestination.format=e},enumerable:!1,configurable:!0}),t.prototype.write=function(e){this.privDestination.write(e)},t.prototype.close=function(){this.privDestination.close()},t.prototype.id=function(){return this.privDestination.id()},t.prototype.setProperty=function(e,t){throw new Error("This AudioConfig instance does not support setting properties.")},t.prototype.getProperty=function(e,t){throw new Error("This AudioConfig instance does not support getting properties.")},t}(l);t.AudioOutputConfigImpl=f},function(e,t){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationReason=void 0,function(e){e[e.Error=0]="Error",e[e.EndOfStream=1]="EndOfStream"}(t.CancellationReason||(t.CancellationReason={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PullAudioInputStreamCallback=void 0;var n=function(){};t.PullAudioInputStreamCallback=n},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.PushAudioOutputStreamCallback=void 0;var n=function(){};t.PushAudioOutputStreamCallback=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordRecognitionModel=void 0;var n=r(27),i=function(){function e(){this.privDisposed=!1}return e.fromFile=function(e){throw n.Contracts.throwIfFileDoesNotExist(e,"fileName"),new Error("Not yet implemented.")},e.fromStream=function(e){throw n.Contracts.throwIfNull(e,"file"),new Error("Not yet implemented.")},e.prototype.close=function(){this.privDisposed||(this.privDisposed=!0)},e}();t.KeywordRecognitionModel=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionEventArgs=void 0;var n=function(){function e(e){this.privSessionId=e}return Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.privSessionId},enumerable:!1,configurable:!0}),e}();t.SessionEventArgs=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.RecognitionEventArgs=void 0;var i=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privOffset=t,n}return n(t,e),Object.defineProperty(t.prototype,"offset",{get:function(){return this.privOffset},enumerable:!1,configurable:!0}),t}(r(12).SessionEventArgs);t.RecognitionEventArgs=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutputFormat=void 0,function(e){e[e.Simple=0]="Simple",e[e.Detailed=1]="Detailed"}(t.OutputFormat||(t.OutputFormat={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.IntentRecognitionEventArgs=void 0;var i=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.privResult=t,i}return n(t,e),Object.defineProperty(t.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),t}(r(12).RecognitionEventArgs);t.IntentRecognitionEventArgs=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RecognitionResult=void 0;var n=function(){function e(e,t,r,n,i,o,a,s,u,c){this.privResultId=e,this.privReason=t,this.privText=r,this.privDuration=n,this.privOffset=i,this.privLanguage=o,this.privLanguageDetectionConfidence=a,this.privErrorDetails=s,this.privJson=u,this.privProperties=c}return Object.defineProperty(e.prototype,"resultId",{get:function(){return this.privResultId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.privText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.privDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"offset",{get:function(){return this.privOffset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this.privLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageDetectionConfidence",{get:function(){return this.privLanguageDetectionConfidence},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"json",{get:function(){return this.privJson},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties}
2,enumerable:!1,configurable:!0}),e}();t.RecognitionResult=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechRecognitionResult=void 0;var i=function(e){function t(t,r,n,i,o,a,s,u,c,l,p){var f=e.call(this,t,r,n,i,o,a,s,c,l,p)||this;return f.privSpeakerId=u,f}return n(t,e),Object.defineProperty(t.prototype,"speakerId",{get:function(){return this.privSpeakerId},enumerable:!1,configurable:!0}),t}(r(12).RecognitionResult);t.SpeechRecognitionResult=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.IntentRecognitionResult=void 0;var i=function(e){function t(t,r,n,i,o,a,s,u,c,l,p){var f=e.call(this,r,n,i,o,a,s,u,void 0,c,l,p)||this;return f.privIntentId=t,f}return n(t,e),Object.defineProperty(t.prototype,"intentId",{get:function(){return this.privIntentId},enumerable:!1,configurable:!0}),t}(r(12).SpeechRecognitionResult);t.IntentRecognitionResult=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.LanguageUnderstandingModelImpl=t.LanguageUnderstandingModel=void 0;var i=r(27),o=function(){function e(){}return e.fromEndpoint=function(e){i.Contracts.throwIfNull(e,"uri"),i.Contracts.throwIfNullOrWhitespace(e.hostname,"uri");var t=new a,r=e.host.indexOf(".");if(-1===r)throw new Error("Could not determine region from endpoint");t.region=e.host.substr(0,r);var n=e.pathname.lastIndexOf("/")+1;if(-1===n)throw new Error("Could not determine appId from endpoint");if(t.appId=e.pathname.substr(n),t.subscriptionKey=e.searchParams.get("subscription-key"),void 0===t.subscriptionKey)throw new Error("Could not determine subscription key from endpoint");return t},e.fromAppId=function(e){i.Contracts.throwIfNullOrWhitespace(e,"appId");var t=new a;return t.appId=e,t},e.fromSubscription=function(e,t,r){i.Contracts.throwIfNullOrWhitespace(e,"subscriptionKey"),i.Contracts.throwIfNullOrWhitespace(t,"appId"),i.Contracts.throwIfNullOrWhitespace(r,"region");var n=new a;return n.appId=t,n.region=r,n.subscriptionKey=e,n},e}();t.LanguageUnderstandingModel=o;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(o);t.LanguageUnderstandingModelImpl=a},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranscriptionEventArgs=t.SpeechRecognitionEventArgs=void 0;var i=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.privResult=t,i}return n(t,e),Object.defineProperty(t.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),t}(r(12).RecognitionEventArgs);t.SpeechRecognitionEventArgs=i;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(i);t.ConversationTranscriptionEventArgs=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechRecognitionCanceledEventArgs=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(r(460).CancellationEventArgsBase);t.SpeechRecognitionCanceledEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationRecognitionEventArgs=void 0;var i=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.privResult=t,i}return n(t,e),Object.defineProperty(t.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),t}(r(12).RecognitionEventArgs);t.TranslationRecognitionEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationSynthesisEventArgs=void 0;var i=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privResult=t,n}return n(t,e),Object.defineProperty(t.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),t}(r(12).SessionEventArgs);t.TranslationSynthesisEventArgs=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationSynthesisResult=void 0;var n=function(){function e(e,t){this.privReason=e,this.privAudio=t}return Object.defineProperty(e.prototype,"audio",{get:function(){return this.privAudio},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),e}();t.TranslationSynthesisResult=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResultReason=void 0,function(e){e[e.NoMatch=0]="NoMatch",e[e.Canceled=1]="Canceled",e[e.RecognizingSpeech=2]="RecognizingSpeech",e[e.RecognizedSpeech=3]="RecognizedSpeech",e[e.RecognizedKeyword=4]="RecognizedKeyword",e[e.RecognizingIntent=5]="RecognizingIntent",e[e.RecognizedIntent=6]="RecognizedIntent",e[e.TranslatingSpeech=7]="TranslatingSpeech",e[e.TranslatedSpeech=8]="TranslatedSpeech",e[e.SynthesizingAudio=9]="SynthesizingAudio",e[e.SynthesizingAudioCompleted=10]="SynthesizingAudioCompleted",e[e.SynthesizingAudioStarted=11]="SynthesizingAudioStarted",e[e.EnrollingVoiceProfile=12]="EnrollingVoiceProfile",e[e.EnrolledVoiceProfile=13]="EnrolledVoiceProfile",e[e.RecognizedSpeakers=14]="RecognizedSpeakers",e[e.RecognizedSpeaker=15]="RecognizedSpeaker",e[e.ResetVoiceProfile=16]="ResetVoiceProfile",e[e.DeletedVoiceProfile=17]="DeletedVoiceProfile"}(t.ResultReason||(t.ResultReason={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechConfigImpl=t.SpeechConfig=void 0;var i=r(17),o=r(27),a=r(12),s=function(){function e(){}return e.fromSubscription=function(e,t){o.Contracts.throwIfNullOrWhitespace(e,"subscriptionKey"),o.Contracts.throwIfNullOrWhitespace(t,"region");var r=new u;return r.setProperty(a.PropertyId.SpeechServiceConnection_Region,t),r.setProperty(a.PropertyId.SpeechServiceConnection_IntentRegion,t),r.setProperty(a.PropertyId.SpeechServiceConnection_Key,e),r},e.fromEndpoint=function(e,t){o.Contracts.throwIfNull(e,"endpoint");var r=new u;return r.setProperty(a.PropertyId.SpeechServiceConnection_Endpoint,e.href),void 0!==t&&r.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),r},e.fromHost=function(e,t){o.Contracts.throwIfNull(e,"hostName");var r=new u;return r.setProperty(a.PropertyId.SpeechServiceConnection_Host,e.protocol+"//"+e.hostname+(""===e.port?"":":"+e.port)),void 0!==t&&r.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),r},e.fromAuthorizationToken=function(e,t){o.Contracts.throwIfNull(e,"authorizationToken"),o.Contracts.throwIfNullOrWhitespace(t,"region");var r=new u;return r.setProperty(a.PropertyId.SpeechServiceConnection_Region,t),r.setProperty(a.PropertyId.SpeechServiceConnection_IntentRegion,t),r.authorizationToken=e,r},e.prototype.close=function(){},e}();t.SpeechConfig=s;var u=function(e){function t(){var t=e.call(this)||this;return t.privProperties=new a.PropertyCollection,t.speechRecognitionLanguage="en-US",t.outputFormat=a.OutputFormat.Simple,t}return n(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endPoint",{get:function(){return new URL(this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subscriptionKey",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_Key)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_Region)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage)},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoDetectSourceLanguages",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages)},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outputFormat",{get:function(){return a.OutputFormat[this.privProperties.getProperty(i.OutputFormatPropertyName,void 0)]},set:function(e){this.privProperties.setProperty(i.OutputFormatPropertyName,a.OutputFormat[e])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endpointId",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_EndpointId)},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_EndpointId,e)},enumerable:!1,configurable:!0}),t.prototype.setProperty=function(e,t){o.Contracts.throwIfNull(t,"value"),this.privProperties.setProperty(e,t)},t.prototype.getProperty=function(e,t){return this.privProperties.getProperty(e,t)},t.prototype.setProxy=function(e,t,r,n){this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyHostName],e),this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyPort],t),this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyUserName],r),this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyPassword],n)},t.prototype.setServiceProperty=function(e,t,r){var n=JSON.parse(this.privProperties.getProperty(i.ServicePropertiesPropertyName,"{}"));n[e]=t,this.privProperties.setProperty(i.ServicePropertiesPropertyName,JSON.stringify(n))},t.prototype.setProfanity=function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceResponse_ProfanityOption,a.ProfanityOption[e])},t.prototype.enableAudioLogging=function(){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_EnableAudioLogging,"true")},t.prototype.requestWordLevelTimestamps=function(){this.privProperties.setProperty(a.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,"true")},t.prototype.enableDictation=function(){this.privProperties.setProperty(i.ForceDictationPropertyName,"true")},t.prototype.clone=function(){var e=new t;return e.privProperties=this.privProperties.clone(),e},Object.defineProperty(t.prototype,"speechSynthesisLanguage",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_SynthLanguage)},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_SynthLanguage,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechSynthesisVoiceName",{get:function(){return this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_SynthVoice)},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_SynthVoice,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechSynthesisOutputFormat",{get:function(){return a.SpeechSynthesisOutputFormat[this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)]},set:function(e){this.privProperties.setProperty(a.PropertyId.SpeechServiceConnection_SynthOutputFormat,a.SpeechSynthesisOutputFormat[e])}
2,enumerable:!1,configurable:!0}),t}(s);t.SpeechConfigImpl=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechTranslationConfigImpl=t.SpeechTranslationConfig=void 0;var i=r(17),o=r(27),a=r(12),s=function(e){function t(){return e.call(this)||this}return n(t,e),t.fromSubscription=function(e,t){o.Contracts.throwIfNullOrWhitespace(e,"subscriptionKey"),o.Contracts.throwIfNullOrWhitespace(t,"region");var r=new u;return r.properties.setProperty(a.PropertyId.SpeechServiceConnection_Key,e),r.properties.setProperty(a.PropertyId.SpeechServiceConnection_Region,t),r},t.fromAuthorizationToken=function(e,t){o.Contracts.throwIfNullOrWhitespace(e,"authorizationToken"),o.Contracts.throwIfNullOrWhitespace(t,"region");var r=new u;return r.properties.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,e),r.properties.setProperty(a.PropertyId.SpeechServiceConnection_Region,t),r},t.fromHost=function(e,t){o.Contracts.throwIfNull(e,"hostName");var r=new u;return r.setProperty(a.PropertyId.SpeechServiceConnection_Host,e.protocol+"//"+e.hostname+(""===e.port?"":":"+e.port)),void 0!==t&&r.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),r},t.fromEndpoint=function(e,t){o.Contracts.throwIfNull(e,"endpoint"),o.Contracts.throwIfNull(t,"subscriptionKey");var r=new u;return r.properties.setProperty(a.PropertyId.SpeechServiceConnection_Endpoint,e.href),r.properties.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),r},t}(a.SpeechConfig);t.SpeechTranslationConfig=s;var u=function(e){function t(){var t=e.call(this)||this;return t.privSpeechProperties=new a.PropertyCollection,t.outputFormat=a.OutputFormat.Simple,t}return n(t,e),Object.defineProperty(t.prototype,"authorizationToken",{set:function(e){o.Contracts.throwIfNullOrWhitespace(e,"value"),this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return this.privSpeechProperties.getProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_RecoLanguage])},set:function(e){o.Contracts.throwIfNullOrWhitespace(e,"value"),this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"subscriptionKey",{get:function(){return this.privSpeechProperties.getProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_Key])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outputFormat",{get:function(){return a.OutputFormat[this.privSpeechProperties.getProperty(i.OutputFormatPropertyName,void 0)]},set:function(e){this.privSpeechProperties.setProperty(i.OutputFormatPropertyName,a.OutputFormat[e])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endpointId",{get:function(){return this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_EndpointId)},set:function(e){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_EndpointId,e)},enumerable:!1,configurable:!0}),t.prototype.addTargetLanguage=function(e){o.Contracts.throwIfNullOrWhitespace(e,"value");var t=this.targetLanguages;t.push(e),this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_TranslationToLanguages,t.join(","))},Object.defineProperty(t.prototype,"targetLanguages",{get:function(){return void 0!==this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_TranslationToLanguages,void 0)?this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(","):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"voiceName",{get:function(){return this.getProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_TranslationVoice])},set:function(e){o.Contracts.throwIfNullOrWhitespace(e,"value"),this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_TranslationVoice,e)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_Region)},enumerable:!1,configurable:!0}),t.prototype.setProxy=function(e,t,r,n){this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyHostName],e),this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyPort],t),this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyUserName],r),this.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_ProxyPassword],n)},t.prototype.getProperty=function(e,t){return this.privSpeechProperties.getProperty(e,t)},t.prototype.setProperty=function(e,t){this.privSpeechProperties.setProperty(e,t)},Object.defineProperty(t.prototype,"properties",{get:function(){return this.privSpeechProperties},enumerable:!1,configurable:!0}),t.prototype.close=function(){},t.prototype.setServiceProperty=function(e,t,r){var n=JSON.parse(this.privSpeechProperties.getProperty(i.ServicePropertiesPropertyName,"{}"));n[e]=t,this.privSpeechProperties.setProperty(i.ServicePropertiesPropertyName,JSON.stringify(n))},t.prototype.setProfanity=function(e){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceResponse_ProfanityOption,a.ProfanityOption[e])},t.prototype.enableAudioLogging=function(){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_EnableAudioLogging,"true")},t.prototype.requestWordLevelTimestamps=function(){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,"true")},t.prototype.enableDictation=function(){this.privSpeechProperties.setProperty(i.ForceDictationPropertyName,"true")},Object.defineProperty(t.prototype,"speechSynthesisLanguage",{get:function(){return this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_SynthLanguage)},set:function(e){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_SynthLanguage,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechSynthesisVoiceName",{get:function(){return this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_SynthVoice)},set:function(e){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_SynthVoice,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechSynthesisOutputFormat",{get:function(){return a.SpeechSynthesisOutputFormat[this.privSpeechProperties.getProperty(a.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)]},set:function(e){this.privSpeechProperties.setProperty(a.PropertyId.SpeechServiceConnection_SynthOutputFormat,a.SpeechSynthesisOutputFormat[e])},enumerable:!1,configurable:!0}),t}(s);t.SpeechTranslationConfigImpl=u},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};
2Object.defineProperty(t,"__esModule",{value:!0}),t.Recognizer=void 0;var o=r(17),a=r(16),s=r(27),u=r(12),c=function(){function e(e,t,r){this.audioConfig=void 0!==e?e:u.AudioConfig.fromDefaultMicrophoneInput(),this.privDisposed=!1,this.privProperties=t.clone(),this.privConnectionFactory=r,this.implCommonRecognizerSetup()}return e.prototype.close=function(e,t){s.Contracts.throwIfDisposed(this.privDisposed),a.marshalPromiseToCallbacks(this.dispose(!0),e,t)},Object.defineProperty(e.prototype,"internalData",{get:function(){return this.privReco},enumerable:!1,configurable:!0}),e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return this.privDisposed?[2]:(this.privDisposed=!0,e&&this.privReco?[4,this.privReco.audioSource.turnOff()]:[3,3]);case 1:return t.sent(),[4,this.privReco.dispose()];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},Object.defineProperty(e,"telemetryEnabled",{get:function(){return o.ServiceRecognizerBase.telemetryDataEnabled},enumerable:!1,configurable:!0}),e.enableTelemetry=function(e){o.ServiceRecognizerBase.telemetryDataEnabled=e},e.prototype.implCommonRecognizerSetup=function(){var t="undefined"!==typeof window?"Browser":"Node",r="unknown",n="unknown";"undefined"!==typeof navigator&&(t=t+"/"+navigator.platform,r=navigator.userAgent,n=navigator.appVersion);var i=this.createRecognizerConfig(new o.SpeechServiceConfig(new o.Context(new o.OS(t,r,n))));this.privReco=this.createServiceRecognizer(e.getAuthFromProperties(this.privProperties),this.privConnectionFactory,this.audioConfig,i)},e.prototype.recognizeOnceAsyncImpl=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return s.Contracts.throwIfDisposed(this.privDisposed),t=new a.Deferred,[4,this.implRecognizerStop()];case 1:return n.sent(),[4,this.privReco.recognize(e,t.resolve,t.reject)];case 2:return n.sent(),[4,t.promise];case 3:return r=n.sent(),[4,this.implRecognizerStop()];case 4:return n.sent(),[2,r]}}))}))},e.prototype.startContinuousRecognitionAsyncImpl=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return s.Contracts.throwIfDisposed(this.privDisposed),[4,this.implRecognizerStop()];case 1:return t.sent(),[4,this.privReco.recognize(e,void 0,void 0)];case 2:return t.sent(),[2]}}))}))},e.prototype.stopContinuousRecognitionAsyncImpl=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return s.Contracts.throwIfDisposed(this.privDisposed),[4,this.implRecognizerStop()];case 1:return e.sent(),[2]}}))}))},e.prototype.implRecognizerStop=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.privReco?[4,this.privReco.stopRecognizing(
2)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.getAuthFromProperties=function(e){var t=e.getProperty(u.PropertyId.SpeechServiceConnection_Key,void 0);return t&&""!==t?new o.CognitiveSubscriptionKeyAuthentication(t):new o.CognitiveTokenAuthentication((function(t){var r=e.getProperty(u.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}),(function(t){var r=e.getProperty(u.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}))},e}();t.Recognizer=c},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechRecognizer=void 0;var a=r(17),s=r(16),u=r(27),c=r(12),l=function(e){function t(t,r){var n=this,i=t;return u.Contracts.throwIfNull(i,"speechConfig"),u.Contracts.throwIfNullOrWhitespace(i.properties.getProperty(c.PropertyId.SpeechServiceConnection_RecoLanguage),c.PropertyId[c.PropertyId.SpeechServiceConnection_RecoLanguage]),(n=e.call(this,r,i.properties,new a.SpeechConnectionFactory)||this).privDisposedRecognizer=!1,n}return n(t,e),t.FromConfig=function(e,r,n){var i=e;return r.properties.mergeTo(i.properties),new t(e,n)},Object.defineProperty(t.prototype,"endpointId",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(c.PropertyId.SpeechServiceConnection_EndpointId,"00000000-0000-0000-0000-000000000000")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(c.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){u.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(c.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(c.PropertyId.SpeechServiceConnection_RecoLanguage)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"outputFormat",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(a.OutputFormatPropertyName,c.OutputFormat[c.OutputFormat.Simple])===c.OutputFormat[c.OutputFormat.Simple]?c.OutputFormat.Simple:c.OutputFormat.Detailed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties}
2,enumerable:!1,configurable:!0}),t.prototype.recognizeOnceAsync=function(e,t){s.marshalPromiseToCallbacks(this.recognizeOnceAsyncImpl(a.RecognitionMode.Interactive),e,t)},t.prototype.startContinuousRecognitionAsync=function(e,t){s.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(a.RecognitionMode.Conversation),e,t)},t.prototype.stopContinuousRecognitionAsync=function(e,t){s.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),e,t)},t.prototype.startKeywordRecognitionAsync=function(e,t,r){u.Contracts.throwIfNull(e,"model"),r&&r("Not yet implemented.")},t.prototype.stopKeywordRecognitionAsync=function(e,t){e&&e()},t.prototype.close=function(e,t){u.Contracts.throwIfDisposed(this.privDisposedRecognizer),s.marshalPromiseToCallbacks(this.dispose(!0),e,t)},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privDisposedRecognizer?[2]:t?(this.privDisposedRecognizer=!0,[4,this.implRecognizerStop()]):[3,2];case 1:r.sent(),r.label=2;case 2:return[4,e.prototype.dispose.call(this,t)];case 3:return r.sent(),[2]}}))}))},t.prototype.createRecognizerConfig=function(e){return new a.RecognizerConfig(e,this.properties)},t.prototype.createServiceRecognizer=function(e,t,r,n){var i=r;return new a.SpeechServiceRecognizer(e,t,i,n,this)},t}(c.Recognizer);t.SpeechRecognizer=l},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.IntentRecognizer=void 0;var a=r(17),s=r(16),u=r(27),c=r(12),l=function(e){function t(t,r){var n=this;u.Contracts.throwIfNullOrUndefined(t,"speechConfig");var i=t;return u.Contracts.throwIfNullOrUndefined(i,"speechConfig"),(n=e.call(this,r,i.properties,new a.IntentConnectionFactory)||this).privAddedIntents=[],n.privAddedLmIntents={},n.privDisposedIntentRecognizer=!1,n.privProperties=i.properties,u.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(c.PropertyId.SpeechServiceConnection_RecoLanguage),c.PropertyId[c.PropertyId.SpeechServiceConnection_RecoLanguage]),n}return n(t,e),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),this.properties.getProperty(c.PropertyId.SpeechServiceConnection_RecoLanguage)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(c.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){this.properties.setProperty(c.PropertyId.SpeechServiceAuthorization_Token,e)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),t.prototype.recognizeOnceAsync=function(e,t){if(u.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),0!==Object.keys(this.privAddedLmIntents).length||void 0!==this.privUmbrellaIntent){var r=this.buildSpeechContext();this.privReco.speechContext.setSection("intent",r.Intent),this.privReco.dynamicGrammar.addReferenceGrammar(r.ReferenceGrammars),this.privReco.setIntents(this.privAddedLmIntents,this.privUmbrellaIntent)}s.marshalPromiseToCallbacks(this.recognizeOnceAsyncImpl(a.RecognitionMode.Interactive),e,t)},t.prototype.startContinuousRecognitionAsync=function(e,t){if(0!==Object.keys(this.privAddedLmIntents).length||void 0!==this.privUmbrellaIntent){var r=this.buildSpeechContext();this.privReco.speechContext.setSection("intent",r.Intent),this.privReco.dynamicGrammar.addReferenceGrammar(r.ReferenceGrammars),this.privReco.setIntents(this.privAddedLmIntents,this.privUmbrellaIntent)}s.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(a.RecognitionMode.Conversation),e,t)},t.prototype.stopContinuousRecognitionAsync=function(e,t){s.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),e,t)},t.prototype.startKeywordRecognitionAsync=function(e,t,r){u.Contracts.throwIfNull(e,"model"),r&&r("Not yet implemented.")},t.prototype.stopKeywordRecognitionAsync=function(e,t){e&&e()},t.prototype.addIntent=function(e,t){u.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),u.Contracts.throwIfNullOrWhitespace(t,"intentId"),u.Contracts.throwIfNullOrWhitespace(e,"simplePhrase"),this.privAddedIntents.push([t,e])},t.prototype.addIntentWithLanguageModel=function(e,t,r){u.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),u.Contracts.throwIfNullOrWhitespace(e,"intentId"),u.Contracts.throwIfNull(t,"model");var n=t;u.Contracts.throwIfNullOrWhitespace(n.appId,"model.appId"),this.privAddedLmIntents[e]=new a.AddedLmIntent(n,r)},t.prototype.addAllIntents=function(e,t){u.Contracts.throwIfNull(e,"model");var r=e;u.Contracts.throwIfNullOrWhitespace(r.appId,"model.appId"),this.privUmbrellaIntent=new a.AddedLmIntent(r,t)},t.prototype.close=function(e,t){u.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),s.marshalPromiseToCallbacks(this.dispose(!0),e,t)},t.prototype.createRecognizerConfig=function(e){return new a.RecognizerConfig(e,this.properties)},t.prototype.createServiceRecognizer=function(e,t,r,n){var i=r;return new a.IntentServiceRecognizer(e,t,i,n,this)},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privDisposedIntentRecognizer?[2]:t?(this.privDisposedIntentRecognizer=!0,[4,e.prototype.dispose.call(this,t)]):[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}
2))}))},t.prototype.buildSpeechContext=function(){var e,t,r,n=[];void 0!==this.privUmbrellaIntent&&(e=this.privUmbrellaIntent.modelImpl.appId,t=this.privUmbrellaIntent.modelImpl.region,r=this.privUmbrellaIntent.modelImpl.subscriptionKey);for(var i=0,o=Object.keys(this.privAddedLmIntents);i<o.length;i++){var a=o[i],s=this.privAddedLmIntents[a];if(void 0===e)e=s.modelImpl.appId;else if(e!==s.modelImpl.appId)throw new Error("Intents must all be from the same LUIS model");if(void 0===t)t=s.modelImpl.region;else if(t!==s.modelImpl.region)throw new Error("Intents must all be from the same LUIS model in a single region");if(void 0===r)r=s.modelImpl.subscriptionKey;else if(r!==s.modelImpl.subscriptionKey)throw new Error("Intents must all use the same subscription key");var u="luis/"+e+"-PRODUCTION#"+a;n.push(u)}return{Intent:{id:e,key:void 0===r?this.privProperties.getProperty(c.PropertyId[c.PropertyId.SpeechServiceConnection_Key]):r,provider:"LUIS"},ReferenceGrammars:void 0===this.privUmbrellaIntent?n:["luis/"+e+"-PRODUCTION"]}},t}(c.Recognizer);t.IntentRecognizer=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VoiceProfileType=void 0,function(e){e[e.TextIndependentIdentification=0]="TextIndependentIdentification",e[e.TextDependentVerification=1]="TextDependentVerification",e[e.TextIndependentVerification=2]="TextIndependentVerification"}(t.VoiceProfileType||(t.VoiceProfileType={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationRecognizer=void 0;var a=r(17),s=r(16),u=r(27),c=r(12),l=function(e){function t(t,r){var n=this,i=t;return u.Contracts.throwIfNull(i,"speechConfig"),(n=e.call(this,r,i.properties,new a.TranslationConnectionFactory)||this).privDisposedTranslationRecognizer=!1,n.privProperties=i.properties.clone(),void 0!==n.properties.getProperty(c.PropertyId.SpeechServiceConnection_TranslationVoice,void 0)&&u.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(c.PropertyId.SpeechServiceConnection_TranslationVoice),c.PropertyId[c.PropertyId.SpeechServiceConnection_TranslationVoice]),u.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(c.PropertyId.SpeechServiceConnection_TranslationToLanguages),c.PropertyId[c.PropertyId.SpeechServiceConnection_TranslationToLanguages]),u.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(c.PropertyId.SpeechServiceConnection_RecoLanguage),c.PropertyId[c.PropertyId.SpeechServiceConnection_RecoLanguage]),n}return n(t,e),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(c.PropertyId.SpeechServiceConnection_RecoLanguage)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"targetLanguages",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(c.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(",")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"voiceName",{get:function(){return u.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(c.PropertyId.SpeechServiceConnection_TranslationVoice,void 0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(c.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){this.properties.setProperty(c.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),t.prototype.recognizeOnceAsync=function(e,t){u.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),s.marshalPromiseToCallbacks(this.recognizeOnceAsyncImpl(a.RecognitionMode.Conversation),e,t)},t.prototype.startContinuousRecognitionAsync=function(e,t){s.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(a.RecognitionMode.Conversation),e,t)},t.prototype.stopContinuousRecognitionAsync=function(e,t){s.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),e,t)},t.prototype.close=function(e,t){u.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),s.marshalPromiseToCallbacks(this.dispose(!0),e,t)},t.prototype.onConnection=function(){},t.prototype.onDisconnection=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2]}))}))},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privDisposedTranslationRecognizer?[2]:(this.privDisposedTranslationRecognizer=!0,t?[4,this.implRecognizerStop()]:[3,3]);case 1:return r.sent(),[4,e.prototype.dispose.call(this,t)];case 2:r.sent(),r.label=3;case 3:return[2]}}
2))}))},t.prototype.createRecognizerConfig=function(e){return new a.RecognizerConfig(e,this.properties)},t.prototype.createServiceRecognizer=function(e,t,r,n){var i=r;return new a.TranslationServiceRecognizer(e,t,i,n,this)},t}(c.Recognizer);t.TranslationRecognizer=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Translations=void 0;var n=r(12),i=function(){function e(){this.privMap=new n.PropertyCollection}return e.prototype.get=function(e,t){return this.privMap.getProperty(e,t)},e.prototype.set=function(e,t){this.privMap.setProperty(e,t)},e}();t.Translations=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoMatchReason=void 0,function(e){e[e.NotRecognized=0]="NotRecognized",e[e.InitialSilenceTimeout=1]="InitialSilenceTimeout",e[e.InitialBabbleTimeout=2]="InitialBabbleTimeout"}(t.NoMatchReason||(t.NoMatchReason={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoMatchDetails=void 0;var n=r(17),i=r(12),o=function(){function e(e){this.privReason=e}return e.fromResult=function(t){var r=n.SimpleSpeechPhrase.fromJSON(t.json),o=i.NoMatchReason.NotRecognized;switch(r.RecognitionStatus){case n.RecognitionStatus.BabbleTimeout:o=i.NoMatchReason.InitialBabbleTimeout;break;case n.RecognitionStatus.InitialSilenceTimeout:o=i.NoMatchReason.InitialSilenceTimeout;break;default:o=i.NoMatchReason.NotRecognized}return new e(o)},Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),e}();t.NoMatchDetails=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationRecognitionCanceledEventArgs=void 0;var n=function(){function e(e,t,r,n,i){this.privCancelReason=t,this.privErrorDetails=r,this.privResult=i,this.privSessionId=e,this.privErrorCode=n}return Object.defineProperty(e.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.privSessionId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reason",{get:function(){return this.privCancelReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorCode",{get:function(){return this.privErrorCode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),e}();t.TranslationRecognitionCanceledEventArgs=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.IntentRecognitionCanceledEventArgs=void 0;var i=function(e){function t(t,r,n,i,o,a){var s=e.call(this,i,o,a)||this;return s.privReason=t,s.privErrorDetails=r,s.privErrorCode=n,s}return n(t,e),Object.defineProperty(t.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorCode",{get:function(){return this.privErrorCode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),t}(r(12).IntentRecognitionEventArgs);t.IntentRecognitionCanceledEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationDetails=void 0;var i=r(17),o=r(777),a=r(12),s=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return n(t,e),t.fromResult=function(e){var r=a.CancellationReason.Error,n=a.CancellationErrorCode.NoError;if(e instanceof a.RecognitionResult&&e.json){var o=i.SimpleSpeechPhrase.fromJSON(e.json);r=i.EnumTranslation.implTranslateCancelResult(o.RecognitionStatus)}return e.properties&&(n=a.CancellationErrorCode[e.properties.getProperty(i.CancellationErrorCodePropertyName,a.CancellationErrorCode[a.CancellationErrorCode.NoError])]),new t(r,e.errorDetails,n)},t}
2(o.CancellationDetailsBase);t.CancellationDetails=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationErrorCode=void 0,function(e){e[e.NoError=0]="NoError",e[e.AuthenticationFailure=1]="AuthenticationFailure",e[e.BadRequestParameters=2]="BadRequestParameters",e[e.TooManyRequests=3]="TooManyRequests",e[e.ConnectionFailure=4]="ConnectionFailure",e[e.ServiceTimeout=5]="ServiceTimeout",e[e.ServiceError=6]="ServiceError",e[e.RuntimeError=7]="RuntimeError"}(t.CancellationErrorCode||(t.CancellationErrorCode={}))},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionEventArgs=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(r(12).SessionEventArgs);t.ConnectionEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceEventArgs=void 0;var i=function(e){function t(t,r,n){var i=e.call(this,n)||this;return i.privJsonResult=t,i.privEventName=r,i}return n(t,e),Object.defineProperty(t.prototype,"jsonString",{get:function(){return this.privJsonResult},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"eventName",{get:function(){return this.privEventName},enumerable:!1,configurable:!0}),t}(r(12).SessionEventArgs);t.ServiceEventArgs=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Connection=void 0;var n=r(17),i=r(16),o=r(778),a=r(27),s=r(12),u=function(){function e(){}return e.fromRecognizer=function(t){var r=t.internalData,n=new e;return n.privInternalData=r,n.setupEvents(),n},e.fromSynthesizer=function(t){var r=t.internalData,n=new e;return n.privInternalData=r,n.setupEvents(),n},e.prototype.openConnection=function(e,t){i.marshalPromiseToCallbacks(this.privInternalData.connect(),e,t)},e.prototype.closeConnection=function(e,t){if(this.privInternalData instanceof n.SynthesisAdapterBase)throw new Error("Disconnecting a synthesizer's connection is currently not supported");i.marshalPromiseToCallbacks(this.privInternalData.disconnect(),e,t)},e.prototype.setMessageProperty=function(e,t,r){if(a.Contracts.throwIfNullOrWhitespace(t,"propertyName"),this.privInternalData instanceof n.ServiceRecognizerBase){if("speech.context"!==e.toLowerCase())throw new Error("Only speech.context message property sets are currently supported for recognizer");this.privInternalData.speechContext.setSection(t,r)}else if(this.privInternalData instanceof n.SynthesisAdapterBase){if("synthesis.context"!==e.toLowerCase())throw new Error("Only synthesis.context message property sets are currently supported for synthesizer");this.privInternalData.synthesisContext.setSection(t,r)}},e.prototype.sendMessageAsync=function(e,t,r,n){i.marshalPromiseToCallbacks(this.privInternalData.sendNetworkMessage(e,t),r,n)},e.prototype.close=function(){},e.prototype.setupEvents=function(){var e=this;this.privEventListener=this.privInternalData.connectionEvents.attach((function(t){"ConnectionEstablishedEvent"===t.name?e.connected&&e.connected(new s.ConnectionEventArgs(t.connectionId)):"ConnectionClosedEvent"===t.name?e.disconnected&&e.disconnected(new s.ConnectionEventArgs(t.connectionId)):"ConnectionMessageSentEvent"===t.name?e.messageSent&&e.messageSent(new s.ConnectionMessageEventArgs(new o.ConnectionMessageImpl(t.message))):"ConnectionMessageReceivedEvent"===t.name&&e.messageReceived&&e.messageReceived(new s.ConnectionMessageEventArgs(new o.ConnectionMessageImpl(t.message)))})),this.privServiceEventListener=this.privInternalData.serviceEvents.attach((function(t){e.receivedServiceMessage&&e.receivedServiceMessage(new s.ServiceEventArgs(t.jsonString,t.name))}))},e}();t.Connection=u},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.PhraseListGrammar=void 0;var n=function(){function e(e){this.privGrammerBuilder=e.dynamicGrammar}return e.fromRecognizer=function(t){return new e(t.internalData)},e.prototype.addPhrase=function(e){this.privGrammerBuilder.addPhrase(e)},e.prototype.addPhrases=function(e){this.privGrammerBuilder.addPhrase(e)},e.prototype.clear=function(){this.privGrammerBuilder.clearPhrases()},e}();t.PhraseListGrammar=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.BotFrameworkConfig=void 0;var i=r(27),o=r(462),a=r(12),s=function(e){function t(){return e.call(this)||this}return n(t,e),t.fromSubscription=function(e,t,r){i.Contracts.throwIfNullOrWhitespace(e,"subscription"),i.Contracts.throwIfNullOrWhitespace(t,"region");var n=new o.DialogServiceConfigImpl;return n.setProperty(a.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),n.setProperty(a.PropertyId.SpeechServiceConnection_Key,e),n.setProperty(a.PropertyId.SpeechServiceConnection_Region,t),r&&n.setProperty(a.PropertyId.Conversation_ApplicationId,r),n},t.fromAuthorizationToken=function(e,t,r){i.Contracts.throwIfNullOrWhitespace(e,"authorizationToken"),i.Contracts.throwIfNullOrWhitespace(t,"region");var n=new o.DialogServiceConfigImpl;return n.setProperty(a.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),n.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,e),n.setProperty(a.PropertyId.SpeechServiceConnection_Region,t),r&&n.setProperty(a.PropertyId.Conversation_ApplicationId,r),n},t.fromHost=function(e,t,r){i.Contracts.throwIfNullOrUndefined(e,"host");var n=e instanceof URL?e:new URL("wss://"+e+".convai.speech.azure.us");i.Contracts.throwIfNullOrUndefined(n,"resolvedHost");var s=new o.DialogServiceConfigImpl;return s.setProperty(a.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),s.setProperty(a.PropertyId.SpeechServiceConnection_Host,n.toString()),void 0!==t&&s.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),s},t.fromEndpoint=function(e,t){i.Contracts.throwIfNull(e,"endpoint");var r=new o.DialogServiceConfigImpl;return r.setProperty(a.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),r.setProperty(a.PropertyId.SpeechServiceConnection_Endpoint,e.toString()),void 0!==t&&r.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),r},t}(o.DialogServiceConfigImpl);t.BotFrameworkConfig=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.CustomCommandsConfig=void 0;var i=r(27),o=r(462),a=r(12),s=function(e){function t(){return e.call(this)||this}return n(t,e),t.fromSubscription=function(e,t,r){i.Contracts.throwIfNullOrWhitespace(e,"applicationId"),i.Contracts.throwIfNullOrWhitespace(t,"subscription"),i.Contracts.throwIfNullOrWhitespace(r,"region");var n=new o.DialogServiceConfigImpl;return n.setProperty(a.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.CustomCommands),n.setProperty(a.PropertyId.Conversation_ApplicationId,e),n.setProperty(a.PropertyId.SpeechServiceConnection_Key,t),n.setProperty(a.PropertyId.SpeechServiceConnection_Region,r),n},t.fromAuthorizationToken=function(e,t,r){i.Contracts.throwIfNullOrWhitespace(e,"applicationId"),i.Contracts.throwIfNullOrWhitespace(t,"authorizationToken"),i.Contracts.throwIfNullOrWhitespace(r,"region");var n=new o.DialogServiceConfigImpl;return n.setProperty(a.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.CustomCommands),n.setProperty(a.PropertyId.Conversation_ApplicationId,e),n.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,t),n.setProperty(a.PropertyId.SpeechServiceConnection_Region,r),n},Object.defineProperty(t.prototype,"applicationId",{get:function(){return this.getProperty(a.PropertyId.Conversation_ApplicationId)},set:function(e){i.Contracts.throwIfNullOrWhitespace(e,"value"),this.setProperty(a.PropertyId.Conversation_ApplicationId,e)}
2,enumerable:!1,configurable:!0}),t}(o.DialogServiceConfigImpl);t.CustomCommandsConfig=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.DialogServiceConnector=void 0;var a=r(1675),s=r(17),u=r(16),c=r(27),l=r(12),p=r(461),f=function(e){function t(t,r){var n=this,i=t;c.Contracts.throwIfNull(t,"dialogConfig"),(n=e.call(this,r,i.properties,new a.DialogConnectionFactory)||this).isTurnComplete=!0,n.privIsDisposed=!1,n.privProperties=i.properties.clone();var o=n.buildAgentConfig();return n.privReco.agentConfig.set(o),n}return n(t,e),t.prototype.connect=function(e,t){u.marshalPromiseToCallbacks(this.privReco.connect(),e,t)},t.prototype.disconnect=function(e,t){u.marshalPromiseToCallbacks(this.privReco.disconnect(),e,t)},Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(p.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){c.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(p.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechActivityTemplate",{get:function(){return this.properties.getProperty(p.PropertyId.Conversation_Speech_Activity_Template)},set:function(e){this.properties.setProperty(p.PropertyId.Conversation_Speech_Activity_Template,e)},enumerable:!1,configurable:!0}),t.prototype.listenOnceAsync=function(e,t){var r=this;if(this.isTurnComplete){c.Contracts.throwIfDisposed(this.privIsDisposed);var n=i(r,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:return[4,this.privReco.connect()];case 1:return r.sent(),[4,this.implRecognizerStop()];case 2:return r.sent(),this.isTurnComplete=!1,e=new u.Deferred,[4,this.privReco.recognize(s.RecognitionMode.Conversation,e.resolve,e.reject)];case 3:return r.sent(),[4,e.promise];case 4:return t=r.sent(),[4,this.implRecognizerStop()];case 5:return r.sent(),[2,t]}}))}));n.catch((function(){r.dispose(!0).catch((function(){}))})),u.marshalPromiseToCallbacks(n.finally((function(){r.isTurnComplete=!0})),e,t)}},t.prototype.sendActivityAsync=function(e,t,r){u.marshalPromiseToCallbacks(this.privReco.sendMessage(e),t,r)},t.prototype.close=function(e,t){c.Contracts.throwIfDisposed(this.privIsDisposed),u.marshalPromiseToCallbacks(this.dispose(!0),e,t)},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privIsDisposed?[2]:t?(this.privIsDisposed=!0,[4,this.implRecognizerStop()]):[3,3];case 1:return r.sent(),[4,e.prototype.dispose.call(this,t)];case 2:r.sent(),r.label=3;case 3:return[2]}}
2))}))},t.prototype.createRecognizerConfig=function(e){return new s.RecognizerConfig(e,this.privProperties)},t.prototype.createServiceRecognizer=function(e,t,r,n){var i=r;return new s.DialogServiceAdapter(e,t,i,n,this)},t.prototype.buildAgentConfig=function(){return{botInfo:{commType:this.properties.getProperty("Conversation_Communication_Type","Default"),commandsCulture:void 0,connectionId:this.properties.getProperty(p.PropertyId.Conversation_Agent_Connection_Id),conversationId:this.properties.getProperty(p.PropertyId.Conversation_Conversation_Id,void 0),fromId:this.properties.getProperty(p.PropertyId.Conversation_From_Id,void 0),ttsAudioFormat:this.properties.getProperty(p.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)},version:.2}},t}(l.Recognizer);t.DialogServiceConnector=f},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.DialogConnectionFactory=void 0;var i=r(85),o=r(17),a=r(12),s=r(196),u=r(17),c=r(116),l=r(197),p=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.create=function(e,n,s){var p=e.parameters.getProperty(a.PropertyId.Conversation_ApplicationId,""),f=e.parameters.getProperty(a.PropertyId.Conversation_DialogType),d=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Region),h=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage,"en-US"),v=e.parameters.getProperty(a.PropertyId.Conversation_Request_Bot_Status_Messages,"true"),m={};m[c.HeaderNames.ConnectionId]=s,m[l.QueryParameterNames.Format]=e.parameters.getProperty(o.OutputFormatPropertyName,a.OutputFormat[a.OutputFormat.Simple]).toLowerCase(),m[l.QueryParameterNames.Language]=h,m[l.QueryParameterNames.RequestBotStatusMessages]=v,p&&(m[l.QueryParameterNames.BotId]=p,f===a.DialogServiceConfig.DialogTypes.CustomCommands&&(m[c.HeaderNames.CustomCommandsAppId]=p));var y=f===a.DialogServiceConfig.DialogTypes.CustomCommands?"commands/":"",T=f===a.DialogServiceConfig.DialogTypes.CustomCommands?"v1":f===a.DialogServiceConfig.DialogTypes.BotFramework?"v3":"v0",b={};null!=n.token&&""!==n.token&&(b[n.headerName]=n.token);var g=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint,"");if(!g){var _=d&&d.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",S=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Host,"wss://"+d+"."+t.Constants.BaseUrl+_);g=""+(S.endsWith("/")?S:S+"/")+y+t.Constants.ApiKey+"/"+T}r.setCommonUrlParams(e,m,g);var A="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.WebsocketConnection(g,m,b,new u.WebsocketMessageFormatter,i.ProxyInfo.fromRecognizerConfig(e),A,s)},r}var r;return n(t,e),t.Constants=((r=function(){}).ApiKey="api",r.BaseUrl="convai.speech",r),t}(s.ConnectionFactoryBase);t.DialogConnectionFactory=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityReceivedEventArgs=void 0;var n=function(){function e(e,t){this.privActivity=e,this.privAudioStream=t}return Object.defineProperty(e.prototype,"activity",{get:function(){return this.privActivity},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"audioStream",{get:function(){return this.privAudioStream},enumerable:!1,configurable:!0}),e}();t.ActivityReceivedEventArgs=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TurnStatusReceivedEventArgs=void 0;var n=r(1678),i=function(){function e(e){this.privTurnStatus=n.TurnStatusResponsePayload.fromJSON(e)}return Object.defineProperty(e.prototype,"interactionId",{get:function(){return this.privTurnStatus.interactionId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"conversationId",{get:function(){return this.privTurnStatus.conversationId}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"statusCode",{get:function(){return this.privTurnStatus.statusCode},enumerable:!1,configurable:!0}),e}();t.TurnStatusReceivedEventArgs=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TurnStatusResponsePayload=void 0;var n=function(){function e(e){this.privMessageStatusResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"interactionId",{get:function(){return this.privMessageStatusResponse.interactionId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"conversationId",{get:function(){return this.privMessageStatusResponse.conversationId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"statusCode",{get:function(){switch(this.privMessageStatusResponse.statusCode){case"Success":return 200;case"Failed":return 400;case"TimedOut":return 429;default:return this.privMessageStatusResponse.statusCode}},enumerable:!1,configurable:!0}),e}();t.TurnStatusResponsePayload=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServicePropertyChannel=void 0,function(e){e[e.UriQueryParameter=0]="UriQueryParameter"}(t.ServicePropertyChannel||(t.ServicePropertyChannel={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProfanityOption=void 0,function(e){e[e.Masked=0]="Masked",e[e.Removed=1]="Removed",e[e.Raw=2]="Raw"}(t.ProfanityOption||(t.ProfanityOption={}))},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAudioPlayer=void 0;var o=r(115),a=r(457),s=r(12),u=r(142),c=function(){function e(e){this.audioContext=null,this.gainNode=null,this.autoUpdateBufferTimer=0,void 0===e&&(e=s.AudioStreamFormat.getDefaultInputFormat()),this.init(e)}return e.prototype.playAudioSample=function(e,t,r){var o=this;a.marshalPromiseToCallbacks(n(o,void 0,void 0,(function(){var t,r;return i(this,(function(n){return this.ensureInitializedContext(),t=this.formatAudioData(e),(r=new Float32Array(this.samples.length+t.length)).set(this.samples,0),r.set(t,this.samples.length),this.samples=r,[2]}))})),t,r)},e.prototype.stopAudio=function(e,t){null!==this.audioContext&&(this.samples=new Float32Array,clearInterval(this.autoUpdateBufferTimer),this.audioContext.close().then((function(){e&&e()}),(function(e){t&&t(e)})),this.audioContext=null)},e.prototype.init=function(e){this.audioFormat=e,this.samples=new Float32Array},e.prototype.ensureInitializedContext=function(){var e=this;if(null===this.audioContext){this.createAudioContext();this.autoUpdateBufferTimer=setInterval((function(){e.updateAudioBuffer()}),200)}},e.prototype.createAudioContext=function(){this.audioContext=u.AudioStreamFormatImpl.getAudioContext(),this.gainNode=this.audioContext.createGain(),this.gainNode.gain.value=1,this.gainNode.connect(this.audioContext.destination),this.startTime=this.audioContext.currentTime},e.prototype.formatAudioData=function(e){switch(this.audioFormat.bitsPerSample){case 8:return this.formatArrayBuffer(new Int8Array(e),128);case 16:return this.formatArrayBuffer(new Int16Array(e),32768);case 32:return this.formatArrayBuffer(new Int32Array(e),2147483648);default:throw new o.InvalidOperationError("Only WAVE_FORMAT_PCM (8/16/32 bps) format supported at this time")}},e.prototype.formatArrayBuffer=function(e,t){for(var r=new Float32Array(e.length),n=0;n<e.length;n++)r[n]=e[n]/t;return r},e.prototype.updateAudioBuffer=function(){if(0!==this.samples.length){for(var e=this.audioFormat.channels,t=this.audioContext.createBufferSource(),r
2=this.samples.length/e,n=this.audioContext.createBuffer(e,r,this.audioFormat.samplesPerSec),i=0;i<e;i++)for(var o=i,a=n.getChannelData(i),s=0;s<this.samples.length;s++,o+=e)a[s]=this.samples[o];this.startTime<this.audioContext.currentTime&&(this.startTime=this.audioContext.currentTime),t.buffer=n,t.connect(this.gainNode),t.start(this.startTime),this.startTime+=n.duration,this.samples=new Float32Array}},e.prototype.playAudio=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return null===this.audioContext&&this.createAudioContext(),t=this.audioContext.createBufferSource(),r=this.audioContext.destination,[4,this.audioContext.decodeAudioData(e,(function(e){t.buffer=e,t.connect(r),t.start(0)}))];case 1:return n.sent(),[2]}}))}))},e}();t.BaseAudioPlayer=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionMessageEventArgs=void 0;var n=function(){function e(e){this.privConnectionMessage=e}return Object.defineProperty(e.prototype,"message",{get:function(){return this.privConnectionMessage},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"Message: "+this.privConnectionMessage.toString()},e}();t.ConnectionMessageEventArgs=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VoiceProfile=void 0;var n=function(){function e(e,t){this.privId=e,this.privProfileType=t}return Object.defineProperty(e.prototype,"profileId",{get:function(){return this.privId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"profileType",{get:function(){return this.privProfileType},enumerable:!1,configurable:!0}),e}();t.VoiceProfile=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.VoiceProfileEnrollmentCancellationDetails=t.VoiceProfileEnrollmentResult=void 0;var i=r(17),o=r(12),a=function(){function e(e,t,r){this.privReason=e,this.privProperties=new o.PropertyCollection,this.privReason!==o.ResultReason.Canceled?t&&(this.privDetails=JSON.parse(t),"enrolling"===this.privDetails.enrollmentStatus.toLowerCase()&&(this.privReason=o.ResultReason.EnrollingVoiceProfile)):(this.privErrorDetails=r,this.privProperties.setProperty(i.CancellationErrorCodePropertyName,o.CancellationErrorCode[o.CancellationErrorCode.ServiceError]))}return e.FromIdentificationProfileList=function(t){for(var r=[],n=0,i=t.profiles;n<i.length;n++){var a=i[n],s=new e("enrolling"===a.enrollmentStatus.toLowerCase()?o.ResultReason.EnrollingVoiceProfile:"enrolled"===a.enrollmentStatus.toLowerCase()?o.ResultReason.EnrolledVoiceProfile:o.ResultReason.Canceled,null,null);s.privDetails=this.getIdentificationDetails(a),r.push(s)}return r},e.FromVerificationProfileList=function(t){for(var r=[],n=0,i=t.profiles;n<i.length;n++){var a=i[n],s=new e("enrolling"===a.enrollmentStatus.toLowerCase()?o.ResultReason.EnrollingVoiceProfile:"enrolled"===a.enrollmentStatus.toLowerCase()?o.ResultReason.EnrolledVoiceProfile:o.ResultReason.Canceled,null,null);s.privDetails=this.getVerificationDetails(a),r.push(s)}return r},Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"enrollmentsCount",{get:function(){return this.privDetails.enrollmentsCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"enrollmentsLength",{get:function(){return this.privDetails.enrollmentsLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"enrollmentResultDetails",{get:function(){return this.privDetails},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails}
2,enumerable:!1,configurable:!0}),e.getIdentificationDetails=function(e){return{audioSpeechLength:e.speechTime?parseFloat(e.speechTime):0,enrollmentStatus:e.enrollmentStatus,enrollmentsLength:e.enrollmentSpeechTime?parseFloat(e.enrollmentSpeechTime):0,profileId:e.profileId||e.identificationProfileId,remainingEnrollmentSpeechLength:e.remainingEnrollmentSpeechTime?parseFloat(e.remainingEnrollmentSpeechTime):0}},e.getVerificationDetails=function(e){return{enrollmentStatus:e.enrollmentStatus,enrollmentsCount:e.enrollmentsCount,profileId:e.profileId||e.verificationProfileId,remainingEnrollmentSpeechLength:e.remainingEnrollmentSpeechLength?parseFloat(e.remainingEnrollmentSpeechLength):0,remainingEnrollmentsCount:e.remainingEnrollments||e.remainingEnrollmentsCount}},e}();t.VoiceProfileEnrollmentResult=a;var s=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return n(t,e),t.fromResult=function(e){var r=o.CancellationReason.Error,n=o.CancellationErrorCode.NoError;return e.properties&&(n=o.CancellationErrorCode[e.properties.getProperty(i.CancellationErrorCodePropertyName,o.CancellationErrorCode[o.CancellationErrorCode.NoError])]),new t(r,e.errorDetails,n)},t}(o.CancellationDetailsBase);t.VoiceProfileEnrollmentCancellationDetails=s},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.VoiceProfileCancellationDetails=t.VoiceProfileResult=void 0;var i=r(17),o=r(27),a=r(12),s=function(){function e(e,t){this.privReason=e,this.privProperties=new a.PropertyCollection,e===a.ResultReason.Canceled&&(o.Contracts.throwIfNullOrUndefined(t,"statusText"),this.privErrorDetails=t,this.privProperties.setProperty(i.CancellationErrorCodePropertyName,a.CancellationErrorCode[a.CancellationErrorCode.ServiceError]))}return Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),e}();t.VoiceProfileResult=s;var u=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return n(t,e),t.fromResult=function(e){var r=a.CancellationReason.Error,n=a.CancellationErrorCode.NoError;return e.properties&&(n=a.CancellationErrorCode[e.properties.getProperty(i.CancellationErrorCodePropertyName,a.CancellationErrorCode[a.CancellationErrorCode.NoError])]),new t(r,e.errorDetails,n)},t}(a.CancellationDetailsBase);t.VoiceProfileCancellationDetails=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.VoiceProfileAuthorizationPhraseResult=void 0;var i=r(27),o=function(e){function t(t,r,n){var o=e.call(this,t,r)||this;o.privPhrases=[],i.Contracts.throwIfNullOrUndefined(n,"phrases array");for(var a=0,s=n;a<s.length;a++){var u=s[a];o.privPhrases.push(u.passPhrase)}return o}return n(t,e),Object.defineProperty(t.prototype,"phrases",{get:function(){return this.privPhrases},enumerable:!1,configurable:!0}),t}(r(12).VoiceProfileResult);t.VoiceProfileAuthorizationPhraseResult=o},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.VoiceProfileClient=void 0;var o=r(17),a=r(16),s=r(27),u=r(12),c=function(){function e(e){var t=e;s.Contracts.throwIfNull(t,"speechConfig"),this.privProperties=t.properties.clone(),this.implClientSetup()}return Object.defineProperty(e.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(u.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){s.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(u.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e.prototype.createProfileAsync=function(e,t,r,o){var s=this;a.marshalPromiseToCallbacks(n(s,void 0,void 0,(function(){var r,n;return i(this,(function(i){switch(i.label){case 0:return[4,this.privAdapter.createProfile(e,t)];case 1:return r=i.sent(),n=r.json(),[2,new u.VoiceProfile(n.profileId,e)]}}))})),r,o)},e.prototype.retrieveEnrollmentResultAsync=function(e,t,r){var o=this;a.marshalPromiseToCallbacks(n(o,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privAdapter.getProfileStatus(e)];case 1:return t=r.sent(),[2,new u.VoiceProfileEnrollmentResult(t.ok?u.ResultReason.EnrolledVoiceProfile:u.ResultReason.Canceled,t.data,t.statusText)]}}))})),t,r)},e.prototype.getAllProfilesAsync=function(e,t,r){var o=this;a.marshalPromiseToCallbacks(n(o,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privAdapter.getProfiles(e)];case 1:return t=r.sent(),e===u.VoiceProfileType.TextIndependentIdentification?[2,u.VoiceProfileEnrollmentResult.FromIdentificationProfileList(t.json())]:[2,u.VoiceProfileEnrollmentResult.FromVerificationProfileList(t.json())]}}))})),t,r)},e.prototype.getAuthorizationPhrasesAsync=function(e,t,r){var o=this;a.marshalPromiseToCallbacks(n(o,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privAdapter.getAuthorizationPhrases(e)];case 1:return t=r.sent(),[2,new u.VoiceProfileAuthorizationPhraseResult(t.ok?u.ResultReason.EnrollingVoiceProfile:u.ResultReason.Canceled,t.statusText,t.json())]}}))})),t,r)},e.prototype.enrollProfileAsync=function(e,t,r,o){var c=this,l=t;s.Contracts.throwIfNullOrUndefined(l,"audioConfig"),a.marshalPromiseToCallbacks(n(c,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privAdapter.createEnrollment(e,l)];case 1:return t=r.sent(),[2,new u.VoiceProfileEnrollmentResult(t.ok?u.ResultReason.EnrolledVoiceProfile:u.ResultReason.Canceled,t.data,t.statusText)]}}))})),r,o)},e.prototype.deleteProfileAsync=function(e,t,r){var o=this;a.marshalPromiseToCallbacks(n(o,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privAdapter.deleteProfile(e)];case 1:return t=r.sent(),[2,this.getResult(t,u.ResultReason.DeletedVoiceProfile)]}}))})),t,r)},e.prototype.resetProfileAsync=function(e,t,r){var o=this;a.marshalPromiseToCallbacks(n(o,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.privAdapter.resetProfile(e)];case 1:return t=r.sent(),[2,this.getResult(t,u.ResultReason.ResetVoiceProfile)]}}))})),t,r)},e.prototype.close=function(){},e.prototype.implClientSetup=function(){var e="undefined"!==typeof window?"Browser":"Node",t="unknown",r="unknown";"undefined"!==typeof navigator&&(e=e+"/"+navigator.platform,t=navigator.userAgent,r=navigator.appVersion);var n=new o.SpeakerRecognitionConfig(new o.Context(new o.OS(e,t,r)),this.privProperties);this.privAdapter=new o.SpeakerIdMessageAdapter(n)},e.prototype.getResult=function(e,t,r){return new u.VoiceProfileResult(e.ok?t:u.ResultReason.Canceled,e.statusText)},e}();t.VoiceProfileClient=c},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerRecognizer=void 0;var o=r(17),a=r(16),s=r(27),u=r(12),c=function(){function e(e,t){var r=e;s.Contracts.throwIfNull(r,"speechConfig"),this.privAudioConfigImpl=t,s.Contracts.throwIfNull(this.privAudioConfigImpl,"audioConfig"),this.privProperties=r.properties.clone(),this.implSRSetup()}return Object.defineProperty(e.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(u.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){s.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(u.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e.prototype.recognizeOnceAsync=function(e,t,r){if(e instanceof u.SpeakerIdentificationModel){var n=this.privAdapter.identifySpeaker(e,this.privAudioConfigImpl);a.marshalPromiseToCallbacks(this.getResult(n,u.SpeakerRecognitionResultType.Identify,void 0),t,r)}else{if(!(e instanceof u.SpeakerVerificationModel))throw new Error("SpeakerRecognizer.recognizeOnce: Unexpected model type");
2n=this.privAdapter.verifySpeaker(e,this.privAudioConfigImpl);a.marshalPromiseToCallbacks(this.getResult(n,u.SpeakerRecognitionResultType.Verify,e.voiceProfile.profileId),t,r)}},e.prototype.close=function(){},e.prototype.implSRSetup=function(){var e="undefined"!==typeof window?"Browser":"Node",t="unknown",r="unknown";"undefined"!==typeof navigator&&(e=e+"/"+navigator.platform,t=navigator.userAgent,r=navigator.appVersion);var n=new o.SpeakerRecognitionConfig(new o.Context(new o.OS(e,t,r)),this.privProperties);this.privAdapter=new o.SpeakerIdMessageAdapter(n)},e.prototype.getResult=function(e,t,r){return n(this,void 0,void 0,(function(){var n;return i(this,(function(i){switch(i.label){case 0:return[4,e];case 1:return n=i.sent(),[2,new u.SpeakerRecognitionResult(t,n.data,r,n.ok?u.ResultReason.RecognizedSpeaker:u.ResultReason.Canceled)]}}))}))},e}();t.SpeakerRecognizer=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerIdentificationModel=void 0;var n=r(27),i=r(12),o=function(){function e(e){var t=this;if(this.privVoiceProfiles=[],n.Contracts.throwIfNullOrUndefined(e,"VoiceProfiles"),0===e.length)throw new Error("Empty Voice Profiles array");e.forEach((function(e){if(e.profileType!==i.VoiceProfileType.TextIndependentIdentification)throw new Error("Identification model can only be created from Identification profile: "+e.profileId);t.privVoiceProfiles.push(e)}))}return e.fromProfiles=function(t){return new e(t)},Object.defineProperty(e.prototype,"voiceProfileIds",{get:function(){return this.privVoiceProfiles.map((function(e){return e.profileId})).join(",")},enumerable:!1,configurable:!0}),e}();t.SpeakerIdentificationModel=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerVerificationModel=void 0;var n=r(27),i=r(12),o=function(){function e(e){if(n.Contracts.throwIfNullOrUndefined(e,"VoiceProfile"),e.profileType===i.VoiceProfileType.TextIndependentIdentification)throw new Error("Verification model cannot be created from Identification profile");this.privVoiceProfile=e}return e.fromProfile=function(t){return new e(t)},Object.defineProperty(e.prototype,"voiceProfile",{get:function(){return this.privVoiceProfile},enumerable:!1,configurable:!0}),e}();t.SpeakerVerificationModel=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoDetectSourceLanguageConfig=void 0;var n=r(17),i=r(27),o=r(12),a=function(){function e(){this.privProperties=new o.PropertyCollection}return e.fromOpenRange=function(){var t=new e;return t.properties.setProperty(o.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,n.AutoDetectSourceLanguagesOpenRangeOptionName),t},e.fromLanguages=function(t){i.Contracts.throwIfArrayEmptyOrWhitespace(t,"languages");var r=new e;return r.properties.setProperty(o.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,t.join()),r},e.fromSourceLanguageConfigs=function(t){if(t.length<1)throw new Error("Expected non-empty SourceLanguageConfig array.");var r=new e,n=[];return t.forEach((function(e){if(n.push(e.language),void 0!==e.endpointId&&""!==e.endpointId){var t=e.language+o.PropertyId.SpeechServiceConnection_EndpointId.toString();r.properties.setProperty(t,e.endpointId)}})),r.properties.setProperty(o.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,n.join()),r},Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e}();t.AutoDetectSourceLanguageConfig=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoDetectSourceLanguageResult=void 0;var n=r(27),i=function(){function e(e,t){n.Contracts.throwIfNullOrUndefined(e,"language"),n.Contracts.throwIfNullOrUndefined(t,"languageDetectionConfidence"),this.privLanguage=e,this.privLanguageDetectionConfidence=t}return e.fromResult=function(t){return new e(t.language,t.languageDetectionConfidence)},Object.defineProperty(e.prototype,"language",{get:function(){return this.privLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageDetectionConfidence",{get:function(){return this.privLanguageDetectionConfidence}
2,enumerable:!1,configurable:!0}),e}();t.AutoDetectSourceLanguageResult=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceLanguageConfig=void 0;var n=r(27),i=function(){function e(e,t){n.Contracts.throwIfNullOrUndefined(e,"language"),this.privLanguage=e,this.privEndpointId=t}return e.fromLanguage=function(t,r){return new e(t,r)},Object.defineProperty(e.prototype,"language",{get:function(){return this.privLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endpointId",{get:function(){return this.privEndpointId},enumerable:!1,configurable:!0}),e}();t.SourceLanguageConfig=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerRecognitionCancellationDetails=t.SpeakerRecognitionResult=t.SpeakerRecognitionResultType=void 0;var i,o=r(17),a=r(27),s=r(12);!function(e){e[e.Verify=0]="Verify",e[e.Identify=1]="Identify"}(i=t.SpeakerRecognitionResultType||(t.SpeakerRecognitionResultType={}));var u=function(){function e(e,t,r,n){if(void 0===n&&(n=s.ResultReason.RecognizedSpeaker),this.privProperties=new s.PropertyCollection,this.privReason=n,this.privReason!==s.ResultReason.Canceled)if(e===i.Identify){var u=JSON.parse(t);a.Contracts.throwIfNullOrUndefined(u,"JSON"),this.privProfileId=u.identifiedProfile.profileId,this.privScore=u.identifiedProfile.score}else{u=JSON.parse(t);a.Contracts.throwIfNullOrUndefined(u,"JSON"),this.privScore=u.score,"accept"!==u.recognitionResult.toLowerCase()&&(this.privReason=s.ResultReason.NoMatch),void 0!==r&&""!==r&&(this.privProfileId=r)}else{u=JSON.parse(t);a.Contracts.throwIfNullOrUndefined(u,"JSON"),this.privErrorDetails=u.statusText,this.privProperties.setProperty(o.CancellationErrorCodePropertyName,s.CancellationErrorCode[s.CancellationErrorCode.ServiceError])}this.privProperties.setProperty(s.PropertyId.SpeechServiceResponse_JsonResult,t)}return Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"profileId",{get:function(){return this.privProfileId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"score",{get:function(){return this.privScore},enumerable:!1,configurable:!0}),e}();t.SpeakerRecognitionResult=u;var c=function(e){function t(t,r,n){return e.call(this,t,r,n)||this}return n(t,e),t.fromResult=function(e){var r=s.CancellationReason.Error,n=s.CancellationErrorCode.NoError;return e.properties&&(n=s.CancellationErrorCode[e.properties.getProperty(o.CancellationErrorCodePropertyName,s.CancellationErrorCode[s.CancellationErrorCode.NoError])]),new t(r,e.errorDetails,n)},t}(s.CancellationDetailsBase);t.SpeakerRecognitionCancellationDetails=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationCommon=void 0;var n=function(){function e(e){this.privAudioConfig=e}return e.prototype.handleCallback=function(e,t){if(e){try{e()}catch(r){t&&t(r)}e=void 0}},e.prototype.handleError=function(e,t){if(t)if(e instanceof Error){var r=e;t(r.name+": "+r.message)}else t(e)},e}();t.ConversationCommon=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationExpirationEventArgs=void 0;var i=function(e){function t(t,r){var n=e.call(this,r)||this;return n.privExpirationTime=t,n}return n(t,e),Object.defineProperty(t.prototype,"expirationTime",{get:function(){return this.privExpirationTime},enumerable:!1,configurable:!0}),t}(r(12).SessionEventArgs);t.ConversationExpirationEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationParticipantsChangedEventArgs=void 0;var i=function(e){function t(t,r,n){var i=e.call(this,n)||this;return i.privReason=t,i.privParticipant=r,i}return n(t,e),Object.defineProperty(t.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"participants",{get:function(){return this.privParticipant},enumerable:!1,configurable:!0}),t}(r(12).SessionEventArgs);t.ConversationParticipantsChangedEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranslationCanceledEventArgs=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(r(460).CancellationEventArgsBase);t.ConversationTranslationCanceledEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranslationEventArgs=void 0;var i=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.privResult=t,i}return n(t,e),Object.defineProperty(t.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),t}(r(12).RecognitionEventArgs);t.ConversationTranslationEventArgs=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranslationResult=void 0;var i=function(e){function t(t,r,n,i,o,a,s,u,c,l,p){var f=e.call(this,r,i,o,a,s,u,c,l,p)||this;return f.privId=t,f.privOrigLang=n,f}return n(t,e),Object.defineProperty(t.prototype,"participantId",{get:function(){return this.privId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"originalLang",{get:function(){return this.privOrigLang},enumerable:!1,configurable:!0}),t}(r(775).TranslationRecognitionResult);t.ConversationTranslationResult=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranslator=t.SpeechState=void 0;var a,s=r(17),u=r(16),c=r(27),l=r(12),p=r(780),f=r(779);!function(e){e[e.Inactive=0]="Inactive",e[e.Connecting=1]="Connecting",e[e.Connected=2]="Connected"}(a=t.SpeechState||(t.SpeechState={}));var d=function(e){function t(t,r,n){var s=e.call(this,t,r)||this;return s.privSpeechState=a.Inactive,n&&(s.privTranslator=n,s.sessionStarted=function(){s.privSpeechState=a.Connected},s.sessionStopped=function(){s.privSpeechState=a.Inactive},s.recognized=function(e,t){return i(s,void 0,void 0,(function(){var e;return o(this,(function(r){switch(r.label){case 0:return(null===(e=t.result)||void 0===e?void 0:e.errorDetails)?[4,this.cancelSpeech()]:[3,2];case 1:r.sent(),this.fireCancelEvent(t.result.errorDetails),r.label=2;case 2:return[2]}}
2))}))},s.canceled=function(e,t){return i(s,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if(this.privSpeechState===a.Inactive)return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.cancelSpeech()];case 2:return e.sent(),[3,4];case 3:return e.sent(),this.privSpeechState=a.Inactive,[3,4];case 4:return[2]}}))}))}),s}return n(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this.privSpeechState},set:function(e){this.privSpeechState=e},enumerable:!1,configurable:!0}),t.prototype.onConnection=function(){this.privSpeechState=a.Connected},t.prototype.onDisconnection=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return this.privSpeechState=a.Inactive,[4,this.cancelSpeech()];case 1:return e.sent(),[2]}}))}))},t.prototype.fireCancelEvent=function(e){var t,r,n;try{if(this.privTranslator.canceled){var i=new f.ConversationTranslationCanceledEventArgs(null!==(t=null===e||void 0===e?void 0:e.reason)&&void 0!==t?t:l.CancellationReason.Error,null!==(r=null===e||void 0===e?void 0:e.errorDetails)&&void 0!==r?r:e,null!==(n=null===e||void 0===e?void 0:e.errorCode)&&void 0!==n?n:l.CancellationErrorCode.RuntimeError,void 0,null===e||void 0===e?void 0:e.sessionId);this.privTranslator.canceled(this.privTranslator,i)}}catch(o){}},t.prototype.cancelSpeech=function(){var e;return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),this.stopContinuousRecognitionAsync(),[4,null===(e=this.privReco)||void 0===e?void 0:e.disconnect()];case 1:return t.sent(),this.privSpeechState=a.Inactive,[3,3];case 2:return t.sent(),[3,3];case 3:return[2]}}
2))}))},t}(l.TranslationRecognizer),h=function(e){function t(t){var r=e.call(this,t)||this;return r.privIsDisposed=!1,r.privIsSpeaking=!1,r.privErrors=s.ConversationConnectionConfig.restErrors,r.privPlaceholderKey="abcdefghijklmnopqrstuvwxyz012345",r.privPlaceholderRegion="westus",r.privProperties=new l.PropertyCollection,r}return n(t,e),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return this.privSpeechRecognitionLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"participants",{get:function(){var e;return null===(e=this.privConversation)||void 0===e?void 0:e.participants},enumerable:!1,configurable:!0}),t.prototype.joinConversationAsync=function(e,t,r,n,i){var o=this;try{if("string"===typeof e){c.Contracts.throwIfNullOrUndefined(e,this.privErrors.invalidArgs.replace("{arg}","conversation id")),c.Contracts.throwIfNullOrWhitespace(t,this.privErrors.invalidArgs.replace("{arg}","nickname")),this.privConversation&&this.handleError(new Error(this.privErrors.permissionDeniedStart),i);var a=r;void 0!==a&&null!==a&&""!==a||(a=s.ConversationConnectionConfig.defaultLanguageCode),this.privSpeechTranslationConfig=l.SpeechTranslationConfig.fromSubscription(this.privPlaceholderKey,this.privPlaceholderRegion),this.privSpeechTranslationConfig.setProfanity(l.ProfanityOption.Masked),this.privSpeechTranslationConfig.addTargetLanguage(a),this.privSpeechTranslationConfig.setProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_RecoLanguage],a),this.privSpeechTranslationConfig.setProperty(l.PropertyId[l.PropertyId.ConversationTranslator_Name],t);var u=this.privProperties.getProperty(l.PropertyId.ConversationTranslator_Host);u&&this.privSpeechTranslationConfig.setProperty(l.PropertyId[l.PropertyId.ConversationTranslator_Host],u);var f=this.privProperties.getProperty(l.PropertyId.SpeechServiceConnection_Host);f&&this.privSpeechTranslationConfig.setProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_Host],f),this.privConversation=new p.ConversationImpl(this.privSpeechTranslationConfig),this.privConversation.conversationTranslator=this,this.privConversation.joinConversationAsync(e,t,a,(function(e){e||o.handleError(new Error(o.privErrors.permissionDeniedConnect),i),o.privSpeechTranslationConfig.authorizationToken=e,o.privConversation.startConversationAsync((function(){o.handleCallback(n,i)}),(function(e){o.handleError(e,i)}))}),(function(e){o.handleError(e,i)}))}else"object"===typeof e?(c.Contracts.throwIfNullOrUndefined(e,this.privErrors.invalidArgs.replace("{arg}","conversation id")),c.Contracts.throwIfNullOrWhitespace(t,this.privErrors.invalidArgs.replace("{arg}","nickname")),this.privProperties.setProperty(l.PropertyId.ConversationTranslator_Name,t),this.privConversation=e,this.privConversation.conversationTranslator=this,c.Contracts.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedConnect),c.Contracts.throwIfNullOrUndefined(this.privConversation.room.token,this.privErrors.permissionDeniedConnect),this.privSpeechTranslationConfig=e.config,this.handleCallback(r,n)):this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}","invalid conversation type")),n)}catch(d){this.handleError(d,"string"===typeof r?i:n)}},t.prototype.leaveConversationAsync=function(e,t){var r=this;u.marshalPromiseToCallbacks(i(r,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.cancelSpeech()];case 1:return e.sent(),[4,this.privConversation.endConversationImplAsync()];case 2:return e.sent(),[4,this.privConversation.deleteConversationImplAsync()];case 3:return e.sent(),this.dispose(),[2]}}))})),e,t)},t.prototype.sendTextMessageAsync=function(e,t,r){var n;try{c.Contracts.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedSend),c.Contracts.throwIfNullOrWhitespace(e,this.privErrors.invalidArgs.replace("{arg}",e)),null===(n=this.privConversation)||void 0===n||n.sendTextMessageAsync(e,t,r)}catch(i){this.handleError(i,r)}},t.prototype.startTranscribingAsync=function(e,t){var r=this;u.marshalPromiseToCallbacks(i(r,void 0,void 0,(function(){var e;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,4,,6]),c.Contracts.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedSend),c.Contracts.throwIfNullOrUndefined(this.privConversation.room.token,this.privErrors.permissionDeniedConnect),void 0!==this.privCTRecognizer?[3,2]:[4,this.connectTranslatorRecognizer()];case 1:r.sent(),r.label=2;case 2:return c.Contracts.throwIfNullOrUndefined(this.privCTRecognizer,this.privErrors.permissionDeniedSend),this.canSpeak||this.handleError(new Error(this.privErrors.permissionDeniedSend),t),[4,this.startContinuousRecognition()];case 3:return r.sent(),this.privIsSpeaking=!0,[3,6];case 4:return e=r.sent(),this.privIsSpeaking=!1,[4,this.cancelSpeech()];case 5:throw r.sent(),e;case 6:return[2]}}
2))})),e,t)},t.prototype.stopTranscribingAsync=function(e,t){var r=this;u.marshalPromiseToCallbacks(i(r,void 0,void 0,(function(){var e=this;return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,4,,6]),this.privIsSpeaking?[3,2]:[4,this.cancelSpeech()];case 1:return t.sent(),[2];case 2:return this.privIsSpeaking=!1,[4,new Promise((function(t,r){var n;null===(n=e.privCTRecognizer)||void 0===n||n.stopContinuousRecognitionAsync(t,r)}))];case 3:return t.sent(),[3,6];case 4:return t.sent(),[4,this.cancelSpeech()];case 5:return t.sent(),[3,6];case 6:return[2]}}))})),e,t)},t.prototype.isDisposed=function(){return this.privIsDisposed},t.prototype.dispose=function(e,t,r){var n=this;u.marshalPromiseToCallbacks(i(n,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:return this.isDisposed&&!this.privIsSpeaking?[2]:[4,this.cancelSpeech()];case 1:return r.sent(),this.privIsDisposed=!0,null===(e=this.privSpeechTranslationConfig)||void 0===e||e.close(),this.privSpeechRecognitionLanguage=void 0,this.privProperties=void 0,this.privAudioConfig=void 0,this.privSpeechTranslationConfig=void 0,null===(t=this.privConversation)||void 0===t||t.dispose(),this.privConversation=void 0,[2]}}))})),t,r)},t.prototype.cancelSpeech=function(){var e;return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),this.privIsSpeaking=!1,[4,null===(e=this.privCTRecognizer)||void 0===e?void 0:e.onDisconnection()];case 1:return t.sent(),this.privCTRecognizer=void 0,[3,3];case 2:return t.sent(),[3,3];case 3:return[2]}}
2))}))},t.prototype.connectTranslatorRecognizer=function(){return i(this,void 0,void 0,(function(){var e,t,r,n;return o(this,(function(i){switch(i.label){case 0:return i.trys.push([0,1,,3]),void 0===this.privAudioConfig&&(this.privAudioConfig=l.AudioConfig.fromDefaultMicrophoneInput()),this.privSpeechTranslationConfig.getProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_Key])===this.privPlaceholderKey&&this.privSpeechTranslationConfig.setProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_Key],""),e=encodeURIComponent(this.privConversation.room.token),t=(t=this.privSpeechTranslationConfig.getProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_Host],s.ConversationConnectionConfig.speechHost)).replace("{region}",this.privConversation.room.cognitiveSpeechRegion),r="wss://"+t+s.ConversationConnectionConfig.speechPath+"?"+s.ConversationConnectionConfig.configParams.token+"="+e,this.privSpeechTranslationConfig.setProperty(l.PropertyId[l.PropertyId.SpeechServiceConnection_Endpoint],r),this.privCTRecognizer=new d(this.privSpeechTranslationConfig,this.privAudioConfig,this),[3,3];case 1:return n=i.sent(),[4,this.cancelSpeech()];case 2:throw i.sent(),n;case 3:return[2]}}
2))}))},t.prototype.startContinuousRecognition=function(){var e=this;return new Promise((function(t,r){e.privCTRecognizer.startContinuousRecognitionAsync(t,r)}))},Object.defineProperty(t.prototype,"canSpeak",{get:function(){return!(!this.privConversation.isConnected||!this.privCTRecognizer)&&(!this.privIsSpeaking&&this.privCTRecognizer.state!==a.Connected&&this.privCTRecognizer.state!==a.Connecting&&!this.privConversation.isMutedByHost)},enumerable:!1,configurable:!0}),t}(f.ConversationCommon);t.ConversationTranslator=h},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranscriber=void 0;var o=r(17),a=r(16),s=r(27),u=r(12),c=function(){function e(e){this.privAudioConfig=e,this.privProperties=new u.PropertyCollection,this.privRecognizer=void 0,this.privDisposedRecognizer=!1}return e.prototype.joinConversationAsync=function(e,t,r){var n=e;s.Contracts.throwIfNullOrUndefined(n,"Conversation"),this.privRecognizer=new o.TranscriberRecognizer(e.config,this.privAudioConfig),s.Contracts.throwIfNullOrUndefined(this.privRecognizer,"Recognizer"),this.privRecognizer.connectCallbacks(this),a.marshalPromiseToCallbacks(n.connectTranscriberRecognizer(this.privRecognizer),t,r)},Object.defineProperty(e.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(u.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){s.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(u.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"speechRecognitionLanguage",{get:function(){return s.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(u.PropertyId.SpeechServiceConnection_RecoLanguage)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e.prototype.startTranscribingAsync=function(e,t){this.privRecognizer.startContinuousRecognitionAsync(e,t)},e.prototype.stopTranscribingAsync=function(e,t){this.privRecognizer.stopContinuousRecognitionAsync(e,t)},e.prototype.leaveConversationAsync=function(e,t){var r=this;this.privRecognizer.disconnectCallbacks(),a.marshalPromiseToCallbacks(n(r,void 0,void 0,(function(){return i(this,(function(e){return[2]}))})),e,t)},e.prototype.close=function(e,t){s.Contracts.throwIfDisposed(this.privDisposedRecognizer),a.marshalPromiseToCallbacks(this.dispose(!0),e,t)},e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){return this.privDisposedRecognizer||e&&(this.privDisposedRecognizer=!0),[2]}))}))},e}();t.ConversationTranscriber=c},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.Participant=t.User=void 0;var n=r(12),i=function(){function e(e){this.privUserId=e}return Object.defineProperty(e.prototype,"userId",{get:function(){return this.privUserId},enumerable:!1,configurable:!0}),e}();t.User=i;var o=function(){function e(e,t,r,i,o,a,s,u){this.privId=e,this.privAvatar=t,this.privDisplayName=r,this.privIsHost=i,this.privIsMuted=o,this.privIsUsingTts=a,this.privPreferredLanguage=s,this.privVoice=u,this.privProperties=new n.PropertyCollection}return e.From=function(t,r,n){return new e(t,"",t,!1,!1,!1,r,n)},Object.defineProperty(e.prototype,"avatar",{get:function(){return this.privAvatar},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayName",{get:function(){return this.privDisplayName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"preferredLanguage",{get:function(){return this.privPreferredLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isHost",{get:function(){return this.privIsHost},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMuted",{get:function(){return this.privIsMuted},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isUsingTts",{get:function(){return this.privIsUsingTts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"voice",{get:function(){return this.privVoice},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e}();t.Participant=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParticipantChangedReason=void 0,function(e){e[e.JoinedConversation=0]="JoinedConversation",e[e.LeftConversation=1]="LeftConversation",e[e.Updated=2]="Updated"}(t.ParticipantChangedReason||(t.ParticipantChangedReason={}))},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesisRequest=t.SpeechSynthesizer=void 0;var o=r(17),a=r(16),s=r(772),u=r(332),c=r(195),l=r(27),p=r(12),f=function(){function e(e,t){var r=e;l.Contracts.throwIfNull(r,"speechConfig"),null!==t&&(this.audioConfig=void 0===t?"undefined"===typeof window?void 0:p.AudioConfig.fromDefaultSpeakerOutput():t),this.privProperties=r.properties.clone(),this.privDisposed=!1,this.privSynthesizing=!1,this.privConnectionFactory=new o.SpeechSynthesisConnectionFactory,this.synthesisRequestQueue=new a.Queue,this.implCommonSynthesizeSetup()}return Object.defineProperty(e.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(p.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){l.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(p.PropertyId.SpeechServiceAuthorization_Token,e)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoDetectSourceLanguage",{get:function(){return this.properties.getProperty(p.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages)===o.AutoDetectSourceLanguagesOpenRangeOptionName},enumerable:!1,configurable:!0}),e.FromConfig=function(t,r,n){var i=t;return r.properties.mergeTo(i.properties),new e(t,n)},e.prototype.buildSsml=function(t){var r,n=((r={})["ar-EG"]="Microsoft Server Speech Text to Speech Voice (ar-EG, Hoda)",r["ar-SA"]="Microsoft Server Speech Text to Speech Voice (ar-SA, Naayf)",r["bg-BG"]="Microsoft Server Speech Text to Speech Voice (bg-BG, Ivan)",r["ca-ES"]="Microsoft Server Speech Text to Speech Voice (ca-ES, HerenaRUS)",r["cs-CZ"]="Microsoft Server Speech Text to Speech Voice (cs-CZ, Jakub)",r["da-DK"]="Microsoft Server Speech Text to Speech Voice (da-DK, HelleRUS)",r["de-AT"]="Microsoft Server Speech Text to Speech Voice (de-AT, Michael)",r["de-CH"]="Microsoft Server Speech Text to Speech Voice (de-CH, Karsten)",r["de-DE"]="Microsoft Server Speech Text to Speech Voice (de-DE, HeddaRUS)",r["el-GR"]="Microsoft Server Speech Text to Speech Voice (el-GR, Stefanos)",r["en-AU"]="Microsoft Server Speech Text to Speech Voice (en-AU, HayleyRUS)",r["en-CA"]="Microsoft Server Speech Text to Speech Voice (en-CA, HeatherRUS)",r["en-GB"]="Microsoft Server Speech Text to Speech Voice (en-GB, HazelRUS)",r["en-IE"]="Microsoft Server Speech Text to Speech Voice (en-IE, Sean)",r["en-IN"]="Microsoft Server Speech Text to Speech Voice (en-IN, PriyaRUS)",r["en-US"]="Microsoft Server Speech Text to Speech Voice (en-US, AriaRUS)",r["es-ES"]="Microsoft Server Speech Text to Speech Voice (es-ES, HelenaRUS)",r["es-MX"]="Microsoft Server Speech Text to Speech Voice (es-MX, HildaRUS)",r["fi-FI"]="Microsoft Server Speech Text to Speech Voice (fi-FI, HeidiRUS)",r["fr-CA"]="Microsoft Server Speech Text to Speech Voice (fr-CA, HarmonieRUS)",r["fr-CH"]="Microsoft Server Speech Text to Speech Voice (fr-CH, Guillaume)",r["fr-FR"]="Microsoft Server Speech Text to Speech Voice (fr-FR, HortenseRUS)",r["he-IL"]="Microsoft Server Speech Text to Speech Voice (he-IL, Asaf)",r["hi-IN"]="Microsoft Server Speech Text to Speech Voice (hi-IN, Kalpana)",r["hr-HR"]="Microsoft Server Speech Text to Speech Voice (hr-HR, Matej)",r["hu-HU"]="Microsoft Server Speech Text to Speech Voice (hu-HU, Szabolcs)",r["id-ID"]="Microsoft Server Speech Text to Speech Voice (id-ID, Andika)",r["it-IT"]="Microsoft Server Speech Text to Speech Voice (it-IT, LuciaRUS)",r["ja-JP"]="Microsoft Server Speech Text to Speech Voice (ja-JP, HarukaRUS)",r["ko-KR"]="Microsoft Server Speech Text to Speech Voice (ko-KR, HeamiRUS)",r["ms-MY"]="Microsoft Server Speech Text to Speech Voice (ms-MY, Rizwan)",r["nb-NO"]="Microsoft Server Speech Text to Speech Voice (nb-NO, HuldaRUS)",r["nl-NL"]="Microsoft Server Speech Text to Speech Voice (nl-NL, HannaRUS)",r["pl-PL"]="Microsoft Server Speech Text to Speech Voice (pl-PL, PaulinaRUS)",r["pt-BR"]="Microsoft Server Speech Text to Speech Voice (pt-BR, HeloisaRUS)",r["pt-PT"]="Microsoft Server Speech Text to Speech Voice (pt-PT, HeliaRUS)",r["ro-RO"]="Microsoft Server Speech Text to Speech Voice (ro-RO, Andrei)",r["ru-RU"]="Microsoft Server Speech Text to Speech Voice (ru-RU, EkaterinaRUS)",r["sk-SK"]="Microsoft Server Speech Text to Speech Voice (sk-SK, Filip)",r["sl-SI"]="Microsoft Server Speech Text to Speech Voice (sl-SI, Lado)",r["sv-SE"]="Microsoft Server Speech Text to Speech Voice (sv-SE, HedvigRUS)",r["ta-IN"]="Microsoft Server Speech Text to Speech Voice (ta-IN, Valluvar)",r["te-IN"]="Microsoft Server Speech Text to Speech Voice (te-IN, Chitra)",r["th-TH"]="Microsoft Server Speech Text to Speech Voice (th-TH, Pattara)",r["tr-TR"]="Microsoft Server Speech Text to Speech Voice (tr-TR, SedaRUS)",r["vi-VN"]="Microsoft Server Speech Text to Speech Voice (vi-VN, An)",r["zh-CN"]="Microsoft Server Speech Text to Speech Voice (zh-CN, HuihuiRUS)",r["zh-HK"]="Microsoft Server Speech Text to Speech Voice (zh-HK, TracyRUS)",r["zh-TW"]="Microsoft Server Speech Text to Speech Voice (zh-TW, HanHanRUS)",r),i=this.properties.getProperty(p.PropertyId.SpeechServiceConnection_SynthLanguage,"en-US"),o=this.properties.getProperty(p.PropertyId.SpeechServiceConnection_SynthVoice,""),a=e.XMLEncode(t);return this.autoDetectSourceLanguage?i="en-US":o=o||n[i],o&&(a="<voice name='"+o+"'>"+a+"</voice>"),a="<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='"+i+"'>"+a+"</speak>"},e.prototype.speakTextAsync=function(e,t,r,n){this.speakImpl(e,!1,t,r,n)},e.prototype.speakSsmlAsync=function(e,t,r,n){this.speakImpl(e,!0,t,r,n)},e.prototype.close=function(e,t){l.Contracts.throwIfDisposed(this.privDisposed),a.marshalPromiseToCallbacks(this.dispose(!0),e,t)},Object.defineProperty(e.prototype,"internalData",{get:function(){return this.privAdapter}
2,enumerable:!1,configurable:!0}),e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return this.privDisposed?[2]:e&&this.privAdapter?[4,this.privAdapter.dispose()]:[3,2];case 1:t.sent(),t.label=2;case 2:return this.privDisposed=!0,[2]}}))}))},e.prototype.createSynthesizerConfig=function(e){return new o.SynthesizerConfig(e,this.privProperties)},e.prototype.createSynthesisAdapter=function(e,t,r,n){return new o.SynthesisAdapterBase(e,t,n,this,this.audioConfig)},e.prototype.implCommonSynthesizeSetup=function(){var e=this,t="undefined"!==typeof window?"Browser":"Node",r="unknown",n="unknown";"undefined"!==typeof navigator&&(t=t+"/"+navigator.platform,r=navigator.userAgent,n=navigator.appVersion);var i=this.createSynthesizerConfig(new o.SpeechServiceConfig(new o.Context(new o.OS(t,r,n)))),a=this.privProperties.getProperty(p.PropertyId.SpeechServiceConnection_Key,void 0),s=a&&""!==a?new o.CognitiveSubscriptionKeyAuthentication(a):new o.CognitiveTokenAuthentication((function(t){var r=e.privProperties.getProperty(p.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}),(function(t){var r=e.privProperties.getProperty(p.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(r)}));this.privAdapter=this.createSynthesisAdapter(s,this.privConnectionFactory,this.audioConfig,i),this.privAdapter.audioOutputFormat=u.AudioOutputFormatImpl.fromSpeechSynthesisOutputFormat(p.SpeechSynthesisOutputFormat[this.properties.getProperty(p.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)])},e.prototype.speakImpl=function(e,t,r,n,i){var o=this;try{l.Contracts.throwIfDisposed(this.privDisposed);var u=a.createNoDashGuid(),f=void 0;f=i instanceof p.PushAudioOutputStreamCallback?new c.PushAudioOutputStreamImpl(i):i instanceof p.PullAudioOutputStream?i:void 0!==i?new s.AudioFileWriter(i):void 0,this.synthesisRequestQueue.enqueue(new d(u,e,t,(function(e){if(o.privSynthesizing=!1,r)try{r(e)}catch(e){n&&n(e)}r=void 0,o.adapterSpeak().catch((function(){}))}),(function(e){n&&n(e)}),f)),this.adapterSpeak().catch((function(){}))}catch(v){if(n)if(v instanceof Error){var h=v;n(h.name+": "+h.message)}else n(v);this.dispose(!0).catch((function(){}))}},e.prototype.adapterSpeak=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return this.privDisposed||this.privSynthesizing?[3,2]:(this.privSynthesizing=!0,[4,this.synthesisRequestQueue.dequeue()]);case 1:return e=t.sent(),[2,this.privAdapter.Speak(e.text,e.isSSML,e.requestId,e.cb,e.err,e.dataStream)];case 2:return[2]}}
2))}))},e.XMLEncode=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")},e}();t.SpeechSynthesizer=f;var d=function(e,t,r,n,i,o){this.requestId=e,this.text=t,this.isSSML=r,this.cb=n,this.err=i,this.dataStream=o};t.SynthesisRequest=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisResult=void 0;var n=function(){function e(e,t,r,n,i){this.privResultId=e,this.privReason=t,this.privAudioData=r,this.privErrorDetails=n,this.privProperties=i}return Object.defineProperty(e.prototype,"resultId",{get:function(){return this.privResultId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reason",{get:function(){return this.privReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"audioData",{get:function(){return this.privAudioData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errorDetails",{get:function(){return this.privErrorDetails},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),e}();t.SpeechSynthesisResult=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisEventArgs=void 0;var n=function(){function e(e){this.privResult=e}return Object.defineProperty(e.prototype,"result",{get:function(){return this.privResult},enumerable:!1,configurable:!0}),e}();t.SpeechSynthesisEventArgs=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisWordBoundaryEventArgs=void 0;var n=function(){function e(e,t,r,n){this.privAudioOffset=e,this.privText=t,this.privWordLength=r,this.privTextOffset=n}return Object.defineProperty(e.prototype,"audioOffset",{get:function(){return this.privAudioOffset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.privText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wordLength",{get:function(){return this.privWordLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textOffset",{get:function(){return this.privTextOffset},enumerable:!1,configurable:!0}),e}();t.SpeechSynthesisWordBoundaryEventArgs=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisBookmarkEventArgs=void 0;var n=function(){function e(e,t){this.privAudioOffset=e,this.privText=t}return Object.defineProperty(e.prototype,"audioOffset",{get:function(){return this.privAudioOffset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.privText},enumerable:!1,configurable:!0}),e}();t.SpeechSynthesisBookmarkEventArgs=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisVisemeEventArgs=void 0;var n=function(){function e(e,t,r){this.privAudioOffset=e,this.privVisemeId=t,this.privAnimation=r}return Object.defineProperty(e.prototype,"audioOffset",{get:function(){return this.privAudioOffset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visemeId",{get:function(){return this.privVisemeId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animation",{get:function(){return this.privAnimation},enumerable:!1,configurable:!0}),e}();t.SpeechSynthesisVisemeEventArgs=n},function(e,t,r){"use strict";var n,i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};
2Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerAudioDestination=void 0;var a=r(17),s=r(16),u=r(195),c=r(142),l=((n={})[c.AudioFormatTag.PCM]="audio/wav",n[c.AudioFormatTag.MuLaw]="audio/x-wav",n[c.AudioFormatTag.MP3]="audio/mpeg",n[c.AudioFormatTag.OGG_OPUS]="audio/ogg",n[c.AudioFormatTag.WEBM_OPUS]="audio/webm; codecs=opus",n[c.AudioFormatTag.ALaw]="audio/x-wav",n),p=function(){function e(e){this.privPlaybackStarted=!1,this.privAppendingToBuffer=!1,this.privMediaSourceOpened=!1,this.privBytesReceived=0,this.privId=e||s.createNoDashGuid(),this.privIsPaused=!1,this.privIsClosed=!1}return e.prototype.id=function(){return this.privId},e.prototype.write=function(e,t,r){void 0!==this.privAudioBuffer?(this.privAudioBuffer.push(e),this.updateSourceBuffer().then((function(){t&&t()}),(function(e){r&&r(e)}))):void 0!==this.privAudioOutputStream&&(this.privAudioOutputStream.write(e),this.privBytesReceived+=e.byteLength)},e.prototype.close=function(e,t){var r=this;if(this.privIsClosed=!0,void 0!==this.privSourceBuffer)this.handleSourceBufferUpdateEnd().then((function(){e&&e()}),(function(e){t&&t(e)}));else if(void 0!==this.privAudioOutputStream)if(this.privFormat.formatTag!==c.AudioFormatTag.PCM&&this.privFormat.formatTag!==c.AudioFormatTag.MuLaw&&this.privFormat.formatTag!==c.AudioFormatTag.ALaw||!1!==this.privFormat.hasHeader){var n=new ArrayBuffer(this.privBytesReceived);this.privAudioOutputStream.read(n).then((function(i){n=a.SynthesisAdapterBase.addHeader(n,r.privFormat);var o=new Blob([n],{type:l[r.privFormat.formatTag]});r.privAudio.src=window.URL.createObjectURL(o),r.notifyPlayback().then((function(){e&&e()}),(function(e){t&&t(e)}))}),(function(e){t&&t(e)}))}else console.warn("Play back is not supported for raw PCM, mulaw or alaw format without header."),this.onAudioEnd&&this.onAudioEnd(this);else this.onAudioEnd&&this.onAudioEnd(this)},Object.defineProperty(e.prototype,"format",{set:function(e){var t=this;if("undefined"!==typeof AudioContext||"undefined"!==typeof window.webkitAudioContext){this.privFormat=e;var r=l[this.privFormat.formatTag];void 0===r?console.warn("Unknown mimeType for format "+c.AudioFormatTag[this.privFormat.formatTag]+"; playback is not supported."):"undefined"!==typeof MediaSource&&MediaSource.isTypeSupported(r)?(this.privAudio=new Audio,this.privAudioBuffer=[],this.privMediaSource=new MediaSource,this.privAudio.src=URL.createObjectURL(this.privMediaSource),this.privAudio.load(),this.privMediaSource.onsourceopen=function(e){t.privMediaSourceOpened=!0,t.privMediaSource.duration=1800,t.privSourceBuffer=t.privMediaSource.addSourceBuffer(r),t.privSourceBuffer.onupdate=function(e){t.updateSourceBuffer().catch((function(e){s.Events.instance.onEvent(new s.BackgroundEvent(e))}))},t.privSourceBuffer.onupdateend=function(e){t.handleSourceBufferUpdateEnd().catch((function(e){s.Events.instance.onEvent(new s.BackgroundEvent(e))}))},t.privSourceBuffer.onupdatestart=function(e){t.privAppendingToBuffer=!1}},this.updateSourceBuffer().catch((function(e){s.Events.instance.onEvent(new s.BackgroundEvent(e))}))):(console.warn("Format "+c.AudioFormatTag[this.privFormat.formatTag]+" could not be played by MSE, streaming playback is not enabled."),this.privAudioOutputStream=new u.PullAudioOutputStreamImpl,this.privAudioOutputStream.format=this.privFormat,this.privAudio=new Audio)}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isClosed",{get:function(){return this.privIsClosed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTime",{get:function(){return void 0!==this.privAudio?this.privAudio.currentTime:-1},enumerable:!1,configurable:!0}),e.prototype.pause=function(){this.privIsPaused||void 0===this.privAudio||(this.privAudio.pause(),this.privIsPaused=!0)},e.prototype.resume=function(e,t){this.privIsPaused&&void 0!==this.privAudio&&(this.privAudio.play().then((function(){e&&e()}),(function(e){t&&t(e)})),this.privIsPaused=!1)},Object.defineProperty(e.prototype,"internalAudio",{get:function(){return this.privAudio},enumerable:!1,configurable:!0}),e.prototype.updateSourceBuffer=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:if(!(void 0!==this.privAudioBuffer&&this.privAudioBuffer.length>0&&this.sourceBufferAvailable()))return[3,2];this.privAppendingToBuffer=!0,e=this.privAudioBuffer.shift();try{this.privSourceBuffer.appendBuffer(e)}catch(r){return this.privAudioBuffer.unshift(e),console.log("buffer filled, pausing addition of binaries until space is made"),[2]}return[4,this.notifyPlayback()];case 1:return t.sent(),[3,4];case 2:return this.canEndStream()?[4,this.handleSourceBufferUpdateEnd()]:[3,4];case 3:t.sent(),t.label=4;case 4:return[2]}}
2))}))},e.prototype.handleSourceBufferUpdateEnd=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return this.canEndStream()&&this.sourceBufferAvailable()?(this.privMediaSource.endOfStream(),[4,this.notifyPlayback()]):[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.notifyPlayback=function(){return i(this,void 0,void 0,(function(){var e=this;return o(this,(function(t){switch(t.label){case 0:return this.privPlaybackStarted||void 0===this.privAudio?[3,2]:(this.privPlaybackStarted=!0,this.onAudioStart&&this.onAudioStart(this),this.privAudio.onended=function(){e.onAudioEnd&&e.onAudioEnd(e)},this.privIsPaused?[3,2]:[4,this.privAudio.play()]);case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},e.prototype.canEndStream=function(){return this.isClosed&&void 0!==this.privSourceBuffer&&0===this.privAudioBuffer.length&&this.privMediaSourceOpened&&!this.privAppendingToBuffer&&"open"===this.privMediaSource.readyState},e.prototype.sourceBufferAvailable=function(){return void 0!==this.privSourceBuffer&&!this.privSourceBuffer.updating},e}();t.SpeakerAudioDestination=p},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranscriptionCanceledEventArgs=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(r(460).CancellationEventArgsBase);t.ConversationTranscriptionCanceledEventArgs=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PronunciationAssessmentGradingSystem=void 0,function(e){e[e.FivePoint=1]="FivePoint",e[e.HundredMark=2]="HundredMark"}(t.PronunciationAssessmentGradingSystem||(t.PronunciationAssessmentGradingSystem={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PronunciationAssessmentGranularity=void 0,function(e){e[e.Phoneme=1]="Phoneme",e[e.Word=2]="Word",e[e.FullText=3]="FullText"}(t.PronunciationAssessmentGranularity||(t.PronunciationAssessmentGranularity={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PronunciationAssessmentConfig=void 0;var n=r(27),i=r(12),o=function(){function e(e,t,r,o){void 0===t&&(t=i.PronunciationAssessmentGradingSystem.FivePoint),void 0===r&&(r=i.PronunciationAssessmentGranularity.Phoneme),void 0===o&&(o=!1),n.Contracts.throwIfNullOrUndefined(e,"referenceText"),this.privProperties=new i.PropertyCollection,this.privProperties.setProperty(i.PropertyId.PronunciationAssessment_ReferenceText,e),this.privProperties.setProperty(i.PropertyId.PronunciationAssessment_GradingSystem,i.PronunciationAssessmentGradingSystem[t]),this.privProperties.setProperty(i.PropertyId.PronunciationAssessment_Granularity,i.PronunciationAssessmentGranularity[r]),this.privProperties.setProperty(i.PropertyId.PronunciationAssessment_EnableMiscue,String(o))}return e.fromJSON=function(t){n.Contracts.throwIfNullOrUndefined(t,"json");var r=new e("");return r.privProperties=new i.PropertyCollection,r.properties.setProperty(i.PropertyId.PronunciationAssessment_Json,t),r},e.prototype.toJSON=function(){return this.updateJson(),this.privProperties.getProperty(i.PropertyId.PronunciationAssessment_Params)},e.prototype.applyTo=function(e){this.updateJson(),e.internalData.speechContext.setPronunciationAssessmentParams(this.properties.getProperty(i.PropertyId.PronunciationAssessment_Params))},Object.defineProperty(e.prototype,"referenceText",{get:function(){return this.properties.getProperty(i.PropertyId.PronunciationAssessment_ReferenceText)},set:function(e){n.Contracts.throwIfNullOrWhitespace(e,"referenceText"),this.properties.setProperty(i.PropertyId.PronunciationAssessment_ReferenceText,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"properties",{get:function(){return this.privProperties}
2,enumerable:!1,configurable:!0}),e.prototype.updateJson=function(){var e=this.privProperties.getProperty(i.PropertyId.PronunciationAssessment_Json,"{}"),t=JSON.parse(e),r=this.privProperties.getProperty(i.PropertyId.PronunciationAssessment_ReferenceText);r&&(t.referenceText=r);var n=this.privProperties.getProperty(i.PropertyId.PronunciationAssessment_GradingSystem);n&&(t.gradingSystem=n);var o=this.privProperties.getProperty(i.PropertyId.PronunciationAssessment_Granularity);o&&(t.granularity=o),t.dimension="Comprehensive";var a=this.privProperties.getProperty(i.PropertyId.PronunciationAssessment_EnableMiscue);"true"===a?t.enableMiscue=!0:"false"===a&&(t.enableMiscue=!1),this.privProperties.setProperty(i.PropertyId.PronunciationAssessment_Params,JSON.stringify(t))},e}();t.PronunciationAssessmentConfig=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PronunciationAssessmentResult=void 0;var n=r(27),i=r(12),o=function(){function e(e){var t=JSON.parse(e);n.Contracts.throwIfNullOrUndefined(t.NBest[0],"NBest"),this.privPronJson=t.NBest[0]}return e.fromResult=function(t){n.Contracts.throwIfNullOrUndefined(t,"result");var r=t.properties.getProperty(i.PropertyId.SpeechServiceResponse_JsonResult);return n.Contracts.throwIfNullOrUndefined(r,"json"),new e(r)},Object.defineProperty(e.prototype,"detailResult",{get:function(){return this.privPronJson},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accuracyScore",{get:function(){return this.detailResult.PronunciationAssessment.AccuracyScore},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pronunciationScore",{get:function(){return this.detailResult.PronunciationAssessment.PronScore},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"completenessScore",{get:function(){return this.detailResult.PronunciationAssessment.CompletenessScore},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fluencyScore",{get:function(){return this.detailResult.PronunciationAssessment.FluencyScore},enumerable:!1,configurable:!0}),e}();t.PronunciationAssessmentResult=o},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceRecognizerBase=void 0;var o=r(85),a=r(16),s=r(12),u=r(17),c=r(333),l=function(){function e(t,r,o,l,p){var f=this;if(this.privSetTimeout=setTimeout,this.privIsLiveAudio=!1,this.recognizeOverride=void 0,this.disconnectOverride=void 0,this.receiveMessageOverride=void 0,this.sendSpeechContext=function(e){var t=f.
2speechContext.toJSON();if(t)return e.send(new c.SpeechConnectionMessage(a.MessageType.Text,"speech.context",f.privRequestSession.requestId,"application/json",t))},this.sendPrePayloadJSONOverride=void 0,this.postConnectImplOverride=void 0,this.configConnectionOverride=void 0,this.sendSpeechServiceConfig=function(t,r,n){if(!0!==e.telemetryDataEnabled){var i={context:{system:JSON.parse(n).context.system}};n=JSON.stringify(i)}if("true"===f.privRecognizerConfig.parameters.getProperty("TranscriptionService_SingleChannel","false").toLowerCase()){var o=JSON.parse(n);o.context.DisableReferenceChannel="True",o.context.MicSpec="1_0_0",n=JSON.stringify(o)}if(n)return t.send(new c.SpeechConnectionMessage(a.MessageType.Text,"speech.config",r.requestId,"application/json",n))},!t)throw new a.ArgumentNullError("authentication");if(!r)throw new a.ArgumentNullError("connectionFactory");if(!o)throw new a.ArgumentNullError("audioSource");if(!l)throw new a.ArgumentNullError("recognizerConfig");this.privMustReportEndOfStream=!1,this.privAuthentication=t,this.privConnectionFactory=r,this.privAudioSource=o,this.privRecognizerConfig=l,this.privIsDisposed=!1,this.privRecognizer=p,this.privRequestSession=new u.RequestSession(this.privAudioSource.id()),this.privConnectionEvents=new a.EventSource,this.privServiceEvents=new a.EventSource,this.privDynamicGrammar=new u.DynamicGrammarBuilder,this.privSpeechContext=new u.SpeechContext(this.privDynamicGrammar),this.privAgentConfig=new u.AgentConfig,"undefined"!==typeof Blob&&"undefined"!==typeof Worker&&(this.privSetTimeout=a.Timeout.setTimeout),this.connectionEvents.attach((function(e){return n(f,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return"ConnectionClosedEvent"!==e.name?[3,2]:1003===(t=e).statusCode||1007===t.statusCode||1002===t.statusCode||4e3===t.statusCode||this.privRequestSession.numConnectionAttempts>this.privRecognizerConfig.maxRetryCount?[4,this.cancelRecognitionLocal(s.CancellationReason.Error,1007===t.statusCode?s.CancellationErrorCode.BadRequestParameters:s.CancellationErrorCode.ConnectionFailure,t.reason+" websocket error code: "+t.statusCode)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}
2))}))}))}return Object.defineProperty(e.prototype,"audioSource",{get:function(){return this.privAudioSource},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"speechContext",{get:function(){return this.privSpeechContext},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dynamicGrammar",{get:function(){return this.privDynamicGrammar},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"agentConfig",{get:function(){return this.privAgentConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"conversationTranslatorToken",{set:function(e){this.privRecognizerConfig.parameters.setProperty(s.PropertyId.ConversationTranslator_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authentication",{set:function(e){this.privAuthentication=this.authentication},enumerable:!1,configurable:!0}),e.prototype.isDisposed=function(){return this.privIsDisposed},e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:if(this.privIsDisposed=!0,!this.privConnectionConfigurationPromise)return[3,5];t.label=1;case 1:return t.trys.push([1,4,,5]),[4,this.privConnectionConfigurationPromise];case 2:return[4,t.sent().dispose(e)];case 3:return t.sent(),[3,5];case 4:return t.sent(),[2];case 5:return[2]}}
2))}))},Object.defineProperty(e.prototype,"connectionEvents",{get:function(){return this.privConnectionEvents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serviceEvents",{get:function(){return this.privServiceEvents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"recognitionMode",{get:function(){return this.privRecognizerConfig.recognitionMode},enumerable:!1,configurable:!0}),e.prototype.recognize=function(e,t,r){return n(this,void 0,void 0,(function(){var a,c,l,p,f,d,h,v,m=this;return i(this,(function(y){switch(y.label){case 0:if(void 0!==this.recognizeOverride)return[2,this.recognizeOverride(e,t,r)];this.privConnectionConfigurationPromise=null,this.privRecognizerConfig.recognitionMode=e,this.privSuccessCallback=t,this.privErrorCallback=r,this.privRequestSession.startNewRecognition(),this.privRequestSession.listenForServiceTelemetry(this.privAudioSource.events),a=this.connectImpl(),y.label=1;case 1:return y.trys.push([1,6,,8]),[4,this.audioSource.attach(this.privRequestSession.audioNodeId)];case 2:return l=y.sent(),[4,this.audioSource.format];case 3:return p=y.sent(),[4,this.audioSource.deviceInfo];case 4:return f=y.sent(),this.privIsLiveAudio=f.type&&f.type===u.type.Microphones,c=new o.ReplayableAudioNode(l,p.avgBytesPerSec),[4,this.privRequestSession.onAudioSourceAttachCompleted(c,!1)];case 5:return y.sent(),this.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:f},[3,8];case 6:return d=y.sent(),[4,this.privRequestSession.onStopRecognizing(
2)];case 7:throw y.sent(),d;case 8:return y.trys.push([8,10,,12]),[4,a];case 9:return y.sent(),[3,12];case 10:return h=y.sent(),[4,this.cancelRecognitionLocal(s.CancellationReason.Error,s.CancellationErrorCode.ConnectionFailure,h)];case 11:return y.sent(),[2];case 12:return v=new s.SessionEventArgs(this.privRequestSession.sessionId),this.privRecognizer.sessionStarted&&this.privRecognizer.sessionStarted(this.privRecognizer,v),this.receiveMessage(),this.sendAudio(c).catch((function(e){return n(m,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.cancelRecognitionLocal(s.CancellationReason.Error,s.CancellationErrorCode.RuntimeError,e)];case 1:return t.sent(),[2]}}))}))})),[2]}}))}))},e.prototype.stopRecognizing=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:if(!this.privRequestSession.isRecognizing)return[3,8];e.label=1;case 1:return e.trys.push([1,,6,8]),[4,this.audioSource.turnOff()];case 2:return e.sent(),[4,this.sendFinalAudio()];case 3:return e.sent(),[4,this.privRequestSession.onStopRecognizing(
2)];case 4:return e.sent(),[4,this.privRequestSession.turnCompletionPromise];case 5:return e.sent(),[3,8];case 6:return[4,this.privRequestSession.dispose()];case 7:return e.sent(),[7];case 8:return[2]}}))}))},e.prototype.connect=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.connectImpl()];case 1:return e.sent(),[2,Promise.resolve()]}}))}))},e.prototype.connectAsync=function(e,t){this.connectImpl().then((function(r){try{e&&e()}catch(n){t&&t(n)}}),(function(e){try{t&&t(e)}catch(r){}}))},e.prototype.disconnect=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.cancelRecognitionLocal(s.CancellationReason.Error,s.CancellationErrorCode.NoError,"Disconnecting")];case 1:return e.sent(),void 0===this.disconnectOverride?[3,3]:[4,this.disconnectOverride()];case 2:e.sent(),e.label=3;case 3:return e.trys.push([3,6,,7]),[4,this.privConnectionPromise];case 4:return[4,e.sent().dispose()];case 5:return e.sent(),[3,7];case 6:return e.sent(),[3,7];case 7:return this.privConnectionPromise=null,[2]}}))}))},e.prototype.sendMessage=function(e){},e.prototype.sendNetworkMessage=function(e,t){return n(this,void 0,void 0,(function(){var r,n;return i(this,(function(i){switch(i.label){case 0:return r="string"===typeof t?a.MessageType.Text:a.MessageType.Binary,n="string"===typeof t?"application/json":"",[4,this.fetchConnection()];case 1:return[2,i.sent().send(new c.SpeechConnectionMessage(r,e,this.privRequestSession.requestId,n,t))]}}))}))},Object.defineProperty(e.prototype,"activityTemplate",{get:function(){return this.privActivityTemplate},set:function(e){this.privActivityTemplate=e},enumerable:!1,configurable:!0}),e.prototype.sendTelemetryData=function(){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:if(t=this.privRequestSession.getTelemetry(),!0!==e.telemetryDataEnabled||this.privIsDisposed||null===t)return[2];if(e.telemetryData)try{e.telemetryData(t)}catch(n){}return[4,this.fetchConnection()];case 1:return[4,r.sent().send(new c.SpeechConnectionMessage(a.MessageType.Text,"telemetry",this.privRequestSession.requestId,"application/json",t))];case 2:return r.sent(),[2]}}))}))},e.prototype.cancelRecognitionLocal=function(e,t,r){return n(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return this.privRequestSession.isRecognizing?[4,this.privRequestSession.onStopRecognizing(
2)]:[3,2];case 1:n.sent(),this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,e,t,r),n.label=2;case 2:return[2]}}))}))},e.prototype.receiveMessage=function(){return n(this,void 0,void 0,(function(){var e,t,r,n,o,l,p,f,d;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,18,,19]),this.privIsDisposed?[2]:[4,this.fetchConnection()];case 1:return[4,(e=i.sent()).read()];case 2:if(t=i.sent(),void 0!==this.receiveMessageOverride)return[2,this.receiveMessageOverride()];if(!t)return this.privRequestSession.isRecognizing?[2,this.receiveMessage()]:[2];if(this.privServiceHasSentMessage=!0,(r=c.SpeechConnectionMessage.fromConnectionMessage(t)).requestId.toLowerCase()!==this.privRequestSession.requestId.toLowerCase())return[3,17];switch(r.path.toLowerCase()){case"turn.start":return[3,3];case"speech.startdetected":return[3,4];case"speech.enddetected":return[3,5];case"turn.end":return[3,6]}return[3,15];case 3:return this.privMustReportEndOfStream=!0,this.privRequestSession.onServiceTurnStartResponse(),[3,17];case 4:return n=u.SpeechDetected.fromJSON(r.textBody),o=new s.RecognitionEventArgs(n.Offset,this.privRequestSession.sessionId),this.privRecognizer.speechStartDetected&&this.privRecognizer.speechStartDetected(this.privRecognizer,o),[3,17];case 5:return l=void 0,l=r.textBody.length>0?r.textBody:"{ Offset: 0 }",p=u.SpeechDetected.fromJSON(l),this.privRecognizerConfig.isContinuousRecognition&&this.privRequestSession.onServiceRecognized(p.Offset+this.privRequestSession.currentTurnAudioOffset),f=new s.RecognitionEventArgs(p.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privRecognizer.speechEndDetected&&this.privRecognizer.speechEndDetected(this.privRecognizer,f),[3,17];case 6:return[4,this.sendTelemetryData()];case 7:return i.sent(),this.privRequestSession.isSpeechEnded&&this.privMustReportEndOfStream?(this.privMustReportEndOfStream=!1,[4,this.cancelRecognitionLocal(s.CancellationReason.EndOfStream,s.CancellationErrorCode.NoError,void 0)]):[3,9];case 8:i.sent(),i.label=9;case 9:return d=new s.SessionEventArgs(this.privRequestSession.sessionId),[4,this.privRequestSession.onServiceTurnEndResponse(this.privRecognizerConfig.isContinuousRecognition)];case 10:return i.sent(),this.privRecognizerConfig.isContinuousRecognition&&!this.privRequestSession.isSpeechEnded&&this.privRequestSession.isRecognizing?[3,11]:(this.privRecognizer.sessionStopped&&this.privRecognizer.sessionStopped(this.privRecognizer,d),[2]);case 11:return[4,this.fetchConnection()];case 12:return e=i.sent(),[4,this.sendPrePayloadJSON(e)];case 13:i.sent(),i.label=14;case 14:return[3,17];case 15:return[4,this.processTypeSpecificMessages(r)];case 16:i.sent()||this.privServiceEvents&&this.serviceEvents.onEvent(new a.ServiceEvent(r.path.toLowerCase(),r.textBody)),i.label=17;case 17:return[2,this.receiveMessage()];case 18:return i.sent(),[2,null];case 19:return[2]}}
2))}))},e.prototype.sendPrePayloadJSON=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return void 0!==this.sendPrePayloadJSONOverride?[2,this.sendPrePayloadJSONOverride(e)]:[4,this.sendSpeechContext(e)];case 1:return t.sent(),[4,this.sendWaveHeader(e)];case 2:return t.sent(),[2]}}))}))},e.prototype.sendWaveHeader=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return[4,this.audioSource.format];case 1:return t=r.sent(),[2,e.send(new c.SpeechConnectionMessage(a.MessageType.Binary,"audio",this.privRequestSession.requestId,"audio/x-wav",t.header))]}}))}))},e.prototype.connectImpl=function(){var e=this;return this.privConnectionPromise?this.privConnectionPromise.then((function(t){return t.state()===a.ConnectionState.Disconnected?(e.privConnectionId=null,e.privConnectionPromise=null,e.privServiceHasSentMessage=!1,e.connectImpl()):e.privConnectionPromise}),(function(t){return e.privConnectionId=null,e.privConnectionPromise=null,e.privServiceHasSentMessage=!1,e.connectImpl()})):(this.privConnectionPromise=this.retryableConnect(),this.privConnectionPromise.catch((function(){})),void 0!==this.postConnectImplOverride?this.postConnectImplOverride(this.privConnectionPromise):this.privConnectionPromise)},e.prototype.fetchConnection=function(){return n(this,void 0,void 0,(function(){var e=this;return i(this,(function(t){switch(t.label){case 0:return this.privConnectionConfigurationPromise?[2,this.privConnectionConfigurationPromise.then((function(t){return t.state()===a.ConnectionState.Disconnected?(e.privConnectionId=null,e.privConnectionConfigurationPromise=null,e.privServiceHasSentMessage=!1,e.fetchConnection()):e.privConnectionConfigurationPromise}),(function(t){return e.privConnectionId=null,e.privConnectionConfigurationPromise=null,e.privServiceHasSentMessage=!1,e.fetchConnection()}))]:(this.privConnectionConfigurationPromise=this.configureConnection(),[4,this.privConnectionConfigurationPromise]);case 1:return[2,t.sent()]}}))}))},e.prototype.sendAudio=function(e){return n(this,void 0,void 0,(function(){var t,r,o,s,u,l,p=this;return i(this,(function(f){switch(f.label){case 0:return[4,this.audioSource.format];case 1:return t=f.sent(),r=Date.now(),o=this.privRecognizerConfig.parameters.getProperty("SPEECH-TransmitLengthBeforThrottleMs","5000"),s=t.avgBytesPerSec/1e3*parseInt(o,10),u=this.privRequestSession.recogNumber,[2,(l=function(){return n(p,void 0,void 0,(function(){var n,o,p,f,d=this;return i(this,(function(i){switch(i.label){case 0:return this.privIsDisposed||this.privRequestSession.isSpeechEnded||!this.privRequestSession.isRecognizing||this.privRequestSession.recogNumber!==u?[3,5]:[4,this.fetchConnection()];case 1:return n=i.sent(),[4,e.read()];case 2:return o=i.sent(),this.privRequestSession.isSpeechEnded?[2]:(p=void 0,f=void 0,!o||o.isEnd?(p=null,f=0):(p=o.buffer,this.privRequestSession.onAudioSent(p.byteLength),f=s>=this.privRequestSession.bytesSent?0:Math.max(0,r-Date.now())),0===f?[3,4]:[4,this.delay(f)]);case 3:i.sent(),i.label=4;case 4:if(null!==p&&(r=Date.now()+1e3*p.byteLength/(2*t.avgBytesPerSec)),!this.privIsDisposed&&!this.privRequestSession.isSpeechEnded&&this.privRequestSession.isRecognizing&&this.privRequestSession.recogNumber===u){if(n.send(new c.SpeechConnectionMessage(a.MessageType.Binary,"audio",this.privRequestSession.requestId,null,p)).catch((function(){d.privRequestSession.onServiceTurnEndResponse(d.privRecognizerConfig.isContinuousRecognition).catch((function(){}))})),!(null===o||void 0===o?void 0:o.isEnd))return[2,l()];this.privIsLiveAudio||this.privRequestSession.onSpeechEnded()}i.label=5;case 5:return[2]}}
2))}))})()]}}))}))},e.prototype.retryableConnect=function(){return n(this,void 0,void 0,(function(){var e,t,r,n,o,u,c,l=this;return i(this,(function(i){switch(i.label){case 0:e=!1,this.privAuthFetchEventId=a.createNoDashGuid(),t=this.privRequestSession.sessionId,this.privConnectionId=void 0!==t?t:a.createNoDashGuid(),this.privRequestSession.onPreConnectionStart(this.privAuthFetchEventId,this.privConnectionId),r=0,n="",i.label=1;case 1:return this.privRequestSession.numConnectionAttempts<=this.privRecognizerConfig.maxRetryCount?[4,e?this.privAuthentication.fetchOnExpiry(this.privAuthFetchEventId):this.privAuthentication.fetch(this.privAuthFetchEventId)]:[3,8];case 2:return o=i.sent(),[4,this.privRequestSession.onAuthCompleted(!1)];case 3:return i.sent(),u=this.privConnectionFactory.create(this.privRecognizerConfig,o,this.privConnectionId),this.privRequestSession.listenForServiceTelemetry(u.events),u.events.attach((function(e){l.connectionEvents.onEvent(e)})),[4,u.open()];case 4:return 200!==(c=i.sent()).statusCode?[3,6]:[4,this.privRequestSession.onConnectionEstablishCompleted(c.statusCode)];case 5:return i.sent(),[2,Promise.resolve(u)];case 6:1006===c.statusCode&&(e=!0),i.label=7;case 7:return r=c.statusCode,n=c.reason,this.privRequestSession.onRetryConnection(),[3,1];case 8:return[4,this.privRequestSession.onConnectionEstablishCompleted(r,n)];case 9:return i.sent(),[2,Promise.reject("Unable to contact server. StatusCode: "+r+", "+this.privRecognizerConfig.parameters.getProperty(s.PropertyId.SpeechServiceConnection_Endpoint)+" Reason: "+n)]}}))}))},e.prototype.delay=function(e){var t=this;return new Promise((function(r,n){t.privSetTimeout(r,e)}))},e.prototype.writeBufferToConsole=function(e){var t="Buffer Size: ";if(null===e)t+="null";else{var r=new Uint8Array(e);t+=e.byteLength+"\r\n";for(var n=0;n<e.byteLength;n++)t+=r[n].toString(16).padStart(2,"0")+" "}console.info(t)},e.prototype.sendFinalAudio=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.fetchConnection()];case 1:return[4,e.sent().send(new c.SpeechConnectionMessage(a.MessageType.Binary,"audio",this.privRequestSession.requestId,null,null))];case 2:return e.sent(),[2]}}))}))},e.prototype.configureConnection=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return[4,this.connectImpl()];case 1:return e=t.sent(),void 0!==this.configConnectionOverride?[2,this.configConnectionOverride(e)]:[4,this.sendSpeechServiceConfig(e,this.privRequestSession,this.privRecognizerConfig.SpeechServiceConfig.serialize())];case 2:return t.sent(),[4,this.sendPrePayloadJSON(e)];case 3:return t.sent(),[2,e]}}))}))},e.telemetryDataEnabled=!0,e}();t.ServiceRecognizerBase=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.type=t.connectivity=t.Device=t.OS=t.System=t.Context=t.SpeechServiceConfig=t.RecognizerConfig=t.SpeechResultFormat=t.RecognitionMode=void 0;var n,i=r(12);!function(e){e[e.Interactive=0]="Interactive",e[e.Conversation=1]="Conversation",e[e.Dictation=2]="Dictation"}(n=t.RecognitionMode||(t.RecognitionMode={})),function(e){e[e.Simple=0]="Simple",e[e.Detailed=1]="Detailed"}(t.SpeechResultFormat||(t.SpeechResultFormat={}));var o=function(){function e(e,t){this.privRecognitionMode=n.Interactive,this.privSpeechServiceConfig=e||new a(new s(null)),this.privParameters=t,this.privMaxRetryCount=parseInt(t.getProperty("SPEECH-Error-MaxRetryCount","4"),10)}return Object.defineProperty(e.prototype,"parameters",{get:function(){return this.privParameters},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"recognitionMode",{get:function(){return this.privRecognitionMode},set:function(e){this.privRecognitionMode=e,this.privRecognitionActivityTimeout=e===n.Interactive?8e3:25e3,this.privSpeechServiceConfig.Recognition=n[e]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SpeechServiceConfig",{get:function(){return this.privSpeechServiceConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"recognitionActivityTimeout",{get:function(){return this.privRecognitionActivityTimeout}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isContinuousRecognition",{get:function(){return this.privRecognitionMode!==n.Interactive},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"autoDetectSourceLanguages",{get:function(){return this.parameters.getProperty(i.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,void 0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxRetryCount",{get:function(){return this.privMaxRetryCount},enumerable:!1,configurable:!0}),e}();t.RecognizerConfig=o;var a=function(){function e(e){var t=this;this.serialize=function(){return JSON.stringify(t,(function(e,t){if(t&&"object"===typeof t){var r={};for(var n in t)Object.hasOwnProperty.call(t,n)&&(r[n&&n.charAt(0).toLowerCase()+n.substring(1)]=t[n]);return r}return t}))},this.context=e}return Object.defineProperty(e.prototype,"Context",{get:function(){return this.context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Recognition",{get:function(){return this.recognition},set:function(e){this.recognition=e.toLowerCase()},enumerable:!1,configurable:!0}),e}();t.SpeechServiceConfig=a;var s=function(e){this.system=new u,this.os=e};t.Context=s;var u=function(){this.name="SpeechSDK",this.version="1.17.0",this.build="JavaScript",this.lang="JavaScript"};t.System=u;var c=function(e,t,r){this.platform=e,this.name=t,this.version=r};t.OS=c;var l=function(e,t,r){this.manufacturer=e,this.model=t,this.version=r};t.Device=l,function(e){e.Bluetooth="Bluetooth",e.Wired="Wired",e.WiFi="WiFi",e.Cellular="Cellular",e.InBuilt="InBuilt",e.Unknown="Unknown"}(t.connectivity||(t.connectivity={})),function(e){e.Phone="Phone",e.Speaker="Speaker",e.Car="Car",e.Headset="Headset",e.Thermostat="Thermostat",e.Microphones="Microphones",e.Deskphone="Deskphone",e.RemoteControl="RemoteControl",e.Unknown="Unknown",e.File="File",e.Stream="Stream"}(t.type||(t.type={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketMessageFormatter=void 0;var n=r(16),i=function(){var e=this;this.toConnectionMessage=function(t){var r=new n.Deferred;try{if(t.messageType===n.MessageType.Text){var i=t.textContent,o={},a=null;if(i){var s=i.split("\r\n\r\n");s&&s.length>0&&(o=e.parseHeaders(s[0]),s.length>1&&(a=s[1]))}r.resolve(new n.ConnectionMessage(t.messageType,a,o,t.id))}else if(t.messageType===n.MessageType.Binary){var u=t.binaryContent;if(o={},a=null,!u||u.byteLength<2)throw new Error("Invalid binary message format. Header length missing.");var c=new DataView(u),l=c.getInt16(0);if(u.byteLength<l+2)throw new Error("Invalid binary message format. Header content missing.");for(var p="",f=0;f<l;f++)p+=String.fromCharCode(c.getInt8(f+2));o=e.parseHeaders(p),u.byteLength>l+2&&(a=u.slice(2+l)),r.resolve(new n.ConnectionMessage(t.messageType,a,o,t.id))}}catch(d){r.reject("Error formatting the message. Error: "+d)}return r.promise},this.fromConnectionMessage=function(t){var r=new n.Deferred;try{if(t.messageType===n.MessageType.Text){var i=e.makeHeaders(t)+"\r\n"+(t.textBody?t.textBody:"");r.resolve(new n.RawWebsocketMessage(n.MessageType.Text,i,t.id))}else if(t.messageType===n.MessageType.Binary){var o=e.makeHeaders(t),a=t.binaryBody,s=e.stringToArrayBuffer(o),u=new Int8Array(s),c=u.byteLength,l=new Int8Array(2+c+(a?a.byteLength:0));if(l[0]=c>>8&255,l[1]=255&c,l.set(u,2),a){var p=new Int8Array(a);l.set(p,2+c)}i=l.buffer,r.resolve(new n.RawWebsocketMessage(n.MessageType.Binary,i,t.id))}}catch(f){r.reject("Error formatting the message. "+f)}return r.promise},this.makeHeaders=function(e){var t="";if(e.headers)for(var r in e.headers)r&&(t+=r+": "+e.headers[r]+"\r\n");return t},this.parseHeaders=function(e){var t={};if(e){var r=e.match(/[^\r\n]+/g);if(t)for(var n=0,i=r;n<i.length;n++){var o=i[n];if(o){var a=o.indexOf(":"),s=a>0?o.substr(0,a).trim().toLowerCase():o,u=a>0&&o.length>a+1?o.substr(a+1).trim():"";t[s]=u}}}return t},this.stringToArrayBuffer=function(e){for(var t=new ArrayBuffer(e.length),r=new DataView(t),n=0;n<e.length;n++)r.setUint8(n,e.charCodeAt(n));return t}};t.WebsocketMessageFormatter=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();
2Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechConnectionFactory=void 0;var i=r(85),o=r(17),a=r(12),s=r(196),u=r(17),c=r(116),l=r(197),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.interactiveRelativeUri="/speech/recognition/interactive/cognitiveservices/v1",t.conversationRelativeUri="/speech/recognition/conversation/cognitiveservices/v1",t.dictationRelativeUri="/speech/recognition/dictation/cognitiveservices/v1",t.create=function(e,r,n){var s=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint,void 0),p=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Region,void 0),f=p&&p.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",d=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Host,"wss://"+p+".stt.speech"+f),h={},v=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_EndpointId,void 0),m=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage,void 0);if(v?s&&-1!==s.search(l.QueryParameterNames.CustomSpeechDeploymentId)||
2(h[l.QueryParameterNames.CustomSpeechDeploymentId]=v):m&&(s&&-1!==s.search(l.QueryParameterNames.Language)||(h[l.QueryParameterNames.Language]=m)),s&&-1!==s.search(l.QueryParameterNames.Format)||(h[l.QueryParameterNames.Format]=e.parameters.getProperty(o.OutputFormatPropertyName,a.OutputFormat[a.OutputFormat.Simple]).toLowerCase()),void 0!==e.autoDetectSourceLanguages&&(h[l.QueryParameterNames.EnableLanguageId]="true"),t.setCommonUrlParams(e,h,s),!s)switch(e.recognitionMode){case u.RecognitionMode.Conversation:s="true"===e.parameters.getProperty(o.ForceDictationPropertyName,"false")?d+t.dictationRelativeUri:d+t.conversationRelativeUri;break;case u.RecognitionMode.Dictation:s=d+t.dictationRelativeUri;break;default:s=d+t.interactiveRelativeUri}var y={};void 0!==r.token&&""!==r.token&&(y[r.headerName]=r.token),y[c.HeaderNames.ConnectionId]=n,e.parameters.setProperty(a.PropertyId.SpeechServiceConnection_Url,s);var T="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.WebsocketConnection(s,h,y,new u.WebsocketMessageFormatter,i.ProxyInfo.fromRecognizerConfig(e),T,n)},t}return n(t,e),t}(s.ConnectionFactoryBase);t.SpeechConnectionFactory=p},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriberConnectionFactory=void 0;var i=r(85),o=r(12),a=r(196),s=r(17),u=r(116),c=r(197),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.multiaudioRelativeUri="/speech/recognition/multiaudio",t.create=function(e,r,n){var a=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint,void 0),l=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region,"centralus"),p=l&&l.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",f="wss://transcribe."+l+".cts.speech"+p+t.multiaudioRelativeUri,d=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,f),h={},v=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_EndpointId,void 0),m=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage,void 0);v?a&&-1!==a.search(c.QueryParameterNames.CustomSpeechDeploymentId)||
2(h[c.QueryParameterNames.CustomSpeechDeploymentId]=v):m&&(a&&-1!==a.search(c.QueryParameterNames.Language)||(h[c.QueryParameterNames.Language]=m)),t.setCommonUrlParams(e,h,a),a||(a=d);var y={};void 0!==r.token&&""!==r.token&&(y[r.headerName]=r.token),y[u.HeaderNames.ConnectionId]=n,e.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,a);var T="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.WebsocketConnection(a,h,y,new s.WebsocketMessageFormatter,i.ProxyInfo.fromRecognizerConfig(e),T,n)},t}return n(t,e),t}(a.ConnectionFactoryBase);t.TranscriberConnectionFactory=l},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationConnectionFactory=void 0;var i=r(85),o=r(12),a=r(196),s=r(17),u=r(116),c=r(197),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.create=function(e,r,n){var a=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint,void 0);if(!a){var l=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region,void 0),p=l&&l.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com";a=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,"wss://"+l+".s2s.speech"+p)+"/speech/translation/cognitiveservices/v1"}var f={from:e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage),to:e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_TranslationToLanguages)};t.setCommonUrlParams(e,f,a),t.setUrlParameter(o.PropertyId.SpeechServiceResponse_TranslationRequestStablePartialResult,c.QueryParameterNames.StableTranslation,e,f,a);void 0!==e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_TranslationVoice,void 0)&&(f.voice=e.parameters.getProperty(o.PropertyId.SpeechServiceConnection_TranslationVoice),f.features="texttospeech");var d={};void 0!==r.token&&""!==r.token&&(d[r.headerName]=r.token),d[u.HeaderNames.ConnectionId]=n,e.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,a);var h="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.WebsocketConnection(a,f,d,new s.WebsocketMessageFormatter,i.ProxyInfo.fromRecognizerConfig(e),h,n)},t}return n(t,e),t}(a.ConnectionFactoryBase);t.TranslationConnectionFactory=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechSynthesisConnectionFactory=void 0;var n=r(85),i=r(12),o=r(17),a=r(116),s=r(197),u=function(){var e=this;this.synthesisUri="/cognitiveservices/websocket/v1",this.create=function(t,r,u){var c=t.parameters.getProperty(i.PropertyId.SpeechServiceConnection_Endpoint,void 0),l=t.parameters.getProperty(i.PropertyId.SpeechServiceConnection_Region,void 0),p=l&&l.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com",f=t.parameters.getProperty(i.PropertyId.SpeechServiceConnection_EndpointId,void 0),d=void 0===f?"tts":"voice",h=t.parameters.getProperty(i.PropertyId.SpeechServiceConnection_Host,"wss://"+l+"."+d+".speech"+p);c||(c=h+e.synthesisUri);var v={};void 0!==r.token&&""!==r.token&&(v[r.headerName]=r.token),v[a.HeaderNames.ConnectionId]=u,void 0!==f&&(v[s.QueryParameterNames.CustomVoiceDeploymentId]=f),t.parameters.setProperty(i.PropertyId.SpeechServiceConnection_Url,c);var m="true"===t.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new n.WebsocketConnection(c,{},v,new o.WebsocketMessageFormatter,n.ProxyInfo.fromParameters(t.parameters),m,u)}};t.SpeechSynthesisConnectionFactory=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EnumTranslation=void 0;var n=r(12),i=r(17),o=function(){function e(){}return e.implTranslateRecognitionResult=function(e){var t=n.ResultReason.Canceled;switch(e){case i.RecognitionStatus.Success:t=n.ResultReason.RecognizedSpeech;break;case i.RecognitionStatus.NoMatch:case i.RecognitionStatus.InitialSilenceTimeout:case i.RecognitionStatus.BabbleTimeout:case i.RecognitionStatus.EndOfDictation:t=n.ResultReason.NoMatch;break;case i.RecognitionStatus.Error:default:t=n.ResultReason.Canceled}return t},e.implTranslateCancelResult=function(e){var t=n.CancellationReason.EndOfStream;switch(e){case i.RecognitionStatus.Success:case i.RecognitionStatus.EndOfDictation:case i.RecognitionStatus.NoMatch:t=n.CancellationReason.EndOfStream;break;case i.RecognitionStatus.InitialSilenceTimeout:case i.RecognitionStatus.BabbleTimeout:case i.RecognitionStatus.Error:default:t=n.CancellationReason.Error}return t},e.implTranslateCancelErrorCode=function(e){var t=n.CancellationErrorCode.NoError;switch(e){case i.RecognitionStatus.Error:t=n.CancellationErrorCode.ServiceError;break;case i.RecognitionStatus.TooManyRequests:t=n.CancellationErrorCode.TooManyRequests;break;default:t=n.CancellationErrorCode.NoError}return t},e}();t.EnumTranslation=o},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.RecognitionStatus=t.SynthesisStatus=void 0,function(e){e[e.Success=0]="Success",e[e.SynthesisEnd=1]="SynthesisEnd",e[e.Error=2]="Error"}(t.SynthesisStatus||(t.SynthesisStatus={})),function(e){e[e.Success=0]="Success",e[e.NoMatch=1]="NoMatch",e[e.InitialSilenceTimeout=2]="InitialSilenceTimeout",e[e.BabbleTimeout=3]="BabbleTimeout",e[e.Error=4]="Error",e[e.EndOfDictation=5]="EndOfDictation",e[e.TooManyRequests=6]="TooManyRequests"}(t.RecognitionStatus||(t.RecognitionStatus={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationSynthesisEnd=void 0;var n=r(17),i=function(){function e(e){this.privSynthesisEnd=JSON.parse(e),this.privSynthesisEnd.SynthesisStatus=n.SynthesisStatus[this.privSynthesisEnd.SynthesisStatus]}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"SynthesisStatus",{get:function(){return this.privSynthesisEnd.SynthesisStatus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FailureReason",{get:function(){return this.privSynthesisEnd.FailureReason},enumerable:!1,configurable:!0}),e}();t.TranslationSynthesisEnd=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationHypothesis=void 0;var n=r(458),i=function(){function e(e){this.privTranslationHypothesis=JSON.parse(e),this.privTranslationHypothesis.Translation.TranslationStatus=n.TranslationStatus[this.privTranslationHypothesis.Translation.TranslationStatus]}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"Duration",{get:function(){return this.privTranslationHypothesis.Duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privTranslationHypothesis.Off
2set},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Text",{get:function(){return this.privTranslationHypothesis.Text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Translation",{get:function(){return this.privTranslationHypothesis.Translation},enumerable:!1,configurable:!0}),e}();t.TranslationHypothesis=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationPhrase=void 0;var n=r(17),i=r(458),o=function(){function e(e){this.privTranslationPhrase=JSON.parse(e),this.privTranslationPhrase.RecognitionStatus=n.RecognitionStatus[this.privTranslationPhrase.RecognitionStatus],void 0!==this.privTranslationPhrase.Translation&&(this.privTranslationPhrase.Translation.TranslationStatus=i.TranslationStatus[this.privTranslationPhrase.Translation.TranslationStatus])}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"RecognitionStatus",{get:function(){return this.privTranslationPhrase.RecognitionStatus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privTranslationPhrase.Offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Duration",{get:function(){return this.privTranslationPhrase.Duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Text",{get:function(){return this.privTranslationPhrase.Text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Translation",{get:function(){return this.privTranslationPhrase.Translation},enumerable:!1,configurable:!0}),e}();t.TranslationPhrase=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationServiceRecognizer=void 0;var a=r(16),s=r(12),u=r(17),c=function(e){function t(t,r,n,a,s){var u=e.call(this,t,r,n,a,s)||this;return u.privTranslationRecognizer=s,u.connectionEvents.attach((function(e){return i(u,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return"ConnectionEstablishedEvent"!==e.name?[3,1]:(this.privTranslationRecognizer.onConnection(),[3,3]);case 1:return"ConnectionClosedEvent"!==e.name?[3,3]:[4,this.privTranslationRecognizer.onDisconnection()];case 2:t.sent(),t.label=3;case 3:return[2]}}
2))}))})),u}return n(t,e),t.prototype.processTypeSpecificMessages=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,c,l,p,f,d,h,v,m,y;return o(this,(function(o){switch(o.label){case 0:switch(t=new s.PropertyCollection,r=!1,e.messageType===a.MessageType.Text&&t.setProperty(s.PropertyId.SpeechServiceResponse_JsonResult,e.textBody),e.path.toLowerCase()){case"translation.hypothesis":return[3,1];case"translation.phrase":return[3,2];case"translation.synthesis":return[3,7];case"translation.synthesis.end":return[3,8]}return[3,9];case 1:if(n=this.fireEventForResult(u.TranslationHypothesis.fromJSON(e.textBody),t),this.privRequestSession.onHypothesis(this.privRequestSession.currentTurnAudioOffset+n.offset),this.privTranslationRecognizer.recognizing)try{this.privTranslationRecognizer.recognizing(this.privTranslationRecognizer,n)}catch(T){}return r=!0,[3,10];case 2:if(i=u.TranslationPhrase.fromJSON(e.textBody),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+i.Offset+i.Duration),i.RecognitionStatus!==u.RecognitionStatus.Success)return[3,3];if(c=this.fireEventForResult(i,t),this.privTranslationRecognizer.recognized)try{this.privTranslationRecognizer.recognized(this.privTranslationRecognizer,c)}catch(T){}if(this.privSuccessCallback){try{this.privSuccessCallback(c.result)}catch(b){this.privErrorCallback&&this.privErrorCallback(b)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}return[3,10];case 3:return l=u.EnumTranslation.implTranslateRecognitionResult(i.RecognitionStatus),p=new s.TranslationRecognitionResult(void 0,this.privRequestSession.requestId,l,i.Text,i.Duration,this.privRequestSession.currentTurnAudioOffset+i.Offset,void 0,e.textBody,t),l!==s.ResultReason.Canceled?[3,5]:(f=u.EnumTranslation.implTranslateCancelResult(i.RecognitionStatus),[4,this.cancelRecognitionLocal(f,u.EnumTranslation.implTranslateCancelErrorCode(i.RecognitionStatus),void 0)]);case 4:return o.sent(),[3,6];case 5:if((!this.privRequestSession.isSpeechEnded||l!==s.ResultReason.NoMatch||i.RecognitionStatus===u.RecognitionStatus.InitialSilenceTimeout)&&(d=new s.TranslationRecognitionEventArgs(p,p.offset,this.privRequestSession.sessionId),this.privTranslationRecognizer.recognized))try{this.privTranslationRecognizer.recognized(this.privTranslationRecognizer,d)}catch(T){}if(this.privSuccessCallback){try{this.privSuccessCallback(p)}catch(b){this.privErrorCallback&&this.privErrorCallback(b)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}o.label=6;case 6:return r=!0,[3,10];case 7:return this.sendSynthesisAudio(e.binaryBody,this.privRequestSession.sessionId),r=!0,[3,10];case 8:switch((h=u.TranslationSynthesisEnd.fromJSON(e.textBody)).SynthesisStatus){case u.SynthesisStatus.Error:if(this.privTranslationRecognizer.synthesizing){v=new s.TranslationSynthesisResult(s.ResultReason.Canceled,void 0),m=new s.TranslationSynthesisEventArgs(v,this.privRequestSession.sessionId);try{this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer,m)}catch(T){}}if(this.privTranslationRecognizer.canceled){y=new s.TranslationRecognitionCanceledEventArgs(this.privRequestSession.sessionId,s.CancellationReason.Error,h.FailureReason,s.CancellationErrorCode.ServiceError,null);try{this.privTranslationRecognizer.canceled(this.privTranslationRecognizer,y)}catch(T){}}break;case u.SynthesisStatus.Success:this.sendSynthesisAudio(void 0,this.privRequestSession.sessionId)}return r=!0,[3,10];case 9:return[3,10];case 10:return[2,r]}}))}))},t.prototype.cancelRecognition=function(e,t,r,n,i){var o=new s.PropertyCollection;if(o.setProperty(u.CancellationErrorCodePropertyName,s.CancellationErrorCode[n]),this.privTranslationRecognizer.canceled){var a=new s.TranslationRecognitionCanceledEventArgs(e,r,i,n,void 0);try{this.privTranslationRecognizer.canceled(this.privTranslationRecognizer,a)}catch(l){}}if(this.privSuccessCallback){var c=new s.TranslationRecognitionResult(void 0,t,s.ResultReason.Canceled,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(c),this.privSuccessCallback=void 0}catch(p){}}},t.prototype.fireEventForResult=function(e,t){var r,n;if(void 0!==e.Translation.Translations){r=new s.Translations;for(var i=0,o=e.Translation.Translations;i<o.length;i++){var c=o[i];r.set(c.Language,c.Text)}}n=e instanceof u.TranslationPhrase?e.Translation.TranslationStatus===a.TranslationStatus.Success?s.ResultReason.TranslatedSpeech:s.ResultReason.RecognizedSpeech:s.ResultReason.TranslatingSpeech;var l=e.Offset+this.privRequestSession.currentTurnAudioOffset,p=new s.TranslationRecognitionResult(r,this.privRequestSession.requestId,n,e.Text,e.Duration,l,e.Translation.FailureReason,JSON.stringify(e),t);return new s.TranslationRecognitionEventArgs(p,l,this.privRequestSession.sessionId)},t.prototype.sendSynthesisAudio=function(e,t){var r=void 0===e?s.ResultReason.SynthesizingAudioCompleted:s.ResultReason.SynthesizingAudio,n=new s.TranslationSynthesisResult(r,e),i=new s.TranslationSynthesisEventArgs(n,t);if(this.privTranslationRecognizer.synthesizing)try{this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer,i)}catch(o){}},t}(u.ServiceRecognizerBase);t.TranslationServiceRecognizer=c},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechDetected=void 0;var n=function(){function e(e){this.privSpeechStartDetected=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privSpeechStartDetected.Offset},enumerable:!1,configurable:!0}),e}();t.SpeechDetected=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechHypothesis=void 0;var n=function(){function e(e){this.privSpeechHypothesis=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"Text",{get:function(){return this.privSpeechHypothesis.Text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privSpeechHypothesis.Offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Duration",{get:function(){return this.privSpeechHypothesis.Duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Language",{get:function(){return void 0===this.privSpeechHypothesis.PrimaryLanguage?void 0:this.privSpeechHypothesis.PrimaryLanguage.Language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"LanguageDetectionConfidence",{get:function(){return void 0===this.privSpeechHypothesis.PrimaryLanguage?void 0:this.privSpeechHypothesis.PrimaryLanguage.Confidence},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SpeakerId",{get:function(){return this.privSpeechHypothesis.SpeakerId},enumerable:!1,configurable:!0}),e}();t.SpeechHypothesis=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechKeyword=void 0;var n=function(){function e(e){this.privSpeechKeyword=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"Status",{get:function(){return this.privSpeechKeyword.Status},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Text",{get:function(){return this.privSpeechKeyword.Text},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privSpeechKeyword.Offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Duration",{get:function(){return this.privSpeechKeyword.Duration},enumerable:!1,configurable:!0}),e}();t.SpeechKeyword=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};
2Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechServiceRecognizer=void 0;var a=r(12),s=r(17),u=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,n,i,o)||this;if(a.privSpeechRecognizer=o,void 0!==i.autoDetectSourceLanguages){var s=i.autoDetectSourceLanguages.split(",");a.privSpeechContext.setSection("languageId",{languages:s,onSuccess:{action:"Recognize"},onUnknown:{action:"None"}}),a.privSpeechContext.setSection("phraseOutput",{interimResults:{resultType:"Auto"},phraseResults:{resultType:"Always"}})}return a}return n(t,e),t.prototype.processTypeSpecificMessages=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,u,c,l,p,f,d,h;return o(this,(function(o){switch(o.label){case 0:switch((r=new a.PropertyCollection).setProperty(a.PropertyId.SpeechServiceResponse_JsonResult,e.textBody),n=!1,e.path.toLowerCase()){case"speech.hypothesis":case"speech.fragment":return[3,1];case"speech.phrase":return[3,2]}return[3,6];case 1:if(i=s.SpeechHypothesis.fromJSON(e.textBody),u=i.Offset+this.privRequestSession.currentTurnAudioOffset,t=new a.SpeechRecognitionResult(this.privRequestSession.requestId,a.ResultReason.RecognizingSpeech,i.Text,i.Duration,u,i.Language,i.LanguageDetectionConfidence,void 0,void 0,e.textBody,r),this.privRequestSession.onHypothesis(u),c=new a.SpeechRecognitionEventArgs(t,i.Duration,this.privRequestSession.sessionId),this.privSpeechRecognizer.recognizing)try{this.privSpeechRecognizer.recognizing(this.privSpeechRecognizer,c)}catch(v){}return n=!0,[3,7];case 2:return l=s.SimpleSpeechPhrase.fromJSON(e.textBody),p=s.EnumTranslation.implTranslateRecognitionResult(l.RecognitionStatus),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+l.Offset+l.Duration),a.ResultReason.Canceled!==p?[3,4]:(f=s.EnumTranslation.implTranslateCancelResult(l.RecognitionStatus),[4,this.cancelRecognitionLocal(f,s.EnumTranslation.implTranslateCancelErrorCode(l.RecognitionStatus),void 0)]);case 3:return o.sent(),[3,5];case 4:if((!this.privRequestSession.isSpeechEnded||p!==a.ResultReason.NoMatch||l.RecognitionStatus===s.RecognitionStatus.InitialSilenceTimeout)&&(this.privRecognizerConfig.parameters.getProperty(s.OutputFormatPropertyName)===a.OutputFormat[a.OutputFormat.Simple]?t=new a.SpeechRecognitionResult(this.privRequestSession.requestId,p,l.DisplayText,l.Duration,l.Offset+this.privRequestSession.currentTurnAudioOffset,l.Language,l.LanguageDetectionConfidence,void 0,void 0,e.textBody,r):(d=s.DetailedSpeechPhrase.fromJSON(e.textBody),t=new a.SpeechRecognitionResult(this.privRequestSession.requestId,p,d.RecognitionStatus===s.RecognitionStatus.Success?d.NBest[0].Display:void 0,d.Duration,d.Offset+this.privRequestSession.currentTurnAudioOffset,d.Language,d.LanguageDetectionConfidence,void 0,void 0,e.textBody,r)),h=new a.SpeechRecognitionEventArgs(t,t.offset,this.privRequestSession.sessionId),this.privSpeechRecognizer.recognized))try{this.privSpeechRecognizer.recognized(this.privSpeechRecognizer,h)}catch(v){}if(this.privSuccessCallback){try{this.privSuccessCallback(t)}catch(m){this.privErrorCallback&&this.privErrorCallback(m)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}o.label=5;case 5:return n=!0,[3,7];case 6:return[3,7];case 7:return[2,n]}}))}))},t.prototype.cancelRecognition=function(e,t,r,n,i){var o=new a.PropertyCollection;if(o.setProperty(s.CancellationErrorCodePropertyName,a.CancellationErrorCode[n]),this.privSpeechRecognizer.canceled){var u=new a.SpeechRecognitionCanceledEventArgs(r,i,n,void 0,e);try{this.privSpeechRecognizer.canceled(this.privSpeechRecognizer,u)}catch(l){}}if(this.privSuccessCallback){var c=new a.SpeechRecognitionResult(t,a.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(c),this.privSuccessCallback=void 0}catch(p){}}},t}(s.ServiceRecognizerBase);t.SpeechServiceRecognizer=u},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptionServiceRecognizer=void 0;var a=r(16),s=r(12),u=r(17),c=r(333),l=function(e){function t(t,r,n,i,o){var s=e.call(this,t,r,n,i,o)||this;return s.sendSpeechEvent=function(e,t){var r=JSON.stringify(t);if(r)return e.send(new c.SpeechConnectionMessage(a.MessageType.Text,"speech.event",s.privRequestSession.requestId,"application/json",r))},s.privTranscriberRecognizer=o,s.sendPrePayloadJSONOverride=s.sendTranscriptionStartJSON,s}return n(t,e),t.prototype.sendSpeechEventAsync=function(e,t){return i(this,void 0,void 0,(function(){var r;return o(this,(function(n){switch(n.label){case 0:return this.privRequestSession.isRecognizing?[4,this.fetchConnection()]:[3,3];case 1:return r=n.sent(),[4,this.sendSpeechEvent(r,this.createSpeechEventPayload(e,t))];case 2:n.sent(),n.label=3;case 3:return[2]}}
2))}))},t.prototype.processTypeSpecificMessages=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,a,c,l,p,f,d,h;return o(this,(function(o){switch(o.label){case 0:switch((r=new s.PropertyCollection).setProperty(s.PropertyId.SpeechServiceResponse_JsonResult,e.textBody),n=!1,e.path.toLowerCase()){case"speech.hypothesis":case"speech.fragment":return[3,1];case"speech.phrase":return[3,2]}return[3,6];case 1:if(i=u.SpeechHypothesis.fromJSON(e.textBody),a=i.Offset+this.privRequestSession.currentTurnAudioOffset,t=new s.SpeechRecognitionResult(this.privRequestSession.requestId,s.ResultReason.RecognizingSpeech,i.Text,i.Duration,a,i.Language,i.LanguageDetectionConfidence,i.SpeakerId,void 0,e.textBody,r),this.privRequestSession.onHypothesis(a),c=new s.SpeechRecognitionEventArgs(t,i.Duration,this.privRequestSession.sessionId),this.privTranscriberRecognizer.recognizing)try{this.privTranscriberRecognizer.recognizing(this.privTranscriberRecognizer,c)}catch(v){}return n=!0,[3,7];case 2:return l=u.SimpleSpeechPhrase.fromJSON(e.textBody),p=u.EnumTranslation.implTranslateRecognitionResult(l.RecognitionStatus),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+l.Offset+l.Duration),s.ResultReason.Canceled!==p?[3,4]:(f=u.EnumTranslation.implTranslateCancelResult(l.RecognitionStatus),[4,this.cancelRecognitionLocal(f,u.EnumTranslation.implTranslateCancelErrorCode(l.RecognitionStatus),void 0)]);case 3:return o.sent(),[3,5];case 4:if((!this.privRequestSession.isSpeechEnded||p!==s.ResultReason.NoMatch||l.RecognitionStatus===u.RecognitionStatus.InitialSilenceTimeout)&&(this.privRecognizerConfig.parameters.getProperty(u.OutputFormatPropertyName)===s.OutputFormat[s.OutputFormat.Simple]?t=new s.SpeechRecognitionResult(this.privRequestSession.requestId,p,l.DisplayText,l.Duration,l.Offset+this.privRequestSession.currentTurnAudioOffset,l.Language,l.LanguageDetectionConfidence,l.SpeakerId,void 0,e.textBody,r):(d=u.DetailedSpeechPhrase.fromJSON(e.textBody),t=new s.SpeechRecognitionResult(this.privRequestSession.requestId,p,d.RecognitionStatus===u.RecognitionStatus.Success?d.NBest[0].Display:void 0,d.Duration,d.Offset+this.privRequestSession.currentTurnAudioOffset,d.Language,d.LanguageDetectionConfidence,void 0,void 0,e.textBody,r)),h=new s.SpeechRecognitionEventArgs(t,t.offset,this.privRequestSession.sessionId),this.privTranscriberRecognizer.recognized))try{this.privTranscriberRecognizer.recognized(this.privTranscriberRecognizer,h)}catch(v){}if(this.privSuccessCallback){try{this.privSuccessCallback(t)}catch(m){this.privErrorCallback&&this.privErrorCallback(m)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}o.label=5;case 5:return n=!0,[3,7];case 6:return[3,7];case 7:return[2,n]}}))}))},t.prototype.cancelRecognition=function(e,t,r,n,i){var o=new s.PropertyCollection;if(o.setProperty(u.CancellationErrorCodePropertyName,s.CancellationErrorCode[n]),this.privTranscriberRecognizer.canceled){var a=new s.ConversationTranscriptionCanceledEventArgs(r,i,n,void 0,e);try{this.privTranscriberRecognizer.canceled(this.privTranscriberRecognizer,a)}catch(l){}}if(this.privSuccessCallback){var c=new s.SpeechRecognitionResult(t,s.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(c),this.privSuccessCallback=void 0}catch(p){}}},t.prototype.sendTranscriptionStartJSON=function(e){return i(this,void 0,void 0,(function(){var t,r;return o(this,(function(n){switch(n.label){case 0:return[4,this.sendSpeechContext(e)];case 1:return n.sent(),t=this.privTranscriberRecognizer.getConversationInfo(),r=this.createSpeechEventPayload(t,"start"),[4,this.sendSpeechEvent(e,r)];case 2:return n.sent(),[4,this.sendWaveHeader(e)];case 3:return n.sent(),[2]}}))}))},t.prototype.createSpeechEventPayload=function(e,t){var r={id:"meeting",name:t,meeting:e.conversationProperties};return r.meeting.id=e.id,r.meeting.attendees=e.participants,r.meeting.record="on"===e.conversationProperties.audiorecording?"true":"false",r},t}(u.ServiceRecognizerBase);t.TranscriptionServiceRecognizer=l},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.DetailedSpeechPhrase=void 0;var n=r(17),i=function(){function e(e){this.privDetailedSpeechPhrase=JSON.parse(e),this.privDetailedSpeechPhrase.RecognitionStatus=n.RecognitionStatus[this.privDetailedSpeechPhrase.RecognitionStatus]}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"RecognitionStatus",{get:function(){return this.privDetailedSpeechPhrase.RecognitionStatus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"NBest",{get:function(){return this.privDetailedSpeechPhrase.NBest},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Duration",{get:function(){return this.privDetailedSpeechPhrase.Duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privDetailedSpeechPhrase.Offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Language",{get:function(){return void 0===this.privDetailedSpeechPhrase.PrimaryLanguage?void 0:this.privDetailedSpeechPhrase.PrimaryLanguage.Language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"LanguageDetectionConfidence",{get:function(){return void 0===this.privDetailedSpeechPhrase.PrimaryLanguage?void 0:this.privDetailedSpeechPhrase.PrimaryLanguage.Confidence},enumerable:!1,configurable:!0}),e}();t.DetailedSpeechPhrase=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleSpeechPhrase=void 0;var n=r(17),i=function(){function e(e){this.privSimpleSpeechPhrase=JSON.parse(e),this.privSimpleSpeechPhrase.RecognitionStatus=n.RecognitionStatus[this.privSimpleSpeechPhrase.RecognitionStatus]}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"RecognitionStatus",{get:function(){return this.privSimpleSpeechPhrase.RecognitionStatus},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"DisplayText",{get:function(){return this.privSimpleSpeechPhrase.DisplayText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Offset",{get:function(){return this.privSimpleSpeechPhrase.Offset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Duration",{get:function(){return this.privSimpleSpeechPhrase.Duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Language",{get:function(){return void 0===this.privSimpleSpeechPhrase.PrimaryLanguage?void 0:this.privSimpleSpeechPhrase.PrimaryLanguage.Language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"LanguageDetectionConfidence",{get:function(){return void 0===this.privSimpleSpeechPhrase.PrimaryLanguage?void 0:this.privSimpleSpeechPhrase.PrimaryLanguage.Confidence},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SpeakerId",{get:function(){return this.privSimpleSpeechPhrase.SpeakerId},enumerable:!1,configurable:!0}),e}();t.SimpleSpeechPhrase=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddedLmIntent=void 0;var n=function(e,t){this.modelImpl=e,this.intentName=t};t.AddedLmIntent=n},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.IntentServiceRecognizer=void 0;var a=r(16),s=r(12),u=r(17),c=function(e){function t(t,r,n,i,o){var a=e.call(this,t,r,n,i,o)||this;return a.privIntentRecognizer=o,a.privIntentDataSent=!1,a}return n(t,e),t.prototype.setIntents=function(e,t){this.privAddedLmIntents=e,this.privUmbrellaIntent=t,this.privIntentDataSent=!0},t.prototype.processTypeSpecificMessages=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,c,l,p,f,d,h,v,m,y=this;return o(this,(function(o){switch(n=!1,i=new s.PropertyCollection,e.messageType===a.MessageType.Text&&i.setProperty(s.PropertyId.SpeechServiceResponse_JsonResult,e.textBody),e.path.toLowerCase()){case"speech.hypothesis":if(c=u.SpeechHypothesis.fromJSON(e.textBody),t=new s.IntentRecognitionResult(void 0,this.privRequestSession.requestId,s.ResultReason.RecognizingIntent,c.Text,c.Duration,c.Offset+this.privRequestSession.currentTurnAudioOffset,c.Language,c.LanguageDetectionConfidence,void 0,e.textBody,i),this.privRequestSession.onHypothesis(t.offset),r=new s.IntentRecognitionEventArgs(t,c.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privIntentRecognizer.recognizing)try{this.privIntentRecognizer.recognizing(this.privIntentRecognizer,r)}catch(T){}n=!0;break;case"speech.phrase":l=u.SimpleSpeechPhrase.fromJSON(e.textBody),t=new s.IntentRecognitionResult(void 0,this.privRequestSession.requestId,u.EnumTranslation.implTranslateRecognitionResult(l.RecognitionStatus),l.DisplayText,l.Duration,l.Offset+this.privRequestSession.currentTurnAudioOffset,l.Language,l.LanguageDetectionConfidence,void 0,e.textBody,i),r=new s.IntentRecognitionEventArgs(t,t.offset,this.privRequestSession.sessionId),p=function(){if(y.privIntentRecognizer.recognized)try{y.privIntentRecognizer.recognized(y.privIntentRecognizer,r)}catch(T){}if(y.privSuccessCallback){try{y.privSuccessCallback(t)}catch(e){y.privErrorCallback&&y.privErrorCallback(e)}y.privSuccessCallback=void 0,y.privErrorCallback=void 0}},!1===this.privIntentDataSent||s.ResultReason.NoMatch===r.result.reason?(this.privRequestSession.onPhraseRecognized(r.offset+r.result.duration),p()):this.privPendingIntentArgs=r,n=!0;break;case"response":if(r=this.privPendingIntentArgs,this.privPendingIntentArgs=void 0,void 0===r){if(""===e.textBody)return[2];r=new s.IntentRecognitionEventArgs(new s.IntentRecognitionResult,0,this.privRequestSession.sessionId)}if(f=u.IntentResponse.fromJSON(e.textBody),d=this.privAddedLmIntents[f.topScoringIntent.intent],void 0!==this.privUmbrellaIntent&&(d=this.privUmbrellaIntent),null!==f&&void 0!==d&&(h=void 0===d.intentName?f.topScoringIntent.intent:d.intentName,v=r.result.reason,void 0!==h&&(v=s.ResultReason.RecognizedIntent),(m=void 0!==r.result.properties?r.result.properties:new s.PropertyCollection).setProperty(s.PropertyId.LanguageUnderstandingServiceResponse_JsonResult,e.textBody),r=new s.IntentRecognitionEventArgs(new s.IntentRecognitionResult(h,r.result.resultId,v,r.result.text,r.result.duration,r.result.offset,void 0,void 0,r.result.errorDetails,r.result.json,m),r.offset,r.sessionId)),this.privRequestSession.onPhraseRecognized(r.offset+r.result.duration),this.privIntentRecognizer.recognized)try{this.privIntentRecognizer.recognized(this.privIntentRecognizer,r)}catch(T){}if(this.privSuccessCallback){try{this.privSuccessCallback(r.result)}catch(b){this.privErrorCallback&&this.privErrorCallback(b)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}n=!0}return[2,n]}))}))},t.prototype.cancelRecognition=function(e,t,r,n,i){var o=new s.PropertyCollection;if(o.setProperty(u.CancellationErrorCodePropertyName,s.CancellationErrorCode[n]),this.privIntentRecognizer.canceled){var a=new s.IntentRecognitionCanceledEventArgs(r,i,n,void 0,void 0,e);try{this.privIntentRecognizer.canceled(this.privIntentRecognizer,a)}catch(l){}}if(this.privSuccessCallback){var c=new s.IntentRecognitionResult(void 0,t,s.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,i,void 0,o);try{this.privSuccessCallback(c),this.privSuccessCallback=void 0}catch(p){}}},t}(u.ServiceRecognizerBase);t.IntentServiceRecognizer=c},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.IntentResponse=void 0;var n=function(){function e(e){this.privIntentResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"query",{get:function(){return this.privIntentResponse.query},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"topScoringIntent",{get:function(){return this.privIntentResponse.topScoringIntent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"entities",{get:function(){return this.privIntentResponse.entities},enumerable:!1,configurable:!0}),e}();t.IntentResponse=n},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RequestSession=void 0;var o=r(16),a=r(463),s=r(1742),u=function(){function e(e){var t=this;this.privIsDisposed=!1,this.privDetachables=new Array,this.privIsAudioNodeDetached=!1,this.privIsRecognizing=!1,this.privIsSpeechEnded=!1,this.privTurnStartAudioOffset=0,this.privLastRecoOffset=0,this.privHypothesisReceived=!1,this.privBytesSent=0,this.privRecogNumber=0,this.privInTurn=!1,this.privConnectionAttempts=0,this.onPreConnectionStart=function(e,r){t.privAuthFetchEventId=e,t.privSessionId=r,t.onEvent(new a.ConnectingToServiceEvent(t.privRequestId,t.privAuthFetchEventId,t.privSessionId))},this.onServiceTurnStartResponse=function(){t.privTurnDeferral&&t.privInTurn&&(t.privTurnDeferral.reject("Another turn started before current completed."),t.privTurnDeferral.promise.then().catch((function(){}))),t.privInTurn=!0,t.privTurnDeferral=new o.Deferred},this.getTelemetry=function(){return t.privServiceTelemetryListener.hasTelemetry?t.privServiceTelemetryListener.getTelemetry():null},this.onEvent=function(e){t.privServiceTelemetryListener&&t.privServiceTelemetryListener.onEvent(e),o.Events.instance.onEvent(e)},this.privAudioSourceId=e,this.privRequestId=o.createNoDashGuid(),this.privAudioNodeId=o.createNoDashGuid(),this.privTurnDeferral=new o.Deferred,this.privTurnDeferral.resolve()}return Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.privSessionId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"requestId",{get:function(){return this.privRequestId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"audioNodeId",{get:function(){return this.privAudioNodeId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"turnCompletionPromise",{get:function(){return this.privTurnDeferral.promise},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSpeechEnded",{get:function(){return this.privIsSpeechEnded},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRecognizing",{get:function(){return this.privIsRecognizing}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTurnAudioOffset",{get:function(){return this.privTurnStartAudioOffset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"recogNumber",{get:function(){return this.privRecogNumber},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"numConnectionAttempts",{get:function(){return this.privConnectionAttempts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bytesSent",{get:function(){return this.privBytesSent},enumerable:!1,configurable:!0}),e.prototype.listenForServiceTelemetry=function(e){this.privServiceTelemetryListener&&this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener))},e.prototype.startNewRecognition=function(){this.privIsSpeechEnded=!1,this.privIsRecognizing=!0,this.privTurnStartAudioOffset=0,this.privLastRecoOffset=0,this.privRequestId=o.createNoDashGuid(),this.privRecogNumber++,this.privServiceTelemetryListener=new s.ServiceTelemetryListener(this.privRequestId,this.privAudioSourceId,this.privAudioNodeId),this.onEvent(new a.RecognitionTriggeredEvent(this.requestId,this.privSessionId,this.privAudioSourceId,this.privAudioNodeId))},e.prototype.onAudioSourceAttachCompleted=function(e,t,r){return n(this,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return this.privAudioNode=e,this.privIsAudioNodeDetached=!1,t?[4,this.onComplete()]:[3,2];case 1:return r.sent(),[3,3];case 2:this.onEvent(new a.ListeningStartedEvent(this.privRequestId,this.privSessionId,this.privAudioSourceId,this.privAudioNodeId)),r.label=3;case 3:return[2]}}
2))}))},e.prototype.onAuthCompleted=function(e,t){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return e?[4,this.onComplete()]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},e.prototype.onConnectionEstablishCompleted=function(e,t){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return 200!==e?[3,1]:(this.onEvent(new a.RecognitionStartedEvent(this.requestId,this.privAudioSourceId,this.privAudioNodeId,this.privAuthFetchEventId,this.privSessionId)),this.privAudioNode&&this.privAudioNode.replay(),this.privTurnStartAudioOffset=this.privLastRecoOffset,this.privBytesSent=0,[2]);case 1:return 403!==e?[3,3]:[4,this.onComplete()];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},e.prototype.onServiceTurnEndResponse=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return this.privTurnDeferral.resolve(),e&&!this.isSpeechEnded?[3,2]:[4,this.onComplete()];case 1:return t.sent(),this.privInTurn=!1,[3,3];case 2:this.privTurnStartAudioOffset=this.privLastRecoOffset,this.privRequestId=o.createNoDashGuid(),this.privAudioNode.replay(),t.label=3;case 3:return[2]}}
2))}))},e.prototype.onHypothesis=function(e){this.privHypothesisReceived||(this.privHypothesisReceived=!0,this.privServiceTelemetryListener.hypothesisReceived(this.privAudioNode.findTimeAtOffset(e)))},e.prototype.onPhraseRecognized=function(e){this.privServiceTelemetryListener.phraseReceived(this.privAudioNode.findTimeAtOffset(e)),this.onServiceRecognized(e)},e.prototype.onServiceRecognized=function(e){this.privLastRecoOffset=e,this.privHypothesisReceived=!1,this.privAudioNode.shrinkBuffers(e),this.privConnectionAttempts=0},e.prototype.onAudioSent=function(e){this.privBytesSent+=e},e.prototype.onRetryConnection=function(){this.privConnectionAttempts++},e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:if(this.privIsDisposed)return[3,5];this.privIsDisposed=!0,e=0,t=this.privDetachables,r.label=1;case 1:return e<t.length?[4,t[e].detach()]:[3,4];case 2:r.sent(),r.label=3;case 3:return e++,[3,1];case 4:this.privServiceTelemetryListener.dispose(),this.privIsRecognizing=!1,r.label=5;case 5:return[2]}}
2))}))},e.prototype.onStopRecognizing=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,this.onComplete()];case 1:return e.sent(),[2]}}))}))},e.prototype.onSpeechEnded=function(){this.privIsSpeechEnded=!0},e.prototype.onComplete=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.privIsRecognizing?(this.privIsRecognizing=!1,[4,this.detachAudioNode()]):[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.detachAudioNode=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.privIsAudioNodeDetached?[3,2]:(this.privIsAudioNodeDetached=!0,this.privAudioNode?[4,this.privAudioNode.detach()]:[3,2]);case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e}();t.RequestSession=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceTelemetryListener=void 0;var n=r(16),i=r(463),o=function(){function e(e,t,r){var o=this;this.privIsDisposed=!1,this.privListeningTriggerMetric=null,this.privMicMetric=null,this.privConnectionEstablishMetric=null,this.onEvent=function(e){o.privIsDisposed||(e instanceof i.RecognitionTriggeredEvent&&e.requestId===o.privRequestId&&(o.privListeningTriggerMetric={End:e.eventTime,Name:"ListeningTrigger",Start:e.eventTime}),e instanceof n.AudioStreamNodeAttachingEvent&&e.audioSourceId===o.privAudioSourceId&&e.audioNodeId===o.privAudioNodeId&&(o.privMicStartTime=e.eventTime),e instanceof n.AudioStreamNodeAttachedEvent&&e.audioSourceId===o.privAudioSourceId&&e.audioNodeId===o.privAudioNodeId&&(o.privMicStartTime=e.eventTime),e instanceof n.AudioSourceErrorEvent&&e.audioSourceId===o.privAudioSourceId&&(o.privMicMetric||(o.privMicMetric={End:e.eventTime,Error:e.error,Name:"Microphone",Start:o.privMicStartTime})),e instanceof n.AudioStreamNodeErrorEvent&&e.audioSourceId===o.privAudioSourceId&&e.audioNodeId===o.privAudioNodeId&&(o.privMicMetric||(o.privMicMetric={End:e.eventTime,Error:e.error,Name:"Microphone",Start:o.privMicStartTime})),e instanceof n.AudioStreamNodeDetachedEvent&&e.audioSourceId===o.privAudioSourceId&&e.audioNodeId===o.privAudioNodeId&&(o.privMicMetric||(o.privMicMetric={End:e.eventTime,Name:"Microphone",Start:o.privMicStartTime})),e instanceof i.ConnectingToServiceEvent&&e.requestId===o.privRequestId&&(o.privConnectionId=e.sessionId),e instanceof n.ConnectionStartEvent&&e.connectionId===o.privConnectionId&&(o.privConnectionStartTime=e.eventTime),e instanceof n.ConnectionEstablishedEvent&&e.connectionId===o.privConnectionId&&(o.privConnectionEstablishMetric||(o.privConnectionEstablishMetric={End:e.eventTime,Id:o.privConnectionId,Name:"Connection",Start:o.privConnectionStartTime})),e instanceof n.ConnectionEstablishErrorEvent&&e.connectionId===o.privConnectionId&&(o.privConnectionEstablishMetric||(o.privConnectionEstablishMetric={End:e.eventTime,Error:o.getConnectionError(e.statusCode),Id:o.privConnectionId,Name:"Connection",Start:o.privConnectionStartTime})),e instanceof n.ConnectionMessageReceivedEvent&&e.connectionId===o.privConnectionId&&e.message&&e.message.headers&&e.message.headers.path&&(o.privReceivedMessages[e.message.headers.path]||(o.privReceivedMessages[e.message.headers.path]=new Array),o.privReceivedMessages[e.message.headers.path].push(e.networkReceivedTime)))},this.getTelemetry=function(){var e=new Array;o.privListeningTriggerMetric&&e.push(o.privListeningTriggerMetric),o.privMicMetric&&e.push(o.privMicMetric),o.privConnectionEstablishMetric&&e.push(o.privConnectionEstablishMetric),o.privPhraseLatencies.length>0&&e.push({PhraseLatencyMs:o.privPhraseLatencies}),o.privHypothesisLatencies.length>0&&e.push({FirstHypothesisLatencyMs:o.privHypothesisLatencies});var t={Metrics:e,ReceivedMessages:o.privReceivedMessages},r=JSON.stringify(t);return o.privReceivedMessages={},o.privListeningTriggerMetric=null,o.privMicMetric=null,o.privConnectionEstablishMetric=null,o.privPhraseLatencies=[],o.privHypothesisLatencies=[],r},this.dispose=function(){o.privIsDisposed=!0},this.getConnectionError=function(e){switch(e){case 400:case 1002:case 1003:case 1005:case 1007:case 1008:case 1009:return"BadRequest";case 401:return"Unauthorized";case 403:return"Forbidden";case 503:case 1001:return"ServerUnavailable";case 500:case 1011:return"ServerError";case 408:case 504:return"Timeout";default:return"statuscode:"+e.toString()}},this.privRequestId=e,this.privAudioSourceId=t,this.privAudioNodeId=r,this.privReceivedMessages={},this.privPhraseLatencies=[],this.privHypothesisLatencies=[]}return e.prototype.phraseReceived=function(e){e>0&&this.privPhraseLatencies.push(Date.now()-e)},e.prototype.hypothesisReceived=function(e){e>0&&this.privHypothesisLatencies.push(Date.now()-e)},Object.defineProperty(e.prototype,"hasTelemetry",{get:function(){return 0!==Object.keys(this.privReceivedMessages).length||null!==this.privListeningTriggerMetric||null!==this.privMicMetric||null!==this.privConnectionEstablishMetric||0!==this.privPhraseLatencies.length||0!==this.privHypothesisLatencies.length}
2,enumerable:!1,configurable:!0}),e}();t.ServiceTelemetryListener=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeechContext=void 0;var n=function(){function e(e){this.privContext={},this.privDynamicGrammar=e}return e.prototype.setSection=function(e,t){this.privContext[e]=t},e.prototype.setPronunciationAssessmentParams=function(e){void 0===this.privContext.phraseDetection&&(this.privContext.phraseDetection={enrichment:{pronunciationAssessment:{}}}),this.privContext.phraseDetection.enrichment.pronunciationAssessment=JSON.parse(e),void 0===this.privContext.phraseOutput&&(this.privContext.phraseOutput={detailed:{options:[]},format:{}}),this.privContext.phraseOutput.format="Detailed",this.privContext.phraseOutput.detailed.options.push("PronunciationAssessment"),-1===this.privContext.phraseOutput.detailed.options.indexOf("WordTimings")&&this.privContext.phraseOutput.detailed.options.push("WordTimings")},e.prototype.toJSON=function(){var e=this.privDynamicGrammar.generateGrammarObject();return this.setSection("dgi",e),JSON.stringify(this.privContext)},e}();t.SpeechContext=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DynamicGrammarBuilder=void 0;var n=function(){function e(){}return e.prototype.addPhrase=function(e){this.privPhrases||(this.privPhrases=[]),e instanceof Array?this.privPhrases=this.privPhrases.concat(e):this.privPhrases.push(e)},e.prototype.clearPhrases=function(){this.privPhrases=void 0},e.prototype.addReferenceGrammar=function(e){this.privGrammars||(this.privGrammars=[]),e instanceof Array?this.privGrammars=this.privGrammars.concat(e):this.privGrammars.push(e)},e.prototype.clearGrammars=function(){this.privGrammars=void 0},e.prototype.generateGrammarObject=function(){if(void 0!==this.privGrammars||void 0!==this.privPhrases){var e={};if(e.ReferenceGrammars=this.privGrammars,void 0!==this.privPhrases&&0!==this.privPhrases.length){var t=[];this.privPhrases.forEach((function(e,r,n){t.push({Text:e})})),e.Groups=[{Type:"Generic",Items:t}]}return e}},e}();t.DynamicGrammarBuilder=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.DialogServiceAdapter=void 0;var a=r(85),s=r(767),u=r(16),c=r(332),l=r(12),p=r(1747),f=r(17),d=r(781),h=r(333),v=function(e){function t(t,r,n,a,f){var v=e.call(this,t,r,n,a,f)||this;return v.sendAgentConfig=function(e){if(v.agentConfig&&!v.agentConfigSent){if(v.privRecognizerConfig.parameters.getProperty(l.PropertyId.Conversation_DialogType)===l.DialogServiceConfig.DialogTypes.CustomCommands){var t=v.agentConfig.get();t.botInfo.commandsCulture=v.privRecognizerConfig.parameters.getProperty(l.PropertyId.SpeechServiceConnection_RecoLanguage,"en-us"),v.agentConfig.set(t)}v.onEvent(new s.SendingAgentContextMessageEvent(v.agentConfig));var r=v.agentConfig.toJsonString();return v.agentConfigSent=!0,e.send(new h.SpeechConnectionMessage(u.MessageType.Text,"agent.config",v.privRequestSession.requestId,"application/json",r))}},v.sendAgentContext=function(e){var t=u.createGuid(),r=v.privDialogServiceConnector.properties.getProperty(l.PropertyId.Conversation_Speech_Activity_Template),n={channelData:"",context:{interactionId:t},messagePayload:void 0===typeof r?void 0:r,version:.5},i=JSON.stringify(n);return e.send(new h.SpeechConnectionMessage(u.MessageType.Text,"speech.agent.context",v.privRequestSession.requestId,"application/json",i))},v.handleResponseMessage=function(e){var t=JSON.parse(e.textBody);switch(t.messageType.toLowerCase()){case"message":var r=e.requestId.toUpperCase(),n=d.ActivityPayloadResponse.fromJSON(e.textBody),i=v.privTurnStateManager.GetTurn(r);if(n.conversationId){var o=v.agentConfig.get();o.botInfo.conversationId=n.conversationId,v.agentConfig.set(o)}var a=i.processActivityPayload(n,c.AudioOutputFormatImpl.fromSpeechSynthesisOutputFormatString(v.privDialogServiceConnector.properties.getProperty(l.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0))),s=new l.ActivityReceivedEventArgs(n.messagePayload,a);if(v.privDialogServiceConnector.activityReceived)try{v.privDialogServiceConnector.activityReceived(v.privDialogServiceConnector,s)}catch(p){}break;case"messagestatus":if(v.privDialogServiceConnector.turnStatusReceived)try{v.privDialogServiceConnector.turnStatusReceived(v.privDialogServiceConnector,new l.TurnStatusReceivedEventArgs(e.textBody))}catch(p){}break;
2default:u.Events.instance.onEvent(new u.BackgroundEvent("Unexpected response of type "+t.messageType+". Ignoring."))}},v.privEvents=new u.EventSource,v.privDialogServiceConnector=f,v.receiveMessageOverride=v.receiveDialogMessageOverride,v.privTurnStateManager=new p.DialogServiceTurnStateManager,v.recognizeOverride=v.listenOnce,v.postConnectImplOverride=v.dialogConnectImpl,v.configConnectionOverride=v.configConnection,v.disconnectOverride=v.privDisconnect,v.privDialogAudioSource=n,v.agentConfigSent=!1,v.privLastResult=null,v.connectionEvents.attach((function(e){return i(v,void 0,void 0,(function(){return o(this,(function(t){return"ConnectionClosedEvent"===e.name&&(this.terminateMessageLoop=!0),[2]}))}))})),v}return n(t,e),t.prototype.sendMessage=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i;return o(this,(function(o){switch(o.label){case 0:return t=u.createGuid(),r=u.createNoDashGuid(),n={context:{interactionId:t},messagePayload:JSON.parse(e),version:.5},i=JSON.stringify(n),[4,this.fetchConnection()];case 1:return[4,o.sent().send(new h.SpeechConnectionMessage(u.MessageType.Text,"agent",r,"application/json",i))];case 2:return o.sent(),[2]}}))}))},t.prototype.privDisconnect=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,l.CancellationReason.Error,l.CancellationErrorCode.NoError,"Disconnecting")];case 1:return e.sent(),this.terminateMessageLoop=!0,this.agentConfigSent=!1,[2]}}))}))},t.prototype.processTypeSpecificMessages=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,a,s,c,p,d,h,v,m;return o(this,(function(o){switch(t=new l.PropertyCollection,e.messageType===u.MessageType.Text&&t.setProperty(l.PropertyId.SpeechServiceResponse_JsonResult,e.textBody),e.path.toLowerCase()){case"speech.phrase":if(i=f.SimpleSpeechPhrase.fromJSON(e.textBody),this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+i.Offset+i.Duration),i.RecognitionStatus!==f.RecognitionStatus.TooManyRequests&&i.RecognitionStatus!==f.RecognitionStatus.Error&&(a=this.fireEventForResult(i,t),this.privLastResult=a.result,this.privDialogServiceConnector.recognized))try{this.privDialogServiceConnector.recognized(this.privDialogServiceConnector,a)}catch(y){}n=!0;break;case"speech.hypothesis":if(s=f.SpeechHypothesis.fromJSON(e.textBody),c=s.Off
2set+this.privRequestSession.currentTurnAudioOffset,r=new l.SpeechRecognitionResult(this.privRequestSession.requestId,l.ResultReason.RecognizingSpeech,s.Text,s.Duration,c,s.Language,s.LanguageDetectionConfidence,void 0,void 0,e.textBody,t),this.privRequestSession.onHypothesis(c),p=new l.SpeechRecognitionEventArgs(r,s.Duration,this.privRequestSession.sessionId),this.privDialogServiceConnector.recognizing)try{this.privDialogServiceConnector.recognizing(this.privDialogServiceConnector,p)}catch(y){}n=!0;break;case"speech.keyword":if(d=f.SpeechKeyword.fromJSON(e.textBody),r=new l.SpeechRecognitionResult(this.privRequestSession.requestId,"Accepted"===d.Status?l.ResultReason.RecognizedKeyword:l.ResultReason.NoMatch,d.Text,d.Duration,d.Offset,void 0,void 0,void 0,void 0,e.textBody,t),"Accepted"!==d.Status&&(this.privLastResult=r),h=new l.SpeechRecognitionEventArgs(r,r.duration,r.resultId),this.privDialogServiceConnector.recognized)try{this.privDialogServiceConnector.recognized(this.privDialogServiceConnector,h)}catch(y){}n=!0;break;case"audio":v=e.requestId.toUpperCase(),m=this.privTurnStateManager.GetTurn(v);try{e.binaryBody?m.audioStream.write(e.binaryBody):m.endAudioStream()}catch(y){}n=!0;break;case"response":this.handleResponseMessage(e),n=!0}return[2,n]}))}))},t.prototype.cancelRecognition=function(e,t,r,n,a){return i(this,void 0,void 0,(function(){var t,i,s;return o(this,(function(o){switch(o.label){case 0:return this.terminateMessageLoop=!0,this.privRequestSession.isRecognizing?[4,this.privRequestSession.onStopRecognizing(
2)]:[3,2];case 1:o.sent(),o.label=2;case 2:if(this.privDialogServiceConnector.canceled){(t=new l.PropertyCollection).setProperty(f.CancellationErrorCodePropertyName,l.CancellationErrorCode[n]),i=new l.SpeechRecognitionCanceledEventArgs(r,a,n,void 0,e);try{this.privDialogServiceConnector.canceled(this.privDialogServiceConnector,i)}catch(u){}if(this.privSuccessCallback){s=new l.SpeechRecognitionResult(void 0,l.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,a,void 0,t);try{this.privSuccessCallback(s),this.privSuccessCallback=void 0}catch(c){}}}return[2]}}))}))},t.prototype.listenOnce=function(e,t,r){return i(this,void 0,void 0,(function(){var n,s,u,c,p,f,d,h,v=this;return o(this,(function(m){switch(m.label){case 0:return this.privRecognizerConfig.recognitionMode=e,this.privSuccessCallback=t,this.privErrorCallback=r,this.privRequestSession.startNewRecognition(),this.privRequestSession.listenForServiceTelemetry(this.privDialogAudioSource.events),this.privRecognizerConfig.parameters.setProperty(l.PropertyId.Speech_SessionId,this.privRequestSession.sessionId),n=this.connectImpl(),s=this.sendPreAudioMessages(),[4,this.privDialogAudioSource.attach(this.privRequestSession.audioNodeId)];case 1:return u=m.sent(),[4,this.privDialogAudioSource.format];case 2:return c=m.sent(),[4,this.privDialogAudioSource.deviceInfo];case 3:return p=m.sent(),f=new a.ReplayableAudioNode(u,c.avgBytesPerSec),[4,this.privRequestSession.onAudioSourceAttachCompleted(f,!1)];case 4:m.sent(),this.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:p},m.label=5;case 5:return m.trys.push([5,8,,10]),[4,n];case 6:return m.sent(),[4,s];case 7:return m.sent(),[3,10];case 8:return d=m.sent(),[4,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,l.CancellationReason.Error,l.CancellationErrorCode.ConnectionFailure,d)];case 9:return m.sent(),[2,Promise.resolve()];case 10:return h=new l.SessionEventArgs(this.privRequestSession.sessionId),this.privRecognizer.sessionStarted&&this.privRecognizer.sessionStarted(this.privRecognizer,h),this.sendAudio(f).then((function(){}),(function(e){return i(v,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return[4,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,l.CancellationReason.Error,l.CancellationErrorCode.RuntimeError,e)];case 1:return t.sent(),[2]}}))}))})),[2]}}))}))},t.prototype.dialogConnectImpl=function(e){return this.privConnectionLoop=this.startMessageLoop(),e},t.prototype.receiveDialogMessageOverride=function(){var e=this,t=new u.Deferred;return function r(){return i(e,void 0,void 0,(function(){var e,n,i,a,s,c,p,d,v,m,y,T,b;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,12,,13]),e=this.isDisposed(),n=!this.isDisposed()&&this.terminateMessageLoop,e||n?(t.resolve(void 0),[2]):[4,this.fetchConnection()];case 1:return[4,o.sent().read()];case 2:if(!(i=o.sent()))return[2,r()];switch(a=h.SpeechConnectionMessage.fromConnectionMessage(i),a.path.toLowerCase()){case"turn.start":return[3,3];case"speech.startdetected":return[3,4];case"speech.enddetected":return[3,5];case"turn.end":return[3,6]}return[3,10];case 3:return s=a.requestId.toUpperCase(),T=this.privRequestSession.requestId.toUpperCase(),s!==T?this.privTurnStateManager.StartTurn(s):this.privRequestSession.onServiceTurnStartResponse(),[3,11];case 4:return c=f.SpeechDetected.fromJSON(a.textBody),p=new l.RecognitionEventArgs(c.Offset,this.privRequestSession.sessionId),this.privRecognizer.speechStartDetected&&this.privRecognizer.speechStartDetected(this.privRecognizer,p),[3,11];case 5:return d=void 0,d=a.textBody.length>0?a.textBody:"{ Offset: 0 }",v=f.SpeechDetected.fromJSON(d),this.privRequestSession.onServiceRecognized(v.Offset+this.privRequestSession.currentTurnAudioOffset),m=new l.RecognitionEventArgs(v.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privRecognizer.speechEndDetected&&this.privRecognizer.speechEndDetected(this.privRecognizer,m),[3,11];case 6:return y=a.requestId.toUpperCase(),T=this.privRequestSession.requestId.toUpperCase(),y===T?[3,7]:(this.privTurnStateManager.CompleteTurn(y),[3,9]);case 7:return b=new l.SessionEventArgs(this.privRequestSession.sessionId),[4,this.privRequestSession.onServiceTurnEndResponse(!1)];case 8:if(o.sent(),this.privRecognizerConfig.isContinuousRecognition&&!this.privRequestSession.isSpeechEnded&&this.privRequestSession.isRecognizing||this.privRecognizer.sessionStopped&&this.privRecognizer.sessionStopped(this.privRecognizer,b),this.privSuccessCallback&&this.privLastResult){try{this.privSuccessCallback(this.privLastResult),this.privLastResult=null}catch(g){this.privErrorCallback&&this.privErrorCallback(g)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}o.label=9;case 9:return[3,11];case 10:this.processTypeSpecificMessages(a)||this.serviceEvents&&this.serviceEvents.onEvent(new u.ServiceEvent(a.path.toLowerCase(),a.textBody)),o.label=11;case 11:return[2,r()];case 12:return o.sent(),this.terminateMessageLoop=!0,t.resolve(),[3,13];case 13:return[2]}}
2))}))}().catch((function(e){u.Events.instance.onEvent(new u.BackgroundEvent(e))})),t.promise},t.prototype.startMessageLoop=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:this.terminateMessageLoop=!1,t.label=1;case 1:return t.trys.push([1,3,,5]),[4,this.receiveDialogMessageOverride()];case 2:return t.sent(),[3,5];case 3:return e=t.sent(),[4,this.cancelRecognition(this.privRequestSession.sessionId,this.privRequestSession.requestId,l.CancellationReason.Error,l.CancellationErrorCode.RuntimeError,e)];case 4:return t.sent(),[3,5];case 5:return[2,Promise.resolve()]}}))}))},t.prototype.configConnection=function(e){return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return this.terminateMessageLoop?(this.terminateMessageLoop=!1,[2,Promise.reject("Connection to service terminated.")]):[4,this.sendSpeechServiceConfig(e,this.privRequestSession,this.privRecognizerConfig.SpeechServiceConfig.serialize())];case 1:return t.sent(),[4,this.sendAgentConfig(e)];case 2:return t.sent(),[2,e]}}))}))},t.prototype.sendPreAudioMessages=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return[4,this.fetchConnection()];case 1:return e=t.sent(),this.addKeywordContextData(),[4,this.sendSpeechContext(e)];case 2:return t.sent(),[4,this.sendAgentContext(e)];case 3:return t.sent(),[4,this.sendWaveHeader(e)];case 4:return t.sent(),[2]}}))}))},t.prototype.fireEventForResult=function(e,t){var r=f.EnumTranslation.implTranslateRecognitionResult(e.RecognitionStatus),n=e.Offset+this.privRequestSession.currentTurnAudioOffset,i=new l.SpeechRecognitionResult(this.privRequestSession.requestId,r,e.DisplayText,e.Duration,n,e.Language,e.LanguageDetectionConfidence,void 0,void 0,JSON.stringify(e),t);return new l.SpeechRecognitionEventArgs(i,n,this.privRequestSession.sessionId)},t.prototype.onEvent=function(e){this.privEvents.onEvent(e),u.Events.instance.onEvent(e)},t.prototype.addKeywordContextData=function(){var e=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect");if(void 0!==e){for(var t=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect-Offsets"),r=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect-Durations"),n=e.split(";"),i=void 0===t?[]:t.split(";"),o=void 0===r?[]:r.split(";"),a=[],s=0;s<n.length;s++){var u={};u.text=n[s],s<i.length&&(u.offset=Number(i[s])),s<o.length&&(u.duration=Number(o[s])),a.push(u)}this.speechContext.setSection("invocationSource","VoiceActivationWithKeyword"),this.speechContext.setSection("keywordDetection",[{clientDetectedKeywords:a,onReject:{action:"EndOfTurn"},type:"startTrigger"}])}},t}(f.ServiceRecognizerBase);t.DialogServiceAdapter=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DialogServiceTurnStateManager=void 0;var n=r(115),i=r(1748),o=function(){function e(){this.privTurnMap=new Map}return e.prototype.StartTurn=function(e){if(this.privTurnMap.has(e))throw new n.InvalidOperationError("Service error: There is already a turn with id:"+e);var t=new i.DialogServiceTurnState(this,e);return this.privTurnMap.set(e,t),this.privTurnMap.get(e)},e.prototype.GetTurn=function(e){return this.privTurnMap.get(e)},e.prototype.CompleteTurn=function(e){if(!this.privTurnMap.has(e))throw new n.InvalidOperationError("Service error: Received turn end for an unknown turn id:"+e);var t=this.privTurnMap.get(e);return t.complete(),this.privTurnMap.delete(e),t},e}();t.DialogServiceTurnStateManager=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DialogServiceTurnState=void 0;var n=r(332),i=r(195),o=r(781),a=function(){function e(e,t){this.privRequestId=t,this.privIsCompleted=!1,this.privAudioStream=null,this.privTurnManager=e,this.resetTurnEndTimeout()}return Object.defineProperty(e.prototype,"audioStream",{get:function(){return this.resetTurnEndTimeout(),this.privAudioStream},enumerable:!1,configurable:!0}),e.prototype.processActivityPayload=function(e,t){return e.messageDataStreamType===o.MessageDataStreamType.TextToSpeechAudio&&(this.privAudioStream=i.AudioOutputStream.createPullStream(),this.privAudioStream.format=void 0!==t?t:n.AudioOutputFormatImpl.getDefaultOutputFormat()),this.privAudioStream},e.prototype.endAudioStream=function(){null===this.privAudioStream||this.privAudioStream.isClosed||this.privAudioStream.close()},e.prototype.complete=function(){void 0!==this.privTimeoutToken&&clearTimeout(this.privTimeoutToken),this.endAudioStream()},e.prototype.resetTurnEndTimeout=function(){var e=this;void 0!==this.privTimeoutToken&&clearTimeout(this.privTimeoutToken),this.privTimeoutToken=setTimeout((function(){e.privTurnM
2anager.CompleteTurn(e.privRequestId)}),2e3)},e}();t.DialogServiceTurnState=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgentConfig=void 0;var n=function(){function e(){}return e.prototype.toJsonString=function(){return JSON.stringify(this.iPrivConfig)},e.prototype.get=function(){return this.iPrivConfig},e.prototype.set=function(e){this.iPrivConfig=e},e}();t.AgentConfig=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1751);Object.defineProperty(t,"ConversationManager",{enumerable:!0,get:function(){return n.ConversationManager}});var i=r(464);Object.defineProperty(t,"ConversationConnectionConfig",{enumerable:!0,get:function(){return i.ConversationConnectionConfig}});var o=r(1753);Object.defineProperty(t,"ConversationRecognizerFactory",{enumerable:!0,get:function(){return o.ConversationRecognizerFactory}});var a=r(1762);Object.defineProperty(t,"TranscriberRecognizer",{enumerable:!0,get:function(){return a.TranscriberRecognizer}});var s=r(784);Object.defineProperty(t,"ConversationReceivedTranslationEventArgs",{enumerable:!0,get:function(){return s.ConversationReceivedTranslationEventArgs}}),Object.defineProperty(t,"LockRoomEventArgs",{enumerable:!0,get:function(){return s.LockRoomEventArgs}}),Object.defineProperty(t,"MuteAllEventArgs",{enumerable:!0,get:function(){return s.MuteAllEventArgs}}),Object.defineProperty(t,"ParticipantAttributeEventArgs",{enumerable:!0,get:function(){return s.ParticipantAttributeEventArgs}}),Object.defineProperty(t,"ParticipantEventArgs",{enumerable:!0,get:function(){return s.ParticipantEventArgs}}),Object.defineProperty(t,"ParticipantsListEventArgs",{enumerable:!0,get:function(){return s.ParticipantsListEventArgs}});var u=r(785);Object.defineProperty(t,"ConversationTranslatorCommandTypes",{enumerable:!0,get:function(){return u.ConversationTranslatorCommandTypes}}),Object.defineProperty(t,"ConversationTranslatorMessageTypes",{enumerable:!0,get:function(){return u.ConversationTranslatorMessageTypes}}),Object.defineProperty(t,"InternalParticipants",{enumerable:!0,get:function(){return u.InternalParticipants}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationManager=void 0;var n=r(27),i=r(12),o=r(464),a=r(782),s=function(){function e(){this.privRequestParam
2s=o.ConversationConnectionConfig.configParams,this.privErrors=o.ConversationConnectionConfig.restErrors,this.privHost=o.ConversationConnectionConfig.host,this.privApiVersion=o.ConversationConnectionConfig.apiVersion,this.privRestPath=o.ConversationConnectionConfig.restPath}return e.prototype.createOrJoin=function(e,t,r,s){var u=this;try{n.Contracts.throwIfNullOrUndefined(e,"args");var c=e.getProperty(i.PropertyId.SpeechServiceConnection_RecoLanguage,o.ConversationConnectionConfig.defaultLanguageCode),l=e.getProperty(i.PropertyId.ConversationTranslator_Name),p=e.getProperty(i.PropertyId.ConversationTranslator_Host,this.privHost),f=e.getProperty(i.PropertyId.ConversationTranslator_CorrelationId),d=e.getProperty(i.PropertyId.SpeechServiceConnection_Key),h=e.getProperty(i.PropertyId.SpeechServiceConnection_Region),v=e.getProperty(i.PropertyId.SpeechServiceAuthorization_Token);n.Contracts.throwIfNullOrWhitespace(c,"languageCode"),n.Contracts.throwIfNullOrWhitespace(l,"nickname"),n.Contracts.throwIfNullOrWhitespace(p,"endpointHost");var m={};
2m[this.privRequestParams.apiVersion]=this.privApiVersion,m[this.privRequestParams.languageCode]=c,m[this.privRequestParams.nickname]=l;var y={};f&&(y[this.privRequestParams.correlationId]=f),y[this.privRequestParams.clientAppId]=o.ConversationConnectionConfig.clientAppId,void 0!==t?m[this.privRequestParams.roomId]=t:(n.Contracts.throwIfNullOrUndefined(h,this.privErrors.authInvalidSubscriptionRegion),y[this.privRequestParams.subscriptionRegion]=h,d?y[this.privRequestParams.subscriptionKey]=d:v?y[this.privRequestParams.authorization]="Bearer "+v:n.Contracts.throwIfNullOrUndefined(d,this.privErrors.authInvalidSubscriptionKey));var T={};T.headers=y;var b="https://"+p+this.privRestPath;a.request("post",b,m,null,T,(function(e){var t=a.extractHeaderValue(u.privRequestParams.requestId,e.headers);if(e.ok){var n=JSON.parse(e.data);if(n&&(n.requestId=t),r){try{r(n)}catch(c){s&&s(c)}r=void 0}}else if(s){var i=u.privErrors.invalidCreateJoinConversationResponse.replace("{status}",e.status.toString()),o=void 0;try{i+=" ["+(o=JSON.parse(e.data)).error.code+": "+o.error.message+"]"}catch(c){i+=" ["+e.data+"]"}t&&(i+=" "+t),s(i)}}))}catch(_){if(s)if(_ instanceof Error){var g=_;s(g.name+": "+g.message)}else s(_)}},e.prototype.leave=function(e,t){var r=this;return new Promise((function(o,s){try{n.Contracts.throwIfNullOrUndefined(e,r.privErrors.invalidArgs.replace("{arg}","config")),n.Contracts.throwIfNullOrWhitespace(t,r.privErrors.invalidArgs.replace("{arg}","token"));var u=e.getProperty(i.PropertyId.ConversationTranslator_Host,r.privHost),c=e.getProperty(i.PropertyId.ConversationTranslator_CorrelationId),l={};
2l[r.privRequestParams.apiVersion]=r.privApiVersion,l[r.privRequestParams.sessionToken]=t;var p={};c&&(p[r.privRequestParams.correlationId]=c);var f={};f.headers=p;var d="https://"+u+r.privRestPath;a.request("delete",d,l,null,f,(function(e){e.ok,o()}))}catch(v){if(v instanceof Error){var h=v;s(h.name+": "+h.message)}else s(v)}}))},e}();t.ConversationManager=s},function(e,t){},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationTranslatorRecognizer=t.ConversationRecognizerFactory=void 0;var a=r(17),s=r(16),u=r(27),c=r(12),l=r(1754),p=r(1756),f=r(782),d=function(){function e(){}return e.fromConfig=function(e,t){return new h(e,t)},e}();t.ConversationRecognizerFactory=d;var h=function(e){function t(t,r){var n=this,i=t;return u.Contracts.throwIfNull(i,"speechConfig"),(n=e.call(this,r,i.properties,new l.ConversationConnectionFactory)||this).privIsDisposed=!1,n.privProperties=i.properties.clone(),n.privConnection=c.Connection.fromRecognizer(n),n}return n(t,e),Object.defineProperty(t.prototype,"connected",{set:function(e){this.privConnection.connected=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disconnected",{set:function(e){this.privConnection.disconnected=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return this.privSpeechRecognitionLanguage},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),t.prototype.isDisposed=function(){return this.privIsDisposed},t.prototype.connect=function(e,t,r){try{u.Contracts.throwIfDisposed(this.privIsDisposed),u.Contracts.throwIfNullOrWhitespace(e,"token"),this.privReco.conversationTranslatorToken=e,this.privReco.connectAsync(t,r)}catch(i){if(r)if(i instanceof Error){var n=i;r(n.name+": "+n.message)}else r(i)}},t.prototype.disconnect=function(e,t){try{u.Contracts.throwIfDisposed(this.privIsDisposed),this.privReco.disconnect().then((function(){e&&e()}),(function(e){t&&t(e)}))}catch(n){if(t)if(n instanceof Error){var r=n;t(r.name+": "+r.message)}else t(n);this.dispose(!0).catch((function(e){s.Events.instance.onEvent(new s.BackgroundEvent(e))}))}},t.prototype.sendRequest=function(e,t,r){try{u.Contracts.throwIfDisposed(this.privIsDisposed),this.sendMessage(e,t,r)}catch(i){if(r)if(i instanceof Error){var n=i;r(n.name+": "+n.message)}else r(i);this.dispose(!0).catch((function(e){s.Events.instance.onEvent(new s.Backgroun
2dEvent(e))}))}},t.prototype.close=function(){var e,t;return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return u.Contracts.throwIfDisposed(this.privIsDisposed),null===(e=this.privConnection)||void 0===e||e.closeConnection(),null===(t=this.privConnection)||void 0===t||t.close(),this.privConnection=void 0,[4,this.dispose(!0)];case 1:return r.sent(),[2]}}))}))},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privIsDisposed?[2]:t?(this.privIsDisposed=!0,this.privConnection&&(this.privConnection.closeConnection(),this.privConnection.close(),this.privConnection=void 0),[4,e.prototype.dispose.call(this,t)]):[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},t.prototype.createRecognizerConfig=function(e){return new a.RecognizerConfig(e,this.privProperties)},t.prototype.createServiceRecognizer=function(e,t,r,n){var i=r;return new p.ConversationServiceAdapter(e,t,i,n,this)},t.prototype.sendMessage=function(e,t,r){var n=this.privReco;f.PromiseToEmptyCallback(n.sendMessageAsync(e),t,r)},t}(c.Recognizer);t.ConversationTranslatorRecognizer=h},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationConnectionFactory=void 0;var i=r(85),o=r(16),a=r(27),s=r(12),u=r(196),c=r(464),l=r(1755),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.create=function(e,t,r){var n=e.parameters.getProperty(s.PropertyId.ConversationTranslator_Host,c.ConversationConnectionConfig.host),u=e.parameters.getProperty(s.PropertyId.ConversationTranslator_CorrelationId,o.createGuid()),p="wss://"+n+c.ConversationConnectionConfig.webSocketPath,f=e.parameters.getProperty(s.PropertyId.ConversationTranslator_Token,void 0);a.Contracts.throwIfNullOrUndefined(f,"token");var d={};d[c.ConversationConnectionConfig.configParams.apiVersion]=c.ConversationConnectionConfig.apiVersion,d[c.ConversationConnectionConfig.configParams.token]=f,d[c.ConversationConnectionConfig.configParams.correlationId]=u;var h="true"===e.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new i.WebsocketConnection(p,d,{},new l.ConversationWebsocketMessageFormatter,i.ProxyInfo.fromRecognizerConfig(e),h,r)},t}(u.ConnectionFactoryBase);t.ConversationConnectionFactory=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationWebsocketMessageFormatter=void 0;var n=r(16),i=r(783),o=function(){this.toConnectionMessage=function(e){var t=new n.Deferred;try{if(e.messageType===n.MessageType.Text){var r=new i.ConversationConnectionMessage(e.messageType,e.textContent,{},e.id);t.resolve(r)}else e.messageType===n.MessageType.Binary&&t.resolve(new i.ConversationConnectionMessage(e.messageType,e.binaryContent,void 0,e.id))}catch(o){t.reject("Error formatting the message. Error: "+o)}return t.promise},this.fromConnectionMessage=function(e){var t=new n.Deferred;try{if(e.messageType===n.MessageType.Text){var r=""+(e.textBody?e.textBody:"");t.resolve(new n.RawWebsocketMessage(n.MessageType.Text,r,e.id))}}catch(i){t.reject("Error formatting the message. "+i)}return t.promise}};t.ConversationWebsocketMessageFormatter=o},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationServiceAdapter=void 0;var a=r(16),s=r(12),u=r(17),c=r(783),l=r(1757),p=r(784),f=r(785),d=r(1758),h=function(e){function t(t,r,n,i,o){var s=e.call(this,t,r,n,i,o)||this;return s.privLastPartialUtteranceId="",s.noOp=function(){},s.privConversationServiceConnector=o,s.privConversationAuthentication=t,s.receiveMessageOverride=s.receiveConversationMessageOverride,s.recognizeOverride=s.noOp,s.postConnectImplOverride=s.conversationConnectImpl,s.configConnectionOverride=s.configConnection,s.disconnectOverride=s.privDisconnect,s.privConversationRequestSession=new l.ConversationRequestSession(a.createNoDashGuid()),s.privConversationConnectionFactory=r,s.privConversationIsDisposed=!1,s}return n(t,e),t.prototype.isDisposed=function(){return e.prototype.isDisposed.call(this)||this.privConversationIsDisposed},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privConversationIsDisposed=!0,this.privConnectionConfigPromise?[4,this.privConnectionConfigPromise]:[3,3];case 1:return[4,r.sent().dispose(t)];case 2:r.sent(),r.label=3;case 3:return[4,e.prototype.dispose.call(this,t)];case 4:return r.sent(),[2]}}))}))},t.prototype.sendMessage=function(e){return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return[4,this.fetchConnection()];case 1:return[2,t.sent().send(new c.ConversationConnectionMessage(a.MessageType.Text,e))]}}))}))},t.prototype.sendMessageAsync=function(e){return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return new a.Deferred,[4,this.fetchConnection()];case 1:return[4,t.sent().send(new c.ConversationConnectionMessage(a.MessageType.Text,e))];case 2:return t.sent(),[2]}}))}))},t.prototype.privDisconnect=function(){if(!this.terminateMessageLoop)return this.cancelRecognition(this.privConversationRequestSession.sessionId,this.privConversationRequestSession.requestId,s.CancellationReason.Error,s.CancellationErrorCode.NoError,"Disconnecting"),this.terminateMessageLoop=!0,Promise.resolve()},t.prototype.processTypeSpecificMessages=function(e,t,r){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,!0]}))}))},t.prototype.cancelRecognition=function(e,t,r,n,i){this.terminateMessageLoop=!0;var o=new s.ConversationTranslationCanceledEventArgs(r,i,n,void 0,e);try{this.privConversationServiceConnector.canceled&&this.privConversationServiceConnector.canceled(this.privConversationServiceConnector,o)}catch(a){}},t.prototype.conversationConnectImpl=function(e){return i(this,void 0,void 0,(function(){return o(this,(function(t){return this.privConnectionLoop=this.startMessageLoop(),[2,e]}))}))},t.prototype.receiveConversationMessageOverride=function(){return i(this,void 0,void 0,(function(){var e,t,r,n,i,u,c,l,h,v,m,y,T,b;return o(this,(function(o){switch(o.label){case 0:if(this.isDisposed()||this.terminateMessageLoop)return[2,Promise.resolve()];e=new a.Deferred,o.label=1;case 1:return o.trys.push([1,4,,5]),[4,this.fetchConnection()];case 2:return[4,o.sent().read()];case 3:if(t=o.sent(),this.isDisposed()||this.terminateMessageLoop)return e.resolve(),[2,Promise.resolve()];if(!t)return[2,this.receiveConversationMessageOverride()];r=this.privConversationRequestSession.sessionId,n=!1;
2try{switch(t.conversationMessageType.toLowerCase()){case"info":case"participant_command":case"command":switch((i=d.CommandResponsePayload.fromJSON(t.textBody)).command.toLowerCase()){case"participantlist":u=d.ParticipantsListPayloadResponse.fromJSON(t.textBody),c=u.participants.map((function(e){return{avatar:e.avatar,displayName:e.nickname,id:e.participantId,isHost:e.ishost,isMuted:e.ismuted,isUsingTts:e.usetts,preferredLanguage:e.locale}})),this.privConversationServiceConnector.participantsListReceived&&this.privConversationServiceConnector.participantsListReceived(this.privConversationServiceConnector,new p.ParticipantsListEventArgs(u.roomid,u.token,u.translateTo,u.profanityFilter,u.roomProfanityFilter,u.roomLocked,u.muteAll,c,r));break;case"settranslatetolanguages":this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new p.ParticipantAttributeEventArgs(i.participantId,f.ConversationTranslatorCommandTypes.setTranslateToLanguages,i.value,r));break;case"setprofanityfiltering":this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new p.ParticipantAttributeEventArgs(i.participantId,f.ConversationTranslatorCommandTypes.setProfanityFiltering,i.value,r));break;case"setmute":this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new p.ParticipantAttributeEventArgs(i.participantId,f.ConversationTranslatorCommandTypes.setMute,i.value,r));break;case"setmuteall":this.privConversationServiceConnector.muteAllCommandReceived&&this.privConversationServiceConnector.muteAllCommandReceived(this.privConversationServiceConnector,new p.MuteAllEventArgs(i.value,r));break;case"roomexpirationwarning":this.privConversationServiceConnector.conversationExpiration&&this.privConversationServiceConnector.conversationExpiration(this.privConversationServiceConnector,new s.ConversationExpirationEventArgs(i.value,this.privConversationRequestSession.sessionId));break;case"setusetts":this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new p.ParticipantAttributeEventArgs(i.participantId,f.ConversationTranslatorCommandTypes.setUseTTS,i.value,r));break;case"setlockstate":this.privConversationServiceConnector.lockRoomCommandReceived&&this.privConversationServiceConnector.lockRoomCommandReceived(this.privConversationServiceConnector,new p.LockRoomEventArgs(i.value,r));break;case"changenickname":this.privConversationServiceConnector.participantUpdateCommandReceived&&this.privConversationServiceConnector.participantUpdateCommandReceived(this.privConversationServiceConnector,new p.ParticipantAttributeEventArgs(i.participantId,f.ConversationTranslatorCommandTypes.changeNickname,i.nickname,r));break;case"joinsession":l=d.ParticipantPayloadResponse.fromJSON(t.textBody),h={avatar:l.avatar,displayName:l.nickname,id:l.participantId,isHost:l.ishost,isMuted:l.ismuted,isUsingTts:l.usetts,preferredLanguage:l.locale},this.privConversationServiceConnector.participantJoinCommandReceived&&this.privConversationServiceConnector.participantJoinCommandReceived(this.privConversationServiceConnector,new p.ParticipantEventArgs(h,r));break;case"leavesession":v={id:i.participantId},this.privConversationServiceConnector.participantLeaveCommandReceived&&this.privConversationServiceConnector.participantLeaveCommandReceived(this.privConversationServiceConnector,new p.ParticipantEventArgs(v,r));break;case"disconnectsession":({id:i.participantId})}break;case"partial":case"final":m=d.SpeechResponsePayload.fromJSON(t.textBody),y=new s.ConversationTranslationResult(m.participantId,this.getTranslations(m.translations),m.language,void 0,void 0,m.recognition,void 0,void 0,t.textBody,void 0),m.isFinal?((void 0!==y.text&&y.text.length>
20||m.id===this.privLastPartialUtteranceId)&&(n=!0),n&&this.privConversationServiceConnector.translationReceived&&this.privConversationServiceConnector.translationReceived(this.privConversationServiceConnector,new p.ConversationReceivedTranslationEventArgs(f.ConversationTranslatorMessageTypes.final,y,r))):void 0!==y.text&&(this.privLastPartialUtteranceId=m.id,this.privConversationServiceConnector.translationReceived&&this.privConversationServiceConnector.translationReceived(this.privConversationServiceConnector,new p.ConversationReceivedTranslationEventArgs(f.ConversationTranslatorMessageTypes.partial,y,r)));break;case"translated_message":T=d.TextResponsePayload.fromJSON(t.textBody),b=new s.ConversationTranslationResult(T.participantId,this.getTranslations(T.translations),T.language,void 0,void 0,T.originalText,void 0,void 0,void 0,t.textBody,void 0),this.privConversationServiceConnector.translationReceived&&this.privConversationServiceConnector.translationReceived(this.privConversationServiceConnector,new p.ConversationReceivedTranslationEventArgs(f.ConversationTranslatorMessageTypes.instantMessage,b,r))}}catch(g){}return[2,this.receiveConversationMessageOverride()];case 4:return o.sent(),this.terminateMessageLoop=!0,[3,5];case 5:return[2,e.promise]}}))}))},t.prototype.startMessageLoop=function(){return i(this,void 0,void 0,(function(){var e,t;return o(this,(function(r){switch(r.label){case 0:if(this.isDisposed())return[2,Promise.resolve()];this.terminateMessageLoop=!1,e=this.receiveConversationMessageOverride(),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,e];case 2:return[2,r.sent()];case 3:return t=r.sent(),this.cancelRecognition(this.privRequestSession?this.privRequestSession.sessionId:"",this.privRequestSession?this.privRequestSession.requestId:"",s.CancellationReason.Error,s.CancellationErrorCode.RuntimeError,t),[2,null];case 4:return[2]}}
2))}))},t.prototype.configConnection=function(){var e=this;return this.isDisposed()?Promise.resolve(void 0):this.privConnectionConfigPromise?this.privConnectionConfigPromise.then((function(t){return t.state()===a.ConnectionState.Disconnected?(e.privConnectionId=null,e.privConnectionConfigPromise=null,e.configConnection()):e.privConnectionConfigPromise}),(function(t){return e.privConnectionId=null,e.privConnectionConfigPromise=null,e.configConnection()})):this.terminateMessageLoop?Promise.resolve(void 0):(this.privConnectionConfigPromise=this.connectImpl().then((function(e){return e})),this.privConnectionConfigPromise)},t.prototype.getTranslations=function(e){var t;if(void 0!==e){t=new s.Translations;for(var r=0,n=e;r<n.length;r++){var i=n[r];t.set(i.lang,i.translation)}}return t},t}(u.ServiceRecognizerBase);t.ConversationServiceAdapter=h},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationRequestSession=void 0;var o=r(16),a=function(){function e(e){var t=this;this.privIsDisposed=!1,this.privDetachables=new Array,this.onPreConnectionStart=function(e,r){t.privSessionId=r},this.onAuthCompleted=function(e,r){e&&t.onComplete()},this.onConnectionEstablishCompleted=function(e,r){200!==e&&403===e&&t.onComplete()},this.onServiceTurnEndResponse=function(e){e?t.privRequestId=o.createNoDashGuid():t.onComplete()},this.onComplete=function(){},this.privSessionId=e,this.privRequestId=o.createNoDashGuid(),this.privRequestCompletionDeferral=new o.Deferred}return Object.defineProperty(e.prototype,"sessionId",{get:function(){return this.privSessionId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"requestId",{get:function(){return this.privRequestId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"completionPromise",{get:function(){return this.privRequestCompletionDeferral.promise},enumerable:!1,configurable:!0}),e.prototype.dispose=function(e){return n(this,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:if(this.privIsDisposed)return[3,4];this.privIsDisposed=!0,e=0,t=this.privDetachables,r.label=1;case 1:return e<t.length?[4,t[e].detach()]:[3,4];case 2:r.sent(),r.label=3;case 3:return e++,[3,1];case 4:return[2]}}
2))}))},e}();t.ConversationRequestSession=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1759);Object.defineProperty(t,"CommandResponsePayload",{enumerable:!0,get:function(){return n.CommandResponsePayload}});var i=r(1760);Object.defineProperty(t,"ParticipantsListPayloadResponse",{enumerable:!0,get:function(){return i.ParticipantsListPayloadResponse}}),Object.defineProperty(t,"ParticipantPayloadResponse",{enumerable:!0,get:function(){return i.ParticipantPayloadResponse}});var o=r(1761);Object.defineProperty(t,"SpeechResponsePayload",{enumerable:!0,get:function(){return o.SpeechResponsePayload}}),Object.defineProperty(t,"TextResponsePayload",{enumerable:!0,get:function(){return o.TextResponsePayload}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommandResponsePayload=void 0;var n=function(){function e(e){this.privCommandResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"type",{get:function(){return this.privCommandResponse.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"command",{get:function(){return this.privCommandResponse.command},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privCommandResponse.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nickname",{get:function(){return this.privCommandResponse.nickname},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"participantId",{get:function(){return this.privCommandResponse.participantId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roomid",{get:function(){return this.privCommandResponse.roomid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.privCommandResponse.value},enumerable:!1,configurable:!0}),e}();t.CommandResponsePayload=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParticipantPayloadResponse=t.ParticipantsListPayloadResponse=void 0;var n=function(){function e(e){this.privParticipantsPayloadResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"roomid",{get:function(){return this.privParticipantsPayloadResponse.roomid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privParticipantsPayloadResponse.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"command",{get:function(){return this.privParticipantsPayloadResponse.command},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"participants",{get:function(){return this.privParticipantsPayloadResponse.participants},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"token",{get:function(){return this.privParticipantsPayloadResponse.token},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"translateTo",{get:function(){return this.privParticipantsPayloadResponse.translateTo},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"profanityFilter",{get:function(){return this.privParticipantsPayloadResponse.profanityFilter},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roomProfanityFilter",{get:function(){return this.privParticipantsPayloadResponse.roomProfanityFilter},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roomLocked",{get:function(){return this.privParticipantsPayloadResponse.roomLocked},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"muteAll",{get:function(){return this.privParticipantsPayloadResponse.muteAll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.privParticipantsPayloadResponse.type},enumerable:!1,configurable:!0}),e}();t.ParticipantsListPayloadResponse=n;var i=function(){function e(e){this.privParticipantPayloadResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"nickname",{get:function(){return this.privParticipantPayloadResponse.nickname}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"locale",{get:function(){return this.privParticipantPayloadResponse.locale},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"usetts",{get:function(){return this.privParticipantPayloadResponse.usetts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ismuted",{get:function(){return this.privParticipantPayloadResponse.ismuted},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ishost",{get:function(){return this.privParticipantPayloadResponse.ishost},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"participantId",{get:function(){return this.privParticipantPayloadResponse.participantId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"avatar",{get:function(){return this.privParticipantPayloadResponse.avatar},enumerable:!1,configurable:!0}),e}();t.ParticipantPayloadResponse=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextResponsePayload=t.SpeechResponsePayload=void 0;var n=function(){function e(e){this.privSpeechResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"recognition",{get:function(){return this.privSpeechResponse.recognition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"translations",{get:function(){return this.privSpeechResponse.translations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privSpeechResponse.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this.privSpeechResponse.language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nickname",{get:function(){return this.privSpeechResponse.nickname},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"participantId",{get:function(){return this.privSpeechResponse.participantId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roomid",{get:function(){return this.privSpeechResponse.roomid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timestamp",{get:function(){return this.privSpeechResponse.timestamp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.privSpeechResponse.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isFinal",{get:function(){return"final"===this.privSpeechResponse.type},enumerable:!1,configurable:!0}),e}();t.SpeechResponsePayload=n;var i=function(){function e(e){this.privTextResponse=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"originalText",{get:function(){return this.privTextResponse.originalText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"translations",{get:function(){return this.privTextResponse.translations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.privTextResponse.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this.privTextResponse.language},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nickname",{get:function(){return this.privTextResponse.nickname},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"participantId",{get:function(){return this.privTextResponse.participantId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"roomid",{get:function(){return this.privTextResponse.roomid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timestamp",{get:function(){return this.privTextResponse.timestamp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.privTextResponse.type},enumerable:!1,configurable:!0}),e}();t.TextResponsePayload=i},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriberRecognizer=void 0;var a=r(16),s=r(27),u=r(12),c=r(17),l=function(e){function t(t,r){var n=this,i=t;return s.Contracts.throwIfNull(i,"speechTranslationConfig"),s.Contracts.throwIfNullOrWhitespace(i.speechRecognitionLanguage,u.PropertyId[u.PropertyId.SpeechServiceConnection_RecoLanguage]),(n=e.call(this,r,i.properties,new c.TranscriberConnectionFactory)||this).privDisposedRecognizer=!1,n}return n(t,e),t.prototype.getConversationInfo=function(){return s.Contracts.throwIfNullOrUndefined(this.privConversation,"Conversation"),this.privConversation.conversationInfo},Object.defineProperty(t.prototype,"authorizationToken",{get:function(){return this.properties.getProperty(u.PropertyId.SpeechServiceAuthorization_Token)},set:function(e){s.Contracts.throwIfNullOrWhitespace(e,"token"),this.properties.setProperty(u.PropertyId.SpeechServiceAuthorization_Token,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"conversation",{set:function(e){s.Contracts.throwIfNullOrUndefined(e,"Conversation"),this.privConversation=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"speechRecognitionLanguage",{get:function(){return s.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(u.PropertyId.SpeechServiceConnection_RecoLanguage)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return this.privProperties},enumerable:!1,configurable:!0}),t.prototype.startContinuousRecognitionAsync=function(e,t){a.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(c.RecognitionMode.Conversation),e,t)},t.prototype.stopContinuousRecognitionAsync=function(e,t){a.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),e,t)},t.prototype.close=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return s.Contracts.throwIfDisposed(this.privDisposedRecognizer),[4,this.dispose(!0)];case 1:return e.sent(),[2]}}))}))},t.prototype.pushConversationEvent=function(e,t){return i(this,void 0,void 0,(function(){var r;return o(this,(function(n){switch(n.label){case 0:return r=this.privReco,s.Contracts.throwIfNullOrUndefined(r,"serviceRecognizer"),[4,r.sendSpeechEventAsync(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.connectCallbacks=function(e){this.canceled=function(t,r){e.canceled&&e.canceled(e,r)},this.recognizing=function(t,r){e.transcribing&&e.transcribing(e,r)},this.recognized=function(t,r){e.transcribed&&e.transcribed(e,r)},this.sessionStarted=function(t,r){e.sessionStarted&&e.sessionStarted(e,r)},this.sessionStopped=function(t,r){e.sessionStopped&&e.sessionStopped(e,r)}},t.prototype.disconnectCallbacks=function(){this.canceled=void 0,this.recognizing=void 0,this.recognized=void 0,this.sessionStarted=void 0,this.sessionStopped=void 0},t.prototype.dispose=function(t){return i(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return this.privDisposedRecognizer?[2]:t?(this.privDisposedRecognizer=!0,[4,this.implRecognizerStop()]):[3,2];case 1:r.sent(),r.label=2;case 2:return[4,e.prototype.dispose.call(this,t)];case 3:return r.sent(),[2]}}))}))},t.prototype.createRecognizerConfig=function(e){return new c.RecognizerConfig(e,this.properties)},t.prototype.createServiceRecognizer=function(e,t,r,n){var i=r;return new c.TranscriptionServiceRecognizer(e,t,i,n,this)},t}(u.Recognizer);t.TranscriberRecognizer=l},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesisAudioMetadata=t.MetadataType=void 0,function(e){e.WordBoundary="WordBoundary",e.Bookmark="Bookmark",e.Viseme="Viseme"}(t.MetadataType||(t.MetadataType={}));var n=function(){function e(e){this.privSynthesisAudioMetadata=JSON.parse(e)}return e.fromJSON=function(t){return new e(t)},Object.defineProperty(e.prototype,"Metadata",{get:function(){return this.privSynthesisAudioMetadata.Metadata},enumerable:!1,configurable:!0}),e}();t.SynthesisAudioMetadata=n},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesisTurn=void 0;var o=r(16),a=r(195),s=r(786),u=r(1765),c=function(){function e(){var e=this;this.privIsDisposed=!1,this.privIsSynthesizing=!1,this.privIsSynthesisEnded=!1,this.privBytesReceived=0,this.privInTurn=!1,this.privTextOffset=0,this.privNextSearchTextIndex=0,this.onPreConnectionStart=function(t,r){e.privAuthFetchEventId=t,e.onEvent(new u.ConnectingToSynthesisServiceEvent(e.privRequestId,e.privAuthFetchEventId))},this.onAuthCompleted=function(t,r){t&&e.onComplete()},this.onConnectionEstablishCompleted=function(t,r){if(200===t)return e.onEvent(new u.SynthesisStartedEvent(e.requestId,e.privAuthFetchEventId)),void(e.privBytesReceived=0);403===t&&e.onComplete()},this.onServiceResponseMessage=function(t){var r=JSON.parse(t);e.streamId=r.audio.streamId},this.onServiceTurnEndResponse=function(){e.privInTurn=!1,e.privTurnDeferral.resolve(),e.onComplete()},this.onServiceTurnStartResponse=function(){e.privTurnDeferral&&e.privInTurn&&(e.privTurnDeferral.reject("Another turn started before current completed."),e.privTurnDeferral.promise.then().catch((function(){}))),e.privInTurn=!0,e.privTurnDeferral=new o.Deferred},this.dispose=function(t){e.privIsDisposed||(e.privIsDisposed=!0)},this.onEvent=function(e){o.Events.instance.onEvent(e)},this.onComplete=function(){e.privIsSynthesizing&&(e.privIsSynthesizing=!1,e.privIsSynthesisEnded=!0,e.privAudioOutputStream.close(),e.privInTurn=!1,void 0!==e.privTurnAudioDestination&&(e.privTurnAudioDestination.close(),e.privTurnAudioDestination=void 0))},this.privRequestId=o.createNoDashGuid(),this.privTurnDeferral=new o.Deferred,this.privTurnDeferral.resolve()}return Object.defineProperty(e.prototype,"requestId",{get:function(){return this.privRequestId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"streamId",{get:function(){return this.privStreamId},set:function(e){this.privStreamId=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"audioOutputFormat",{get:function(){return this.privAudioOutputFormat},set:function(e){this.privAudioOutputFormat=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"turnCompletionPromise",{get:function(){return this.privTurnDeferral.promise}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSynthesisEnded",{get:function(){return this.privIsSynthesisEnded},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSynthesizing",{get:function(){return this.privIsSynthesizing},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTextOffset",{get:function(){return this.privTextOffset},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bytesReceived",{get:function(){return this.privBytesReceived},enumerable:!1,configurable:!0}),e.prototype.getAllReceivedAudio=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.privReceivedAudio?[2,Promise.resolve(this.privReceivedAudio)]:this.privIsSynthesisEnded?[4,this.readAllAudioFromStream()]:[2,null];case 1:return e.sent(),[2,Promise.resolve(this.privReceivedAudio)]}}))}))},e.prototype.getAllReceivedAudioWithHeader=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return this.privReceivedAudioWithHeader?[2,this.privReceivedAudioWithHeader]:this.privIsSynthesisEnded?this.audioOutputFormat.hasHeader?[4,this.getAllReceivedAudio()]:[3,2]:[2,null];case 1:return e=t.sent(),this.privReceivedAudioWithHeader=s.SynthesisAdapterBase.addHeader(e,this.audioOutputFormat),[2,this.privReceivedAudioWithHeader];case 2:return[2,this.getAllReceivedAudio()]}}))}))},e.prototype.startNewSynthesis=function(e,t,r,n){this.privIsSynthesisEnded=!1,this.privIsSynthesizing=!0,this.privRequestId=e,this.privRawText=t,this.privIsSSML=r,this.privAudioOutputStream=new a.PullAudioOutputStreamImpl,this.privAudioOutputStream.format=this.privAudioOutputFormat,this.privReceivedAudio=null,this.privReceivedAudioWithHeader=null,this.privBytesReceived=0,this.privTextOffset=0,this.privNextSearchTextIndex=0,this.privPartialVisemeAnimation="",void 0!==n&&(this.privTurnAudioDestination=n,this.privTurnAudioDestination.format=this.privAudioOutputFormat),this.onEvent(new u.SynthesisTriggeredEvent(this.requestId,void 0,void 0===n?void 0:n.id()))},e.prototype.onAudioChunkReceived=function(e){this.isSynthesizing&&(this.privAudioOutputStream.write(e),this.privBytesReceived+=e.byteLength,void 0!==this.privTurnAudioDestination&&this.privTurnAudioDestination.write(e))},e.prototype.onWordBoundaryEvent=function(e){this.updateTextOffset(e)},e.prototype.onVisemeMetadataReceived=function(e){void 0!==e.Data.AnimationChunk&&(this.privPartialVisemeAnimation+=e.Data.AnimationChunk)},e.prototype.onStopSynthesizing=function(){this.onComplete()},e.prototype.getAndClearVisemeAnimation=function(){var e=this.privPartialVisemeAnimation;return this.privPartialVisemeAnimation="",e},e.prototype.updateTextOffset=function(e){this.privTextOffset>=0&&(this.privTextOffset=this.privRawText.indexOf(e,this.privNextSearchTextIndex),this.privTextOffset>=0&&(this.privNextSearchTextIndex=this.privTextOffset+e.length),this.privIsSSML&&this.privRawText.indexOf("<",this.privTextOffset+1)>this.privRawText.indexOf(">",this.privTextOffset+1)&&this.updateTextOffset(e))},e.prototype.readAllAudioFromStream=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:if(!this.privIsSynthesisEnded)return[3,4];this.privReceivedAudio=new ArrayBuffer(this.bytesReceived),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.privAudioOutputStream.read(this.privReceivedAudio)];case 2:return e.sent(),[3,4];case 3:return e.sent(),this.privReceivedAudio=new ArrayBuffer(0),[3,4];case 4:return[2]}}
2))}))},e}();t.SynthesisTurn=c},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesisStartedEvent=t.ConnectingToSynthesisServiceEvent=t.SynthesisTriggeredEvent=t.SpeechSynthesisEvent=void 0;var i=r(16),o=function(e){function t(t,r,n){void 0===n&&(n=i.EventType.Info);var o=e.call(this,t,n)||this;return o.privRequestId=r,o}return n(t,e),Object.defineProperty(t.prototype,"requestId",{get:function(){return this.privRequestId},enumerable:!1,configurable:!0}),t}(i.PlatformEvent);t.SpeechSynthesisEvent=o;var a=function(e){function t(t,r,n){var i=e.call(this,"SynthesisTriggeredEvent",t)||this;return i.privSessionAudioDestinationId=r,i.privTurnAudioDestinationId=n,i}return n(t,e),Object.defineProperty(t.prototype,"audioSessionDestinationId",{get:function(){return this.privSessionAudioDestinationId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioTurnDestinationId",{get:function(){return this.privTurnAudioDestinationId},enumerable:!1,configurable:!0}),t}(o);t.SynthesisTriggeredEvent=a;var s=function(e){function t(t,r){var n=e.call(this,"ConnectingToSynthesisServiceEvent",t)||this;return n.privAuthFetchEventId=r,n}return n(t,e),Object.defineProperty(t.prototype,"authFetchEventId",{get:function(){return this.privAuthFetchEventId},enumerable:!1,configurable:!0}),t}(o);t.ConnectingToSynthesisServiceEvent=s;var u=function(e){function t(t,r){var n=e.call(this,"SynthesisStartedEvent",t)||this;return n.privAuthFetchEventId=r,n}return n(t,e),Object.defineProperty(t.prototype,"authFetchEventId",{get:function(){return this.privAuthFetchEventId},enumerable:!1,configurable:!0}),t}(o);t.SynthesisStartedEvent=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesizerConfig=t.SynthesisServiceType=void 0;var n,i=r(17);!function(e){e[e.Standard=0]="Standard",e[e.Custom=1]="Custom"}(n=t.SynthesisServiceType||(t.SynthesisServiceType={}));var o=function(){function e(e,t){this.privSynthesisServiceType=n.Standard,this.privSpeechServiceConfig=e||new i.SpeechServiceConfig(new i.Context(null)),this.privParameters=t}return Object.defineProperty(e.prototype,"parameters",{get:function(){return this.privParameters},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"synthesisServiceType",{get:function(){return this.privSynthesisServiceType},set:function(e){this.privSynthesisServiceType=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SpeechServiceConfig",{get:function(){return this.privSpeechServiceConfig},enumerable:!1,configurable:!0}),e}();t.SynthesizerConfig=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SynthesisContext=void 0;var n=function(){function e(e){this.privContext={},this.privSpeechSynthesizer=e}return e.prototype.setSection=function(e,t){this.privContext[e]=t},Object.defineProperty(e.prototype,"audioOutputFormat",{set:function(e){this.privAudioOutputFormat=e},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e=this.buildSynthesisContext();return this.setSection("synthesis",e),JSON.stringify(this.privContext)},e.prototype.buildSynthesisContext=function(){return{audio:{metadataOptions:{bookmarkEnabled:!!this.privSpeechSynthesizer.bookmarkReached,sentenceBoundaryEnabled:!1,visemeEnabled:!!this.privSpeechSynthesizer.visemeReceived,wordBoundaryEnabled:!!this.privSpeechSynthesizer.wordBoundary},outputFormat:this.privAudioOutputFormat.requestAudioFormatString},language:{autoDetection:this.privSpeechSynthesizer.autoDetectSourceLanguage}}},e}();t.SynthesisContext=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerRecognitionConfig=void 0;var n=r(17),i=function(){function e(e,t){this.privContext=e||new n.Context(null),this.privParameters=t}return Object.defineProperty(e.prototype,"parameters",{get:function(){return this.privParameters}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Context",{get:function(){return this.privContext},enumerable:!1,configurable:!0}),e}();t.SpeakerRecognitionConfig=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakerIdMessageAdapter=void 0;var o=r(85),a=r(12),s=function(){function e(e){var t=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint,void 0);if(!t){var r=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Region,"westus"),n=r&&r.toLowerCase().startsWith("china")?".azure.cn":".microsoft.com";t=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Host,"https://"+r+".api.cognitive"+n+"/speaker/{mode}/v2.0/{dependency}")+"/profiles"}this.privUri=t;var i=o.RestConfigBase.requestOptions;i.headers[o.RestConfigBase.configParams.subscriptionKey]=e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Key,void 0),this.privRestAdapter=new o.RestMessageAdapter(i)}return e.prototype.createProfile=function(e,t){var r=this.getOperationUri(e);return this.privRestAdapter.setHeaders(o.RestConfigBase.configParams.contentTypeKey,"application/json"),this.privRestAdapter.request(o.RestRequestType.Post,r,{},{locale:t})},e.prototype.createEnrollment=function(e,t){var r=this;this.privRestAdapter.setHeaders(o.RestConfigBase.configParams.contentTypeKey,"multipart/form-data");var n=this.getOperationUri(e.profileType)+"/"+e.profileId+"/enrollments";return t.blob.then((function(e){return r.privRestAdapter.request(o.RestRequestType.File,n,{ignoreMinLength:"true"},null,e)}))},e.prototype.verifySpeaker=function(e,t){return n(this,void 0,void 0,(function(){var r,n,a;return i(this,(function(i){switch(i.label){case 0:this.privRestAdapter.setHeaders(o.RestConfigBase.configParams.contentTypeKey,"multipart/form-data"),r=this.getOperationUri(e.voiceProfile.profileType)+"/"+e.voiceProfile.profileId+"/verify",i.label=1;case 1:return i.trys.push([1,3,,4]),[4,t.blob];case 2:return n=i.sent(),[2,this.privRestAdapter.request(o.RestRequestType.File,r,{ignoreMinLength:"true"},null,n)];case 3:return a=i.sent(),[2,Promise.resolve({data:a})];case 4:return[2]}}
2))}))},e.prototype.identifySpeaker=function(e,t){return n(this,void 0,void 0,(function(){var r,n,s;return i(this,(function(i){switch(i.label){case 0:this.privRestAdapter.setHeaders(o.RestConfigBase.configParams.contentTypeKey,"multipart/form-data"),r=this.getOperationUri(a.VoiceProfileType.TextIndependentIdentification)+"/identifySingleSpeaker",i.label=1;case 1:return i.trys.push([1,3,,4]),[4,t.blob];case 2:return n=i.sent(),[2,this.privRestAdapter.request(o.RestRequestType.File,r,{profileIds:e.voiceProfileIds,ignoreMinLength:"true"},null,n)];case 3:return s=i.sent(),[2,Promise.resolve({data:s})];case 4:return[2]}}))}))},e.prototype.getProfileStatus=function(e){var t=this.getOperationUri(e.profileType)+"/"+e.profileId;return this.privRestAdapter.request(o.RestRequestType.Get,t,{})},e.prototype.getProfiles=function(e){var t=this.getOperationUri(e);return this.privRestAdapter.request(o.RestRequestType.Get,t,{})},e.prototype.getAuthorizationPhrases=function(e){var t=(""+this.getOperationUri(a.VoiceProfileType.TextDependentVerification)).replace("profiles","phrases")+"/"+e;return this.privRestAdapter.request(o.RestRequestType.Get,t,{})},e.prototype.deleteProfile=function(e){var t=this.getOperationUri(e.profileType)+"/"+e.profileId;return this.privRestAdapter.request(o.RestRequestType.Delete,t,{})},e.prototype.resetProfile=function(e){var t=this.getOperationUri(e.profileType)+"/"+e.profileId+"/reset";return this.privRestAdapter.request(o.RestRequestType.Post,t,{})},e.prototype.getOperationUri=function(e){var t=e===a.VoiceProfileType.TextIndependentIdentification?"identification":"verification",r=e===a.VoiceProfileType.TextDependentVerification?"text-dependent":"text-independent";return this.privUri.replace("{mode}",t).replace("{dependency}",r)},e}();t.SpeakerIdMessageAdapter=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FileAudioSource=void 0;var o=r(17),a=r(16),s=r(142),u=function(){function e(e,t,r){var o=this;this.privStreams={},this.privHeaderEnd=44,this.turnOn=function(){if(o.privFilename.lastIndexOf(".wav")!==o.privFilename.length-4){var e=o.privFilename+" is not supported. Only WAVE files are allowed at the moment.";return o.onEvent(new a.AudioSourceErrorEvent(e,"")),Promise.reject(e)}o.onEvent(new a.AudioSourceInitializingEvent(o.privId)),o.onEvent(new a.AudioSourceReadyEvent(o.privId))},this.id=function(){return o.privId},this.attach=function(e){return n(o,void 0,void 0,(function(){var t,r=this;return i(this,(function(o){switch(o.label){case 0:return this.onEvent(new a.AudioStreamNodeAttachingEvent(this.privId,e)),[4,this.upload(e)];case 1:return t=o.sent(),this.onEvent(new a.AudioStreamNodeAttachedEvent(this.privId,e)),[2,Promise.resolve({detach:function(){return n(r,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return t.readEnded(),delete this.privStreams[e],this.onEvent(new a.AudioStreamNodeDetachedEvent(this.privId,e)),[4,this.turnOff()];case 1:return r.sent(),[2]}}))}))},id:function(){return e},read:function(){return t.read()}})]}}))}))},this.detach=function(e){e&&o.privStreams[e]&&(o.privStreams[e].close(),delete o.privStreams[e],o.onEvent(new a.AudioStreamNodeDetachedEvent(o.privId,e)))},this.turnOff=function(){for(var e in o.privStreams)if(e){var t=o.privStreams[e];t&&!t.isClosed&&t.close()}
2return o.onEvent(new a.AudioSourceOffEvent(o.privId)),Promise.resolve()},this.onEvent=function(e){o.privEvents.onEvent(e),a.Events.instance.onEvent(e)},this.privId=r||a.createNoDashGuid(),this.privEvents=new a.EventSource,this.privSource=e,"undefined"!==typeof window&&"undefined"!==typeof Blob&&this.privSource instanceof Blob?this.privFilename=e.name:this.privFilename=t||"unknown.wav",this.privAudioFormatPromise=this.readHeader()}return Object.defineProperty(e.prototype,"format",{get:function(){return this.privAudioFormatPromise},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blob",{get:function(){return Promise.resolve(this.privSource)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){return this.privEvents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceInfo",{get:function(){return this.privAudioFormatPromise.then((function(e){return Promise.resolve({bitspersample:e.bitsPerSample,channelcount:e.channels,connectivity:o.connectivity.Unknown,manufacturer:"Speech SDK",model:"File",samplerate:e.samplesPerSec,type:o.type.File})}))},enumerable:!1,configurable:!0}),e.prototype.readHeader=function(){var e=this,t=this.privSource.slice(0,512),r=new a.Deferred,n=function(t){var n=new DataView(t),i=function(e){return String.fromCharCode(n.getUint8(e),n.getUint8(e+1),n.getUint8(e+2),n.getUint8(e+3))};if("RIFF"===i(0))if("WAVE"===i(8)&&"fmt "===i(12)){for(var o=n.getInt32(16,!0),a=n.getUint16(22,!0),u=n.getUint32(24,!0),c=n.getUint16(34,!0),l=36+Math.max(o-16,0);"data"!==i(l);l+=2)if(l>504)return void r.reject("Invalid WAV header in file, data block was not found");e.privHeaderEnd=l+8,r.resolve(s.AudioStreamFormat.getWaveFormatPCM(u,c,a))}else r.reject("Invalid WAV header in file, WAVEfmt was not found");else r.reject("Invalid WAV header in file, RIFF was not found")};if("undefined"!==typeof window&&"undefined"!==typeof Blob&&t instanceof Blob){var i=new FileReader;i.onload=function(e){var t=e.target.result;n(t)},i.readAsArrayBuffer(t)}else{var o=t;n(o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength))}return r.promise},e.prototype.upload=function(e){return n(this,void 0,void 0,(function(){var t,r,n,o,s,u,c,l,p=this;return i(this,(function(i){switch(i.label){case 0:t=function(t){var r="Error occurred while processing '"+p.privFilename+"'. "+t;throw p.onEvent(new a.AudioStreamNodeErrorEvent(p.privId,e,r)),new Error(r)},i.label=1;case 1:return i.trys.push([1,4,,5]),[4,this.turnOn()];case 2:return i.sent(),[4,this.privAudioFormatPromise];case 3:return r=i.sent(),n=new a.ChunkedArrayBufferStream(r.avgBytesPerSec/10,e),this.privStreams[e]=n,o=this.privSource.slice(this.privHeaderEnd),s=function(e){n.isClosed||(n.writeStreamChunk({buffer:e,isEnd:!1,timeReceived:Date.now()}),n.close())},"undefined"!==typeof window&&"undefined"!==typeof Blob&&o instanceof Blob?((u=new FileReader).onerror=function(e){t(e.toString())},u.onload=function(e){var t=e.target.result;s(t)},u.readAsArrayBuffer(o)):s((c=o).buffer.slice(c.byteOffset,c.byteOffset+c.byteLength)),[2,n];case 4:return l=i.sent(),t(l),[3,5];case 5:return[2]}}
2))}))},e}();t.FileAudioSource=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PcmRecorder=void 0;var n=r(16),i=function(){function e(){var e=this;this.record=function(t,r,i){var o=function(){var e=0;try{return t.createScriptProcessor(e,1,1)}catch(n){e=2048;for(var r=t.sampleRate;e<16384&&r>=32e3;)e<<=1,r>>=1;return t.createScriptProcessor(e,1,1)}}(),a=new n.RiffPcmEncoder(t.sampleRate,16e3);o.onaudioprocess=function(e){var t=e.inputBuffer.getChannelData(0);if(i&&!i.isClosed){var r=a.encode(t);r&&(i.writeStreamChunk({buffer:r,isEnd:!1,timeReceived:Date.now()}),!1)}};var s=t.createMediaStreamSource(r);e.privSpeechProcessorScript&&t.audioWorklet?t.audioWorklet.addModule(e.privSpeechProcessorScript).then((function(){var n=new AudioWorkletNode(t,"speech-processor");n.port.onmessage=function(e){var t=e.data;if(i&&!i.isClosed){var r=a.encode(t);r&&(i.writeStreamChunk({buffer:r,isEnd:!1,timeReceived:Date.now()}),!1)}},s.connect(n),n.connect(t.destination),e.privMediaResources={scriptProcessorNode:n,source:s,stream:r}})).catch((function(){s.connect(o),o.connect(t.destination),e.privMediaResources={scriptProcessorNode:o,source:s,stream:r}})):(s.connect(o),o.connect(t.destination),e.privMediaResources={scriptProcessorNode:o,source:s,stream:r})},this.releaseMediaResources=function(t){e.privMediaResources&&(e.privMediaResources.scriptProcessorNode&&(e.privMediaResources.scriptProcessorNode.disconnect(t.destination),e.privMediaResources.scriptProcessorNode=null),e.privMediaResources.source&&(e.privMediaResources.source.disconnect(),e.privMediaResources.stream.getTracks().forEach((function(e){return e.stop()})),e.privMediaResources.source=null))}}return e.prototype.setWorkletUrl=function(e){this.privSpeechProcessorScript=e},e}();t.PcmRecorder=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketConnection=void 0;var o=r(16),a=r(787),s=function(){function e(e,t,r,n,i,s,u){var c=this;if(void 0===s&&(s=!1),this.privIsDisposed=!1,this.isDisposed=function(){return c.privIsDisposed},this.state=function(){return c.privConnectionMessageAdapter.state},this.open=function(){return c.privConnectionMessageAdapter.open()},this.send=function(e){return c.privConnectionMessageAdapter.send(e)},this.read=function(){return c.privConnectionMessageAdapter.read()},!e)throw new o.ArgumentNullError("uri");if(!n)throw new o.ArgumentNullError("messageFormatter");this.privMessageFormatter=n;var l="",p=0;if(t)for(var f in t){if(f)l+=0===p&&-1===e.indexOf("?")?"?":"&",l+=f+"="+encodeURIComponent(t[f]),p++}if(r)for(var d in r){if(d)l+=0===p&&-1===e.indexOf("?")?"?":"&",l+=d+"="+encodeURIComponent(r[d]),p++}this.privUri=e+l,this.privId=u||o.createNoDashGuid(),this.privConnectionMessageAdapter=new a.WebsocketMessageAdapter(this.privUri,this.id,this.privMe
2ssageFormatter,i,r,s)}return e.prototype.dispose=function(){return n(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.privIsDisposed=!0,this.privConnectionMessageAdapter?[4,this.privConnectionMessageAdapter.close()]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},Object.defineProperty(e.prototype,"id",{get:function(){return this.privId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){return this.privConnectionMessageAdapter.events},enumerable:!1,configurable:!0}),e}();t.WebsocketConnection=s},function(e,t){},function(e,t,r){"use strict";(function(e,n){var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},u=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(t){o(t)}}function s(e){try{u(n.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))},c=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CertCheckAgent=void 0;var p=s(r(1775)),f=s(r(491)),d=s(r(1778)),h=r(16),v=l(r(1779)),m=l(r(1780)),y=l(r(1781)),T=s(r(1782)),b=r(771),g=function(){function t(r){r&&(this.privProxyInfo=r),t.privDiskCache||(t.privDiskCache=new m.default("microsoft-cognitiveservices-speech-sdk-cache",{supportBuffer:!0,location:"undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:""}).SPEECH_OCSP_CACHE_ROOT?Object({NODE_ENV:"production",PUBLIC_URL:""}).SPEECH_OCSP_CACHE_ROOT:void 0}))}return t.forceReinitDiskCache=function(){t.privDiskCache=void 0,t.privMemCache={}},t.prototype.GetAgent=function(e){var t=new v.default.Agent(this.CreateConnection);if(void 0!==this.privProxyInfo&&void 0!==this.privProxyInfo.HostName&&this.privProxyInfo.Port>0){t.privProxyInfo=this.privProxyInfo}return t},t.GetProxyAgent=function(e){var t={host:e.HostName,port:e.Port};return e.UserName?t.headers={"Proxy-Authentication":"Basic "+new n(e.UserName+":"+(void 0===e.Password)?"":e.Password).toString("base64")}:t.headers={},t.headers.requestOCSP="true",new y.default(t)},t.OCSPCheck=function(e,r){return u(this,void 0,void 0,(function(){var n,i,o,a,s,l=this;return c(this,(function(p){switch(p.label){case 0:return o=!1,[4,e];case 1:return(a=p.sent()).cork(),s=a,[2,new Promise((function(e,p){a.on("OCSPResponse",(function(e){e&&(l.onEvent(new h.OCSPStapleReceivedEvent),i=e)})),a.on("error",(function(e){o||(o=!0,a.destroy(),p(e))})),s.on("secure",(function(){return u(l,void 0,void 0,(function(){var u,l,f,h,v;return c(this,(function(c){switch(c.label){case 0:u=s.getPeerCertificate(!0),c.label=1;case 1:return c.trys.push([1,6,,7]),[4,this.GetIssuer(u)];case 2:return l=c.sent(),n=d.request.generate(u.raw,l.raw),f=n.id.toString("hex"),i?[3,4]:[4,t.GetResponseFromCache(f,n,r)];case 3:h=c.sent(),i=h,c.label=4;case 4:return[4,this.VerifyOCSPResponse(i,n,r)];case 5:return c.sent(),a.uncork(),o=!0,e(a),[3,7];case 6:return v=c.sent(),a.destroy(),o=!0,p(v),[3,7];case 7:return[2]}}
2))}))}))}))]}}))}))},t.GetIssuer=function(e){return e.issuerCertificate?Promise.resolve(e.issuerCertificate):new Promise((function(t,r){new d.Agent({}).fetchIssuer(e,null,(function(e,n){e?r(e):t(n)}))}))},t.GetResponseFromCache=function(e,r,n){return u(this,void 0,void 0,(function(){var i,o,a,s,u,l,p,f=this;return c(this,(function(c){switch(c.label){case 0:if((i=t.privMemCache[e])&&this.onEvent(new h.OCSPMemoryCacheHitEvent(e)),i)return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,t.privDiskCache.get(e)];case 2:return(o=c.sent()).isCached&&(t.onEvent(new h.OCSPDiskCacheHitEvent(e)),t.StoreMemoryCacheEntry(e,o.value),i=o.value),[3,4];case 3:return c.sent(),i=null,[3,4];case 4:if(!i)return[2,i];try{if(a=d.utils.parseResponse(i),(s=a.value.tbsResponseData).responses.length<1)return this.onEvent(new h.OCSPCacheFetchErrorEvent(e,"Not enough data in cached response")),[2];u=s.responses[0].thisUpdate,(l=s.responses[0].nextUpdate)<Date.now()+this.testTimeOffset-6e4?(this.onEvent(new h.OCSPCacheEntryExpiredEvent(e,l)),i=null):(p=Math.min(864e5,(l-u)/2),l-(Date.now()+this.testTimeOff
2set)<p?(this.onEvent(new h.OCSPCacheEntryNeedsRefreshEvent(e,u,l)),this.UpdateCache(r,n).catch((function(t){f.onEvent(new b.OCSPCacheUpdateErrorEvent(e,t.toString()))}))):this.onEvent(new h.OCSPCacheHitEvent(e,u,l)))}catch(v){this.onEvent(new h.OCSPCacheFetchErrorEvent(e,v)),i=null}return i||this.onEvent(new h.OCSPCacheMissEvent(e)),[2,i]}}))}))},t.VerifyOCSPResponse=function(e,r,n){return u(this,void 0,void 0,(function(){var i,o=this;return c(this,(function(a){switch(a.label){case 0:return i=e,r.certID.toString("hex"),i?[3,2]:[4,t.GetOCSPResponse(r,n)];case 1:i=a.sent(),a.label=2;case 2:return[2,new Promise((function(a,s){d.verify({request:r,response:i},(function(u,c){u?(t.onEvent(new h.OCSPVerificationFailedEvent(r.id.toString("hex"),u)),e?o.VerifyOCSPResponse(null,r,n).then((function(){a()}),(function(e){s(e)})):s(u)):(e||t.StoreCacheEntry(r.id.toString("hex"),i),a())}))}))]}}))}))},t.UpdateCache=function(e,t){return u(this,void 0,void 0,(function(){var r,n;return c(this,(function(i){switch(i.label){case 0:return r=e.id.toString("hex"),this.onEvent(new h.OCSPCacheUpdateNeededEvent(r)),[4,this.GetOCSPResponse(e,t)];case 1:return n=i.sent(),this.StoreCacheEntry(r,n),this.onEvent(new h.OCSPCacheUpdatehCompleteEvent(e.id.toString("hex"))),[2]}}))}))},t.StoreCacheEntry=function(e,t){this.StoreMemoryCacheEntry(e,t),this.StoreDiskCacheEntry(e,t)},t.StoreMemoryCacheEntry=function(e,t){this.privMemCache[e]=t,this.onEvent(new h.OCSPMemoryCacheStoreEvent(e))},t.StoreDiskCacheEntry=function(e,t){var r=this;this.privDiskCache.set(e,t).then((function(){r.onEvent(new h.OCSPDiskCacheStoreEvent(e))}))},t.GetOCSPResponse=function(e,r){var n=this,o={};if(r){var a=t.GetProxyAgent(r);o.agent=a}return new Promise((function(t,r){d.utils.getAuthorityInfo(e.cert,"1.3.6.1.5.5.7.48.1",(function(a,s){if(a)r(a);else{var u=f.default(s);u.path=u.pathname,o=i(i({},o),u),d.utils.getResponse(o,e.data,(function(i,o){i?r(i):(n.onEvent(new h.OCSPResponseRetrievedEvent(e.certID.toString("hex"))),t(o))}))}}))}))},t.prototype.CreateConnection=function(r,n){var o,a="undefined"!==typeof e&&"0"!==Object({NODE_ENV:"production",PUBLIC_URL:""}).NODE_TLS_REJECT_UNAUTHORIZED&&"0"!==Object({NODE_ENV:"production",PUBLIC_URL:""}).SPEECH_CONDUCT_OCSP_CHECK&&n.secureEndpoint;if(n=i(i({},n),{requestOCSP:!t.forceDisableOCSPStapling,servername:n.host}),this.privProxyInfo){var s=t.GetProxyAgent(this.privProxyInfo);o=new Promise((function(e,t){s.callback(r,n,(function(r,n){r?t(r):e(n)}))}))}else o=n.secureEndpoint?Promise.resolve(p.connect(n)):Promise.resolve(T.connect(n));return a?t.OCSPCheck(o,this.privProxyInfo):o},t.testTimeOffset=0,t.forceDisableOCSPStapling=!1,t.privMemCache={},t.onEvent=function(e){h.Events.instance.onEvent(e)},t}();t.CertCheckAgent=g}).call(this,r(788),r(157).Buffer)},function(e,t){},function(e,t,r){"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function i(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return null}}function o(e){try{return encodeURIComponent(e)}catch(t){return null}}t.stringify=function(e,t){t=t||"";var r,i,a=[];for(i in"string"!==typeof t&&(t="?"),e)if(n.call(e,i)){if((r=e[i])||null!==r&&void 0!==r&&!isNaN(r)||(r=""),i=o(i),r=o(r),null===i||null===r)continue;a.push(i+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,n={};t=r.exec(e);){var o=i(t[1]),a=i(t[2]);null===o||null===a||o in n||(n[o]=a)}return n}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReplayableAudioNode=void 0;var n=function(){function e(e,t){var r=this;this.privBuffers=[],this.privReplayOffset=0,this.privLastShrinkOffset=0,this.privBufferStartOffset=0,this.privBufferSerial=0,this.privBufferedBytes=0,this.privReplay=!1,this.privLastChunkAcquiredTime=0,this.id=function(){return r.privAudioNode.id()},this.privAudioNode=e,this.privBytesPerSecond=t}return e.prototype.read=function(){var e=this;if(this.privReplay&&0!==this.privBuffers.length){var t=this.privReplayOffset-this.privBufferStartOffset,r=Math.round(t*this.privBytesPerSecond*1e-7);0!==r%2&&r++;for(var n=0;n<this.privBuffers.length&&r>=this.privBuffers[n].chunk.buffer.byteLength;)r-=this.privBuffers[n++].chunk.buffer.byteLength;if(n<this.privBuffers.length){var o=this.privBuffers[n].chunk.buffer.slice(r);return this.privReplayOffset+=o.byteLength/this.privBytesPerSecond*1e7,n===this.privBuffers.length-1&&(this.privReplay=!1),Promise.resolve({buffer:o,isEnd:!1,timeReceived:this.privBuffers[n].chunk.timeReceived})}}return this.privAudioNode.read().then((function(t){return t&&t.buffer&&(e.privBuffers.push(new i(t,e.privBufferSerial++,e.privBufferedBytes)),e.privBufferedBytes+=t.buffer.byteLength),t}))},e.prototype.detach=function(){return this.privBuffers=void 0,this.privAudioNode.detach()},e.prototype.replay=function(){this.privBuffers&&0!==this.privBuffers.length&&(this.privReplay=!0,this.privReplayOffset=this.privLastShrinkOffset)},e.prototype.shrinkBuffers=function(e){if(void 0!==this.privBuffers&&0!==this.privBuffers.length){this.privLastShrinkOffset=e;for(var t=e-this.privBufferStartOffset,r=Math.round(t*this.privBytesPerSecond*1e-7),n=0;n<this.privBuffers.length&&r>=this.privBuffers[n].chunk.buffer.byteLength;)r-=this.privBuffers[n++].chunk.buffer.byteLength;this.privBufferStartOffset=Math.round(e-r/this.privBytesPerSecond*1e7),this.privBuffers=this.privBuffers.slice(n)}},e.prototype.findTimeAtOffset=function(e){if(e<this.privBufferStartOffset||void 0===this.privBuffers)return 0;for(var t=0,r=this.privBuffers;t<r.length;t++){var n=r[t],i=n.byteOffset/this.privBytesPerSecond*1e7,o=i+n.chunk.buffer.byteLength/this.privBytesPerSecond*1e7;if(e>=i&&e<=o)return n.chunk.timeReceived}return 0},e}();t.ReplayableAudioNode=n;var i=function(e,t,r){this.chunk=e,this.serial=t,this.byteOffset=r}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyInfo=void 0;var n=r(12),i=function(){function e(e,t,r,n){this.privProxyHostName=e,this.privProxyPort=t,this.privProxyUserName=r,this.privProxyPassword=n}return e.fromParameters=function(t){return new e(t.getProperty(n.PropertyId.SpeechServiceConnection_ProxyHostName),parseInt(t.getProperty(n.PropertyId.SpeechServiceConnection_ProxyPort),10),t.getProperty(n.PropertyId.SpeechServiceConnection_ProxyUserName),t.getProperty(n.PropertyId.SpeechServiceConnection_ProxyPassword))},e.fromRecognizerConfig=function(e){return this.fromParameters(e.parameters)},Object.defineProperty(e.prototype,"HostName",{get:function(){return this.privProxyHostName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Port",{get:function(){return this.privProxyPort},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"UserName",{get:function(){return this.privProxyUserName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Password",{get:function(){return this.privProxyPassword},enumerable:!1,configurable:!0}),e}();t.ProxyInfo=i},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.RestMessageAdapter=t.RestRequestType=void 0;var a,s=r(16),u=o(r(1786));!function(e){e.Get="get",e.Post="post",e.Delete="delete",e.File="file"}(a=t.RestRequestType||(t.RestRequestType={}));var c=function(){function e(e,t){if(!e)throw new s.ArgumentNullError("configParams");this.privHeaders=e.headers,this.privTimeout=e.timeout,this.privIgnoreCache=e.ignoreCache}return e.prototype.setHeaders=function(e,t){this.privHeaders[e]=t},e.prototype.request=function(e,t,r,n,i){var o=this;void 0===r&&(r={}),void 0===n&&(n=null),void 0===i&&(i=null);var c,l=new s.Deferred;c="undefined"===typeof XMLHttpRequest?new u.XMLHttpRequest:new XMLHttpRequest;var p=e===a.File?"post":e;return c.open(p,this.withQuery(t,r),!0),this.privHeaders&&Object.keys(this.privHeaders).forEach((function(e){return c.setRequestHeader(e,o.privHeaders[e])})),this.privIgnoreCache&&c.setRequestHeader("Cache-Control","no-cache"),c.timeout=this.privTimeout,c.onload=function(){l.resolve(o.parseXHRResult(c))},c.onerror=function(){l.resolve(o.errorResponse(c,"Failed to make request."))},c.ontimeout=function(){l.resolve(o.errorResponse(c,"Request took longer than expected."))},e===a.File&&i?(c.setRequestHeader("Content-Type","multipart/form-data"),c.send(i)):e===a.Post&&n?(c.setRequestHeader("Content-Type","application/json"),c.send(JSON.stringify(n))):c.send(),l.promise},e.prototype.parseXHRResult=function(e){return{data:e.responseText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(e.responseText)},ok:e.status>=200&&e.status<300,status:e.status,statusText:e.statusText}},e.prototype.errorResponse=function(e,t){return void 0===t&&(t=null),{data:t||e.statusText,headers:e.getAllResponseHeaders(),json:function(){return JSON.parse(t||'"'+e.statusText+'"')},ok:!1,status:e.status,statusText:e.statusText}},e.prototype.withQuery=function(e,t){void 0===t&&(t={});var r=this.queryParams(t);return r?e+(-1===e.indexOf("?")?"?":"&")+r:e},e.prototype.queryParams=function(e){return void 0===e&&(e={}),Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},e}();t.RestMessageAdapter=c},function(e,t){},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=[];return{push:function(r){if(e){var n=e.resolve;e=null,n(r)}else t.push(r)},shift:function(){return t.length?Promise.resolve(t.shift()):(e||(e=(0,i.default)())).promise}}};var i=n(r(176))},function(e,t,r){var n=r(1789);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"===typeof e?e():e}},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(141)),o=n(r(161)),a=function(){function e(){(0,i.default)(this,e),this._phrases=[]}return(0,o.default)(e,[{key:"addFromString",value:function(){throw new Error("JSGF is not supported")}},{key:"phrases",get:function(){return this._phrases},set:function(e){if(Array.isArray(e))this._phrases=e;else{if("string"!==typeof e)throw new Error("The provided value is not an array or of type 'string'");this._phrases=[e]}}}]),e}();t.default=a},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(1793)).default;t.default=i},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(113)),o=n(r(114)),a=n(r(141)),s=n(r(161)),u=n(r(329)),c=n(r(330)),l=n(r(331)),p=r(166),f=n(r(176)),d=n(r(1794)),h=n(r(1795)),v=n(r(1797)),m=n(r(1798)),y=n(r(789)),T=n(r(791)),b=n(r(1799));function g(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,c.default)(this,r)}}var _=[];t.default=function(e){var t=(0,y.default)(e),r=t.audioContext,n=t.fetchCredentials,c=t.ponyfill,l=void 0===c?{AudioContext:window.AudioContext||window.webkitAudioContext}:c,S=t.speechSynthesisDeploymentId,A=t.speechSynthesisOutputFormat,E=void 0===A?"audio-24khz-160kbitrate-mono-mp3":A;return r||l.AudioContext?{speechSynthesis:new(function(e){(0,u.default)(c,e);var t=g(c);function c(){var e;return(0,a.default)(this,c),(e=t.call(this)).queue=new h.default({audioContext:r,ponyfill:l}),e.updateVoices(),e}return(0,s.default)(c,[{key:"cancel",value:function(){this.queue.stop()}},{key:"getVoices",value:function(){return _}},{key:"onvoiceschanged",get:function(){return(0,p.getEventAttributeValue)(this,"voiceschanged")},set:function(e){(0,p.setEventAttributeValue)(this,"voiceschanged",e)}},{key:"pause",value:function(){this.queue.pause()}},{key:"resume",value:function(){this.queue.resume()}},{key:"speak",value:function(e){if(!(e instanceof b.default))throw new Error("invalid utterance");var t=(0,f.default)(),r=t.reject,i=t.resolve,o=t.promise,a=function(e){var t=e.error,n=e.message,i=new Error(t);i.stack=n,r(i)};return e.addEventListener("end",i),e.addEventListener("error",a),e.preload({deploymentId:S,fetchCredentials:n,outputFormat:E}),this.queue.push(e),o.finally((function(){e.removeEventListener("end",i),e.removeEventListener("error",a)}))}},{key:"speaking",get:function(){return this.queue.speaking}},{key:"updateVoices",value:function(){var e=(0,o.default)(i.default.mark((function e(){var t,r,a,s,u,c=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n();case 2:if(t=e.sent,r=t.customVoiceHostname,a=t.region,s=t.speechSynthesisHostname,u=t.subscriptionKey,!S){e.next=14;break}if(!u){e.next=12;break}return console.warn("web-speech-cognitive-services: Listing of custom voice models are only available when using subscription key."),e.next=12,(0,d.default)((0,o.default)(i.default.mark((function e(){var t;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.default)({customVoiceHostname:r,deploymentId:S,region:a,speechSynthesisHostname:s,subscriptionKey:u});case 2:t=e.sent,c.getVoices=function(){return t};case 4:case"end":return e.stop()}}),e)}))));case 12:e.next=16;break;case 14:return e.next=16,(0,d.default)((0,o.default)(i.default.mark((function e(){var t;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=m.default,e.next=3,n();case 3:return e.t1=e.sent,e.next=6,(0,e.t0)(e.t1);case 6:t=e.sent,c.getVoices=function(){return t};case 8:case"end":return e.stop()}}),e)}))));case 16:this.dispatchEvent(new T.default("voiceschanged"));case 17:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),c}(p.EventTarget)),SpeechSynthesisEvent:T.default,SpeechSynthesisUtterance:b.default}
2:(console.warn("web-speech-cognitive-services: This browser does not support Web Audio and it will not work with Cognitive Services Speech Services."),{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var r=e.call(t);return"function"===typeof r.then?new Promise((function(e){r.then(e,(function(){return e()}))})):r}catch(n){}},e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(113)),o=n(r(114)),a=n(r(141)),s=n(r(161)),u=n(r(339)),c=n(r(1796)),l=function(){function e(t){var r=t.audioContext,n=t.ponyfill;(0,a.default)(this,e),this.consumer=null,this.paused=!1,this.queue=[],this.getAudioContext=(0,u.default)((function(){return r||new n.AudioContext}))}return(0,s.default)(e,[{key:"pause",value:function(){this.paused=!0,this.consumer&&this.consumer.pause()}},{key:"push",value:function(e){this.queue.push(e),this.startConsumer()}},{key:"resume",value:function(){this.paused=!1,this.consumer?this.consumer.resume():this.startConsumer()}},{key:"speaking",get:function(){return!!this.consumer}},{key:"startConsumer",value:function(){var e=(0,o.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.paused||!this.queue.length||this.consumer){e.next=7;break}return this.consumer=new c.default(this.getAudioContext()),e.next=4,this.consumer.start(this.queue);case 4:this.consumer=null,e.next=0;break;case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"stop",value:function(){this.queue.splice(0),this.consumer&&this.consumer.stop()}}]),e}();t.default=l},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(113)),o=n(r(114)),a=n(r(141)),s=n(r(161)),u=function(){function e(t){(0,a.default)(this,e),this.audioContext=t}return(0,s.default)(e,[{key:"pause",value:function(){this.audioContext&&this.audioContext.suspend(),this.playingUtterance&&this.playingUtterance.dispatchEvent(new CustomEvent("pause"))}},{key:"resume",value:function(){this.audioContext&&this.audioContext.resume(),this.playingUtterance&&this.playingUtterance.dispatchEvent(new CustomEvent("resume"))}},{key:"start",value:function(){var e=(0,o.default)(i.default.mark((function e(t){var r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.shift())){e.next=7;break}return this.playingUtterance=r,e.next=4,r.play(this.audioContext);case 4:this.playingUtterance=null,e.next=0;break;case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"stop",value:function(){this.playingUtterance&&this.playingUtterance.stop(),"suspended"===this.audioContext.state&&this.audioContext.resume()}}]),e}();t.default=u},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return c.apply(this,arguments)};var i=n(r(113)),o=n(r(114)),a=n(r(790));function s(e){return u.apply(this,arguments)}function u(){return(u=(0,o.default)(i.default.mark((function e(t){var r,n,o,a,s,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.customVoiceHostname,n=t.deploymentId,o=t.region,a=t.subscriptionKey,s=r||"".concat(o,".customvoice.api.speech.microsoft.com"),e.next=4,fetch("https://".concat(encodeURI(s),"/api/texttospeech/v2.0/endpoints/").concat(encodeURIComponent(n)),{headers:{accept:"application/json","ocp-apim-subscription-key":a}});case 4:if((u=e.sent).ok){e.next=7;break}throw new Error("Failed to fetch custom voices");case 7:return e.abrupt("return",u.json());case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(){return(c=(0,o.default)(i.default.mark((function e(t){var r,n,o,u,c,l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.customVoiceHostname,n=t.deploymentId,o=t.region,u=t.subscriptionKey,e.next=3,s({customVoiceHostname:r,deploymentId:n,region:o,subscriptionKey:u});case 3:return c=e.sent,l=c.models,e.abrupt("return",l.map((function(e){var t=e.properties.Gender,r=e.locale,n=e.name;return new a.default({gender:t,lang:r,voiceURI:n})})).sort((function(e,t){var r=e.name,n=t.name;return r>n?1:r<n?-1:0})));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";var n=r(59);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return l.apply(this,arguments)};var i=n(r(113)),o=n(r(194)),a=n(r(114)),s=n(r(790));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(){return(l=(0,a.default)(i.default.mark((function e(t){var r,n,o,a,u,l,p;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.authorizationToken,n=t.region,o=t.speechSynthesisHostname,a=t.subscriptionKey,u=o||"".concat(encodeURI(n),".tts.speech.microsoft.com"),e.next=4,fetch("https://".concat(u,"/cognitiveservices/voices/list"),{headers:c({"content-type":"application/json"},r?{authorization:"Bearer ".concat(r)}:{"Ocp-Apim-Subscription-Key":a})});case 4:if((l=e.sent).ok){e.next=7;break}throw new Error("Failed to fetch voices");case 7:return e.next=9,l.json();case 9:return p=e.sent,e.abrupt("return",p.map((function(e){var t=e.Gender,r=e.Locale,n=e.Name;return new s.default({gender:t,lang:r,voiceURI:n})})).sort((function(e,t){var r=e.name,n=t.name;return r>n?1:r<n?-1:0})));case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(113)),o=n(r(114)),a=n(r(141)),s=n(r(161)),u=n(r(329)),c=n(r(330)),l=n(r(331)),p=r(166),f=n(r(792)),d=n(r(1801)),h=n(r(791)),v=n(r(1804));function m(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,c.default)(this,r)}}function y(e,t){return new Promise((function(r,n){var i=e.decodeAudioData(t,r,n);i&&"function"===typeof i.then&&r(i)}))}function T(e,t,r){return new Promise((function(n,i){var o=new f.default,a=new f.default,s=(0,v.default)(e,"statechange",(function(e){return"closed"===e.target.state&&o.eventListener()}));try{r.buffer=t,r.onended=a.eventListener,r.connect(e.destination),r.start(0),Promise.race([o.upcoming(),a.upcoming()]).then(n)}catch(u){i(u)}finally{s()}}))}var b=function(e){(0,u.default)(r,e);var t=m(r);function r(e){var n;return(0,a.default)(this,r),(n=t.call(this))._lang=null,n._pitch=1,n._rate=1,n._voice=null,n._volume=1,n.text=e,n.onboundary=null,n.onend=null,n.onerror=null,n.onmark=null,n.onpause=null,n.onresume=null,n.onstart=null,n}return(0,s.default)(r,[{key:"lang",get:function(){return this._lang},set:function(e){this._lang=e}},{key:"onboundary",get:function(){return(0,p.getEventAttributeValue)(this,"boundary")},set:function(e){(0,p.setEventAttributeValue)(this,"boundary",e)}},{key:"onend",get:function(){return(0,p.getEventAttributeValue)(this,"end")},set:function(e){(0,p.setEventAttributeValue)(this,"end",e)}},{key:"onerror",get:function(){return(0,p.getEventAttributeValue)(this,"error")}
2,set:function(e){(0,p.setEventAttributeValue)(this,"error",e)}},{key:"onmark",get:function(){return(0,p.getEventAttributeValue)(this,"mark")},set:function(e){(0,p.setEventAttributeValue)(this,"mark",e)}},{key:"onpause",get:function(){return(0,p.getEventAttributeValue)(this,"pause")},set:function(e){(0,p.setEventAttributeValue)(this,"pause",e)}},{key:"onresume",get:function(){return(0,p.getEventAttributeValue)(this,"resume")},set:function(e){(0,p.setEventAttributeValue)(this,"resume",e)}},{key:"onstart",get:function(){return(0,p.getEventAttributeValue)(this,"start")},set:function(e){(0,p.setEventAttributeValue)(this,"start",e)}},{key:"pitch",get:function(){return this._pitch},set:function(e){this._pitch=e}},{key:"rate",get:function(){return this._rate},set:function(e){this._rate=e}},{key:"voice",get:function(){return this._voice},set:function(e){this._voice=e}},{key:"volume",get:function(){return this._volume},set:function(e){this._volume=e}},{key:"preload",value:function(e){var t=e.deploymentId,r=e.fetchCredentials,n=e.outputFormat;this.arrayBufferPromise=(0,d.default)({fetchCredentials:r,deploymentId:t,lang:this.lang||window.navigator.language,outputFormat:n,pitch:this.pitch,rate:this.rate,text:this.text,voice:this.voice&&this.voice.voiceURI,volume:this.volume}),this.arrayBufferPromise.catch()}},{key:"play",value:function(){var e=(0,o.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.dispatchEvent(new h.default("start")),r=t.createBufferSource(),e.t0=y,e.t1=t,e.next=7,this.arrayBufferPromise;case 7:return e.t2=e.sent,e.next=10,(0,e.t0)(e.t1,e.t2);case 10:return n=e.sent,this._playingSource=r,e.next=14,T(t,n,r);case 14:this._playingSource=null,this.dispatchEvent(new h.default("end")),e.next=21;break;case 18:e.prev=18,e.t3=e.catch(0),this.dispatchEvent(new ErrorEvent("error",{error:"synthesis-failed",message:e.t3.stack}));case 21:case"end":return e.stop()}}),e,this,[[0,18]])})));return function(t){return e.apply(this,arguments)}}()},{key:"stop",value:function(){this._playingSource&&this._playingSource.stop()}}]),r}(p.EventTarget);t.default=b},function(e,t,r){"use strict";e.exports=function(){var e={};return e.promise=new Promise((function(t,r){e.resolve=t,e.reject=r})),e}},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return h.apply(this,arguments)};var i=n(r(113)),o=n(r(194)),a=n(r(114)),s=r(793),u=n(r(1802)),c=n(r(1803));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f="Microsoft Server Speech Text to Speech Voice (en-US, AriaNeural)",d="SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3LjU2LjEwMQAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAACAAABhgC7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7//////////////////////////////////////////////////////////////////8AAAAATGF2YzU3LjY0AAAAAAAAAAAAAAAAJAUHAAAAAAAAAYYoRBqpAAAAAAD/+xDEAAPAAAGkAAAAIAAANIAAAARMQU1FMy45OS41VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7EMQpg8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";function h(){return(h=(0,a.default)(i.default.mark((function e(t){var r,n,o,a,l,h,v,m,y,T,b,g,_,S,A,E,C,O,I,w,P,N;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.deploymentId,n=t.fetchCredentials,o=t.lang,a=void 0===o?"en-US":o,l=t.outputFormat,h=void 0===l?"riff-16khz-16bit-mono-pcm":l,v=t.pitch,m=t.rate,y=t.text,T=t.voice,b=void 0===T?f:T,g=t.volume,y){e.next=3;break}return e.abrupt("return",(0,s.decode)(d));case 3:return e.next=5,n();case 5:if(_=e.sent,S=_.authorizationToken,A=_.region,E=_.speechSynthesisHostname,C=_.subscriptionKey,!(S&&C||!S&&!C)){e.next=14;break}throw new Error('Only "authorizationToken" or "subscriptionKey" should be set.');
2case 14:if(!(A&&E||!A&&!E)){e.next=16;break}throw new Error('Only "region" or "speechSynthesisHostnamename" should be set.');case 16:return O=(0,c.default)(y)?y:(0,u.default)({lang:a,pitch:v,rate:m,text:y,voice:b,volume:g}),I=E||"".concat(encodeURI(A),r?".voice.speech.microsoft.com":".tts.speech.microsoft.com"),w=r?"?deploymentId=".concat(encodeURI(r)):"",P="https://".concat(I,"/cognitiveservices/v1").concat(w),e.next=22,fetch(P,{headers:p({"Content-Type":"application/ssml+xml","X-Microsoft-OutputFormat":h},S?{Authorization:"Bearer ".concat(S)}:{"Ocp-Apim-Subscription-Key":C}),method:"POST",body:O});case 22:if((N=e.sent).ok){e.next=25;break}throw new Error("web-speech-cognitive-services: Failed to syntheis speech, server returned ".concat(N.status));case 25:return e.abrupt("return",N.arrayBuffer());case 26:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";function n(e){var t=Math.round(100*(e-1));return t>=0&&(t="+"+t),t+"%"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.lang,r=e.pitch,i=void 0===r?1:r,o=e.rate,a=void 0===o?1:o,s=e.text,u=e.voice,c=e.volume;return'<speak version="1.0" xml:lang="'.concat(t,'">\n  <voice xml:lang="').concat(t,'" name="').concat(u,'">\n    <prosody pitch="').concat(n(i),'" rate="').concat(n(a),'" volume="').concat(n(c),'">\n      ').concat(s,"\n    </prosody>\n  </voice>\n</speak>")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.test(e)||i.test(e)};var n=/^[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*<speak([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]|\/?>)/,i=/^[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*<\?xml[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}}},function(e,t,r){"use strict";var n=r(59);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.apply(this,arguments)};var i=n(r(113)),o=n(r(114)),a="https://{region}.api.cognitive.microsoft.com/sts/v1.0/issueToken";function s(){return(s=(0,o.default)(i.default.mark((function e(t){var r,n,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.region,n=t.subscriptionKey,e.next=3,fetch(a.replace(/\{region\}/,r),{headers:{"Ocp-Apim-Subscription-Key":n},method:"POST"});case 3:if((o=e.sent).ok){e.next=6;break}throw new Error("Failed to fetch authorization token, server returned ".concat(o.status));case 6:return e.abrupt("return",o.text());case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e.sampleSize>>3)*e.channelCount*e.sampleRate}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return p.AudioConfig.fromStreamInput(new m(e))};var i=n(r(454)),o=n(r(455)),a=n(r(466)),s=n(r(797)),u=n(r(798)),c=n(r(799)),l=n(r(88)),p=r(487),f=n(r(1809));function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.default)(this,r)}}var h=Symbol("attach"),v=Symbol("turnOff"),m=function(e){(0,s.default)(r,e);var t=d(r);function r(e){var n,o=e.attach,s=e.debug,u=e.turnOff;if((0,i.default)(this,r),!o||"function"!==typeof o)throw new Error('"attach" must be a function.');if(u&&"function"!==typeof u)throw new Error('"turnOff", if defined, must be a function.');return n=t.call(this,{debug:s}),(0,l.default)((0,a.default)(n),h,void 0),(0,l.default)((0,a.default)(n),v,void 0),n[h]=o,n[v]=u,n}return(0,o.default)(r,[{key:"performAttach",value:function(e){return this[h](e)}},{key:"performTurnOff",value:function(){var e=this[v];return e&&e()}}]),r}(f.default)},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,n)}
2e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(795)),o=n(r(63)),a=n(r(796)),s=n(r(454)),u=n(r(455)),c=n(r(466)),l=n(r(797)),p=n(r(798)),f=n(r(799)),d=n(r(88)),h=r(487),v=r(16),m=r(142),y=r(17),T=r(1970),b=n(r(176));function g(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,p.default)(this,r)}}var _=Symbol("deviceInfoDeferred"),S=Symbol("events"),A=Symbol("formatDeferred"),E=Symbol("options"),C=function(e){(0,l.default)(r,e);var t=g(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.default)(this,r),e=t.call(this),(0,d.default)((0,c.default)(e),_,void 0),(0,d.default)((0,c.default)(e),S,void 0),(0,d.default)((0,c.default)(e),A,void 0),(0,d.default)((0,c.default)(e),E,void 0);var i={debug:n.debug||!1,id:n.id||(0,T.v4)().replace(/\x2D/g,"")};return e[_]=(0,b.default)(),e[S]=new v.EventSource,e[A]=(0,b.default)(),e[E]=i,e}return(0,u.default)(r,[{key:"events",get:function(){return this[S]}},{key:"format",get:function(){return this.debug('Getting "format".'),this[A].promise}},{key:"id",value:function(){return this[E].id}},{key:"onEvent",value:function(e){this[S].onEvent(e),v.Events.instance.onEvent(e)}},{key:"emitInitializing",value:function(){this.debug('Emitting "AudioSourceInitializingEvent".'),this.onEvent(new v.AudioSourceInitializingEvent(this.id()))}},{key:"emitReady",value:function(){this.debug('Emitting "AudioSourceReadyEvent".'),this.onEvent(new v.AudioSourceReadyEvent(this.id()))}},{key:"emitError",value:function(e){this.debug('Emitting "AudioSourceErrorEvent".',{error:e}),this.onEvent(new v.AudioSourceErrorEvent(this.id(),e.message))}},{key:"emitNodeAttaching",value:function(e){this.debug('Emitting "AudioStreamNodeAttachingEvent" for node "'.concat(e,'".')),this.onEvent(new v.AudioStreamNodeAttachingEvent(this.id(),e))}},{key:"emitNodeAttached",value:function(e){this.debug('Emitting "AudioStreamNodeAttachedEvent" for node "'.concat(e,'".')),this.onEvent(new v.AudioStreamNodeAttachedEvent(this.id(),e))}},{key:"emitNodeError",value:function(e,t){this.debug('Emitting "AudioStreamNodeErrorEvent" for node "'.concat(e,'".'),{error:t}),this.onEvent(new v.AudioStreamNodeErrorEvent(this.id(),e,t.message))}},{key:"emitNodeDetached",value:function(e){this.debug('Emitting "AudioStreamNodeDetachedEvent".'),this.onEvent(new v.AudioStreamNodeDetachedEvent(this.id(),e))}},{key:"emitOff",value:function(){this.debug('Emitting "AudioSourceOffEvent".'),this.onEvent(new v.AudioSourceOffEvent(this.id()))}},{key:"close",value:function(){throw this.debug('Callback for "close".'),new Error("Not implemented")}},{key:"turnOn",value:function(){throw this.debug('Callback for "turnOn".'),new Error("Not implemented")}},{key:"detach",value:function(){throw this.debug('Callback for "detach".'),new Error("Not implemented")}},{key:"debug",value:function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this[E].debug&&(t=console).info.apply(t,["CustomAudioInputStream: ".concat(e)].concat(n))}},{key:"attach",value:function(e){var t=this;return this.debug('Callback for "attach" with "'.concat(e,'".')),this.emitNodeAttaching(e),Promise.resolve().then((0,a.default)(i.default.mark((function r(){var n,o,s,u;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.emitInitializing(),r.prev=1,r.next=4,t.performAttach(e);case 4:return n=r.sent,o=n.audioStreamNode,s=n.deviceInfo,u=n.format,t[_].resolve(s),t[A].resolve(new m.AudioStreamFormatImpl(u.samplesPerSec,u.bitsPerSample,u.channels)),t.emitReady(),t.emitNodeAttached(e),r.abrupt("return",{detach:function(){var r=(0,a.default)(i.default.mark((function r(){return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.debug('Detaching audio node "'.concat(e,'".')),r.next=3,o.detach();case 3:t.emitOff(),t.emitNodeDetached(e);case 5:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),id:function(){return o.id()},read:function(){return t.debug("Reading"),o.read()}});case 15:throw r.prev=15,r.t0=r.catch(1),t.emitNodeError(e,r.t0),r.t0;case 19:case"end":return r.stop()}}),r,null,[[1,15]])}))))}},{key:"performTurnOff",value:function(){}},{key:"turnOff",value:function(){var e=(0,a.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.debug('Callback for "turnOff".'),e.next=3,this.performTurnOff();case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"deviceInfo",get:function(){return this.debug('Getting "deviceInfo".'),Promise.all([this[_].promise,this[A].promise]).then((function(e){var t=(0,o.default)(e,2),r=t[0],n=r.connectivity,i=r.manufacturer,a=r.model,s=r.type,u=t[1],c=u.bitsPerSample,l=u.channels,p=u.samplesPerSec;return{bitspersample:c,channelcount:l,connectivity:"string"===typeof n?y.connectivity[n]:n||y.connectivity.Unknown,manufacturer:i||"",model:a||"",samplerate:p,type:"string"===typeof s?y.type[s]:s||y.type.Unknown}}))}}]),r}(h.AudioInputStream);t.default=C},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if("undefined"!==typeof window.AudioContext)return new window.AudioContext;if("undefined"!==typeof window.webkitAudioContext)return new window.webkitAudioContext;throw new Error("This browser does not support Web Audio API.")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=window.navigator;if("undefined"!==typeof t.mediaDevices)return t.mediaDevices.getUserMedia(e);if("undefined"!==typeof t.getUserMedia)return new Promise((function(r,n){return t.getUserMedia(e,r,n)}));throw new Error("This browser does not support Web Audio API.")}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r,n=e.audioConfig,a=e.audioContext,s=e.audioInputDeviceId,u=e.enableInternalHTTPSupport,c=e.enableTelemetry,l=e.fetchCredentials,p=e.speechRecognitionEndpointId,f=e.speechRecognitionLanguage,d=void 0===f?(null===(t=window)||void 0===t||null===(r=t.navigator)||void 0===r?void 0:r.language)||"en-US":f,h=e.speechSynthesisDeploymentId,v=e.speechSynthesisOutputFormat,m=e.textNormalization,y=e.userID,T=e.username;if(n)s&&console.warn('botframework-webchat: "audioConfig" and "audioInputDeviceId" cannot be set at the same time; ignoring "audioInputDeviceId".'),a&&console.warn('botframework-webchat: "audioConfig" and "audioContext" cannot be set at the same time; ignoring "audioContext" for speech recognition.');else if(window.navigator.mediaDevices){var b=(0,o.default)({audioContext:a,audioInputDeviceId:s,enableTelemetry:c});n=b.audioConfig,a=b.audioContext}else console.warn('botframework-webchat: Your browser does not support or allow microphone access or the page is not loaded via HTTPS or localhost. Speech is disabled for Direct Line Speech. However, you may pass a custom "audioConfig" to enable speech in this environment.');return(0,i.createAdapters)({audioConfig:n,audioContext:a,enableInternalHTTPSupport:u,enableTelemetry:c,fetchCredentials:l,speechRecognitionEndpointId:p,speechRecognitionLanguage:d,speechSynthesisDeploymentId:h,speechSynthesisOutputFormat:v,textNormalization:m,userID:y,username:T})};var i=r(1813),o=n(r(794))},function(e,t,r){"use strict";r(1814);var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAdapters",{enumerable:!0,get:function(){return i.default}});var i=n(r(1816));if("undefined"!==typeof HTMLDocument&&"undefined"!==typeof document&&document instanceof HTMLDocument){var o=document.createElement("meta");o.setAttribute("name","botframework-directlinespeech:version"),o.setAttribute("content","4.14.1"),document.head.appendChild(o)}},function(e,t,r){var n=r(122),i=r(1815).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})}
2,function(e,t,r){var n=r(133),i=r(557),o=r(223),a=r(562).f,s=function(e){return function(t){for(var r,s=o(t),u=i(s),c=u.length,l=0,p=[];c>l;)r=u[l++],n&&!a.call(s,r)||p.push(e?[r,s[r]]:s[r]);return p}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return f.apply(this,arguments)};var i=n(r(163)),o=n(r(164)),a=r(487),s=n(r(1817)),u=n(r(1876)),c=n(r(1884)),l=n(r(1890)),p=n(r(1893));function f(){return(f=(0,o.default)(i.default.mark((function e(t){var r,n,f,d,h,v,m,y,T,b,g,_,S,A,E,C,O,I,w,P,N,R,k,x,M,L;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.audioConfig,n=t.audioContext,f=t.audioInputDeviceId,d=t.enableInternalHTTPSupport,h=t.enableTelemetry,v=t.fetchCredentials,m=t.speechRecognitionEndpointId,y=t.speechRecognitionLanguage,T=void 0===y?"undefined"!==typeof window&&"undefined"!==typeof window.navigator&&window.navigator.language||"en-US":y,b=t.speechSynthesisDeploymentId,g=t.speechSynthesisOutputFormat,_=t.textNormalization,S=t.userID,A=t.username,v){e.next=3;break}throw new Error('"fetchCredentials" must be specified.');case 3:return e.next=5,(0,p.default)(v);case 5:if(E=e.sent,C=E.authorizationToken,O=E.directLineToken,I=E.directLineSpeechHostname,w=E.region,P=E.subscriptionKey,!(!C&&!P||C&&P||C&&"string"!==typeof C||P&&"string"!==typeof P||d&&!O)){e.next=13;break}throw new Error('"fetchCredentials" must return either "authorizationToken" or "subscriptionKey" as a non-empty string only. If enableInternalHTTPSupport is set to true, then it should also return a non-empty "directLineToken"');case 13:if("undefined"!==typeof h&&console.warn("botframework-directlinespeech: Telemetry options are not yet supported. Please refer to Cognitive Services documentation for details."),!(I&&w||!I&&!w)){e.next=16;break}throw new Error('"fetchCredentials" must return either "directLineSpeechHostname" or "region" and it must not be an empty string.');case 16:if(!I){e.next=23;break}if("string"===typeof I){e.next=19;break}throw new Error('"fetchCredentials" must return "directLineSpeechHostname" as a string.');case 19:if(!d){e.next=21;break}throw new Error('"fetchCredentials" must not return "directLineSpeechHostname" if "enableInternalHTTPSupport" is set.');case 21:e.next=25;break;case 23:if("string"===typeof w){e.next=25;break}throw new Error('"fetchCredentials" must return "region" as a string.');case 25:return r&&f?console.warn('botframework-directlinespeech-sdk: Only "audioConfig" or "audioInputDeviceId" can be specified, but not both; ignoring "audioInputDeviceId".'):r||(r=f?a.AudioConfig.fromMicrophoneInput(f):a.AudioConfig.fromDefaultMicrophoneInput()),m&&console.warn('botframework-directlinespeech: Custom Speech is currently not supported; ignoring "speechRecognitionEndpointId".'),b&&console.warn('botframework-directlinespeech: Custom Voice is currently not supported; ignoring "speechSynthesisDeploymentId".'),g&&console.warn('botframework-directlinespeech: Synthesis output format is currently not supported; ignoring "speechSynthesisOutputFormat".'),_&&console.warn('botframework-directlinespeech: Text normalization is currently not supported; ignoring "textNormalization".'),(S||A)&&console.warn('botframework-directlinespeech: Custom "userId" and "username" are currently not supported and are ignored.'),I?C?(N=a.BotFrameworkConfig.fromHost(new URL("wss://".concat(I)))).setProperty(a.PropertyId.SpeechServiceAuthorization_Token,C):N=a.BotFrameworkConfig.fromHost(new URL("wss://".concat(I)),P):(N=C?a.BotFrameworkConfig.fromAuthorizationToken(C,w):a.BotFrameworkConfig.fromSubscription(P,w),d&&(N.setProperty(a.PropertyId.SpeechServiceConnection_Endpoint,"wss://".concat(encodeURI(w),".convai.speech.microsoft.com/directline/api/v1")),N.setProperty(a.PropertyId.Conversation_Agent_Connection_Id,O))),N.setProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage,T),S&&N.setProperty(a.PropertyId.Conversation_From_Id,S),R=(0,c.default)(new a.DialogServiceConnector(N,r)),C&&(k=setInterval((0,o.default)(i.default.mark((function e(){var t,r,n,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R.privIsDisposed&&clearInterval(k),e.next=3,(0,p.default)(v);case 3:if(t=e.sent,r=t.authorizationToken,n=t.directLineSpeechHostname,o=t.region,r){e.next=9;break}return e.abrupt("return",console.warn('botframework-directlinespeech-sdk: Renew token failed because "fetchCredentials" call returned no authorization token.'));case 9:if(!I){e.next=14;break}if(I===n){e.next=12;break}return e.abrupt("return",console.warn('botframework-directlinespeech-sdk: "directLineSpeechHostname" change is not supported for renewed token. Authorization token is not renewed.'));case 12:e.next=16;break;case 14:if(w===o){e.next=16;break}return e.abrupt("return",console.warn("botframework-directlinespeech-sdk: Region change is not supported for renewed token. Authorization token is not renewed."));case 16:R.authorizationToken=r;case 17:case"end":return e.stop()}}),e)}))),12e4)),d&&(x=setInterval((0,o.default)(i.default.mark((function e(){var t;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R.privIsDisposed&&clearInterval(x),e.next=3,(0,l.default)(O);case 3:if(t=e.sent){e.next=6;break}return e.abrupt("return",console.warn("botframework-directlinespeech-sdk: Renew token failed because call to refresh token Direct Line API did not return a new token."));case 6:N.setProperty(a.PropertyId.Conversation_Agent_Connection_Id,t),R.properties.setProperty(a.PropertyId.Conversation_Agent_Connection_Id,t),R.connect();case 9:case"end":return e.stop()}}),e)}))),9e5)),M=new u.default({dialogServiceConnector:R}),L=(0,s.default)({audioContext:n,enableTelemetry:h,recognizer:R,textNormalization:_}),e.abrupt("return",{directLine:M,webSpeechPonyfillFactory:L});case 40:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";var n=r(102),i=r(467);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.audioContext,r=e.enableTelemetry,n=e.ponyfill,i=void 0===n?{AudioContext:window.AudioContext||window.webkitAudioContext}:n,b=e.recognizer,g=e.textNormalization;if(!i.AudioContext)return console.warn("botframework-directlinespeech-sdk: This browser does not support Web Audio API. Speech support is disabled."),function(){return{}};return function(){var e=(0,d.createSpeechRecognitionPonyfillFromRecognizer)({createRecognizer:function(){return b},enableTelemetry:r,looseEvents:!0,textNormalization:g}),n=e.SpeechGrammarList,_=e.SpeechRecognition;t||(t=new i.AudioContext);var S=(0,h.default)(),A=S.cancelAll,E=S.push;return{SpeechGrammarList:n,SpeechRecognition:_,speechSynthesis:new(function(e){(0,c.default)(n,e);var r=function(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,p.default)(e);if(t){var i=(0,p.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}(n);function n(){return(0,s.default)(this,n),r.apply(this,arguments)}return(0,u.default)(n,[{key:"cancel",value:function(){A()}},{key:"getVoices",value:function(){return[]}},{key:"speak",value:function(e){E((function(){var r=new f.AbortController,n=r.signal;return{abort:r.abort.bind(r),result:(0,a.default)(o.default.mark((function r(){return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.dispatchEvent(new v.Event("start")),r.prev=1,!e.audioStream){r.next=7;break}return r.next=5,(0,m.default)(t,e.audioStream,{signal:n});case 5:r.next=9;break;case 7:return r.next=9,(0,y.default)(t);case 9:r.next=15;break;case 11:if(r.prev=11,r.t0=r.catch(1),"aborted"===r.t0.message){r.next=15;break}return r.abrupt("return",e.dispatchEvent(new ErrorEvent(r.t0)));case 15:e.dispatchEvent(new v.Event("end"));case 16:case"end":return r.stop()}}),r,null,[[1,11]])})))()}})).result.catch((function(e){if(!/^cancelled/i.test(e.message))throw e}))}},{key:"onvoiceschanged",get:function(){return(0,v.getEventAttributeValue)(this,"voiceschanged")},set:function(e){(0,v.setEventAttributeValue)(this,"voiceschanged",e)}}]),n}(v.default)),SpeechSynthesisUtterance:T.default}}};var o=n(r(163)),a=n(r(164)),s=n(r(468)),u=n(r(469)),c=n(r(820)),l=n(r(821)),p=n(r(822)),f=r(1820),d=r(761),h=n(r(1872)),v=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(166)),m=n(r(1873)),y=n(r(1875)),T=n(r(828));function b(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,n)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";r.r(t),r.d(t,"AbortController",(function(){return x})),r.d(t,"AbortSignal",(function(){return M})),r.d(t,"default",(function(){return L}));var n,i,o=r(511),a=r(512),s=r(880),u=r(881),c=r(353),l=r(81),p=r(254),f=r(354),d=r(209),h=r(210),v=r(214),m=r(513),y=r(882),T=r(514),b=r(255),g=Object.create,_=Object.defineProperty,S=p,A=f,E=d,C=Object.prototype.hasOwnProperty,O=function(e){return function(e,t,r){if(t&&"object"===l(t)||"function"===typeof t){var n,i=c(A(t));try{var o=function(){var i=n.value;C.call(e,i)||"default"===i||_(e,i,{get:function(){return t[i]},enumerable:!(r=S(t,i))||r.enumerable})};for(i.s();!(n=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}}return e}((t=_(null!=e?g(E(e)):{}
2,"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),_(t,"__esModule",{value:!0})),e);var t}((n={
vendor: 41,252 bytes, line 2
2"../abort-controller/node_modules/event-target-shim/dist/event-target-shim.js":function(e,t){Object.defineProperty(e,"__esModule",{value:!0});var r=new v,n=new v;function i(e){var t=r.get(e);return console.assert(null!=t,"'this' is expected an Event object, but got",e),t}function o(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,"function"===typeof e.event.preventDefault&&e.event.preventDefault()):"undefined"!==typeof console&&"function"===typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}function a(e,t){r.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var n=h(t),i=0;i<n.length;++i){var o=n[i];o in this||Object.defineProperty(this,o,s(o))}}function s(e){return{get:function(){return i(this).event[e]},set:function(t){i(this).event[e]=t},configurable:!0,enumerable:!0}}function u(e){return{value:function(){var t=i(this).event;return t[e].apply(t,arguments)},configurable:!0,enumerable:!0}}function c(e){if(null==e||e===Object.prototype)return a;var t=n.get(e);return null==t&&(t=function(e,t){var r=h(t);if(0===r.length)return e;function n(t,r){e.call(this,t,r)}n.prototype=Object.create(e.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(var i=0;i<r.length;++i){var o=r[i];if(!(o in e.prototype)){var a="function"===typeof p(t,o).value;Object.defineProperty(n.prototype,o,a?u(o):s(o))}}return n}(c(d(e)),e),n.set(e,t)),t}function f(e){return i(e).immediateStopped}function T(e,t){i(e).passiveListener=t}a.prototype={get type(){return i(this).event.type},get target(){return i(this).eventTarget},get currentTarget(){return i(this).currentTarget},composedPath:function(){var e=i(this).currentTarget;return null==e?[]:[e]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return i(this).eventPhase},stopPropagation:function(){var e=i(this);e.stopped=!0,"function"===typeof e.event.stopPropagation&&e.event.stopPropagation()},stopImmediatePropagation:function(){var e=i(this);e.stopped=!0,e.immediateStopped=!0,"function"===typeof e.event.stopImmediatePropagation&&e.event.stopImmediatePropagation()},get bubbles(){return Boolean(i(this).event.bubbles)},get cancelable(){return Boolean(i(this).event.cancelable)},preventDefault:function(){o(i(this))},get defaultPrevented(){return i(this).canceled},get composed(){return Boolean(i(this).event.composed)},get timeStamp(){return i(this).timeStamp},get srcElement(){return i(this).eventTarget},get cancelBubble(){return i(this).stopped},set cancelBubble(e){if(e){var t=i(this);t.stopped=!0,"boolean"===typeof t.event.cancelBubble&&(t.event.cancelBubble=!0)}},get returnValue(){return!i(this).canceled},set returnValue(e){e||o(i(this))},initEvent:function(){}},Object.defineProperty(a.prototype,"constructor",{value:a,configurable:!0,writable:!0}),"undefined"!==typeof window&&"undefined"!==typeof window.Event&&(m(a.prototype,window.Event.prototype),n.set(window.Event.prototype,a));var b=new v;function g(e){return null!==e&&"object"===l(e)}function _(e){var t=b.get(e);if(null==t)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return t}function S(e,t){Object.defineProperty(e,"on".concat(t),function(e){return{get:function(){for(var t=_(this).get(e);null!=t;){if(3===t.listenerType)return t.listener;t=t.next}return null},set:function(t){"function"===typeof t||g(t)||(t=null);for(var r=_(this),n=null,i=r.get(e);null!=i;)3===i.listenerType?null!==n?n.next=i.next:null!==i.next?r.set(e,i.next):r.delete(e):n=i,i=i.next;if(null!==t){var o={listener:t,listenerType:3,passive:!1,once:!1,next:null};null===n?r.set(e,o):n.next=o}},configurable:!0,enumerable:!0}}(t))}function A(e){function t(){E.call(this)}t.prototype=Object.create(E.prototype,{constructor:{value:t,configurable:!0,writable:!0}});for(var r=0;r<e.length;++r)S(t.prototype,e[r]);return t}function E(){if(!(this instanceof E)){if(1===arguments.length&&Array.isArray(arguments[0]))return A(arguments[0]);if(arguments.length>0){for(var e=new Array(arguments.length),t=0;t<arguments.length;++t)e[t]=arguments[t];return A(e)}throw new TypeError("Cannot call a class as a function")}b.set(this,new y)}E.prototype={addEventListener:function(e,t,r){if(null!=t){if("function"!==typeof t&&!g(t))throw new TypeError("'listener' should be a function or an object.");var n=_(this),i=g(r),o=(i?Boolean(r.capture):Boolean(r))?1:2,a={listener:t,listenerType:o,passive:i&&Boolean(r.passive),once:i&&Boolean(r.once),next:null},s=n.get(e);if(void 0!==s){for(var u=null;null!=s;){if(s.listener===t&&s.listenerType===o)return;u=s,s=s.next}u.next=a}else n.set(e,a)}},removeEventListener:function(e,t,r){if(null!=t)for(var n=_(this),i=(g(r)?Boolean(r.capture):Boolean(r))?1:2,o=null,a=n.get(e);null!=a;){if(a.listener===t&&a.listenerType===i)return void(null!==o?o.next=a.next:null!==a.next?n.set(e,a.next):n.delete(e));o=a,a=a.next}},dispatchEvent:function(e){if(null==e||"string"!==typeof e.type)throw new TypeError('"event.type" should be a string.');var t=_(this),r=e.type,n=t.get(r);if(null==n)return!0;for(var o=function(e,t){return new(c(d(t)))(e,t)}(this,e),a=null;null!=n;){if(n.once?null!==a?a.next=n.next:null!==n.next?t.set(r,n.next):t.delete(r):a=n,T(o,n.passive?n.listener:null),"function"===typeof n.listener)try{n.listener.call(this,o)}catch(s){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(s)}else 3!==n.listenerType&&"function"===typeof n.listener.handleEvent&&n.listener.handleEvent(o);if(f(o))break;n=n.next}return T(o,null),function(e,t){i(e).eventPhase=t}(o,0),function(e,t){i(e).currentTarget=t}(o,null),!o.defaultPrevented}},Object.defineProperty(E.prototype,"constructor",{value:E,configurable:!0,writable:!0}),"undefined"!==typeof window&&"undefined"!==typeof window.EventTarget&&m(E.prototype,window.EventTarget.prototype),e.defineEventAttribute=S,e.EventTarget=E,e.default=E,t.exports=E,t.exports.EventTarget=t.exports.default=E,t.exports.defineEventAttribute=S}},function(){return i||(0,n[h(n)[0]])((i={exports:{}}).exports,i),i.exports})()),I=function(e){s(r,e);var t=u(r);function r(){throw o(this,r),t.call(this),new TypeError("AbortSignal cannot be constructed directly")}return a(r,[{key:"aborted",get:function(){var e=w.get(this);if("boolean"!==typeof e)throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got ".concat(null===this?"null":l(this)));return e}}]),r}(O.EventTarget);(0,O.defineEventAttribute)(I.prototype,"abort");var w=new v;Object.defineProperties(I.prototype,{aborted:{enumerable:!0}}),"function"===typeof T&&"symbol"===l(b)&&Object.defineProperty(I.prototype,b,{configurable:!0,value:"AbortSignal"});var P=function(){function e(){o(this,e),N.set(this,function(){var e=Object.create(I.prototype);return O.EventTarget.call(e),w.set(e,!1),e}())}return a(e,[{key:"signal",get:function(){return R(this)}},{key:"abort",value:function(){var e;e=R(this),!1===w.get(e)&&(w.set(e,!0),e.dispatchEvent({type:"abort"}))}}]),e}(),N=new v;function R(e){var t=N.get(e);if(null==t)throw new TypeError("Expected 'this' to be an 'AbortController' object, but got ".concat(null===e?"null":l(e)));return t}Object.defineProperties(P.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),"function"===typeof T&&"symbol"===l(b)&&Object.defineProperty(P.prototype,b,{configurable:!0,value:"AbortController"});var k=P,x=("undefined"===typeof window?{}:window).AbortController||k,M=("undefined"===typeof window?{}:window).AbortSignal||I,L=x},function(e,t,r){e.exports=r(1822)},function(e,t,r){var n=r(1823);e.exports=n},function(e,t,r){var n=r(1824);e.exports=n},function(e,t,r){r(1825);var n=r(50).Object,i=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(i.sham=!0)},function(e,t,r){var n=r(36),i=r(72);n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:r(98).f})},function(e,t,r){e.exports=r(1827)},function(e,t,r){var n=r(1828);e.exports=n},function(e,t,r){var n=r(1829);e.exports=n},function(e,t,r){r(1830);var n=r(50).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){r(36)({target:"Object",stat:!0,sham:!r(72)},{create:r(152)})},function(e,t,r){var n=r(823);function i(t,r){return e.exports=i=n||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,i(t,r)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(824);e.exports=n},function(e,t,r){r(1834);var n=r(50);e.exports=n.Object.setPrototypeOf},function(e,t,r){r(36)({target:"Object",stat:!0},{setPrototypeOf:r(274)})},function(e,t,r){var n=r(1836);e.exports=n},function(e,t,r){var n=r(1837);e.exports=n},function(e,t,r){r(1838);var n=r(50);e.exports=n.Reflect.construct},function(e,t,r){var n=r(36),i=r(108),o=r(544),a=r(82),s=r(56),u=r(152),c=r(1839),l=r(43),p=i("Reflect","construct"),f=l((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),d=!l((function(){p((function(){}))})),h=f||d;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){o(e),a(t);var r=arguments.length<3?e:o(arguments[2]);if(d&&!f)return p(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(c.apply(e,n))}var i=r.prototype,l=u(s(i)?i:Object.prototype),h=Function.apply.call(e,l,t);return s(h)?h:l}})},function(e,t,r){"use strict";var n=r(130),i=r(56),o=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=o.call(arguments,1),a=function(){var n=r.concat(o.call(arguments));return this instanceof a?s(t,n.length,n):t.apply(e,n)};return i(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,r){var n=r(823),i=r(1841);function o(t){return e.exports=o=n?i:function(e){return e.__proto__||i(e)},e.exports.default=e.exports,e.exports.__esModule=!0,o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(1842)},function(e,t,r){var n=r(826);e.exports=n},function(e,t,r){r(1844);var n=r(50);e.exports=n.Object.getPrototypeOf},function(e,t,r){var n=r(36),i=r(43),o=r(109),a=r(272),s=r(531);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,r){var n=r(825);e.exports=function(){if("undefined"===typeof Reflect||!n)return!1;if(n.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(n(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(81).default,i=r(1851);e.exports=function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(1848)},function(e,t,r){var n=r(1849);e.exports=n},function(e,t,r){var n=r(1850);r(154),e.exports=n},function(e,t,r){r(182),r(185),r(222),r(720);var n=r(327);e.exports=n.f("iterator")},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(1853);e.exports=n},function(e,t,r){r(1854);var n=r(50).Object,i=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(i.sham=!0)},function(e,t,r){var n=r(36),i=r(43),o=r(107),a=r(265).f,s=r(72),u=i((function(){a(1)}));n({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},function(e,t,r){var n=r(1856);e.exports=n},function(e,t,r){r(1857);var n=r(50).Object;e.exports=function(e){return n.getOwnPropertyNames(e)}},function(e,t,r){var n=r(36),i=r(43),o=r(450).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},function(e,t,r){var n=r(1859);e.exports=n},function(e,t,r){r(1860);var n=r(50);e.exports=n.Object.keys},function(e,t,r){var n=r(36),i=r(109),o=r(219);n({target:"Object",stat:!0,forced:r(43)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},function(e,t,r){var n=r(1862);r(154),e.exports=n},function(e,t,r){r(182),r(185),r(1863);var n=r(50);e.exports=n.WeakMap},function(e,t,r){"use strict";var n,i=r(47),o=r(277),a=r(334),s=r(827),u=r(1865),c=r(56),l=r(132).enforce,p=r(538),f=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",h,u);if(p&&f){n=u.getConstructor(h,"WeakMap",!0),a.enable();var m=v.prototype,y=m.delete,T=m.has,b=m.get,g=m.set;o(m,{delete:function(e){if(c(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(c(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),T.call(this,e)||t.frozen.has(e)}return T.call(this,e)},get:function(e){if(c(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),T.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!d(e)){var r=l(this);r.frozen||(r.frozen=new n),T.call(this,e)?g.call(this,e,t):r.frozen.set(e,t)}else g.call(this,e,t);return this}})}},function(e,t,r){var n=r(43);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,r){"use strict";var n=r(277),i=r(334).getWeakData,o=r(82),a=r(56),s=r(278),u=r(153),c=r(191),l=r(91),p=r(132),f=p.set,d=p.getterFor,h=c.find,v=c.findIndex,m=0,y=function(e){return e.frozen||(e.frozen=new T)},T=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};T.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,c){var p=e((function(e,n){s(e,p,t),f(e,{type:t,id:m++,frozen:void 0}),void 0!=n&&u(n,e[c],{that:e,AS_ENTRIES:r})})),h=d(t),v=function(e,t,r){var n=h(e),a=i(o(t),!0);return!0===a?y(n).set(t,r):a[n.id]=r,e};return n(p.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var r=i(e);return!0===r?y(t).delete(e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var r=i(e);return!0===r?y(t).has(e):r&&l(r,t.id)}}),n(p.prototype,r?{get:function(e){var t=h(this);if(a(e)){var r=i(e);return!0===r?y(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),p}}},function(e,t,r){var n=r(1867);r(154),e.exports=n},function(e,t,r){r(182),r(1868),r(185),r(222);var n=r(50);e.exports=n.Map},function(e,t,r){"use strict";var n=r(827),i=r(1869);e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,r){"use strict";var n=r(98).f,i=r(152),o=r(277),a=r(179),s=r(278),u=r(153),c=r(377),l=r(541),p=r(72),f=r(334).fastKey,d=r(132),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,r,c){var l=e((function(e,n){s(e,l,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),p||(e.size=0),void 0!=n&&u(n,e[c],{that:e,AS_ENTRIES:r})})),d=v(t),m=function(e,t,r){var n,i,o=d(e),a=y(e,t);return a?a.value=r:(o.last=a={index:i=f(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),p?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},y=function(e,t){var r,n=d(e),i=f(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return o(l.prototype,{clear:function(){for(var e=d(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=d(this),r=y(this,e);if(r){var n=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),t.first==r&&(t.first=n),t.last==r&&(t.last=i),p?t.size--:this.size--}return!!r},forEach:function(e){for(var t,r=d(this),n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(l.prototype,r?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),p&&n(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",i=v(t),o=v(n);c(e,t,(function(e,t){h(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},function(e,t,r){var n=r(1871);e.exports=n},function(e,t,r){r(722),r(723),r(185),r(724),r(721);var n=r(327);e.exports=n.f("toStringTag")},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=[],t={cancelAll:function(){e.forEach((function(e){return(0,e.cancel)()}))},push:function(t){var r,n=(0,a.default)(),s=(0,a.default)(),u={promise:s.promise},c=u.cancel=function(){t=function(){return{result:Promise.reject(new Error("cancelled before start"))}},r&&r(),n.reject(new Error("cancelled in the midway"))},l=function(){var a=(0,o.default)(i.default.mark((function o(){var a,c,l;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=t(),c=a.abort,l=a.result,r=c,i.prev=2,i.t0=s,i.next=6,Promise.race([l,n.promise]);case 6:i.t1=i.sent,i.t0.resolve.call(i.t0,i.t1),i.next=13;break;case 10:i.prev=10,i.t2=i.catch(2),s.reject(i.t2);case 13:e=e.filter((function(e){return e!==u}));case 14:case"end":return i.stop()}}),o,null,[[2,10]])})));return function(){return a.apply(this,arguments)}}(),p=e[e.length-1],f=p&&p.promise||Promise.resolve();return e.push(u),f.then(l,l),{cancel:c,result:s.promise}}};return Object.defineProperty(t,"length",{get:function(){return e.length}}),t};var i=n(r(163)),o=n(r(164)),a=n(r(176))},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return v.apply(this,arguments)};var i=n(r(163)),o=n(r(470)),a=n(r(164)),s=n(r(1874));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){for(var r=new Float32Array(e.length),n=0;n<e.length;n++)r[n]=e[n]/t;return r}function p(e,t){switch(e.bitsPerSample){case 8:return l(new Int8Array(t),128);case 16:return l(new Int16Array(t),32768);case 32:return l(new Int32Array(t),2147483648);default:throw new Error("Only WAVE_FORMAT_PCM (8/16/32 bps) format supported at this time")}}function f(e){return new Promise((function(t,r){e.onabort=function(){return r(new Error("aborted"))}}))}function d(e,t){for(var r=t.channels,n=new Array(r),i=e.length/r,o=0;o<r;o++){var a=new Float32Array(i);n[o]=a;for(var s=0;s<i;s++)a[s]=e[s*r+o]}return n}function h(e,t){if(1===t)return e;for(var r,n=new Array(t).fill(e[0]),i=new Float32Array(e.length*t),o=0;o<e.length;o++)for(var a=e[o],s=o*t,u=0;u<t;u++)n.shift(),n.push(a),i[s+u]=(r=n).reduce((function(e,t){return e+t}),0)/r.length;return i}function v(){return(v=(0,a.default)(i.default.mark((function e(t,r){var n,o,a,u,l=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:{},o=n.signal,a=void 0===o?{}:o,t){e.next=5;break}throw new Error("botframework-directlinespeech-sdk: audioContext must be specified.");case 5:if(r){e.next=9;break}throw new Error("botframework-directlinespeech-sdk: stream must be specified.");case 9:if(r.format){e.next=13;break}throw new Error("botframework-directlinespeech-sdk: stream is missing format.");case 13:if("function"===typeof r.read){e.next=15;break}throw new Error("botframework-directlinespeech-sdk: stream is missing read().");case 15:return u=[],e.prev=16,e.delegateYield(i.default.mark((function e(){var n,o,u,l,v,m,y,T,b,g,_,S,A;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.format,o=f(a),u=new Uint8Array(4096),l=function(){return Promise.race([o.catch((function(){})),r.read(u.buffer).then((function(e){return e===u.byteLength?u:e?u.slice(0,e):void 0}))])},!a.aborted){e.next=6;break}throw new Error("aborted");case 6:for(v=n.samplesPerSec,"audio-24khz-48kbitrate-mono-mp3"===n.requestAudioFormatString&&(v=16e3),m=v,y=1;m<44100&&m<96e3;)y++,m=v*y;return T=(0,s.default)(t,c(c({},n),{},{samplesPerSec:m}),4096/(n.bitsPerSample/8)*y),e.next=14,l();case 14:b=e.sent,g=0;case 16:if(!(b&&g<1e3)||a.aborted){e.next=29;break}if(!a.aborted){e.next=19;break}return e.abrupt("break",29);case 19:_=p(n,b.buffer),S=d(_,n),A=S.map((function(e){return h(e,y)})),T.push(A);case 23:return e.next=25,l();case 25:b=e.sent,g++,e.next=16;break;case 29:if(o.catch((function(){return T.cancelAll()})),!a.aborted){e.next=32;break}throw new Error("aborted");case 32:return e.next=34,Promise.race([o,T.flush()]);case 34:case"end":return e.stop()}}),e)}))(),"t0",18);case 18:return e.prev=18,u.forEach((function(e){return e.stop()})),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[16,,18,21]])})))).apply(this,arguments)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n,i=t.channels,o=t.samplesPerSec,a=new Array(3).fill().map((function(){return e.createBuffer(i,r,o)})),s=[],u=[];return{cancelAll:function(){u.splice(0),s.forEach((function(e){return e.stop()}))},flush:function(){return new Promise((function(e){return u.push(e)}))},push:function(t){if(!t)throw new Error("multiChannelArray must not be falsy.");u.push(t),function t(){"number"!==typeof n&&(n=e.currentTime);var r=e.createBufferSource(),i=u.shift();if("function"===typeof i)i();else if(i){var o=a.shift();if(!o)return void u.unshift(i);!function(e){for(var t=e.numberOfChannels,r=0;r<t;r++){var n=e.getChannelData(r);[].fill.call(n,0)}}(o),function(e,t){for(var r=e.numberOfChannels,n=0;n<r;n++){var i=t[n];if(e.copyToChannel)e.copyToChannel(i,n);else for(var o=i.length,a=e.getChannelData(n),s=0;s<o;s++)a[s]=i[s]}}(o,i),r.buffer=o,r.connect(e.destination),r.start(n),s.push(r),n+=o.duration,r.addEventListener("ended",(function(){s=s.filter((function(e){return e!==r})),a.push(o),t()}))}}()}}}},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return p.apply(this,arguments)};var i=n(r(163)),o=n(r(164)),a=r(793),s=n(r(792)),u="SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3LjU2LjEwMQAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAACAAABhgC7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7//////////////////////////////////////////////////////////////////8AAAAATGF2YzU3LjY0AAAAAAAAAAAAAAAAJAUHAAAAAAAAAYYoRBqpAAAAAAD/+xDEAAPAAAGkAAAAIAAANIAAAARMQU1FMy45OS41VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7EMQpg8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";function c(e,t){return new Promise((function(r,n){var i=e.decodeAudioData(t,r,n);i&&"function"===typeof i.then&&r(i)}))}function l(e,t,r){return new Promise((function(n,i){var o,a,u,c=new s.default,l=new s.default,p=(a="statechange",u=function(e){return"closed"===e.target.state&&c.eventListener()},(o=e).addEventListener(a,u),function(){return o.removeEventListener(a,u)});try{r.buffer=t,r.onended=l.eventListener,r.connect(e.destination),r.start(0),Promise.race([c.upcoming(),l.upcoming()]).then(n)}catch(f){i(f)}finally{p()}}))}function p(){return(p=(0,o.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.createBufferSource(),e.next=3,c(t,(0,a.decode)(u));case 3:return n=e.sent,e.next=6,l(t,n,r);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(470)),o=n(r(468)),a=n(r(469)),s=n(r(1877)),u=n(r(86)),c=n(r(1883)),l=n(r(828));function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=function(){function e(t){var r,n=this,i=t.dialogServiceConnector;(0,o.default)(this,e),this.dialogServiceConnector=i,this.activity$=(0,c.default)(new s.default((function(e){n._activityObserver=e,r.next(0),r.next(1),i.connect((function(){r.next(2)}),(function(e){r.next(4),console.warn("botframework-directlinespeech-sdk: Failed to connect",{error:e})}))}))),this.connectionStatus$=(0,c.default)(new s.default((function(e){r=e}))),i.activityReceived=function(e,t){var r=t.activity,i=t.audioStream;try{n._activityObserver&&n._activityObserver.next(f(f({},r),{},{channelData:f(f({},r.channelData),{},{speechSynthesisUtterance:new l.default(i)}),from:f(f({},r.from),{},{role:"bot"}),replyToId:void 0,timestamp:(new Date).toISOString()}))}catch(o){console.error(o)}}}return(0,a.default)(e,[{key:"end",value:function(){try{this.dialogServiceConnector.close()}catch(e){if(!~e.message.indexOf("already disposed"))throw e}}},{key:"postActivity",value:function(e){e=f(f({},e),{},{from:{role:"user"}});try{var t=(0,u.default)().toString(36).substr(2);return!(!e.channelData||!e.channelData.speech)||this.dialogServiceConnector.sendActivityAsync(JSON.stringify(e)),this._activityObserver&&this._activityObserver.next(f(f({},e),{},{id:t,timestamp:(new Date).toISOString()})),s.default.of(t)}catch(r){return new s.default((function(e){return e.error(r)}))}}}]),e}();t.default=d},function(e,t,r){r(1878),r(1880),r(565),r(578),r(579);var n=r(386);e.exports=n.Observable},function(e,t,r){"use strict";var n=r(122),i=r(133),o=r(569),a=r(156),s=r(99),u=r(135),c=r(570),l=r(134).f,p=r(121),f=r(568),d=r(1879),h=r(227),v=r(577),m=r(73),y=r(226),T=m("observable"),b=y.get,g=y.set,_=function(e){return null==e?void 0:a(e)},S=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(r){v(r)}}},A=function(e){return void 0===e.observer},E=function(e){var t=e.facade;if(!i){t.closed=!0;var r=e.subscriptionObserver;r&&(r.closed=!0)}e.observer=void 0},C=function(e,t){var r,n=g(this,{cleanup:void 0,observer:s(e),subscriptionObserver:void 0});i||(this.closed=!1);try{(r=_(e.start))&&r.call(e,this)}catch(l){v(l)}if(!A(n)){var o=n.subscriptionObserver=new O(this);try{var u=t(o),c=u;null!=u&&(n.cleanup="function"===typeof u.unsubscribe?function(){c.unsubscribe()}:a(u))}catch(l){return void o.error(l)}A(n)&&S(n)}};C.prototype=f({},{unsubscribe:function(){var e=b(this);A(e)||(E(e),S(e))}}),i&&l(C.prototype,"closed",{configurable:!0,get:function(){return A(b(this))}});var O=function(e){g(this,{subscription:e}),i||(this.closed=!1)};O.prototype=f({},{next:function(e){var t=b(b(this).subscription);if(!A(t)){var r=t.observer;try{var n=_(r.next);n&&n.call(r,e)}catch(i){v(i)}}},error:function(e){var t=b(b(this).subscription);if(!A(t)){var r=t.observer;E(t);try{var n=_(r.error);n?n.call(r,e):v(e)}catch(i){v(i)}S(t)}},complete:function(){var e=b(b(this).subscription);if(!A(e)){var t=e.observer;E(e);try{var r=_(t.complete);r&&r.call(t)}catch(n){v(n)}S(e)}}}),i&&l(O.prototype,"closed",{configurable:!0,get:function(){return A(b(b(this).subscription))}});var I=function(e){c(this,I,"Observable"),g(this,{subscriber:a(e)})};f(I.prototype,{subscribe:function(e){var t=arguments.length;return new C("function"===typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:u(e)?e:{},b(this).subscriber)}}),f(I,{from:function(e){var t="function"===typeof this?this:I,r=_(s(e)[T]);if(r){var n=s(r.call(e));return n.constructor===t?n:new t((function(e){return n.subscribe(e)}))}var i=d(e);return new t((function(e){h(i,(function(t,r){if(e.next(t),e.closed)return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),e.complete()}))},of:function(){for(var e="function"===typeof this?this:I,t=arguments.length,r=new Array(t),n=0;n<t;)r[n]=arguments[n++];return new e((function(e){for(var n=0;n<t;n++)if(e.next(r[n]),e.closed)return;e.complete()}))}}),p(I.prototype,T,(function(){return this})),n({global:!0},{Observable:I}),o("Observable")},function(e,t,r){var n=r(99),i=r(572);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},function(e,t,r){r(1881)("observable")},function(e,t,r){var n=r(386),i=r(110),o=r(1882),a=r(134).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,r){var n=r(73);t.f=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r=[];return new Observable((function(n){return t||(t=e.subscribe({complete:function(){r.forEach((function(e){return e.complete()}))},error:function(e){r.forEach((function(t){return t.error(e)}))},next:function(e){r.forEach((function(t){return t.next(e)}))}})),r.push(n),function(){(r=r.filter((function(e){return e!==n}))).length||(t.unsubscribe(),t=null)}}))}},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;return e.listenOnceAsync=a(e.listenOnceAsync.bind(e),(function(e,r){t=(0,o.default)();for(var n=arguments.length,i=new Array(n>2?n-2:0),s=2;s<n;s++)i[s-2]=arguments[s];return[a(e,null,(function(e){return t.resolve(e),e})),a(r,null,(function(e){return t.reject(e),e}))].concat(i)})),e.startContinuousRecognitionAsync=function(t,r){e.listenOnceAsync((function(){}),(function(e){t=null,r&&r(e)})),setTimeout((function(){r=null,t&&t()}),0)},e};var i=n(r(1885)),o=n(r(176));function a(e,t,r){return function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];o=t?t.apply(void 0,(0,i.default)(o)):o;var s=e.apply(void 0,(0,i.default)(o));return r?r(s):s}}},function(e,t,r){var n=r(1886),i=r(1887),o=r(1888),a=r(1889);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(829);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(829);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return s.apply(this,arguments)};var i=n(r(163)),o=n(r(164)),a=n(r(1891));function s(){return(s=(0,o.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.default)("https://directline.botframework.com/v3/directline/tokens/refresh",{headers:{authorization:"Bearer ".concat(t)},method:"POST"});case 2:return r=e.sent,n=r.token,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";var n=r(102);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return l.apply(this,arguments)};var i=n(r(163)),o=n(r(470)),a=n(r(164)),s=n(r(1892));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(){return(l=(0,a.default)(i.default.mark((function e(t,r){var n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.default)(t,c(c({},r),{},{headers:c(c({},r.headers),{},{accept:"application/json"})}));case 2:if((n=e.sent).ok){e.next=5;break}throw new Error("Failed to fetch JSON from server due to ".concat(n.status));case 5:return e.abrupt("return",n.json());case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,r){"use strict";var n=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof n)return n;throw new Error("unable to locate global object")}();e.exports=t=n.fetch,n.fetch&&(t.default=n.fetch.bind(n)),t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"===typeof e?e():e}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return u(u({},(0,o.createStyleSet)(e)),(0,a.default)(e))};var i=n(r(88)),o=r(54),a=n(r(830));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.cardPushButtonBackgroundColor,r=e.cardPushButtonTextColor,n=e.accent,i=e.paddingRegular;return{"&.webchat__adaptive-card-renderer":{"& .ac-input, & .ac-inlineActionButton, & .ac-quickActionButton":{fontFamily:e.primaryFont},"& .ac-multichoiceInput":{padding:i},"& .ac-pushButton":{appearance:"none",backgroundColor:"White",borderStyle:"solid",borderWidth:1,color:n,fontWeight:600,padding:i},"& .ac-pushButton.style-destructive":{backgroundColor:"#E50000",color:"white"},"& .ac-pushButton.style-destructive:hover, & .ac-pushButton.style-destructive:active":{backgroundColor:"#BF0000"},"& .ac-pushButton.style-positive":{backgroundColor:"#0078D7",color:"white"},"& .ac-pushButton.style-positive:hover, & .ac-pushButton.style-positive:active":{backgroundColor:"#006ABC"},"& .ac-pushButton, & input, & select, & textarea":{'&[aria-disabled="true"]':{backgroundColor:"#EBEBE4",borderColor:"#A9A9A9",borderStyle:"solid",borderWidth:1,color:"#545454"}},'& .ac-pushButton[aria-disabled="true"]':{backgroundColor:"#F0F0F0",color:"#6D6D6D"},'& .ac-pushButton[aria-pressed="true"]':{backgroundColor:t,borderColor:t,color:r},'& input[aria-disabled="true"]':{padding:"2px 1px"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{display:"flex",flexDirection:"column","& > ul.media-list":{listStyleType:"none",margin:0,padding:0}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.paddingRegular;return{display:"flex",flexDirection:"column","& > ul.media-list":{listStyleType:"none",margin:void 0===t?void 0:t,padding:0}}}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(88)),o=n(r(831)),a=r(54),s=n(r(5)),u=n(r(0)),c=n(r(832));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=a.Components.Composer,d=function(e){return u.default.createElement(c.default,e,(function(t){return u.default.createElement(f,(0,o.default)({},e,t),e.children)}))};d.defaultProps=p(p({},f.defaultProps),{},{adaptiveCardsHostConfig:void 0,adaptiveCardsPackage:void 0,children:void 0}),d.propTypes=p(p({},f.propTypes),{},{adaptiveCardsHostConfig:s.default.any,adaptiveCardsPackage:s.default.any,children:s.default.any});var h=d;t.default=h},function(e,t,r){"use strict";var n=r(18),i=r(89);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(r(744)),a=n(r(5)),s=l(r(0)),u=n(r(741));function c(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!==typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var p=function(e){var t=e.adaptiveCardsHostConfig,r=e.adaptiveCardsPackage,n=e.children,i=(0,s.useMemo)((function(){return r||o}),[r]),a=(0,s.useMemo)((function(){return{adaptiveCardsPackage:i,hostConfigFromProps:t}}),[t,i]);return s.default.createElement(u.default.Provider,{value:a},n)};p.defaultProps={adaptiveCardsHostConfig:void 0,adaptiveCardsPackage:void 0,children:void 0},p.propTypes={adaptiveCardsHostConfig:a.default.any,adaptiveCardsPackage:a.default.any,children:a.default.any};var f=p;t.default=f},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.attachmentForScreenReaderMiddleware,r=e.attachmentMiddleware,n=e.renderMarkdown,l=e.styleOptions,p=e.styleSet,f=(0,o.useMemo)((function(){return[].concat((0,i.default)(r),[(0,s.default)()])}),[r]),d=(0,o.useMemo)((function(){return[].concat((0,i.default)(t),[(0,a.default)()])}),[t]),h=(0,o.useMemo)((function(){return p?void 0:(0,u.default)(l)}),[l,p]),v=(0,o.useMemo)((function(){return"undefined"===typeof n?c.default:n}),[n]);return{attachmentForScreenReaderMiddleware:d,attachmentMiddleware:f,extraStyleSet:h,renderMarkdown:v}};var i=n(r(453)),o=r(0),a=n(r(759)),s=n(r(752)),u=n(r(830)),c=n(r(833))},function(e,t,r){"use strict";e.exports=function(e,t,r,n){e.core.ruler.push(t,(function(e){var t,i,o;for(i=e.tokens.length-1;i>=0;i--)if("inline"===e.tokens[i].type)for(t=(o=e.tokens[i].children).length-1;t>=0;t--)o[t].type===r&&n(o,t)}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return E}));var n=r(353),i=r(81),o=r(254),a=r(354),s=r(209),u=r(210),c=r(69),l=r(883),p=r(215),f=r(149),d=r(256),h=r(515),v=Object.create,m=Object.defineProperty,y=o,T=a,b=s,g=Object.prototype.hasOwnProperty,_=function(e,t){return function(){return t||(0,e[u(e)[0]])((t={exports:{}}).exports,t),t.exports}},S=_({
2"../markdown-it-attrs/utils.js":function(e){function t(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}e.getAttrs=function(e,t,r){for(var n=/[^\t\n\f />"'=]/,i=[],o="",a="",s=!0,u=!1,p=t+r.leftDelimiter.length;p<e.length;p++){if(c(e).call(e,p,p+r.rightDelimiter.length)===r.rightDelimiter){""!==o&&i.push([o,a]);break}var f=e.charAt(p);if("="===f&&s)s=!1;else if("."!==f||""!==o)if("#"!==f||""!==o)if('"'!==f||""!==a)if('"'===f&&u)u=!1;else if(" "!==f||u)s&&-1===f.search(n)||(s?o+=f:a+=f);else{if(""===o)continue;i.push([o,a]),o="",a="",s=!0}else u=!0;else o="id",s=!1;else"."===e.charAt(p+1)?(o="css-module",p+=1):o="class",s=!1}if(r.allowedAttributes&&r.allowedAttributes.length){var d=r.allowedAttributes;return l(i).call(i,(function(e){var t=e[0];return d.some((function(e){return t===e||e instanceof RegExp&&e.test(t)}))}))}return i},e.addAttrs=function(e,t){for(var r=0,n=e.length;r<n;++r){var i=e[r][0];"class"===i?t.attrJoin("class",e[r][1]):"css-module"===i?t.attrJoin("css-module",e[r][1]):t.attrPush(e[r])}return t},e.hasDelimiters=function(e,t){if(!e)throw new Error('Parameter `where` not passed. Should be "start", "middle", "end" or "only".');return function(r){var n,i,o,a,s=t.leftDelimiter.length+1+t.rightDelimiter.length;if(!r||"string"!==typeof r||r.length<s)return!1;var u=s-t.rightDelimiter.length;switch(e){case"start":o=-1===(i=c(r).call(r,0,t.leftDelimiter.length)===t.leftDelimiter?0:-1)?-1:p(r).call(r,t.rightDelimiter,u),(a=r.charAt(o+t.rightDelimiter.length))&&-1!==p(n=t.rightDelimiter).call(n,a)&&(o=-1);break;case"end":o=(o=-1===(i=f(r).call(r,t.leftDelimiter))?-1:p(r).call(r,t.rightDelimiter,i+u))===r.length-t.rightDelimiter.length?o:-1;break;case"only":i=c(r).call(r,0,t.leftDelimiter.length)===t.leftDelimiter?0:-1,o=c(r).call(r,r.length-t.rightDelimiter.length)===t.rightDelimiter?r.length-t.rightDelimiter.length:-1}return-1!==i&&-1!==o&&function(e){var r="."===e.charAt(t.leftDelimiter.length),n="#"===e.charAt(t.leftDelimiter.length);return r||n?e.length>=s+1:e.length>=s}(r.substring(i,o+t.rightDelimiter.length))}},e.removeDelimiter=function(e,r){var n=t(r.leftDelimiter),i=t(r.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+i+"]+"+i+"$"),a=e.search(o);return-1!==a?c(e).call(e,0,a):e},e.escapeRegExp=t,e.getMatchingOpeningToken=function(e,t){if("softbreak"===e[t].type)return!1;if(0===e[t].nesting)return e[t];for(var r=e[t].level,n=e[t].type.replace("_close","_open");t>=0;--t)if(e[t].type===n&&e[t].level===r)return e[t]};var r=/[&<>"]/,n=/[&<>"]/g,i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function o(e){return i[e]}e.escapeHtml=function(e){return r.test(e)?e.replace(n,o):e}}}),A=_({
2"../markdown-it-attrs/patterns.js":function(e,t){var r=S();function n(e){return c(e).call(e,-1)[0]}t.exports=function(e){var t=new RegExp("^ {0,3}[-*_]{3,} ?"+r.escapeRegExp(e.leftDelimiter)+"[^"+r.escapeRegExp(e.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:r.hasDelimiters("end",e)}],transform:function(t,n){var i,o=t[n],a=f(i=o.info).call(i,e.leftDelimiter),s=r.getAttrs(o.info,a,e);r.addAttrs(s,o),o.info=r.removeDelimiter(o.info,e)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:function(e){return"image"===e||"code_inline"===e}},{shift:0,type:"text",content:r.hasDelimiters("start",e)}]}],transform:function(t,n,i){var o,a,s,u=t[n].children[i],l=p(o=u.content).call(o,e.rightDelimiter),f=t[n].children[i-1],h=r.getAttrs(u.content,0,e);(r.addAttrs(h,f),u.content.length===l+e.rightDelimiter.length)?d(a=t[n].children).call(a,i,1):u.content=c(s=u.content).call(s,l+e.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:r.hasDelimiters("only",e)}],transform:function(t,n){var i=t[n+2],o=r.getMatchingOpeningToken(t,n),a=r.getAttrs(i.content,0,e);r.addAttrs(a,o),d(t).call(t,n+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:r.hasDelimiters("start",e)}]}],transform:function(t,n,i){var o=t[n].children[i],a=o.content,s=r.getAttrs(a,0,e),u=r.getMatchingOpeningToken(t[n].children,i-1);r.addAttrs(s,u),o.content=c(a).call(a,p(a).call(a,e.rightDelimiter)+e.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:r.hasDelimiters("only",e)}]}],transform:function(t,n,i){for(var o,a=t[n].children[i].content,s=r.getAttrs(a,0,e),u=n-2;t[u-1]&&"ordered_list_open"!==t[u-1].type&&"bullet_list_open"!==t[u-1].type;)u--;r.addAttrs(s,t[u-1]),t[n].children=c(o=t[n].children).call(o,0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:function(e){return"bullet_list_close"===e||"ordered_list_close"===e}},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:r.hasDelimiters("only",e),children:function(e){return 1===e.length}},{shift:3,type:"paragraph_close"}],transform:function(t,n){var i=t[n+2].content,o=r.getAttrs(i,0,e),a=r.getMatchingOpeningToken(t,n);r.addAttrs(o,a),d(t).call(t,n+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:r.hasDelimiters("end",e)}]}],transform:function(t,i,o){var a=t[i].children[o],s=a.content,u=r.getAttrs(s,f(s).call(s,e.leftDelimiter),e);r.addAttrs(u,t[i-2]);var l=c(s).call(s,0,f(s).call(s,e.leftDelimiter));a.content=" "!==n(l)?l:c(l).call(l,0,-1)}},{name:"\n{.a} softbreak then curly in start",tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:r.hasDelimiters("only",e)}]}],transform:function(t,n,i){for(var o,a=t[n].children[i],s=r.getAttrs(a.content,0,e),u=n+1;t[u+1]&&-1===t[u+1].nesting;)u++;var l=r.getMatchingOpeningToken(t,u);r.addAttrs(s,l),t[n].children=c(o=t[n].children).call(o,0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:function(e){return 1===e.length},content:function(e){return null!==e.match(t)}},{shift:2,type:"paragraph_close"}],transform:function(t,n){var i=t[n];i.type="hr",i.tag="hr",i.nesting=0;var o=t[n+1].content,a=f(o).call(o,e.leftDelimiter);i.attrs=r.getAttrs(o,a,e),i.markup=o,d(t).call(t,n+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:r.hasDelimiters("end",e),t
2ype:function(e){return"code_inline"!==e}}]}],transform:function(t,i,o){for(var a=t[i].children[o],s=a.content,u=r.getAttrs(s,f(s).call(s,e.leftDelimiter),e),l=i+1;t[l+1]&&-1===t[l+1].nesting;)l++;var p=r.getMatchingOpeningToken(t,l);r.addAttrs(u,p);var d=c(s).call(s,0,f(s).call(s,e.leftDelimiter));a.content=" "!==n(d)?d:c(d).call(d,0,-1)}}]}}}),E=function(e){return function(e,t,r){if(t&&"object"===i(t)||"function"===typeof t){var o,a=n(T(t));try{var s=function(){var n=o.value;g.call(e,n)||"default"===n||m(e,n,{get:function(){return t[n]},enumerable:!(r=y(t,n))||r.enumerable})};for(a.s();!(o=a.n()).done;)s()}catch(u){a.e(u)}finally{a.f()}}return e}((t=m(null!=e?v(b(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),m(t,"__esModule",{value:!0})),e);var t}(_({
2"../markdown-it-attrs/index.js":function(e,t){var r=A(),n={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};function o(e,t,r){var n,a,s={match:!1,j:null},u=void 0!==r.shift?t+r.shift:r.position,l=(n=e,(a=u)>=0?n[a]:n[n.length+a]);if(void 0===l)return s;var p=function(e){if("shift"===e||"position"===e)return"continue";if(void 0===l[e])return{v:s};if("children"===e&&function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return"object"===i(e)}))}(r.children)){var t=function(){if(0===l.children.length)return{v:{v:s}};var e,t=r.children,n=l.children;if(t.every((function(e){return void 0!==e.position}))){if(e=t.every((function(e){return o(n,e.position,e).match}))){var i=function(e){return c(e).call(e,-1)[0]||{}}(t).position;s.j=i>=0?i:n.length+i}}else for(var a=function(r){if(e=t.every((function(e){return o(n,r,e).match})))return s.j=r,"break"},u=0;u<n.length;u++){if("break"===a(u))break}return!1===e?{v:{v:s}}:{v:"continue"}}();if("object"===i(t))return t.v}switch(i(r[e])){case"boolean":case"number":case"string":if(l[e]!==r[e])return{v:s};break;case"function":if(!r[e](l[e]))return{v:s};break;case"object":if(function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return"function"===typeof e}))}(r[e])){if(!1===r[e].every((function(t){return t(l[e])})))return{v:s};break}default:throw new Error("Unknown type of pattern test (key: ".concat(e,"). Test should be of type boolean, number, string, function or array of functions."))}};for(var f in r){var d=p(f);if("continue"!==d&&"object"===i(d))return d.v}return s.match=!0,s}t.exports=function(e,t){var i=h({},n);i=h(i,t);var a=r(i);e.core.ruler.before("linkify","curly_attributes",(function(e){for(var t=e.tokens,r=function(e){for(var r=0;r<a.length;r++){var n=a[r],i=null;n.tests.every((function(r){var n=o(t,e,r);return null!==n.j&&(i=n.j),n.match}))&&(n.transform(t,e,i),"inline attributes"!==n.name&&"inline nesting 0"!==n.name||r--)}},n=0;n<t.length;n++)r(n)}))}}
2})()).default},function(e,t,r){var n=r(1904);e.exports=n},function(e,t,r){var n=r(1905),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||e instanceof Array&&t===i.filter?n:t}},function(e,t,r){r(1906);var n=r(159);e.exports=n("Array").filter},function(e,t,r){"use strict";var n=r(36),i=r(191).filter;n({target:"Array",proto:!0,forced:!r(240)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(1908);e.exports=n},function(e,t,r){var n=r(1909),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||e instanceof Array&&t===i.indexOf?n:t}},function(e,t,r){r(1910);var n=r(159);e.exports=n("Array").indexOf},function(e,t,r){"use strict";var n=r(36),i=r(533).indexOf,o=r(451),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=o("indexOf");n({target:"Array",proto:!0,forced:s||!u},{indexOf:function(e){return s?a.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(1912);e.exports=n},function(e,t,r){var n=r(1913),i=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===i||e instanceof Array&&t===i.lastIndexOf?n:t}},function(e,t,r){r(1914);var n=r(159);e.exports=n("Array").lastIndexOf},function(e,t,r){var n=r(36),i=r(1915);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},function(e,t,r){"use strict";var n=r(107),i=r(220),o=r(131),a=r(451),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c||!l;e.exports=p?function(e){if(c)return u.apply(this,arguments)||0;var t=n(this),r=o(t.length),a=r-1;for(arguments.length>1&&(a=s(a,i(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},function(e,t,r){var n=r(1917);e.exports=n},function(e,t,r){var n=r(1918),i=Array.prototype;e.exports=function(e){var t=e.splice;return e===i||e instanceof Array&&t===i.splice?n:t}},function(e,t,r){r(1919);var n=r(159);e.exports=n("Array").splice},function(e,t,r){"use strict";var n=r(36),i=r(373),o=r(220),a=r(131),s=r(109),u=r(448),c=r(326),l=r(240)("splice"),p=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!l},{splice:function(e,t){var r,n,l,d,h,v,m=s(this),y=a(m.length),T=i(e,y),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=y-T):(r=b-2,n=f(p(o(t),0),y-T)),y+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(m,n),d=0;d<n;d++)(h=T+d)in m&&c(l,d,m[h]);if(l.length=n,r<n){for(d=T;d<y-n;d++)v=d+r,(h=d+n)in m?m[v]=m[h]:delete m[v];for(d=y;d>y-n+r;d--)delete m[d-1]}else if(r>n)for(d=y-n;d>T;d--)v=d+r-1,(h=d+n-1)in m?m[v]=m[h]:delete m[v];for(d=0;d<r;d++)m[d+T]=arguments[d+2];return m.length=y-n+r,l}})},function(e,t,r){var n=r(1921);e.exports=n},function(e,t,r){r(1922);var n=r(50);e.exports=n.Object.assign},function(e,t,r){var n=r(36),i=r(1923);n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,r){"use strict";var n=r(72),i=r(43),o=r(219),a=r(719),s=r(266),u=r(109),c=r(365),l=Object.assign,p=Object.defineProperty;e.exports=!l||i((function(){if(n&&1!==l({b:1},l(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||"abcdefghijklmnopqrst"!=o(l({},t)).join("")}))?function(e,t){for(var r=u(e),i=arguments.length,l=1,p=a.f,f=s.f;i>l;)for(var d,h=c(arguments[l++]),v=p?o(h).concat(p(h)):o(h),m=v.length,y=0;m>y;)d=v[y++],n&&!f.call(h,d)||(r[d]=h[d]);return r}:l},function(e,t,r){var n=r(117),i=r(1925),o=r(1934),a=r(1935).klona,s=r(1936).isPlainObject,u=r(1937),c=r(1938),l=r(1939).parse,p=["img","audio","video","picture","svg","object","map","iframe","embed"],f=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(r){t(e[r],r)}))}function h(e,t){return{}.hasOwnProperty.call(e,t)}function v(e,t){var r=[];return d(e,(function(e){t(e)&&r.push(e)})),r}e.exports=y;var m=/^[^\0\t\n\f\r /<=>]+$/;function y(e,t,r){var b="",g="";function _(e,t){var r=this;this.tag=e,this.attribs=t||{},this.tagPosition=b.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){P.length&&(P[P.length-1].text+=r.text)},this.updateParentNodeMediaChildren=function(){P.length&&p.includes(this.tag)&&P[P.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},y.defaults,t)).parser=Object.assign({},T,t.parser),f.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn("\n\n\u26a0\ufe0f Your `allowedTags` option includes, `".concat(e,"`, which is inherently\nvulnerable to XSS attacks. Please remove it from `allowedTags`.\nOr, to disable this warning, add the `allowVulnerableTags` option\nand ensure you are accounting for this risk.\n\n"))}));var S,A,E=t.nonTextTags||["script","style","textarea","option"];t.allowedAttributes&&(S={},A={},d(t.allowedAttributes,(function(e,t){S[t]=[];var r=[];e.forEach((function(e){"string"===typeof e&&e.indexOf("*")>=0?r.push(o(e).replace(/\\\*/g,".*")):S[t].push(e)})),r.length&&(A[t]=new RegExp("^("+r.join("|")+")$"))})));var C={},O={};
2d(t.allowedClasses,(function(e,t){S&&(h(S,t)||(S[t]=[]),S[t].push("class")),C[t]=[];var r=[];e.forEach((function(e){"string"===typeof e&&e.indexOf("*")>=0?r.push(o(e).replace(/\\\*/g,".*")):C[t].push(e)})),r.length&&(O[t]=new RegExp("^("+r.join("|")+")$"))}));var I,w,P,N,R,k,x,M={};d(t.transformTags,(function(e,t){var r;"function"===typeof e?r=e:"string"===typeof e&&(r=y.simpleTransform(e)),"*"===t?I=r:M[t]=r}));var L=!1;D();var j=new i.Parser({onopentag:function(e,r){if(t.enforceHtmlBoundary&&"html"===e&&D(),k)x++;else{var i=new _(e,r);P.push(i);var o,p=!1,f=!!i.text;if(h(M,e)&&(o=M[e](e,r),i.attribs=r=o.attribs,void 0!==o.text&&(i.innerText=o.text),e!==o.tagName&&(i.name=e=o.tagName,R[w]=o.tagName)),I&&(o=I(e,r),i.attribs=r=o.attribs,e!==o.tagName&&(i.name=e=o.tagName,R[w]=o.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(var t in e)if(h(e,t))return!1;return!0}(N)||null!=t.nestingLimit&&w>=t.nestingLimit)&&(p=!0,N[w]=!0,"discard"===t.disallowedTagsMode&&-1!==E.indexOf(e)&&(k=!0,x=1),N[w]=!0),w++,p){if("discard"===t.disallowedTagsMode)return;g=b,b=""}b+="<"+e,(!S||h(S,e)||S["*"])&&d(r,(function(r,o){if(m.test(o)){var p,f=!1;
2if(!S||h(S,e)&&-1!==S[e].indexOf(o)||S["*"]&&-1!==S["*"].indexOf(o)||h(A,e)&&A[e].test(o)||A["*"]&&A["*"].test(o))f=!0;else if(S&&S[e]){var d,y=n(S[e]);try{for(y.s();!(d=y.n()).done;){var T=d.value;if(s(T)&&T.name&&T.name===o){f=!0;var g="";if(!0===T.multiple){var _,E=r.split(" "),I=n(E);try{for(I.s();!(_=I.n()).done;){var w=_.value;-1!==T.values.indexOf(w)&&(""===g?g=w:g+=" "+w)}}catch(V){I.e(V)}finally{I.f()}}else T.values.indexOf(r)>=0&&(g=r);r=g}}}catch(V){y.e(V)}finally{y.f()}}if(f){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(o)&&B(e,r))return void delete i.attribs[o];if("iframe"===e&&"src"===o){var P=!0;try{if((r=r.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");for(var N="relative://relative-site",R=0;R<100;R++)N+="/".concat(R);var k=new URL(r,N);if(k&&"relative-site"===k.hostname&&"relative:"===k.protocol)P=h(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){var x=(t.allowedIframeHostnames||[]).find((function(e){return e===k.hostname})),M=(t.allowedIframeDomains||[]).find((function(e){return k.hostname===e||k.hostname.endsWith(".".concat(e))}));P=x||M}}catch(z){P=!1}if(!P)return void delete i.attribs[o]}if("srcset"===o)try{if((p=c(r)).forEach((function(e){B("srcset",e.url)&&(e.evil=!0)})),!(p=v(p,(function(e){return!e.evil}))).length)return void delete i.attribs[o];r=v(p,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?" ".concat(e.w,"w"):"")+(e.h?" ".concat(e.h,"h"):"")+(e.d?" ".concat(e.d,"x"):"")})).join(", "),i.attribs[o]=r}catch(z){return void delete i.attribs[o]}if("class"===o){var L=C[e],j=C["*"],D=[O[e],O["*"]].filter((function(e){return e}));if(!(r=F(r,L&&j?u(L,j):L||j,D)).length)return void delete i.attribs[o]}if("style"===o)try{if(0===(r=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(t.prop+":"+t.value),e}),[]).join(";")}(function(e,t){if(!t)return e;var r,n=a(e),i=e.nodes[0];r=t[i.selector]&&t["*"]?u(t[i.selector],t["*"]):t[i.selector]||t["*"];r&&(n.nodes[0].nodes=i.nodes.reduce(function(e){return function(t,r){h(e,r.prop)&&(e[r.prop].some((function(e){return e.test(r.value)}))&&t.push(r));return t}}(r),[]));return n}(l(e+" {"+r+"}"),t.allowedStyles))).length)return void delete i.attribs[o]}catch(z){return void delete i.attribs[o]}b+=" "+o,r&&r.length&&(b+='="'+U(r,!0)+'"')}else delete i.attribs[o]}else delete i.attribs[o]})),-1!==t.selfClosing.indexOf(e)?b+=" />":(b+=">",!i.innerText||f||t.textFilter||(b+=U(i.innerText),L=!0)),p&&(b=g+U(b),g="")}},ontext:function(e){if(!k){var r,n=P[P.length-1];if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){var i=U(e,!1);t.textFilter&&!L?b+=t.textFilter(i,r):L||(b+=i)}else b+=e;if(P.length)P[P.length-1].text+=e}},onclosetag:function(e){if(k){if(--x)return;k=!1}var r=P.pop();if(r){k=!!t.enforceHtmlBoundary&&"html"===e,w--;var n=N[w];if(n){if(delete N[w],"discard"===t.disallowedTagsMode)return void r.updateParentNodeText();g=b,b=""}R[w]&&(e=R[w],delete R[w]),t.exclusiveFilter&&t.exclusiveFilter(r)?b=b.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(b+="</"+e+">",n&&(b=g+U(b),g="")):n&&(b=g,g=""))}}},t.parser);return j.write(e),j.end(),b;function D(){b="",w=0,P=[],N={},R={},k=!1,x=0}function U(e,r){return"string"!==typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),r&&(e=e.replace(/"/g,"&quot;"))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),r&&(e=e.replace(/"/g,"&quot;")),e}function B(e,r){var n=(r=(r=r.replace(/[\x00-\x20]+/g,"")).replace(/<!--.*?-->/g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!n)return!!r.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;var i=n[1].toLowerCase();return h(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function F(e,t,r){return t?(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)||r.some((function(t){return t.test(e)}))})).join(" "):e}}var T={decodeEntities:!0};y.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},y.simpleTransform=function(e,t,r){return r=void 0===r||r,t=t||{},function(n,i){var o;
2if(r)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var u=r(835);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return u.Parser}});var c=r(143);function l(e,t){var r=new c.DomHandler(void 0,t);return new u.Parser(r,t).end(e),r.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=l,t.parseDOM=function(e,t){return l(e,t).children},t.createDomStream=function(e,t,r){var n=new c.DomHandler(e,t,r);return new u.Parser(n,t)};var p=r(836);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return s(p).default}});var f=o(r(245));t.ElementType=f,a(r(840),t),t.DomUtils=o(r(841));var d=r(840);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return d.FeedHandler}})},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});
2var s=a(r(245)),u=r(1928),c=r(1929),l=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function f(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",i=0;i<r.length;i++)n+=d(r[i],t);return n}function d(e,t){switch(e.type){case s.Root:return f(e.children,t);case s.Directive:case s.Doctype:return"<"+e.data+">";case s.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case s.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&h.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1})));!t.xmlMode&&v.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<"+e.name,o=function(e,t){if(e)return Object.keys(e).map((function(r){var n,i,o=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(i=c.attributeNames.get(r))&&void 0!==i?i:r),t.emptyAttrs||t.xmlMode||""!==o?r+'="'+(!1!==t.decodeEntities?u.encodeXML(o):o.replace(/"/g,"&quot;"))+'"':r})).join(" ")}(e.attribs,t);o&&(i+=" "+o);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&p.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=f(e.children,t)),!t.xmlMode&&p.has(e.name)||(i+="</"+e.name+">"));return i}(e,t);case s.Text:return function(e,t){var r=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(r=u.encodeXML(r));return r}(e,t)}}t.default=f;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),v=new Set(["svg","math"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(843),i=r(844);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=r(844);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var a=r(843);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},function(e,t,r){"use strict";
vendor: 4,799 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(143),i=[];function o(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function a(e){return e.parent||null}t.getChildren=o,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return o(t);for(var r=[e],n=e.prev,i=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=i;)r.push(i),i=i.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},function(e,t,r){"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(143);function i(e,t){var r=[],i=[];if(e===t)return 0;for(var o=(0,n.hasChildren)(e)?e:e.parent;o;)r.unshift(o),o=o.parent;for(o=(0,n.hasChildren)(t)?t:t.parent;o;)i.unshift(o),o=o.parent;for(var a=Math.min(r.length,i.length),s=0;s<a&&r[s]===i[s];)s++;if(0===s)return 1;var u=r[s-1],c=u.children,l=r[s],p=i[s];return c.indexOf(l)>c.indexOf(p)?u===t?20:4:u===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=i(e,t);return 2&r?-1:4&r?1:0})),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(842),i=r(846);t.getFeed=function(e){var t=u(p,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:s(r)};l(n,"id","id",r),l(n,"title","title",r);var i=null===(t=u("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var o=c("summary",r)||c("content",r);o&&(n.description=o);var a=c("updated",r);return a&&(n.pubDate=new Date(a)),n}))};l(n,"id","id",r),l(n,"title","title",r);var o=null===(t=u("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);l(n,"description","subtitle",r);var a=c("updated",r);a&&(n.updated=new Date(a));return l(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=u("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:s(t)};l(r,"id","guid",t),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};l(o,"title","title",n),l(o,"link","link",n),l(o,"description","description",n);var a=c("lastBuildDate",n);a&&(o.updated=new Date(a));return l(o,"author","managingEditor",n,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=o;n<i.length;n++){t[c=i[n]]&&(r[c]=t[c])}for(var s=0,u=a;s<u.length;s++){var c;t[c=u[s]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}
2function u(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,i.getElementsByTagName)(e,t,r,1)).trim()}function l(e,t,r,n,i){void 0===i&&(i=!1);var o=c(r,n,i);o&&(e[t]=o)}function p(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},function(e,t,r){"use strict";e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},function(e,t,r){"use strict";function n(e){if("object"!==typeof e)return e;var t,r,i=Object.prototype.toString.call(e);if("[object Object]"===i){if(e.constructor!==Object&&"function"===typeof e.constructor)for(t in r=new e.constructor,e)r.hasOwnProperty(t)&&r[t]!==e[t]&&(r[t]=n(e[t]));else for(t in r={},e)"__proto__"===t?Object.defineProperty(r,t,{value:n(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=n(e[t]);return r}if("[object Array]"===i){for(t=e.length,r=Array(t);t--;)r[t]=n(e[t]);return r}return"[object Set]"===i?(r=new Set,e.forEach((function(e){r.add(n(e))})),r):"[object Map]"===i?(r=new Map,e.forEach((function(e,t){r.set(n(t),n(e))})),r):"[object Date]"===i?new Date(+e):"[object RegExp]"===i?((r=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,r):"[object DataView]"===i?new e.constructor(n(e.buffer)):"[object ArrayBuffer]"===i?e.slice(0):"Array]"===i.slice(-6)?new e.constructor(e):e}r.r(t),r.d(t,"klona",(function(){return n}))},function(e,t,r){"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}r.r(t),r.d(t,"isPlainObject",(function(){return i}))},function(e,t,r){"use strict";var n=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function a(e,t,r){return e.concat(t).map((function(e){return o(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function u(e,t){try{return t in e}catch(r){return!1}}function c(e,t,r){var n={};return r.isMergeableObject(e)&&s(e).forEach((function(t){n[t]=o(e[t],r)})),s(t).forEach((function(i){(function(e,t){return u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(u(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"===typeof r?r:l}(i,r)(e[i],t[i],r):n[i]=o(t[i],r))})),n}function l(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||a,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):c(e,t,r):o(t,r)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return l(e,r,t)}),{})};var p=l;e.exports=p},function(e,t,r){var n,i,o;i=[],void 0===(o="function"===typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function r(t){var r,n=t.exec(e.substring(v));if(n)return r=n[0],v+=r.length,r}for(var n,i,o,a,s,u=e.length,c=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,p=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,d=/^\d+$/,h=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,m=[];;){if(r(l),v>=u)return m;n=r(p),i=[],","===n.slice(-1)?(n=n.replace(f,""),T()):y()}function y(){for(r(c),o="",a="in descriptor";;){if(s=e.charAt(v),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return v+=1,o&&i.push(o),void T();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void T();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void T();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void T();a="in descriptor",v-=1}v+=1}}function T(){var t,r,o,a,s,u,c,l,p,f=!1,v={};for(a=0;a<i.length;a++)u=(s=i[a])[s.length-1],c=s.substring(0,s.length-1),l=parseInt(c,10),p=parseFloat(c),d.test(c)&&"w"===u?((t||r)&&(f=!0),0===l?f=!0:t=l):h.test(c)&&"x"===u?((t||r||o)&&(f=!0),p<0?f=!0:r=p):d.test(c)&&"h"===u?((o||r)&&(f=!0),0===l?f=!0:o=l):f=!0;f?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(v.url=n,t&&(v.w=t),r&&(v.d=r),o&&(v.h=o),m.push(v))}}})?n.apply(t,i):n)||(e.exports=o)},function(e,t,r){"use strict";var n=r(474),i=r(335),o=r(852),a=r(165),s=r(1961),u=r(477),c=r(1962),l=r(481),p=r(856),f=r(337),d=r(482),h=r(855),v=r(484),m=r(857),y=r(858),T=r(483),b=r(247),g=r(336);function _(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new s(t)}_.plugin=function(e,t){function r(){var r=t.apply(void 0,arguments);return r.postcssPlugin=e,r.postcssVersion=(new s).version,r}var n;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),Object({NODE_ENV:"production",PUBLIC_URL:""}).LANG&&Object({NODE_ENV:"production",PUBLIC_URL:""}).LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:function(){return n||(n=r()),n}}),r.process=function(e,t,n){return _([r(n)]).process(e,t)},r},_.stringify=u,_.parse=m,_.fromJSON=c,_.list=y,_.comment=function(e){return new f(e)},_.atRule=function(e){return new d(e)},_.decl=function(e){return new i(e)},_.rule=function(e){return new T(e)},_.root=function(e){return new b(e)},_.document=function(e){return new l(e)},_.CssSyntaxError=n,_.Declaration=i,_.Container=a,_.Document=l,_.Comment=f,_.Warning=p,_.AtRule=d,_.Result=h,_.Input=v,_.Rule=T,_.Root=b,_.Node=g,o.registerPostcss(_),e.exports=_,_.default=_},function(e,t,r){var n=r(1941),i=r(847);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?i(e):t}},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r}
2,function(e,t,r){var n=r(198),i=r(475),o=r(1943),a=r(1944);function s(t){var r="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,r){var n=r(475),i=r(848);function o(t,r,a){return i()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,r){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return r&&n(o,r.prototype),o},o.apply(null,arguments)}e.exports=o},function(e,t,r){"use strict";r.r(t),r.d(t,"isColorSupported",(function(){return i})),r.d(t,"reset",(function(){return o})),r.d(t,"bold",(function(){return a})),r.d(t,"dim",(function(){return s})),r.d(t,"italic",(function(){return u})),r.d(t,"underline",(function(){return c})),r.d(t,"inverse",(function(){return l})),r.d(t,"hidden",(function(){return p})),r.d(t,"strikethrough",(function(){return f})),r.d(t,"black",(function(){return d})),r.d(t,"red",(function(){return h})),r.d(t,"green",(function(){return v})),r.d(t,"yellow",(function(){return m})),r.d(t,"blue",(function(){return y})),r.d(t,"magenta",(function(){return T})),r.d(t,"cyan",(function(){return b})),r.d(t,"white",(function(){return g})),r.d(t,"gray",(function(){return _})),r.d(t,"bgBlack",(function(){return S})),r.d(t,"bgRed",(function(){return A})),r.d(t,"bgGreen",(function(){return E})),r.d(t,"bgYellow",(function(){return C})),r.d(t,"bgBlue",(function(){return O})),r.d(t,"bgMagenta",(function(){return I})),r.d(t,"bgCyan",(function(){return w})),r.d(t,"bgWhite",(function(){return P})),r.d(t,"createColors",(function(){return N}));var n=function(e){return""+e},i=!1,o=n,a=n,s=n,u=n,c=n,l=n,p=n,f=n,d=n,h=n,v=n,m=n,y=n,T=n,b=n,g=n,_=n,S=n,A=n,E=n,C=n,O=n,I=n,w=n,P=n;function N(){return{isColorSupported:i,reset:o,bold:a,dim:s,italic:u,underline:c,inverse:l,hidden:p,strikethrough:f,black:d,red:h,green:v,yellow:m,blue:y,magenta:T,cyan:b,white:g,gray:_,bgBlack:S,bgRed:A,bgGreen:E,bgYellow:C,bgBlue:O,bgMagenta:I,bgCyan:w,bgWhite:P}}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){var n=r(834);e.exports=function(e){if(Array.isArray(e))return n(e)}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){function r(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,r){"use strict";(function(t){var n=r(117),i=r(60),o=r(64),a=r(478),s=a.SourceMapConsumer,u=a.SourceMapGenerator,c=r(479),l=c.dirname,p=c.resolve,f=c.relative,d=c.sep,h=r(854).pathToFileURL,v=Boolean(s&&u),m=Boolean(l&&p&&f&&d),y=function(){function e(t,r,n){i(this,e),this.stringify=t,this.mapOpts=n.map||{},this.root=r,this.opts=n}return o(e,[{key:"isMap",value:function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0}},{key:"previous",value:function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}}))),this.previousMaps}},{key:"isInline",value:function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))}},{key:"isSourcesContent",value:function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))}},{key:"clearAnnotation",value:function(){if(!1!==this.mapOpts.annotation)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}},{key:"setSourcesContent",value:function(){var e=this,t={};this.root.walk((function(r){if(r.source){var n=r.source.input.from;n&&!t[n]&&(t[n]=!0,e.map.setSourceContent(e.toUrl(e.path(n)),r.source.input.css))}}))}},{key:"applyPrevMaps",value:function(){var e,t=n(this.previous());try{for(t.s();!(e=t.n()).done;){var r=e.value,i=this.toUrl(this.path(r.file)),o=r.root||l(r.file),a=void 0;!1===this.mapOpts.sourcesContent?(a=new s(r.text)).sourcesContent&&(a.sourcesContent=a.sourcesContent.map((function(){return null}))):a=r.consumer(),this.map.applySourceMap(a,i,this.toUrl(this.path(o)))}}catch(u){t.e(u)}finally{t.f()}}},{key:"isAnnotation",value:function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))}},{key:"toBase64",value:function(e){return t?t.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}},{key:"addAnnotation",value:function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"===typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}},{key:"outputFile",value:function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}},{key:"generateMap",value:function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}},{key:"path",value:function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;var t=this.opts.to?l(this.opts.to):".";return"string"===typeof this.mapOpts.annotation&&(t=l(p(t,this.mapOpts.annotation))),e=f(t,e)}},{key:"toUrl",value:function(e){return"\\"===d&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}},{key:"sourcePath",value:function(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(h)return h(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}},{key:"generateString",value:function(){var e=this;this.css="",this.map=new u({file:this.outputFile()});var t,r,n=1,i=1,o={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(function(a,s,u){if(e.css+=a,s&&"end"!==u&&(o.generated.line=n,o.generated.column=i-1,s.source&&s.source.start?(o.source=e.sourcePath(s),o.original.line=s.source.start.line,o.original.column=s.source.start.column-1,e.map.addMapping(o)):(o.source="<no source>",o.original.line=1,o.original.column=0,e.map.addMapping(o))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),i=a.length-r):i+=a.length,s&&"start"!==u){var c=s.parent||{raws:{}};("decl"!==s.type||s!==c.last||c.raws.semicolon)&&(s.source&&s.source.end?(o.source=e.sourcePath(s),o.original.line=s.source.end.line,o.original.column=s.source.end.column-1,o.generated.line=n,o.generated.column=i-2,e.map.addMapping(o)):(o.source="<no source>",o.original.line=1,o.original.column=0,o.generated.line=n,o.generated.column=i-1,e.map.addMapping(o)))}}))}},{key:"generate",value:function(){if(this.clearAnnotation(),m&&v&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]}}]),e}();e.exports=y}).call(this,r(157).Buffer)},function(e,t,r){var n=r(198);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}},function(e,t,r){"use strict";var n={};e.exports=function(e){n[e]||(n[e]=!0,"undefined"!==typeof console&&console.warn&&console.warn(e))}},function(e,t,r){"use strict";var n=r(853),i=r(117),o=r(60),a=r(64),s=r(335),u=r(1958),c=r(337),l=r(482),p=r(247),f=r(483),d=function(){function e(t){o(this,e),this.input=t,this.root=new p,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}return a(e,[{key:"createTokenizer",value:function(){this.tokenizer=u(this.input)}},{key:"parse",value:function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}},{key:"comment",value:function(e){var t=new c;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);var r=e[1].slice(2,-2);
2if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}},{key:"emptyRule",value:function(e){var t=new f;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}},{key:"other",value:function(e){for(var t=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],u=e;u;){if(r=u[0],s.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(a&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){for(;s.length&&("space"===(u=s[s.length-1][0])||"comment"===u);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}},{key:"rule",value:function(e){e.pop();var t=new f;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}},{key:"decl",value:function(e,t){var r=new s;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));var a=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(n=e[u])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),p="",f=u;f>0;f--){var d=l[f][0];if(0===p.trim().indexOf("!")&&"space"!==d)break;p=l.pop()[1]+p}0===p.trim().indexOf("!")&&(r.important=!0,r.raws.important=p,e=l)}if("space"!==n[0]&&"comment"!==n[0])break}var h=e.some((function(e){return"space"!==e[0]&&"comment"!==e[0]}));this.raw(r,"value",e),h?r.raws.between+=a:r.value=a+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}},{key:"atrule",value:function(e){var t,r,n,i=new l;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,a=!1,s=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),o&&(e=s[s.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}},{key:"end",value:function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}},{key:"endFile",value:function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}},{key:"freeSemicolon",value:function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}},{key:"getPosition",value:function(e){var t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}},{key:"init",value:function(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}},{key:"raw",value:function(e,t,r){for(var n,i,o,a,s=r.length,u="",c=!0,l=/^([#.|])?(\w)+/i,p=0;p<s;p+=1)"comment"!==(i=(n=r[p])[0])||"rule"!==e.type?"comment"===i||"space"===i&&p===s-1?c=!1:u+=n[1]:(a=r[p-1],o=r[p+1],"space"!==a[0]&&"space"!==o[0]&&l.test(a[1])&&l.test(o[1])?u+=n[1]:c=!1);if(!c){var f=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:u,raw:f}}e[t]=u}},{key:"spacesAndCommentsFromEnd",value:function(e){for(var t,r="";
vendor: 3,488 bytes, line 2
2e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}},{key:"spacesAndCommentsFromStart",value:function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}},{key:"spacesFromEnd",value:function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}},{key:"stringFrom",value:function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}},{key:"colon",value:function(e){var t,r,o,a,s=0,u=i(e.entries());try{for(u.s();!(a=u.n()).done;){var c=n(a.value,2),l=c[0];if("("===(r=(t=c[1])[0])&&(s+=1),")"===r&&(s-=1),0===s&&":"===r){if(o){if("word"===o[0]&&"progid"===o[1])continue;return l}this.doubleColon(t)}o=t}}catch(p){u.e(p)}finally{u.f()}return!1}},{key:"unclosedBracket",value:function(e){throw this.input.error("Unclosed bracket",e[2])}},{key:"unknownWord",value:function(e){throw this.input.error("Unknown word",e[0][2])}},{key:"unexpectedClose",value:function(e){throw this.input.error("Unexpected }",e[2])}},{key:"unclosedBlock",value:function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}},{key:"doubleColon",value:function(e){throw this.input.error("Double colon",e[2])}},{key:"unnamedAtrule",value:function(e,t){throw this.input.error("At-rule without name",t[2])}},{key:"precheckMissedSemicolon",value:function(){}},{key:"checkMissedSemicolon",value:function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}}]),e}();e.exports=d},function(e,t,r){"use strict";var n="'".charCodeAt(0),i='"'.charCodeAt(0),o="\\".charCodeAt(0),a="/".charCodeAt(0),s="\n".charCodeAt(0),u=" ".charCodeAt(0),c="\f".charCodeAt(0),l="\t".charCodeAt(0),p="\r".charCodeAt(0),f="[".charCodeAt(0),d="]".charCodeAt(0),h="(".charCodeAt(0),v=")".charCodeAt(0),m="{".charCodeAt(0),y="}".charCodeAt(0),T=";".charCodeAt(0),b="*".charCodeAt(0),g=":".charCodeAt(0),_="@".charCodeAt(0),S=/[\t\n\f\r "#'()/;[\\\]{}]/g,A=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,E=/.[\n"'(/\\]/,C=/[\da-f]/i;e.exports=function(e){var t,r,O,I,w,P,N,R,k,x,M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=e.css.valueOf(),j=M.ignoreErrors,D=L.length,U=0,B=[],F=[];function V(){return U}function z(t){throw e.error("Unclosed "+t,U)}function H(){return 0===F.length&&U>=D}function G(e){if(F.length)return F.pop();if(!(U>=D)){var M=!!e&&e.ignoreUnclosed;switch(t=L.charCodeAt(U)){case s:case u:case l:case p:case c:r=U;do{r+=1,t=L.charCodeAt(r)}while(t===u||t===s||t===l||t===p||t===c);x=["space",L.slice(U,r)],U=r-1;break;case f:case d:case m:case y:case g:case T:case v:var V=String.fromCharCode(t);x=[V,V,U];break;case h:if(R=B.length?B.pop()[1]:"",k=L.charCodeAt(U+1),"url"===R&&k!==n&&k!==i&&k!==u&&k!==s&&k!==l&&k!==c&&k!==p){r=U;do{if(P=!1,-1===(r=L.indexOf(")",r+1))){if(j||M){r=U;break}z("bracket")}for(N=r;L.charCodeAt(N-1)===o;)N-=1,P=!P}while(P);x=["brackets",L.slice(U,r+1),U,r],U=r}else r=L.indexOf(")",U+1),I=L.slice(U,r+1),-1===r||E.test(I)?x=["(","(",U]:(x=["brackets",I,U,r],U=r);break;case n:case i:O=t===n?"'":'"',r=U;do{if(P=!1,-1===(r=L.indexOf(O,r+1))){if(j||M){r=U+1;break}z("string")}for(N=r;L.charCodeAt(N-1)===o;)N-=1,P=!P}while(P);x=["string",L.slice(U,r+1),U,r],U=r;break;case _:S.lastIndex=U+1,S.test(L),r=0===S.lastIndex?L.length-1:S.lastIndex-2,x=["at-word",L.slice(U,r+1),U,r],U=r;break;case o:for(r=U,w=!0;
2L.charCodeAt(r+1)===o;)r+=1,w=!w;if(t=L.charCodeAt(r+1),w&&t!==a&&t!==u&&t!==s&&t!==l&&t!==p&&t!==c&&(r+=1,C.test(L.charAt(r)))){for(;C.test(L.charAt(r+1));)r+=1;L.charCodeAt(r+1)===u&&(r+=1)}x=["word",L.slice(U,r+1),U,r],U=r;break;default:t===a&&L.charCodeAt(U+1)===b?(0===(r=L.indexOf("*/",U+2)+1)&&(j||M?r=L.length:z("comment")),x=["comment",L.slice(U,r+1),U,r],U=r):(A.lastIndex=U+1,A.test(L),r=0===A.lastIndex?L.length-1:A.lastIndex-2,x=["word",L.slice(U,r+1),U,r],B.push(x),U=r)}return U++,x}}function q(e){F.push(e)}return{back:q,nextToken:G,endOfFile:H,position:V}}},function(e,t,r){"use strict";r.r(t),r.d(t,"nanoid",(function(){return o})),r.d(t,"customAlphabet",(function(){return i}));var n="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",i=function(e,t){return function(){for(var r="",n=t;n--;)r+=e[Math.random()*e.length|0];return r}},o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21,t="",r=e;r--;)t+=n[64*Math.random()|0];return t}},function(e,t){},function(e,t,r){"use strict";var n=r(117),i=r(60),o=r(64),a=r(852),s=r(481),u=r(247),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e),this.version="8.3.8",this.plugins=this.normalize(t)}return o(e,[{key:"use",value:function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}},{key:"process",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return 0!==this.plugins.length||"undefined"!==typeof t.parser||"undefined"!==typeof t.stringifier||"undefined"!==typeof t.syntax||t.hideNothingWarning,new a(this,e,t)}))},{key:"normalize",value:function(e){var t,r=[],i=n(e);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===typeof o&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===typeof o&&o.postcssPlugin)r.push(o);else if("function"===typeof o)r.push(o);
2else{if("object"!==typeof o||!o.parse&&!o.stringify)throw new Error(o+" is not a PostCSS plugin")}}}catch(a){i.e(a)}finally{i.f()}return r}}]),e}();e.exports=c,c.default=c,u.registerProcessor(c),s.registerProcessor(c)},function(e,t,r){"use strict";var n=r(246),i=r(117),o=r(1963),a=["inputs"],s=["inputId"],u=r(335),c=r(859),l=r(337),p=r(482),f=r(484),d=r(247),h=r(483);function v(e,t){if(Array.isArray(e))return e.map((function(e){return v(e)}));var r=e.inputs,m=o(e,a);if(r){t=[];var y,T=i(r);try{for(T.s();!(y=T.n()).done;){var b=y.value,g=n(n({},b),{},{__proto__:f.prototype});g.map&&(g.map=n(n({},g.map),{},{__proto__:c.prototype})),t.push(g)}}catch(E){T.e(E)}finally{T.f()}}if(m.nodes&&(m.nodes=e.nodes.map((function(e){return v(e,t)}))),m.source){var _=m.source,S=_.inputId,A=o(_,s);m.source=A,null!=S&&(m.source.input=t[S])}if("root"===m.type)return new d(m);if("decl"===m.type)return new u(m);if("rule"===m.type)return new h(m);if("comment"===m.type)return new l(m);if("atrule"===m.type)return new p(m);throw new Error("Unknown node type: "+e.type)}e.exports=v,v.default=v},function(e,t,r){var n=r(1964);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},function(e,t,r){"use strict";var n=r(18);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(88)),o=n(r(831)),a=n(r(5)),s=n(r(0)),u=n(r(54)),c=n(r(832));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e){return s.default.createElement(c.default,e,(function(t){return s.default.createElement(u.default,(0,o.default)({},e,t))}))};f.defaultProps=p(p({},u.default.defaultProps),{},{adaptiveCardHostConfig:void 0,adaptiveCardsHostConfig:void 0,adaptiveCardsPackage:void 0,renderMarkdown:void 0}),f.propTypes=p(p({},u.default.propTypes),{},{adaptiveCardHostConfig:a.default.any,adaptiveCardsHostConfig:a.default.any,adaptiveCardsPackage:a.default.any,renderMarkdown:a.default.func});var d=f;t.default=d},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";var n;r.r(t);var i=new Uint8Array(16);function o(){if(!n&&!(n="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"===typeof e&&a.test(e)},u=[],c=0;c<256;++c)u.push((c+256).toString(16).substr(1));var l,p,f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r},d=0,h=0;var v=function(e,t,r){var n=t&&r||0,i=t||new Array(16),a=(e=e||{}).node||l,s=void 0!==e.clockseq?e.clockseq:p;if(null==a||null==s){var u=e.random||(e.rng||o)();null==a&&(a=l=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==s&&(s=p=16383&(u[6]<<8|u[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),v=void 0!==e.nsecs?e.nsecs:h+1,m=c-d+(v-h)/1e4;if(m<0&&void 0===e.clockseq&&(s=s+1&16383),(m<0||c>d)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=c,h=v,p=s;var y=(1e4*(268435455&(c+=122192928e5))+v)%4294967296;i[n++]=y>>>24&255,i[n++]=y>>>16&255,i[n++]=y>>>8&255,i[n++]=255&y;var T=c/4294967296*1e4&268435455;i[n++]=T>>>8&255,i[n++]=255&T,i[n++]=T>>>
224&15|16,i[n++]=T>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var b=0;b<6;++b)i[n+b]=a[b];return t||f(i)};var m=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};var y=function(e,t,r){function n(e,n,i,o){if("string"===typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"===typeof n&&(n=m(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(n),a.set(e,n.length),(a=r(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,i){o=o||0;for(var s=0;s<16;++s)i[o+s]=a[s];return i}return f(a)}try{n.name=e}catch(i){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n};function T(e){return 14+(e+64>>>9<<4)+1}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function g(e,t,r,n,i,o){return b((a=b(b(t,e),b(n,o)))<<(s=i)|a>>>32-s,r);var a,s}function _(e,t,r,n,i,o,a){return g(t&r|~t&n,e,t,i,o,a)}function S(e,t,r,n,i,o,a){return g(t&n|r&~n,e,t,i,o,a)}function A(e,t,r,n,i,o,a){return g(t^r^n,e,t,i,o,a)}function E(e,t,r,n,i,o,a){return g(r^(t|~n),e,t,i,o,a)}var C=y("v3",48,(function(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){for(var t=[],r=32*e.length,n=0;n<r;n+=8){var i=e[n>>5]>>>n%32&255,o=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[T(t)-1]=t;for(var r=1732584193,n=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=r,u=n,c=i,l=o;r=_(r,n,i,o,e[a],7,-680876936),o=_(o,r,n,i,e[a+1],12,-389564586),i=_(i,o,r,n,e[a+2],17,606105819),n=_(n,i,o,r,e[a+3],22,-1044525330),r=_(r,n,i,o,e[a+4],7,-176418897),o=_(o,r,n,i,e[a+5],12,1200080426),i=_(i,o,r,n,e[a+6],17,-1473231341),n=_(n,i,o,r,e[a+7],22,-45705983),r=_(r,n,i,o,e[a+8],7,1770035416),o=_(o,r,n,i,e[a+9],12,-1958414417),i=_(i,o,r,n,e[a+10],17,-42063),n=_(n,i,o,r,e[a+11],22,-1990404162),r=_(r,n,i,o,e[a+12],7,1804603682),o=_(o,r,n,i,e[a+13],12,-40341101),i=_(i,o,r,n,e[a+14],17,-1502002290),n=_(n,i,o,r,e[a+15],22,1236535329),r=S(r,n,i,o,e[a+1],5,-165796510),o=S(o,r,n,i,e[a+6],9,-1069501632),i=S(i,o,r,n,e[a+11],14,643717713),n=S(n,i,o,r,e[a],20,-373897302),r=S(r,n,i,o,e[a+5],5,-701558691),o=S(o,r,n,i,e[a+10],9,38016083),i=S(i,o,r,n,e[a+15],14,-660478335),n=S(n,i,o,r,e[a+4],20,-405537848),r=S(r,n,i,o,e[a+9],5,568446438),o=S(o,r,n,i,e[a+14],9,-1019803690),i=S(i,o,r,n,e[a+3],14,-187363961),n=S(n,i,o,r,e[a+8],20,1163531501),r=S(r,n,i,o,e[a+13],5,-1444681467),o=S(o,r,n,i,e[a+2],9,-51403784),i=S(i,o,r,n,e[a+7],14,1735328473),n=S(n,i,o,r,e[a+12],20,-1926607734),r=A(r,n,i,o,e[a+5],4,-378558),o=A(o,r,n,i,e[a+8],11,-2022574463),i=A(i,o,r,n,e[a+11],16,1839030562),n=A(n,i,o,r,e[a+14],23,-35309556),r=A(r,n,i,o,e[a+1],4,-1530992060),o=A(o,r,n,i,e[a+4],11,1272893353),i=A(i,o,r,n,e[a+7],16,-155497632),n=A(n,i,o,r,e[a+10],23,-1094730640),r=A(r,n,i,o,e[a+13],4,681279174),o=A(o,r,n,i,e[a],11,-358537222),i=A(i,o,r,n,e[a+3],16,-722521979),n=A(n,i,o,r,e[a+6],23,76029189),r=A(r,n,i,o,e[a+9],4,-640364487),o=A(o,r,n,i,e[a+12],11,-421815835),i=A(i,o,r,n,e[a+15],16,530742520),n=A(n,i,o,r,e[a+2],23,-995338651),r=E(r,n,i,o,e[a],6,-198630844),o=E(o,r,n,i,e[a+7],10,1126891415),i=E(i,o,r,n,e[a+14],15,-1416354905),n=E(n,i,o,r,e[a+5],21,-57434055),r=E(r,n,i,o,e[a+12],6,1700485571),o=E(o,r,n,i,e[a+3],10,-1894986606),i=E(i,o,r,n,e[a+10],15,-1051523),n=E(n,i,o,r,e[a+1],21,-2054922799),r=E(r,n,i,o,e[a+8],6,1873313359),o=E(o,r,n,i,e[a+15],10,-30611744),i=E(i,o,r,n,e[a+6],15,-1560198380),n=E(n,i,o,r,e[a+13],21,1309151649),r=E(r,n,i,o,e[a+4],6,-145523070),o=E(o,r,n,i,e[a+11],10,-1120210379),i=E(i,o,r,n,e[a+2],15,718787259),n=E(n,i,o,r,e[a+9],21,-343485551),r=b(r,s),n=b(n,u),i=b(i,c),o=b(o,l)}return[r,n,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(T(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}));var O=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return f(n)};function I(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function w(e,t){return e<<t|e>>>32-t}var P=y("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i<n.length;++i)e.push(n.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a),u=0;u<a;++u){for(var c=new Uint32Array(16),l=0;l<16;++l)c[l]=e[64*u+4*l]<<24|e[64*u+4*l+1]<<16|e[64*u+4*l+2]<<8|e[64*u+4*l+3];s[u]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var p=0;p<a;++p){for(var f=new Uint32Array(80),d=0;d<16;++d)f[d]=s[p][d];for(var h=16;h<80;++h)f[h]=w(f[h-3]^f[h-8]^f[h-14]^f[h-16],1);for(var v=r[0],m=r[1],y=r[2],T=r[3],b=r[4],g=0;g<80;++g){var _=Math.floor(g/20),S=w(v,5)+I(_,m,y,T)+b+t[_]+f[g]>>>0;
2b=T,T=y,y=w(m,30)>>>0,m=v,v=S}r[0]=r[0]+v>>>0,r[1]=r[1]+m>>>0,r[2]=r[2]+y>>>0,r[3]=r[3]+T>>>0,r[4]=r[4]+b>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}));var N=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};r.d(t,"v1",(function(){return v})),r.d(t,"v3",(function(){return C})),r.d(t,"v4",(function(){return O})),r.d(t,"v5",(function(){return P})),r.d(t,"NIL",(function(){return"00000000-0000-0000-0000-000000000000"})),r.d(t,"version",(function(){return N})),r.d(t,"validate",(function(){return s})),r.d(t,"stringify",(function(){return f})),r.d(t,"parse",(function(){return m}))},function(e,t,r){"use strict";r.r(t);var n=r(0),i=r.n(n),o=r(248),a=r.n(o),s=(r(898),r(3)),u=r.n(s);function c(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,i)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){c(o,n,i,a,s,"next",e)}function s(e){c(o,n,i,a,s,"throw",e)}a(void 0)}))}}var p=r(200);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(e,t)||Object(p.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=r(20),h=r.n(d),v=r(147),m=r.n(v),y=function(e){return i.a.createElement("svg",Object.assign({viewBox:"1099.295 0 260.131 225.6",style:{enableBackground:"new 0 0 1534 225.6"}},e),i.a.createElement("defs",null,i.a.createElement("style",{type:"text/css"},"\n\t.st0{fill:#FFFFFF;}\n")),i.a.createElement("g",null,i.a.createElement("path",{className:"st0",d:"M25.3,26.8C8.4,42.8,0,64,0,90.2c0,26.4,8.5,48.3,25.6,65.6s38.6,26,64.6,26h101.2v-31.2H90.2 c-17.1,0-31.3-5.3-42.4-16C36.8,123.9,31.2,110,31.2,92.8c0-17.3,5.5-31.5,16.7-42.5c11.1-11,25.2-16.5,42.4-16.5h101.2V2.6H90.2 C63.8,2.6,42.2,10.7,25.3,26.8z"}),i.a.createElement("path",{className:"st0",d:"M423,106.5c9.4-10.8,14.2-23.8,14.2-38.8c0-22-8.1-38.7-24.4-50.1C398.6,7.6,380,2.6,356.9,2.6H228.4v179.1 h31.2V33.8h102.3c28.3,0,42.5,11.2,42.5,33.6c0,11-4.5,19.5-13.4,25.4c-7.9,5.1-17.6,7.6-29.1,7.6H278v30.9h67.4l50.1,50.4h46.2 l-54.3-54C402.4,123.7,414.3,116.6,423,106.5z"}),i.a.createElement("path",{className:"st0",d:"M701.8,5.5c-3.8-3.7-8-5.5-12.6-5.5c-6.8,0-13.3,5.9-19.4,17.6l-60.1,117.2L549.9,17.6 C543.8,5.9,537.4,0,530.5,0c-4.7,0-8.9,1.7-12.5,5.2c-3.6,3.5-5.9,7.6-6.9,12.3L471,182h35.4l25.7-125.4L592.2,172 c4.2,8,10.3,12.1,18.4,12.1c7.2,0,12.8-3.9,16.8-11.8l60.1-115.7l26,125.4h35.1L708.6,17.6C707.4,12.9,705.1,8.8,701.8,5.5z"}),i.a.createElement("path",{className:"st0",d:"M1085.3,55.6c0-8.7-2.4-17-7.1-24.7c-12.2-19.1-33.7-28.6-64.3-28.6H885.4v179.1h128.5 c32.2,0,54-10.1,65.6-30.2c3.8-6.8,5.8-14.1,5.8-21.8c0-14.5-6.3-26.7-18.9-36.5C1079,83,1085.3,70.5,1085.3,55.6z M1018.7,108.8 c8.4,0,16,1.4,22.8,4.2c9.1,3.8,13.6,9.4,13.6,16.8c0,7.2-4.5,12.7-13.6,16.5c-6.6,2.6-14.3,3.9-22.8,3.9h-102V33.6h102 c8.7,0,16.5,1.5,23.3,4.5c8.7,4,13.1,9.8,13.1,17.3c0,7.7-4.4,13.6-13.1,17.6c-6.8,3.1-14.6,4.7-23.3,4.7H935v31.2H1018.7z"}),i.a.createElement("path",{className:"st0",d:"M1266.4,2.6H1196c-26.4,0-48,8-64.9,24.1c-16.9,16.1-25.3,37.2-25.3,63.5c0,26.4,8.5,48.3,25.6,65.6 c7.2,7.3,15.2,13,24,17.3l-9,52.5l79.1-43.9h41c26.2,0,47.8-8.7,64.8-26c17-17.3,25.4-39.2,25.4-65.6c0-26.2-8.4-47.4-25.2-63.5 C1314.7,10.7,1293,2.6,1266.4,2.6z M1309,134.5c-11.1,10.7-25.3,16-42.6,16H1196c-17.1,0-31.3-5.3-42.4-16 c-11.1-10.7-16.7-24.6-16.7-41.7c0-17.3,5.5-31.5,16.7-42.5c11.1-11,25.2-16.5,42.4-16.5h70.5c17.3,0,31.5,5.5,42.6,16.5 c11.1,11,16.7,25.2,16.7,42.5C1325.7,110,1320.1,123.9,1309,134.5z"}),i.a.createElement("polygon",{className:"st0",points:"1361.7,2.6 1361.7,33.8 1432.5,33.8 1432.5,181.7 1463.5,181.7 1463.5,33.8 1534,33.8 1534,2.6 \t"}),i.a.createElement("ellipse",{transform:"matrix(0.9239 -0.3827 0.3827 0.9239 55.4524 463.1442)",className:"st0",cx:1191.9,cy:92.2,rx:18.8,ry:18.8}),i.a.createElement("ellipse",{transform:"matrix(0.9239 -0.3827 0.3827 0.9239 61.431 493.1996)",className:"st0",cx:1270.5,cy:92.2,rx:18.8,ry:18.8})))},T=r(10);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?b(Object(r),!0).forEach((function(t){Object(T.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r(1966);var _=function(e){var t=e.className,r=e.onFetchToken,o=e.store,a=e.token,s=Object(n.useMemo)((function(){try{return Object(v.createDirectLine)({token:a,webSockets:!0,watermark:10})}catch(e){return sessionStorage.token&&sessionStorage.removeItem("token"),sessionStorage.conversation_Id&&sessionStorage.removeItem("conversation_Id"),Object(v.createDirectLine)({token:a,webSockets:!0,watermark:10})}}),[a]),u=Object(n.useMemo)((function(){var e=Object(v.createStyleSet)({backgroundColor:"Transparent",sendBoxTextWrap:!0,fontSizeSmall:"60%",emojiSet:!0,accent:"#444"});return e.textContent=g(g({},e.textContent),{},{fontFamily:"Arial, sans-serif"}),e}),[]);return Object(n.useEffect)((function(){try{r()}catch(e){sessionStorage.token&&sessionStorage.removeItem("token"),sessionStorage.conversation_Id&&sessionStorage.removeItem("conversation_Id"),r()}}),[r]),window.addEventListener("error",(function(e){var t;console.log("our:",e),(null===e||void 0===e||null===(t=e.message)||void 0===t?void 0:t.includes("ajax error 403"))&&(sessionStorage.token&&sessionStorage.removeItem("token"),sessionStorage.conversation_Id&&sessionStorage.removeItem("conversation_Id"))})),a?i.a.createElement(i.a.Fragment,null,i.a.createElement(m.a,{className:"".concat(t||""," web-chat"),directLine:s,store:o,styleSet:u})):i.a.createElement("div",{className:"".concat(t||""," connect-spinner")},i.a.createElement("div",{className:"content"},i.a.createElement("div",{className:"icon"},i.a.createElement("span",{className:"ms-Icon ms-Icon--CloudSecure"})),i.a.createElement("p",null,"Please wait while we are connecting.")))},S=(r(1967),r(1968),function(e){var t=Object(n.useMemo)((function(){return Object(v.createStore)({},(function(e){var t=e.dispatch;return function(e){return function(r){return"DIRECT_LINE/CONNECT_FULFILLED"===r.type?t({type:"WEB_CHAT/SEND_EVENT",payload:{name:"webchat/join",value:{language:window.navigator.language}}}):"DIRECT_LINE/INCOMING_ACTIVITY"===r.type&&"bot"===r.payload.activity.from.role&&b(!0),e(r)}}}))}),[]),r=Object(n.useMemo)((function(){return Object(v.createStyleSet)({backgroundColor:"Transparent"})}),[]),o=f(Object(n.useState)(!0),2),a=o[0],s=o[1],c=f(Object(n.useState)(!0),2),p=c[0],d=c[1],m=f(Object(n.useState)(!1),2),T=m[0],b=m[1],g=f(Object(n.useState)("right"),2),S=g[0],A=g[1],E=f(Object(n.useState)(),2),C=E[0],O=E[1],I=Object(n.useCallback)(l(u.a.mark((function t(){var r,n,i,o,a,s,c,l,p,f,d;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=sessionStorage,n=r.token,i=r.conversation_Id,n){t.next=14;break}return t.next=4,fetch("https://directline.botframework.com/v3/directline/tokens/generate",{method:"POST",headers:{Authorization:"Bearer "+(null===e||void 0===e||null===(o=e.config)||void 0===o?void 0:o.key),conversationId:sessionStorage.conversationId}});case 4:return a=t.sent,t.next=7,a.json();case 7:s=t.sent,c=s.token,l=s.conversationId,sessionStorage.token=c,sessionStorage.conversation_Id=l,n=c,i=l;case 14:if(i){t.next=23;break}return t.next=17,fetch("https://directline.botframework.com/v3/directline/conversations/".concat(i),{method:"GET",headers:{Authorization:"Bearer ".concat(n)}});case 17:return p=t.sent,t.next=20,p.json();case 20:f=t.sent,d=f.conversationId,sessionStorage.conversation_Id=d;case 23:O(n);case 24:case"end":return t.stop()}}),t)}))),[O,e]),w=Object(n.useCallback)(l(u.a.mark((function e(){return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s(!0),d(!1),b(!1);case 3:case"end":return e.stop()}}),e)}))),[d,b]),P=Object(n.useCallback)((function(){d(!0),b(!1)}),[d,b]),N=Object(n.useCallback)((function(){A("left"===S?"right":"left")}),[A,S]);return i.a.createElement("div",{className:"minimizable-web-chat"},p&&i.a.createElement("button",{className:"maximize",onClick:w},i.a.createElement(y,null),T&&i.a.createElement("span",{className:"ms-Icon ms-Icon--CircleShapeSolid red-dot"})),a&&i.a.createElement("div",{className:h()("left"===S?"chat-box left":"chat-box right",p?"hide":"show")},i.a.createElement("header",null,i.a.createElement("div",{className:"filler"},i.a.createElement("span",null,"Elmac's Virtual Agent")),i.a.createElement("button",{className:"switch",onClick:N},i.a.createElement("span",{className:"ms-Icon ms-Icon--Switch"})),i.a.createElement("button",{className:"minimize",onClick:P},i.a.createElement("span",{className:"ms-Icon ms-Icon--ChromeMinimize"}))),i.a.createElement(_,{className:"react-web-chat",onFetchToken:I,store:t,styleSet:r,token:C})))}),A=(r(1969),function(e){return i.a.createElement("div",{className:"App"},i.a.createElement(S,{config:null===e||void 0===e?void 0:e.config}))});Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var E=document.getElementById("crmbot"),C=null===E||void 0===E?void 0:E.getAttribute("data-key");a.a.render(i.a.createElement(A,{config:{key:C}}
2),E),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()}))},function(e,t,r){"use strict";r.r(t);var n=r(103),i=r.n(n),o=r(510),a=r.n(o),s=r(869),u=r.n(s),c=r(870),l=r.n(c),p=r(5),f=r.n(p),d=r(0),h=r.n(d),v=Object(d.createContext)({abortable:!1,readyState:0,supported:!0});function m(e){var t=Object(d.useRef)();return t.current=e,t}function y(e){if("undefined"!==typeof window)return"undefined"!==typeof window[e]?window[e]:window["webkit".concat(e)]}function T(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(){var e=arguments,r=this;a()(t).call(t,(function(t){return t.apply(r,e)}))}}function b(e){return!(!e||"function"!==typeof e.abort)}var g=function(e){var t=e.children,r=e.extra,n=e.grammar,o=e.lang,s=e.onDictate,c=e.onError,p=e.onProgress,f=e.onRawEvent,y=e.speechGrammarList,g=e.speechRecognition,_=e.started,S=Object(d.useState)(0),A=i()(S,2),E=A[0],C=A[1],O=Object(d.useRef)(!1),I=m(r),w=m(n),P=m(o),N=Object(d.useRef)(!1),R=m(s),k=m(c),x=m(p),M=m(f),L=function(e){var t=Object(d.useRef)();return Object(d.useEffect)((function(){t.current=e})),t.current}(g),j=Object(d.useRef)(),D=m(y),U=m(g);L!==g&&(N.current=!1);var B=Object(d.useCallback)((function(e){return e.target===j.current&&C(3)}),[j,C]),F=Object(d.useCallback)((function(e){var t=e.target;t===j.current&&(C(2),O.current=!0,x.current&&x.current({abortable:b(t),type:"progress"}))}),[O,x,j,C]),V=Object(d.useCallback)((function(e){e.target===j.current&&(j.current=void 0,C(0),O.current&&(R.current&&R.current({type:"dictate"}),O.current=!1))}),[O,R,j,C]),z=Object(d.useCallback)((function(e){e.target===j.current&&(O.current=!1,j.current=void 0,"not-allowed"===e.error&&(N.current=!0),C(0),k.current&&k.current(e))}),[O,k,N,j,C]),H=Object(d.useCallback)((function(e){e.target===j.current&&M.current&&M.current(e)}),[M,j]),G=Object(d.useCallback)((function(e){var t=e.results,r=e.target;if(r===j.current&&t.length){var n=u()([]).call(t,(function(e){var t=e[0];return{confidence:t.confidence,transcript:t.transcript}}));t[0].isFinal?(j.current=void 0,C(0),R.current&&R.current({result:n[0],type:"dictate"})):x.current&&x.current({abortable:b(r),results:n,type:"progress"})}}),[R,x,j,C]),q=Object(d.useCallback)((function(e){return e.target===j.current&&C(1)}),[j,C]);Object(d.useEffect)((function(){if(_){var e;if(!U.current||N.current)throw new Error("Speech recognition is not supported");var t=D.current&&w.current&&new D.current,r=j.current=new U.current;t&&(t.addFromString(w.current,1),r.grammars=t),r.lang=P.current,r.interimResults=!0,r.onaudioend=T(B,H),r.onaudiostart=T(F,H),r.onend=T(V,H),r.onerror=T(z,H),r.onnomatch=H,r.onresult=T(G,H),r.onsoundend=H,r.onsoundstart=H,r.onspeechend=H,r.onspeechstart=H,r.onstart=T(q,H);var n=I.current;n&&a()(e=l()(n)).call(e,(function(e){var t=i()(e,2),n=t[0],o=t[1];"constructor"!==n&&"prototype"!==n&&"__proto__"!==n&&(r[n]=o)})),r.start()}return function(){var e=j.current;if(e){if(!b(e))throw new Error("Failed to stop recognition while the current one is ongoing and is not abortable.");e.abort()}}}),[I,w,B,F,V,z,H,G,q,P,N,j,D,U,_]);var Y=b(j.current)&&2===E,W=!!g&&!N.current,K=Object(d.useMemo)((function(){return{abortable:Y,readyState:E,supported:W}}),[Y,E,W]);return h.a.createElement(v.Provider,{value:K},h.a.createElement(v.Consumer,null,(function(e){return"function"===typeof t?t(e):t})))};g.defaultProps={children:void 0,extra:void 0,grammar:void 0,lang:void 0,onDictate:void 0,onError:void 0,onProgress:void 0,onRawEvent:void 0,speechGrammarList:navigator.mediaDevices&&navigator.mediaDevices.getUserMedia&&y("SpeechGrammarList"),speechRecognition:navigator.mediaDevices&&navigator.mediaDevices.getUserMedia&&y("SpeechRecognition"),started:void 0},g.propTypes={children:f.a.any,extra:f.a.any,grammar:f.a.string,lang:f.a.string,onDictate:f.a.func,onError:f.a.func,onProgress:f.a.func,onRawEvent:f.a.func,speechGrammarList:f.a.any,speechRecognition:f.a.any,started:f.a.any};var _=g;function S(){return Object(d.useContext)(v)}function A(){return[S().readyState]}function E(){return[S().supported]}var C=function(e){var t=e.children,r=e.className,n=e.disabled,o=e.onClick,a=A(),s=i()(a,1)[0],u=E(),c=i()(u,1)[0];return h.a.createElement("button",{className:r,disabled:1===s||3===s||!c||n,onClick:o,type:"button"},"function"===typeof t?t({readyState:s}):t)};C.defaultProps={children:void 0,className:void 0,disabled:void 0},C.propTypes={children:f.a.any,className:f.a.string,disabled:f.a.bool,onClick:f.a.func.isRequired};var O=function(e){var t=e.children,r=e.className,n=e.disabled,o=e.extra,a=e.grammar,s=e.lang,u=e.onClick,c=e.onDictate,l=e.onError,p=e.onProgress,f=e.onRawEvent,v=e.speechGrammarList,y=e.speechRecognition,T=Object(d.useState)(),b=i()(T,2),g=b[0],S=b[1],A=m(u),E=m(c),O=m(l),I=Object(d.useCallback)((function(e){A.current&&A.current(e),!e.isDefaultPrevented()&&S((function(e){return!e}))}
2),[A,S]),w=Object(d.useCallback)((function(e){S(!1),E.current&&E.current(e)}),[E,S]),P=Object(d.useCallback)((function(e){S(!1),O.current&&O.current(e)}),[O,S]);return h.a.createElement(_,{extra:o,grammar:a,lang:s,onDictate:w,onError:P,onProgress:p,onRawEvent:f,speechGrammarList:v,speechRecognition:y,started:g&&!n},h.a.createElement(C,{className:r,disabled:n,onClick:I},t))};O.defaultProps={children:void 0,className:void 0,disabled:void 0,extra:void 0,grammar:void 0,lang:void 0,onClick:void 0,onDictate:void 0,onError:void 0,onProgress:void 0,onRawEvent:void 0,speechGrammarList:void 0,speechRecognition:void 0},O.propTypes={children:f.a.any,className:f.a.string,disabled:f.a.bool,extra:f.a.any,grammar:f.a.string,lang:f.a.string,onClick:f.a.func,onDictate:f.a.func,onError:f.a.func,onProgress:f.a.func,onRawEvent:f.a.func,speechGrammarList:f.a.any,speechRecognition:f.a.any};var I=O,w=function(e){var t=e.children,r=e.className,n=e.disabled,o=e.onChange,a=e.started,s=A(),u=i()(s,1)[0],c=E(),l=i()(c,1)[0];return h.a.createElement("label",null,h.a.createElement("input",{checked:a,className:r,disabled:1===u||3===u||!l||n,onChange:o,type:"checkbox"}),"function"===typeof t?t({readyState:u}):t)};w.defaultProps={children:void 0,className:void 0,disabled:void 0},w.propTypes={children:f.a.any,className:f.a.string,disabled:f.a.bool,onChange:f.a.func.isRequired,started:f.a.bool.isRequired};var P=function(e){var t=e.children,r=e.className,n=e.disabled,o=e.extra,a=e.grammar,s=e.lang,u=e.onDictate,c=e.onError,l=e.onProgress,p=e.onRawEvent,f=e.speechGrammarList,v=e.speechRecognition,m=Object(d.useState)(!1),y=i()(m,2),T=y[0],b=y[1],g=Object(d.useCallback)((function(e){var t=e.target.checked;b(t)}),[b]),S=Object(d.useCallback)((function(e){b(!1),u&&u(e)}),[u,b]),A=Object(d.useCallback)((function(e){b(!1),c&&c(e)}),[c,b]);return h.a.createElement(_,{extra:o,grammar:a,lang:s,onDictate:S,onError:A,onProgress:l,onRawEvent:p,speechGrammarList:f,speechRecognition:v,started:T&&!n},h.a.createElement(w,{className:r,disabled:n,onChange:g,started:T},t))};P.defaultProps={children:void 0,className:void 0,disabled:void 0,extra:void 0,grammar:void 0,lang:void 0,onDictate:void 0,onError:void 0,onProgress:void 0,onRawEvent:void 0,speechGrammarList:void 0,speechRecognition:void 0},P.propTypes={children:f.a.any,className:f.a.string,disabled:f.a.bool,extra:f.a.any,grammar:f.a.string,lang:f.a.string,onDictate:f.a.func,onError:f.a.func,onProgress:f.a.func,onRawEvent:f.a.func,speechGrammarList:f.a.any,speechRecognition:f.a.any};var N=P;function R(){return[S().abortable]}r.d(t,"Composer",(function(){return _})),r.d(t,"Context",(function(){return v})),r.d(t,"DictateCheckbox",(function(){return N})),r.d(t,"useAbortable",(function(){return R})),r.d(t,"useReadyState",(function(){return A})),r.d(t,"useSupported",(function(){return E}));t.default=I},function(e,t,r){"use strict";r.r(t);var n=r(28),i=r(75),o=r(129),a=r(15),s=r(8);r(201);"function"===typeof Symbol&&Symbol.observable;var u=function(){return Math.random().toString(36).substring(7).split("").join(".")};u(),u();function c(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function l(){var e={};return e.promise=new Promise((function(t,r){e.resolve=t,e.reject=r})),e}var p=l,f=(r(338),[]),d=0;function h(e){try{y(),e()}finally{T()}}function v(e){f.push(e),d||(y(),b())}function m(e){try{return y(),e()}finally{b()}}function y(){d++}function T(){d--}function b(){var e;for(T();!d&&void 0!==(e=f.shift());)h(e)}var g=function(e){return function(t){return e.some((function(e){return C(e)(t)}))}},_=function(e){return function(t){return e(t)}},S=function(e){return function(t){return t.type===String(e)}},A=function(e){return function(t){return t.type===e}},E=function(){return s.U};function C(e){var t="*"===e?E:Object(a.k)(e)?S:Object(a.a)(e)?g:Object(a.l)(e)?S:Object(a.d)(e)?_:Object(a.m)(e)?A:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var O={type:n.b},I=function(e){return e&&e.type===n.b};function w(e){void 0===e&&(e=Object(s.O)());var t=!1,r=[];return{take:function(n){t&&e.isEmpty()?n(O):e.isEmpty()?(r.push(n),n.cancel=function(){Object(s.bb)(r,n)}):n(e.take())},put:function(n){if(!t){if(0===r.length)return e.put(n);r.shift()(n)}},flush:function(r){t&&e.isEmpty()?r(O):r(e.flush())},close:function(){if(!t){t=!0;var e=r;r=[];for(var n=0,i=e.length;n<i;n++){(0,e[n])(O)}}}}}function P(e,t){void 0===t&&(t=Object(s.X)());var r,n=!1,i=w(t),o=function(){n||(n=!0,Object(a.d)(r)&&r(),i.close())};return r=e((function(e){I(e)?o():i.put(e)})),r=Object(s.Y)(r),n&&r(),{take:i.take,flush:i.flush,close:o}}function N(){var e,t=!1,r=[],i=r;var o=function(){i===r&&(i=r.slice())},a=function(){t=!0;var e=r=i;i=[],e.forEach((function(e){e(O)}))};return(e={})[n.e]=!0,e.put=function(e){if(!t)if(I(e))a();else for(var o=r=i,s=0,u=o.length;s<u;s++){var c=o[s];c[n.d](e)&&(c.cancel(),c(e))}},e.take=function(e,r){void 0===r&&(r=E),t?e(O):(e[n.d]=r,o(),i.push(e),e.cancel=Object(s.Y)((function(){o(),Object(s.bb)(i,e)})))},e.close=a,e}function R(){var e=N(),t=e.put;return e.put=function(e){e[n.f]?t(e):v((function(){t(e)}))},e}function k(e,t){var r=e[n.a];Object(a.d)(r)&&(t.cancel=r),e.then(t,(function(e){t(e,!0)}))}var x,M=0,L=function(){return++M};function j(e){e.isRunning()&&e.cancel()}var D=((x={})[s.u]=function(e,t,r){var i=t.channel,o=void 0===i?e.channel:i,s=t.pattern,u=t.maybe,c=function(e){e instanceof Error?r(e,!0):!I(e)||u?r(e):r(n.k)};try{o.take(c,Object(a.g)(s)?C(s):null)}catch(l){return void r(l,!0)}r.cancel=c.cancel},x[s.q]=function(e,t,r){var n=t.channel,i=t.action,o=t.resolve;v((function(){var t;try{t=(n?n.put:e.dispatch)(i)}catch(s){return void r(s,!0)}o&&Object(a.j)(t)?k(t,r):r(t)}))},x[s.b]=function(e,t,r,n){var i=n.digestEffect,o=M,u=Object.keys(t);if(0!==u.length){var c=Object(s.V)(t,r);u.forEach((function(e){i(t[e],o,c[e],e)}))}else r(Object(a.a)(t)?[]:{})},x[s.s]=function(e,t,r,n){var i=n.digestEffect,o=M,u=Object.keys(t),c=Object(a.a)(t)?Object(s.W)(u.length):{},l={},p=!1;u.forEach((function(e){var t=function(t,n){p||(n||Object(s.cb)(t)?(r.cancel(),r(t,n)):(r.cancel(),p=!0,c[e]=t,r(c)))};t.cancel=s.db,l[e]=t})),r.cancel=function(){p||(p=!0,u.forEach((function(e){return l[e].cancel()})))},u.forEach((function(e){p||i(t[e],o,l[e],e)}))},x[s.d]=function(e,t,r,n){var i=t.context,o=t.fn,u=t.args,c=n.task;try{var l=o.apply(i,u);
vendor: 4,720 bytes, line 2
2if(Object(a.j)(l))return void k(l,r);if(Object(a.e)(l))return void Y(e,l,c.context,M,Object(s.T)(o),!1,r);r(l)}catch(p){r(p,!0)}},x[s.C]=function(e,t,r){var n=t.context,i=t.fn,o=t.args;try{var s=function(e,t){Object(a.n)(e)?r(t):r(e,!0)};i.apply(n,o.concat(s)),s.cancel&&(r.cancel=s.cancel)}catch(u){r(u,!0)}},x[s.g]=function(e,t,r,n){var i=t.context,o=t.fn,u=t.args,c=t.detached,l=n.task,p=function(e){var t=e.context,r=e.fn,n=e.args;try{var i=r.apply(t,n);if(Object(a.e)(i))return i;var o=!1;return Object(s.ab)((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!Object(a.j)(i)})}))}catch(u){return Object(s.ab)((function(){throw u}))}}({context:i,fn:o,args:u}),f=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Object(s.T)(t)}(p,o);m((function(){var t=Y(e,p,l.context,M,f,c,void 0);c?r(t):t.isRunning()?(l.queue.addTask(t),r(t)):t.isAborted()?l.queue.abort(t.error()):r(t)}))},x[s.k]=function(e,t,r,n){var i=n.task,o=function(e,t){if(e.isRunning()){var r={task:i,cb:t};t.cancel=function(){e.isRunning()&&Object(s.bb)(e.joiners,r)},e.joiners.push(r)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(Object(a.a)(t)){if(0===t.length)return void r([]);var u=Object(s.V)(t,r);t.forEach((function(e,t){o(e,u[t])}))}else o(t,r)},x[s.L]=function(e,t,r,i){var o=i.task;t===n.h?j(o):Object(a.a)(t)?t.forEach(j):j(t),r()},x[s.t]=function(e,t,r){var n=t.selector,i=t.args;try{r(n.apply(void 0,[e.getState()].concat(i)))}catch(o){r(o,!0)}},x[s.N]=function(e,t,r){var n=t.pattern,i=w(t.buffer),o=C(n),a=function t(r){I(r)||e.channel.take(t,o),i.put(r)},s=i.close;i.close=function(){a.cancel(),s()},e.channel.take(a,o),r(i)},x[s.P]=function(e,t,r,n){r(n.task.isCancelled())},x[s.Q]=function(e,t,r){t.flush(r)},x[s.h]=function(e,t,r,n){r(n.task.context[t])},x[s.R]=function(e,t,r,n){var i=n.task;Object(s.Z)(i.context,t),r()},x);function U(e,t){return e+"?"+t}function B(e){var t=e.name,r=e.location;return r?t+"  "+U(r.fileName,r.lineNumber):t}function F(e){var t=Object(s.eb)((function(e){return e.cancelledTasks}),e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var V=null,z=[],H=function(){V=null,z.length=0},G=function(){var e=z[0],t=z.slice(1),r=e.crashedEffect?function(e){var t=Object(s.fb)(e);return t?t.code+"  "+U(t.fileName,t.lineNumber):""}(e.crashedEffect):null;return["The above error occurred in task "+B(e.meta)+(r?" \n when executing effect "+r:"")].concat(t.map((function(e){return"    created by "+B(e.meta)})),[F(z)]).join("\n")};function q(e,t,r,i,o,a,u){var c;void 0===u&&(u=s.db);var l,f,d=0,h=null,v=[],m=Object.create(r),y=function(e,t,r){var n,i=[],o=!1;function a(e){t(),c(),r(e,!0)}function u(t){i.push(t),t.cont=function(u,c){o||(Object(s.bb)(i,t),t.cont=s.db,c?a(u):(t===e&&(n=u),i.length||(o=!0,r(n))))}}function c(){o||(o=!0,i.forEach((function(e){e.cont=s.db,e.cancel()})),i=[])}return u(e),{addTask:u,cancelAll:c,abort:a,getTasks:function(){return i}}}(t,(function(){v.push.apply(v,y.getTasks().map((function(e){return e.meta.name})))}),T);function T(t,r){if(r){if(d=2,(a={meta:o,cancelledTasks:v}).crashedEffect=V,z.push(a),b.isRoot){var i=G();H(),e.onError(t,{sagaStack:i})}f=t,h&&h.reject(t)}else t===n.j?d=1:1!==d&&(d=3),l=t,h&&h.resolve(t);var a;b.cont(t,r),b.joiners.forEach((function(e){e.cb(t,r)})),b.joiners=null}var b=((c={})[n.i]=!0,c.id=i,c.meta=o,c.isRoot=a,c.context=m,c.joiners=[],c.queue=y,c.cancel=function(){0===d&&(d=1,y.cancelAll(),T(n.j,!1))},c.cont=u,c.end=T,c.setContext=function(e){Object(s.Z)(m,e)},c.toPromise=function(){return h||(h=p(),2===d?h.reject(f):0!==d&&h.resolve(l)),h.promise},c.isRunning=function(){return 0===d},c.isCancelled=function(){return 1===d||0===d&&1===t.status},c.isAborted=function(){return 2===d},c.result=function(){return l},c.error=function(){return f},c);return b}function Y(e,t,r,i,o,u,c){var l=e.finalizeRunEffect((function(t,r,i){if(Object(a.j)(t))k(t,i);else if(Object(a.e)(t))Y(e,t,f.context,r,o,!1,i);else if(t&&t[n.c]){(0,D[t.type])(e,t.payload,i,d)}else i(t)}));h.cancel=s.db;var p={meta:o,cancel:function(){0===p.status&&(p.status=1,h(n.j))},status:0},f=q(e,p,r,i,o,u,c),d={task:f,digestEffect:v};return c&&(c.cancel=f.cancel),h(),f;function h(e,r){try{var o;r?(o=t.throw(e),H()):Object(s.gb)(e)?(p.status=1,h.cancel(),o=Object(a.d)(t.return)?t.return(n.j):{done:!0,value:n.j}):o=Object(s.hb)(e)?Object(a.d)(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==p.status&&(p.status=3),p.cont(o.value)):v(o.value,i,h)}catch(u){if(1===p.status)throw u;p.status=2,p.cont(u,!0)}}function v(t,r,n,i){void 0===i&&(i="");var o,a=L();function u(r,i){o||(o=!0,n.cancel=s.db,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,r):e.sagaMonitor.effectResolved(a,r)),i&&function(e){V=e}(t),n(r,i))}
2e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:r,label:i,effect:t}),u.cancel=s.db,n.cancel=function(){o||(o=!0,u.cancel(),u.cancel=s.db,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},l(t,a,u)}}function W(e,t){var r=e.channel,n=void 0===r?R():r,i=e.dispatch,o=e.getState,a=e.context,u=void 0===a?{}:a,l=e.sagaMonitor,p=e.effectMiddlewares,f=e.onError,d=void 0===f?s.c:f;for(var h=arguments.length,v=new Array(h>2?h-2:0),y=2;y<h;y++)v[y-2]=arguments[y];var T=t.apply(void 0,v);var b,g=L();if(l&&(l.rootSagaStarted=l.rootSagaStarted||s.db,l.effectTriggered=l.effectTriggered||s.db,l.effectResolved=l.effectResolved||s.db,l.effectRejected=l.effectRejected||s.db,l.effectCancelled=l.effectCancelled||s.db,l.actionDispatched=l.actionDispatched||s.db,l.rootSagaStarted({effectId:g,saga:t,args:v})),p){var _=c.apply(void 0,p);b=function(e){return function(t,r,n){return _((function(t){return e(t,r,n)}))(t)}}}else b=s.f;var S={channel:n,dispatch:Object(s.e)(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:b};return m((function(){var e=Y(S,T,u,g,Object(s.T)(t),!0,void 0);return l&&l.effectResolved(g,e),e}))}var K=function(e){var t,r=void 0===e?{}:e,n=r.context,a=void 0===n?{}:n,u=r.channel,c=void 0===u?R():u,l=r.sagaMonitor,p=Object(o.a)(r,["context","channel","sagaMonitor"]);function f(e){var r=e.getState,n=e.dispatch;return t=W.bind(null,Object(i.a)({},p,{context:a,channel:c,dispatch:n,getState:r,sagaMonitor:l})),function(e){return function(t){l&&l.actionDispatched&&l.actionDispatched(t);var r=e(t);return c.put(t),r}}}return f.run=function(){return t.apply(void 0,arguments)},f.setContext=function(e){Object(s.Z)(a,e)},f};r.d(t,"CANCEL",(function(){return n.a})),r.d(t,"SAGA_LOCATION",(function(){return n.g})),r.d(t,"buffers",(function(){return s.i})),r.d(t,"detach",(function(){return s.j})),r.d(t,"END",(function(){return O})),r.d(t,"channel",(function(){return w})),r.d(t,"eventChannel",(function(){return P})),r.d(t,"isEnd",(function(){return I})),r.d(t,"multicastChannel",(function(){return N})),r.d(t,"runSaga",(function(){return W})),r.d(t,"stdChannel",(function(){return R}));t.default=K},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(1),i=r(2),o=r(52),a=r(42),s=r(6),u=r(7),c=function(e){Object(s.a)(r,e);var t=Object(u.a)(r);function r(e,i){var o;return Object(n.a)(this,r),(o=t.call(this,i)).privTargetChunkSize=e,o.privNextBufferReadyBytes=0,o}return Object(i.a)(r,[{key:"writeStreamChunk",value:function(e){if(e.isEnd||0===this.privNextBufferReadyBytes&&e.buffer.byteLength===this.privTargetChunkSize)Object(o.a)(Object(a.a)(r.prototype),"writeStreamChunk",this).call(this,e);else for(var t=0;t<e.buffer.byteLength;){void 0===this.privNextBufferToWrite&&(this.privNextBufferToWrite=new ArrayBuffer(this.privTargetChunkSize),this.privNextBufferStartTime=e.timeReceived);var n=Math.min(e.buffer.byteLength-t,this.privTargetChunkSize-this.privNextBufferReadyBytes),i=new Uint8Array(this.privNextBufferToWrite),s=new Uint8Array(e.buffer.slice(t,n+t));i.set(s,this.privNextBufferReadyBytes),this.privNextBufferReadyBytes+=n,t+=n,this.privNextBufferReadyBytes===this.privTargetChunkSize&&(Object(o.a)(Object(a.a)(r.prototype),"writeStreamChunk",this).call(this,{buffer:this.privNextBufferToWrite,isEnd:!1,timeReceived:this.privNextBufferStartTime}),this.privNextBufferReadyBytes=0,this.privNextBufferToWrite=void 0)}}},{key:"close",value:function(){0===this.privNextBufferReadyBytes||this.isClosed||Object(o.a)(Object(a.a)(r.prototype),"writeStreamChunk",this).call(this,{buffer:this.privNextBufferToWrite.slice(0,this.privNextBufferReadyBytes),isEnd:!1,timeReceived:this.privNextBufferStartTime}),Object(o.a)(Object(a.a)(r.prototype),"close",this).call(this)}}]),r}(r(884).a)},function(e,t,r){"use strict";r.d(t,"h",(function(){return u})),r.d(t,"g",(function(){return l})),r.d(t,"d",(function(){return p})),r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"f",(function(){return m}));var n=r(1),i=r(2),o=r(6),a=r(7),s=r(24),u=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.a.Info;return Object(n.a)(this,r),(o=t.call(this,e,a)).privJsonResult=i,o}return Object(i.a)(r,[{key:"jsonString",get:function(){return this.privJsonResult}}]),r}(s.b),c=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.a.Info;return Object(n.a)(this,r),(o=t.call(this,e,a)).privConnectionId=i,o}
2return Object(i.a)(r,[{key:"connectionId",get:function(){return this.privConnectionId}}]),r}(s.b),l=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"ConnectionStartEvent",e)).privUri=i,a.privHeaders=o,a}return Object(i.a)(r,[{key:"uri",get:function(){return this.privUri}},{key:"headers",get:function(){return this.privHeaders}}]),r}(c),p=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i){return Object(n.a)(this,r),t.call(this,"ConnectionEstablishedEvent",e)}return r}(c),f=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"ConnectionClosedEvent",e,s.a.Debug)).privReason=o,a.privStatusCode=i,a}return Object(i.a)(r,[{key:"reason",get:function(){return this.privReason}},{key:"statusCode",get:function(){return this.privStatusCode}}]),r}(c),d=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"ConnectionErrorEvent",e,s.a.Debug)).privMessage=i,a.privType=o,a}return Object(i.a)(r,[{key:"message",get:function(){return this.privMessage}},{key:"type",get:function(){return this.privType}}]),r}(c),h=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"ConnectionEstablishErrorEvent",e,s.a.Error)).privStatusCode=i,a.privReason=o,a}return Object(i.a)(r,[{key:"reason",get:function(){return this.privReason}},{key:"statusCode",get:function(){return this.privStatusCode}}]),r}(c),v=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"ConnectionMessageReceivedEvent",e)).privNetworkReceivedTime=i,a.privMessage=o,a}return Object(i.a)(r,[{key:"networkReceivedTime",get:function(){return this.privNetworkReceivedTime}},{key:"message",get:function(){return this.privMessage}}]),r}(c),m=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e,i,o){var a;return Object(n.a)(this,r),(a=t.call(this,"ConnectionMessageSentEvent",e)).privNetworkSentTime=i,a.privMessage=o,a}return Object(i.a)(r,[{key:"networkSentTime",get:function(){return this.privNetworkSentTime}},{key:"message",get:function(){return this.privMessage}}]),r}(c)},,function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),i=r(2),o=r(6),a=r(7),s=r(24),u=function(e){Object(o.a)(r,e);var t=Object(a.a)(r);function r(e){var i;return Object(n.a)(this,r),(i=t.call(this,"BackgroundEvent",s.a.Error)).privError=e,i}return Object(i.a)(r,[{key:"error",get:function(){return this.privError}}]),r}(s.b)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(32),i=r(1),o=r(2),a=function(){function e(t,r){var n=this;Object(i.a)(this,e),this.privBuffers=[],this.privReplayOffset=0,this.privLastShrinkOffset=0,this.privBufferStartOffset=0,this.privBufferSerial=0,this.privBufferedBytes=0,this.privReplay=!1,this.privLastChunkAcquiredTime=0,this.id=function(){return n.privAudioNode.id()},this.privAudioNode=t,this.privBytesPerSecond=r}return Object(o.a)(e,[{key:"read",value:function(){var e=this;if(this.privReplay&&0!==this.privBuffers.length){var t=this.privReplayOffset-this.privBufferStartOffset,r=Math.round(t*this.privBytesPerSecond*1e-7);0!==r%2&&r++;for(var n=0;n<this.privBuffers.length&&r>=this.privBuffers[n].chunk.buffer.byteLength;)r-=this.privBuffers[n++].chunk.buffer.byteLength;if(n<this.privBuffers.length){var i=this.privBuffers[n].chunk.buffer.slice(r);return this.privReplayOffset+=i.byteLength/this.privBytesPerSecond*1e7,n===this.privBuffers.length-1&&(this.privReplay=!1),Promise.resolve({buffer:i,isEnd:!1,timeReceived:this.privBuffers[n].chunk.timeReceived})}}return this.privAudioNode.read().then((function(t){return t&&t.buffer&&(e.privBuffers.push(new s(t,e.privBufferSerial++,e.privBufferedBytes)),e.privBufferedBytes+=t.buffer.byteLength),t}))}},{key:"detach",value:function(){return this.privBuffers=void 0,this.privAudioNode.detach()}},{key:"replay",value:function(){this.privBuffers&&0!==this.privBuffers.length&&(this.privReplay=!0,this.privReplayOffset=this.privLastShrinkOffset)}},{key:"shrinkBuffers",value:function(e){if(void 0!==this.privBuffers&&0!==this.privBuffers.length){this.privLastShrinkOffset=e;for(var t=e-this.privBufferStartOffset,r=Math.round(t*this.privBytesPerSecond*1e-7),n=0;n<this.privBuffers.length&&r>=this.privBuffers[n].chunk.buffer.byteLength;)r-=this.privBuffers[n++].chunk.buffer.byteLength;this.privBufferStartOffset=Math.round(e-r/this.privBytesPerSecond*1e7),this.privBuffers=this.privBuffers.slice(n)}}},{key:"findTimeAtOffset",value:function(e){if(e<this.privBufferStartOffset||void 0===this.privBuffers)return 0;var t,r=Object(n.a)(this.privBuffers);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=i.byteOffset/this.privBytesPerSecond*1e7,a=o+i.chunk.buffer.byteLength/this.privBytesPerSecond*1e7;if(e>=o&&e<=a)return i.chunk.timeReceived}}catch(s){r.e(s)}finally{r.f()}return 0}}]),e}(),s=function e(t,r,n){Object(i.a)(this,e),this.chunk=t,this.serial=r,this.byteOffset=n}}]);
3//# sourceMappingURL=bundle.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.