@limetech/n8n-nodes-lime 0.3.2 → 0.3.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 (131) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/package.json +1 -1
  4. package/dist/credentials/LimeGoApi.credentials.d.ts +0 -15
  5. package/dist/credentials/LimeGoApi.credentials.js +0 -32
  6. package/dist/credentials/LimeGoApi.credentials.js.map +0 -1
  7. package/dist/nodes/LimeCrm/GenericTypes.d.ts +0 -80
  8. package/dist/nodes/LimeCrm/GenericTypes.js +0 -7
  9. package/dist/nodes/LimeCrm/GenericTypes.js.map +0 -1
  10. package/dist/nodes/LimeCrm/LimeCrmNode.node.d.ts +0 -17
  11. package/dist/nodes/LimeCrm/LimeCrmNode.node.js +0 -114
  12. package/dist/nodes/LimeCrm/LimeCrmNode.node.js.map +0 -1
  13. package/dist/nodes/LimeCrm/LimeCrmTrigger/LimeCrmTrigger.node.d.ts +0 -17
  14. package/dist/nodes/LimeCrm/LimeCrmTrigger/LimeCrmTrigger.node.js +0 -408
  15. package/dist/nodes/LimeCrm/LimeCrmTrigger/LimeCrmTrigger.node.js.map +0 -1
  16. package/dist/nodes/LimeCrm/LimeCrmTrigger.node.d.ts +0 -17
  17. package/dist/nodes/LimeCrm/LimeCrmTrigger.node.js +0 -439
  18. package/dist/nodes/LimeCrm/LimeCrmTrigger.node.js.map +0 -1
  19. package/dist/nodes/LimeCrm/lime-crm.svg +0 -1
  20. package/dist/nodes/LimeCrm/methods/getAllSortableFields.d.ts +0 -7
  21. package/dist/nodes/LimeCrm/methods/getAllSortableFields.js +0 -53
  22. package/dist/nodes/LimeCrm/methods/getAllSortableFields.js.map +0 -1
  23. package/dist/nodes/LimeCrm/methods/getLimeTypeProperties.d.ts +0 -3
  24. package/dist/nodes/LimeCrm/methods/getLimeTypeProperties.js +0 -40
  25. package/dist/nodes/LimeCrm/methods/getLimeTypeProperties.js.map +0 -1
  26. package/dist/nodes/LimeCrm/methods/getLimeTypeRelations.d.ts +0 -7
  27. package/dist/nodes/LimeCrm/methods/getLimeTypeRelations.js +0 -30
  28. package/dist/nodes/LimeCrm/methods/getLimeTypeRelations.js.map +0 -1
  29. package/dist/nodes/LimeCrm/methods/getLimeTypes.d.ts +0 -3
  30. package/dist/nodes/LimeCrm/methods/getLimeTypes.js +0 -33
  31. package/dist/nodes/LimeCrm/methods/getLimeTypes.js.map +0 -1
  32. package/dist/nodes/LimeCrm/methods/getRelatedTypeProperties.d.ts +0 -7
  33. package/dist/nodes/LimeCrm/methods/getRelatedTypeProperties.js +0 -39
  34. package/dist/nodes/LimeCrm/methods/getRelatedTypeProperties.js.map +0 -1
  35. package/dist/nodes/LimeCrm/methods/index.d.ts +0 -5
  36. package/dist/nodes/LimeCrm/methods/index.js +0 -14
  37. package/dist/nodes/LimeCrm/methods/index.js.map +0 -1
  38. package/dist/nodes/LimeCrm/resources/limeObject/commonFields.d.ts +0 -4
  39. package/dist/nodes/LimeCrm/resources/limeObject/commonFields.js +0 -165
  40. package/dist/nodes/LimeCrm/resources/limeObject/commonFields.js.map +0 -1
  41. package/dist/nodes/LimeCrm/resources/limeObject/index.d.ts +0 -6
  42. package/dist/nodes/LimeCrm/resources/limeObject/index.js +0 -79
  43. package/dist/nodes/LimeCrm/resources/limeObject/index.js.map +0 -1
  44. package/dist/nodes/LimeCrm/resources/limeObject/operations/common.operation.d.ts +0 -2
  45. package/dist/nodes/LimeCrm/resources/limeObject/operations/common.operation.js +0 -36
  46. package/dist/nodes/LimeCrm/resources/limeObject/operations/common.operation.js.map +0 -1
  47. package/dist/nodes/LimeCrm/resources/limeObject/operations/create.operation.d.ts +0 -9
  48. package/dist/nodes/LimeCrm/resources/limeObject/operations/create.operation.js +0 -234
  49. package/dist/nodes/LimeCrm/resources/limeObject/operations/create.operation.js.map +0 -1
  50. package/dist/nodes/LimeCrm/resources/limeObject/operations/delete.operation.d.ts +0 -9
  51. package/dist/nodes/LimeCrm/resources/limeObject/operations/delete.operation.js +0 -136
  52. package/dist/nodes/LimeCrm/resources/limeObject/operations/delete.operation.js.map +0 -1
  53. package/dist/nodes/LimeCrm/resources/limeObject/operations/get.operation.d.ts +0 -9
  54. package/dist/nodes/LimeCrm/resources/limeObject/operations/get.operation.js +0 -125
  55. package/dist/nodes/LimeCrm/resources/limeObject/operations/get.operation.js.map +0 -1
  56. package/dist/nodes/LimeCrm/resources/limeObject/operations/getAll.operation.d.ts +0 -3
  57. package/dist/nodes/LimeCrm/resources/limeObject/operations/getAll.operation.js +0 -212
  58. package/dist/nodes/LimeCrm/resources/limeObject/operations/getAll.operation.js.map +0 -1
  59. package/dist/nodes/LimeCrm/resources/limeObject/operations/search.operation.d.ts +0 -9
  60. package/dist/nodes/LimeCrm/resources/limeObject/operations/search.operation.js +0 -232
  61. package/dist/nodes/LimeCrm/resources/limeObject/operations/search.operation.js.map +0 -1
  62. package/dist/nodes/LimeCrm/resources/limeObject/operations/update.operation.d.ts +0 -9
  63. package/dist/nodes/LimeCrm/resources/limeObject/operations/update.operation.js +0 -186
  64. package/dist/nodes/LimeCrm/resources/limeObject/operations/update.operation.js.map +0 -1
  65. package/dist/nodes/LimeCrm/resources/limeType/index.d.ts +0 -6
  66. package/dist/nodes/LimeCrm/resources/limeType/index.js +0 -81
  67. package/dist/nodes/LimeCrm/resources/limeType/index.js.map +0 -1
  68. package/dist/nodes/LimeCrm/resources/limeType/operations/getProperties.operation.d.ts +0 -9
  69. package/dist/nodes/LimeCrm/resources/limeType/operations/getProperties.operation.js +0 -112
  70. package/dist/nodes/LimeCrm/resources/limeType/operations/getProperties.operation.js.map +0 -1
  71. package/dist/nodes/LimeCrm/resources/limeType/operations/getRelations.operation.d.ts +0 -9
  72. package/dist/nodes/LimeCrm/resources/limeType/operations/getRelations.operation.js +0 -112
  73. package/dist/nodes/LimeCrm/resources/limeType/operations/getRelations.operation.js.map +0 -1
  74. package/dist/nodes/LimeCrm/resources/limeType/operations/getType.operation.d.ts +0 -9
  75. package/dist/nodes/LimeCrm/resources/limeType/operations/getType.operation.js +0 -70
  76. package/dist/nodes/LimeCrm/resources/limeType/operations/getType.operation.js.map +0 -1
  77. package/dist/nodes/LimeCrm/resources/limeType/operations/listTypes.operation.d.ts +0 -9
  78. package/dist/nodes/LimeCrm/resources/limeType/operations/listTypes.operation.js +0 -86
  79. package/dist/nodes/LimeCrm/resources/limeType/operations/listTypes.operation.js.map +0 -1
  80. package/dist/nodes/LimeCrm/resources/queryApi/index.d.ts +0 -6
  81. package/dist/nodes/LimeCrm/resources/queryApi/index.js +0 -57
  82. package/dist/nodes/LimeCrm/resources/queryApi/index.js.map +0 -1
  83. package/dist/nodes/LimeCrm/resources/queryApi/operations/executeQuery.operation.d.ts +0 -9
  84. package/dist/nodes/LimeCrm/resources/queryApi/operations/executeQuery.operation.js +0 -559
  85. package/dist/nodes/LimeCrm/resources/queryApi/operations/executeQuery.operation.js.map +0 -1
  86. package/dist/nodes/LimeCrm/transport/index.d.ts +0 -2
  87. package/dist/nodes/LimeCrm/transport/index.js +0 -50
  88. package/dist/nodes/LimeCrm/transport/index.js.map +0 -1
  89. package/dist/nodes/LimeGo/LimeGo.node.d.ts +0 -8
  90. package/dist/nodes/LimeGo/LimeGo.node.js +0 -123
  91. package/dist/nodes/LimeGo/LimeGo.node.js.map +0 -1
  92. package/dist/nodes/LimeGo/actions/organization/get.operation.d.ts +0 -5
  93. package/dist/nodes/LimeGo/actions/organization/get.operation.js +0 -39
  94. package/dist/nodes/LimeGo/actions/organization/get.operation.js.map +0 -1
  95. package/dist/nodes/LimeGo/actions/organization/getByExternalKey.operation.d.ts +0 -5
  96. package/dist/nodes/LimeGo/actions/organization/getByExternalKey.operation.js +0 -54
  97. package/dist/nodes/LimeGo/actions/organization/getByExternalKey.operation.js.map +0 -1
  98. package/dist/nodes/LimeGo/actions/organization/index.d.ts +0 -7
  99. package/dist/nodes/LimeGo/actions/organization/index.js +0 -92
  100. package/dist/nodes/LimeGo/actions/organization/index.js.map +0 -1
  101. package/dist/nodes/LimeGo/actions/organization/organizationFields.d.ts +0 -2
  102. package/dist/nodes/LimeGo/actions/organization/organizationFields.js +0 -162
  103. package/dist/nodes/LimeGo/actions/organization/organizationFields.js.map +0 -1
  104. package/dist/nodes/LimeGo/actions/organization/search.operation.d.ts +0 -5
  105. package/dist/nodes/LimeGo/actions/organization/search.operation.js +0 -70
  106. package/dist/nodes/LimeGo/actions/organization/search.operation.js.map +0 -1
  107. package/dist/nodes/LimeGo/actions/organization/update.operation.d.ts +0 -5
  108. package/dist/nodes/LimeGo/actions/organization/update.operation.js +0 -125
  109. package/dist/nodes/LimeGo/actions/organization/update.operation.js.map +0 -1
  110. package/dist/nodes/LimeGo/actions/person/createMail.operation.d.ts +0 -7
  111. package/dist/nodes/LimeGo/actions/person/createMail.operation.js +0 -130
  112. package/dist/nodes/LimeGo/actions/person/createMail.operation.js.map +0 -1
  113. package/dist/nodes/LimeGo/actions/person/get.operation.d.ts +0 -7
  114. package/dist/nodes/LimeGo/actions/person/get.operation.js +0 -45
  115. package/dist/nodes/LimeGo/actions/person/get.operation.js.map +0 -1
  116. package/dist/nodes/LimeGo/actions/person/index.d.ts +0 -7
  117. package/dist/nodes/LimeGo/actions/person/index.js +0 -92
  118. package/dist/nodes/LimeGo/actions/person/index.js.map +0 -1
  119. package/dist/nodes/LimeGo/actions/person/personFields.d.ts +0 -2
  120. package/dist/nodes/LimeGo/actions/person/personFields.js +0 -134
  121. package/dist/nodes/LimeGo/actions/person/personFields.js.map +0 -1
  122. package/dist/nodes/LimeGo/actions/person/search.operation.d.ts +0 -7
  123. package/dist/nodes/LimeGo/actions/person/search.operation.js +0 -81
  124. package/dist/nodes/LimeGo/actions/person/search.operation.js.map +0 -1
  125. package/dist/nodes/LimeGo/actions/person/update.operation.d.ts +0 -7
  126. package/dist/nodes/LimeGo/actions/person/update.operation.js +0 -104
  127. package/dist/nodes/LimeGo/actions/person/update.operation.js.map +0 -1
  128. package/dist/nodes/LimeGo/lime-go.svg +0 -1
  129. package/dist/nodes/LimeGo/transport/graphqlRequest.d.ts +0 -2
  130. package/dist/nodes/LimeGo/transport/graphqlRequest.js +0 -23
  131. package/dist/nodes/LimeGo/transport/graphqlRequest.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"search.operation.js","sourceRoot":"","sources":["../../../../../nodes/LimeGo/actions/person/search.operation.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAChE,iDAA8C;AAEjC,QAAA,WAAW,GAAsB;IAC1C;QACI,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;QAC3C,WAAW,EAAE,kDAAkD;QAC/D,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;IACD;QACI,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2CAA2C;QACxD,WAAW,EAAE;YACT,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,EAAE;SACf;QACD,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;IACD;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,2BAA2B;QACxC,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;IACD,GAAG,2BAAY;CAClB,CAAC;AAEK,KAAK,UAAU,OAAO,CAA0B,EAAE,CAAC,EAAiB;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAW,CAAC;IAC1D,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAW,CAAC;IAC1D,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAW,CAAC;IAC5D,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,CAAC,CAAa,CAAC;IAC1E,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,CAAC,CAAY,CAAC;IAE/E,IAAI,cAAc,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC;IAGvC,IAAI,eAAe,EAAE;QACjB,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,CAAa,CAAC;QAC9E,cAAc,CAAC,IAAI,CAAC,cAAc,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;KACnE;IAED,MAAM,YAAY,GAAG;;;MAGnB,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;;;EAG7B,CAAC;IAEC,MAAM,SAAS,GAAG;QACd,KAAK;QACL,KAAK,EAAE,KAAK;QACZ,MAAM;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,+BAAc,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;IAE9E,OAAO,YAAY,CAAC,OAAO,CAAC;AAChC,CAAC;AAhCD,0BAgCC;AAGD,kBAAe,EAAE,CAAC"}
@@ -1,7 +0,0 @@
1
- import { IExecuteFunctions, INodeProperties } from 'n8n-workflow';
2
- export declare const description: INodeProperties[];
3
- export declare function execute(this: IExecuteFunctions, { i }: {
4
- i: number;
5
- }): Promise<any>;
6
- declare const _default: {};
7
- export default _default;
@@ -1,104 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.execute = exports.description = void 0;
4
- const graphqlRequest_1 = require("../../transport/graphqlRequest");
5
- const personFields_1 = require("./personFields");
6
- exports.description = [
7
- {
8
- displayName: 'Person ID',
9
- name: 'id',
10
- type: 'string',
11
- default: '',
12
- required: true,
13
- description: 'ID of the person to update',
14
- displayOptions: {
15
- show: {
16
- resource: ['person'],
17
- operation: ['update'],
18
- },
19
- },
20
- },
21
- {
22
- displayName: 'Update Fields',
23
- name: 'updateFields',
24
- type: 'collection',
25
- placeholder: 'Add Field',
26
- default: {},
27
- options: [
28
- {
29
- displayName: 'Email',
30
- name: 'email',
31
- type: 'string',
32
- default: '',
33
- description: 'Email address of the person',
34
- },
35
- {
36
- displayName: 'Email Consent',
37
- name: 'emailConsent',
38
- type: 'boolean',
39
- default: false,
40
- description: 'Whether the person has given consent to receive emails',
41
- },
42
- {
43
- displayName: 'Tags',
44
- name: 'tags',
45
- type: 'string',
46
- default: '',
47
- placeholder: 'tag1,tag2',
48
- description: 'Comma-separated tags to add to the person',
49
- },
50
- {
51
- displayName: 'Remove Tags',
52
- name: 'removeTags',
53
- type: 'string',
54
- default: '',
55
- placeholder: 'tag1,tag2',
56
- description: 'Comma-separated tags to remove from the person',
57
- },
58
- ],
59
- displayOptions: {
60
- show: {
61
- resource: ['person'],
62
- operation: ['update'],
63
- },
64
- },
65
- },
66
- ...personFields_1.personFields,
67
- ];
68
- async function execute({ i }) {
69
- const id = this.getNodeParameter('id', i);
70
- const updateFields = this.getNodeParameter('updateFields', i);
71
- const returnFields = this.getNodeParameter('returnFields', i);
72
- const input = {
73
- id,
74
- };
75
- if (updateFields.email !== undefined) {
76
- input.email = updateFields.email;
77
- }
78
- if (updateFields.emailConsent !== undefined) {
79
- input.emailConsent = updateFields.emailConsent;
80
- }
81
- const tags = {};
82
- if (updateFields.tags) {
83
- tags.addTags = updateFields.tags.split(',').map(tag => tag.trim());
84
- }
85
- if (updateFields.removeTags) {
86
- tags.removeTags = updateFields.removeTags.split(',').map(tag => tag.trim());
87
- }
88
- if (Object.keys(tags).length > 0) {
89
- input.tags = tags;
90
- }
91
- const mutation = `
92
- mutation ($input: UpdatePersonInput!) {
93
- updatePerson(input: $input) {
94
- ${returnFields.join('\n')}
95
- }
96
- }
97
- `;
98
- const variables = { input };
99
- const responseData = await graphqlRequest_1.graphqlRequest.call(this, mutation, variables);
100
- return responseData.updatePerson;
101
- }
102
- exports.execute = execute;
103
- exports.default = {};
104
- //# sourceMappingURL=update.operation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/LimeGo/actions/person/update.operation.ts"],"names":[],"mappings":"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"}
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 1025 1025" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><clipPath id="a"><path d="M.356.03h1024v1024H.356z"/></clipPath><g clip-path="url(#a)"><path d="M92.755 480.888c0-257.059 208.718-465.779 465.779-465.779 257.102 0 465.822 208.72 465.822 465.779 0 133.713-55.806 271.139-193.404 385.355-166.779 138.45-390.389 157.35-736.149 134.525-102.653-6.785-117.502-24.319-64.469-63.444 166.694-123.047 62.421-217.167 62.421-456.436Z" style="fill:#bee034"/><clipPath id="b"><path d="M92.755 480.888c0-257.059 208.718-465.779 465.779-465.779 257.102 0 465.822 208.72 465.822 465.779 0 133.713-55.806 271.139-193.404 385.355-166.779 138.45-390.389 157.35-736.149 134.525-102.653-6.785-117.502-24.319-64.469-63.444 166.694-123.047 62.421-217.167 62.421-456.436Z"/></clipPath><g clip-path="url(#b)"><path d="M1091.82-224.97c797.25 0 797.25 2059 0 2059-797.243 0-628.543-457.19-628.543-1185.86 0-728.671-168.7-873.142 628.543-873.142Z" style="fill:#feb000;filter:blur(200px)"/></g><path d="m879.165 486.306 29.353 32.597c9.984 11.051 27.094 11.947 38.187 1.963 11.092-9.984 11.946-27.092 1.963-38.186l-72.575-80.51a27.05 27.05 0 0 0-20.095-8.916 27.028 27.028 0 0 0-20.054 8.916l-72.616 80.51c-9.983 11.094-9.088 28.202 2.005 38.186 11.051 9.984 28.159 9.088 38.143-1.963l29.311-32.553c-2.089 142.033-112.337 258.04-251.982 269.176-12.756 1.024-22.271 12.203-21.247 24.917.981 12.758 12.159 22.272 24.916 21.248 163.494-13.056 292.6-149.032 294.691-315.385ZM446.707 676.211c-35.071-20.267-79.954-8.235-100.221 26.836-20.223 35.072-8.192 79.955 26.879 100.222 35.071 20.224 79.955 8.192 100.222-26.837 20.224-35.071 8.192-79.997-26.88-100.221Z" style="fill:#fff"/></g></svg>
@@ -1,2 +0,0 @@
1
- import { IExecuteFunctions } from 'n8n-workflow';
2
- export declare function graphqlRequest(this: IExecuteFunctions, query: string, variables?: object): Promise<any>;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.graphqlRequest = void 0;
4
- async function graphqlRequest(query, variables) {
5
- const response = await this.helpers.requestWithAuthentication.call(this, 'limeGoApi', {
6
- method: 'POST',
7
- url: 'https://api.lime-go.com/v1/graphql',
8
- headers: {
9
- 'Content-Type': 'application/json',
10
- },
11
- body: {
12
- query,
13
- variables,
14
- },
15
- json: true,
16
- });
17
- if (response.errors) {
18
- throw new Error(`GraphQL request failed: ${JSON.stringify(response.errors)}`);
19
- }
20
- return response.data;
21
- }
22
- exports.graphqlRequest = graphqlRequest;
23
- //# sourceMappingURL=graphqlRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graphqlRequest.js","sourceRoot":"","sources":["../../../../nodes/LimeGo/transport/graphqlRequest.ts"],"names":[],"mappings":";;;AAEO,KAAK,UAAU,cAAc,CAEhC,KAAa,EACb,SAAkB;IAElB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,yBAAyB,CAAC,IAAI,CAC9D,IAAI,EACJ,WAAW,EACX;QACI,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,oCAAoC;QACzC,OAAO,EAAE;YACL,cAAc,EAAE,kBAAkB;SACrC;QACD,IAAI,EAAE;YACF,KAAK;YACL,SAAS;SACZ;QACD,IAAI,EAAE,IAAI;KACb,CACJ,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,2BAA2B,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;KACjF;IAED,OAAO,QAAQ,CAAC,IAAI,CAAC;AACzB,CAAC;AA3BD,wCA2BC"}