recker 1.0.2-0 → 1.0.3

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 (287) hide show
  1. package/LICENSE +0 -2
  2. package/README.md +121 -72
  3. package/dist/cache/memory-storage.d.ts.map +1 -1
  4. package/dist/cache/memory-storage.js +7 -1
  5. package/dist/constants/http-status.d.ts +74 -0
  6. package/dist/constants/http-status.d.ts.map +1 -0
  7. package/dist/constants/http-status.js +156 -0
  8. package/dist/constants.d.ts.map +1 -1
  9. package/dist/constants.js +6 -6
  10. package/dist/cookies/memory-cookie-jar.d.ts +31 -0
  11. package/dist/cookies/memory-cookie-jar.d.ts.map +1 -0
  12. package/dist/cookies/memory-cookie-jar.js +210 -0
  13. package/dist/core/client.d.ts +9 -0
  14. package/dist/core/client.d.ts.map +1 -1
  15. package/dist/core/client.js +252 -53
  16. package/dist/core/errors.d.ts +18 -2
  17. package/dist/core/errors.d.ts.map +1 -1
  18. package/dist/core/errors.js +66 -5
  19. package/dist/core/index.d.ts +6 -0
  20. package/dist/core/index.d.ts.map +1 -0
  21. package/dist/core/index.js +5 -0
  22. package/dist/core/request-promise.d.ts.map +1 -1
  23. package/dist/core/request-promise.js +8 -2
  24. package/dist/core/request.d.ts +7 -1
  25. package/dist/core/request.d.ts.map +1 -1
  26. package/dist/core/request.js +32 -0
  27. package/dist/core/response.d.ts +2 -0
  28. package/dist/core/response.d.ts.map +1 -1
  29. package/dist/core/response.js +44 -19
  30. package/dist/events/request-events.d.ts +48 -0
  31. package/dist/events/request-events.d.ts.map +1 -0
  32. package/dist/events/request-events.js +85 -0
  33. package/dist/index.d.ts +28 -2
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +28 -2
  36. package/dist/mcp/client.d.ts.map +1 -1
  37. package/dist/mcp/client.js +16 -5
  38. package/dist/mcp/contract.d.ts +77 -0
  39. package/dist/mcp/contract.d.ts.map +1 -0
  40. package/dist/mcp/contract.js +278 -0
  41. package/dist/mcp/types.d.ts +1 -0
  42. package/dist/mcp/types.d.ts.map +1 -1
  43. package/dist/plugins/auth.d.ts +45 -0
  44. package/dist/plugins/auth.d.ts.map +1 -0
  45. package/dist/plugins/auth.js +268 -0
  46. package/dist/plugins/cache.d.ts +7 -1
  47. package/dist/plugins/cache.d.ts.map +1 -1
  48. package/dist/plugins/cache.js +470 -49
  49. package/dist/plugins/circuit-breaker.js +1 -1
  50. package/dist/plugins/compression.d.ts.map +1 -1
  51. package/dist/plugins/compression.js +3 -3
  52. package/dist/plugins/dedup.d.ts.map +1 -1
  53. package/dist/plugins/dedup.js +2 -1
  54. package/dist/plugins/graphql.d.ts +4 -3
  55. package/dist/plugins/graphql.d.ts.map +1 -1
  56. package/dist/plugins/graphql.js +24 -5
  57. package/dist/plugins/grpc-web.d.ts +80 -0
  58. package/dist/plugins/grpc-web.d.ts.map +1 -0
  59. package/dist/plugins/grpc-web.js +261 -0
  60. package/dist/plugins/har-player.d.ts.map +1 -1
  61. package/dist/plugins/har-player.js +11 -2
  62. package/dist/plugins/hls.d.ts +33 -0
  63. package/dist/plugins/hls.d.ts.map +1 -0
  64. package/dist/plugins/hls.js +225 -0
  65. package/dist/plugins/http2-push.d.ts +64 -0
  66. package/dist/plugins/http2-push.d.ts.map +1 -0
  67. package/dist/plugins/http2-push.js +274 -0
  68. package/dist/plugins/http3.d.ts +76 -0
  69. package/dist/plugins/http3.d.ts.map +1 -0
  70. package/dist/plugins/http3.js +231 -0
  71. package/dist/plugins/interface-rotator.d.ts +10 -0
  72. package/dist/plugins/interface-rotator.d.ts.map +1 -0
  73. package/dist/plugins/interface-rotator.js +57 -0
  74. package/dist/plugins/jsonrpc.d.ts +76 -0
  75. package/dist/plugins/jsonrpc.d.ts.map +1 -0
  76. package/dist/plugins/jsonrpc.js +143 -0
  77. package/dist/plugins/logger.d.ts +8 -5
  78. package/dist/plugins/logger.d.ts.map +1 -1
  79. package/dist/plugins/logger.js +66 -30
  80. package/dist/plugins/odata.d.ts +182 -0
  81. package/dist/plugins/odata.d.ts.map +1 -0
  82. package/dist/plugins/odata.js +561 -0
  83. package/dist/plugins/retry.d.ts +1 -0
  84. package/dist/plugins/retry.d.ts.map +1 -1
  85. package/dist/plugins/retry.js +26 -2
  86. package/dist/plugins/scrape.d.ts +22 -0
  87. package/dist/plugins/scrape.d.ts.map +1 -0
  88. package/dist/plugins/scrape.js +87 -0
  89. package/dist/plugins/soap.d.ts +73 -0
  90. package/dist/plugins/soap.d.ts.map +1 -0
  91. package/dist/plugins/soap.js +347 -0
  92. package/dist/plugins/user-agent.d.ts +8 -0
  93. package/dist/plugins/user-agent.d.ts.map +1 -0
  94. package/dist/plugins/user-agent.js +46 -0
  95. package/dist/plugins/xml.d.ts +10 -0
  96. package/dist/plugins/xml.d.ts.map +1 -0
  97. package/dist/plugins/xml.js +194 -0
  98. package/dist/presets/anthropic.d.ts +7 -0
  99. package/dist/presets/anthropic.d.ts.map +1 -0
  100. package/dist/presets/anthropic.js +17 -0
  101. package/dist/presets/azure-openai.d.ts +9 -0
  102. package/dist/presets/azure-openai.d.ts.map +1 -0
  103. package/dist/presets/azure-openai.js +25 -0
  104. package/dist/presets/cloudflare.d.ts +13 -0
  105. package/dist/presets/cloudflare.d.ts.map +1 -0
  106. package/dist/presets/cloudflare.js +39 -0
  107. package/dist/presets/cohere.d.ts +6 -0
  108. package/dist/presets/cohere.d.ts.map +1 -0
  109. package/dist/presets/cohere.js +16 -0
  110. package/dist/presets/deepseek.d.ts +6 -0
  111. package/dist/presets/deepseek.d.ts.map +1 -0
  112. package/dist/presets/deepseek.js +16 -0
  113. package/dist/presets/digitalocean.d.ts +6 -0
  114. package/dist/presets/digitalocean.d.ts.map +1 -0
  115. package/dist/presets/digitalocean.js +16 -0
  116. package/dist/presets/discord.d.ts +7 -0
  117. package/dist/presets/discord.d.ts.map +1 -0
  118. package/dist/presets/discord.js +17 -0
  119. package/dist/presets/fireworks.d.ts +6 -0
  120. package/dist/presets/fireworks.d.ts.map +1 -0
  121. package/dist/presets/fireworks.js +16 -0
  122. package/dist/presets/gemini.d.ts +6 -0
  123. package/dist/presets/gemini.d.ts.map +1 -0
  124. package/dist/presets/gemini.js +16 -0
  125. package/dist/presets/github.d.ts +7 -0
  126. package/dist/presets/github.d.ts.map +1 -0
  127. package/dist/presets/github.js +17 -0
  128. package/dist/presets/gitlab.d.ts +7 -0
  129. package/dist/presets/gitlab.d.ts.map +1 -0
  130. package/dist/presets/gitlab.js +16 -0
  131. package/dist/presets/groq.d.ts +6 -0
  132. package/dist/presets/groq.d.ts.map +1 -0
  133. package/dist/presets/groq.js +16 -0
  134. package/dist/presets/huggingface.d.ts +6 -0
  135. package/dist/presets/huggingface.d.ts.map +1 -0
  136. package/dist/presets/huggingface.js +16 -0
  137. package/dist/presets/index.d.ts +28 -0
  138. package/dist/presets/index.d.ts.map +1 -0
  139. package/dist/presets/index.js +27 -0
  140. package/dist/presets/linear.d.ts +6 -0
  141. package/dist/presets/linear.d.ts.map +1 -0
  142. package/dist/presets/linear.js +16 -0
  143. package/dist/presets/mistral.d.ts +6 -0
  144. package/dist/presets/mistral.d.ts.map +1 -0
  145. package/dist/presets/mistral.js +16 -0
  146. package/dist/presets/notion.d.ts +7 -0
  147. package/dist/presets/notion.d.ts.map +1 -0
  148. package/dist/presets/notion.js +17 -0
  149. package/dist/presets/openai.d.ts +8 -0
  150. package/dist/presets/openai.d.ts.map +1 -0
  151. package/dist/presets/openai.js +23 -0
  152. package/dist/presets/perplexity.d.ts +6 -0
  153. package/dist/presets/perplexity.d.ts.map +1 -0
  154. package/dist/presets/perplexity.js +16 -0
  155. package/dist/presets/registry.d.ts +20 -0
  156. package/dist/presets/registry.d.ts.map +1 -0
  157. package/dist/presets/registry.js +311 -0
  158. package/dist/presets/replicate.d.ts +6 -0
  159. package/dist/presets/replicate.d.ts.map +1 -0
  160. package/dist/presets/replicate.js +16 -0
  161. package/dist/presets/slack.d.ts +6 -0
  162. package/dist/presets/slack.d.ts.map +1 -0
  163. package/dist/presets/slack.js +16 -0
  164. package/dist/presets/stripe.d.ts +8 -0
  165. package/dist/presets/stripe.d.ts.map +1 -0
  166. package/dist/presets/stripe.js +23 -0
  167. package/dist/presets/supabase.d.ts +7 -0
  168. package/dist/presets/supabase.d.ts.map +1 -0
  169. package/dist/presets/supabase.js +18 -0
  170. package/dist/presets/together.d.ts +6 -0
  171. package/dist/presets/together.d.ts.map +1 -0
  172. package/dist/presets/together.js +16 -0
  173. package/dist/presets/twilio.d.ts +7 -0
  174. package/dist/presets/twilio.d.ts.map +1 -0
  175. package/dist/presets/twilio.js +17 -0
  176. package/dist/presets/vercel.d.ts +7 -0
  177. package/dist/presets/vercel.d.ts.map +1 -0
  178. package/dist/presets/vercel.js +23 -0
  179. package/dist/presets/xai.d.ts +7 -0
  180. package/dist/presets/xai.d.ts.map +1 -0
  181. package/dist/presets/xai.js +17 -0
  182. package/dist/protocols/ftp.d.ts +63 -0
  183. package/dist/protocols/ftp.d.ts.map +1 -0
  184. package/dist/protocols/ftp.js +388 -0
  185. package/dist/protocols/index.d.ts +4 -0
  186. package/dist/protocols/index.d.ts.map +1 -0
  187. package/dist/protocols/index.js +3 -0
  188. package/dist/protocols/sftp.d.ts +65 -0
  189. package/dist/protocols/sftp.d.ts.map +1 -0
  190. package/dist/protocols/sftp.js +346 -0
  191. package/dist/protocols/telnet.d.ts +50 -0
  192. package/dist/protocols/telnet.d.ts.map +1 -0
  193. package/dist/protocols/telnet.js +139 -0
  194. package/dist/runner/request-runner.d.ts.map +1 -1
  195. package/dist/runner/request-runner.js +1 -0
  196. package/dist/scrape/document.d.ts +44 -0
  197. package/dist/scrape/document.d.ts.map +1 -0
  198. package/dist/scrape/document.js +198 -0
  199. package/dist/scrape/element.d.ts +50 -0
  200. package/dist/scrape/element.d.ts.map +1 -0
  201. package/dist/scrape/element.js +176 -0
  202. package/dist/scrape/extractors.d.ts +17 -0
  203. package/dist/scrape/extractors.d.ts.map +1 -0
  204. package/dist/scrape/extractors.js +356 -0
  205. package/dist/scrape/index.d.ts +5 -0
  206. package/dist/scrape/index.d.ts.map +1 -0
  207. package/dist/scrape/index.js +3 -0
  208. package/dist/scrape/types.d.ts +108 -0
  209. package/dist/scrape/types.d.ts.map +1 -0
  210. package/dist/scrape/types.js +1 -0
  211. package/dist/testing/index.d.ts +3 -0
  212. package/dist/testing/index.d.ts.map +1 -0
  213. package/dist/testing/index.js +1 -0
  214. package/dist/testing/mock.d.ts +58 -0
  215. package/dist/testing/mock.d.ts.map +1 -0
  216. package/dist/testing/mock.js +252 -0
  217. package/dist/transport/fetch.d.ts.map +1 -1
  218. package/dist/transport/fetch.js +12 -4
  219. package/dist/transport/undici.d.ts +17 -1
  220. package/dist/transport/undici.d.ts.map +1 -1
  221. package/dist/transport/undici.js +708 -47
  222. package/dist/types/index.d.ts +111 -10
  223. package/dist/types/index.d.ts.map +1 -1
  224. package/dist/types/index.js +1 -1
  225. package/dist/types/logger.d.ts +17 -0
  226. package/dist/types/logger.d.ts.map +1 -0
  227. package/dist/types/logger.js +66 -0
  228. package/dist/utils/agent-manager.d.ts.map +1 -1
  229. package/dist/utils/agent-manager.js +20 -4
  230. package/dist/utils/body.d.ts.map +1 -1
  231. package/dist/utils/body.js +14 -2
  232. package/dist/utils/charset.d.ts +16 -0
  233. package/dist/utils/charset.d.ts.map +1 -0
  234. package/dist/utils/charset.js +169 -0
  235. package/dist/utils/client-pool.d.ts +21 -0
  236. package/dist/utils/client-pool.d.ts.map +1 -0
  237. package/dist/utils/client-pool.js +49 -0
  238. package/dist/utils/concurrency.d.ts.map +1 -1
  239. package/dist/utils/concurrency.js +8 -4
  240. package/dist/utils/dns-toolkit.d.ts +13 -0
  241. package/dist/utils/dns-toolkit.d.ts.map +1 -0
  242. package/dist/utils/dns-toolkit.js +48 -0
  243. package/dist/utils/doh.d.ts.map +1 -1
  244. package/dist/utils/doh.js +16 -3
  245. package/dist/utils/download.d.ts +15 -0
  246. package/dist/utils/download.d.ts.map +1 -0
  247. package/dist/utils/download.js +44 -0
  248. package/dist/utils/env-proxy.d.ts +13 -0
  249. package/dist/utils/env-proxy.d.ts.map +1 -0
  250. package/dist/utils/env-proxy.js +105 -0
  251. package/dist/utils/header-parser.d.ts +15 -1
  252. package/dist/utils/header-parser.d.ts.map +1 -1
  253. package/dist/utils/header-parser.js +161 -1
  254. package/dist/utils/link-header.d.ts +70 -0
  255. package/dist/utils/link-header.d.ts.map +1 -0
  256. package/dist/utils/link-header.js +190 -0
  257. package/dist/utils/progress.d.ts +7 -2
  258. package/dist/utils/progress.d.ts.map +1 -1
  259. package/dist/utils/progress.js +48 -15
  260. package/dist/utils/rdap.d.ts +17 -0
  261. package/dist/utils/rdap.d.ts.map +1 -0
  262. package/dist/utils/rdap.js +32 -0
  263. package/dist/utils/request-pool.d.ts.map +1 -1
  264. package/dist/utils/request-pool.js +4 -3
  265. package/dist/utils/sse.d.ts.map +1 -1
  266. package/dist/utils/sse.js +8 -2
  267. package/dist/utils/status-codes.d.ts +84 -0
  268. package/dist/utils/status-codes.d.ts.map +1 -0
  269. package/dist/utils/status-codes.js +204 -0
  270. package/dist/utils/streaming.d.ts.map +1 -1
  271. package/dist/utils/streaming.js +1 -0
  272. package/dist/utils/tls-inspector.d.ts +21 -0
  273. package/dist/utils/tls-inspector.d.ts.map +1 -0
  274. package/dist/utils/tls-inspector.js +39 -0
  275. package/dist/utils/try-fn.d.ts.map +1 -1
  276. package/dist/utils/try-fn.js +11 -5
  277. package/dist/utils/upload.d.ts +1 -0
  278. package/dist/utils/upload.d.ts.map +1 -1
  279. package/dist/utils/upload.js +20 -3
  280. package/dist/utils/user-agent.d.ts +9 -9
  281. package/dist/utils/user-agent.js +9 -9
  282. package/dist/utils/whois.d.ts.map +1 -1
  283. package/dist/utils/whois.js +11 -2
  284. package/dist/websocket/client.d.ts +29 -1
  285. package/dist/websocket/client.d.ts.map +1 -1
  286. package/dist/websocket/client.js +145 -13
  287. package/package.json +45 -8
@@ -0,0 +1,194 @@
1
+ export function parseXML(xml) {
2
+ const cleanXml = xml
3
+ .replace(/<\?xml[^?]*\?>/gi, '')
4
+ .replace(/<!--[\s\S]*?-->/g, '')
5
+ .trim();
6
+ return parseElement(cleanXml);
7
+ }
8
+ function parseElement(xml) {
9
+ const rootMatch = xml.match(/^<(\w+)([^>]*)>([\s\S]*)<\/\1>$/);
10
+ if (!rootMatch) {
11
+ const selfClosingMatch = xml.match(/^<(\w+)([^/>]*)\/>$/);
12
+ if (selfClosingMatch) {
13
+ const [, tagName, attrs] = selfClosingMatch;
14
+ const attributes = parseAttributes(attrs);
15
+ return Object.keys(attributes).length > 0 ? { [tagName]: attributes } : { [tagName]: null };
16
+ }
17
+ return decodeXMLEntities(xml.trim());
18
+ }
19
+ const [, tagName, attrs, content] = rootMatch;
20
+ const attributes = parseAttributes(attrs);
21
+ const children = parseChildren(content);
22
+ const result = {};
23
+ if (Object.keys(attributes).length > 0) {
24
+ result['@attributes'] = attributes;
25
+ }
26
+ if (typeof children === 'string') {
27
+ if (Object.keys(attributes).length > 0) {
28
+ result['#text'] = children;
29
+ return { [tagName]: result };
30
+ }
31
+ return { [tagName]: children };
32
+ }
33
+ if (Array.isArray(children)) {
34
+ for (const child of children) {
35
+ for (const [key, value] of Object.entries(child)) {
36
+ if (result[key] !== undefined) {
37
+ if (!Array.isArray(result[key])) {
38
+ result[key] = [result[key]];
39
+ }
40
+ result[key].push(value);
41
+ }
42
+ else {
43
+ result[key] = value;
44
+ }
45
+ }
46
+ }
47
+ }
48
+ return { [tagName]: Object.keys(result).length > 0 ? result : null };
49
+ }
50
+ function parseAttributes(attrs) {
51
+ const result = {};
52
+ const attrRegex = /(\w+)=["']([^"']*)["']/g;
53
+ let match;
54
+ while ((match = attrRegex.exec(attrs)) !== null) {
55
+ result[match[1]] = decodeXMLEntities(match[2]);
56
+ }
57
+ return result;
58
+ }
59
+ function parseChildren(content) {
60
+ const trimmed = content.trim();
61
+ if (!trimmed)
62
+ return '';
63
+ if (!trimmed.startsWith('<')) {
64
+ return decodeXMLEntities(trimmed);
65
+ }
66
+ const children = [];
67
+ let remaining = trimmed;
68
+ while (remaining.length > 0) {
69
+ remaining = remaining.trim();
70
+ if (!remaining)
71
+ break;
72
+ const tagMatch = remaining.match(/^<(\w+)([^>]*)>/);
73
+ if (!tagMatch) {
74
+ const textEnd = remaining.indexOf('<');
75
+ if (textEnd > 0) {
76
+ const text = remaining.substring(0, textEnd).trim();
77
+ if (text) {
78
+ children.push({ '#text': decodeXMLEntities(text) });
79
+ }
80
+ remaining = remaining.substring(textEnd);
81
+ continue;
82
+ }
83
+ break;
84
+ }
85
+ const [fullMatch, tagName, attrs] = tagMatch;
86
+ if (attrs.endsWith('/') || remaining.substring(fullMatch.length - 1, fullMatch.length + 1) === '/>') {
87
+ const selfMatch = remaining.match(/^<(\w+)([^/>]*)\/?>/);
88
+ if (selfMatch) {
89
+ const selfAttrs = parseAttributes(selfMatch[2]);
90
+ children.push({ [tagName]: Object.keys(selfAttrs).length > 0 ? { '@attributes': selfAttrs } : null });
91
+ remaining = remaining.substring(selfMatch[0].length);
92
+ continue;
93
+ }
94
+ }
95
+ const closingTag = `</${tagName}>`;
96
+ let depth = 1;
97
+ let pos = fullMatch.length;
98
+ while (depth > 0 && pos < remaining.length) {
99
+ const nextOpen = remaining.indexOf(`<${tagName}`, pos);
100
+ const nextClose = remaining.indexOf(closingTag, pos);
101
+ if (nextClose === -1)
102
+ break;
103
+ if (nextOpen !== -1 && nextOpen < nextClose) {
104
+ const afterOpen = remaining.substring(nextOpen);
105
+ const selfCloseMatch = afterOpen.match(/^<\w+[^>]*\/>/);
106
+ if (!selfCloseMatch) {
107
+ depth++;
108
+ }
109
+ pos = nextOpen + 1;
110
+ }
111
+ else {
112
+ depth--;
113
+ if (depth === 0) {
114
+ const elementXml = remaining.substring(0, nextClose + closingTag.length);
115
+ children.push(parseElement(elementXml));
116
+ remaining = remaining.substring(nextClose + closingTag.length);
117
+ }
118
+ else {
119
+ pos = nextClose + 1;
120
+ }
121
+ }
122
+ }
123
+ if (depth > 0) {
124
+ break;
125
+ }
126
+ }
127
+ return children;
128
+ }
129
+ function decodeXMLEntities(str) {
130
+ return str
131
+ .replace(/&lt;/g, '<')
132
+ .replace(/&gt;/g, '>')
133
+ .replace(/&amp;/g, '&')
134
+ .replace(/&quot;/g, '"')
135
+ .replace(/&apos;/g, "'")
136
+ .replace(/&#(\d+);/g, (_, code) => String.fromCharCode(parseInt(code, 10)))
137
+ .replace(/&#x([0-9a-fA-F]+);/g, (_, code) => String.fromCharCode(parseInt(code, 16)));
138
+ }
139
+ export function serializeXML(obj, rootName) {
140
+ if (obj === null || obj === undefined) {
141
+ return rootName ? `<${rootName}/>` : '';
142
+ }
143
+ if (typeof obj !== 'object') {
144
+ return rootName ? `<${rootName}>${encodeXMLEntities(String(obj))}</${rootName}>` : encodeXMLEntities(String(obj));
145
+ }
146
+ const keys = Object.keys(obj);
147
+ if (keys.length === 1 && !rootName) {
148
+ const key = keys[0];
149
+ return serializeXML(obj[key], key);
150
+ }
151
+ let xml = '';
152
+ let attributes = '';
153
+ let textContent = '';
154
+ for (const key of keys) {
155
+ const value = obj[key];
156
+ if (key === '@attributes') {
157
+ for (const [attrName, attrValue] of Object.entries(value)) {
158
+ attributes += ` ${attrName}="${encodeXMLEntities(String(attrValue))}"`;
159
+ }
160
+ }
161
+ else if (key === '#text') {
162
+ textContent = encodeXMLEntities(String(value));
163
+ }
164
+ else if (Array.isArray(value)) {
165
+ for (const item of value) {
166
+ xml += serializeXML(item, key);
167
+ }
168
+ }
169
+ else {
170
+ xml += serializeXML(value, key);
171
+ }
172
+ }
173
+ if (rootName) {
174
+ if (xml || textContent) {
175
+ return `<${rootName}${attributes}>${textContent}${xml}</${rootName}>`;
176
+ }
177
+ return `<${rootName}${attributes}/>`;
178
+ }
179
+ return xml;
180
+ }
181
+ function encodeXMLEntities(str) {
182
+ return str
183
+ .replace(/&/g, '&amp;')
184
+ .replace(/</g, '&lt;')
185
+ .replace(/>/g, '&gt;')
186
+ .replace(/"/g, '&quot;')
187
+ .replace(/'/g, '&apos;');
188
+ }
189
+ export async function xmlResponse(promise, parser = parseXML) {
190
+ const response = await promise;
191
+ const text = await response.text();
192
+ return parser(text);
193
+ }
194
+ export { parseXML as parse, serializeXML as serialize };
@@ -0,0 +1,7 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface AnthropicPresetOptions {
3
+ apiKey: string;
4
+ version?: string;
5
+ }
6
+ export declare function anthropic(options: AnthropicPresetOptions): ClientOptions;
7
+ //# sourceMappingURL=anthropic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anthropic.d.ts","sourceRoot":"","sources":["../../src/presets/anthropic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,sBAAsB,GAAG,aAAa,CAiBxE"}
@@ -0,0 +1,17 @@
1
+ export function anthropic(options) {
2
+ return {
3
+ baseUrl: 'https://api.anthropic.com/v1',
4
+ headers: {
5
+ 'x-api-key': options.apiKey,
6
+ 'anthropic-version': options.version || '2023-06-01',
7
+ 'content-type': 'application/json'
8
+ },
9
+ timeout: 10 * 60 * 1000,
10
+ retry: {
11
+ maxAttempts: 5,
12
+ backoff: 'exponential',
13
+ delay: 1000,
14
+ statusCodes: [408, 429, 500, 502, 503, 504]
15
+ }
16
+ };
17
+ }
@@ -0,0 +1,9 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface AzureOpenAIPresetOptions {
3
+ resourceName: string;
4
+ apiKey: string;
5
+ apiVersion?: string;
6
+ deploymentName?: string;
7
+ }
8
+ export declare function azureOpenai(options: AzureOpenAIPresetOptions): ClientOptions;
9
+ //# sourceMappingURL=azure-openai.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azure-openai.d.ts","sourceRoot":"","sources":["../../src/presets/azure-openai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,wBAAwB;IAKvC,YAAY,EAAE,MAAM,CAAC;IAIrB,MAAM,EAAE,MAAM,CAAC;IAIf,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAMD,wBAAgB,WAAW,CAAC,OAAO,EAAE,wBAAwB,GAAG,aAAa,CAyB5E"}
@@ -0,0 +1,25 @@
1
+ export function azureOpenai(options) {
2
+ const apiVersion = options.apiVersion || '2024-02-15-preview';
3
+ const baseUrl = options.deploymentName
4
+ ? `https://${options.resourceName}.openai.azure.com/openai/deployments/${options.deploymentName}`
5
+ : `https://${options.resourceName}.openai.azure.com/openai`;
6
+ return {
7
+ baseUrl,
8
+ headers: {
9
+ 'api-key': options.apiKey,
10
+ 'Content-Type': 'application/json',
11
+ },
12
+ defaults: {
13
+ params: {
14
+ 'api-version': apiVersion,
15
+ }
16
+ },
17
+ timeout: 10 * 60 * 1000,
18
+ retry: {
19
+ maxAttempts: 5,
20
+ backoff: 'exponential',
21
+ delay: 1000,
22
+ statusCodes: [408, 429, 500, 502, 503, 504]
23
+ }
24
+ };
25
+ }
@@ -0,0 +1,13 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface CloudflarePresetOptions {
3
+ apiToken?: string;
4
+ apiKey?: string;
5
+ email?: string;
6
+ }
7
+ export declare function cloudflare(options: CloudflarePresetOptions): ClientOptions;
8
+ export interface CloudflareWorkersAIPresetOptions {
9
+ accountId: string;
10
+ apiToken: string;
11
+ }
12
+ export declare function cloudflareWorkersAI(options: CloudflareWorkersAIPresetOptions): ClientOptions;
13
+ //# sourceMappingURL=cloudflare.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudflare.d.ts","sourceRoot":"","sources":["../../src/presets/cloudflare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,uBAAuB;IAKtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,UAAU,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa,CAuB1E;AAED,MAAM,WAAW,gCAAgC;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,gCAAgC,GAAG,aAAa,CAe5F"}
@@ -0,0 +1,39 @@
1
+ export function cloudflare(options) {
2
+ const headers = {
3
+ 'Content-Type': 'application/json',
4
+ };
5
+ if (options.apiToken) {
6
+ headers['Authorization'] = `Bearer ${options.apiToken}`;
7
+ }
8
+ else if (options.apiKey && options.email) {
9
+ headers['X-Auth-Key'] = options.apiKey;
10
+ headers['X-Auth-Email'] = options.email;
11
+ }
12
+ return {
13
+ baseUrl: 'https://api.cloudflare.com/client/v4',
14
+ headers,
15
+ timeout: 30 * 1000,
16
+ retry: {
17
+ maxAttempts: 3,
18
+ backoff: 'exponential',
19
+ delay: 1000,
20
+ statusCodes: [408, 429, 500, 502, 503, 504]
21
+ }
22
+ };
23
+ }
24
+ export function cloudflareWorkersAI(options) {
25
+ return {
26
+ baseUrl: `https://api.cloudflare.com/client/v4/accounts/${options.accountId}/ai`,
27
+ headers: {
28
+ 'Authorization': `Bearer ${options.apiToken}`,
29
+ 'Content-Type': 'application/json',
30
+ },
31
+ timeout: 5 * 60 * 1000,
32
+ retry: {
33
+ maxAttempts: 3,
34
+ backoff: 'exponential',
35
+ delay: 1000,
36
+ statusCodes: [408, 429, 500, 502, 503, 504]
37
+ }
38
+ };
39
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface CoherePresetOptions {
3
+ apiKey: string;
4
+ }
5
+ export declare function cohere(options: CoherePresetOptions): ClientOptions;
6
+ //# sourceMappingURL=cohere.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohere.d.ts","sourceRoot":"","sources":["../../src/presets/cohere.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,aAAa,CAelE"}
@@ -0,0 +1,16 @@
1
+ export function cohere(options) {
2
+ return {
3
+ baseUrl: 'https://api.cohere.ai/v1',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.apiKey}`,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 5 * 60 * 1000,
9
+ retry: {
10
+ maxAttempts: 5,
11
+ backoff: 'exponential',
12
+ delay: 1000,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface DeepSeekPresetOptions {
3
+ apiKey: string;
4
+ }
5
+ export declare function deepseek(options: DeepSeekPresetOptions): ClientOptions;
6
+ //# sourceMappingURL=deepseek.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepseek.d.ts","sourceRoot":"","sources":["../../src/presets/deepseek.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,QAAQ,CAAC,OAAO,EAAE,qBAAqB,GAAG,aAAa,CAetE"}
@@ -0,0 +1,16 @@
1
+ export function deepseek(options) {
2
+ return {
3
+ baseUrl: 'https://api.deepseek.com/v1',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.apiKey}`,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 10 * 60 * 1000,
9
+ retry: {
10
+ maxAttempts: 5,
11
+ backoff: 'exponential',
12
+ delay: 1000,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface DigitalOceanPresetOptions {
3
+ token: string;
4
+ }
5
+ export declare function digitalocean(options: DigitalOceanPresetOptions): ClientOptions;
6
+ //# sourceMappingURL=digitalocean.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"digitalocean.d.ts","sourceRoot":"","sources":["../../src/presets/digitalocean.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,yBAAyB;IAIxC,KAAK,EAAE,MAAM,CAAC;CACf;AAMD,wBAAgB,YAAY,CAAC,OAAO,EAAE,yBAAyB,GAAG,aAAa,CAe9E"}
@@ -0,0 +1,16 @@
1
+ export function digitalocean(options) {
2
+ return {
3
+ baseUrl: 'https://api.digitalocean.com/v2',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.token}`,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 30 * 1000,
9
+ retry: {
10
+ maxAttempts: 3,
11
+ backoff: 'exponential',
12
+ delay: 1000,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,7 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface DiscordPresetOptions {
3
+ token: string;
4
+ tokenType?: 'Bot' | 'Bearer';
5
+ }
6
+ export declare function discord(options: DiscordPresetOptions): ClientOptions;
7
+ //# sourceMappingURL=discord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discord.d.ts","sourceRoot":"","sources":["../../src/presets/discord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,oBAAoB;IAInC,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC9B;AAMD,wBAAgB,OAAO,CAAC,OAAO,EAAE,oBAAoB,GAAG,aAAa,CAkBpE"}
@@ -0,0 +1,17 @@
1
+ export function discord(options) {
2
+ const tokenType = options.tokenType || 'Bot';
3
+ return {
4
+ baseUrl: 'https://discord.com/api/v10',
5
+ headers: {
6
+ 'Authorization': `${tokenType} ${options.token}`,
7
+ 'Content-Type': 'application/json',
8
+ },
9
+ timeout: 30 * 1000,
10
+ retry: {
11
+ maxAttempts: 5,
12
+ backoff: 'exponential',
13
+ delay: 1000,
14
+ statusCodes: [408, 429, 500, 502, 503, 504]
15
+ }
16
+ };
17
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface FireworksPresetOptions {
3
+ apiKey: string;
4
+ }
5
+ export declare function fireworks(options: FireworksPresetOptions): ClientOptions;
6
+ //# sourceMappingURL=fireworks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fireworks.d.ts","sourceRoot":"","sources":["../../src/presets/fireworks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,SAAS,CAAC,OAAO,EAAE,sBAAsB,GAAG,aAAa,CAexE"}
@@ -0,0 +1,16 @@
1
+ export function fireworks(options) {
2
+ return {
3
+ baseUrl: 'https://api.fireworks.ai/inference/v1',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.apiKey}`,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 5 * 60 * 1000,
9
+ retry: {
10
+ maxAttempts: 3,
11
+ backoff: 'exponential',
12
+ delay: 500,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface GeminiPresetOptions {
3
+ apiKey: string;
4
+ }
5
+ export declare function gemini(options: GeminiPresetOptions): ClientOptions;
6
+ //# sourceMappingURL=gemini.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gemini.d.ts","sourceRoot":"","sources":["../../src/presets/gemini.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,aAAa,CAelE"}
@@ -0,0 +1,16 @@
1
+ export function gemini(options) {
2
+ return {
3
+ baseUrl: 'https://generativelanguage.googleapis.com/v1beta',
4
+ headers: {
5
+ 'Content-Type': 'application/json',
6
+ 'x-goog-api-key': options.apiKey,
7
+ },
8
+ timeout: 10 * 60 * 1000,
9
+ retry: {
10
+ maxAttempts: 5,
11
+ backoff: 'exponential',
12
+ delay: 1000,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,7 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface GitHubPresetOptions {
3
+ token: string;
4
+ apiVersion?: string;
5
+ }
6
+ export declare function github(options: GitHubPresetOptions): ClientOptions;
7
+ //# sourceMappingURL=github.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../src/presets/github.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAIlC,KAAK,EAAE,MAAM,CAAC;IAId,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAMD,wBAAgB,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,aAAa,CAiBlE"}
@@ -0,0 +1,17 @@
1
+ export function github(options) {
2
+ return {
3
+ baseUrl: 'https://api.github.com',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.token}`,
6
+ 'Accept': 'application/vnd.github+json',
7
+ 'X-GitHub-Api-Version': options.apiVersion || '2022-11-28',
8
+ },
9
+ timeout: 30 * 1000,
10
+ retry: {
11
+ maxAttempts: 3,
12
+ backoff: 'exponential',
13
+ delay: 1000,
14
+ statusCodes: [408, 429, 500, 502, 503, 504]
15
+ }
16
+ };
17
+ }
@@ -0,0 +1,7 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface GitLabPresetOptions {
3
+ token: string;
4
+ baseUrl?: string;
5
+ }
6
+ export declare function gitlab(options: GitLabPresetOptions): ClientOptions;
7
+ //# sourceMappingURL=gitlab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gitlab.d.ts","sourceRoot":"","sources":["../../src/presets/gitlab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAIlC,KAAK,EAAE,MAAM,CAAC;IAId,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAMD,wBAAgB,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,aAAa,CAelE"}
@@ -0,0 +1,16 @@
1
+ export function gitlab(options) {
2
+ return {
3
+ baseUrl: `${options.baseUrl || 'https://gitlab.com'}/api/v4`,
4
+ headers: {
5
+ 'PRIVATE-TOKEN': options.token,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 30 * 1000,
9
+ retry: {
10
+ maxAttempts: 3,
11
+ backoff: 'exponential',
12
+ delay: 1000,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface GroqPresetOptions {
3
+ apiKey: string;
4
+ }
5
+ export declare function groq(options: GroqPresetOptions): ClientOptions;
6
+ //# sourceMappingURL=groq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groq.d.ts","sourceRoot":"","sources":["../../src/presets/groq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,IAAI,CAAC,OAAO,EAAE,iBAAiB,GAAG,aAAa,CAgB9D"}
@@ -0,0 +1,16 @@
1
+ export function groq(options) {
2
+ return {
3
+ baseUrl: 'https://api.groq.com/openai/v1',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.apiKey}`,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 2 * 60 * 1000,
9
+ retry: {
10
+ maxAttempts: 3,
11
+ backoff: 'exponential',
12
+ delay: 500,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,6 @@
1
+ import { ClientOptions } from '../types/index.js';
2
+ export interface HuggingFacePresetOptions {
3
+ apiKey: string;
4
+ }
5
+ export declare function huggingface(options: HuggingFacePresetOptions): ClientOptions;
6
+ //# sourceMappingURL=huggingface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"huggingface.d.ts","sourceRoot":"","sources":["../../src/presets/huggingface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB;AAMD,wBAAgB,WAAW,CAAC,OAAO,EAAE,wBAAwB,GAAG,aAAa,CAiB5E"}
@@ -0,0 +1,16 @@
1
+ export function huggingface(options) {
2
+ return {
3
+ baseUrl: 'https://api-inference.huggingface.co',
4
+ headers: {
5
+ 'Authorization': `Bearer ${options.apiKey}`,
6
+ 'Content-Type': 'application/json',
7
+ },
8
+ timeout: 10 * 60 * 1000,
9
+ retry: {
10
+ maxAttempts: 5,
11
+ backoff: 'exponential',
12
+ delay: 1000,
13
+ statusCodes: [408, 429, 500, 502, 503, 504]
14
+ }
15
+ };
16
+ }
@@ -0,0 +1,28 @@
1
+ export * from './openai.js';
2
+ export * from './anthropic.js';
3
+ export * from './gemini.js';
4
+ export * from './cohere.js';
5
+ export * from './mistral.js';
6
+ export * from './groq.js';
7
+ export * from './together.js';
8
+ export * from './replicate.js';
9
+ export * from './huggingface.js';
10
+ export * from './perplexity.js';
11
+ export * from './deepseek.js';
12
+ export * from './fireworks.js';
13
+ export * from './xai.js';
14
+ export * from './azure-openai.js';
15
+ export * from './cloudflare.js';
16
+ export * from './github.js';
17
+ export * from './gitlab.js';
18
+ export * from './vercel.js';
19
+ export * from './supabase.js';
20
+ export * from './digitalocean.js';
21
+ export * from './stripe.js';
22
+ export * from './twilio.js';
23
+ export * from './linear.js';
24
+ export * from './notion.js';
25
+ export * from './slack.js';
26
+ export * from './discord.js';
27
+ export * from './registry.js';
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/presets/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAGlC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAGlC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAG7B,cAAc,eAAe,CAAC"}