infinity-forge 9.4.2 → 9.4.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/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/index.js +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filter-header/index.js.map +1 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/index.d.ts +2 -1
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/index.js +13 -13
- package/dist/ui/codie-dynamic/components/directory-filter/source-filters/index.js.map +1 -1
- package/dist/ui/components/form/input-week-availability/styles.js +1 -1
- package/dist/ui/components/form/input-week-availability/styles.js.map +1 -1
- package/dist/ui/hooks/use-query/context.js +12 -1
- package/dist/ui/hooks/use-query/context.js.map +1 -1
- package/package.json +1 -1
|
@@ -140,7 +140,7 @@ function SourceFilterHeader(_a) {
|
|
|
140
140
|
value: f === null || f === void 0 ? void 0 : f.entityRoute,
|
|
141
141
|
} }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'none' }, children: (0, jsx_runtime_1.jsx)(ui_1.Input, { readOnly: true, name: "sourceFilters[".concat(i, "].keyValue"), controlledInitialValue: {
|
|
142
142
|
value: f === null || f === void 0 ? void 0 : f.entityKey,
|
|
143
|
-
} }) }), (0, jsx_runtime_1.jsx)(ui_1.Select, { name: "sourceFilters[".concat(i, "].sourceUrls"), isMultiple: true, label: f === null || f === void 0 ? void 0 : f.label, options: ((_a = f === null || f === void 0 ? void 0 : f.items) === null || _a === void 0 ? void 0 : _a.map(function (item) { return ({
|
|
143
|
+
} }) }), (0, jsx_runtime_1.jsx)(ui_1.Select, { name: "sourceFilters[".concat(i, "].sourceUrls"), isMultiple: true, label: f === null || f === void 0 ? void 0 : f.label, placeholder: 'Selecione', options: ((_a = f === null || f === void 0 ? void 0 : f.items) === null || _a === void 0 ? void 0 : _a.map(function (item) { return ({
|
|
144
144
|
label: item.name || '',
|
|
145
145
|
value: item.url || '',
|
|
146
146
|
}); })) || [] })] }, "".concat(f === null || f === void 0 ? void 0 : f.entityKey, "-").concat(i)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/codie-dynamic/components/directory-filter/source-filter-header/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/codie-dynamic/components/directory-filter/source-filter-header/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,gDAgJC;AAED,gCAYC;AAED,sCAiBC;;AAzMD,+BAAgC;AAEhC,sCAAuC;AAEvC,2BAA+F;AAE/F,kCAA2C;AAC3C,iDAA8C;AAE9C,0CAA6B;AAe7B,SAAgB,kBAAkB,CAAC,EAAmC;IAAtE,iBAgJC;;QAhJoC,OAAO,aAAA;IAC1C,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,IAAM,OAAO,GAAG,UAAU,EAAE,CAAA;IAC5B,IAAM,UAAU,GAAG,aAAa,EAAE,CAAA;IAElC,IAAM,iBAAiB,GAAG,MAAA,OAAO,CAAC,IAAI,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,EAArB,CAAqB,CAAC,0CAAE,aAAa,CAAA;IAElF,IAAA,KAAiD,IAAA,wBAAgB,EAAC,EAAE,KAAK,EAAE,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,EAAE,CAAC,EAApG,IAAI,UAAA,EAAE,aAAa,mBAAA,EAAE,qBAAqB,2BAA0D,CAAA;IAE5G,OAAO,CACL,uBAAC,UAA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,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -40,10 +40,10 @@ var hooks_1 = require("../hooks/index.js");
|
|
|
40
40
|
var ui_1 = require("../../../../../ui/index.js");
|
|
41
41
|
var S = __importStar(require("./styles.js"));
|
|
42
42
|
function SourceFilters(_a) {
|
|
43
|
-
var route = _a.route;
|
|
43
|
+
var route = _a.route, filterComponent = _a.filterComponent;
|
|
44
44
|
var _b = (0, hooks_1.useDynamicFilter)({ route: route }), data = _b.data, sourceFilters = _b.sourceFilters, getSourceFiltersToURL = _b.getSourceFiltersToURL;
|
|
45
45
|
var router = (0, router_1.useRouter)();
|
|
46
|
-
return ((0, jsx_runtime_1.jsxs)(S.SourceFilters, { children: [(0, jsx_runtime_1.jsx)("h3", { className: 'font-22-bold', children: "Filtrar" }), (0, jsx_runtime_1.
|
|
46
|
+
return ((0, jsx_runtime_1.jsxs)(S.SourceFilters, { children: [(0, jsx_runtime_1.jsx)("h3", { className: 'font-22-bold', children: "Filtrar" }), (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { initialData: {
|
|
47
47
|
sourceFilters: sourceFilters,
|
|
48
48
|
}, disableEnterKeySubmitForm: true, cleanFieldsOnSubmit: false, onChangeForm: {
|
|
49
49
|
callbackResult: function (formData) {
|
|
@@ -57,16 +57,16 @@ function SourceFilters(_a) {
|
|
|
57
57
|
},
|
|
58
58
|
});
|
|
59
59
|
},
|
|
60
|
-
}, children: data === null || data === void 0 ? void 0 : data.map(function (filter, index) {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
60
|
+
}, children: [data === null || data === void 0 ? void 0 : data.map(function (filter, index) {
|
|
61
|
+
var _a;
|
|
62
|
+
return ((0, jsx_runtime_1.jsxs)(ui_1.Accordion, { title: filter.label, openIcon: 'IconTopChevron', closeIcon: 'IconBottomChevron', forceOpen: true, children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'none' }, children: (0, jsx_runtime_1.jsx)(ui_1.Input, { readOnly: true, name: "sourceFilters[".concat(index, "].source"), controlledInitialValue: {
|
|
63
|
+
value: filter.entityRoute,
|
|
64
|
+
} }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'none' }, children: (0, jsx_runtime_1.jsx)(ui_1.Input, { readOnly: true, name: "sourceFilters[".concat(index, "].keyValue"), controlledInitialValue: {
|
|
65
|
+
value: filter.entityKey,
|
|
66
|
+
} }) }), (0, jsx_runtime_1.jsx)(ui_1.InputCheckbox, { name: "sourceFilters[".concat(index, "].sourceUrls"), options: ((_a = filter.items) === null || _a === void 0 ? void 0 : _a.map(function (item) { return ({
|
|
67
|
+
label: item.name || '',
|
|
68
|
+
value: item.url || '',
|
|
69
|
+
}); })) || [] })] }, String(filter.label) + filter.entityKey));
|
|
70
|
+
}), filterComponent && (filterComponent === null || filterComponent === void 0 ? void 0 : filterComponent())] })] }));
|
|
71
71
|
}
|
|
72
72
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/codie-dynamic/components/directory-filter/source-filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/codie-dynamic/components/directory-filter/source-filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,sCA4EC;;AAnFD,sCAAuC;AAEvC,kCAA2C;AAC3C,2BAAgF;AAEhF,0CAA6B;AAE7B,SAAgB,aAAa,CAAC,EAAsF;QAApF,KAAK,WAAA,EAAE,eAAe,qBAAA;IAC9C,IAAA,KAAiD,IAAA,wBAAgB,EAAC,EAAE,KAAK,OAAA,EAAE,CAAC,EAA1E,IAAI,UAAA,EAAE,aAAa,mBAAA,EAAE,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EAAE;4CACtB,KAAK,EAAE,MAAM,CAAC,SAAS;yCACxB,GACD,GACE,EAEN,uBAAC,kBAAa,IACZ,IAAI,EAAE,wBAAiB,KAAK,iBAAc,EAC1C,OAAO,EACL,CAAA,MAAA,MAAM,CAAC,KAAK,0CAAE,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CAAC;wCAC3B,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE;wCACtB,KAAK,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE;qCACtB,CAAC,EAH0B,CAG1B,CAAC,KAAI,EAAE,GAEX,KAjCG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,SAAS,CAkClC,CACb,CAAA;oBACH,CAAC,CAAC,EAED,eAAe,KAAI,eAAe,aAAf,eAAe,uBAAf,eAAe,EAAI,CAAA,IAC3B,IACE,CACnB,CAAA;AACH,CAAC"}
|
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.InputWeekAvailability = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.InputWeekAvailability = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n > label {\n margin-bottom: clamp(10px, 1vw, 15px);\n }\n\n th {\n text-align: center;\n }\n\n thead {\n background-color: transparent;\n\n th:not(:first-child) {\n padding: 1px 5px 5px;\n border-radius: 5px 5px 0 0;\n }\n }\n\n tr:not(:last-child) {\n td,\n th {\n padding: 1px 5px 5px;\n }\n }\n\n tr:last-child td {\n border-radius: 0 0 5px 5px;\n padding: 1px 5px;\n }\n\n th,\n td {\n &:not(:first-child):not(:empty) {\n background-color: #f2f2f2;\n }\n\n &:empty {\n padding: 1px 3px !important;\n }\n\n &:first-child {\n padding-right: 15px !important;\n }\n }\n\n td > div {\n height: 100%;\n margin: auto;\n }\n\n table label {\n width: 20px !important;\n height: 20px !important;\n border: none !important;\n background: transparent !important;\n margin-bottom: 0 !important;\n cursor: pointer;\n\n svg {\n width: 100% !important;\n height: 100% !important;\n }\n }\n\n .input_control {\n margin-bottom: 2px !important;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n }\n\n @media only screen and (max-width: 1600px) {\n thead th:not(:first-child),\n tr:not(:last-child) td,\n tr:not(:last-child) th,\n tr:last-child td {\n padding: 1px 4px 4px;\n }\n\n th,\n td {\n &:empty {\n padding: 1px 2px !important;\n }\n\n &:first-child {\n padding-right: 10px !important;\n }\n }\n\n tr:last-child td {\n padding-bottom: 1px !important;\n }\n\n table label {\n width: 18px !important;\n height: 18px !important;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > label {\n width: 100%;\n text-align: center;\n max-width: 242px;\n margin-bottom: 10px;\n }\n\n table label {\n width: 16px !important;\n height: 16px !important;\n }\n\n th,\n td {\n font-size: 12px;\n\n &:first-child {\n padding-right: 5px !important;\n }\n }\n }\n"], ["\n > label {\n margin-bottom: clamp(10px, 1vw, 15px);\n }\n\n th {\n text-align: center;\n }\n\n thead {\n background-color: transparent;\n\n th:not(:first-child) {\n padding: 1px 5px 5px;\n border-radius: 5px 5px 0 0;\n }\n }\n\n tr:not(:last-child) {\n td,\n th {\n padding: 1px 5px 5px;\n }\n }\n\n tr:last-child td {\n border-radius: 0 0 5px 5px;\n padding: 1px 5px;\n }\n\n th,\n td {\n &:not(:first-child):not(:empty) {\n background-color: #f2f2f2;\n }\n\n &:empty {\n padding: 1px 3px !important;\n }\n\n &:first-child {\n padding-right: 15px !important;\n }\n }\n\n td > div {\n height: 100%;\n margin: auto;\n }\n\n table label {\n width: 20px !important;\n height: 20px !important;\n border: none !important;\n background: transparent !important;\n margin-bottom: 0 !important;\n cursor: pointer;\n\n svg {\n width: 100% !important;\n height: 100% !important;\n }\n }\n\n .input_control {\n margin-bottom: 2px !important;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n }\n\n @media only screen and (max-width: 1600px) {\n thead th:not(:first-child),\n tr:not(:last-child) td,\n tr:not(:last-child) th,\n tr:last-child td {\n padding: 1px 4px 4px;\n }\n\n th,\n td {\n &:empty {\n padding: 1px 2px !important;\n }\n\n &:first-child {\n padding-right: 10px !important;\n }\n }\n\n tr:last-child td {\n padding-bottom: 1px !important;\n }\n\n table label {\n width: 18px !important;\n height: 18px !important;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > label {\n width: 100%;\n text-align: center;\n max-width: 242px;\n margin-bottom: 10px;\n }\n\n table label {\n width: 16px !important;\n height: 16px !important;\n }\n\n th,\n td {\n font-size: 12px;\n\n &:first-child {\n padding-right: 5px !important;\n }\n }\n }\n"])));
|
|
12
|
+
exports.InputWeekAvailability = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n > label {\n margin-bottom: clamp(10px, 1vw, 15px);\n }\n\n th {\n text-align: center;\n }\n\n thead {\n background-color: transparent !important;\n\n th:not(:first-child) {\n padding: 1px 5px 5px;\n border-radius: 5px 5px 0 0;\n }\n }\n\n tr:not(:last-child) {\n td,\n th {\n padding: 1px 5px 5px;\n }\n }\n\n tr:last-child td {\n border-radius: 0 0 5px 5px;\n padding: 1px 5px;\n }\n\n th,\n td {\n &:not(:first-child):not(:empty) {\n background-color: #f2f2f2;\n }\n\n &:empty {\n padding: 1px 3px !important;\n }\n\n &:first-child {\n padding-right: 15px !important;\n }\n }\n\n td > div {\n height: 100%;\n margin: auto;\n }\n\n table label {\n width: 20px !important;\n height: 20px !important;\n border: none !important;\n background: transparent !important;\n margin-bottom: 0 !important;\n cursor: pointer;\n\n svg {\n width: 100% !important;\n height: 100% !important;\n }\n }\n\n .input_control {\n margin-bottom: 2px !important;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n }\n\n @media only screen and (max-width: 1600px) {\n thead th:not(:first-child),\n tr:not(:last-child) td,\n tr:not(:last-child) th,\n tr:last-child td {\n padding: 1px 4px 4px;\n }\n\n th,\n td {\n &:empty {\n padding: 1px 2px !important;\n }\n\n &:first-child {\n padding-right: 10px !important;\n }\n }\n\n tr:last-child td {\n padding-bottom: 1px !important;\n }\n\n table label {\n width: 18px !important;\n height: 18px !important;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > label {\n width: 100%;\n text-align: center;\n max-width: 242px;\n margin-bottom: 10px;\n }\n\n table label {\n width: 16px !important;\n height: 16px !important;\n }\n\n th,\n td {\n font-size: 12px;\n\n &:first-child {\n padding-right: 5px !important;\n }\n }\n }\n"], ["\n > label {\n margin-bottom: clamp(10px, 1vw, 15px);\n }\n\n th {\n text-align: center;\n }\n\n thead {\n background-color: transparent !important;\n\n th:not(:first-child) {\n padding: 1px 5px 5px;\n border-radius: 5px 5px 0 0;\n }\n }\n\n tr:not(:last-child) {\n td,\n th {\n padding: 1px 5px 5px;\n }\n }\n\n tr:last-child td {\n border-radius: 0 0 5px 5px;\n padding: 1px 5px;\n }\n\n th,\n td {\n &:not(:first-child):not(:empty) {\n background-color: #f2f2f2;\n }\n\n &:empty {\n padding: 1px 3px !important;\n }\n\n &:first-child {\n padding-right: 15px !important;\n }\n }\n\n td > div {\n height: 100%;\n margin: auto;\n }\n\n table label {\n width: 20px !important;\n height: 20px !important;\n border: none !important;\n background: transparent !important;\n margin-bottom: 0 !important;\n cursor: pointer;\n\n svg {\n width: 100% !important;\n height: 100% !important;\n }\n }\n\n .input_control {\n margin-bottom: 2px !important;\n }\n\n .input-wrapper {\n display: flex;\n align-items: center;\n }\n\n @media only screen and (max-width: 1600px) {\n thead th:not(:first-child),\n tr:not(:last-child) td,\n tr:not(:last-child) th,\n tr:last-child td {\n padding: 1px 4px 4px;\n }\n\n th,\n td {\n &:empty {\n padding: 1px 2px !important;\n }\n\n &:first-child {\n padding-right: 10px !important;\n }\n }\n\n tr:last-child td {\n padding-bottom: 1px !important;\n }\n\n table label {\n width: 18px !important;\n height: 18px !important;\n }\n }\n\n @media only screen and (max-width: 1024px) {\n > label {\n width: 100%;\n text-align: center;\n max-width: 242px;\n margin-bottom: 10px;\n }\n\n table label {\n width: 16px !important;\n height: 16px !important;\n }\n\n th,\n td {\n font-size: 12px;\n\n &:first-child {\n padding-right: 5px !important;\n }\n }\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-week-availability/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,qBAAqB,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-week-availability/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,qBAAqB,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,gnEAAA,6iEA4HjD,KAAA"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
14
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
15
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -118,7 +129,7 @@ function QueryClientContextProvider(_a) {
|
|
|
118
129
|
storeRef.current = createQueryStore();
|
|
119
130
|
storeRef.current.setState({ queryClient: queryClient, useQuery: useQuery, useMutation: useMutation });
|
|
120
131
|
}
|
|
121
|
-
return ((0, jsx_runtime_1.jsx)(QueryClientContext.Provider, { value: storeRef.current, children: children }));
|
|
132
|
+
return ((0, jsx_runtime_1.jsx)(QueryClientContext.Provider, { value: __assign(__assign({}, storeRef.current), { useQuery: useQuery, useMutation: useMutation }), children: children }));
|
|
122
133
|
}
|
|
123
134
|
function useQueryClient(selector) {
|
|
124
135
|
var store = (0, react_1.useContext)(QueryClientContext);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/context.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FS,gEAA0B;AAAE,wCAAc;;AA/FnD,+BAAgE;AAEhE,mCAA+C;AAa/C,IAAM,gBAAgB,GAAG;IACvB,OAAA,IAAA,qBAAW,EAAkB,UAAC,GAAG,EAAE,GAAG,IAAK,OAAA,CAAC;QAC1C,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,UAAC,EAAE,IAAK,OAAA,GAAG,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAAxB,CAAwB;QAChD,OAAO,EAAE,UAAO,GAAG,EAAE,OAAO;;;;;wBACpB,EAAE,GAAG,GAAG,EAAE,CAAC,WAAW,CAAA;wBAC5B,IAAI,CAAC,EAAE;4BAAE,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;wBAElD,IAAI,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,MAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAA;6BAE1D,CAAA,IAAI,K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