@taiga-ui/cdk 3.33.1-dev.main-793ee40 → 3.33.1-dev.main-1fa4789

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.
Files changed (53) hide show
  1. package/bundles/taiga-ui-cdk-abstract.umd.js +4 -25
  2. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-decorators.umd.js +38 -1
  4. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  5. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +0 -3
  6. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +4 -325
  8. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-directives-media.umd.js +4 -334
  10. package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-directives-obscured.umd.js +4 -325
  12. package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +4 -325
  14. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-directives-resizer.umd.js +4 -7
  16. package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-directives-validator.umd.js +4 -325
  18. package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
  19. package/decorators/debounce.d.ts +4 -0
  20. package/decorators/default-prop.d.ts +3 -0
  21. package/decorators/required-setter.d.ts +3 -0
  22. package/esm2015/abstract/control.js +1 -9
  23. package/esm2015/abstract/interactive.js +1 -18
  24. package/esm2015/decorators/debounce.js +5 -1
  25. package/esm2015/decorators/default-prop.js +4 -1
  26. package/esm2015/decorators/pure.js +24 -2
  27. package/esm2015/decorators/required-setter.js +4 -1
  28. package/esm2015/directives/active-zone/active-zone.directive.js +2 -5
  29. package/esm2015/directives/copy-processor/copy-processor.directive.js +1 -6
  30. package/esm2015/directives/media/media.directive.js +1 -15
  31. package/esm2015/directives/obscured/obscured.directive.js +1 -6
  32. package/esm2015/directives/repeat-times/repeat-times.directive.js +1 -6
  33. package/esm2015/directives/resizer/resizer.directive.js +1 -6
  34. package/esm2015/directives/validator/validator.directive.js +1 -6
  35. package/fesm2015/taiga-ui-cdk-abstract.js +0 -23
  36. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  37. package/fesm2015/taiga-ui-cdk-decorators.js +33 -1
  38. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  39. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +1 -4
  40. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  41. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +0 -5
  42. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  43. package/fesm2015/taiga-ui-cdk-directives-media.js +0 -14
  44. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  45. package/fesm2015/taiga-ui-cdk-directives-obscured.js +0 -5
  46. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  47. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +0 -5
  48. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  49. package/fesm2015/taiga-ui-cdk-directives-resizer.js +0 -5
  50. package/fesm2015/taiga-ui-cdk-directives-resizer.js.map +1 -1
  51. package/fesm2015/taiga-ui-cdk-directives-validator.js +0 -5
  52. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  53. package/package.json +2 -2
@@ -1,5 +1,8 @@
1
1
  import { TuiBooleanHandler } from '@taiga-ui/cdk/types';
2
2
  /**
3
+ * @deprecated:
4
+ * not compatible with TypeScript 5
5
+ *
3
6
  * Decorator for checking input values for undefined. You can also pass
4
7
  * optional assertion to check input against.
5
8
  *
@@ -1,5 +1,8 @@
1
1
  import { TuiBooleanHandler } from '@taiga-ui/cdk/types';
2
2
  /**
3
+ * @deprecated:
4
+ * not compatible with TypeScript 5
5
+ *
3
6
  * Decorator for checking input setter values against a custom assertion which
4
7
  * takes value passed to input setter and component instance as arguments.
5
8
  * It specifically checks for undefined values and prevents calls to the
@@ -1,9 +1,7 @@
1
- import { __decorate } from "tslib";
2
1
  import { Directive, HostBinding, Inject, Input, Optional, } from '@angular/core';
3
2
  import { NgModel } from '@angular/forms';
4
3
  import { tuiAssert } from '@taiga-ui/cdk/classes';
5
4
  import { EMPTY_FUNCTION } from '@taiga-ui/cdk/constants';
6
- import { tuiDefaultProp } from '@taiga-ui/cdk/decorators';
7
5
  import { tuiIsPresent } from '@taiga-ui/cdk/utils';
8
6
  import { merge, Subject } from 'rxjs';
9
7
  import { delay, distinctUntilChanged, filter, map, startWith, switchMap, takeUntil, } from 'rxjs/operators';
@@ -167,12 +165,6 @@ export class AbstractTuiControl extends AbstractTuiInteractive {
167
165
  }
168
166
  AbstractTuiControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiControl, deps: [{ token: i1.NgControl, optional: true }, { token: i0.ChangeDetectorRef }, { token: AbstractTuiValueTransformer, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
169
167
  AbstractTuiControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiControl, inputs: { readOnly: "readOnly", pseudoInvalid: "pseudoInvalid" }, host: { properties: { "class._readonly": "this.readOnly", "class._invalid": "this.computedInvalid" } }, usesInheritance: true, ngImport: i0 });
170
- __decorate([
171
- tuiDefaultProp()
172
- ], AbstractTuiControl.prototype, "readOnly", void 0);
173
- __decorate([
174
- tuiDefaultProp()
175
- ], AbstractTuiControl.prototype, "pseudoInvalid", void 0);
176
168
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiControl, decorators: [{
177
169
  type: Directive
178
170
  }], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
@@ -199,4 +191,4 @@ export function tuiAsControl(useExisting) {
199
191
  useExisting,
200
192
  };
201
193
  }
202
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9hYnN0cmFjdC9jb250cm9sLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBRUgsU0FBUyxFQUNULFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUdMLFFBQVEsR0FHWCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQW1ELE9BQU8sRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQ3pGLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUNoRCxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDdkQsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRXhELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNqRCxPQUFPLEVBQUMsS0FBSyxFQUFFLE9BQU8sRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUNwQyxPQUFPLEVBQ0gsS0FBSyxFQUNMLG9CQUFvQixFQUNwQixNQUFNLEVBQ04sR0FBRyxFQUNILFNBQVMsRUFDVCxTQUFTLEVBQ1QsU0FBUyxHQUNaLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEIsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3JELE9BQU8sRUFBQywyQkFBMkIsRUFB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/IG51bGw7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGdldCBjb250cm9sTmFtZSgpOiBzdHJpbmcgfCBudWxsIHtcbiAgICAgICAgcmV0dXJuIHRoaXMubmdDb250cm9sPy5uYW1lPy50b1N0cmluZygpID8/IG51bGw7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXQgcmF3VmFsdWUoKTogVCB8IHVuZGVmaW5lZCB7XG4gICAgICAgIGNvbnN0IHtuZ0NvbnRyb2x9ID0gdGhpcztcblxuICAgICAgICBpZiAobmdDb250cm9sID09PSBudWxsKSB7XG4gICAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgY29udHJvbFZhbHVlID1cbiAgICAgICAgICAgIG5nQ29udHJvbCBpbnN0YW5jZW9mIE5nTW9kZWwgJiYgdGhpcy5wcmV2aW91c0ludGVybmFsVmFsdWUgPT09IHVuZGVmaW5lZFxuICAgICAgICAgICAgICAgID8gbmdDb250cm9sLnZpZXdNb2RlbFxuICAgICAgICAgICAgICAgIDogbmdDb250cm9sLnZhbHVlO1xuXG4gICAgICAgIHJldHVybiB0aGlzLmZyb21Db250cm9sVmFsdWUoY29udHJvbFZhbHVlKTtcbiAgICB9XG5cbiAgICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5yZWZyZXNoJFxuICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgZGVsYXkoMCksXG4gICAgICAgICAgICAgICAgc3RhcnRXaXRoKG51bGwpLFxuICAgICAgICAgICAgICAgIG1hcCgoKSA9PiB0aGlzLm5nQ29udHJvbD8uY29udHJvbCksXG4gICAgICAgICAgICAgICAgZmlsdGVyKHR1aUlzUHJlc2VudCksXG4gICAgICAgICAgICAgICAgZGlzdGluY3RVbnRpbENoYW5nZWQoKSxcbiAgICAgICAgICAgICAgICBzd2l0Y2hNYXAoY29udHJvbCA9PiBtZXJnZShjb250cm9sLnZhb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ICAgICAgICBzdGFydFdpdGgobnVsbCksXG4gICAgICAgICAgICAgICAgbWFwKCgpID0+IHRoaXMubmdDb250cm9sPy5jb250cm9sKSxcbiAgICAgICAgICAgICAgICBmaWx0ZXIodHVpSXNQcmVzZW50KSxcbiAgICAgICAgICAgICAgICBkaXN0aW5jdFVudGlsQ2hhbmdlZCgpLFxuICAgICAgICAgICAgICAgIHN3aXRjaE1hcChjb250cm9sID0+IG1lcmdlKGNvbnRyb2wudmFsdWVDaGFuZ2VzLCBjb250cm9sLnN0YXR1c0NoYW5nZXMpKSxcbiAgICAgICAgICAgICAgICB0YWtlVW50aWwodGhpcy5kZXN0cm95JCksXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnJlZnJlc2hMb2NhbFZhbHVlKHRoaXMuc2FmZUN1cnJlbnRWYWx1ZSk7XG4gICAgICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5kZXN0cm95JC5uZXh0KCk7XG4gICAgICAgIHRoaXMuZGVzdHJveSQuY29tcGxldGUoKTtcbiAgICB9XG5cbiAgICBjaGVja0NvbnRyb2xVcGRhdGUoKTogdm9pZCB7XG4gICAgICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICAgIH1cblxuICAgIHJlZ2lzdGVyT25DaGFuZ2Uob25DaGFuZ2U6ICh2YWx1ZTogVCB8IHVua25vd24pID0+IHZvaWQpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5vbkNoYW5nZSA9IChjb21wb25lbnRWYWx1ZTogVCkgPT4ge1xuICAgICAgICAgICAgb25DaGFuZ2UodGhpcy50b0NvbnRyb2xWYWx1ZShjb21wb25lbnRWYWx1ZSkpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMucmVmcmVzaCQubmV4dCgpO1xuICAgIH1cblxuICAgIHJlZ2l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LnByZXZpb3VzSW50ZXJuYWxWYWx1ZSA9IHZhbHVlO1xuICAgICAgICB0aGlzLmNoZWNrQ29udHJvbFVwZGF0ZSgpO1xuICAgIH1cblxuICAgIHByaXZhdGUgZnJvbUNvbnRyb2xWYWx1ZShjb250cm9sVmFsdWU6IHVua25vd24pOiBUIHtcbiAgICAgICAgcmV0dXJuIHRoaXMudmFsdWVUcmFuc2Zvcm1lclxuICAgICAgICAgICAgPyB0aGlzLnZhbHVlVHJhbnNmb3JtZXIuZnJvbUNvbnRyb2xWYWx1ZShjb250cm9sVmFsdWUpXG4gICAgICAgICAgICA6IChjb250cm9sVmFsdWUgYXMgVCk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSB0b0NvbnRyb2xWYWx1ZShjb21wb25lbnRWYWx1ZTogVCk6IHVua25vd24ge1xuICAgICAgICByZXR1cm4gdGhpcy52YWx1ZVRyYW5zZm9ybWVyXG4gICAgICAgICAgICA/IHRoaXMudmFsdWVUcmFuc2Zvcm1lci50b0NvbnRyb2xWYWx1ZShjb21wb25lbnRWYWx1ZSlcbiAgICAgICAgICAgIDogY29tcG9uZW50VmFsdWU7XG4gICAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gdHVpQXNDb250cm9sPFQ+KHVzZUV4aXN0aW5nOiBUeXBlPEFic3RyYWN0VHVpQ29udHJvbDxUPj4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJvdmlkZTogQWJzdHJhY3RUdWlDb250cm9sLFxuICAgICAgICB1c2VFeGlzdGluZyxcbiAgICB9O1xufVxuIl19
@@ -1,6 +1,4 @@
1
- import { __decorate } from "tslib";
2
1
  import { Directive, EventEmitter, HostBinding, Input, Output } from '@angular/core';
3
- import { tuiDefaultProp } from '@taiga-ui/cdk/decorators';
4
2
  import * as i0 from "@angular/core";
5
3
  const TUI = `tui_interactive_`;
6
4
  /**
@@ -56,21 +54,6 @@ export class AbstractTuiInteractive {
56
54
  AbstractTuiInteractive.autoId = 0;
57
55
  AbstractTuiInteractive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiInteractive, deps: [], target: i0.ɵɵFactoryTarget.Directive });
58
56
  AbstractTuiInteractive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiInteractive, inputs: { pseudoHover: "pseudoHover", pseudoActive: "pseudoActive", pseudoFocus: "pseudoFocus", focusable: "focusable", nativeId: "nativeId" }, outputs: { focusedChange: "focusedChange", focusVisibleChange: "focusVisibleChange" }, host: { properties: { "class._disabled": "this.computedDisabled", "class._focused": "this.computedFocused", "class._focus-visible": "this.computedFocusVisible" } }, ngImport: i0 });
59
- __decorate([
60
- tuiDefaultProp()
61
- ], AbstractTuiInteractive.prototype, "pseudoHover", void 0);
62
- __decorate([
63
- tuiDefaultProp()
64
- ], AbstractTuiInteractive.prototype, "pseudoActive", void 0);
65
- __decorate([
66
- tuiDefaultProp()
67
- ], AbstractTuiInteractive.prototype, "pseudoFocus", void 0);
68
- __decorate([
69
- tuiDefaultProp()
70
- ], AbstractTuiInteractive.prototype, "focusable", void 0);
71
- __decorate([
72
- tuiDefaultProp()
73
- ], AbstractTuiInteractive.prototype, "nativeId", void 0);
74
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiInteractive, decorators: [{
75
58
  type: Directive
76
59
  }], ctorParameters: function () { return []; }, propDecorators: { pseudoHover: [{
@@ -97,4 +80,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
97
80
  type: HostBinding,
98
81
  args: [`class._focus-visible`]
99
82
  }] } });
100
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZW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Y3RlZCB1cGRhdGVGb2N1c1Zpc2libGUoZm9jdXNWaXNpYmxlOiBib29sZWFuKTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmZvY3VzVmlzaWJsZSA9PT0gZm9jdXNWaXNpYmxlKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmZvY3VzVmlzaWJsZSA9IGZvY3VzVmlzaWJsZTtcbiAgICAgICAgdGhpcy5mb2N1c1Zpc2libGVDaGFuZ2UuZW1pdChmb2N1c1Zpc2libGUpO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @deprecated:
3
+ * not compatible with TypeScript 5
4
+ */
1
5
  export function tuiDebounce(timeout) {
2
6
  let timeoutRef;
3
7
  return function (_target, _key, descriptor) {
@@ -9,4 +13,4 @@ export function tuiDebounce(timeout) {
9
13
  return descriptor;
10
14
  };
11
15
  }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGVjb3JhdG9ycy9kZWJvdW5jZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLFVBQVUsV0FBVyxDQUFDLE9BQWU7SUFDdkMsSUFBSSxVQUFxRCxDQUFDO0lBRTFELE9BQU8sVUFBVSxPQUFPLEVBQUUsSUFBcUIsRUFBRSxVQUE4QjtRQUMzRSxNQUFNLEVBQUMsS0FBSyxFQUFDLEdBQUcsVUFBVSxDQUFDO1FBRTNCLFVBQVUsQ0FBQyxLQUFLLEdBQUcsVUFBVSxHQUFHLElBQWU7WUFDM0MsWUFBWSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1lBQ3pCLFVBQVUsR0FBRyxVQUFVLENBQUMsR0FBRyxFQUFFLENBQUMsS0FBSyxDQUFD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ICAgICAgICB0aW1lb3V0UmVmID0gc2V0VGltZW91dCgoKSA9PiB2YWx1ZS5hcHBseSh0aGlzLCBhcmdzKSwgdGltZW91dCk7XG4gICAgICAgIH07XG5cbiAgICAgICAgcmV0dXJuIGRlc2NyaXB0b3I7XG4gICAgfTtcbn1cbiJdfQ==
@@ -1,5 +1,8 @@
1
1
  import { tuiAssert } from '@taiga-ui/cdk/classes';
2
2
  /**
3
+ * @deprecated:
4
+ * not compatible with TypeScript 5
5
+ *
3
6
  * Decorator for checking input values for undefined. You can also pass
4
7
  * optional assertion to check input against.
5
8
  *
@@ -53,4 +56,4 @@ function errorSetDefault(key, component) {
53
56
  function errorSetDefaultInitial(key, component) {
54
57
  return `Undefined was passed as default value for ${String(key)} to ${component}, error in Taiga UI Angular Kit`;
55
58
  }
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1wcm9wLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2RlY29yYXRvcnMvZGVmYXVsdC1wcm9wLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUdoRDs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxjQUFjLENBQzFCLFNBQW1DLEVBQ25DLEdBQUcsSUFBZTtJQUVsQixPQUFPLENBQUMsTUFBTSxFQUFFLEdBQUcsRUFBRSxFQUFFO1FBQ25CLE1BQU0sRUFBQyxJQUFJLEVBQUMsR0FBRyxNQUFNLENBQUMsV0FBVyxDQUFDO1FBQ2xDLE1BQU0sc0JBQXNCLEdBQUcsU0FBUyxJQUFJLGVBQWUsQ0FBQyxHQUFHLEVBQUUsSUFBSSxDQUFDLENBQUM7UUFDdkUsTUFBTSxzQkFBc0IsR0FBRyxTQUFTLElBQUksZUFBZSxDQU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wZXJ0eSh0YXJnZXQsIGtleSwge1xuICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgICAgICAgZ2V0KCk6IHVuZGVmaW5lZCB7XG4gICAgICAgICAgICAgICAgbmdEZXZNb2RlICYmIHR1aUFzc2VydC5hc3NlcnQoZmFsc2UsIGVycm9yR2V0RGVmYXVsdE1lc3NhZ2UpO1xuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBzZXQodGhpczogVCwgaW5pdGlhbFZhbHVlOiBUW0tdKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgaXNWYWxpZCA9IGluaXRpYWxWYWx1ZSAhPT0gdW5kZWZpbmVkO1xuICAgICAgICAgICAgICAgIGNvbnN0IGVycm9yTWVzc2FnZSA9IG5nRGV2TW9kZSAmJiBlcnJvclNldERlZmF1bHRJbml0aWFsKGtleSwgbmFtZSk7XG4gICAgICAgICAgICAgICAgbGV0IGN1cnJlbnRWYWx1ZSA9IGluaXRpYWxWYWx1ZTtcblxuICAgICAgICAgICAgICAgIG5nRGV2TW9kZSAmJiB0dWlBc3NlcnQuYXNzZXJ0KGlzVmFsaWQsIGVycm9yTWVzc2FnZSk7XG5cbiAgICAgICAgICAgICAgICBpZiAobmdEZXZNb2RlICYmIGlzVmFsaWQgJiYgYXNzZXJ0aW9uICYmIHR1aUFzc2VydCkge1xuICAgICAgICAgICAgICAgICAgICB0dWlBc3NlcnQuYXNzZXJ0KFxuICAgICAgICAgICAgICAgICAgICAgICAgYXNzZXJ0aW9uLmNhbGwodGhpcywgaW5pdGlhbFZhbHVlKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGAke1N0cmluZyhrZXkpfSBpbiAke25hbWV9IHJlY2VpdmVkOmAsXG4gICAgICAgICAgICAgICAgICAgICAgICBpbml0aWFsVmFsdWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAuLi5hcmdzLFxuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0aGlzLCBrZXksIHtcbiAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgICAgICAgICAgICAgICBnZXQoKTogVFtLXSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY3VycmVudFZhbHVlO1xuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICBzZXQodGhpczogVCwgdmFsdWU6IFRbS10pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGlzVmFsaWQgPSB2YWx1ZSAhPT0gdW5kZWZpbmVkO1xuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgYmFja3VwVmFsdWUgPSBpbml0aWFsVmFsdWU7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIG5nRGV2TW9kZSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR1aUFzc2VydC5hc3NlcnQoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzVmFsaWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVycm9yU2V0RGVmYXVsdE1lc3NhZ2UsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFN0cmluZyhiYWNrdXBWYWx1ZSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG5nRGV2TW9kZSAmJiBpc1ZhbGlkICYmIGFzc2VydGlvbiAmJiB0dWlBc3NlcnQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0dWlBc3NlcnQuYXNzZXJ0KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhc3NlcnRpb24uY2FsbCh0aGlzLCB2YWx1ZSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGAke1N0cmluZyhrZXkpfSBpbiAke25hbWV9IHJlY2VpdmVkOmAsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuLi5hcmdzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGN1cnJlbnRWYWx1ZSA9IGlzVmFsaWQgPyB2YWx1ZSA6IGJhY2t1cFZhbHVlO1xuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgfSk7XG4gICAgfTtcbn1cblxuZnVuY3Rpb24gZXJyb3JHZXREZWZhdWx0KGtleTogc3RyaW5nIHwgc3ltYm9sLCBjb21wb25lbnQ6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIGBEZWZhdWx0IHZhbHVlIGZvciAke1N0cmluZyhcbiAgICAgICAga2V5LFxuICAgICl9IHdhcyBub3QgcHJvdmlkZWQgaW4gJHtjb21wb25lbnR9LCBlcnJvciBpbiBUYWlnYSBVSSBBbmd1bGFyIEtpdGA7XG59XG5cbmZ1bmN0aW9uIGVycm9yU2V0RGVmYXVsdChrZXk6IHN0cmluZyB8IHN5bWJvbCwgY29tcG9uZW50OiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIHJldHVybiBgVW5kZWZpbmVkIHdhcyBwYXNzZWQgYXMgJHtTdHJpbmcoXG4gICAgICAgIGtleSxcbiAgICApfSB0byAke2NvbXBvbmVudH0sIHdoaWNoIGlzIGludmFsaWQgaW5wdXQsIHVzaW5nIGRlZmF1bHQgdmFsdWU6YDtcbn1cblxuZnVuY3Rpb24gZXJyb3JTZXREZWZhdWx0SW5pdGlhbChrZXk6IHN0cmluZyB8IHN5bWJvbCwgY29tcG9uZW50OiBzdHJpbmcpOiBzdHJpbmcge1xuICA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NlcnQuYXNzZXJ0KGZhbHNlLCBlcnJvckdldERlZmF1bHRNZXNzYWdlKTtcblxuICAgICAgICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgc2V0KHRoaXM6IFQsIGluaXRpYWxWYWx1ZTogVFtLXSkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGlzVmFsaWQgPSBpbml0aWFsVmFsdWUgIT09IHVuZGVmaW5lZDtcbiAgICAgICAgICAgICAgICBjb25zdCBlcnJvck1lc3NhZ2UgPSBuZ0Rldk1vZGUgJiYgZXJyb3JTZXREZWZhdWx0SW5pdGlhbChrZXksIG5hbWUpO1xuICAgICAgICAgICAgICAgIGxldCBjdXJyZW50VmFsdWUgPSBpbml0aWFsVmFsdWU7XG5cbiAgICAgICAgICAgICAgICBuZ0Rldk1vZGUgJiYgdHVpQXNzZXJ0LmFzc2VydChpc1ZhbGlkLCBlcnJvck1lc3NhZ2UpO1xuXG4gICAgICAgICAgICAgICAgaWYgKG5nRGV2TW9kZSAmJiBpc1ZhbGlkICYmIGFzc2VydGlvbiAmJiB0dWlBc3NlcnQpIHtcbiAgICAgICAgICAgICAgICAgICAgdHVpQXNzZXJ0LmFzc2VydChcbiAgICAgICAgICAgICAgICAgICAgICAgIGFzc2VydGlvbi5jYWxsKHRoaXMsIGluaXRpYWxWYWx1ZSksXG4gICAgICAgICAgICAgICAgICAgICAgICBgJHtTdHJpbmcoa2V5KX0gaW4gJHtuYW1lfSByZWNlaXZlZDpgLFxuICAgICAgICAgICAgICAgICAgICAgICAgaW5pdGlhbFZhbHVlLFxuICAgICAgICAgICAgICAgICAgICAgICAgLi4uYXJncyxcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkodGhpcywga2V5LCB7XG4gICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICAgICAgZ2V0KCk6IFRbS10ge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGN1cnJlbnRWYWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgc2V0KHRoaXM6IFQsIHZhbHVlOiBUW0tdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBpc1ZhbGlkID0gdmFsdWUgIT09IHVuZGVmaW5lZDtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGJhY2t1cFZhbHVlID0gaW5pdGlhbFZhbHVlO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICBuZ0Rldk1vZGUgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0dWlBc3NlcnQuYXNzZXJ0KFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpc1ZhbGlkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlcnJvclNldERlZmF1bHRNZXNzYWdlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTdHJpbmcoYmFja3VwVmFsdWUpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChuZ0Rldk1vZGUgJiYgaXNWYWxpZCAmJiBhc3NlcnRpb24gJiYgdHVpQXNzZXJ0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHVpQXNzZXJ0LmFzc2VydChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXNzZXJ0aW9uLmNhbGwodGhpcywgdmFsdWUpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBgJHtTdHJpbmcoa2V5KX0gaW4gJHtuYW1lfSByZWNlaXZlZDpgLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLi4uYX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vciBpbiBUYWlnYSBVSSBBbmd1bGFyIEtpdGA7XG59XG4iXX0=
@@ -46,10 +46,32 @@ export function tuiPure(target, propertyKeyOrContext, descriptor) {
46
46
  if (typeof value !== `function`) {
47
47
  throw new TuiPureException();
48
48
  }
49
+ const original = value;
49
50
  return {
50
51
  configurable: true,
51
52
  enumerable,
52
- value: decorateMethod(value),
53
+ get() {
54
+ let previousArgs = [];
55
+ let originalFnWasCalledLeastAtOnce = false;
56
+ let pureValue;
57
+ const patched = (...args) => {
58
+ const isPure = originalFnWasCalledLeastAtOnce &&
59
+ previousArgs.length === args.length &&
60
+ args.every((arg, index) => arg === previousArgs[index]);
61
+ if (isPure) {
62
+ return pureValue;
63
+ }
64
+ previousArgs = args;
65
+ pureValue = original.apply(this, args);
66
+ originalFnWasCalledLeastAtOnce = true;
67
+ return pureValue;
68
+ };
69
+ Object.defineProperty(this, propertyKey, {
70
+ configurable: true,
71
+ value: patched,
72
+ });
73
+ return patched;
74
+ },
53
75
  };
54
76
  }
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9kZWNvcmF0b3JzL3B1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFjMUQsU0FBUyxjQUFjLENBQ25CLGNBQStDO0lBRS9DLElBQUksWUFBWSxHQUF1QixFQUFFLENBQUM7SUFDMUMsSUFBSSw4QkFBOEIsR0FBRyxLQUFLLENBQUM7SUFDM0MsSUFBSSxTQUFrQixDQUFDO0lBRXZCLE9BQU8sU0FBUyxvQkFBb0IsQ0FBZSxHQUFHLElBQWU7UUFDakUsTUFBTSxNQUFNLEdBQ1IsOEJBQThCO1lBQzlCLFlBQVksQ0FBQyxNQUFNL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HVua25vd25bXSkgPT4gdW5rbm93bik7XG4gICAgICAgIH1cblxuICAgICAgICB0aHJvdyBuZXcgVHVpUHVyZUV4Y2VwdGlvbigpO1xuICAgIH1cblxuICAgIGNvbnN0IHtnZXQsIGVudW1lcmFibGUsIHZhbHVlfSA9IGRlc2NyaXB0b3IhO1xuICAgIGNvbnN0IHByb3BlcnR5S2V5ID0gcHJvcGVydHlLZXlPckNvbnRleHQgYXMgc3RyaW5nO1xuXG4gICAgaWYgKGdldCkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgICAgICAgZW51bWVyYWJsZSxcbiAgICAgICAgICAgIGdldDogZGVjb3JhdGVHZXR0ZXIoZ2V0LCBwcm9wZXJ0eUtleSwgZW51bWVyYWJsZSksXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgaWYgKHR5cGVvZiB2YWx1ZSAhPT0gYGZ1bmN0aW9uYCkge1xuICAgICAgICB0aHJvdyBuZXcgVHVpUHVyZUV4Y2VwdGlvbigpO1xuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZSxcbiAgICAgICAgZW51bWVyYWJsZSxcbiAgICAgICAgdmFsdWU6IGRlY29yYXRlTWV0aG9kKHZhbHVlKSxcbiAgICB9O1xufVxuIl19
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9kZWNvcmF0b3JzL3B1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFjMUQsU0FBUyxjQUFjLENBQ25CLGNBQStDO0lBRS9DLElBQUksWUFBWSxHQUF1QixFQUFFLENBQU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cmdzOiB1bmtub3duW10pID0+IHVua25vd24pO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhyb3cgbmV3IFR1aVB1cmVFeGNlcHRpb24oKTtcbiAgICB9XG5cbiAgICBjb25zdCB7Z2V0LCBlbnVtZXJhYmxlLCB2YWx1ZX0gPSBkZXNjcmlwdG9yITtcbiAgICBjb25zdCBwcm9wZXJ0eUtleSA9IHByb3BlcnR5S2V5T3JDb250ZXh0IGFzIHN0cmluZztcblxuICAgIGlmIChnZXQpIHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZSxcbiAgICAgICAgICAgIGVudW1lcmFibGUsXG4gICAgICAgICAgICBnZXQ6IGRlY29yYXRlR2V0dGVyKGdldCwgcHJvcGVydHlLZXksIGVudW1lcmFibGUpLFxuICAgICAgICB9O1xuICAgIH1cblxuICAgIGlmICh0eXBlb2YgdmFsdWUgIT09IGBmdW5jdGlvbmApIHtcbiAgICAgICAgdGhyb3cgbmV3IFR1aVB1cmVFeGNlcHRpb24oKTtcbiAgICB9XG5cbiAgICBjb25zdCBvcmlnaW5hbCA9IHZhbHVlO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlLFxuICAgICAgICBlbnVtZXJhYmxlLFxuICAgICAgICBnZXQoKTogdW5rbm93biB7XG4gICAgICAgICAgICBsZXQgcHJldmlvdXNBcmdzOiByZWFkb25seSB1bmtub3duW10gPSBbXTtcbiAgICAgICAgICAgIGxldCBvcmlnaW5hbEZuV2FzQ2FsbGVkTGVhc3RBdE9uY2UgPSBmYWxzZTtcbiAgICAgICAgICAgIGxldCBwdXJlVmFsdWU6IHVua25vd247XG5cbiAgICAgICAgICAgIGNvbnN0IHBhdGNoZWQgPSAoLi4uYXJnczogdW5rbm93bltdKTogdW5rbm93biA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3QgaXNQdXJlID1cbiAgICAgICAgICAgICAgICAgICAgb3JpZ2luYWxGbldhc0NhbGxlZExlYXN0QXRPbmNlICYmXG4gICAgICAgICAgICAgICAgICAgIHByZXZpb3VzQXJncy5sZW5ndGggPT09IGFyZ3MubGVuZ3RoICYmXG4gICAgICAgICAgICAgICAgICAgIGFyZ3MuZXZlcnkoKGFyZywgaW5kZXgpID0+IGFyZyA9PT0gcHJldmlvdXNBcmdzW2luZGV4XSk7XG5cbiAgICAgICAgICAgICAgICBpZiAoaXNQdXJlKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBwdXJlVmFsdWU7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcHJldmlvdXNBcmdzID0gYXJncztcbiAgICAgICAgICAgICAgICBwdXJlVmFsdWUgPSBvcmlnaW5hbC5hcHBseSh0aGlzLCBhcmdzKTtcbiAgICAgICAgICAgICAgICBvcmlnaW5hbEZuV2FzQ2FsbGVkTGVhc3RBdE9uY2UgPSB0cnVlO1xuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHB1cmVWYWx1ZTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0aGlzLCBwcm9wZXJ0eUtleSwge1xuICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZSxcbiAgICAgICAgICAgICAgICB2YWx1ZTogcGF0Y2hlZCxcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICByZXR1cm4gcGF0Y2hlZCBhcyB1bmtub3duO1xuICAgICAgICB9LFxuICAgIH07XG59XG4iXX0=
@@ -1,5 +1,8 @@
1
1
  import { tuiAssert } from '@taiga-ui/cdk/classes';
2
2
  /**
3
+ * @deprecated:
4
+ * not compatible with TypeScript 5
5
+ *
3
6
  * Decorator for checking input setter values against a custom assertion which
4
7
  * takes value passed to input setter and component instance as arguments.
5
8
  * It specifically checks for undefined values and prevents calls to the
@@ -29,4 +32,4 @@ export function tuiRequiredSetter(assertion, ...args) {
29
32
  function errorSet(key, component) {
30
33
  return `Undefined was passed as ${String(key)} to ${component}, setter will not be called`;
31
34
  }
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWlyZWQtc2V0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2RlY29yYXRvcnMvcmVxdWlyZWQtc2V0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUdoRDs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxpQkFBaUIsQ0FDN0IsU0FBbUMsRUFDbkMsR0FBRyxJQUFXO0lBRWQsT0FBTyxDQUNILE1BQTJCLEVBQzNCLEdBQUcsRUFDSCxFQUFDLFlBQVksRUFBRSxVQUFVLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBcUIsRUFDdEMsRUFBRTtRQUNwQixNQUFNLEVBQUMsSUFBSSxFQUFDLEdBQUcsTUFBTSxDQUFDLFdBQVcsQ0FBQztRQUVsQyxPQUFPO1lBQ0gsWUFBWTtZQUNaLFVBQVU7WUFDVixHQUFHO1lBQ0gsR0FBRyxDQUFVLEtBQVc7Z0JBQ3BCLElBQUksU0FBUyxJQUFJLEtBQUssS0FBSyxTQUFTLElBQUksU0FBUyxJQUFJLFNBQVMsRUFBRTtvQkFDNUQsU0FBUyxDQUFDLE1BQU0sQ0FDWixTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsRUFDM0IsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFDLE9BQU8sSUFBSSxZQUFZLEVBQ3JDLEtBQUssRUFDTCxHQUFHLElBQUksQ0FDVixDQUFDO2lCQUNMO2dCQUVELElBQUksQ0FBQyxHQUFHLElBQUksS0FBSyxLQUFLLFNBQV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+LCBLIGV4dGVuZHMga2V5b2YgVD4oXG4gICAgYXNzZXJ0aW9uPzogVHVpQm9vbGVhbkhhbmRsZXI8VFtLXT4sXG4gICAgLi4uYXJnczogYW55W11cbik6IE1ldGhvZERlY29yYXRvciB7XG4gICAgcmV0dXJuIChcbiAgICAgICAgdGFyZ2V0OiBSZWNvcmQ8c3RyaW5nLCBhbnk+LFxuICAgICAgICBrZXksXG4gICAgICAgIHtjb25maWd1cmFibGUsIGVudW1lcmFibGUsIGdldCwgc2V0fTogUHJvcGVydHlEZXNjcmlwdG9yLFxuICAgICk6IFByb3BlcnR5RGVzY3JpcHRvciA9PiB7XG4gICAgICAgIGNvbnN0IHtuYW1lfSA9IHRhcmdldC5jb25zdHJ1Y3RvcjtcblxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgY29uZmlndXJhYmxlLFxuICAgICAgICAgICAgZW51bWVyYWJsZSxcbiAgICAgICAgICAgIGdldCxcbiAgICAgICAgICAgIHNldCh0aGlzOiBULCB2YWx1ZTogVFtLXSkge1xuICAgICAgICAgICAgICAgIGlmIChuZ0Rldk1vZGUgJiYgdmFsdWUgIT09IHVuZGVmaW5lZCAmJiBhc3NlcnRpb24gJiYgdHVpQXNzZXJ0KSB7XG4gICAgICAgICAgICAgICAgICAgIHR1aUFzc2VydC5hc3NlcnQoXG4gICAgICAgICAgICAgICAgICAgICAgICBhc3NlcnRpb24uY2FsbCh0aGlzLCB2YWx1ZSksXG4gICAgICAgICAgICAgICAgICAgICAgICBgJHtTdHJpbmcoa2V5KX0gaW4gJHtuYW1lfSByZWNlaXZlZDpgLFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAuLi5hcmdzLFxuICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmICghc2V0IHx8IHZhbHVlID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgICAgICAgICA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ZXQodGhpczogVCwgdmFsdWU6IFRbS10pIHtcbiAgICAgICAgICAgICAgICBpZiAobmdEZXZNb2RlICYmIHZhbHVlICE9PSB1bmRlZmluZWQgJiYgYXNzZXJ0aW9uICYmIHR1aUFzc2VydCkge1xuICAgICAgICAgICAgICAgICAgICB0dWlBc3NlcnQuYXNzZXJ0KFxuICAgICAgICAgICAgICAgICAgICAgICAgYXNzZXJ0aW9uLmNhbGwodGhpcywgdmFsdWUpLFxuICAgICAgICAgICAgICAgICAgICAgICAgYCR7U3RyaW5nKGtleSl9IGluICR7bmFtZX0gcmVjZWl2ZWQ6YCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlLFxuICAgICAgICAgICAgICAgICAgICAgICAgLi4uYXJncyxcbiAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAoIXNldCB8fCB2YWx1ZSA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICAgIG5nRGV2TW9kZSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgdHVpQXNzZXJ0LmFzc2VydCh2YWx1ZSAhPT0gdW5kZWZpbmVkLCBlcnJvclNldChrZXksIG5hbWUpKTtcblxuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgc2V0LmNhbGwodGhpcywgdmFsdWUpO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgfTtcbiAgICB9O1xufVxuXG5mdW5jdGlvbiBlcnJvclNldChrZXk6IHN0cmluZyB8IHN5bWJvbCwgY29tcG9uZW50OiBzdHJpbmcpOiBzdHJpbmcge1xuICAgIHJldHVybiBgVW5kZWZpbmVkIHdhcyBwYXNzZWQgYXMgJHtTdHJpbmcoXG4gICAgICAgIGtleSxcbiAgICApfSB0byAke2NvbXBvbmVudH0sIHNldHRlciB3aWxsIG5vdCBiZSBjYWxsZWRgO1xufVxuIl19
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { Directive, ElementRef, Inject, Input, NgZone, Optional, Output, SkipSelf, } from '@angular/core';
3
- import { tuiDefaultProp, tuiPure } from '@taiga-ui/cdk/decorators';
3
+ import { tuiPure } from '@taiga-ui/cdk/decorators';
4
4
  import { tuiZoneOptimized } from '@taiga-ui/cdk/observables';
5
5
  import { TUI_ACTIVE_ELEMENT } from '@taiga-ui/cdk/tokens';
6
6
  import { tuiArrayRemove } from '@taiga-ui/cdk/utils';
@@ -53,9 +53,6 @@ export class TuiActiveZoneDirective {
53
53
  }
54
54
  TuiActiveZoneDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiActiveZoneDirective, deps: [{ token: TUI_ACTIVE_ELEMENT }, { token: NgZone }, { token: ElementRef }, { token: TuiActiveZoneDirective, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
55
55
  TuiActiveZoneDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: { tuiActiveZoneParentSetter: ["tuiActiveZoneParent", "tuiActiveZoneParentSetter"] }, outputs: { tuiActiveZoneChange: "tuiActiveZoneChange" }, exportAs: ["tuiActiveZone"], ngImport: i0 });
56
- __decorate([
57
- tuiDefaultProp()
58
- ], TuiActiveZoneDirective.prototype, "tuiActiveZoneParentSetter", null);
59
56
  __decorate([
60
57
  tuiPure
61
58
  ], TuiActiveZoneDirective.prototype, "setZone", null);
@@ -87,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
87
84
  }], tuiActiveZoneChange: [{
88
85
  type: Output
89
86
  }], setZone: [] } });
90
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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UpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5jb250YWlucyhub2RlKSB8fFxuICAgICAgICAgICAgdGhpcy5zdWJBY3RpdmVab25lcy5zb21lKFxuICAgICAgICAgICAgICAgIChpdGVtLCBpbmRleCwgYXJyYXkpID0+XG4gICAgICAgICAgICAgICAgICAgIGFycmF5LmluZGV4T2YoaXRlbSkgPT09IGluZGV4ICYmIGl0ZW0uY29udGFpbnMobm9kZSksXG4gICAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgQHR1aVB1cmVcbiAgICBwcml2YXRlIHNldFpvbmUoem9uZTogVHVpQWN0aXZlWm9uZURpcmVjdGl2ZSB8IG51bGwpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMudHVpQWN0aXZlWm9uZVBhcmVudCkge1xuICAgICAgICAgICAgdGhpcy50dWlBY3RpdmVab25lUGFyZW50LnJlbW92ZVN1YkFjdGl2ZVpvbmUodGhpcyk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoem9uZSkge1xuICAgICAgICAgICAgem9uZS5hZGRTdWJBY3RpdmVab25lKHRoaXMpO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy50dWlBY3RpdmVab25lUGFyZW50ID0gem9uZTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGFkZFN1YkFjdGl2ZVpvbmUoYWN0aXZlWm9uZTogVHVpQWN0aXZlWm9uZURpcmVjdGl2ZSk6IHZvaWQge1xuICAgICAgICB0aGlzLnN1YkFjdGl2ZVpvbmVzID0gWy4uLnRoaXMuc3ViQWN0aXZlWm9uZXMsIGFjdGl2ZVpvbmVdO1xuICAgIH1cblxuICAgIHByaXZhdGUgcmVtb3ZlU3ViQWN0aXZlWm9uZShhY3RpdmVab25lOiBUdWlBY3RpdmVab25lRGlyZWN0aXZlKTogdm9pZCB7XG4gICAgICAgIHRoaXMuc3ViQWN0aXZ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AgcHJpdmF0ZSByZW1vdmVTdWJBY3RpdmVab25lKGFjdGl2ZVpvbmU6IFR1aUFjdGl2ZVpvbmVEaXJlY3RpdmUpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5zdWJBY3RpdmVab25lcyA9IHR1aUFycmF5UmVtb3ZlKFxuICAgICAgICAgICAgdGhpcy5zdWJBY3RpdmVab25lcyxcbiAgICAgICAgICAgIHRoaXMuc3ViQWN0aXZlWm9uZXMuaW5kZXhPZihhY3RpdmVab25lKSxcbiAgICAgICAgKTtcbiAgICB9XG59XG4iXX0=
@@ -1,7 +1,5 @@
1
- import { __decorate } from "tslib";
2
1
  import { Directive, HostListener, Inject, Input } from '@angular/core';
3
2
  import { WINDOW } from '@ng-web-apis/common';
4
- import { tuiDefaultProp } from '@taiga-ui/cdk/decorators';
5
3
  import { tuiGetSelectedText } from '@taiga-ui/cdk/utils';
6
4
  import { identity } from 'rxjs';
7
5
  import * as i0 from "@angular/core";
@@ -20,9 +18,6 @@ export class TuiCopyProcessorDirective {
20
18
  }
21
19
  TuiCopyProcessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCopyProcessorDirective, deps: [{ token: WINDOW }], target: i0.ɵɵFactoryTarget.Directive });
22
20
  TuiCopyProcessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiCopyProcessorDirective, selector: "[tuiCopyProcessor]", inputs: { tuiCopyProcessor: "tuiCopyProcessor" }, host: { listeners: { "copy.prevent": "onCopy($event)" } }, ngImport: i0 });
23
- __decorate([
24
- tuiDefaultProp()
25
- ], TuiCopyProcessorDirective.prototype, "tuiCopyProcessor", void 0);
26
21
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCopyProcessorDirective, decorators: [{
27
22
  type: Directive,
28
23
  args: [{
@@ -37,4 +32,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
37
32
  type: HostListener,
38
33
  args: ['copy.prevent', ['$event']]
39
34
  }] } });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29weS1wcm9jZXNzb3IuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2RpcmVjdGl2ZXMvY29weS1wcm9jZXNzb3IvY29weS1wcm9jZXNzb3IuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBQyxNQUFNLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUMzQyxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFFeEQsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFDdkQsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLE1BQU0sQ0FBQzs7QUFLOUIsTUFBTSxPQUFPLHlCQUF5QjtJQUtsQyxZQUE2QyxHQUFXO1FBQVgsUUFBRyxHQUFILEdBQUcsQ0FBUTtRQUZ4RCxxQkFBZ0IsR0FBNkIsUUFBUSxDQUFDO0lBRUssQ0FBQztJQUc1RCxNQUFNLENBQUMsS0FBcUI7O1FBQ3hCLE1BQU0sSUFBSSxHQUFHLGtCQUFrQixDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUUxQyxJQUFJLElBQUksRUFBRTtZQUNOLE1BQUEsS0FBSyxDQUFDLGFBQWEsMENBQUUsT0FBTyxDQUFDLFlBQVksRUFBRSxJQUFJLENBQUMsZ0JBQWdCLENBQUMsS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ZWxlY3RvcjogJ1t0dWlDb3B5UHJvY2Vzc29yXScsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUNvcHlQcm9jZXNzb3JEaXJlY3RpdmUge1xuICAgIEBJbnB1dCgpXG4gICAgdHVpQ29weVByb2Nlc3NvcjogVHVpU3RyaW5nSGFuZGxlcjxzdHJpbmc+ID0gaWRlbnRpdHk7XG5cbiAgICBjb25zdHJ1Y3RvcihASW5qZWN0KFdJTkRPVykgcHJpdmF0ZSByZWFkb25seSB3aW46IFdpbmRvdykge31cblxuICAgIEBIb3N0TGlzdGVuZXIoJ2NvcHkucHJldmVudCcsIFsnJGV2ZW50J10pXG4gICAgb25Db3B5KGV2ZW50OiBDbGlwYm9hcmRFdmVudCk6IHZvaWQge1xuICAgICAgICBjb25zdCB0ZXh0ID0gdHVpR2V0U2VsZWN0ZWRUZXh0KHRoaXMud2luKTtcblxuICAgICAgICBpZiAodGV4dCkge1xuICAgICAgICAgICAgZXZlbnQuY2xpcGJvYXJkRGF0YT8uc2V0RGF0YSgndGV4dC9wbGFpbicsIHRoaXMudHVpQ29weVByb2Nlc3Nvcih0ZXh0KSk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
@@ -1,6 +1,4 @@
1
- import { __decorate } from "tslib";
2
1
  import { Directive, ElementRef, EventEmitter, HostBinding, HostListener, Inject, Input, Output, } from '@angular/core';
3
- import { tuiDefaultProp, tuiRequiredSetter } from '@taiga-ui/cdk/decorators';
4
2
  import * as i0 from "@angular/core";
5
3
  export class TuiMediaDirective {
6
4
  constructor(el) {
@@ -57,15 +55,6 @@ export class TuiMediaDirective {
57
55
  }
58
56
  TuiMediaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMediaDirective, deps: [{ token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
59
57
  TuiMediaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiMediaDirective, selector: "video[tuiMedia], audio[tuiMedia]", inputs: { volume: "volume", playbackRateSetter: ["playbackRate", "playbackRateSetter"], currentTime: "currentTime", paused: "paused" }, outputs: { currentTimeChange: "currentTimeChange", pausedChange: "pausedChange", volumeChange: "volumeChange" }, host: { listeners: { "ended": "onPausedChange(true)", "pause": "onPausedChange(true)", "play": "onPausedChange(false)", "volumechange": "onVolumeChange()", "timeupdate": "onCurrentTimeChange()", "seeking": "onCurrentTimeChange()", "seeked": "onCurrentTimeChange()", "durationchange": "changeDetectionTrigger()" }, properties: { "volume": "this.volume" } }, exportAs: ["tuiMedia"], ngImport: i0 });
60
- __decorate([
61
- tuiDefaultProp((volume) => Number.isFinite(volume) && volume >= 0 && volume <= 1)
62
- ], TuiMediaDirective.prototype, "volume", void 0);
63
- __decorate([
64
- tuiRequiredSetter(nonNegativeFiniteAssertion)
65
- ], TuiMediaDirective.prototype, "playbackRateSetter", null);
66
- __decorate([
67
- tuiRequiredSetter(nonNegativeFiniteAssertion)
68
- ], TuiMediaDirective.prototype, "currentTime", null);
69
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMediaDirective, decorators: [{
70
59
  type: Directive,
71
60
  args: [{
@@ -118,7 +107,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
118
107
  type: HostListener,
119
108
  args: ['durationchange']
120
109
  }] } });
121
- function nonNegativeFiniteAssertion(value) {
122
- return Number.isFinite(value) && value >= 0;
123
- }
124
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2RpcmVjdGl2ZXMvbWVkaWEvbWVkaWEuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7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0byB0cmlnZ2VyIENEXG4gICAgfVxuXG4gICAgcHJpdmF0ZSB1cGRhdGVQbGF5YmFja1JhdGUocGxheWJhY2tSYXRlOiBudW1iZXIpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5wbGF5YmFja1JhdGUgPSBwbGF5YmFja1JhdGU7XG4gICAgICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5wbGF5YmFja1JhdGUgPSB0aGlzLnBsYXliYWNrUmF0ZTtcbiAgICB9XG59XG4iXX0=
@@ -1,6 +1,4 @@
1
- import { __decorate } from "tslib";
2
1
  import { Directive, Inject, Input, Optional, Output, Self } from '@angular/core';
3
- import { tuiRequiredSetter } from '@taiga-ui/cdk/decorators';
4
2
  import { TuiActiveZoneDirective } from '@taiga-ui/cdk/directives/active-zone';
5
3
  import { tuiIfMap } from '@taiga-ui/cdk/observables';
6
4
  import { TuiDestroyService, TuiObscuredService, TuiParentsScrollService, } from '@taiga-ui/cdk/services';
@@ -27,9 +25,6 @@ export class TuiObscuredDirective {
27
25
  }
28
26
  TuiObscuredDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiObscuredDirective, deps: [{ token: TuiActiveZoneDirective, optional: true }, { token: TuiObscuredService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
29
27
  TuiObscuredDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiObscuredDirective, selector: "[tuiObscured]", inputs: { tuiObscuredEnabled: "tuiObscuredEnabled" }, outputs: { tuiObscured: "tuiObscured" }, providers: [TuiObscuredService, TuiParentsScrollService, TuiDestroyService], ngImport: i0 });
30
- __decorate([
31
- tuiRequiredSetter()
32
- ], TuiObscuredDirective.prototype, "tuiObscuredEnabled", null);
33
28
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiObscuredDirective, decorators: [{
34
29
  type: Directive,
35
30
  args: [{
@@ -51,4 +46,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
51
46
  }], tuiObscured: [{
52
47
  type: Output
53
48
  }] } });
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JzY3VyZWQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2RpcmVjdGl2ZXMvb2JzY3VyZWQvb2JzY3VyZWQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sc0NBQXNDLENBQUM7QUFDNUUsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQ25ELE9BQU8sRUFDSCxpQkFBaUIsRUFDakIsa0JBQWtCLEVBQ2xCLHVCQUF1QixHQUMxQixNQUFNLHdCQUF3QixDQUFDO0FBQ2hDLE9BQU8sRUFBYSxPQUFPLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDekMsT0FBTyxFQUFDLEdBQUcsRUFBQyxNQUFNLGdCQUFnQixDQUFDOzs7O0FBRW5DOztHQUVHO0FBS0gsTUFBTSxPQUFPLG9CQUFvQjtJQVk3QixZQUdJLFVBQXlDLEVBR3pDLFNBQTZCO1FBakJoQixhQUFRLEdBQUcsSUFBSSxPQUFPLEVBQVcsQ0FBQztRQW1CL0MsTUFBTSxPQUFPLEdBQUcsU0FBUyxDQUFDLElBQUksQ0FDMU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G4gICAgQHR1aVJlcXVpcmVkU2V0dGVyKClcbiAgICBzZXQgdHVpT2JzY3VyZWRFbmFibGVkKGVuYWJsZWQ6IGJvb2xlYW4pIHtcbiAgICAgICAgdGhpcy5lbmFibGVkJC5uZXh0KGVuYWJsZWQpO1xuICAgIH1cblxuICAgIEBPdXRwdXQoKVxuICAgIHJlYWRvbmx5IHR1aU9ic2N1cmVkOiBPYnNlcnZhYmxlPGJvb2xlYW4+O1xuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIEBPcHRpb25hbCgpXG4gICAgICAgIEBJbmplY3QoVHVpQWN0aXZlWm9uZURpcmVjdGl2ZSlcbiAgICAgICAgYWN0aXZlWm9uZTogVHVpQWN0aXZlWm9uZURpcmVjdGl2ZSB8IG51bGwsXG4gICAgICAgIEBTZWxmKClcbiAgICAgICAgQEluamVjdChUdWlPYnNjdXJlZFNlcnZpY2UpXG4gICAgICAgIG9ic2N1cmVkJDogVHVpT2JzY3VyZWRTZXJ2aWNlLFxuICAgICkge1xuICAgICAgICBjb25zdCBtYXBwZWQkID0gb2JzY3VyZWQkLnBpcGUoXG4gICAgICAgICAgICBtYXAoXG4gICAgICAgICAgICAgICAgb2JzY3VyZWRCeSA9PlxuICAgICAgICAgICAgICAgICAgICAhIW9ic2N1cmVkQnkgJiZcbiAgICAgICAgICAgICAgICAgICAgKCFhY3RpdmVab25lIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAhb2JzY3VyZWRCeS5sZW5ndGggfHxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9ic2N1cmVkQnkuZXZlcnkoZWxlbWVudCA9PiAhYWN0aXZlWm9uZS5jb250YWlucyhlbGVtZW50KSkpLFxuICAgICAgICAgICAgKSxcbiAgICAgICAgKTtcblxuICAgICAgICB0aGlzLnR1aU9ic2N1cmVkID0gdGhpcy5lbmFibGVkJC5waXBlKHR1aUlmTWFwKCgpID0+IG1hcHBlZCQpKTtcbiAgICB9XG59XG4iXX0=
49
+ //# sourceM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mVjdGl2ZSlcbiAgICAgICAgYWN0aXZlWm9uZTogVHVpQWN0aXZlWm9uZURpcmVjdGl2ZSB8IG51bGwsXG4gICAgICAgIEBTZWxmKClcbiAgICAgICAgQEluamVjdChUdWlPYnNjdXJlZFNlcnZpY2UpXG4gICAgICAgIG9ic2N1cmVkJDogVHVpT2JzY3VyZWRTZXJ2aWNlLFxuICAgICkge1xuICAgICAgICBjb25zdCBtYXBwZWQkID0gb2JzY3VyZWQkLnBpcGUoXG4gICAgICAgICAgICBtYXAoXG4gICAgICAgICAgICAgICAgb2JzY3VyZWRCeSA9PlxuICAgICAgICAgICAgICAgICAgICAhIW9ic2N1cmVkQnkgJiZcbiAgICAgICAgICAgICAgICAgICAgKCFhY3RpdmVab25lIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAhb2JzY3VyZWRCeS5sZW5ndGggfHxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9ic2N1cmVkQnkuZXZlcnkoZWxlbWVudCA9PiAhYWN0aXZlWm9uZS5jb250YWlucyhlbGVtZW50KSkpLFxuICAgICAgICAgICAgKSxcbiAgICAgICAgKTtcblxuICAgICAgICB0aGlzLnR1aU9ic2N1cmVkID0gdGhpcy5lbmFibGVkJC5waXBlKHR1aUlmTWFwKCgpID0+IG1hcHBlZCQpKTtcbiAgICB9XG59XG4iXX0=