uicore-ts 1.0.2 → 1.0.5

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 (147) hide show
  1. package/.jshintrc +4 -0
  2. package/compiledScripts/ClientCheckers.d.ts +2 -0
  3. package/compiledScripts/ClientCheckers.js +31 -0
  4. package/compiledScripts/ClientCheckers.js.map +7 -0
  5. package/compiledScripts/UIActionIndicator.js +70 -52
  6. package/compiledScripts/UIActionIndicator.js.map +7 -1
  7. package/compiledScripts/UIBaseButton.js +262 -257
  8. package/compiledScripts/UIBaseButton.js.map +7 -1
  9. package/compiledScripts/UIButton.js +249 -231
  10. package/compiledScripts/UIButton.js.map +7 -1
  11. package/compiledScripts/UIColor.js +292 -280
  12. package/compiledScripts/UIColor.js.map +7 -1
  13. package/compiledScripts/UICore.d.ts +1 -20
  14. package/compiledScripts/UICore.js +113 -100
  15. package/compiledScripts/UICore.js.map +7 -1
  16. package/compiledScripts/UICoreExtensionValueObject.d.ts +5 -0
  17. package/compiledScripts/UICoreExtensionValueObject.js +33 -0
  18. package/compiledScripts/UICoreExtensionValueObject.js.map +7 -0
  19. package/compiledScripts/UICoreExtensions.d.ts +4 -7
  20. package/compiledScripts/UICoreExtensions.js +382 -499
  21. package/compiledScripts/UICoreExtensions.js.map +7 -1
  22. package/compiledScripts/UICoreValues.d.ts +11 -0
  23. package/compiledScripts/UICoreValues.js +35 -0
  24. package/compiledScripts/UICoreValues.js.map +7 -0
  25. package/compiledScripts/UIDateTimeInput.js +54 -33
  26. package/compiledScripts/UIDateTimeInput.js.map +7 -1
  27. package/compiledScripts/UIDialogView.d.ts +1 -0
  28. package/compiledScripts/UIDialogView.js +142 -109
  29. package/compiledScripts/UIDialogView.js.map +7 -1
  30. package/compiledScripts/UIImageView.js +166 -168
  31. package/compiledScripts/UIImageView.js.map +7 -1
  32. package/compiledScripts/UIInterfaces.d.ts +11 -0
  33. package/compiledScripts/UIInterfaces.js +16 -0
  34. package/compiledScripts/UIInterfaces.js.map +7 -0
  35. package/compiledScripts/UIKeyValueStringFilter.d.ts +1 -1
  36. package/compiledScripts/UIKeyValueStringFilter.js +114 -88
  37. package/compiledScripts/UIKeyValueStringFilter.js.map +7 -1
  38. package/compiledScripts/{UIKeyValueStringFilterWebWorker.d.ts → UIKeyValueStringFilterWebWorker.worker.d.ts} +0 -0
  39. package/compiledScripts/UIKeyValueStringFilterWebWorker.worker.js +64 -0
  40. package/compiledScripts/UIKeyValueStringFilterWebWorker.worker.js.map +7 -0
  41. package/compiledScripts/UIKeyValueStringSorter.d.ts +1 -1
  42. package/compiledScripts/UIKeyValueStringSorter.js +128 -102
  43. package/compiledScripts/UIKeyValueStringSorter.js.map +7 -1
  44. package/compiledScripts/{UIKeyValueStringSorterWebWorker.d.ts → UIKeyValueStringSorterWebWorker.worker.d.ts} +0 -0
  45. package/compiledScripts/UIKeyValueStringSorterWebWorker.worker.js +77 -0
  46. package/compiledScripts/UIKeyValueStringSorterWebWorker.worker.js.map +7 -0
  47. package/compiledScripts/UILayoutGrid.js +40 -20
  48. package/compiledScripts/UILayoutGrid.js.map +7 -1
  49. package/compiledScripts/UILink.js +97 -80
  50. package/compiledScripts/UILink.js.map +7 -1
  51. package/compiledScripts/UILinkButton.js +74 -59
  52. package/compiledScripts/UILinkButton.js.map +7 -1
  53. package/compiledScripts/UINativeScrollView.js +131 -116
  54. package/compiledScripts/UINativeScrollView.js.map +7 -1
  55. package/compiledScripts/UIObject.d.ts +3 -4
  56. package/compiledScripts/UIObject.js +405 -378
  57. package/compiledScripts/UIObject.js.map +7 -1
  58. package/compiledScripts/UIPoint.js +86 -67
  59. package/compiledScripts/UIPoint.js.map +7 -1
  60. package/compiledScripts/UIRectangle.js +432 -420
  61. package/compiledScripts/UIRectangle.js.map +7 -1
  62. package/compiledScripts/UIRootViewController.d.ts +38 -0
  63. package/compiledScripts/UIRootViewController.js +258 -0
  64. package/compiledScripts/UIRootViewController.js.map +7 -0
  65. package/compiledScripts/UIRoute.d.ts +0 -7
  66. package/compiledScripts/UIRoute.js +178 -198
  67. package/compiledScripts/UIRoute.js.map +7 -1
  68. package/compiledScripts/UIScrollView.js +117 -119
  69. package/compiledScripts/UIScrollView.js.map +7 -1
  70. package/compiledScripts/UISlideScrollerView.js +246 -239
  71. package/compiledScripts/UISlideScrollerView.js.map +7 -1
  72. package/compiledScripts/UIStringFilter.d.ts +1 -1
  73. package/compiledScripts/UIStringFilter.js +130 -96
  74. package/compiledScripts/UIStringFilter.js.map +7 -1
  75. package/compiledScripts/{UIStringFilterWebWorker.d.ts → UIStringFilterWebWorker.worker.d.ts} +0 -0
  76. package/compiledScripts/UIStringFilterWebWorker.worker.js +55 -0
  77. package/compiledScripts/UIStringFilterWebWorker.worker.js.map +7 -0
  78. package/compiledScripts/UITableView.js +366 -360
  79. package/compiledScripts/UITableView.js.map +7 -1
  80. package/compiledScripts/UITextArea.d.ts +1 -1
  81. package/compiledScripts/UITextArea.js +44 -26
  82. package/compiledScripts/UITextArea.js.map +7 -1
  83. package/compiledScripts/UITextField.js +99 -79
  84. package/compiledScripts/UITextField.js.map +7 -1
  85. package/compiledScripts/UITextView.d.ts +1 -1
  86. package/compiledScripts/UITextView.js +244 -232
  87. package/compiledScripts/UITextView.js.map +7 -1
  88. package/compiledScripts/UITimer.d.ts +1 -2
  89. package/compiledScripts/UITimer.js +61 -41
  90. package/compiledScripts/UITimer.js.map +7 -1
  91. package/compiledScripts/UIView.d.ts +25 -2
  92. package/compiledScripts/UIView.js +1442 -1519
  93. package/compiledScripts/UIView.js.map +7 -1
  94. package/compiledScripts/UIViewController.d.ts +6 -11
  95. package/compiledScripts/UIViewController.js +169 -151
  96. package/compiledScripts/UIViewController.js.map +7 -1
  97. package/compiledScripts/index.d.ts +5 -0
  98. package/compiledScripts/index.js +50 -45
  99. package/compiledScripts/index.js.map +7 -1
  100. package/etsc.config.mjs +22 -0
  101. package/package.json +12 -3
  102. package/rollup.config.js +48 -0
  103. package/scripts/ClientCheckers.ts +2 -0
  104. package/scripts/UIActionIndicator.ts +1 -7
  105. package/scripts/UIBaseButton.ts +0 -4
  106. package/scripts/UIButton.ts +0 -4
  107. package/scripts/UIColor.ts +0 -5
  108. package/scripts/UICore.ts +43 -90
  109. package/scripts/UICoreExtensionValueObject.ts +13 -0
  110. package/scripts/UICoreExtensions.ts +78 -46
  111. package/scripts/UICoreValues.ts +21 -0
  112. package/scripts/UIDateTimeInput.ts +0 -8
  113. package/scripts/UIDialogView.ts +5 -4
  114. package/scripts/UIImageView.ts +3 -5
  115. package/scripts/UIInterfaces.ts +26 -0
  116. package/scripts/UIKeyValueStringFilter.ts +4 -6
  117. package/scripts/{UIKeyValueStringFilterWebWorker.ts → UIKeyValueStringFilterWebWorker.worker.ts} +0 -0
  118. package/scripts/UIKeyValueStringSorter.ts +4 -6
  119. package/scripts/{UIKeyValueStringSorterWebWorker.ts → UIKeyValueStringSorterWebWorker.worker.ts} +1 -1
  120. package/scripts/UILayoutGrid.ts +0 -3
  121. package/scripts/UILink.ts +2 -12
  122. package/scripts/UILinkButton.ts +0 -7
  123. package/scripts/UINativeScrollView.ts +0 -4
  124. package/scripts/UIObject.ts +17 -97
  125. package/scripts/UIPoint.ts +0 -3
  126. package/scripts/UIRectangle.ts +0 -4
  127. package/scripts/UIRootViewController.ts +321 -0
  128. package/scripts/UIRoute.ts +3 -77
  129. package/scripts/UIScrollView.ts +0 -5
  130. package/scripts/UISlideScrollerView.ts +2 -5
  131. package/scripts/UIStringFilter.ts +7 -7
  132. package/scripts/{UIStringFilterWebWorker.ts → UIStringFilterWebWorker.worker.ts} +0 -0
  133. package/scripts/UITableView.ts +0 -3
  134. package/scripts/UITextArea.ts +2 -6
  135. package/scripts/UITextField.ts +7 -13
  136. package/scripts/UITextView.ts +5 -9
  137. package/scripts/UITimer.ts +3 -9
  138. package/scripts/UIView.ts +66 -30
  139. package/scripts/UIViewController.ts +32 -76
  140. package/scripts/index.ts +6 -0
  141. package/tsconfig.json +1 -1
  142. package/compiledScripts/UIKeyValueStringFilterWebWorker.js +0 -76
  143. package/compiledScripts/UIKeyValueStringFilterWebWorker.js.map +0 -1
  144. package/compiledScripts/UIKeyValueStringSorterWebWorker.js +0 -81
  145. package/compiledScripts/UIKeyValueStringSorterWebWorker.js.map +0 -1
  146. package/compiledScripts/UIStringFilterWebWorker.js +0 -67
  147. package/compiledScripts/UIStringFilterWebWorker.js.map +0 -1
package/.jshintrc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "esversion": 6,
3
+ "asi": true
4
+ }
@@ -0,0 +1,2 @@
1
+ export declare const IS_FIREFOX: boolean;
2
+ export declare const IS_SAFARI: boolean;
@@ -0,0 +1,31 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var ClientCheckers_exports = {};
19
+ __export(ClientCheckers_exports, {
20
+ IS_FIREFOX: () => IS_FIREFOX,
21
+ IS_SAFARI: () => IS_SAFARI
22
+ });
23
+ module.exports = __toCommonJS(ClientCheckers_exports);
24
+ const IS_FIREFOX = navigator.userAgent.toLowerCase().indexOf("firefox") > -1;
25
+ const IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
26
+ // Annotate the CommonJS export names for ESM import in node:
27
+ 0 && (module.exports = {
28
+ IS_FIREFOX,
29
+ IS_SAFARI
30
+ });
31
+ //# sourceMappingURL=ClientCheckers.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../scripts/ClientCheckers.ts"],
4
+ "sourcesContent": ["export const IS_FIREFOX = navigator.userAgent.toLowerCase().indexOf(\"firefox\") > -1\nexport const IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aAAa,UAAU,UAAU,YAAY,EAAE,QAAQ,SAAS,IAAI;AAC1E,MAAM,YAAY,iCAAiC,KAAK,UAAU,SAAS;",
6
+ "names": []
7
+ }
@@ -1,54 +1,72 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UIActionIndicator = void 0;
4
- const UIObject_1 = require("./UIObject");
5
- const UIView_1 = require("./UIView");
6
- class UIActionIndicator extends UIView_1.UIView {
7
- constructor(elementID) {
8
- super(elementID);
9
- this._size = 50;
10
- this._class = UIActionIndicator;
11
- this.superclass = UIView_1.UIView;
12
- this.indicatorView = new UIView_1.UIView(this.elementID + "IndicatorView");
13
- this.addSubview(this.indicatorView);
14
- this.indicatorView.viewHTMLElement.classList.add("LukeHaasLoader");
15
- this.hidden = UIObject_1.YES;
16
- }
17
- set size(size) {
18
- this._size = size;
19
- this.setNeedsLayoutUpToRootView();
20
- }
21
- get size() {
22
- return this._size;
23
- }
24
- set hidden(hidden) {
25
- super.hidden = hidden;
26
- if (hidden) {
27
- this.indicatorView.removeFromSuperview();
28
- }
29
- else {
30
- this.addSubview(this.indicatorView);
31
- }
32
- }
33
- start() {
34
- this.hidden = UIObject_1.NO;
35
- }
36
- stop() {
37
- this.hidden = UIObject_1.YES;
38
- }
39
- layoutSubviews() {
40
- super.layoutSubviews();
41
- const bounds = this.bounds;
42
- //this.indicatorView.centerInContainer();
43
- this.indicatorView.style.height = "" + this._size.integerValue + "px";
44
- this.indicatorView.style.width = "" + this._size.integerValue + "px";
45
- const minSize = Math.min(this.bounds.height, this.bounds.width);
46
- this.indicatorView.style.maxHeight = "" + minSize.integerValue + "px";
47
- this.indicatorView.style.maxWidth = "" + minSize.integerValue + "px";
48
- const size = Math.min(this._size, minSize);
49
- this.indicatorView.style.left = "" + ((bounds.width - size) * 0.5 - 11).integerValue + "px";
50
- this.indicatorView.style.top = "" + ((bounds.height - size) * 0.5 - 11).integerValue + "px";
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var UIActionIndicator_exports = {};
19
+ __export(UIActionIndicator_exports, {
20
+ UIActionIndicator: () => UIActionIndicator
21
+ });
22
+ module.exports = __toCommonJS(UIActionIndicator_exports);
23
+ var import_UIObject = require("./UIObject");
24
+ var import_UIView = require("./UIView");
25
+ class UIActionIndicator extends import_UIView.UIView {
26
+ constructor(elementID) {
27
+ super(elementID);
28
+ this._size = 50;
29
+ this.indicatorView = new import_UIView.UIView(this.elementID + "IndicatorView");
30
+ this.indicatorView.viewHTMLElement.classList.add("LukeHaasLoader");
31
+ this.addSubview(this.indicatorView);
32
+ this.hidden = import_UIObject.YES;
33
+ }
34
+ set size(size) {
35
+ this._size = size;
36
+ this.setNeedsLayoutUpToRootView();
37
+ }
38
+ get size() {
39
+ return this._size;
40
+ }
41
+ set hidden(hidden) {
42
+ super.hidden = hidden;
43
+ if (hidden) {
44
+ this.indicatorView.removeFromSuperview();
45
+ } else {
46
+ this.addSubview(this.indicatorView);
51
47
  }
48
+ }
49
+ start() {
50
+ this.hidden = import_UIObject.NO;
51
+ }
52
+ stop() {
53
+ this.hidden = import_UIObject.YES;
54
+ }
55
+ layoutSubviews() {
56
+ super.layoutSubviews();
57
+ const bounds = this.bounds;
58
+ this.indicatorView.style.height = "" + this._size.integerValue + "px";
59
+ this.indicatorView.style.width = "" + this._size.integerValue + "px";
60
+ const minSize = Math.min(this.bounds.height, this.bounds.width);
61
+ this.indicatorView.style.maxHeight = "" + minSize.integerValue + "px";
62
+ this.indicatorView.style.maxWidth = "" + minSize.integerValue + "px";
63
+ const size = Math.min(this._size, minSize);
64
+ this.indicatorView.style.left = "" + ((bounds.width - size) * 0.5 - 11).integerValue + "px";
65
+ this.indicatorView.style.top = "" + ((bounds.height - size) * 0.5 - 11).integerValue + "px";
66
+ }
52
67
  }
53
- exports.UIActionIndicator = UIActionIndicator;
54
- //# sourceMappingURL=UIActionIndicator.js.map
68
+ // Annotate the CommonJS export names for ESM import in node:
69
+ 0 && (module.exports = {
70
+ UIActionIndicator
71
+ });
72
+ //# sourceMappingURL=UIActionIndicator.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"UIActionIndicator.js","sourceRoot":"","sources":["../scripts/UIActionIndicator.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AACpC,qCAAiC;AAGjC,MAAa,iBAAkB,SAAQ,eAAM;IAOzC,YAAY,SAAkB;QAE1B,KAAK,CAAC,SAAS,CAAC,CAAA;QAJpB,UAAK,GAAW,EAAE,CAAA;QAMd,IAAI,CAAC,MAAM,GAAG,iBAAiB,CAAA;QAC/B,IAAI,CAAC,UAAU,GAAG,eAAM,CAAA;QAExB,IAAI,CAAC,aAAa,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC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MAAM,CAAC,KAAK,CAAC,CAAA;QAE/D,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,EAAE,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAA;QACrE,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAA;QAEpE,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAE1C,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,GAAG,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,YAAY,GAAG,IAAI,CAAA;QAC3F,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,YAAY,GAAG,IAAI,CAAA;IAK/F,CAAC;CAMJ;AA1GD,8CA0GC"}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../scripts/UIActionIndicator.ts"],
4
+ "sourcesContent": ["import { NO, YES } from \"./UIObject\"\nimport { UIView } from \"./UIView\"\n\n\nexport class UIActionIndicator extends UIView {\n \n \n indicatorView: UIView\n \n _size: number = 50\n \n constructor(elementID?: string) {\n \n super(elementID)\n \n this.indicatorView = new UIView(this.elementID + \"IndicatorView\")\n this.indicatorView.viewHTMLElement.classList.add(\"LukeHaasLoader\")\n this.addSubview(this.indicatorView)\n \n this.hidden = YES\n \n }\n \n \n \n \n \n set size(size: number) {\n \n this._size = size\n \n this.setNeedsLayoutUpToRootView()\n \n }\n \n get size() {\n \n return this._size\n \n }\n \n \n \n set hidden(hidden: boolean) {\n \n super.hidden = hidden\n \n if (hidden) {\n \n this.indicatorView.removeFromSuperview()\n \n }\n else {\n \n this.addSubview(this.indicatorView)\n \n }\n \n }\n \n start() {\n \n this.hidden = NO\n \n }\n \n stop() {\n \n this.hidden = YES\n \n }\n \n \n \n layoutSubviews() {\n \n super.layoutSubviews()\n \n const bounds = this.bounds\n \n //this.indicatorView.centerInContainer();\n \n this.indicatorView.style.height = \"\" + this._size.integerValue + \"px\"\n this.indicatorView.style.width = \"\" + this._size.integerValue + \"px\"\n \n const minSize = Math.min(this.bounds.height, this.bounds.width)\n \n this.indicatorView.style.maxHeight = \"\" + minSize.integerValue + \"px\"\n this.indicatorView.style.maxWidth = \"\" + minSize.integerValue + \"px\"\n \n const size = Math.min(this._size, minSize)\n \n this.indicatorView.style.left = \"\" + ((bounds.width - size) * 0.5 - 11).integerValue + \"px\"\n this.indicatorView.style.top = \"\" + ((bounds.height - size) * 0.5 - 11).integerValue + \"px\"\n \n \n \n \n }\n \n \n \n \n \n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAwB;AACxB,oBAAuB;AAGhB,MAAM,0BAA0B,qBAAO;AAAA,EAO1C,YAAY,WAAoB;AAE5B,UAAM,SAAS;AAJnB,iBAAgB;AAMZ,SAAK,gBAAgB,IAAI,qBAAO,KAAK,YAAY,eAAe;AAChE,SAAK,cAAc,gBAAgB,UAAU,IAAI,gBAAgB;AACjE,SAAK,WAAW,KAAK,aAAa;AAElC,SAAK,SAAS;AAAA,EAElB;AAAA,EAMA,IAAI,KAAK,MAAc;AAEnB,SAAK,QAAQ;AAEb,SAAK,2BAA2B;AAAA,EAEpC;AAAA,EAEA,IAAI,OAAO;AAEP,WAAO,KAAK;AAAA,EAEhB;AAAA,EAIA,IAAI,OAAO,QAAiB;AAExB,UAAM,SAAS;AAEf,QAAI,QAAQ;AAER,WAAK,cAAc,oBAAoB;AAAA,IAE3C,OACK;AAED,WAAK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