mqtt 2.18.5 → 2.18.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CONTRIBUTING.md +27 -27
  2. package/LICENSE.md +15 -15
  3. package/README.md +612 -612
  4. package/bin/pub.js +146 -146
  5. package/bin/sub.js +123 -123
  6. package/dist/mqtt.js +14275 -10729
  7. package/dist/mqtt.min.js +1 -1
  8. package/doc/help.txt +8 -8
  9. package/doc/publish.txt +26 -26
  10. package/doc/subscribe.txt +26 -26
  11. package/examples/client/secure-client.js +24 -24
  12. package/examples/client/simple-both.js +13 -13
  13. package/examples/client/simple-publish.js +7 -7
  14. package/examples/client/simple-subscribe.js +9 -9
  15. package/examples/tls client/crt.ca.cg.pem +34 -34
  16. package/examples/tls client/mqttclient.js +48 -48
  17. package/examples/tls client/tls-cert.pem +13 -13
  18. package/examples/tls client/tls-key.pem +15 -15
  19. package/examples/wss/client.js +49 -49
  20. package/examples/wss/client_with_proxy.js +58 -58
  21. package/lib/client.js +1129 -1102
  22. package/lib/connect/index.js +149 -149
  23. package/lib/connect/tcp.js +19 -19
  24. package/lib/connect/tls.js +41 -41
  25. package/lib/connect/ws.js +92 -92
  26. package/lib/connect/wx.js +110 -110
  27. package/lib/store.js +140 -140
  28. package/lib/validations.js +52 -52
  29. package/mqtt.js +41 -41
  30. package/package.json +107 -111
  31. package/test/abstract_client.js +2667 -2533
  32. package/test/abstract_store.js +135 -133
  33. package/test/browser/server.js +132 -132
  34. package/test/browser/test.js +92 -92
  35. package/test/browser/wx.js +93 -93
  36. package/test/client.js +544 -544
  37. package/test/helpers/private-csr.pem +16 -16
  38. package/test/helpers/private-key.pem +27 -27
  39. package/test/helpers/public-cert.pem +19 -19
  40. package/test/helpers/public-key.pem +9 -9
  41. package/test/helpers/server.js +52 -52
  42. package/test/helpers/server_process.js +9 -9
  43. package/test/helpers/tls-cert.pem +14 -14
  44. package/test/helpers/tls-csr.pem +11 -11
  45. package/test/helpers/tls-key.pem +15 -15
  46. package/test/helpers/wrong-cert.pem +13 -13
  47. package/test/helpers/wrong-csr.pem +11 -11
  48. package/test/helpers/wrong-key.pem +15 -15
  49. package/test/mocha.opts +4 -4
  50. package/test/mqtt.js +230 -230
  51. package/test/mqtt_store.js +9 -9
  52. package/test/secure_client.js +157 -157
  53. package/test/server.js +65 -65
  54. package/test/store.js +10 -10
  55. package/test/typescript/broker-connect-subscribe-and-publish.ts +22 -22
  56. package/test/typescript/tsconfig.json +14 -14
  57. package/test/util.js +13 -13
  58. package/test/websocket_client.js +144 -144
  59. package/types/index.d.ts +27 -27
  60. package/types/lib/client-options.d.ts +137 -137
  61. package/types/lib/client.d.ts +196 -196
  62. package/types/lib/connect/index.d.ts +10 -10
  63. package/types/lib/store-options.d.ts +6 -6
  64. package/types/lib/store.d.ts +46 -46
  65. package/test/typescript/broker-connect-subscribe-and-publish.js +0 -24
  66. package/test/typescript/broker-connect-subscribe-and-publish.js.map +0 -1
@@ -1,196 +1,196 @@
1
- /// <reference types="node" />
2
-
3
- import * as events from 'events'
4
- import {
5
- IClientOptions,
6
- IClientPublishOptions,
7
- IClientSubscribeOptions,
8
- IClientReconnectOptions
9
- } from './client-options'
10
- import { Store } from './store'
11
- import { Packet, QoS } from 'mqtt-packet'
12
-
13
- export interface ISubscriptionGrant {
14
- /**
15
- * is a subscribed to topic
16
- */
17
- topic: string
18
- /**
19
- * is the granted qos level on it, may return 128 on error
20
- */
21
- qos: QoS | number
22
- }
23
- export interface ISubscriptionRequest {
24
- /**
25
- * is a subscribed to topic
26
- */
27
- topic: string
28
- /**
29
- * is the granted qos level on it
30
- */
31
- qos: QoS
32
- }
33
- export interface ISubscriptionMap {
34
- /**
35
- * object which has topic names as object keys and as value the QoS, like {'test1': 0, 'test2': 1}.
36
- */
37
- [topic: string]: QoS
38
- }
39
-
40
- export declare type ClientSubscribeCallback = (err: Error, granted: ISubscriptionGrant[]) => void
41
- export declare type OnMessageCallback = (topic: string, payload: Buffer, packet: Packet) => void
42
- export declare type OnPacketCallback = (packet: Packet) => void
43
- export declare type OnErrorCallback = (error: Error) => void
44
- export declare type PacketCallback = (error?: Error, packet?: Packet) => any
45
- export declare type CloseCallback = () => void
46
-
47
- export interface IStream extends events.EventEmitter {
48
- pipe (to: any): any
49
- destroy (): any
50
- end (): any
51
- }
52
- /**
53
- * MqttClient constructor
54
- *
55
- * @param {Stream} stream - stream
56
- * @param {Object} [options] - connection options
57
- * (see Connection#connect)
58
- */
59
- export declare class MqttClient extends events.EventEmitter {
60
- public connected: boolean
61
- public disconnecting: boolean
62
- public disconnected: boolean
63
- public reconnecting: boolean
64
- public incomingStore: Store
65
- public outgoingStore: Store
66
- public options: IClientOptions
67
- public queueQoSZero: boolean
68
-
69
- constructor (streamBuilder: (client: MqttClient) => IStream, options: IClientOptions)
70
-
71
- public on (event: 'message', cb: OnMessageCallback): this
72
- public on (event: 'packetsend' | 'packetreceive', cb: OnPacketCallback): this
73
- public on (event: 'error', cb: OnErrorCallback): this
74
- public on (event: string, cb: Function): this
75
-
76
- public once (event: 'message', cb: OnMessageCallback): this
77
- public once (event:
78
- 'packetsend'
79
- | 'packetreceive', cb: OnPacketCallback): this
80
- public once (event: 'error', cb: OnErrorCallback): this
81
- public once (event: string, cb: Function): this
82
-
83
- /**
84
- * publish - publish <message> to <topic>
85
- *
86
- * @param {String} topic - topic to publish to
87
- * @param {(String|Buffer)} message - message to publish
88
- *
89
- * @param {Object} [opts] - publish options, includes:
90
- * @param {Number} [opts.qos] - qos level to publish on
91
- * @param {Boolean} [opts.retain] - whether or not to retain the message
92
- *
93
- * @param {Function} [callback] - function(err){}
94
- * called when publish succeeds or fails
95
- * @returns {Client} this - for chaining
96
- * @api public
97
- *
98
- * @example client.publish('topic', 'message')
99
- * @example
100
- * client.publish('topic', 'message', {qos: 1, retain: true})
101
- * @example client.publish('topic', 'message', console.log)
102
- */
103
- public publish (topic: string, message: string | Buffer,
104
- opts: IClientPublishOptions, callback?: PacketCallback): this
105
- public publish (topic: string, message: string | Buffer,
106
- callback?: PacketCallback): this
107
-
108
- /**
109
- * subscribe - subscribe to <topic>
110
- *
111
- * @param {String, Array, Object} topic - topic(s) to subscribe to, supports objects in the form {'topic': qos}
112
- * @param {Object} [opts] - optional subscription options, includes:
113
- * @param {Number} [opts.qos] - subscribe qos level
114
- * @param {Function} [callback] - function(err, granted){} where:
115
- * {Error} err - subscription error (none at the moment!)
116
- * {Array} granted - array of {topic: 't', qos: 0}
117
- * @returns {MqttClient} this - for chaining
118
- * @api public
119
- * @example client.subscribe('topic')
120
- * @example client.subscribe('topic', {qos: 1})
121
- * @example client.subscribe({'topic': 0, 'topic2': 1}, console.log)
122
- * @example client.subscribe('topic', console.log)
123
- */
124
- public subscribe (topic:
125
- string
126
- | string[], opts: IClientSubscribeOptions, callback?: ClientSubscribeCallback): this
127
- public subscribe (topic:
128
- string
129
- | string[]
130
- | ISubscriptionMap, callback?: ClientSubscribeCallback): this
131
-
132
- /**
133
- * unsubscribe - unsubscribe from topic(s)
134
- *
135
- * @param {String, Array} topic - topics to unsubscribe from
136
- * @param {Function} [callback] - callback fired on unsuback
137
- * @returns {MqttClient} this - for chaining
138
- * @api public
139
- * @example client.unsubscribe('topic')
140
- * @example client.unsubscribe('topic', console.log)
141
- */
142
- public unsubscribe (topic: string | string[], callback?: PacketCallback): this
143
-
144
- /**
145
- * end - close connection
146
- *
147
- * @returns {MqttClient} this - for chaining
148
- * @param {Boolean} force - do not wait for all in-flight messages to be acked
149
- * @param {Function} cb - called when the client has been closed
150
- *
151
- * @api public
152
- */
153
- public end (force?: boolean, cb?: CloseCallback): this
154
-
155
- /**
156
- * removeOutgoingMessage - remove a message in outgoing store
157
- * the outgoing callback will be called withe Error('Message removed') if the message is removed
158
- *
159
- * @param {Number} mid - messageId to remove message
160
- * @returns {MqttClient} this - for chaining
161
- * @api public
162
- *
163
- * @example client.removeOutgoingMessage(client.getLastMessageId());
164
- */
165
- public removeOutgoingMessage (mid: number): this
166
-
167
- /**
168
- * reconnect - connect again using the same options as connect()
169
- *
170
- * @param {Object} [opts] - optional reconnect options, includes:
171
- * {Store} incomingStore - a store for the incoming packets
172
- * {Store} outgoingStore - a store for the outgoing packets
173
- * if opts is not given, current stores are used
174
- *
175
- * @returns {MqttClient} this - for chaining
176
- *
177
- * @api public
178
- */
179
- public reconnect (opts?: IClientReconnectOptions): this
180
-
181
- /**
182
- * Handle messages with backpressure support, one at a time.
183
- * Override at will.
184
- *
185
- * @param packet packet the packet
186
- * @param callback callback call when finished
187
- * @api public
188
- */
189
- public handleMessage (packet: Packet, callback: PacketCallback): void
190
-
191
- /**
192
- * getLastMessageId
193
- */
194
- public getLastMessageId (): number
195
- }
196
- export { IClientOptions }
1
+ /// <reference types="node" />
2
+
3
+ import * as events from 'events'
4
+ import {
5
+ IClientOptions,
6
+ IClientPublishOptions,
7
+ IClientSubscribeOptions,
8
+ IClientReconnectOptions
9
+ } from './client-options'
10
+ import { Store } from './store'
11
+ import { Packet, QoS } from 'mqtt-packet'
12
+
13
+ export interface ISubscriptionGrant {
14
+ /**
15
+ * is a subscribed to topic
16
+ */
17
+ topic: string
18
+ /**
19
+ * is the granted qos level on it, may return 128 on error
20
+ */
21
+ qos: QoS | number
22
+ }
23
+ export interface ISubscriptionRequest {
24
+ /**
25
+ * is a subscribed to topic
26
+ */
27
+ topic: string
28
+ /**
29
+ * is the granted qos level on it
30
+ */
31
+ qos: QoS
32
+ }
33
+ export interface ISubscriptionMap {
34
+ /**
35
+ * object which has topic names as object keys and as value the QoS, like {'test1': 0, 'test2': 1}.
36
+ */
37
+ [topic: string]: QoS
38
+ }
39
+
40
+ export declare type ClientSubscribeCallback = (err: Error, granted: ISubscriptionGrant[]) => void
41
+ export declare type OnMessageCallback = (topic: string, payload: Buffer, packet: Packet) => void
42
+ export declare type OnPacketCallback = (packet: Packet) => void
43
+ export declare type OnErrorCallback = (error: Error) => void
44
+ export declare type PacketCallback = (error?: Error, packet?: Packet) => any
45
+ export declare type CloseCallback = () => void
46
+
47
+ export interface IStream extends events.EventEmitter {
48
+ pipe (to: any): any
49
+ destroy (): any
50
+ end (): any
51
+ }
52
+ /**
53
+ * MqttClient constructor
54
+ *
55
+ * @param {Stream} stream - stream
56
+ * @param {Object} [options] - connection options
57
+ * (see Connection#connect)
58
+ */
59
+ export declare class MqttClient extends events.EventEmitter {
60
+ public connected: boolean
61
+ public disconnecting: boolean
62
+ public disconnected: boolean
63
+ public reconnecting: boolean
64
+ public incomingStore: Store
65
+ public outgoingStore: Store
66
+ public options: IClientOptions
67
+ public queueQoSZero: boolean
68
+
69
+ constructor (streamBuilder: (client: MqttClient) => IStream, options: IClientOptions)
70
+
71
+ public on (event: 'message', cb: OnMessageCallback): this
72
+ public on (event: 'packetsend' | 'packetreceive', cb: OnPacketCallback): this
73
+ public on (event: 'error', cb: OnErrorCallback): this
74
+ public on (event: string, cb: Function): this
75
+
76
+ public once (event: 'message', cb: OnMessageCallback): this
77
+ public once (event:
78
+ 'packetsend'
79
+ | 'packetreceive', cb: OnPacketCallback): this
80
+ public once (event: 'error', cb: OnErrorCallback): this
81
+ public once (event: string, cb: Function): this
82
+
83
+ /**
84
+ * publish - publish <message> to <topic>
85
+ *
86
+ * @param {String} topic - topic to publish to
87
+ * @param {(String|Buffer)} message - message to publish
88
+ *
89
+ * @param {Object} [opts] - publish options, includes:
90
+ * @param {Number} [opts.qos] - qos level to publish on
91
+ * @param {Boolean} [opts.retain] - whether or not to retain the message
92
+ *
93
+ * @param {Function} [callback] - function(err){}
94
+ * called when publish succeeds or fails
95
+ * @returns {Client} this - for chaining
96
+ * @api public
97
+ *
98
+ * @example client.publish('topic', 'message')
99
+ * @example
100
+ * client.publish('topic', 'message', {qos: 1, retain: true})
101
+ * @example client.publish('topic', 'message', console.log)
102
+ */
103
+ public publish (topic: string, message: string | Buffer,
104
+ opts: IClientPublishOptions, callback?: PacketCallback): this
105
+ public publish (topic: string, message: string | Buffer,
106
+ callback?: PacketCallback): this
107
+
108
+ /**
109
+ * subscribe - subscribe to <topic>
110
+ *
111
+ * @param {String, Array, Object} topic - topic(s) to subscribe to, supports objects in the form {'topic': qos}
112
+ * @param {Object} [opts] - optional subscription options, includes:
113
+ * @param {Number} [opts.qos] - subscribe qos level
114
+ * @param {Function} [callback] - function(err, granted){} where:
115
+ * {Error} err - subscription error (none at the moment!)
116
+ * {Array} granted - array of {topic: 't', qos: 0}
117
+ * @returns {MqttClient} this - for chaining
118
+ * @api public
119
+ * @example client.subscribe('topic')
120
+ * @example client.subscribe('topic', {qos: 1})
121
+ * @example client.subscribe({'topic': 0, 'topic2': 1}, console.log)
122
+ * @example client.subscribe('topic', console.log)
123
+ */
124
+ public subscribe (topic:
125
+ string
126
+ | string[], opts: IClientSubscribeOptions, callback?: ClientSubscribeCallback): this
127
+ public subscribe (topic:
128
+ string
129
+ | string[]
130
+ | ISubscriptionMap, callback?: ClientSubscribeCallback): this
131
+
132
+ /**
133
+ * unsubscribe - unsubscribe from topic(s)
134
+ *
135
+ * @param {String, Array} topic - topics to unsubscribe from
136
+ * @param {Function} [callback] - callback fired on unsuback
137
+ * @returns {MqttClient} this - for chaining
138
+ * @api public
139
+ * @example client.unsubscribe('topic')
140
+ * @example client.unsubscribe('topic', console.log)
141
+ */
142
+ public unsubscribe (topic: string | string[], callback?: PacketCallback): this
143
+
144
+ /**
145
+ * end - close connection
146
+ *
147
+ * @returns {MqttClient} this - for chaining
148
+ * @param {Boolean} force - do not wait for all in-flight messages to be acked
149
+ * @param {Function} cb - called when the client has been closed
150
+ *
151
+ * @api public
152
+ */
153
+ public end (force?: boolean, cb?: CloseCallback): this
154
+
155
+ /**
156
+ * removeOutgoingMessage - remove a message in outgoing store
157
+ * the outgoing callback will be called withe Error('Message removed') if the message is removed
158
+ *
159
+ * @param {Number} mid - messageId to remove message
160
+ * @returns {MqttClient} this - for chaining
161
+ * @api public
162
+ *
163
+ * @example client.removeOutgoingMessage(client.getLastMessageId());
164
+ */
165
+ public removeOutgoingMessage (mid: number): this
166
+
167
+ /**
168
+ * reconnect - connect again using the same options as connect()
169
+ *
170
+ * @param {Object} [opts] - optional reconnect options, includes:
171
+ * {Store} incomingStore - a store for the incoming packets
172
+ * {Store} outgoingStore - a store for the outgoing packets
173
+ * if opts is not given, current stores are used
174
+ *
175
+ * @returns {MqttClient} this - for chaining
176
+ *
177
+ * @api public
178
+ */
179
+ public reconnect (opts?: IClientReconnectOptions): this
180
+
181
+ /**
182
+ * Handle messages with backpressure support, one at a time.
183
+ * Override at will.
184
+ *
185
+ * @param packet packet the packet
186
+ * @param callback callback call when finished
187
+ * @api public
188
+ */
189
+ public handleMessage (packet: Packet, callback: PacketCallback): void
190
+
191
+ /**
192
+ * getLastMessageId
193
+ */
194
+ public getLastMessageId (): number
195
+ }
196
+ export { IClientOptions }
@@ -1,10 +1,10 @@
1
- import { IClientOptions, MqttClient } from '../client'
2
- /**
3
- * connect - connect to an MQTT broker.
4
- *
5
- * @param {String} [brokerUrl] - url of the broker, optional
6
- * @param {Object} opts - see MqttClient#constructor
7
- */
8
- declare function connect (brokerUrl?: string | any, opts?: IClientOptions): MqttClient
9
- export { connect }
10
- export { MqttClient }
1
+ import { IClientOptions, MqttClient } from '../client'
2
+ /**
3
+ * connect - connect to an MQTT broker.
4
+ *
5
+ * @param {String} [brokerUrl] - url of the broker, optional
6
+ * @param {Object} opts - see MqttClient#constructor
7
+ */
8
+ declare function connect (brokerUrl?: string | any, opts?: IClientOptions): MqttClient
9
+ export { connect }
10
+ export { MqttClient }
@@ -1,6 +1,6 @@
1
- export interface IStoreOptions {
2
- /**
3
- * true, clear _inflights at close
4
- */
5
- clean?: boolean
6
- }
1
+ export interface IStoreOptions {
2
+ /**
3
+ * true, clear _inflights at close
4
+ */
5
+ clean?: boolean
6
+ }
@@ -1,46 +1,46 @@
1
- import {
2
- IStoreOptions
3
- } from './store-options'
4
-
5
- /**
6
- * In-memory implementation of the message store
7
- * This can actually be saved into files.
8
- *
9
- */
10
- declare class Store {
11
- /**
12
- * Store constructor
13
- *
14
- * @param {Object} [options] - store options
15
- */
16
- constructor (options: IStoreOptions)
17
-
18
- /**
19
- * Adds a packet to the store, a packet is
20
- * anything that has a messageId property.
21
- *
22
- */
23
- public put (packet: any, cb?: Function): this
24
-
25
- /**
26
- * Creates a stream with all the packets in the store
27
- *
28
- */
29
- public createStream (): any
30
-
31
- /**
32
- * deletes a packet from the store.
33
- */
34
- public del (packet: any, cb: Function): this
35
-
36
- /**
37
- * get a packet from the store.
38
- */
39
- public get (packet: any, cb: Function): this
40
-
41
- /**
42
- * Close the store
43
- */
44
- public close (cb: Function): void
45
- }
46
- export { Store }
1
+ import {
2
+ IStoreOptions
3
+ } from './store-options'
4
+
5
+ /**
6
+ * In-memory implementation of the message store
7
+ * This can actually be saved into files.
8
+ *
9
+ */
10
+ declare class Store {
11
+ /**
12
+ * Store constructor
13
+ *
14
+ * @param {Object} [options] - store options
15
+ */
16
+ constructor (options: IStoreOptions)
17
+
18
+ /**
19
+ * Adds a packet to the store, a packet is
20
+ * anything that has a messageId property.
21
+ *
22
+ */
23
+ public put (packet: any, cb?: Function): this
24
+
25
+ /**
26
+ * Creates a stream with all the packets in the store
27
+ *
28
+ */
29
+ public createStream (): any
30
+
31
+ /**
32
+ * deletes a packet from the store.
33
+ */
34
+ public del (packet: any, cb: Function): this
35
+
36
+ /**
37
+ * get a packet from the store.
38
+ */
39
+ public get (packet: any, cb: Function): this
40
+
41
+ /**
42
+ * Close the store
43
+ */
44
+ public close (cb: Function): void
45
+ }
46
+ export { Store }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // relative path uses package.json {"types":"types/index.d.ts", ...}
4
- var __1 = require("../..");
5
- var BROKER = 'test.mosquitto.org';
6
- var PAYLOAD = 'hello from TS';
7
- var TOPIC = 'typescript-test-' + Math.random().toString(16).substr(2);
8
- var opts = {};
9
- console.log("connect(" + JSON.stringify(BROKER) + ")");
10
- var client = __1.connect("mqtt://" + BROKER, opts);
11
- client.subscribe((_a = {}, _a[TOPIC] = 2, _a), function (err, granted) {
12
- granted.forEach(function (_a) {
13
- var topic = _a.topic, qos = _a.qos;
14
- console.log("subscribed to " + topic + " with qos=" + qos);
15
- });
16
- client.publish(TOPIC, PAYLOAD, { qos: 2 });
17
- }).on('message', function (topic, payload) {
18
- console.log("message from " + topic + ": " + payload);
19
- client.end();
20
- }).on('connect', function (packet) {
21
- console.log('connected!', JSON.stringify(packet));
22
- });
23
- var _a;
24
- //# sourceMappingURL=broker-connect-subscribe-and-publish.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"broker-connect-subscribe-and-publish.js","sourceRoot":"","sources":["broker-connect-subscribe-and-publish.ts"],"names":[],"mappings":";;AAAA,oEAAoE;AACpE,2BAAqE;AACrE,IAAM,MAAM,GAAG,oBAAoB,CAAA;AAEnC,IAAM,OAAO,GAAG,eAAe,CAAA;AAC/B,IAAM,KAAK,GAAG,kBAAkB,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;AACvE,IAAM,IAAI,GAAmB,EAAE,CAAA;AAE/B,OAAO,CAAC,GAAG,CAAC,aAAW,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAG,CAAC,CAAA;AACjD,IAAM,MAAM,GAAU,WAAO,CAAC,YAAU,MAAQ,EAAE,IAAI,CAAC,CAAA;AAEvD,MAAM,CAAC,SAAS,WAAE,GAAC,KAAK,IAAG,CAAC,OAAG,UAAC,GAAG,EAAE,OAAO;IACxC,OAAO,CAAC,OAAO,CAAC,UAAC,EAAY;YAAX,gBAAK,EAAE,YAAG;QACxB,OAAO,CAAC,GAAG,CAAC,mBAAiB,KAAK,kBAAa,GAAK,CAAC,CAAA;IACzD,CAAC,CAAC,CAAA;IACF,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,EAAC,GAAG,EAAE,CAAC,EAAC,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,UAAC,KAAa,EAAE,OAAe;IAC5C,OAAO,CAAC,GAAG,CAAC,kBAAgB,KAAK,UAAK,OAAS,CAAC,CAAA;IAChD,MAAM,CAAC,GAAG,EAAE,CAAA;AAChB,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,UAAC,MAAsB;IACpC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;AACrD,CAAC,CAAC,CAAA"}