c2ea266c9311757f5b28a733970c7f018e64c50fa3ea0c63cb69f64189ab1d1f.json 2.9 KB

1
  1. {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SendingAgentContextMessageEvent = exports.DialogEvent = void 0;\nconst PlatformEvent_js_1 = require(\"./PlatformEvent.js\");\nclass DialogEvent extends PlatformEvent_js_1.PlatformEvent {\n constructor(eventName, eventType = PlatformEvent_js_1.EventType.Info) {\n super(eventName, eventType);\n }\n}\nexports.DialogEvent = DialogEvent;\nclass SendingAgentContextMessageEvent extends DialogEvent {\n constructor(agentConfig) {\n super(\"SendingAgentContextMessageEvent\");\n this.privAgentConfig = agentConfig;\n }\n get agentConfig() {\n return this.privAgentConfig;\n }\n}\nexports.SendingAgentContextMessageEvent = SendingAgentContextMessageEvent;","map":{"version":3,"names":["Object","defineProperty","exports","value","SendingAgentContextMessageEvent","DialogEvent","PlatformEvent_js_1","require","PlatformEvent","constructor","eventName","eventType","EventType","Info","agentConfig","privAgentConfig"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/DialogEvents.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SendingAgentContextMessageEvent = exports.DialogEvent = void 0;\nconst PlatformEvent_js_1 = require(\"./PlatformEvent.js\");\nclass DialogEvent extends PlatformEvent_js_1.PlatformEvent {\n constructor(eventName, eventType = PlatformEvent_js_1.EventType.Info) {\n super(eventName, eventType);\n }\n}\nexports.DialogEvent = DialogEvent;\nclass SendingAgentContextMessageEvent extends DialogEvent {\n constructor(agentConfig) {\n super(\"SendingAgentContextMessageEvent\");\n this.privAgentConfig = agentConfig;\n }\n get agentConfig() {\n return this.privAgentConfig;\n }\n}\nexports.SendingAgentContextMessageEvent = SendingAgentContextMessageEvent;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,+BAA+B,GAAGF,OAAO,CAACG,WAAW,GAAG,KAAK,CAAC;AACtE,MAAMC,kBAAkB,GAAGC,OAAO,CAAC,oBAAoB,CAAC;AACxD,MAAMF,WAAW,SAASC,kBAAkB,CAACE,aAAa,CAAC;EACvDC,WAAWA,CAACC,SAAS,EAAEC,SAAS,GAAGL,kBAAkB,CAACM,SAAS,CAACC,IAAI,EAAE;IAClE,KAAK,CAACH,SAAS,EAAEC,SAAS,CAAC;EAC/B;AACJ;AACAT,OAAO,CAACG,WAAW,GAAGA,WAAW;AACjC,MAAMD,+BAA+B,SAASC,WAAW,CAAC;EACtDI,WAAWA,CAACK,WAAW,EAAE;IACrB,KAAK,CAAC,iCAAiC,CAAC;IACxC,IAAI,CAACC,eAAe,GAAGD,WAAW;EACtC;EACA,IAAIA,WAAWA,CAAA,EAAG;IACd,OAAO,IAAI,CAACC,eAAe;EAC/B;AACJ;AACAb,OAAO,CAACE,+BAA+B,GAAGA,+BAA+B","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}