@softpak/components 20.7.0 → 20.7.1
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.
|
@@ -15,7 +15,7 @@ class SpxValidationMessagesComponent {
|
|
|
15
15
|
this.pending = null;
|
|
16
16
|
this.token = 0;
|
|
17
17
|
// Short delay to avoid growing DOM while clicking on something.
|
|
18
|
-
this._delayShow = effect(() => {
|
|
18
|
+
this._delayShow = effect((onCleanup) => {
|
|
19
19
|
const want = this.shouldShow();
|
|
20
20
|
// Invalidate any older timeouts.
|
|
21
21
|
this.token++;
|
|
@@ -98,9 +98,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImpor
|
|
|
98
98
|
type: HostBinding,
|
|
99
99
|
args: ['class.block']
|
|
100
100
|
}] } });
|
|
101
|
-
function onCleanup(arg0) {
|
|
102
|
-
throw new Error('Function not implemented.');
|
|
103
|
-
}
|
|
104
101
|
|
|
105
102
|
/**
|
|
106
103
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-validation-messages.mjs","sources":["../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.ts","../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.html","../../../../projects/softpak/components/spx-validation-messages/softpak-components-spx-validation-messages.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors } from '@angular/forms';\nimport { ChangeDetectionStrategy, Component, HostBinding, computed, effect, inject, input, signal } from '@angular/core';\nimport { spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextInvalidCode, spxTextPatternNotValid, spxTextRequired, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort } from '@softpak/components/spx-translate';\n\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'spx-validation-messages',\n standalone: true,\n templateUrl: './spx-validation-messages.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SpxValidationMessagesComponent {\n @HostBinding('class.hidden') get hidden() { return !this.show(); }\n @HostBinding('class.block') get block() { return this.show(); }\n public readonly errors = input.required<ValidationErrors>();\n public readonly touched = input.required<boolean>();\n public readonly formControlI = input<AbstractControl<any, any> | undefined>(undefined);\n public readonly fieldLabel = input<string | undefined>(undefined);\n public readonly submitTried = input<boolean | undefined>(undefined);\n protected readonly show = signal(false);\n private readonly shouldShow = computed(() => this.formControlI() && this.errors() && (this.touched() || this.submitTried()));\n\n private pending: ReturnType<typeof setTimeout> | null = null;\n private token = 0;\n\n // Short delay to avoid growing DOM while clicking on something.\n private _delayShow = effect(() => {\n const want = this.shouldShow();\n\n // Invalidate any older timeouts.\n this.token++;\n\n // Cancel any in-flight timeout.\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n\n if (want) {\n const myToken = this.token;\n this.pending = setTimeout(() => {\n // Only set true if no newer change happened AND the condition still holds.\n if (myToken === this.token && this.shouldShow()) {\n this.show.set(true);\n }\n }, 500); // your delay\n } else {\n // Turn off immediately.\n this.show.set(false);\n }\n\n // Clean up if the effect is torn down.\n onCleanup(() => {\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n });\n });\n\n translateService = inject(TranslateService);\n\n textTooLong = computed(() => {\n return this.translateService.instant(spxTextTooLong, { fieldLabel: this.fieldLabel(), error: this.errors()[\"maxlength\"].requiredLength });\n });\n\n textTooShort = computed(() => {\n return this.translateService.instant(spxTextTooShort, { fieldLabel: this.fieldLabel(), error: this.errors()[\"minlength\"].requiredLength });\n });\n\n textTooHigh = computed(() => {\n return this.translateService.instant(spxTextTooHigh, { fieldLabel: this.fieldLabel(), error: this.errors()[\"max\"].max });\n });\n\n textTooLow = computed(() => {\n return this.translateService.instant(spxTextTooLow, { fieldLabel: this.fieldLabel(), error: this.errors()[\"min\"].min });\n });\n\n textPatternNotValid = computed(() => {\n return this.translateService.instant(spxTextPatternNotValid, { fieldLabel: this.fieldLabel() });\n });\n\n textRequired = computed(() => {\n return this.translateService.instant(spxTextRequired, { fieldLabel: this.fieldLabel() });\n });\n\n textChoosePast = computed(() => {\n return this.translateService.instant(spxTextChoosePast);\n });\n\n textChooseFuture = computed(() => {\n return this.translateService.instant(spxTextChooseFuture);\n });\n\n textChooseValidMonth = computed(() => {\n return this.translateService.instant(spxTextChooseValidMonth);\n });\n\n textDateMayNotBeFuture = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBeFuture);\n });\n\n textDateMayNotBePast = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBePast);\n });\n\n textInvalidCode = computed(() => {\n return this.translateService.instant(spxTextInvalidCode, { codeName: this.errors()[\"invalidCode\"].name, codeCode: this.errors()[\"invalidCode\"].code });\n });\n\n}\nfunction onCleanup(arg0: () => void) {\n throw new Error('Function not implemented.');\n}\n\n","\n@if (show()) {\n <div class=\"bg-red-600 rounded-b p-3\">\n @if (errors()[\"maxlength\"]) {\n <div>{{ textTooLong() }}</div>\n }\n @if (errors()[\"minlength\"]) {\n <div>{{ textTooShort() }}</div>\n }\n @if (errors()[\"max\"]) {\n <div>{{ textTooHigh() }}</div>\n }\n @if (errors()[\"min\"]) {\n <div>{{ textTooLow() }}</div>\n }\n @if (errors()[\"pattern\"]) {\n <div>{{ textPatternNotValid() }}</div>\n }\n @if (errors()[\"required\"]) {\n <div>{{ textRequired() }}</div>\n }\n @if (errors()[\"year\"]) {\n <div>{{ textChoosePast() }}</div>\n }\n @if (errors()[\"yearFuture\"]) {\n <div>{{ textChooseFuture() }}</div>\n }\n @if (errors()[\"month\"]) {\n <div>{{ textChooseValidMonth() }}</div>\n }\n @if (errors()[\"future\"]) {\n <div>{{ textDateMayNotBeFuture() }}</div>\n }\n @if (errors()[\"past\"]) {\n <div>{{ textDateMayNotBePast() }}</div>\n }\n @if (errors()[\"invalidCode\"]) {\n <div>{{ textInvalidCode() }}</div>\n }\n </div>\n}","/**\n * Generated bund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,g/BAAA,EAAA;8BAGd,MAAM,EAAA,CAAA;sBAAtC,WAAW;uBAAC,cAAc;gBACK,KAAK,EAAA,CAAA;sBAApC,WAAW;uBAAC,aAAa;;AAkG5B,SAAS,SAAS,CAAC,IAAgB,EAAA;AACjC,IAAA,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC;AAC9C;;AElHA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-validation-messages.mjs","sources":["../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.ts","../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.html","../../../../projects/softpak/components/spx-validation-messages/softpak-components-spx-validation-messages.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors } from '@angular/forms';\nimport { ChangeDetectionStrategy, Component, HostBinding, computed, effect, inject, input, signal } from '@angular/core';\nimport { spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextInvalidCode, spxTextPatternNotValid, spxTextRequired, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort } from '@softpak/components/spx-translate';\n\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'spx-validation-messages',\n standalone: true,\n templateUrl: './spx-validation-messages.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SpxValidationMessagesComponent {\n @HostBinding('class.hidden') get hidden() { return !this.show(); }\n @HostBinding('class.block') get block() { return this.show(); }\n public readonly errors = input.required<ValidationErrors>();\n public readonly touched = input.required<boolean>();\n public readonly formControlI = input<AbstractControl<any, any> | undefined>(undefined);\n public readonly fieldLabel = input<string | undefined>(undefined);\n public readonly submitTried = input<boolean | undefined>(undefined);\n protected readonly show = signal(false);\n private readonly shouldShow = computed(() => this.formControlI() && this.errors() && (this.touched() || this.submitTried()));\n\n private pending: ReturnType<typeof setTimeout> | null = null;\n private token = 0;\n\n // Short delay to avoid growing DOM while clicking on something.\n private _delayShow = effect((onCleanup) => {\n const want = this.shouldShow();\n\n // Invalidate any older timeouts.\n this.token++;\n\n // Cancel any in-flight timeout.\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n\n if (want) {\n const myToken = this.token;\n this.pending = setTimeout(() => {\n // Only set true if no newer change happened AND the condition still holds.\n if (myToken === this.token && this.shouldShow()) {\n this.show.set(true);\n }\n }, 500); // your delay\n } else {\n // Turn off immediately.\n this.show.set(false);\n }\n\n // Clean up if the effect is torn down.\n onCleanup(() => {\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n });\n });\n\n translateService = inject(TranslateService);\n\n textTooLong = computed(() => {\n return this.translateService.instant(spxTextTooLong, { fieldLabel: this.fieldLabel(), error: this.errors()[\"maxlength\"].requiredLength });\n });\n\n textTooShort = computed(() => {\n return this.translateService.instant(spxTextTooShort, { fieldLabel: this.fieldLabel(), error: this.errors()[\"minlength\"].requiredLength });\n });\n\n textTooHigh = computed(() => {\n return this.translateService.instant(spxTextTooHigh, { fieldLabel: this.fieldLabel(), error: this.errors()[\"max\"].max });\n });\n\n textTooLow = computed(() => {\n return this.translateService.instant(spxTextTooLow, { fieldLabel: this.fieldLabel(), error: this.errors()[\"min\"].min });\n });\n\n textPatternNotValid = computed(() => {\n return this.translateService.instant(spxTextPatternNotValid, { fieldLabel: this.fieldLabel() });\n });\n\n textRequired = computed(() => {\n return this.translateService.instant(spxTextRequired, { fieldLabel: this.fieldLabel() });\n });\n\n textChoosePast = computed(() => {\n return this.translateService.instant(spxTextChoosePast);\n });\n\n textChooseFuture = computed(() => {\n return this.translateService.instant(spxTextChooseFuture);\n });\n\n textChooseValidMonth = computed(() => {\n return this.translateService.instant(spxTextChooseValidMonth);\n });\n\n textDateMayNotBeFuture = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBeFuture);\n });\n\n textDateMayNotBePast = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBePast);\n });\n\n textInvalidCode = computed(() => {\n return this.translateService.instant(spxTextInvalidCode, { codeName: this.errors()[\"invalidCode\"].name, codeCode: this.errors()[\"invalidCode\"].code });\n });\n\n}\n\n","\n@if (show()) {\n <div class=\"bg-red-600 rounded-b p-3\">\n @if (errors()[\"maxlength\"]) {\n <div>{{ textTooLong() }}</div>\n }\n @if (errors()[\"minlength\"]) {\n <div>{{ textTooShort() }}</div>\n }\n @if (errors()[\"max\"]) {\n <div>{{ textTooHigh() }}</div>\n }\n @if (errors()[\"min\"]) {\n <div>{{ textTooLow() }}</div>\n }\n @if (errors()[\"pattern\"]) {\n <div>{{ textPatternNotValid() }}</div>\n }\n @if (errors()[\"required\"]) {\n <div>{{ textRequired() }}</div>\n }\n @if (errors()[\"year\"]) {\n <div>{{ textChoosePast() }}</div>\n }\n @if (errors()[\"yearFuture\"]) {\n <div>{{ textChooseFuture() }}</div>\n }\n @if (errors()[\"month\"]) {\n <div>{{ textChooseValidMonth() }}</div>\n }\n @if (errors()[\"future\"]) {\n <div>{{ textDateMayNotBeFuture() }}</div>\n }\n @if (errors()[\"past\"]) {\n <div>{{ textDateMayNotBePast() }}</div>\n }\n @if (errors()[\"invalidCode\"]) {\n <div>{{ textInvalidCode() }}</div>\n }\n </div>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAYa,8BAA8B,CAAA;AAN3C,IAAA,WAAA,GAAA;AASkB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,iDAAoB;AAC3C,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,kDAAW;AACnC,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAwC,SAAS,wDAAC;AACtE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAqB,SAAS,sDAAC;AACjD,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAsB,SAAS,uDAAC;AAChD,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,KAAK,gDAAC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AAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,CAAC;AACxJ,SAAC,2DAAC;AAEH;IAlGC,IAAiC,MAAM,GAAA,EAAK,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAChE,IAAgC,KAAK,KAAK,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;8GAFlD,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,00BCZ3C,g/BAwCC,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FD5BY,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAN1C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAAA,UAAA,EACvB,IAAI,EAAA,eAAA,EAEC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,g/BAAA,EAAA;8BAGd,MAAM,EAAA,CAAA;sBAAtC,WAAW;uBAAC,cAAc;gBACK,KAAK,EAAA,CAAA;sBAApC,WAAW;uBAAC,aAAa;;;AEd5B;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softpak/components",
|
|
3
|
-
"version": "20.7.
|
|
3
|
+
"version": "20.7.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "20.x.x",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"types": "./spx-404-page/index.d.ts",
|
|
49
49
|
"default": "./fesm2022/softpak-components-spx-404-page.mjs"
|
|
50
50
|
},
|
|
51
|
-
"./spx-capitalize": {
|
|
52
|
-
"types": "./spx-capitalize/index.d.ts",
|
|
53
|
-
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
54
|
-
},
|
|
55
51
|
"./spx-button": {
|
|
56
52
|
"types": "./spx-button/index.d.ts",
|
|
57
53
|
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
58
54
|
},
|
|
55
|
+
"./spx-capitalize": {
|
|
56
|
+
"types": "./spx-capitalize/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
58
|
+
},
|
|
59
59
|
"./spx-card": {
|
|
60
60
|
"types": "./spx-card/index.d.ts",
|
|
61
61
|
"default": "./fesm2022/softpak-components-spx-card.mjs"
|
|
@@ -64,22 +64,22 @@
|
|
|
64
64
|
"types": "./spx-change-details/index.d.ts",
|
|
65
65
|
"default": "./fesm2022/softpak-components-spx-change-details.mjs"
|
|
66
66
|
},
|
|
67
|
-
"./spx-check-digit": {
|
|
68
|
-
"types": "./spx-check-digit/index.d.ts",
|
|
69
|
-
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
70
|
-
},
|
|
71
67
|
"./spx-channel-selection": {
|
|
72
68
|
"types": "./spx-channel-selection/index.d.ts",
|
|
73
69
|
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
74
70
|
},
|
|
75
|
-
"./spx-
|
|
76
|
-
"types": "./spx-
|
|
77
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
71
|
+
"./spx-check-digit": {
|
|
72
|
+
"types": "./spx-check-digit/index.d.ts",
|
|
73
|
+
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
78
74
|
},
|
|
79
75
|
"./spx-form-section": {
|
|
80
76
|
"types": "./spx-form-section/index.d.ts",
|
|
81
77
|
"default": "./fesm2022/softpak-components-spx-form-section.mjs"
|
|
82
78
|
},
|
|
79
|
+
"./spx-confirm": {
|
|
80
|
+
"types": "./spx-confirm/index.d.ts",
|
|
81
|
+
"default": "./fesm2022/softpak-components-spx-confirm.mjs"
|
|
82
|
+
},
|
|
83
83
|
"./spx-form-view": {
|
|
84
84
|
"types": "./spx-form-view/index.d.ts",
|
|
85
85
|
"default": "./fesm2022/softpak-components-spx-form-view.mjs"
|
|
@@ -92,26 +92,26 @@
|
|
|
92
92
|
"types": "./spx-inputs/index.d.ts",
|
|
93
93
|
"default": "./fesm2022/softpak-components-spx-inputs.mjs"
|
|
94
94
|
},
|
|
95
|
-
"./spx-navigation": {
|
|
96
|
-
"types": "./spx-navigation/index.d.ts",
|
|
97
|
-
"default": "./fesm2022/softpak-components-spx-navigation.mjs"
|
|
98
|
-
},
|
|
99
95
|
"./spx-number-check": {
|
|
100
96
|
"types": "./spx-number-check/index.d.ts",
|
|
101
97
|
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
102
98
|
},
|
|
99
|
+
"./spx-navigation": {
|
|
100
|
+
"types": "./spx-navigation/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/softpak-components-spx-navigation.mjs"
|
|
102
|
+
},
|
|
103
103
|
"./spx-pagination": {
|
|
104
104
|
"types": "./spx-pagination/index.d.ts",
|
|
105
105
|
"default": "./fesm2022/softpak-components-spx-pagination.mjs"
|
|
106
106
|
},
|
|
107
|
-
"./spx-patch": {
|
|
108
|
-
"types": "./spx-patch/index.d.ts",
|
|
109
|
-
"default": "./fesm2022/softpak-components-spx-patch.mjs"
|
|
110
|
-
},
|
|
111
107
|
"./spx-pipes": {
|
|
112
108
|
"types": "./spx-pipes/index.d.ts",
|
|
113
109
|
"default": "./fesm2022/softpak-components-spx-pipes.mjs"
|
|
114
110
|
},
|
|
111
|
+
"./spx-patch": {
|
|
112
|
+
"types": "./spx-patch/index.d.ts",
|
|
113
|
+
"default": "./fesm2022/softpak-components-spx-patch.mjs"
|
|
114
|
+
},
|
|
115
115
|
"./spx-progress-bar": {
|
|
116
116
|
"types": "./spx-progress-bar/index.d.ts",
|
|
117
117
|
"default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
|
|
@@ -132,14 +132,14 @@
|
|
|
132
132
|
"types": "./spx-suggestion/index.d.ts",
|
|
133
133
|
"default": "./fesm2022/softpak-components-spx-suggestion.mjs"
|
|
134
134
|
},
|
|
135
|
-
"./spx-tabs": {
|
|
136
|
-
"types": "./spx-tabs/index.d.ts",
|
|
137
|
-
"default": "./fesm2022/softpak-components-spx-tabs.mjs"
|
|
138
|
-
},
|
|
139
135
|
"./spx-toaster": {
|
|
140
136
|
"types": "./spx-toaster/index.d.ts",
|
|
141
137
|
"default": "./fesm2022/softpak-components-spx-toaster.mjs"
|
|
142
138
|
},
|
|
139
|
+
"./spx-tabs": {
|
|
140
|
+
"types": "./spx-tabs/index.d.ts",
|
|
141
|
+
"default": "./fesm2022/softpak-components-spx-tabs.mjs"
|
|
142
|
+
},
|
|
143
143
|
"./spx-toggle": {
|
|
144
144
|
"types": "./spx-toggle/index.d.ts",
|
|
145
145
|
"default": "./fesm2022/softpak-components-spx-toggle.mjs"
|
|
@@ -156,13 +156,13 @@
|
|
|
156
156
|
"types": "./spx-validation/index.d.ts",
|
|
157
157
|
"default": "./fesm2022/softpak-components-spx-validation.mjs"
|
|
158
158
|
},
|
|
159
|
-
"./spx-welcome": {
|
|
160
|
-
"types": "./spx-welcome/index.d.ts",
|
|
161
|
-
"default": "./fesm2022/softpak-components-spx-welcome.mjs"
|
|
162
|
-
},
|
|
163
159
|
"./spx-validation-messages": {
|
|
164
160
|
"types": "./spx-validation-messages/index.d.ts",
|
|
165
161
|
"default": "./fesm2022/softpak-components-spx-validation-messages.mjs"
|
|
162
|
+
},
|
|
163
|
+
"./spx-welcome": {
|
|
164
|
+
"types": "./spx-welcome/index.d.ts",
|
|
165
|
+
"default": "./fesm2022/softpak-components-spx-welcome.mjs"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|