@qrunio/qqq-frontend-core 0.40.6-SNAPSHOT → 0.40.7-SNAPSHOT
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/lib/model/metaData/Collapsible.d.ts +13 -0
- package/lib/model/metaData/Collapsible.js +54 -0
- package/lib/model/metaData/Collapsible.js.map +1 -0
- package/lib/model/metaData/QAppMetaData.d.ts +0 -2
- package/lib/model/metaData/QAppMetaData.js +0 -4
- package/lib/model/metaData/QAppMetaData.js.map +1 -1
- package/lib/model/metaData/QAppSection.d.ts +0 -1
- package/lib/model/metaData/QAppSection.js +0 -3
- package/lib/model/metaData/QAppSection.js.map +1 -1
- package/lib/model/metaData/QAppTreeNode.d.ts +0 -1
- package/lib/model/metaData/QAppTreeNode.js +0 -1
- package/lib/model/metaData/QAppTreeNode.js.map +1 -1
- package/lib/model/metaData/QTableSection.d.ts +2 -0
- package/lib/model/metaData/QTableSection.js +6 -0
- package/lib/model/metaData/QTableSection.js.map +1 -1
- package/lib/model/metaData/QWidgetMetaData.d.ts +2 -0
- package/lib/model/metaData/QWidgetMetaData.js +4 -0
- package/lib/model/metaData/QWidgetMetaData.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
** Meta-Data to define Collapsible state, e.g., for a section or widget
|
|
3
|
+
**
|
|
4
|
+
*******************************************************************************/
|
|
5
|
+
export declare class Collapsible {
|
|
6
|
+
isCollapsible: boolean;
|
|
7
|
+
initiallyOpen: boolean;
|
|
8
|
+
constructor(object: any);
|
|
9
|
+
/***************************************************************************
|
|
10
|
+
*
|
|
11
|
+
***************************************************************************/
|
|
12
|
+
clone(): Collapsible;
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2022. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
var __assign = (this && this.__assign) || function () {
|
|
22
|
+
__assign = Object.assign || function(t) {
|
|
23
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
24
|
+
s = arguments[i];
|
|
25
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
26
|
+
t[p] = s[p];
|
|
27
|
+
}
|
|
28
|
+
return t;
|
|
29
|
+
};
|
|
30
|
+
return __assign.apply(this, arguments);
|
|
31
|
+
};
|
|
32
|
+
/*******************************************************************************
|
|
33
|
+
** Meta-Data to define Collapsible state, e.g., for a section or widget
|
|
34
|
+
**
|
|
35
|
+
*******************************************************************************/
|
|
36
|
+
var Collapsible = /** @class */ (function () {
|
|
37
|
+
function Collapsible(object) {
|
|
38
|
+
////////////////////////////////////////////////////////////////////////////
|
|
39
|
+
// use value === true to let undefined (or any other) values become false //
|
|
40
|
+
////////////////////////////////////////////////////////////////////////////
|
|
41
|
+
this.isCollapsible = object.isCollapsible === true;
|
|
42
|
+
this.initiallyOpen = object.initiallyOpen === true;
|
|
43
|
+
}
|
|
44
|
+
/***************************************************************************
|
|
45
|
+
*
|
|
46
|
+
***************************************************************************/
|
|
47
|
+
Collapsible.prototype.clone = function () {
|
|
48
|
+
var clone = new Collapsible(__assign({}, this));
|
|
49
|
+
return (clone);
|
|
50
|
+
};
|
|
51
|
+
return Collapsible;
|
|
52
|
+
}());
|
|
53
|
+
export { Collapsible };
|
|
54
|
+
//# sourceMappingURL=Collapsible.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collapsible.js","sourceRoot":"","sources":["../../../src/model/metaData/Collapsible.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;AAEH;;;iFAGiF;AACjF;IAKG,qBAAY,MAAW;QAEpB,4EAA4E;QAC5E,4EAA4E;QAC5E,4EAA4E;QAC5E,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,KAAK,IAAI,CAAC;QACnD,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,KAAK,IAAI,CAAC;IACtD,CAAC;IAGD;;iFAE6E;IACtE,2BAAK,GAAZ;QAEG,IAAM,KAAK,GAAG,IAAI,WAAW,cACvB,IAAI,EACR,CAAC;QACH,OAAO,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IACJ,kBAAC;AAAD,CAAC,AAzBD,IAyBC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { QAppSection } from "./QAppSection";
|
|
2
2
|
import { QAppTreeNode } from "./QAppTreeNode";
|
|
3
|
-
import { QHelpContent } from "./QHelpContent";
|
|
4
3
|
/*******************************************************************************
|
|
5
4
|
** Meta-Data to define an app in a QQQ instance.
|
|
6
5
|
**
|
|
@@ -14,6 +13,5 @@ export declare class QAppMetaData {
|
|
|
14
13
|
widgets?: string[];
|
|
15
14
|
sections?: QAppSection[];
|
|
16
15
|
supplementalAppMetaData: Map<String, any>;
|
|
17
|
-
helpContent?: Map<string, QHelpContent[]>;
|
|
18
16
|
constructor(object: any);
|
|
19
17
|
}
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { QAppSection } from "./QAppSection";
|
|
22
22
|
import { QAppTreeNode } from "./QAppTreeNode";
|
|
23
|
-
import { QHelpContent } from "./QHelpContent";
|
|
24
23
|
/*******************************************************************************
|
|
25
24
|
** Meta-Data to define an app in a QQQ instance.
|
|
26
25
|
**
|
|
@@ -51,9 +50,6 @@ var QAppMetaData = /** @class */ (function () {
|
|
|
51
50
|
this.supplementalAppMetaData.set(key, object.supplementalAppMetaData[key]);
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
|
-
if (object.helpContents) {
|
|
55
|
-
this.helpContent = QHelpContent.buildMap(object.helpContents);
|
|
56
|
-
}
|
|
57
53
|
}
|
|
58
54
|
return QAppMetaData;
|
|
59
55
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QAppMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QAppMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"QAppMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QAppMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C;;;iFAGiF;AACjF;IAWG,sBAAY,MAAW;QAFvB,4BAAuB,GAAqB,IAAI,GAAG,EAAE,CAAC;QAInD,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,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ources":["../../../src/model/metaData/QAppSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;iFAGiF;AACjF;
|
|
1
|
+
{"version":3,"file":"QAppSection.js","sourceRoot":"","sources":["../../../src/model/metaData/QAppSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;iFAGiF;AACjF;IASG,qBAAY,MAAW;QAEpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,MAAM,CAAC,IAAI,EACf;YACG,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;SACrC;QACD,IAAI,MAAM,CAAC,SAAS,EACpB;YACG,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;SACpC;QACD,IAAI,MAAM,CAAC,OAAO,EAClB;YACG,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;SAChC;QACD,IAAI,MAAM,CAAC,MAAM,EACjB;YACG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;SAC9B;IACJ,CAAC;IACJ,kBAAC;AAAD,CAAC,AA9BD,IA8BC"}
|
|
@@ -31,7 +31,6 @@ var QAppTreeNode = /** @class */ (function () {
|
|
|
31
31
|
this.type = object.type;
|
|
32
32
|
this.iconName = object.iconName;
|
|
33
33
|
this.appAffinity = object.appAffinity;
|
|
34
|
-
this.hideChildrenFromNavigation = object.hideChildrenFromNavigation;
|
|
35
34
|
if (object.icon) {
|
|
36
35
|
this.icon = new QIcon(object.icon);
|
|
37
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QAppTreeNode.js","sourceRoot":"","sources":["../../../src/model/metaData/QAppTreeNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;;iFAIiF;AACjF;
|
|
1
|
+
{"version":3,"file":"QAppTreeNode.js","sourceRoot":"","sources":["../../../src/model/metaData/QAppTreeNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;;iFAIiF;AACjF;IAUG,sBAAY,MAAW;QAEpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEtC,IAAI,MAAM,CAAC,IAAI,EACf;YACG,IAAI,CAAC,IAAI,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;SACrC;QAED,IAAI,MAAM,CAAC,QAAQ,EACnB;YACG,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;YACnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAC/C;gBACG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;aAC3D;SACH;IACJ,CAAC;IAEJ,mBAAC;AAAD,CAAC,AAjCD,IAiCC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Collapsible } from "./Collapsible";
|
|
1
2
|
import { QHelpContent } from "./QHelpContent";
|
|
2
3
|
/*******************************************************************************
|
|
3
4
|
** Meta-Data to define a section (of fields) in a table in a QQQ instance.
|
|
@@ -14,6 +15,7 @@ export declare class QTableSection {
|
|
|
14
15
|
gridColumns?: number;
|
|
15
16
|
helpContents?: QHelpContent[];
|
|
16
17
|
alternatives?: Map<string, QTableSection>;
|
|
18
|
+
collapsible?: Collapsible;
|
|
17
19
|
/*******************************************************************************
|
|
18
20
|
**
|
|
19
21
|
*******************************************************************************/
|
|
@@ -38,6 +38,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
38
38
|
}
|
|
39
39
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
40
40
|
};
|
|
41
|
+
import { Collapsible } from "./Collapsible";
|
|
41
42
|
import { QHelpContent } from "./QHelpContent";
|
|
42
43
|
/*******************************************************************************
|
|
43
44
|
** Meta-Data to define a section (of fields) in a table in a QQQ instance.
|
|
@@ -65,6 +66,9 @@ var QTableSection = /** @class */ (function () {
|
|
|
65
66
|
this.alternatives.set(type, new QTableSection(object.alternatives[type]));
|
|
66
67
|
}
|
|
67
68
|
}
|
|
69
|
+
if (object.collapsible) {
|
|
70
|
+
this.collapsible = new Collapsible(object.collapsible);
|
|
71
|
+
}
|
|
68
72
|
}
|
|
69
73
|
/***************************************************************************
|
|
70
74
|
*
|
|
@@ -87,10 +91,12 @@ var QTableSection = /** @class */ (function () {
|
|
|
87
91
|
return alternativesClone.set(key, value.clone());
|
|
88
92
|
});
|
|
89
93
|
}
|
|
94
|
+
var collapsibleClone = (this.collapsible ? this.collapsible.clone() : undefined);
|
|
90
95
|
var clone = new QTableSection(__assign({}, this));
|
|
91
96
|
clone.fieldNames = fieldNamesClone;
|
|
92
97
|
clone.helpContents = helpContentsClone;
|
|
93
98
|
clone.alternatives = alternativesClone;
|
|
99
|
+
clone.collapsible = collapsibleClone;
|
|
94
100
|
return (clone);
|
|
95
101
|
};
|
|
96
102
|
return QTableSection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QTableSection.js","sourceRoot":"","sources":["../../../src/model/metaData/QTableSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C;;;iFAGiF;AACjF;
|
|
1
|
+
{"version":3,"file":"QTableSection.js","sourceRoot":"","sources":["../../../src/model/metaData/QTableSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C;;;iFAGiF;AACjF;IAeG;;qFAEiF;IACjF,uBAAY,MAAW;QAEpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QAEjE,IAAI,MAAM,CAAC,UAAU,EACrB;YACG,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;SACtC;QAED,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEtC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;QAEhE,IAAI,MAAM,CAAC,Y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yC,CAAC,CAAC;SAChD;QAED,IAAM,gBAAgB,GAA4B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QAE5G,IAAM,KAAK,GAAG,IAAI,aAAa,cAAK,IAAI,EAAE,CAAC;QAE3C,KAAK,CAAC,UAAU,GAAG,eAAe,CAAC;QACnC,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC;QACvC,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC;QACvC,KAAK,CAAC,WAAW,GAAG,gBAAgB,CAAC;QAErC,OAAO,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAEJ,oBAAC;AAAD,CAAC,AA1FD,IA0FC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Collapsible } from "./Collapsible";
|
|
1
2
|
import { QHelpContent } from "./QHelpContent";
|
|
2
3
|
import { QIcon } from "./QIcon";
|
|
3
4
|
/*******************************************************************************
|
|
@@ -28,5 +29,6 @@ export declare class QWidgetMetaData {
|
|
|
28
29
|
icons?: Map<string, QIcon>;
|
|
29
30
|
helpContent?: Map<string, QHelpContent[]>;
|
|
30
31
|
defaultValues?: Map<string, any>;
|
|
32
|
+
collapsible?: Collapsible;
|
|
31
33
|
constructor(object: any);
|
|
32
34
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* You should have received a copy of the GNU Affero General Public License
|
|
19
19
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
|
+
import { Collapsible } from "./Collapsible";
|
|
21
22
|
import { QHelpContent } from "./QHelpContent";
|
|
22
23
|
import { QIcon } from "./QIcon";
|
|
23
24
|
/*******************************************************************************
|
|
@@ -56,6 +57,9 @@ var QWidgetMetaData = /** @class */ (function () {
|
|
|
56
57
|
this.defaultValues.set(key, object.defaultValues[key]);
|
|
57
58
|
}
|
|
58
59
|
}
|
|
60
|
+
if (object.collapsible) {
|
|
61
|
+
this.collapsible = new Collapsible(object.collapsible);
|
|
62
|
+
}
|
|
59
63
|
}
|
|
60
64
|
return QWidgetMetaData;
|
|
61
65
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QWidgetMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QWidgetMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;iFAGiF;AACjF;
|
|
1
|
+
{"version":3,"file":"QWidgetMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QWidgetMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;iFAGiF;AACjF;IA2BG,yBAAY,MAAW;QAhBvB,kBAAa,GAAY,KAAK,CAAC;QAO/B,qBAAgB,GAAY,IAAI,CAAC;QACjC,qBAAgB,GAAY,IAAI,CAAC;QAU9B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,IAAI,C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