@lightdash/common 0.2143.2 → 0.2144.0

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 (34) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/authorization/roleToScopeMapping.d.ts.map +1 -1
  3. package/dist/cjs/authorization/roleToScopeMapping.js +2 -2
  4. package/dist/cjs/authorization/roleToScopeMapping.js.map +1 -1
  5. package/dist/cjs/types/organizationMemberProfile.d.ts +1 -0
  6. package/dist/cjs/types/organizationMemberProfile.d.ts.map +1 -1
  7. package/dist/cjs/types/organizationMemberProfile.js +9 -1
  8. package/dist/cjs/types/organizationMemberProfile.js.map +1 -1
  9. package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.d.ts +4 -4
  10. package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.js +4 -4
  11. package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.js.map +1 -1
  12. package/dist/esm/.tsbuildinfo +1 -1
  13. package/dist/esm/authorization/roleToScopeMapping.d.ts.map +1 -1
  14. package/dist/esm/authorization/roleToScopeMapping.js +3 -3
  15. package/dist/esm/authorization/roleToScopeMapping.js.map +1 -1
  16. package/dist/esm/types/organizationMemberProfile.d.ts +1 -0
  17. package/dist/esm/types/organizationMemberProfile.d.ts.map +1 -1
  18. package/dist/esm/types/organizationMemberProfile.js +8 -0
  19. package/dist/esm/types/organizationMemberProfile.js.map +1 -1
  20. package/dist/esm/visualizations/helpers/styles/valueLabelStyles.d.ts +4 -4
  21. package/dist/esm/visualizations/helpers/styles/valueLabelStyles.js +4 -4
  22. package/dist/esm/visualizations/helpers/styles/valueLabelStyles.js.map +1 -1
  23. package/dist/types/.tsbuildinfo +1 -1
  24. package/dist/types/authorization/roleToScopeMapping.d.ts.map +1 -1
  25. package/dist/types/authorization/roleToScopeMapping.js +3 -3
  26. package/dist/types/authorization/roleToScopeMapping.js.map +1 -1
  27. package/dist/types/types/organizationMemberProfile.d.ts +1 -0
  28. package/dist/types/types/organizationMemberProfile.d.ts.map +1 -1
  29. package/dist/types/types/organizationMemberProfile.js +8 -0
  30. package/dist/types/types/organizationMemberProfile.js.map +1 -1
  31. package/dist/types/visualizations/helpers/styles/valueLabelStyles.d.ts +4 -4
  32. package/dist/types/visualizations/helpers/styles/valueLabelStyles.js +4 -4
  33. package/dist/types/visualizations/helpers/styles/valueLabelStyles.js.map +1 -1
  34. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"roleToScopeMapping.d.ts","sourceRoot":"","sources":["../../../src/authorization/roleToScopeMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AA2GrD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAoBnE,CAAC;AAET;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAU,iBAAiB,KAAG,MAAM,EAEnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,SAChC,iBAAiB,KACxB,MAAM,EAkBR,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,cAAc,EAWzC,CAAC;AAER,eAAO,MAAM,YAAY,aAAc,MAAM,KAAG,QAAQ,IAAI,iBACF,CAAC"}
1
+ {"version":3,"file":"roleToScopeMapping.d.ts","sourceRoot":"","sources":["../../../src/authorization/roleToScopeMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EAEpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AA2GrD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAoBnE,CAAC;AAET;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAU,iBAAiB,KAAG,MAAM,EAEnE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,SAChC,iBAAiB,KACxB,MAAM,EAkBR,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,cAAc,EAWzC,CAAC;AAER,eAAO,MAAM,YAAY,aAAc,MAAM,KAAG,QAAQ,IAAI,iBACF,CAAC"}
@@ -142,8 +142,8 @@ const getNonEnterpriseScopesForRole = (role) => {
142
142
  exports.getNonEnterpriseScopesForRole = getNonEnterpriseScopesForRole;
143
143
  const getSystemRoles = () => ROLE_HIERARCHY.map((role) => ({
144
144
  roleUuid: role,
145
- name: role,
146
- description: role,
145
+ name: projectMemberRole_1.ProjectMemberRoleLabels[role],
146
+ description: projectMemberRole_1.ProjectMemberRoleLabels[role],
147
147
  ownerType: 'system',
148
148
  scopes: (0, exports.getAllScopesForRole)(role),
149
149
  organizationUuid: null,
@@ -1 +1 @@
1
- {"version":3,"file":"roleToScopeMapping.js","sourceRoot":"","sources":["../../../src/authorization/roleToScopeMapping.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAG/D;;;GAGG;AAEH;;GAEG;AACH,MAAM,gBAAgB,GAAG;IACrB,CAAC,qCAAiB,CAAC,MAAM,CAAC,EAAE;QACxB,4BAA4B;QAC5B,gBAAgB;QAChB,qBAAqB,EAAE,yCAAyC;QAChE,iBAAiB;QACjB,YAAY;QACZ,cAAc;QACd,kBAAkB;QAClB,wBAAwB;QACxB,WAAW;QACX,kBAAkB;QAElB,qCAAqC;QACrC,kBAAkB;QAClB,2BAA2B;QAC3B,yBAAyB;KAC5B;IAED,CAAC,qCAAiB,CAAC,kBAAkB,CAAC,EAAE;QACpC,4CAA4C;QAC5C,qBAAqB;QACrB,qBAAqB;QACrB,gBAAgB;QAChB,yBAAyB;QACzB,4BAA4B;QAC5B,0BAA0B;QAC1B,qBAAqB;QAErB,oEAAoE;QACpE,wBAAwB,EAAE,mBAAmB;QAC7C,yBAAyB,EAAE,mBAAmB;QAC9C,uBAAuB,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,CACjD,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC1B,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,IAAI;IACjB,SAAS,EAAE,QAAQ;IACnB,MAAM,EAAE,IAAA,2BAAmB,EAAC,IAAI,CAAC;IACjC,gBAAgB,EAAE,IAAI;IACtB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;CAClB,CAAC,CAAC,CAAC;AAXK,QAAA,cAAc,kBAWnB;AAED,MAAM,YAAY,GAAG,CAAC,QAAgB,EAAiC,EAAE,CAC5E,cAAc,CAAC,QAAQ,CAAC,QAA6B,CAAC,CAAC;AAD9C,QAAA,YAAY,gBACkC"}
1
+ {"version":3,"file":"roleToScopeMapping.js","sourceRoot":"","sources":["../../../src/authorization/roleToScopeMapping.ts"],"names":[],"mappings":";;;AAAA,kEAGoC;AAGpC;;;GAGG;AAEH;;GAEG;AACH,MAAM,gBAAgB,GAAG;IACrB,CAAC,qCAAiB,CAAC,MAAM,CAAC,EAAE;QACxB,4BAA4B;QAC5B,gBAAgB;QAChB,qBAAqB,EAAE,yCAAyC;QAChE,iBAAiB;QACjB,YAAY;QACZ,cAAc;QACd,kBAAkB;QAClB,wBAAwB;QACxB,WAAW;QACX,kBAAkB;QAElB,qCAAqC;QACrC,kBAAkB;QAClB,2BAA2B;QAC3B,yBAAyB;KAC5B;IAED,CAAC,qCAAiB,CAAC,kBAAkB,CAAC,EAAE;QACpC,4CAA4C;QAC5C,qBAAqB;QACrB,qBAAqB;QACrB,gBAAgB;QAChB,yBAAyB;QACzB,4BAA4B;QAC5B,0BAA0B;QAC1B,qBAAqB;QAErB,oEAAoE;QACpE,wBAAwB,EAAE,mBAAmB;QAC7C,yBAAyB,EAAE,mBAAmB;QAC9C,uBAAuB,EAAE,gCAAgC;QAEzD,oBAAoB;QACpB,cAAc;QACd,sBAAsB;KACzB;IAED,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;IAC1B,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,2CAAuB,CAAC,IAAI,CAAC;IACnC,WAAW,EAAE,2CAAuB,CAAC,IAAI,CAAC;IAC1C,SAAS,EAAE,QAAQ;IACnB,MAAM,EAAE,IAAA,2BAAmB,EAAC,IAAI,CAAC;IACjC,gBAAgB,EAAE,IAAI;IACtB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;CAClB,CAAC,CAAC,CAAC;AAXK,QAAA,cAAc,kBAWnB;AAED,MAAM,YAAY,GAAG,CAAC,QAAgB,EAAiC,EAAE,CAC5E,cAAc,CAAC,QAAQ,CAAC,QAA6B,CAAC,CAAC;AAD9C,QAAA,YAAY,gBACkC"}
@@ -8,6 +8,7 @@ export declare enum OrganizationMemberRole {
8
8
  DEVELOPER = "developer",
9
9
  ADMIN = "admin"
10
10
  }
11
+ export declare const OrganizationMemberRoleLabels: Record<OrganizationMemberRole, string>;
11
12
  export declare const isOrganizationMemberRole: (x: string) => x is OrganizationMemberRole;
12
13
  /**
13
14
  * Profile for a user's membership in an organization
@@ -1 +1 @@
1
- {"version":3,"file":"organizationMemberProfile.d.ts","sourceRoot":"","sources":["../../../src/types/organizationMemberProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,oBAAY,sBAAsB;IAC9B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,kBAAkB,uBAAuB;IACzC,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,wBAAwB,MAC9B,MAAM,KACV,CAAC,IAAI,sBACuE,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACpC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,IAAI,CAAC;IACpB,aAAa,EAAE,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG,yBAAyB,GAAG;IAC1E,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,qCAAqC,QACzC,yBAAyB,GAAG,mCAAmC,KACrE,GAAG,IAAI,mCAAsD,CAAC;AAEjE,MAAM,MAAM,+BAA+B,GAAG;IAC1C,IAAI,EAAE,sBAAsB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IACxC,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,iBAAiB,CAAC,yBAAyB,EAAE,CAAC,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAAU,sBAAsB,yVAiB9D,CAAC"}
1
+ {"version":3,"file":"organizationMemberProfile.d.ts","sourceRoot":"","sources":["../../../src/types/organizationMemberProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,oBA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C;CAC3D,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAAU,sBAAsB,yVAiB9D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRoleDescription = exports.isOrganizationMemberProfileWithGroups = exports.isOrganizationMemberRole = exports.OrganizationMemberRole = void 0;
3
+ exports.getRoleDescription = exports.isOrganizationMemberProfileWithGroups = exports.isOrganizationMemberRole = exports.OrganizationMemberRoleLabels = exports.OrganizationMemberRole = void 0;
4
4
  var OrganizationMemberRole;
5
5
  (function (OrganizationMemberRole) {
6
6
  OrganizationMemberRole["MEMBER"] = "member";
@@ -10,6 +10,14 @@ var OrganizationMemberRole;
10
10
  OrganizationMemberRole["DEVELOPER"] = "developer";
11
11
  OrganizationMemberRole["ADMIN"] = "admin";
12
12
  })(OrganizationMemberRole || (exports.OrganizationMemberRole = OrganizationMemberRole = {}));
13
+ exports.OrganizationMemberRoleLabels = {
14
+ [OrganizationMemberRole.MEMBER]: 'Member',
15
+ [OrganizationMemberRole.VIEWER]: 'Viewer',
16
+ [OrganizationMemberRole.INTERACTIVE_VIEWER]: 'Interactive Viewer',
17
+ [OrganizationMemberRole.EDITOR]: 'Editor',
18
+ [OrganizationMemberRole.DEVELOPER]: 'Developer',
19
+ [OrganizationMemberRole.ADMIN]: 'Admin',
20
+ };
13
21
  const isOrganizationMemberRole = (x) => Object.values(OrganizationMemberRole).includes(x);
14
22
  exports.isOrganizationMemberRole = isOrganizationMemberRole;
15
23
  const isOrganizationMemberProfileWithGroups = (obj) => 'groups' in obj;
@@ -1 +1 @@
1
- {"version":3,"file":"organizationMemberProfile.js","sourceRoot":"","sources":["../../../src/types/organizationMemberProfile.ts"],"names":[],"mappings":";;;AAGA,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAC9B,2CAAiB,CAAA;IACjB,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,2CAAiB,CAAA;IACjB,iDAAuB,CAAA;IACvB,yCAAe,CAAA;AACnB,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC;AAEM,MAAM,wBAAwB,GAAG,CACpC,CAAS,EACkB,EAAE,CAC7B,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,QAAQ,CAAC,CAA2B,CAAC,CAAC;AAHnE,QAAA,wBAAwB,4BAG2C;AA2CzE,MAAM,qCAAqC,GAAG,CACjD,GAAoE,EAC1B,EAAE,CAAC,QAAQ,IAAI,GAAG,CAAC;AAFpD,QAAA,qCAAqC,yCAEe;AAgB1D,MAAM,kBAAkB,GAAG,CAAC,IAA4B,EAAE,EAAE;IAC/D,QAAQ,IAAI,EAAE,CAAC;QACX,KAAK,sBAAsB,CAAC,MAAM;YAC9B,OAAO,kFAAkF,CAAC;QAC9F,KAAK,sBAAsB,CAAC,MAAM;YAC9B,OAAO,sCAAsC,CAAC;QAClD,KAAK,sBAAsB,CAAC,kBAAkB;YAC1C,OAAO,+FAA+F,CAAC;QAC3G,KAAK,sBAAsB,CAAC,MAAM;YAC9B,OAAO,sCAAsC,CAAC;QAClD,KAAK,sBAAsB,CAAC,SAAS;YACjC,OAAO,sCAAsC,CAAC;QAClD,KAAK,sBAAsB,CAAC,KAAK;YAC7B,OAAO,oEAAoE,CAAC;QAChF;YACI,OAAO,IAAI,CAAC;IACpB,CAAC;AACL,CAAC,CAAC;AAjBW,QAAA,kBAAkB,sBAiB7B"}
1
+ {"version":3,"file":"organizationMemberProfile.js","sourceRoot":"","sources":["../../../src/types/organizationMemberProfile.ts"],"names":[],"mappings":";;;AAGA,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAC9B,2CAAiB,CAAA;IACjB,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,2CAAiB,CAAA;IACjB,iDAAuB,CAAA;IACv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iB7B"}
@@ -1,20 +1,20 @@
1
1
  import { type Series } from '../../../types/savedCharts';
2
2
  /**
3
3
  * Get value label styling for any chart series (line, bar, area, scatter, etc.)
4
- * Inside: White on dark backgrounds, gray.9 on light backgrounds, weight 400
5
- * Outside: gray.9 text with colored border matching series, weight 500
4
+ * Inside: White on dark backgrounds, gray.9 on light backgrounds, weight 500
5
+ * Outside: gray.9 text with colored border matching series, weight 600
6
6
  * Size: 11px
7
7
  * @param position - Label position relative to data point
8
8
  * @param type - Series type
9
9
  */
10
10
  export declare const getValueLabelStyle: (position: "left" | "right" | "top" | "bottom" | "inside" | undefined, type: Series["type"]) => {
11
11
  readonly fontSize: 11;
12
- readonly fontWeight: "500";
12
+ readonly fontWeight: "500" | "400";
13
13
  } | {
14
14
  textBorderColor: string;
15
15
  textBorderWidth: number;
16
16
  textBorderType: string;
17
17
  fontSize: 11;
18
- fontWeight: "500";
18
+ fontWeight: "500" | "400";
19
19
  };
20
20
  //# sourceMappingURL=valueLabelStyles.d.ts.map
@@ -5,8 +5,8 @@ const savedCharts_1 = require("../../../types/savedCharts");
5
5
  const themeColors_1 = require("./themeColors");
6
6
  /**
7
7
  * Get value label styling for any chart series (line, bar, area, scatter, etc.)
8
- * Inside: White on dark backgrounds, gray.9 on light backgrounds, weight 400
9
- * Outside: gray.9 text with colored border matching series, weight 500
8
+ * Inside: White on dark backgrounds, gray.9 on light backgrounds, weight 500
9
+ * Outside: gray.9 text with colored border matching series, weight 600
10
10
  * Size: 11px
11
11
  * @param position - Label position relative to data point
12
12
  * @param type - Series type
@@ -15,7 +15,7 @@ const getValueLabelStyle = (position, type) => {
15
15
  const isInside = position === 'inside';
16
16
  const base = {
17
17
  fontSize: 11,
18
- fontWeight: '500',
18
+ fontWeight: isInside ? '400' : '500',
19
19
  };
20
20
  if (
21
21
  // inside labels for line and area series should have a white border - similar way to bar series for legibility
@@ -24,7 +24,7 @@ const getValueLabelStyle = (position, type) => {
24
24
  return {
25
25
  ...base,
26
26
  textBorderColor: themeColors_1.WHITE,
27
- textBorderWidth: 2,
27
+ textBorderWidth: 1.5,
28
28
  textBorderType: 'solid',
29
29
  };
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"valueLabelStyles.js","sourceRoot":"","sources":["../../../../../src/visualizations/helpers/styles/valueLabelStyles.ts"],"names":[],"mappings":";;;AAAA,4DAA8E;AAC9E,+CAAsC;AAEtC;;;;;;;GAOG;AACI,MAAM,kBAAkB,GAAG,CAC9B,QAAoE,EACpE,IAAoB,EACtB,EAAE;IACA,MAAM,QAAQ,GAAG,QAAQ,KAAK,QAAQ,CAAC;IAEvC,MAAM,IAAI,GAAG;QACT,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,KAAK;KACX,CAAC;IAEX;IACI,+GAA+G;IAC/G,QAAQ;QACR,CAAC,IAAI,KAAK,iCAAmB,CAAC,IAAI,IAAI,IAAI,KAAK,iCAAmB,CAAC,IAAI,CAAC,EAC1E,CAAC;QACC,OAAO;YACH,GAAG,IAAI;YACP,eAAe,EAAE,mBAAK;YACtB,eAAe,EAAE,CAAC;YAClB,cAAc,EAAE,OAAO;SAC1B,CAAC;IACN,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAzBW,QAAA,kBAAkB,sBAyB7B"}
1
+ {"version":3,"file":"valueLabelStyles.js","sourceRoot":"","sources":["../../../../../src/visualizations/helpers/styles/valueLabelStyles.ts"],"names":[],"mappings":";;;AAAA,4DAA8E;AAC9E,+CAAsC;AAEtC;;;;;;;GAOG;AACI,MAAM,kBAAkB,GAAG,CAC9B,QAAoE,EACpE,IAAoB,EACtB,EAAE;IACA,MAAM,QAAQ,GAAG,QAAQ,KAAK,QAAQ,CAAC;IAEvC,MAAM,IAAI,GAAG;QACT,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK;KAC9B,CAAC;IAEX;IACI,+GAA+G;IAC/G,QAAQ;QACR,CAAC,IAAI,KAAK,iCAAmB,CAAC,IAAI,IAAI,IAAI,KAAK,iCAAmB,CAAC,IAAI,CAAC,EAC1E,CAAC;QACC,OAAO;YACH,GAAG,IAAI;YACP,eAAe,EAAE,mBAAK;YACtB,eAAe,EAAE,GAAG;YACpB,cAAc,EAAE,OAAO;SAC1B,CAAC;IACN,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAzBW,QAAA,kBAAkB,sBAyB7B"}