@huntsman-cancer-institute/input 15.0.3 → 16.0.0
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/date/date-date-range.component.d.ts +1 -1
- package/date/date-date.component.d.ts +1 -1
- package/dropdown/dropdown-select-result.component.d.ts +1 -1
- package/dropdown/dropdown-select.component.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/{esm2020 → esm2022}/date/date-base.mjs +4 -4
- package/{esm2020 → esm2022}/date/date-date-range.component.mjs +6 -6
- package/{esm2020 → esm2022}/date/date-date.component.mjs +6 -6
- package/esm2022/date/date-validator.mjs +40 -0
- package/{esm2020 → esm2022}/date/date.module.mjs +23 -23
- package/{esm2020 → esm2022}/dropdown/dropdown-select-result.component.mjs +6 -6
- package/{esm2020 → esm2022}/dropdown/dropdown-select.component.mjs +6 -6
- package/{esm2020 → esm2022}/dropdown/dropdown.component.mjs +6 -6
- package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +17 -17
- package/{esm2020 → esm2022}/dropdown/dropdown.service.mjs +4 -4
- package/esm2022/dropdown/messages.mjs +10 -0
- package/{esm2020 → esm2022}/dropdown/template-dropdown.directive.mjs +4 -4
- package/{esm2020 → esm2022}/inline/inline.component.mjs +12 -12
- package/{esm2020 → esm2022}/inline/inline.module.mjs +7 -7
- package/{esm2020 → esm2022}/search/search.component.mjs +6 -6
- package/{esm2020 → esm2022}/search/search.module.mjs +9 -9
- package/{esm2020 → esm2022}/select/custom-combobox.component.mjs +10 -10
- package/{esm2020 → esm2022}/select/custom-multi-combobox.component.mjs +10 -10
- package/{esm2020 → esm2022}/select/md-multi-select.component.mjs +12 -12
- package/{esm2020 → esm2022}/select/md-select.component.mjs +12 -12
- package/{esm2020 → esm2022}/select/native-select.component.mjs +12 -12
- package/{esm2020 → esm2022}/select/select.module.mjs +33 -33
- package/{fesm2020 → fesm2022}/huntsman-cancer-institute-input.mjs +191 -191
- package/{fesm2020 → fesm2022}/huntsman-cancer-institute-input.mjs.map +1 -1
- package/inline/inline.component.d.ts +1 -1
- package/package.json +13 -17
- package/search/search.component.d.ts +1 -1
- package/select/custom-combobox.component.d.ts +1 -1
- package/select/custom-multi-combobox.component.d.ts +1 -1
- package/select/md-multi-select.component.d.ts +1 -1
- package/select/md-select.component.d.ts +1 -1
- package/select/native-select.component.d.ts +1 -1
- package/esm2020/date/date-validator.mjs +0 -40
- package/esm2020/dropdown/messages.mjs +0 -10
- package/fesm2015/huntsman-cancer-institute-input.mjs +0 -3697
- package/fesm2015/huntsman-cancer-institute-input.mjs.map +0 -1
- /package/{esm2020 → esm2022}/dropdown/dropdown-index.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/select-item.mjs +0 -0
- /package/{esm2020 → esm2022}/huntsman-cancer-institute-input.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
|
@@ -62,5 +62,5 @@ export declare class InlineComponent implements ControlValueAccessor {
|
|
|
62
62
|
*/
|
|
63
63
|
documentClick(event: MouseEvent): void;
|
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<InlineComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InlineComponent, "hci-inline-input", never, { "noValueMessage": "noValueMessage"; }, {}, ["renderTemplate", "contentChild"], ["*"], false, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InlineComponent, "hci-inline-input", never, { "noValueMessage": { "alias": "noValueMessage"; "required": false; }; }, {}, ["renderTemplate", "contentChild"], ["*"], false, never>;
|
|
66
66
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huntsman-cancer-institute/input",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@gitlab.com:huntsman-cancer-institute/risr/ng/hci-ng-lib.git"
|
|
@@ -10,23 +10,21 @@
|
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@angular/
|
|
14
|
-
"@angular/
|
|
15
|
-
"@angular/
|
|
16
|
-
"@angular/
|
|
13
|
+
"@angular/animations": "^16.x",
|
|
14
|
+
"@angular/cdk": "^16.x",
|
|
15
|
+
"@angular/common": "^16.x",
|
|
16
|
+
"@angular/core": "^16.x",
|
|
17
|
+
"@angular/forms": "^16.x",
|
|
18
|
+
"@angular/material": "^16.x",
|
|
17
19
|
"moment": "^2.27.0",
|
|
18
|
-
"@ng-bootstrap/ng-bootstrap": "^
|
|
20
|
+
"@ng-bootstrap/ng-bootstrap": "^15.0.0",
|
|
19
21
|
"@circlon/angular-tree-component": "^11.0.4"
|
|
20
22
|
},
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"@huntsman-cancer-institute/dictionary-service": "
|
|
24
|
+
"@huntsman-cancer-institute/dictionary-service": "^16.x",
|
|
23
25
|
"tslib": "^2.3.0"
|
|
24
26
|
},
|
|
25
|
-
"module": "
|
|
26
|
-
"es2020": "fesm2020/huntsman-cancer-institute-input.mjs",
|
|
27
|
-
"esm2020": "esm2020/huntsman-cancer-institute-input.mjs",
|
|
28
|
-
"fesm2020": "fesm2020/huntsman-cancer-institute-input.mjs",
|
|
29
|
-
"fesm2015": "fesm2015/huntsman-cancer-institute-input.mjs",
|
|
27
|
+
"module": "fesm2022/huntsman-cancer-institute-input.mjs",
|
|
30
28
|
"typings": "index.d.ts",
|
|
31
29
|
"exports": {
|
|
32
30
|
"./package.json": {
|
|
@@ -34,11 +32,9 @@
|
|
|
34
32
|
},
|
|
35
33
|
".": {
|
|
36
34
|
"types": "./index.d.ts",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"node": "./fesm2015/huntsman-cancer-institute-input.mjs",
|
|
41
|
-
"default": "./fesm2020/huntsman-cancer-institute-input.mjs"
|
|
35
|
+
"esm2022": "./esm2022/huntsman-cancer-institute-input.mjs",
|
|
36
|
+
"esm": "./esm2022/huntsman-cancer-institute-input.mjs",
|
|
37
|
+
"default": "./fesm2022/huntsman-cancer-institute-input.mjs"
|
|
42
38
|
}
|
|
43
39
|
},
|
|
44
40
|
"sideEffects": false
|
|
@@ -38,5 +38,5 @@ export declare class SearchComponent {
|
|
|
38
38
|
*/
|
|
39
39
|
filterTreeIncludeChildren(data: any[]): any[];
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "hci-search", never, { "isArray": "isArray"; "isIncludeChildren": "isIncludeChildren"; "anyComponent": "anyComponent"; "input": "input"; "data": "data"; }, { "dataFiltered": "dataFiltered"; }, never, never, false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "hci-search", never, { "isArray": { "alias": "isArray"; "required": false; }; "isIncludeChildren": { "alias": "isIncludeChildren"; "required": false; }; "anyComponent": { "alias": "anyComponent"; "required": false; }; "input": { "alias": "input"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "dataFiltered": "dataFiltered"; }, never, never, false, never>;
|
|
42
42
|
}
|
|
@@ -94,5 +94,5 @@ export declare class CustomComboBoxComponent implements AfterViewInit, OnChanges
|
|
|
94
94
|
getOptIndex(optValue: any): number;
|
|
95
95
|
ngOnDestroy(): void;
|
|
96
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomComboBoxComponent, never>;
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomComboBoxComponent, "hci-combobox", never, { "maxOptionsToShow": "maxOptionsToShow"; "customViewportClass": "customViewportClass"; "customFieldClasses": "customFieldClasses"; "customOptionClasses": "customOptionClasses"; "label": "label"; "placeholder": "placeholder"; "temporaryPlaceholder": "temporaryPlaceholder"; "tooltip": "tooltip"; "allowNone": "allowNone"; "selectTextOnOpen": "selectTextOnOpen"; "cdkFocusInitial": "cdkFocusInitial"; "tabindex": "tabindex"; "options": "options"; "allowLoader": "allowLoader"; "valueField": "valueField"; "forceEmitObject": "forceEmitObject"; "displayField": "displayField"; "appearance": "appearance"; "floatLabel": "floatLabel"; "defineErrors": "defineErrors"; }, { "optionSelected": "optionSelected"; "optionChanged": "optionChanged"; "optionsLoaded": "optionsLoaded"; }, never, ["*"], false, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomComboBoxComponent, "hci-combobox", never, { "maxOptionsToShow": { "alias": "maxOptionsToShow"; "required": false; }; "customViewportClass": { "alias": "customViewportClass"; "required": false; }; "customFieldClasses": { "alias": "customFieldClasses"; "required": false; }; "customOptionClasses": { "alias": "customOptionClasses"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "temporaryPlaceholder": { "alias": "temporaryPlaceholder"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "allowNone": { "alias": "allowNone"; "required": false; }; "selectTextOnOpen": { "alias": "selectTextOnOpen"; "required": false; }; "cdkFocusInitial": { "alias": "cdkFocusInitial"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "options": { "alias": "options"; "required": false; }; "allowLoader": { "alias": "allowLoader"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "forceEmitObject": { "alias": "forceEmitObject"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "defineErrors": { "alias": "defineErrors"; "required": false; }; }, { "optionSelected": "optionSelected"; "optionChanged": "optionChanged"; "optionsLoaded": "optionsLoaded"; }, never, ["*"], false, never>;
|
|
98
98
|
}
|
|
@@ -46,5 +46,5 @@ export declare class CustomMultiComboBoxComponent implements AfterViewInit, OnCh
|
|
|
46
46
|
compareByID(itemOne: any, itemTwo: any): boolean;
|
|
47
47
|
ngOnDestroy(): void;
|
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMultiComboBoxComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMultiComboBoxComponent, "hci-multi-combobox", never, { "label": "label"; "placeholder": "placeholder"; "temporaryPlaceholder": "temporaryPlaceholder"; "tooltip": "tooltip"; "options": "options"; "valueField": "valueField"; "forceEmitObject": "forceEmitObject"; "displayField": "displayField"; "appearance": "appearance"; "initialFocus": "initialFocus"; "floatLabel": "floatLabel"; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMultiComboBoxComponent, "hci-multi-combobox", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "temporaryPlaceholder": { "alias": "temporaryPlaceholder"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "options": { "alias": "options"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "forceEmitObject": { "alias": "forceEmitObject"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "initialFocus": { "alias": "initialFocus"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
|
|
50
50
|
}
|
|
@@ -28,5 +28,5 @@ export declare class MdMultiSelectComponent implements ControlValueAccessor {
|
|
|
28
28
|
registerOnChange(callback: (_: any[]) => void): void;
|
|
29
29
|
registerOnTouched(callback: () => void): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MdMultiSelectComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MdMultiSelectComponent, "hci-md-multi-select", never, { "classList": "class"; "name": "name"; "label": "label"; "url": "url"; "entries": "entries"; "required": "required"; "idKey": "idKey"; "displayKey": "displayKey"; }, {}, never, never, false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MdMultiSelectComponent, "hci-md-multi-select", never, { "classList": { "alias": "class"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "url": { "alias": "url"; "required": false; }; "entries": { "alias": "entries"; "required": false; }; "required": { "alias": "required"; "required": false; }; "idKey": { "alias": "idKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
32
|
}
|
|
@@ -26,5 +26,5 @@ export declare class MdSelectComponent implements ControlValueAccessor {
|
|
|
26
26
|
registerOnChange(callback: (_: number) => void): void;
|
|
27
27
|
registerOnTouched(callback: () => void): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<MdSelectComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MdSelectComponent, "hci-md-select", never, { "classList": "class"; "name": "name"; "label": "label"; "url": "url"; "className": "className"; "entries": "entries"; "required": "required"; "idKey": "idKey"; "displayKey": "displayKey"; }, {}, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MdSelectComponent, "hci-md-select", never, { "classList": { "alias": "class"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "url": { "alias": "url"; "required": false; }; "className": { "alias": "className"; "required": false; }; "entries": { "alias": "entries"; "required": false; }; "required": { "alias": "required"; "required": false; }; "idKey": { "alias": "idKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -33,5 +33,5 @@ export declare class NativeSelectComponent implements ControlValueAccessor {
|
|
|
33
33
|
registerOnChange(fn: any): void;
|
|
34
34
|
registerOnTouched(fn: () => void): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeSelectComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NativeSelectComponent, "hci-native-select", never, { "classList": "class"; "name": "name"; "label": "label"; "url": "url"; "entries": "entries"; "required": "required"; "idKey": "idKey"; "displayKey": "displayKey"; "disabled": "disabled"; "sortKey": "sortKey"; "sortNumeric": "sortNumeric"; "filterKey": "filterKey"; "filter": "filter"; }, {}, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NativeSelectComponent, "hci-native-select", never, { "classList": { "alias": "class"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "url": { "alias": "url"; "required": false; }; "entries": { "alias": "entries"; "required": false; }; "required": { "alias": "required"; "required": false; }; "idKey": { "alias": "idKey"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "sortKey": { "alias": "sortKey"; "required": false; }; "sortNumeric": { "alias": "sortNumeric"; "required": false; }; "filterKey": { "alias": "filterKey"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as moment from "moment";
|
|
2
|
-
export class DateValidator {
|
|
3
|
-
static dateFormatValidator(ac) {
|
|
4
|
-
if (ac && ac.value && !moment(ac.value, "M/D/YYYY", true).isValid()) {
|
|
5
|
-
return { "dateFormatValidator": true };
|
|
6
|
-
}
|
|
7
|
-
return null;
|
|
8
|
-
}
|
|
9
|
-
static dateRangeValidator(ac) {
|
|
10
|
-
if (ac && ac.value && DateValidator.minValue && DateValidator.maxValue && moment(ac.value, "M/D/YYYY", true).isValid()) {
|
|
11
|
-
let dateValue = moment(ac.value);
|
|
12
|
-
let minDate = moment(DateValidator.convertNgbStructToDate(DateValidator.minValue));
|
|
13
|
-
let maxDate = moment(DateValidator.convertNgbStructToDate(DateValidator.maxValue));
|
|
14
|
-
if (dateValue.isBefore(minDate, "day") || dateValue.isAfter(maxDate, "day")) {
|
|
15
|
-
return { "dateRangeValidator": true };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
static convertNgbStructToDate(struct) {
|
|
21
|
-
return { year: struct.year, month: struct.month - 1, day: struct.day };
|
|
22
|
-
}
|
|
23
|
-
static inRange(ac) {
|
|
24
|
-
if (ac && ac.value && DateValidator.minValue && DateValidator.maxValue && moment(ac.value, "M/D/YYYY", true).isValid()) {
|
|
25
|
-
let dateValue = moment(ac.value);
|
|
26
|
-
let minDate = moment(DateValidator.convertNgbStructToDate(DateValidator.minValue));
|
|
27
|
-
let maxDate = moment(DateValidator.convertNgbStructToDate(DateValidator.maxValue));
|
|
28
|
-
if (dateValue.isBefore(minDate, "day") || dateValue.isAfter(maxDate, "day")) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
DateValidator.minValue = undefined;
|
|
39
|
-
DateValidator.maxValue = undefined;
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS12YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnB1dC9zcmMvZGF0ZS9kYXRlLXZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEtBQUssTUFBTSxNQUFNLFFBQVEsQ0FBQztBQUVqQyxNQUFNLE9BQU8sYUFBYTtJQUl4QixNQUFNLENBQUMsbUJBQW1CLENBQUMsRUFBbUI7UUFDNUMsSUFBSSxFQUFFLElBQUksRUFBRSxDQUFDLEtBQUssSUFBSSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUMsS0FBSyxFQUFFLFVBQVUsRUFBRSxJQUFJLENBQUMsQ0FBQyxPQUFPLEVBQUUsRUFBRTtZQUNuRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsSUFBSSxFQUFFLENBQUM7U0FDeEM7UUF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xyXG4gICAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICAgICB9XHJcbiAgICAgfVxyXG4gICAgIHJldHVybiBmYWxzZTtcclxuICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A model of common messages for dropdown components.
|
|
3
|
-
*
|
|
4
|
-
* @since 5.0.0
|
|
5
|
-
*/
|
|
6
|
-
export class Messages {
|
|
7
|
-
}
|
|
8
|
-
Messages.PARTIAL_COUNT_VAR = "%PARTIAL_COUNT%";
|
|
9
|
-
Messages.TOTAL_COUNT_VAR = "%TOTAL_COUNT%";
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnB1dC9zcmMvZHJvcGRvd24vbWVzc2FnZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7R0FJRztBQUNILE1BQU0sT0FBTyxRQUFROztBQUVILDBCQUFpQixHQUFHLGlCQUFpQixDQUFDO0FBQ3RDLHdCQUFlLEdBQUcsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXHJcbiAqIEEgbW9kZWwgb2YgY29tbW9uIG1lc3NhZ2VzIGZvciBkcm9wZG93biBjb21wb25lbnRzLlxyXG4gKlxyXG4gKiBAc2luY2UgNS4wLjBcclxuICovXHJcbmV4cG9ydCBjbGFzcyBNZXNzYWdlcyB7XHJcblxyXG4gIHN0YXRpYyByZWFkb25seSBQQVJUSUFMX0NPVU5UX1ZBUiA9IFwiJVBBUlRJQUxfQ09VTlQlXCI7XHJcbiAgc3RhdGljIHJlYWRvbmx5IFRPVEFMX0NPVU5UX1ZBUiA9IFwiJVRPVEFMX0NPVU5UJVwiO1xyXG5cclxuICBtb3JlUmVzdWx0c01zZz86IHN0cmluZztcclxuICBub1Jlc3VsdHNNc2c/OiBzdHJpbmc7XHJcbn1cclxuIl19
|