@milaboratories/pl-client 2.4.10 → 2.4.12

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 (101) hide show
  1. package/dist/core/auth.d.ts +6 -0
  2. package/dist/core/auth.d.ts.map +1 -0
  3. package/dist/core/client.d.ts +50 -0
  4. package/dist/core/client.d.ts.map +1 -0
  5. package/dist/core/config.d.ts +91 -0
  6. package/dist/core/config.d.ts.map +1 -0
  7. package/dist/core/default_client.d.ts +11 -0
  8. package/dist/core/default_client.d.ts.map +1 -0
  9. package/dist/core/driver.d.ts +18 -0
  10. package/dist/core/driver.d.ts.map +1 -0
  11. package/dist/core/errors.d.ts +25 -0
  12. package/dist/core/errors.d.ts.map +1 -0
  13. package/dist/core/http.d.ts +1 -0
  14. package/dist/core/http.d.ts.map +1 -0
  15. package/dist/core/ll_client.d.ts +50 -0
  16. package/dist/core/ll_client.d.ts.map +1 -0
  17. package/dist/core/ll_transaction.d.ts +55 -0
  18. package/dist/core/ll_transaction.d.ts.map +1 -0
  19. package/dist/core/transaction.d.ts +152 -0
  20. package/dist/core/transaction.d.ts.map +1 -0
  21. package/dist/core/type_conversion.d.ts +8 -0
  22. package/dist/core/type_conversion.d.ts.map +1 -0
  23. package/dist/core/types.d.ts +77 -0
  24. package/dist/core/types.d.ts.map +1 -0
  25. package/dist/core/unauth_client.d.ts +13 -0
  26. package/dist/core/unauth_client.d.ts.map +1 -0
  27. package/dist/helpers/pl.d.ts +34 -0
  28. package/dist/helpers/pl.d.ts.map +1 -0
  29. package/dist/helpers/poll.d.ts +39 -0
  30. package/dist/helpers/poll.d.ts.map +1 -0
  31. package/dist/helpers/rich_resource_types.d.ts +1 -0
  32. package/dist/helpers/rich_resource_types.d.ts.map +1 -0
  33. package/dist/helpers/smart_accessors.d.ts +1 -0
  34. package/dist/helpers/smart_accessors.d.ts.map +1 -0
  35. package/dist/helpers/state_helpers.d.ts +3 -0
  36. package/dist/helpers/state_helpers.d.ts.map +1 -0
  37. package/dist/helpers/tx_helpers.d.ts +9 -0
  38. package/dist/helpers/tx_helpers.d.ts.map +1 -0
  39. package/dist/index.d.ts +14 -0
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/index.js +1 -14425
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +12126 -0
  44. package/dist/index.mjs.map +1 -0
  45. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +48 -0
  46. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  47. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +36 -0
  48. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  49. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +103 -0
  50. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  51. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +42 -0
  52. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
  53. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +165 -0
  54. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  55. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +44 -0
  56. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  57. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +171 -0
  58. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  59. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +122 -0
  60. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  61. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +315 -0
  62. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  63. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +276 -0
  64. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  65. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +5045 -0
  66. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  67. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +499 -0
  68. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  69. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +82 -0
  70. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  71. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +91 -0
  72. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  73. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +251 -0
  74. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  75. package/dist/proto/google/api/http.d.ts +451 -0
  76. package/dist/proto/google/api/http.d.ts.map +1 -0
  77. package/dist/proto/google/protobuf/any.d.ts +172 -0
  78. package/dist/proto/google/protobuf/any.d.ts.map +1 -0
  79. package/dist/proto/google/protobuf/descriptor.d.ts +2258 -0
  80. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
  81. package/dist/proto/google/protobuf/duration.d.ts +105 -0
  82. package/dist/proto/google/protobuf/duration.d.ts.map +1 -0
  83. package/dist/proto/google/protobuf/empty.d.ts +27 -0
  84. package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
  85. package/dist/proto/google/protobuf/struct.d.ts +177 -0
  86. package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
  87. package/dist/proto/google/protobuf/timestamp.d.ts +148 -0
  88. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
  89. package/dist/proto/google/protobuf/wrappers.d.ts +300 -0
  90. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
  91. package/dist/test/test_config.d.ts +18 -0
  92. package/dist/test/test_config.d.ts.map +1 -0
  93. package/dist/util/branding.d.ts +7 -0
  94. package/dist/util/branding.d.ts.map +1 -0
  95. package/dist/util/pl.d.ts +9 -0
  96. package/dist/util/pl.d.ts.map +1 -0
  97. package/dist/util/util.d.ts +2 -0
  98. package/dist/util/util.d.ts.map +1 -0
  99. package/package.json +13 -14
  100. package/dist/index.cjs +0 -14527
  101. package/dist/index.cjs.map +0 -1
@@ -0,0 +1,13 @@
1
+ import { AuthInformation, PlClientConfig } from './config';
2
+ import { AuthAPI_ListMethods_Response, MaintenanceAPI_Ping_Response } from '../proto/github.com/milaboratory/pl/plapi/plapiproto/api';
3
+ import { LLPlClient } from './ll_client';
4
+ /** Primarily used for initial authentication (login) */
5
+ export declare class UnauthenticatedPlClient {
6
+ readonly ll: LLPlClient;
7
+ constructor(configOrAddress: PlClientConfig | string);
8
+ ping(): Promise<MaintenanceAPI_Ping_Response>;
9
+ authMethods(): Promise<AuthAPI_ListMethods_Response>;
10
+ requireAuth(): Promise<boolean>;
11
+ login(user: string, password: string): Promise<AuthInformation>;
12
+ }
13
+ //# sourceMappingURL=unauth_client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unauth_client.d.ts","sourceRoot":"","sources":["../../src/core/unauth_client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,wDAAwD;AACxD,qBAAa,uBAAuB;IAClC,SAAgB,EAAE,EAAE,UAAU,CAAC;gBAEnB,eAAe,EAAE,cAAc,GAAG,MAAM;IAIvC,IAAI,IAAI,OAAO,CAAC,4BAA4B,CAAC;IAI7C,WAAW,IAAI,OAAO,CAAC,4BAA4B,CAAC;IAIpD,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IAI/B,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;CAkB7E"}
@@ -0,0 +1,34 @@
1
+ import { FutureFieldType, ResourceType } from '../core/types';
2
+ import { AnyRef, FieldRef, PlTransaction, ResourceRef } from '../core/transaction';
3
+ export declare const ClientRoot: ResourceType;
4
+ export declare const StructTestResource: ResourceType;
5
+ export declare const ValueTestResource: ResourceType;
6
+ export declare const JsonString: ResourceType;
7
+ export declare const JsonBool: ResourceType;
8
+ export declare const JsonObject: ResourceType;
9
+ export declare const JsonArray: ResourceType;
10
+ export declare const JsonNumber: ResourceType;
11
+ export declare const JsonNull: ResourceType;
12
+ export declare const EphStdMap: ResourceType;
13
+ export declare const StdMap: ResourceType;
14
+ export declare function createPlNull(tx: PlTransaction): ResourceRef;
15
+ export declare function createPlBool(tx: PlTransaction, val: boolean): ResourceRef;
16
+ export declare function createPlNumber(tx: PlTransaction, val: number): ResourceRef;
17
+ export declare function createPlString(tx: PlTransaction, val: string): ResourceRef;
18
+ export declare function createPlArray(tx: PlTransaction, val: any[]): ResourceRef;
19
+ export declare function createPlObject(tx: PlTransaction, val: object): ResourceRef;
20
+ export type PlRecordEntry<Key extends string = string, Ref extends AnyRef = AnyRef> = [Key, Ref];
21
+ export type PlRecord<Key extends string = string, Ref extends AnyRef = AnyRef> = Record<Key, Ref>;
22
+ export declare function plEntry<Key extends string = string, Ref extends AnyRef = AnyRef>(key: Key, ref: Ref): PlRecordEntry<Key, Ref>;
23
+ export declare function plEntries<Key extends string = string, Ref extends AnyRef = AnyRef>(record: PlRecord<Key, Ref>, fields?: Key[]): PlRecordEntry<Key, Ref>[];
24
+ /** Helper method to build standard pl map from a set of entries */
25
+ export declare function createPlMap(tx: PlTransaction, entries: PlRecordEntry[] | PlRecord, ephemeral: boolean, type?: ResourceType): ResourceRef;
26
+ export declare function futureRecord<Key extends string>(tx: PlTransaction, rId: AnyRef, keys: Key[], fieldType: FutureFieldType, prefix?: string): PlRecord<Key, FieldRef>;
27
+ /** Name of the field in block holder, that references the actual block-pack. */
28
+ export declare const Holder: ResourceType;
29
+ export declare const EphHolder: ResourceType;
30
+ export declare const HolderRefField = "ref";
31
+ export declare function wrapInHolder(tx: PlTransaction, ref: AnyRef): ResourceRef;
32
+ export declare function wrapInEphHolder(tx: PlTransaction, ref: AnyRef): ResourceRef;
33
+ export declare function unwrapHolder(tx: PlTransaction, ref: AnyRef): FieldRef;
34
+ //# sourceMappingURL=pl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/helpers/pl.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAS,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAM1F,eAAO,MAAM,UAAU,cAAwB,CAAC;AAEhD,eAAO,MAAM,kBAAkB,cAAwB,CAAC;AACxD,eAAO,MAAM,iBAAiB,cAAuB,CAAC;AAEtD,eAAO,MAAM,UAAU,cAAyB,CAAC;AACjD,eAAO,MAAM,QAAQ,cAAuB,CAAC;AAC7C,eAAO,MAAM,UAAU,cAAyB,CAAC;AACjD,eAAO,MAAM,SAAS,cAAwB,CAAC;AAC/C,eAAO,MAAM,UAAU,cAAyB,CAAC;AACjD,eAAO,MAAM,QAAQ,c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MAAM,CAAC,EAAE,GAAG,EAAE,GACb,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAI3B;AAED,mEAAmE;AACnE,wBAAgB,WAAW,CACzB,EAAE,EAAE,aAAa,EACjB,OAAO,EAAE,aAAa,EAAE,GAAG,QAAQ,EACnC,SAAS,EAAE,OAAO,EAClB,IAAI,CAAC,EAAE,YAAY,GAClB,WAAW,CAUb;AAED,wBAAgB,YAAY,CAAC,GAAG,SAAS,MAAM,EAC7C,EAAE,EAAE,aAAa,EACjB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EAAE,EACX,SAAS,EAAE,eAAe,EAC1B,MAAM,GAAE,MAAW,GAClB,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAIzB;AAMD,gFAAgF;AAChF,eAAO,MAAM,MAAM,cAAS,CAAC;AAC7B,eAAO,MAAM,SAAS,cAAY,CAAC;AACnC,eAAO,MAAM,cAAc,QAAQ,CAAC;AAEpC,wBAAgB,YAAY,CAAC,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CAMxE;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CAM3E;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,QAAQ,CAErE"}
@@ -0,0 +1,39 @@
1
+ import { PlClient } from '../core/client';
2
+ import { RetryOptions } from '@milaboratories/ts-helpers';
3
+ import { FieldData, FieldType, ResourceData, ResourceId } from '../core/types';
4
+ import { PlTransaction } from '../core/transaction';
5
+ /** This error tells state assertion mechanism that required state is not yet ready */
6
+ export declare class ContinuePolling extends Error {
7
+ }
8
+ export type PollFieldTraverseOps = {
9
+ expectedType?: FieldType;
10
+ /** Fail if error present along with the value, if value not present,
11
+ * but error do, exception will be thrown anyway. */
12
+ failOnError: boolean;
13
+ /** Traverse only if field report its value as final. */
14
+ onlyFinal: boolean;
15
+ };
16
+ export declare class PollResourceAccessor {
17
+ readonly tx: PollTxAccessor;
18
+ readonly data: ResourceData;
19
+ readonly path: string[];
20
+ constructor(tx: PollTxAccessor, data: ResourceData, path: string[]);
21
+ final(): PollResourceAccessor;
22
+ requireNoError(): Promise<PollResourceAccessor>;
23
+ getFieldData(name: string, expectedType?: FieldType): FieldData;
24
+ get(name: string, ops?: Partial<PollFieldTraverseOps>): Promise<PollResourceAccessor>;
25
+ getMulti(ops: Partial<PollFieldTraverseOps>, ...names: string[]): Promise<PollResourceAccessor[]>;
26
+ getMultiObj<Key extends string>(ops: Partial<PollFieldTraverseOps>, ...names: Key[]): Promise<Record<Key, PollResourceAccessor>>;
27
+ getAllFinal(ops?: Partial<PollFieldTraverseOps>): Promise<Record<string, PollResourceAccessor>>;
28
+ getKValue(key: string): Promise<string>;
29
+ getKValueObj<T>(key: string): Promise<T>;
30
+ }
31
+ export declare class PollTxAccessor {
32
+ readonly tx: PlTransaction;
33
+ constructor(tx: PlTransaction);
34
+ get(rid: ResourceId, failOnError?: boolean, path?: string[]): Promise<PollResourceAccessor>;
35
+ throwError(error: ResourceId, path?: string[]): Promise<never>;
36
+ }
37
+ export declare const DefaultPollingRetryOptions: RetryOptions;
38
+ export declare function poll<T>(cl: PlClient, cb: (tx: PollTxAccessor) => Promise<T>, retryOptions?: RetryOptions, txName?: string): Promise<T>;
39
+ //# sourceMappingURL=poll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../src/helpers/poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAIL,YAAY,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,SAAS,EACT,SAAS,EAGT,YAAY,EACZ,UAAU,EAEX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,sFAAs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AC;CAGtD;AAED,qBAAa,cAAc;aACG,EAAE,EAAE,aAAa;gBAAjB,EAAE,EAAE,aAAa;IAEhC,GAAG,CACd,GAAG,EAAE,UAAU,EACf,WAAW,GAAE,OAAc,EAC3B,IAAI,GAAE,MAAM,EAAO,GAClB,OAAO,CAAC,oBAAoB,CAAC;IAO1B,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,KAAK,CAAC;CAKzE;AAED,eAAO,MAAM,0BAA0B,EAAE,YAMxC,CAAC;AAEF,wBAAsB,IAAI,CAAC,CAAC,EAC1B,EAAE,EAAE,QAAQ,EACZ,EAAE,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,OAAO,CAAC,CAAC,CAAC,EACtC,YAAY,GAAE,YAAyC,EACvD,MAAM,GAAE,MAAkB,GACzB,OAAO,CAAC,CAAC,CAAC,CAcZ"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=rich_resource_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich_resource_types.d.ts","sourceRoot":"","sources":["../../src/helpers/rich_resource_types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=smart_accessors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smart_accessors.d.ts","sourceRoot":"","sources":["../../src/helpers/smart_accessors.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { FieldData } from '../core/types';
2
+ export declare function fieldResolved(data: Pick<FieldData, 'value' | 'error'>): boolean;
3
+ //# sourceMappingURL=state_helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state_helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/state_helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,eAAe,CAAC;AAE/D,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,WAErE"}
@@ -0,0 +1,9 @@
1
+ import { PlTransaction } from '../core/transaction';
2
+ import { FieldData, OptionalResourceId } from '../core/types';
3
+ export interface ValErr {
4
+ valueId: OptionalResourceId;
5
+ errorId: OptionalResourceId;
6
+ error?: string;
7
+ }
8
+ export declare function valErr(tx: PlTransaction, f: FieldData): Promise<ValErr>;
9
+ //# sourceMappingURL=tx_helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tx_helpers.d.ts","sourceRoot":"","sources":["../../src/helpers/tx_helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAuB,MAAM,eAAe,CAAC;AAGnF,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,MAAM,CAAC,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAa7E"}
@@ -0,0 +1,14 @@
1
+ export * from './core/types';
2
+ export * as Pl from './helpers/pl';
3
+ export * from './core/config';
4
+ export * from './core/client';
5
+ export * from './core/driver';
6
+ export * from './core/transaction';
7
+ export * from './core/errors';
8
+ export * from './core/default_client';
9
+ export * from './core/unauth_client';
10
+ export * from './core/auth';
11
+ export * from './helpers/tx_helpers';
12
+ export * from './helpers/poll';
13
+ export * as TestHelpers from './test/test_config';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,cAAc,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAE/B,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC"}