@cratis/scene.blueprint.approvals 4.68.3 → 4.78.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.
package/README.md CHANGED
@@ -1,4 +1,7 @@
1
- # Scene
1
+ # Cratis Scene
2
+
3
+ Cratis Scene is an experimental UI model and runtime for developers building platform-independent,
4
+ Screenplay-based user interfaces.
2
5
 
3
6
  **Describing a user interface without describing a platform** — Scene is the UI model of the Cratis
4
7
  model-first layer (experimental).
@@ -45,7 +48,7 @@ Cratis is an open community, and we are glad to help users, teams evaluating the
45
48
  |---|---|
46
49
  | Discord | Join the community on [Discord](https://discord.gg/kt4AMpV8WV) for questions and discussions |
47
50
  | GitHub Issues | [Report bugs or request features](https://github.com/Cratis/Scene/issues) |
48
- | Documentation | Read the docs at [cratis.io](https://cratis.io) |
51
+ | Documentation | Read the docs at [cratis.io](https://www.cratis.io) |
49
52
 
50
53
  ## The Cratis ecosystem
51
54
 
@@ -38,13 +38,57 @@ const description = 'Requests and approvals: an approver\'s inbox, my requests,
38
38
  id: 'approvals-general',
39
39
  title: 'Approvals · General',
40
40
  locale: 'en-GB',
41
- path: 'sampleData/approvals-general.json'
41
+ path: 'sampleData/approvals-general.json',
42
+ description: 'English requests moving through draft, review and decision.',
43
+ columns: [
44
+ 'Reference',
45
+ 'Title',
46
+ 'Type',
47
+ 'Requester',
48
+ 'Approver'
49
+ ],
50
+ statusColumn: 'Status',
51
+ statuses: {
52
+ good: [
53
+ 'Approved'
54
+ ],
55
+ pending: [
56
+ 'Changes requested',
57
+ 'Draft',
58
+ 'Submitted'
59
+ ],
60
+ bad: [
61
+ 'Rejected'
62
+ ]
63
+ }
42
64
  },
43
65
  {
44
66
  id: 'approvals-nordic',
45
67
  title: 'Approvals · Nordic',
46
68
  locale: 'nb-NO',
47
- path: 'sampleData/approvals-nordic.json'
69
+ path: 'sampleData/approvals-nordic.json',
70
+ description: 'Norwegian requests moving through draft, review and decision.',
71
+ columns: [
72
+ 'Reference',
73
+ 'Title',
74
+ 'Type',
75
+ 'Requester',
76
+ 'Approver'
77
+ ],
78
+ statusColumn: 'Status',
79
+ statuses: {
80
+ good: [
81
+ 'Godkjent'
82
+ ],
83
+ pending: [
84
+ 'Endringer ønskes',
85
+ 'Sendt inn',
86
+ 'Utkast'
87
+ ],
88
+ bad: [
89
+ 'Avslått'
90
+ ]
91
+ }
48
92
  }
49
93
  ],
50
94
  blueprint: {
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sources":["../../manifest.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageKind, ScenePackage } from '@cratis/scene.model';\nimport { approvalsBlueprintName } from './packageName';\nimport { approvalsScreenDefinitions } from './approvalsScreenSet';\nimport { approvalsDialogTemplates, approvalsScreenTemplates } from './templates';\n\nconst description = 'Requests and approvals: an approver\\'s inbox, my requests, a new-request wizard, request pages with their approval chain and the request types an organisation offers.';\n\n/**\n * This blueprint's declaration. A domain blueprint depends on the foundation set (`Cratis.Blueprint.Default`) and reuses its layouts, slots,\n * components and themes - it ships none of its own - and adds what is specific to the domain: templates, a ready-to-use screen set, sample data\n * and thumbnails. The package `version` is the blueprint's version: it is what a template reference pins and what \"update available\" compares.\n */\nexport const approvalsBlueprintManifest: ScenePackage = {\n name: approvalsBlueprintName,\n version: '1.0.0',\n kind: PackageKind.Blueprint,\n dependencies: [{ name: 'Cratis.Blueprint.Default', versionRange: '^1.0.0' }],\n components: [],\n layouts: [],\n screenTemplates: approvalsScreenTemplates.map(template => template.name),\n dialogTemplates: approvalsDialogTemplates.map(template => template.name),\n themes: [],\n displayName: 'Approvals and Requests',\n description,\n module: '@cratis/scene.blueprint.approvals',\n license: 'MIT',\n licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',\n sampleData: [\n { id: 'approvals-general', title: 'Approvals · General', locale: 'en-GB', path: 'sampleData/approvals-general.json' },\n { id: 'approvals-nordic', title: 'Approvals · Nordic', locale: 'nb-NO', path: 'sampleData/approvals-nordic.json' },\n ],\n blueprint: {\n domain: 'approvals',\n description,\n thumbnail: 'thumbnails/approvals.svg',\n screenSet: approvalsScreenDefinitions.map(({ name, title, description: screenDescription, template, parent, order }) => ({\n name, title, description: screenDescription, template, ...(parent === undefined ? {} : { parent }), ...(order === undefined ? {} : { order }),\n })),\n defaultSampleData: 'approvals-general',\n },\n};\n"],"names":["description","approvalsBlueprintManifest","name","approvalsBlueprintName","version","kind","PackageKind","Blueprint","dependencies","versionRange","components","layouts","screenTemplates","approvalsScreenTemplates","map","template","dialogTemplates","approvalsDialogTemplates","themes","displayName","module","license","licenseUrl","sampleData","id","title","locale","path","blueprint","domain","thumbnail","screenSet","approvalsScreenDefinitions","screenDescription","parent","order","undefined","defaultSampleData"],"mappings":";;;;;;;;AAAA;AACA;AAOA,MAAMA,WAAAA,GAAc,wKAAA;AAEpB;;;;UAKaC,0BAAAA,GAA2C;IACpDC,IAAAA,EAAMC,kCAAAA;IACNC,OAAAA,EAAS,OAAA;AACTC,IAAAA,IAAAA,EAAMC,wBAAYC,SAAS;IAC3BC,YAAAA,EAAc;AAAC,QAAA;YAAEN,IAAAA,EAAM,0BAAA;YAA4BO,YAAAA,EAAc;AAAS;AAAE,KAAA;AAC5EC,IAAAA,UAAAA,EAAY,EAAE;AACdC,IAAAA,OAAAA,EAAS,EAAE;AACXC,IAAAA,eAAAA,EAAiBC,+BAAyBC,GAAG,CAACC,CAAAA,QAAAA,GAAYA,SAASb,IAAI,CAAA;AACvEc,IAAAA,eAAAA,EAAiBC,uCAAyBH,GAAG,CAACC,CAAAA,QAAAA,GAAYA,SAASb,IAAI,CAAA;AACvEgB,IAAAA,MAAAA,EAAQ,EAAE;IACVC,WAAAA,EAAa,wBAAA;AACbnB,IAAAA,WAAAA;IACAoB,MAAAA,EAAQ,mCAAA;IACRC,OAAAA,EAAS,KAAA;IACTC,UAAAA,EAAY,mDAAA;IACZC,UAAAA,EAAY;AACR,QAAA;YAAEC,EAAAA,EAAI,mBAAA;YAAqBC,KAAAA,EAAO,qBAAA;YAAuBC,MAAAA,EAAQ,OAAA;YAASC,IAAAA,EAAM;AAAoC,SAAA;AACpH,QAAA;YAAEH,EAAAA,EAAI,kBAAA;YAAoBC,KAAAA,EAAO,oBAAA;YAAsBC,MAAAA,EAAQ,OAAA;YAASC,IAAAA,EAAM;AAAmC;AACpH,KAAA;IACDC,SAAAA,EAAW;QACPC,MAAAA,EAAQ,WAAA;AACR7B,QAAAA,WAAAA;QACA8B,SAAAA,EAAW,0BAAA;AACXC,QAAAA,SAAAA,EAAWC,8CAA2BlB,GAAG,CAAC,CAAC,EAAEZ,IAAI,EAAEuB,KAAK,EAAEzB,aAAaiC,iBAAiB,EAAElB,QAAQ,EAAEmB,MAAM,EAAEC,KAAK,EAAE,IAAM;AACrHjC,gBAAAA,IAAAA;AAAMuB,gBAAAA,KAAAA;gBAAOzB,WAAAA,EAAaiC,iBAAAA;AAAmBlB,gBAAAA,QAAAA;gBAAU,GAAImB,MAAAA,KAAWE,SAAAA,GAAY,EAAC,GAAI;AAAEF,oBAAAA;iBAAQ;gBAAG,GAAIC,KAAAA,KAAUC,SAAAA,GAAY,EAAC,GAAI;AAAED,oBAAAA;;aACzI,CAAA,CAAA;QACAE,iBAAAA,EAAmB;AACvB;AACJ;;"}
1
+ {"version":3,"file":"manifest.js","sources":["../../manifest.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageKind, ScenePackage } from '@cratis/scene.model';\nimport { approvalsBlueprintName } from './packageName';\nimport { approvalsScreenDefinitions } from './approvalsScreenSet';\nimport { approvalsDialogTemplates, approvalsScreenTemplates } from './templates';\n\nconst description = 'Requests and approvals: an approver\\'s inbox, my requests, a new-request wizard, request pages with their approval chain and the request types an organisation offers.';\n\n/**\n * This blueprint's declaration. A domain blueprint depends on the foundation set (`Cratis.Blueprint.Default`) and reuses its layouts, slots,\n * components and themes - it ships none of its own - and adds what is specific to the domain: templates, a ready-to-use screen set, sample data\n * and thumbnails. The package `version` is the blueprint's version: it is what a template reference pins and what \"update available\" compares.\n */\nexport const approvalsBlueprintManifest: ScenePackage = {\n name: approvalsBlueprintName,\n version: '1.0.0',\n kind: PackageKind.Blueprint,\n dependencies: [{ name: 'Cratis.Blueprint.Default', versionRange: '^1.0.0' }],\n components: [],\n layouts: [],\n screenTemplates: approvalsScreenTemplates.map(template => template.name),\n dialogTemplates: approvalsDialogTemplates.map(template => template.name),\n themes: [],\n displayName: 'Approvals and Requests',\n description,\n module: '@cratis/scene.blueprint.approvals',\n license: 'MIT',\n licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',\n sampleData: [\n { id: 'approvals-general', title: 'Approvals · General', locale: 'en-GB', path: 'sampleData/approvals-general.json', description: 'English requests moving through draft, review and decision.', columns: ['Reference', 'Title', 'Type', 'Requester', 'Approver'], statusColumn: 'Status', statuses: { good: ['Approved'], pending: ['Changes requested', 'Draft', 'Submitted'], bad: ['Rejected'] } },\n { id: 'approvals-nordic', title: 'Approvals · Nordic', locale: 'nb-NO', path: 'sampleData/approvals-nordic.json', description: 'Norwegian requests moving through draft, review and decision.', columns: ['Reference', 'Title', 'Type', 'Requester', 'Approver'], statusColumn: 'Status', statuses: { good: ['Godkjent'], pending: ['Endringer ønskes', 'Sendt inn', 'Utkast'], bad: ['Avslått'] } },\n ],\n blueprint: {\n domain: 'approvals',\n description,\n thumbnail: 'thumbnails/approvals.svg',\n screenSet: approvalsScreenDefinitions.map(({ name, title, description: screenDescription, template, parent, order }) => ({\n name, title, description: screenDescription, template, ...(parent === undefined ? {} : { parent }), ...(order === undefined ? {} : { order }),\n })),\n defaultSampleData: 'approvals-general',\n },\n};\n"],"names":["description","approvalsBlueprintManifest","name","approvalsBlueprintName","version","kind","PackageKind","Blueprint","dependencies","versionRange","components","layouts","screenTemplates","approvalsScreenTemplates","map","template","dialogTemplates","approvalsDialogTemplates","themes","displayName","module","license","licenseUrl","sampleData","id","title","locale","path","columns","statusColumn","statuses","good","pending","bad","blueprint","domain","thumbnail","screenSet","approvalsScreenDefinitions","screenDescription","parent","order","undefined","defaultSampleData"],"mappings":";;;;;;;;AAAA;AACA;AAOA,MAAMA,WAAAA,GAAc,wKAAA;AAEpB;;;;UAKaC,0BAAAA,GAA2C;IACpDC,IAAAA,EAAMC,kCAAAA;IACNC,OAAAA,EAAS,OAAA;AACTC,IAAAA,IAAAA,EAAMC,wBAAYC,SAAS;IAC3BC,YAAAA,EAAc;AAAC,QAAA;YAAEN,IAAAA,EAAM,0BAAA;YAA4BO,YAAAA,EAAc;AAAS;AAAE,KAAA;AAC5EC,IAAAA,UAAAA,EAAY,EAAE;AACdC,IAAAA,OAAAA,EAAS,EAAE;AACXC,IAAAA,eAAAA,EAAiBC,+BAAyBC,GAAG,CAACC,CAAAA,QAAAA,GAAYA,SAASb,IAAI,CAAA;AACvEc,IAAAA,eAAAA,EAAiBC,uCAAyBH,GAAG,CAACC,CAAAA,QAAAA,GAAYA,SAASb,IAAI,CAAA;AACvEgB,IAAAA,MAAAA,EAAQ,EAAE;IACVC,WAAAA,EAAa,wBAAA;AACbnB,IAAAA,WAAAA;IACAoB,MAAAA,EAAQ,mCAAA;IACRC,OAAAA,EAAS,KAAA;IACTC,UAAAA,EAAY,mDAAA;IACZC,UAAAA,EAAY;AACR,QAAA;YAAEC,EAAAA,EAAI,mBAAA;YAAqBC,KAAAA,EAAO,qBAAA;YAAuBC,MAAAA,EAAQ,OAAA;YAASC,IAAAA,EAAM,mCAAA;YAAqC3B,WAAAA,EAAa,6DAAA;YAA+D4B,OAAAA,EAAS;AAAC,gBAAA,WAAA;AAAa,gBAAA,OAAA;AAAS,gBAAA,MAAA;AAAQ,gBAAA,WAAA;AAAa,gBAAA;AAAW,aAAA;YAAEC,YAAAA,EAAc,QAAA;YAAUC,QAAAA,EAAU;gBAAEC,IAAAA,EAAM;AAAC,oBAAA;AA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,EAAmB;AACvB;AACJ;;"}
@@ -36,13 +36,57 @@ const description = 'Requests and approvals: an approver\'s inbox, my requests,
36
36
  id: 'approvals-general',
37
37
  title: 'Approvals · General',
38
38
  locale: 'en-GB',
39
- path: 'sampleData/approvals-general.json'
39
+ path: 'sampleData/approvals-general.json',
40
+ description: 'English requests moving through draft, review and decision.',
41
+ columns: [
42
+ 'Reference',
43
+ 'Title',
44
+ 'Type',
45
+ 'Requester',
46
+ 'Approver'
47
+ ],
48
+ statusColumn: 'Status',
49
+ statuses: {
50
+ good: [
51
+ 'Approved'
52
+ ],
53
+ pending: [
54
+ 'Changes requested',
55
+ 'Draft',
56
+ 'Submitted'
57
+ ],
58
+ bad: [
59
+ 'Rejected'
60
+ ]
61
+ }
40
62
  },
41
63
  {
42
64
  id: 'approvals-nordic',
43
65
  title: 'Approvals · Nordic',
44
66
  locale: 'nb-NO',
45
- path: 'sampleData/approvals-nordic.json'
67
+ path: 'sampleData/approvals-nordic.json',
68
+ description: 'Norwegian requests moving through draft, review and decision.',
69
+ columns: [
70
+ 'Reference',
71
+ 'Title',
72
+ 'Type',
73
+ 'Requester',
74
+ 'Approver'
75
+ ],
76
+ statusColumn: 'Status',
77
+ statuses: {
78
+ good: [
79
+ 'Godkjent'
80
+ ],
81
+ pending: [
82
+ 'Endringer ønskes',
83
+ 'Sendt inn',
84
+ 'Utkast'
85
+ ],
86
+ bad: [
87
+ 'Avslått'
88
+ ]
89
+ }
46
90
  }
47
91
  ],
48
92
  blueprint: {
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sources":["../../manifest.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageKind, ScenePackage } from '@cratis/scene.model';\nimport { approvalsBlueprintName } from './packageName';\nimport { approvalsScreenDefinitions } from './approvalsScreenSet';\nimport { approvalsDialogTemplates, approvalsScreenTemplates } from './templates';\n\nconst description = 'Requests and approvals: an approver\\'s inbox, my requests, a new-request wizard, request pages with their approval chain and the request types an organisation offers.';\n\n/**\n * This blueprint's declaration. A domain blueprint depends on the foundation set (`Cratis.Blueprint.Default`) and reuses its layouts, slots,\n * components and themes - it ships none of its own - and adds what is specific to the domain: templates, a ready-to-use screen set, sample data\n * and thumbnails. The package `version` is the blueprint's version: it is what a template reference pins and what \"update available\" compares.\n */\nexport const approvalsBlueprintManifest: ScenePackage = {\n name: approvalsBlueprintName,\n version: '1.0.0',\n kind: PackageKind.Blueprint,\n dependencies: [{ name: 'Cratis.Blueprint.Default', versionRange: '^1.0.0' }],\n components: [],\n layouts: [],\n screenTemplates: approvalsScreenTemplates.map(template => template.name),\n dialogTemplates: approvalsDialogTemplates.map(template => template.name),\n themes: [],\n displayName: 'Approvals and Requests',\n description,\n module: '@cratis/scene.blueprint.approvals',\n license: 'MIT',\n licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',\n sampleData: [\n { id: 'approvals-general', title: 'Approvals · General', locale: 'en-GB', path: 'sampleData/approvals-general.json' },\n { id: 'approvals-nordic', title: 'Approvals · Nordic', locale: 'nb-NO', path: 'sampleData/approvals-nordic.json' },\n ],\n blueprint: {\n domain: 'approvals',\n description,\n thumbnail: 'thumbnails/approvals.svg',\n screenSet: approvalsScreenDefinitions.map(({ name, title, description: screenDescription, template, parent, order }) => ({\n name, title, description: screenDescription, template, ...(parent === undefined ? {} : { parent }), ...(order === undefined ? {} : { order }),\n })),\n defaultSampleData: 'approvals-general',\n },\n};\n"],"names":["description","approvalsBlueprintManifest","name","approvalsBlueprintName","version","kind","PackageKind","Blueprint","dependencies","versionRange","components","layouts","screenTemplates","approvalsScreenTemplates","map","template","dialogTemplates","approvalsDialogTemplates","themes","displayName","module","license","licenseUrl","sampleData","id","title","locale","path","blueprint","domain","thumbnail","screenSet","approvalsScreenDefinitions","screenDescription","parent","order","undefined","defaultSampleData"],"mappings":";;;;;;AAAA;AACA;AAOA,MAAMA,WAAAA,GAAc,wKAAA;AAEpB;;;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OzB,WAAAA,EAAaiC,iBAAAA;AAAmBlB,gBAAAA,QAAAA;gBAAU,GAAImB,MAAAA,KAAWE,SAAAA,GAAY,EAAC,GAAI;AAAEF,oBAAAA;iBAAQ;gBAAG,GAAIC,KAAAA,KAAUC,SAAAA,GAAY,EAAC,GAAI;AAAED,oBAAAA;;aACzI,CAAA,CAAA;QACAE,iBAAAA,EAAmB;AACvB;AACJ;;"}
1
+ {"version":3,"file":"manifest.js","sources":["../../manifest.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageKind, ScenePackage } from '@cratis/scene.model';\nimport { approvalsBlueprintName } from './packageName';\nimport { approvalsScreenDefinitions } from './approvalsScreenSet';\nimport { approvalsDialogTemplates, approvalsScreenTemplates } from './templates';\n\nconst description = 'Requests and approvals: an approver\\'s inbox, my requests, a new-request wizard, request pages with their approval chain and the request types an organisation offers.';\n\n/**\n * This blueprint's declaration. A domain blueprint depends on the foundation set (`Cratis.Blueprint.Default`) and reuses its layouts, slots,\n * components and themes - it ships none of its own - and adds what is specific to the domain: templates, a ready-to-use screen set, sample data\n * and thumbnails. The package `version` is the blueprint's version: it is what a template reference pins and what \"update available\" compares.\n */\nexport const approvalsBlueprintManifest: ScenePackage = {\n name: approvalsBlueprintName,\n version: '1.0.0',\n kind: PackageKind.Blueprint,\n dependencies: [{ name: 'Cratis.Blueprint.Default', versionRange: '^1.0.0' }],\n components: [],\n layouts: [],\n screenTemplates: approvalsScreenTemplates.map(template => template.name),\n dialogTemplates: approvalsDialogTemplates.map(template => template.name),\n themes: [],\n displayName: 'Approvals and Requests',\n description,\n module: '@cratis/scene.blueprint.approvals',\n license: 'MIT',\n licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',\n sampleData: [\n { id: 'approvals-general', title: 'Approvals · General', locale: 'en-GB', path: 'sampleData/approvals-general.json', description: 'English requests moving through draft, review and decision.', columns: ['Reference', 'Title', 'Type', 'Requester', 'Approver'], statusColumn: 'Status', statuses: { good: ['Approved'], pending: ['Changes requested', 'Draft', 'Submitted'], bad: ['Rejected'] } },\n { id: 'approvals-nordic', title: 'Approvals · Nordic', locale: 'nb-NO', path: 'sampleData/approvals-nordic.json', description: 'Norwegian requests moving through draft, review and decision.', columns: ['Reference', 'Title', 'Type', 'Requester', 'Approver'], statusColumn: 'Status', statuses: { good: ['Godkjent'], pending: ['Endringer ønskes', 'Sendt inn', 'Utkast'], bad: ['Avslått'] } },\n ],\n blueprint: {\n domain: 'approvals',\n description,\n thumbnail: 'thumbnails/approvals.svg',\n screenSet: approvalsScreenDefinitions.map(({ name, title, description: screenDescription, template, parent, order }) => ({\n name, title, description: screenDescription, template, ...(parent === undefined ? {} : { parent }), ...(order === undefined ? {} : { order }),\n })),\n defaultSampleData: 'approvals-general',\n },\n};\n"],"names":["description","approvalsBlueprintManifest","name","approvalsBlueprintName","version","kind","PackageKind","Blueprint","dependencies","versionRange","components","layouts","screenTemplates","approvalsScreenTemplates","map","template","dialogTemplates","approvalsDialogTemplates","themes","displayName","module","license","licenseUrl","sampleData","id","title","locale","path","columns","statusColumn","statuses","good","pending","bad","blueprint","domain","thumbnail","screenSet","approvalsScreenDefinitions","screenDescription","parent","order","undefined","defaultSampleData"],"mappings":";;;;;;AAAA;AACA;AAOA,MAAMA,WAAAA,GAAc,wKAAA;AAEpB;;;;UAKaC,0BAAAA,GAA2C;IACpDC,IAAAA,EAAMC,sBAAAA;IACNC,OAAAA,EAAS,OAAA;AACTC,IAAAA,IAAAA,EAAMC,YAAYC,SAAS;IAC3BC,YAAAA,EAAc;AAAC,QAAA;YAAEN,IAAAA,EAAM,0BAAA;YAA4BO,YAAAA,EAAc;AAAS;AAAE,KAAA;AAC5EC,IAAAA,UAAAA,EAAY,EAAE;AACdC,IAAAA,OAAAA,EAAS,EAAE;AACXC,IAAAA,eAAAA,EAAiBC,yBAAyBC,GAAG,CAACC,CAAAA,QAAAA,GAAYA,SAASb,IAAI,C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