@ptsecurity/mosaic 15.8.8 → 15.8.10
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/_theming.scss +43 -15
- package/_visual.scss +43 -15
- package/core/formatters/index.d.ts +1 -1
- package/core/formatters/number/formatter.d.ts +30 -0
- package/core/locales/en-US.d.ts +12 -0
- package/core/locales/es-LA.d.ts +12 -0
- package/core/locales/fa-IR.d.ts +13 -0
- package/core/locales/locale-service.d.ts +134 -0
- package/core/locales/pt-BR.d.ts +12 -0
- package/core/locales/ru-RU.d.ts +12 -0
- package/core/locales/tk-TM.d.ts +64 -0
- package/core/locales/zh-CN.d.ts +11 -0
- package/core/pop-up/constants.d.ts +9 -0
- package/esm2020/core/formatters/index.mjs +6 -2
- package/esm2020/core/formatters/number/formatter.mjs +133 -1
- package/esm2020/core/locales/en-US.mjs +13 -1
- package/esm2020/core/locales/es-LA.mjs +13 -1
- package/esm2020/core/locales/fa-IR.mjs +14 -1
- package/esm2020/core/locales/locale-service.mjs +6 -3
- package/esm2020/core/locales/pt-BR.mjs +13 -1
- package/esm2020/core/locales/ru-RU.mjs +13 -1
- package/esm2020/core/locales/tk-TM.mjs +63 -0
- package/esm2020/core/locales/zh-CN.mjs +12 -1
- package/esm2020/core/pop-up/constants.mjs +6 -1
- package/esm2020/core/version.mjs +2 -2
- package/esm2020/dropdown/dropdown.component.mjs +2 -2
- package/esm2020/select/select.component.mjs +7 -5
- package/esm2020/tooltip/tooltip.component.mjs +5 -3
- package/esm2020/tree-select/tree-select.component.mjs +7 -5
- package/fesm2015/ptsecurity-mosaic-core.mjs +283 -5
- package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-dropdown.mjs +2 -2
- package/fesm2015/ptsecurity-mosaic-select.mjs +6 -4
- package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs +5 -2
- package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs +6 -4
- package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-core.mjs +281 -4
- package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-dropdown.mjs +2 -2
- package/fesm2020/ptsecurity-mosaic-select.mjs +6 -4
- package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs +4 -2
- package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs +6 -4
- package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
- package/package.json +8 -8
- package/prebuilt-themes/dark-theme.css +1 -1
- package/prebuilt-themes/default-theme.css +1 -1
- package/tooltip/tooltip.component.d.ts +2 -1
@@ -0,0 +1,64 @@
|
|
1
|
+
export declare const tkTMLocaleData: {
|
2
|
+
'tk-TM': {
|
3
|
+
select: {
|
4
|
+
hiddenItemsText: string;
|
5
|
+
};
|
6
|
+
datepicker: {
|
7
|
+
placeholder: string;
|
8
|
+
};
|
9
|
+
timepicker: {
|
10
|
+
placeholder: {
|
11
|
+
full: string;
|
12
|
+
short: string;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
formatters: {
|
16
|
+
number: {
|
17
|
+
rounding: {
|
18
|
+
separator: string;
|
19
|
+
groupSeparator: string;
|
20
|
+
thousand: string;
|
21
|
+
million: string;
|
22
|
+
billion: string;
|
23
|
+
trillion: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
input: {
|
28
|
+
number: {
|
29
|
+
groupSeparator: string[];
|
30
|
+
fractionSeparator: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
codeBlock: {
|
34
|
+
softWrapOnTooltip: string;
|
35
|
+
softWrapOffTooltip: string;
|
36
|
+
downloadTooltip: string;
|
37
|
+
copiedTooltip: string;
|
38
|
+
copyTooltip: string;
|
39
|
+
viewAllText: string;
|
40
|
+
viewLessText: string;
|
41
|
+
openExternalSystemTooltip: string;
|
42
|
+
};
|
43
|
+
timezone: {
|
44
|
+
searchPlaceholder: string;
|
45
|
+
};
|
46
|
+
fileUpload: {
|
47
|
+
single: {
|
48
|
+
captionText: string;
|
49
|
+
browseLink: string;
|
50
|
+
};
|
51
|
+
multiple: {
|
52
|
+
captionText: string;
|
53
|
+
captionTextWhenSelected: string;
|
54
|
+
captionTextForCompactSize: string;
|
55
|
+
browseLink: string;
|
56
|
+
title: string;
|
57
|
+
gridHeaders: {
|
58
|
+
file: string;
|
59
|
+
size: string;
|
60
|
+
};
|
61
|
+
};
|
62
|
+
};
|
63
|
+
};
|
64
|
+
};
|
package/core/locales/zh-CN.d.ts
CHANGED
@@ -12,5 +12,16 @@ export declare const znCNLocaleData: {
|
|
12
12
|
short: string;
|
13
13
|
};
|
14
14
|
};
|
15
|
+
formatters: {
|
16
|
+
number: {
|
17
|
+
rounding: {
|
18
|
+
separator: string;
|
19
|
+
groupSeparator: string;
|
20
|
+
tenThousand: string;
|
21
|
+
oneHundredMillions: string;
|
22
|
+
trillion: string;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
};
|
15
26
|
};
|
16
27
|
};
|
@@ -1,3 +1,12 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
export interface McParentPopup {
|
4
|
+
closedStream: Observable<boolean>;
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* InjectionToken for providing component with popup. Used in select and tree-select for tooltip.
|
8
|
+
*/
|
9
|
+
export declare const MC_PARENT_POPUP: InjectionToken<McParentPopup>;
|
1
10
|
export declare enum PopUpPlacements {
|
2
11
|
Top = "top",
|
3
12
|
TopLeft = "topLeft",
|
@@ -2,12 +2,13 @@ import { NgModule } from '@angular/core';
|
|
2
2
|
import { DateAdapter, MC_DATE_LOCALE } from '../datetime';
|
3
3
|
import { DateFormatter } from './date/formatter';
|
4
4
|
import { AbsoluteDateFormatterPipe, AbsoluteDateShortFormatterPipe, AbsoluteDateTimeFormatterPipe, AbsoluteShortDateTimeFormatterPipe, RangeDateFormatterPipe, RangeDateTimeFormatterPipe, RangeMiddleDateTimeFormatterPipe, RangeShortDateFormatterPipe, RangeShortDateTimeFormatterPipe, RelativeDateFormatterPipe, RelativeDateTimeFormatterPipe, RelativeShortDateFormatterPipe, RelativeShortDateTimeFormatterPipe } from './date/formatter.pipe';
|
5
|
-
import { McDecimalPipe, McTableNumberPipe } from './number/formatter';
|
5
|
+
import { McDecimalPipe, McTableNumberPipe, McRoundDecimalPipe } from './number/formatter';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export class McFormattersModule {
|
8
8
|
}
|
9
9
|
/** @nocollapse */ McFormattersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McFormattersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10
10
|
/** @nocollapse */ McFormattersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McFormattersModule, declarations: [McDecimalPipe,
|
11
|
+
McRoundDecimalPipe,
|
11
12
|
McTableNumberPipe,
|
12
13
|
AbsoluteDateFormatterPipe,
|
13
14
|
AbsoluteDateTimeFormatterPipe,
|
@@ -22,6 +23,7 @@ export class McFormattersModule {
|
|
22
23
|
RangeDateTimeFormatterPipe,
|
23
24
|
RangeShortDateTimeFormatterPipe,
|
24
25
|
RangeMiddleDateTimeFormatterPipe], exports: [McDecimalPipe,
|
26
|
+
McRoundDecimalPipe,
|
25
27
|
McTableNumberPipe,
|
26
28
|
AbsoluteDateFormatterPipe,
|
27
29
|
AbsoluteDateTimeFormatterPipe,
|
@@ -42,6 +44,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
42
44
|
args: [{
|
43
45
|
declarations: [
|
44
46
|
McDecimalPipe,
|
47
|
+
McRoundDecimalPipe,
|
45
48
|
McTableNumberPipe,
|
46
49
|
AbsoluteDateFormatterPipe,
|
47
50
|
AbsoluteDateTimeFormatterPipe,
|
@@ -59,6 +62,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
59
62
|
],
|
60
63
|
exports: [
|
61
64
|
McDecimalPipe,
|
65
|
+
McRoundDecimalPipe,
|
62
66
|
McTableNumberPipe,
|
63
67
|
AbsoluteDateFormatterPipe,
|
64
68
|
AbsoluteDateTimeFormatterPipe,
|
@@ -80,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
80
84
|
export * from './number/formatter';
|
81
85
|
export * from './date/formatter';
|
82
86
|
export * from './date/formatter.pipe';
|
83
|
-
//# sourceMappingURL=data:application/json;base64,
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvY29yZS9mb3JtYXR0ZXJzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxjQUFjLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFMUQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pELE9BQU8sRUFDSCx5QkFBeUIsRUFDekIsOEJBQThCLEVBQzlCLDZCQUE2QixFQUM3QixrQ0FBa0MsRUFDbEMsc0JBQXNCLEVBQ3RCLDBCQUEwQixFQUMxQixnQ0FBZ0Ms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XZlRGF0ZVRpbWVGb3JtYXR0ZXJQaXBlLFxuICAgICAgICBSZWxhdGl2ZVNob3J0RGF0ZUZvcm1hdHRlclBpcGUsXG4gICAgICAgIFJlbGF0aXZlU2hvcnREYXRlVGltZUZvcm1hdHRlclBpcGUsXG5cbiAgICAgICAgUmFuZ2VEYXRlRm9ybWF0dGVyUGlwZSxcbiAgICAgICAgUmFuZ2VTaG9ydERhdGVGb3JtYXR0ZXJQaXBlLFxuICAgICAgICBSYW5nZURhdGVUaW1lRm9ybWF0dGVyUGlwZSxcbiAgICAgICAgUmFuZ2VTaG9ydERhdGVUaW1lRm9ybWF0dGVyUGlwZSxcbiAgICAgICAgUmFuZ2VNaWRkbGVEYXRlVGltZUZvcm1hdHRlclBpcGVcbiAgICBdLFxuICAgIHByb3ZpZGVyczogW3sgcHJvdmlkZTogRGF0ZUZvcm1hdHRlciwgZGVwczogW0RhdGVBZGFwdGVyLCBNQ19EQVRFX0xPQ0FMRV0gfV1cbn0pXG5leHBvcnQgY2xhc3MgTWNGb3JtYXR0ZXJzTW9kdWxlIHt9XG5cblxuZXhwb3J0ICogZnJvbSAnLi9udW1iZXIvZm9ybWF0dGVyJztcbmV4cG9ydCAqIGZyb20gJy4vZGF0ZS9mb3JtYXR0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9kYXRlL2Zvcm1hdHRlci5waXBlJztcbiJdfQ==
|
@@ -27,6 +27,26 @@ const minIntGroupPosition = 1;
|
|
27
27
|
const minFractionGroupPosition = 3;
|
28
28
|
const maxFractionGroupPosition = 5;
|
29
29
|
const useGroupingPosition = 7;
|
30
|
+
// tslint:disable:no-magic-numbers
|
31
|
+
const ROUNDING_UNITS = {
|
32
|
+
thousand: 1e3,
|
33
|
+
tenThousand: 10 * 1e3,
|
34
|
+
million: 1e6,
|
35
|
+
oneHundredMillions: 100 * 1e6,
|
36
|
+
billion: 1e9,
|
37
|
+
trillion: 1e12
|
38
|
+
};
|
39
|
+
const intervalsConfig = {
|
40
|
+
supportedLanguages: ['ru-RU', 'en-US', 'es-LA', 'pt-BR', 'fa-IR'],
|
41
|
+
intervals: [
|
42
|
+
{ startRange: 1, endRange: ROUNDING_UNITS.thousand },
|
43
|
+
{ startRange: ROUNDING_UNITS.thousand, endRange: ROUNDING_UNITS.tenThousand, precision: 1 },
|
44
|
+
{ startRange: ROUNDING_UNITS.tenThousand, endRange: ROUNDING_UNITS.million },
|
45
|
+
{ startRange: ROUNDING_UNITS.million, endRange: ROUNDING_UNITS.million * 10, precision: 1 },
|
46
|
+
{ startRange: ROUNDING_UNITS.million * 10, endRange: ROUNDING_UNITS.billion }
|
47
|
+
]
|
48
|
+
};
|
49
|
+
// tslint:enable:no-magic-numbers
|
30
50
|
class ParsedDigitsInfo {
|
31
51
|
}
|
32
52
|
const defaultValueForGroupingInRULocale = 10000;
|
@@ -215,4 +235,116 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
215
235
|
type: Inject,
|
216
236
|
args: [MC_NUMBER_FORMATTER_OPTIONS]
|
217
237
|
}] }]; } });
|
218
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbW9zYWljL2NvcmUvZm9ybWF0dGVycy9udW1iZXIvZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHNDQUFzQztBQUN0QyxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxjQUFjLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFFbEcsT0FBTyxFQUFFLG9CQUFvQixFQUFFLFlBQVksRUFBRSxpQkFBaUIsRUFBRSxlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQUd2RyxNQUFNL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RMb2NhbGUgPT09ICdlcy1MQScpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gSW50bC5OdW1iZXJGb3JtYXQuY2FsbCh0aGlzLCAncnUtUlUnLCBvcHRpb25zKS5mb3JtYXQobnVtKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIEludGwuTnVtYmVyRm9ybWF0LmNhbGwodGhpcywgY3VycmVudExvY2FsZSwgb3B0aW9ucykuZm9ybWF0KG51bSk7XG4gICAgICAgIH0gY2F0Y2ggKGVycm9yOiBhbnkpIHtcbiAgICAgICAgICAgIHRocm93IEVycm9yKGBJbnZhbGlkUGlwZUFyZ3VtZW50OiBNY0RlY2ltYWxQaXBlIGZvciBwaXBlICcke0pTT04uc3RyaW5naWZ5KGVycm9yLm1lc3NhZ2UpfSdgKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
238
|
+
export function isWithin(startRange, endRange, valueToCheck) {
|
239
|
+
return startRange <= valueToCheck && valueToCheck < endRange;
|
240
|
+
}
|
241
|
+
export class McRoundDecimalPipe {
|
242
|
+
constructor(id, localeService) {
|
243
|
+
this.id = id;
|
244
|
+
this.localeService = localeService;
|
245
|
+
this.localeService?.changes
|
246
|
+
.subscribe((newId) => this.id = newId);
|
247
|
+
}
|
248
|
+
transform(value, locale) {
|
249
|
+
if (isEmpty(value)) {
|
250
|
+
return null;
|
251
|
+
}
|
252
|
+
const currentLocale = locale || this.id || MC_DEFAULT_LOCALE_ID;
|
253
|
+
this.roundingOptions = this.localeService.locales[currentLocale].formatters.number.rounding;
|
254
|
+
try {
|
255
|
+
const num = strToNumber(value);
|
256
|
+
const unit = this.calculateUnit(num);
|
257
|
+
if (!unit) {
|
258
|
+
return Intl.NumberFormat.call(this, currentLocale, { useGrouping: false }).format(num);
|
259
|
+
}
|
260
|
+
let parts = {};
|
261
|
+
if (intervalsConfig.supportedLanguages.includes(currentLocale)) {
|
262
|
+
intervalsConfig.intervals
|
263
|
+
.find(({ startRange, endRange, precision }) => {
|
264
|
+
const within = isWithin(startRange, endRange, num);
|
265
|
+
if (within) {
|
266
|
+
if (precision) {
|
267
|
+
parts = unit === 'thousand' ?
|
268
|
+
this.calculatePartsForThousands(num) :
|
269
|
+
{
|
270
|
+
num: Math.trunc(num / ROUNDING_UNITS[unit]),
|
271
|
+
fraction: this.calculateDecimal(num, ROUNDING_UNITS[unit])
|
272
|
+
};
|
273
|
+
}
|
274
|
+
else {
|
275
|
+
parts = { num: Math.round(num / ROUNDING_UNITS[unit]) };
|
276
|
+
}
|
277
|
+
}
|
278
|
+
return within;
|
279
|
+
});
|
280
|
+
}
|
281
|
+
parts = parts.num ? parts : {
|
282
|
+
num: Math.trunc(num / ROUNDING_UNITS[unit]),
|
283
|
+
fraction: this.calculateDecimal(num, ROUNDING_UNITS[unit])
|
284
|
+
};
|
285
|
+
Object.keys(parts).forEach((key) => {
|
286
|
+
parts[key] = Intl.NumberFormat.call(this, currentLocale, { useGrouping: false }).format(parts[key]);
|
287
|
+
});
|
288
|
+
const calculatedValue = parts.fraction
|
289
|
+
? `${parts.num}${this.roundingOptions.groupSeparator}${parts.fraction}`
|
290
|
+
: `${parts.num}`;
|
291
|
+
return `${calculatedValue}${this.roundingOptions.separator}${this.roundingOptions[unit]}`;
|
292
|
+
}
|
293
|
+
catch (error) {
|
294
|
+
throw Error(`InvalidPipeArgument: McRoundDecimalPipe for pipe '${JSON.stringify(error.message)}'`);
|
295
|
+
}
|
296
|
+
}
|
297
|
+
calculateDecimal(num, divider) {
|
298
|
+
/* tslint:disable-next-line:no-magic-numbers */
|
299
|
+
return Math.round(num / divider % 1 * 10);
|
300
|
+
}
|
301
|
+
/**
|
302
|
+
* 2 * 1000 is a number in the interval of [1500...2500)
|
303
|
+
*
|
304
|
+
* 2,0 * 1000 is a number in the interval of [1950...2050)
|
305
|
+
*/
|
306
|
+
calculatePartsForThousands(num) {
|
307
|
+
const dividedValue = num / ROUNDING_UNITS.thousand;
|
308
|
+
const div = Math.round(dividedValue) * ROUNDING_UNITS.thousand;
|
309
|
+
const fifty = 50;
|
310
|
+
return isWithin(div - fifty, div + fifty, num)
|
311
|
+
? { num: Math.round(dividedValue), fraction: 0 }
|
312
|
+
: { num: Math.round(dividedValue) };
|
313
|
+
}
|
314
|
+
calculateUnit(num) {
|
315
|
+
let currentUnit;
|
316
|
+
const localizedOptions = Object.keys(this.roundingOptions);
|
317
|
+
Object.keys(ROUNDING_UNITS).every((key) => {
|
318
|
+
if (!localizedOptions.includes(key)) {
|
319
|
+
return true;
|
320
|
+
}
|
321
|
+
if (num / ROUNDING_UNITS[key] >= 1) {
|
322
|
+
currentUnit = key;
|
323
|
+
return true;
|
324
|
+
}
|
325
|
+
return false;
|
326
|
+
});
|
327
|
+
return currentUnit;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
/** @nocollapse */ McRoundDecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McRoundDecimalPipe, deps: [{ token: MC_LOCALE_ID, optional: true }, { token: MC_LOCALE_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
331
|
+
/** @nocollapse */ McRoundDecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: McRoundDecimalPipe, name: "mcRoundNumber", pure: false });
|
332
|
+
/** @nocollapse */ McRoundDecimalPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McRoundDecimalPipe, providedIn: 'root' });
|
333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: McRoundDecimalPipe, decorators: [{
|
334
|
+
type: Injectable,
|
335
|
+
args: [{ providedIn: 'root' }]
|
336
|
+
}, {
|
337
|
+
type: Pipe,
|
338
|
+
args: [{ name: 'mcRoundNumber', pure: false }]
|
339
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
340
|
+
type: Optional
|
341
|
+
}, {
|
342
|
+
type: Inject,
|
343
|
+
args: [MC_LOCALE_ID]
|
344
|
+
}] }, { type: i1.McLocaleService, decorators: [{
|
345
|
+
type: Optional
|
346
|
+
}, {
|
347
|
+
type: Inject,
|
348
|
+
args: [MC_LOCALE_SERVICE]
|
349
|
+
}] }]; } });
|
350
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWF0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbW9zYWljL2NvcmUvZm9ybWF0dGVycy9udW1iZXIvZm9ybWF0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHNDQUFzQztBQUN0QyxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxjQUFjLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFFbEcsT0FBTyxFQUFFLG9CQUFvQixFQUFFLFlBQVksRUFBRSxpQkFBaUIsRUFBRSxlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQUd2RyxNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxJQUFJLGNBQWMsQ0FBUywwQkFBMEIsQ0FBQyxDQUFDO0FBRWxHLE1BQU0sQ0FBQyxNQUFNLG1DQUFtQyxHQUFxQjtJQUNqRSxXQUFXLEVBQUUsSUFBSTtJQUNqQixvQkFBb0IsRUFBRSxDQUFDO0lBQ3ZCLHFCQUFxQixFQUFFLENBQUM7SUFDeEIscUJBQXFCLEVBQUUsQ0FBQztDQUMzQixDQUFDO0FBR0YsU0FBUyxPQUFPLENBQUMsS0FBVTtJQUN2QixPQUFPLEtBQUssSUFBSSxJQUFJLElBQUksS0FBSyxLQUFLLEVBQUUsSUFBSSxLQUFLLEtBQUssS0FBSyxDQUFDO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nJlbnRMb2NhbGU6IHN0cmluZyA9IGxvY2FsZSB8fCB0aGlzLmlkIHx8IE1DX0RFRkFVTFRfTE9DQUxFX0lEO1xuICAgICAgICB0aGlzLnJvdW5kaW5nT3B0aW9ucyA9IHRoaXMubG9jYWxlU2VydmljZS5sb2NhbGVzW2N1cnJlbnRMb2NhbGVdLmZvcm1hdHRlcnMubnVtYmVyLnJvdW5kaW5nO1xuXG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBjb25zdCBudW0gPSBzdHJUb051bWJlcih2YWx1ZSk7XG4gICAgICAgICAgICBjb25zdCB1bml0ID0gdGhpcy5jYWxjdWxhdGVVbml0KG51bSk7XG4gICAgICAgICAgICBpZiAoIXVuaXQpIHsgcmV0dXJuIEludGwuTnVtYmVyRm9ybWF0LmNhbGwodGhpcywgY3VycmVudExvY2FsZSwgeyB1c2VHcm91cGluZzogZmFsc2UgfSkuZm9ybWF0KG51bSk7IH1cblxuICAgICAgICAgICAgbGV0IHBhcnRzOiB7IG51bT86IG51bWJlcjsgZnJhY3Rpb24/OiBudW1iZXIgfSA9IHt9O1xuXG4gICAgICAgICAgICBpZiAoaW50ZXJ2YWxzQ29uZmlnLnN1cHBvcnRlZExhbmd1YWdlcy5pbmNsdWRlcyhjdXJyZW50TG9jYWxlKSkge1xuICAgICAgICAgICAgICAgIGludGVydmFsc0NvbmZpZy5pbnRlcnZhbHNcbiAgICAgICAgICAgICAgICAgICAgLmZpbmQoKHsgc3RhcnRSYW5nZSwgZW5kUmFuZ2UsIHByZWNpc2lvbiB9KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB3aXRoaW4gPSBpc1dpdGhpbihzdGFydFJhbmdlLCBlbmRSYW5nZSwgbnVtKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh3aXRoaW4pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocHJlY2lzaW9uKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBhcnRzID0gdW5pdCA9PT0gJ3Rob3VzYW5kJyA/XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmNhbGN1bGF0ZVBhcnRzRm9yVGhvdXNhbmRzKG51bSkgOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG51bTogTWF0aC50cnVuYyhudW0gLyBST1VORElOR19VTklUU1t1bml0XSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnJhY3Rpb246IHRoaXMuY2FsY3VsYXRlRGVjaW1hbChudW0sIFJPVU5ESU5HX1VOSVRTW3VuaXRdKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXJ0cyA9IHsgbnVtOiBNYXRoLnJvdW5kKG51bSAvIFJPVU5ESU5HX1VOSVRTW3VuaXRdKSB9O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdpdGhpbjtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHBhcnRzID0gcGFydHMubnVtID8gcGFydHMgOiB7XG4gICAgICAgICAgICAgICAgbnVtOiBNYXRoLnRydW5jKG51bSAvIFJPVU5ESU5HX1VOSVRTW3VuaXRdKSxcbiAgICAgICAgICAgICAgICBmcmFjdGlvbjogdGhpcy5jYWxjdWxhdGVEZWNpbWFsKG51bSwgUk9VTkRJTkdfVU5JVFNbdW5pdF0pXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgT2JqZWN0LmtleXMocGFydHMpLmZvckVhY2goKGtleSkgPT4ge1xuICA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uICAgICAgICAgICAgICAgIGN1cnJlbnRVbml0ID0ga2V5O1xuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgcmV0dXJuIGN1cnJlbnRVbml0O1xuICAgIH1cbn1cbiJdfQ==
|
@@ -3,7 +3,19 @@ export const enUSLocaleData = {
|
|
3
3
|
select: { hiddenItemsText: 'one more' },
|
4
4
|
datepicker: {
|
5
5
|
placeholder: 'dd/mm/yyyy'
|
6
|
+
},
|
7
|
+
formatters: {
|
8
|
+
number: {
|
9
|
+
rounding: {
|
10
|
+
separator: '',
|
11
|
+
groupSeparator: '.',
|
12
|
+
thousand: 'K',
|
13
|
+
million: 'M',
|
14
|
+
billion: 'B',
|
15
|
+
trillion: 'T'
|
16
|
+
}
|
17
|
+
}
|
6
18
|
}
|
7
19
|
}
|
8
20
|
};
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW4tVVMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvY29yZS9sb2NhbGVzL2VuLVVTLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRztJQUMxQixPQUFPLEVBQUU7UUFDTCxNQUFNLEVBQUUsRUFBRSxlQUFlLEVBQUUsVUFBVSxFQUFDO1FBQ3RDLFVBQVUsRUFBRTtZQUNSLFdBQVcsRUFBRSxZQUFZO1NBQzVCO1FBQ0QsVUFBVSxFQUFFO1lBQ1IsTUFBTSxFQUFFO2dCQUNKLFFBQVEsRUFBRTtvQkFDTixTQUFTLEVBQUUsRUFBRTtvQkFDYixjQUFjLEVBQUUsR0FBRztvQkFDbkIsUUFBUSxFQUFFLEdBQUc7b0JBQ2IsT0FBTyxFQUFFLEdBQUc7b0JBQ1osT0FBTyxFQUFFLEdBQUc7b0JBQ1osUUFBUSxFQUFFLEdBQUc7aUJBQ2hCO2FBQ0o7U0FDSjtLQUNKO0NBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuXG5leHBvcnQgY29uc3QgZW5VU0xvY2FsZURhdGEgPSB7XG4gICAgJ2VuLVVTJzoge1xuICAgICAgICBzZWxlY3Q6IHsgaGlkZGVuSXRlbXNUZXh0OiAnb25lIG1vcmUnfSxcbiAgICAgICAgZGF0ZXBpY2tlcjoge1xuICAgICAgICAgICAgcGxhY2Vob2xkZXI6ICdkZC9tbS95eXl5J1xuICAgICAgICB9LFxuICAgICAgICBmb3JtYXR0ZXJzOiB7XG4gICAgICAgICAgICBudW1iZXI6IHtcbiAgICAgICAgICAgICAgICByb3VuZGluZzoge1xuICAgICAgICAgICAgICAgICAgICBzZXBhcmF0b3I6ICcnLFxuICAgICAgICAgICAgICAgICAgICBncm91cFNlcGFyYXRvcjogJy4nLFxuICAgICAgICAgICAgICAgICAgICB0aG91c2FuZDogJ0snLFxuICAgICAgICAgICAgICAgICAgICBtaWxsaW9uOiAnTScsXG4gICAgICAgICAgICAgICAgICAgIGJpbGxpb246ICdCJyxcbiAgICAgICAgICAgICAgICAgICAgdHJpbGxpb246ICdUJ1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn07XG4iXX0=
|
@@ -9,7 +9,19 @@ export const esLALocaleData = {
|
|
9
9
|
full: 'hh:mm:ss',
|
10
10
|
short: 'hh:mm'
|
11
11
|
}
|
12
|
+
},
|
13
|
+
formatters: {
|
14
|
+
number: {
|
15
|
+
rounding: {
|
16
|
+
separator: '',
|
17
|
+
groupSeparator: ',',
|
18
|
+
thousand: 'K',
|
19
|
+
million: 'M',
|
20
|
+
billion: 'MRD',
|
21
|
+
trillion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gICAgICAgICBwbGFjZWhvbGRlcjogJ2RkL21tL2FhYWEnXG4gICAgICAgIH0sXG4gICAgICAgIHRpbWVwaWNrZXI6IHtcbiAgICAgICAgICAgIHBsYWNlaG9sZGVyOiB7XG4gICAgICAgICAgICAgICAgZnVsbDogJ2hoOm1tOnNzJyxcbiAgICAgICAgICAgICAgICBzaG9ydDogJ2hoOm1tJ1xuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBmb3JtYXR0ZXJzOiB7XG4gICAgICAgICAgICBudW1iZXI6IHtcbiAgICAgICAgICAgICAgICByb3VuZGluZzoge1xuICAgICAgICAgICAgICAgICAgICBzZXBhcmF0b3I6ICcnLFxuICAgICAgICAgICAgICAgICAgICBncm91cFNlcGFyYXRvcjogJywnLFxuICAgICAgICAgICAgICAgICAgICB0aG91c2FuZDogJ0snLFxuICAgICAgICAgICAgICAgICAgICBtaWxsaW9uOiAnTScsXG4gICAgICAgICAgICAgICAgICAgIGJpbGxpb246ICdNUkQnLFxuICAgICAgICAgICAgICAgICAgICB0cmlsbGlvbjogJ0InXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufTtcbiJdfQ==
|
@@ -9,7 +9,20 @@ export const faIRLocaleData = {
|
|
9
9
|
full: 'ثانیه:دقیقه:ساعت',
|
10
10
|
short: 'دقیقه:ساعت'
|
11
11
|
}
|
12
|
+
},
|
13
|
+
formatters: {
|
14
|
+
number: {
|
15
|
+
rounding: {
|
16
|
+
separator: ' ',
|
17
|
+
groupSeparator: '٫',
|
18
|
+
thousand: 'هزار',
|
19
|
+
million: 'میلیون',
|
20
|
+
billion: 'م',
|
21
|
+
trillion: 'تریلیون',
|
22
|
+
rtl: true
|
23
|
+
}
|
24
|
+
}
|
12
25
|
}
|
13
26
|
}
|
14
27
|
};
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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iB7XG4gICAgICAgICAgICBwbGFjZWhvbGRlcjoge1xuICAgICAgICAgICAgICAgIGZ1bGw6ICfYq9in2YbbjNmHOtiv2YLbjNmC2Yc62LPYp9i52KonLFxuICAgICAgICAgICAgICAgIHNob3J0OiAn2K/ZgtuM2YLZhzrYs9in2LnYqidcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgZm9ybWF0dGVyczoge1xuICAgICAgICAgICAgbnVtYmVyOiB7XG4gICAgICAgICAgICAgICAgcm91bmRpbmc6IHtcbiAgICAgICAgICAgICAgICAgICAgc2VwYXJhdG9yOiAnICcsXG4gICAgICAgICAgICAgICAgICAgIGdyb3VwU2VwYXJhdG9yOiAn2asnLFxuICAgICAgICAgICAgICAgICAgICB0aG91c2FuZDogJ9mH2LLYp9ixJyxcbiAgICAgICAgICAgICAgICAgICAgbWlsbGlvbjogJ9mF24zZhNuM2YjZhicsXG4gICAgICAgICAgICAgICAgICAgIGJpbGxpb246ICfZhScsXG4gICAgICAgICAgICAgICAgICAgIHRyaWxsaW9uOiAn2KrYsduM2YTbjNmI2YYnLFxuICAgICAgICAgICAgICAgICAgICBydGw6IHRydWVcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59O1xuIl19
|
@@ -5,6 +5,7 @@ import { esLALocaleData } from './es-LA';
|
|
5
5
|
import { faIRLocaleData } from './fa-IR';
|
6
6
|
import { ptBRLocaleData } from './pt-BR';
|
7
7
|
import { ruRULocaleData } from './ru-RU';
|
8
|
+
import { tkTMLocaleData } from './tk-TM';
|
8
9
|
import { znCNLocaleData } from './zh-CN';
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
export const MC_LOCALE_ID = new InjectionToken('McLocaleId');
|
@@ -17,14 +18,16 @@ export function MC_DEFAULT_LOCALE_DATA_FACTORY() {
|
|
17
18
|
{ id: 'es-LA', name: 'Español' },
|
18
19
|
{ id: 'pt-BR', name: 'Português' },
|
19
20
|
{ id: 'ru-RU', name: 'Русский' },
|
20
|
-
{ id: 'fa-IR', name: 'فارسی' }
|
21
|
+
{ id: 'fa-IR', name: 'فارسی' },
|
22
|
+
{ id: 'tk-TM', name: 'Türkmen' }
|
21
23
|
],
|
22
24
|
...ruRULocaleData,
|
23
25
|
...enUSLocaleData,
|
24
26
|
...esLALocaleData,
|
25
27
|
...faIRLocaleData,
|
26
28
|
...ptBRLocaleData,
|
27
|
-
...znCNLocaleData
|
29
|
+
...znCNLocaleData,
|
30
|
+
...tkTMLocaleData
|
28
31
|
};
|
29
32
|
}
|
30
33
|
export const MC_LOCALE_DATA = new InjectionToken('MC_LOCALE_DATA', { providedIn: 'root', factory: MC_DEFAULT_LOCALE_DATA_FACTORY });
|
@@ -67,4 +70,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
67
70
|
type: Inject,
|
68
71
|
args: [MC_LOCALE_DATA]
|
69
72
|
}] }]; } });
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxlLXNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvY29yZS9sb2NhbGVzL2xvY2FsZS1zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLGNBQWMsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0UsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUV2QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDek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ShpZDogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuaWQgPSBpZDtcbiAgICAgICAgdGhpcy5jdXJyZW50ID0gdGhpcy5sb2NhbGVzW3RoaXMuaWRdO1xuXG4gICAgICAgIHRoaXMuY2hhbmdlcy5uZXh0KHRoaXMuaWQpO1xuICAgIH1cblxuICAgIGFkZExvY2FsZShpZDogc3RyaW5nLCBsb2NhbGVEYXRhKSB7XG4gICAgICAgIHRoaXMuaWQgPSBpZDtcbiAgICAgICAgdGhpcy5jaGFuZ2VzLm5leHQodGhpcy5pZCk7XG5cbiAgICAgICAgdGhpcy5sb2NhbGVzW3RoaXMuaWRdID0gbG9jYWxlRGF0YTtcbiAgICB9XG5cbiAgICBnZXRQYXJhbXMoY29tcG9uZW50TmFtZTogc3RyaW5nKSB7XG4gICAgICAgIHJldHVybiB0aGlzLmN1cnJlbnRbY29tcG9uZW50TmFtZV07XG4gICAgfVxufVxuIl19
|
@@ -9,7 +9,19 @@ export const ptBRLocaleData = {
|
|
9
9
|
full: 'hh:mm:ss',
|
10
10
|
short: 'hh:mm'
|
11
11
|
}
|
12
|
+
},
|
13
|
+
formatters: {
|
14
|
+
number: {
|
15
|
+
rounding: {
|
16
|
+
separator: ' ',
|
17
|
+
groupSeparator: ',',
|
18
|
+
thousand: 'mil',
|
19
|
+
million: 'mi',
|
20
|
+
billion: 'bi',
|
21
|
+
trillion: 'tri'
|
22
|
+
}
|
23
|
+
}
|
12
24
|
}
|
13
25
|
}
|
14
26
|
};
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHQtQlIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvY29yZS9sb2NhbGVzL3B0LUJSLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyx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1xuICAgICAgICAgICAgICAgICAgICBzZXBhcmF0b3I6ICcgJyxcbiAgICAgICAgICAgICAgICAgICAgZ3JvdXBTZXBhcmF0b3I6ICcsJyxcbiAgICAgICAgICAgICAgICAgICAgdGhvdXNhbmQ6ICdtaWwnLFxuICAgICAgICAgICAgICAgICAgICBtaWxsaW9uOiAnbWknLFxuICAgICAgICAgICAgICAgICAgICBiaWxsaW9uOiAnYmknLFxuICAgICAgICAgICAgICAgICAgICB0cmlsbGlvbjogJ3RyaSdcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59O1xuIl19
|
@@ -3,7 +3,19 @@ export const ruRULocaleData = {
|
|
3
3
|
select: { hiddenItemsText: 'еще' },
|
4
4
|
datepicker: {
|
5
5
|
placeholder: 'дд.мм.гггг'
|
6
|
+
},
|
7
|
+
formatters: {
|
8
|
+
number: {
|
9
|
+
rounding: {
|
10
|
+
separator: ' ',
|
11
|
+
groupSeparator: ',',
|
12
|
+
thousand: 'К',
|
13
|
+
million: 'М',
|
14
|
+
billion: 'М',
|
15
|
+
trillion: 'Т'
|
16
|
+
}
|
17
|
+
}
|
6
18
|
}
|
7
19
|
}
|
8
20
|
};
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnUtUlUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvY29yZS9sb2NhbGVzL3J1LVJVLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRztJQUMxQixPQUFPLEVBQUU7UUFDTCxNQUFNLEVBQUUsRUFBRSxlQUFlLEVBQUUsS0FBSyxFQUFDO1FBQ2pDLFVBQVUsRUFBRTtZQUNSLFdBQVcsRUFBRSxZQUF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