@plutonlabs/sdk 0.0.6-beta → 0.0.8-beta

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 (27) hide show
  1. package/dist/common/consts/index.d.ts +2 -0
  2. package/dist/common/consts/index.d.ts.map +1 -0
  3. package/dist/common/consts/index.js +18 -0
  4. package/dist/common/consts/index.js.map +1 -0
  5. package/dist/common/enums/intent_type.enum.d.ts +1 -2
  6. package/dist/common/enums/intent_type.enum.d.ts.map +1 -1
  7. package/dist/common/enums/intent_type.enum.js +0 -1
  8. package/dist/common/enums/intent_type.enum.js.map +1 -1
  9. package/dist/common/index.d.ts +2 -0
  10. package/dist/common/index.d.ts.map +1 -1
  11. package/dist/common/index.js +2 -0
  12. package/dist/common/index.js.map +1 -1
  13. package/dist/modules/quote/domain/dto/quote/index.d.ts +1 -0
  14. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  15. package/dist/modules/quote/domain/dto/quote/index.js +1 -0
  16. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  17. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts +31 -0
  18. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts.map +1 -0
  19. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js +53 -0
  20. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js.map +1 -0
  21. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +1 -1
  22. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +1 -1
  23. package/dist/modules/token/domain/dto/token.dto.d.ts +1 -0
  24. package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -1
  25. package/dist/modules/token/domain/dto/token.dto.js +3 -0
  26. package/dist/modules/token/domain/dto/token.dto.js.map +1 -1
  27. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export * from './globalConst';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/consts/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./globalConst"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
@@ -1,6 +1,5 @@
1
1
  export declare enum IntentType {
2
2
  NONE = "none",
3
- BRIDGE = "bridge",
4
- BRIDGE_ESTIMATE = "bridge-estimate"
3
+ BRIDGE = "bridge"
5
4
  }
6
5
  //# sourceMappingURL=intent_type.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"intent_type.enum.d.ts","sourceRoot":"","sources":["../../../src/common/enums/intent_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,eAAe,oBAAoB;CACpC"}
1
+ {"version":3,"file":"intent_type.enum.d.ts","sourceRoot":"","sources":["../../../src/common/enums/intent_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
@@ -5,6 +5,5 @@ var IntentType;
5
5
  (function (IntentType) {
6
6
  IntentType["NONE"] = "none";
7
7
  IntentType["BRIDGE"] = "bridge";
8
- IntentType["BRIDGE_ESTIMATE"] = "bridge-estimate";
9
8
  })(IntentType || (exports.IntentType = IntentType = {}));
10
9
  //# sourceMappingURL=intent_type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"intent_type.enum.js","sourceRoot":"","sources":["../../../src/common/enums/intent_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,iDAAmC,CAAA;AACrC,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
1
+ {"version":3,"file":"intent_type.enum.js","sourceRoot":"","sources":["../../../src/common/enums/intent_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,+BAAiB,CAAA;AACnB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB"}
@@ -1,3 +1,5 @@
1
+ export * from "./consts";
2
+ export * from "./enums";
1
3
  export * from "./enums";
2
4
  export * from "./utils";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./consts"), exports);
18
+ __exportStar(require("./enums"), exports);
17
19
  __exportStar(require("./enums"), exports);
18
20
  __exportStar(require("./utils"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB"}
@@ -8,6 +8,7 @@ export * from "./quote_request_lifecycle.dto";
8
8
  export * from "./quote_request.dto";
9
9
  export * from "./quote_response_lifecycle.dto";
10
10
  export * from "./quote_response.dto";
11
+ export * from "./quote_estimate_response.dto";
11
12
  export * from "./quote_selected_intents_request.dto";
12
13
  export * from "./quote_selected_intents_resposne.dto";
13
14
  export * from "./quote_set_transaction_request.dto";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AAErC,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AAErD,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAE9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AAErD,cAAc,aAAa,CAAC"}
@@ -24,6 +24,7 @@ __exportStar(require("./quote_request_lifecycle.dto"), exports);
24
24
  __exportStar(require("./quote_request.dto"), exports);
25
25
  __exportStar(require("./quote_response_lifecycle.dto"), exports);
26
26
  __exportStar(require("./quote_response.dto"), exports);
27
+ __exportStar(require("./quote_estimate_response.dto"), exports);
27
28
  __exportStar(require("./quote_selected_intents_request.dto"), exports);
28
29
  __exportStar(require("./quote_selected_intents_resposne.dto"), exports);
29
30
  __exportStar(require("./quote_set_transaction_request.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,oEAAkD;AAClD,qEAAmD;AAEnD,6EAA2D;AAE3D,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AAErC,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,oEAAkD;AAClD,qEAAmD;AAEnD,6EAA2D;AAE3D,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AACrC,gEAA8C;AAE9C,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
@@ -0,0 +1,31 @@
1
+ import { QuoteResponseDto } from './quote_response.dto';
2
+ export declare class QuoteEstimateResponseDto {
3
+ /**
4
+ * @description An array of intent responses that correspond to the quote. Each response contains details of the quote intent.
5
+ * @example {
6
+ * [
7
+ * {
8
+ * id: 'f9b7c46f-5f49-4bb6-9412-40bdb5563ef6',
9
+ * solverId: 'e5e7e948-e7f1-4824-80a7-650cc7ed3b29',
10
+ * intentType: IntentType.BRIDGE,
11
+ * selectionStatus: 1,
12
+ * intentRequestId: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2',
13
+ * },
14
+ * {
15
+ * id: 'd30c9a60-9f72-42d3-b7ae-4a2fa05f5b8a',
16
+ * solverId: '14b8e6f8-6076-4ab9-93e8-dfe27d697f91',
17
+ * intentType: IntentType.BRIDGE_ESTIMATE,
18
+ * selectionStatus: 2,
19
+ * intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
20
+ * }
21
+ * ]
22
+ * }
23
+ */
24
+ quoteResponse: QuoteResponseDto;
25
+ /**
26
+ * @description The estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
27
+ * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
28
+ */
29
+ feeEstimate: string;
30
+ }
31
+ //# sourceMappingURL=quote_estimate_response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_estimate_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBAAa,wBAAwB;IAEnC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,aAAa,EAAE,gBAAgB,CAAC;IAGhC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.QuoteEstimateResponseDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const quote_response_dto_1 = require("./quote_response.dto");
15
+ class QuoteEstimateResponseDto {
16
+ }
17
+ exports.QuoteEstimateResponseDto = QuoteEstimateResponseDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsNotEmpty)()
20
+ /**
21
+ * @description An array of intent responses that correspond to the quote. Each response contains details of the quote intent.
22
+ * @example {
23
+ * [
24
+ * {
25
+ * id: 'f9b7c46f-5f49-4bb6-9412-40bdb5563ef6',
26
+ * solverId: 'e5e7e948-e7f1-4824-80a7-650cc7ed3b29',
27
+ * intentType: IntentType.BRIDGE,
28
+ * selectionStatus: 1,
29
+ * intentRequestId: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2',
30
+ * },
31
+ * {
32
+ * id: 'd30c9a60-9f72-42d3-b7ae-4a2fa05f5b8a',
33
+ * solverId: '14b8e6f8-6076-4ab9-93e8-dfe27d697f91',
34
+ * intentType: IntentType.BRIDGE_ESTIMATE,
35
+ * selectionStatus: 2,
36
+ * intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
37
+ * }
38
+ * ]
39
+ * }
40
+ */
41
+ ,
42
+ __metadata("design:type", quote_response_dto_1.QuoteResponseDto)
43
+ ], QuoteEstimateResponseDto.prototype, "quoteResponse", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsNotEmpty)()
46
+ /**
47
+ * @description The estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
48
+ * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
49
+ */
50
+ ,
51
+ __metadata("design:type", String)
52
+ ], QuoteEstimateResponseDto.prototype, "feeEstimate", void 0);
53
+ //# sourceMappingURL=quote_estimate_response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_estimate_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,6DAAwD;AAExD,MAAa,wBAAwB;CA+BpC;AA/BD,4DA+BC;AARC;IAtBC,IAAA,4BAAU,GAAE;IACb;;;;;;;;;;;;;;;;;;;;OAoBG;;8BACY,qCAAgB;+DAAC;AAOhC;IALC,IAAA,4BAAU,GAAE;IACb;;;OAGG;;;6DACiB"}
@@ -13,7 +13,7 @@ export declare class QuoteResponseDto {
13
13
  * {
14
14
  * id: 'd30c9a60-9f72-42d3-b7ae-4a2fa05f5b8a',
15
15
  * solverId: '14b8e6f8-6076-4ab9-93e8-dfe27d697f91',
16
- * intentType: IntentType.BRIDGE_ESTIMATE,
16
+ * intentType: IntentType.SWAP,
17
17
  * selectionStatus: 2,
18
18
  * intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
19
19
  * }
@@ -29,7 +29,7 @@ __decorate([
29
29
  * {
30
30
  * id: 'd30c9a60-9f72-42d3-b7ae-4a2fa05f5b8a',
31
31
  * solverId: '14b8e6f8-6076-4ab9-93e8-dfe27d697f91',
32
- * intentType: IntentType.BRIDGE_ESTIMATE,
32
+ * intentType: IntentType.SWAP,
33
33
  * selectionStatus: 2,
34
34
  * intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
35
35
  * }
@@ -55,5 +55,6 @@ export declare class TokenDto {
55
55
  * @example 18
56
56
  */
57
57
  decimals: number;
58
+ isBase: boolean;
58
59
  }
59
60
  //# sourceMappingURL=token.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"token.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/token.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,QAAQ;IACnB;;;;OAIG;WACW,IAAI,CAChB,CAAC,SAAS;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,EACD,GAAG,EAAE,CAAC,GAAG,QAAQ;IAWnB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,QAAQ,EAAE;IAKxB;;;OAGG;IAGH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAGH,IAAI,EAAE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void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const common_1 = require("../../../../common");
15
15
  class TokenDto {
16
+ constructor() {
17
+ this.isBase = false;
18
+ }
16
19
  /**
17
20
  * @description Converts an entity object into a TokenDto.
18
21
  * @param obj The entity object to convert.
@@ -1 +1 @@
1
- {"version":3,"file":"token.dto.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/token.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,+CAA8C;AAE9C,MAAa,QAAQ;IACnB;;;;OAIG;IACI,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC3B,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC9B,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACpB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CAiDF;AA3FD,4BA2FC;AAxCC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;2CACK;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sCACE;AAQb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wCACI;AAQf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACG;AAOd;IADC,IAA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