@epam/ai-dial-publish-panel 1.1.2 → 1.2.0-dev.101
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/components/PublishHistoryList/PublishHistoryList.d.ts +8 -0
- package/components/PublishHistoryList/PublishHistoryList.d.ts.map +1 -1
- package/components/PublishPanel/PublishPanel.d.ts +19 -0
- package/components/PublishPanel/PublishPanel.d.ts.map +1 -1
- package/constants/public-class-names.d.ts +5 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +613 -12141
- package/models/publish.d.ts +7 -0
- package/models/publish.d.ts.map +1 -1
- package/package.json +4 -4
- package/utils/use-publish-flow.d.ts +20 -3
- package/utils/use-publish-flow.d.ts.map +1 -1
|
@@ -17,6 +17,8 @@ export interface PublishHistoryListProps {
|
|
|
17
17
|
versionPrefix?: string;
|
|
18
18
|
/** Label for the badge on the entry matching `currentVersion`. Default: `'Current'`. */
|
|
19
19
|
currentBadgeLabel?: string;
|
|
20
|
+
/** Label marking an entry whose `publishCredentials` is `true`. Default: `'Shared credentials'`. */
|
|
21
|
+
sharedCredentialsLabel?: string;
|
|
20
22
|
/** Message shown when `entries` is empty. Default: `'Not published to this folder yet — this will be the first version here.'`. */
|
|
21
23
|
emptyStateLabel?: string;
|
|
22
24
|
/** Message shown while history is loading. Default: `'Loading history…'`. */
|
|
@@ -40,6 +42,12 @@ export interface PublishHistoryListColors {
|
|
|
40
42
|
currentBadgeBackground?: string;
|
|
41
43
|
/** Text color of the "Current" badge. Fallback: `--text-accent`. */
|
|
42
44
|
currentBadgeText?: string;
|
|
45
|
+
/** Border color of the shared-credentials marker. Fallback: `--stroke-tertiary`. */
|
|
46
|
+
sharedCredentialsBadgeBorder?: string;
|
|
47
|
+
/** Background color of the shared-credentials marker. Fallback: `--bg-layer-sunken`. */
|
|
48
|
+
sharedCredentialsBadgeBackground?: string;
|
|
49
|
+
/** Text color of the shared-credentials marker. Fallback: `--text-secondary`. */
|
|
50
|
+
sharedCredentialsBadgeText?: string;
|
|
43
51
|
/** Text color of each entry's version line. Fallback: `--text-primary`. */
|
|
44
52
|
versionText?: string;
|
|
45
53
|
/** Text color of each entry's publish date. Fallback: `--text-secondary`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishHistoryList/PublishHistoryList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,sIAAsI;IACtI,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB;IACvB,MAAM,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,iHAAiH;AACjH,MAAM,WAAW,wBAAwB;IACvC,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sFAAsF;IACtF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,oIAAoI;AACpI,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"PublishHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/PublishHistoryList/PublishHistoryList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,sIAAsI;IACtI,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+FAA+F;IAC/F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oHAAoH;IACpH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oGAAoG;IACpG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,mIAAmI;IACnI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB;IACvB,MAAM,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,iHAAiH;AACjH,MAAM,WAAW,wBAAwB;IACvC,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sFAAsF;IACtF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,wFAAwF;IACxF,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,iFAAiF;IACjF,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2EAA2E;IAC3E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wFAAwF;IACxF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,oIAAoI;AACpI,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAoG1D,CAAC"}
|
|
@@ -16,6 +16,10 @@ export interface PublishPanelLabels {
|
|
|
16
16
|
authorPlaceholder?: string;
|
|
17
17
|
/** Helper text below the display-author field. Default explains the value is shown as the publication's author. */
|
|
18
18
|
authorHint?: string;
|
|
19
|
+
/** Label for the credentials opt-in. Default: `'Publish with my credentials'`. */
|
|
20
|
+
credentialsLabel?: string;
|
|
21
|
+
/** Caption below the credentials opt-in, stating what ticking it does. Default explains members will use the resource without authorising and that the credential itself is never shown to them. */
|
|
22
|
+
credentialsHint?: string;
|
|
19
23
|
/** Label above the publish history list. Default: `'Versions history'`. */
|
|
20
24
|
historyLabel?: string;
|
|
21
25
|
/** Warning callout body shown when the folder already has this version; `{version}` and `{folder}` are replaced, with the folder name rendered bold. */
|
|
@@ -42,6 +46,8 @@ export interface PublishPanelLabels {
|
|
|
42
46
|
historyLoadingLabel?: string;
|
|
43
47
|
/** Message shown when publish history failed to load. */
|
|
44
48
|
historyErrorLabel?: string;
|
|
49
|
+
/** Label marking a history entry that carried shared credentials. Default: `'Shared credentials'`. */
|
|
50
|
+
historySharedCredentialsLabel?: string;
|
|
45
51
|
/** Label used for the bucket root as a destination and as `{folder}` in callouts when it is selected. Default: `'Organization'`. */
|
|
46
52
|
rootFolderLabel?: string;
|
|
47
53
|
/** Version tag text in the entity-header summary row; `{version}` is replaced. Default: `'Version {version} · current'`. */
|
|
@@ -119,6 +125,19 @@ export interface PublishPanelProps {
|
|
|
119
125
|
author: string;
|
|
120
126
|
/** Called with the next author value on every edit. */
|
|
121
127
|
onAuthorChange: (author: string) => void;
|
|
128
|
+
/**
|
|
129
|
+
* Whether the publication should carry the publisher's own credentials.
|
|
130
|
+
* Only rendered when `onPublishCredentialsChange` is supplied. Default:
|
|
131
|
+
* `false`.
|
|
132
|
+
*/
|
|
133
|
+
publishCredentials?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Called with the next value when the credentials opt-in is toggled.
|
|
136
|
+
* Supplying it is what renders the control at all — a host with no use for
|
|
137
|
+
* it gets exactly the panel it had before. The panel holds no state of its
|
|
138
|
+
* own for the value.
|
|
139
|
+
*/
|
|
140
|
+
onPublishCredentialsChange?: (value: boolean) => void;
|
|
122
141
|
/** Current access rules, combined with AND. */
|
|
123
142
|
rules: PublicationRule[];
|
|
124
143
|
/** Called with the full next rules array on add, remove, or clear. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PublishPanel.d.ts","sourceRoot":"","sources":["../../../src/components/PublishPanel/PublishPanel.tsx"],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d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB;IAC9B,8DAA8D;;CAEtD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
._dialog_jqcm2_5{background:var(--pare-mobile-bg,var(--bg-layer-sunken,#eef1f7))}@media (width>=1280px){._dialog_jqcm2_5{background:var(--pare-bg,var(--bg-layer-base,#f5f7fa))}}._error_jqcm2_14{color:var(--pare-error-text,var(--text-error,#ae2f2f))}._selectField_jqcm2_28.dial-kit-input{border-color:var(--pare-select-border,var(--stroke-tertiary,#e0e6f0))!important}@media (hover:hover){._selectField_jqcm2_28.dial-kit-input:hover:not(:focus-within){border-color:var(--pare-select-border-hover,var(--stroke-secondary,#d1dbea))!important}}._selectField_jqcm2_28.dial-kit-input:focus-within{border-color:var(--pare-select-border-focus,var(--stroke-accent,#1d4ed8))!important}._selectFieldOpen_jqcm2_40.dial-kit-input{border-color:var(--pare-select-border-open,var(--stroke-accent,#1d4ed8))!important}._ruleRow_nx0en_1{background:var(--par-rule-bg,var(--bg-layer-base,#f5f7fa))}._heading_nx0en_5{color:var(--par-heading-text,var(--text-primary,#161b2d))}._hint_nx0en_9{color:var(--par-hint-text,var(--text-primary,#161b2d))}._loading_nx0en_13{color:var(--par-loading-text,var(--text-primary,#161b2d))}._ruleText_nx0en_17{color:var(--par-rule-text,var(--text-primary,#161b2d))}.
|
|
1
|
+
._dialog_jqcm2_5{background:var(--pare-mobile-bg,var(--bg-layer-sunken,#eef1f7))}@media (width>=1280px){._dialog_jqcm2_5{background:var(--pare-bg,var(--bg-layer-base,#f5f7fa))}}._error_jqcm2_14{color:var(--pare-error-text,var(--text-error,#ae2f2f))}._selectField_jqcm2_28.dial-kit-input{border-color:var(--pare-select-border,var(--stroke-tertiary,#e0e6f0))!important}@media (hover:hover){._selectField_jqcm2_28.dial-kit-input:hover:not(:focus-within){border-color:var(--pare-select-border-hover,var(--stroke-secondary,#d1dbea))!important}}._selectField_jqcm2_28.dial-kit-input:focus-within{border-color:var(--pare-select-border-focus,var(--stroke-accent,#1d4ed8))!important}._selectFieldOpen_jqcm2_40.dial-kit-input{border-color:var(--pare-select-border-open,var(--stroke-accent,#1d4ed8))!important}._ruleRow_nx0en_1{background:var(--par-rule-bg,var(--bg-layer-base,#f5f7fa))}._heading_nx0en_5{color:var(--par-heading-text,var(--text-primary,#161b2d))}._hint_nx0en_9{color:var(--par-hint-text,var(--text-primary,#161b2d))}._loading_nx0en_13{color:var(--par-loading-text,var(--text-primary,#161b2d))}._ruleText_nx0en_17{color:var(--par-rule-text,var(--text-primary,#161b2d))}._currentBadge_d0adf_1{border-color:var(--phl-badge-border,var(--stroke-tertiary,#e0e6f0))!important;background:var(--phl-badge-bg,var(--bg-control-accent-alpha,#2764d90f))!important;color:var(--phl-badge-text,var(--text-accent,#1d4ed8))!important}._sharedCredentialsBadge_d0adf_7{border-color:var(--phl-shared-creds-border,var(--stroke-tertiary,#e0e6f0))!important;background:var(--phl-shared-creds-bg,var(--bg-layer-sunken,#eef1f7))!important;color:var(--phl-shared-creds-text,var(--text-secondary,#57647a))!important}._version_d0adf_13{color:var(--phl-version-text,var(--text-primary,#161b2d))}._date_d0adf_17{color:var(--phl-date-text,var(--text-secondary,#57647a))}._emptyState_d0adf_21{color:var(--phl-empty-text,var(--text-secondary,#57647a))}._stripedRow_d0adf_25{background:var(--phl-striped-bg,var(--bg-layer-sunken,#eef1f7))}._divider_1gs31_1{background:var(--pft-divider,var(--stroke-tertiary,#e0e6f0))}._tree_1gs31_17 .dial-kit-input{height:20px;padding-block:0;padding-inline:7px}._summaryTitle_tf20a_1{color:var(--pp-summary-title-text,var(--text-primary,#161b2d))}._sectionHeading_tf20a_5{color:var(--pp-heading-text,var(--text-primary,#161b2d))}._footer_dks1v_1{border-color:var(--pf-border,var(--stroke-tertiary,#e0e6f0))}._backdrop_1rdk6_1{background:var(--spp-backdrop-bg,var(--bg-backdrop,#161b2d4d))}._panel_1rdk6_5{background:var(--spp-panel-bg,var(--bg-layer-raised,#fcfcfc));border-inline-start-color:var(--spp-panel-border,var(--stroke-secondary,#d1dbea))}._divider_1rdk6_10{border-block-end:1px solid var(--spp-divider-border,var(--stroke-tertiary,#e0e6f0))}._content_1rdk6_14{scrollbar-width:thin;scrollbar-color:var(--spp-scrollbar-thumb,var(--stroke-secondary,#d1dbea)) transparent}._title_1rdk6_19{color:var(--spp-title-text,var(--text-primary,#161b2d))}
|
|
2
2
|
/*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.inset-y-0{bottom:0;top:0}.end-0{inset-inline-end:0}.z-\[51\]{z-index:51}.z-\[52\]{z-index:52}.z-\[60\]{z-index:60}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-px{height:1px}.min-h-0{min-height:0}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x:100%}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-t{border-top-width:1px}.p-4{padding:1rem}.p-\[22px\]{padding:22px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-\[22px\]{padding-left:22px;padding-right:22px}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\[11px\]{padding-bottom:11px;padding-top:11px}.text-center{text-align:center}.font-semibold{font-weight:600}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-60{opacity:.6}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}@media (min-width:1280px){.desktop\:static{position:static}.desktop\:z-auto{z-index:auto}.desktop\:mt-2{margin-top:.5rem}.desktop\:w-\[540px\]{width:540px}.desktop\:flex-none{flex:none}.desktop\:overflow-visible{overflow:visible}.desktop\:rounded-lg{border-radius:.5rem}.desktop\:border-s{border-inline-start-width:1px}.desktop\:p-3{padding:.75rem}}.rtl\:-translate-x-full:where([dir=rtl],[dir=rtl] *){--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rtl\:flex-row-reverse:where([dir=rtl],[dir=rtl] *){flex-direction:row-reverse}.rtl\:justify-start:where([dir=rtl],[dir=rtl] *){justify-content:flex-start}
|
package/index.d.ts
CHANGED
|
@@ -22,4 +22,5 @@ export { PublishFooter } from './components/PublishPanel/PublishFooter';
|
|
|
22
22
|
export type { PublishFooterColors, PublishFooterProps, PublishFooterLabels, } from './components/PublishPanel/PublishFooter';
|
|
23
23
|
export { StandalonePublishPanel } from './components/PublishPanel/StandalonePublishPanel';
|
|
24
24
|
export type { StandalonePublishPanelColors, StandalonePublishPanelProps, StandalonePublishPanelLabels, } from './components/PublishPanel/StandalonePublishPanel';
|
|
25
|
+
export { PUBLISH_PANEL_CLASS } from './constants/public-class-names';
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,YAAY,EACV,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,4BAA4B,EAAE,MAAM,6BAA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