@stryke/fs 0.33.72 → 0.33.73

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 (117) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/copy-file.cjs +7 -8
  3. package/dist/copy-file.d.cts +1 -1
  4. package/dist/copy-file.d.mts +1 -1
  5. package/dist/copy-file.mjs +1 -2
  6. package/dist/copy-file.mjs.map +1 -1
  7. package/dist/get-parent-path.d.cts +1 -1
  8. package/dist/get-parent-path.d.cts.map +1 -1
  9. package/dist/get-parent-path.d.mts +1 -1
  10. package/dist/get-parent-path.d.mts.map +1 -1
  11. package/dist/get-workspace-root.d.cts +4 -4
  12. package/dist/get-workspace-root.d.mts +4 -4
  13. package/dist/json.cjs +9 -10
  14. package/dist/json.d.cts +1 -1
  15. package/dist/json.d.mts +1 -1
  16. package/dist/json.mjs +3 -4
  17. package/dist/json.mjs.map +1 -1
  18. package/dist/list-files.cjs +3 -4
  19. package/dist/list-files.d.cts +1 -1
  20. package/dist/list-files.d.mts +1 -1
  21. package/dist/list-files.mjs +1 -2
  22. package/dist/list-files.mjs.map +1 -1
  23. package/dist/package-fns.cjs +3 -3
  24. package/dist/package-fns.d.cts +4 -4
  25. package/dist/package-fns.d.cts.map +1 -1
  26. package/dist/package-fns.d.mts +4 -4
  27. package/dist/package-fns.d.mts.map +1 -1
  28. package/dist/package-fns.mjs +1 -1
  29. package/dist/semver-fns.cjs +6 -6
  30. package/dist/semver-fns.mjs +2 -2
  31. package/dist/tsconfig.cjs +1 -1
  32. package/dist/tsconfig.d.cts +1 -1
  33. package/dist/tsconfig.d.mts +1 -1
  34. package/dist/tsconfig.mjs +1 -1
  35. package/dist/tsconfig.mjs.map +1 -1
  36. package/package.json +10 -91
  37. package/dist/json/src/storm-json.cjs +0 -106
  38. package/dist/json/src/storm-json.mjs +0 -105
  39. package/dist/json/src/storm-json.mjs.map +0 -1
  40. package/dist/json/src/types.d.cts +0 -32
  41. package/dist/json/src/types.d.cts.map +0 -1
  42. package/dist/json/src/types.d.mts +0 -32
  43. package/dist/json/src/types.d.mts.map +0 -1
  44. package/dist/json/src/utils/code-frames.cjs +0 -77
  45. package/dist/json/src/utils/code-frames.mjs +0 -77
  46. package/dist/json/src/utils/code-frames.mjs.map +0 -1
  47. package/dist/json/src/utils/parse-error.cjs +0 -34
  48. package/dist/json/src/utils/parse-error.mjs +0 -34
  49. package/dist/json/src/utils/parse-error.mjs.map +0 -1
  50. package/dist/json/src/utils/parse.cjs +0 -45
  51. package/dist/json/src/utils/parse.mjs +0 -46
  52. package/dist/json/src/utils/parse.mjs.map +0 -1
  53. package/dist/json/src/utils/stringify.cjs +0 -33
  54. package/dist/json/src/utils/stringify.mjs +0 -34
  55. package/dist/json/src/utils/stringify.mjs.map +0 -1
  56. package/dist/json/src/utils/strip-comments.cjs +0 -85
  57. package/dist/json/src/utils/strip-comments.mjs +0 -85
  58. package/dist/json/src/utils/strip-comments.mjs.map +0 -1
  59. package/dist/type-checks/src/get-object-tag.cjs +0 -15
  60. package/dist/type-checks/src/get-object-tag.mjs +0 -15
  61. package/dist/type-checks/src/get-object-tag.mjs.map +0 -1
  62. package/dist/type-checks/src/index.cjs +0 -14
  63. package/dist/type-checks/src/index.mjs +0 -16
  64. package/dist/type-checks/src/is-buffer.cjs +0 -14
  65. package/dist/type-checks/src/is-buffer.mjs +0 -14
  66. package/dist/type-checks/src/is-buffer.mjs.map +0 -1
  67. package/dist/type-checks/src/is-collection.cjs +0 -1
  68. package/dist/type-checks/src/is-collection.mjs +0 -3
  69. package/dist/type-checks/src/is-empty.cjs +0 -20
  70. package/dist/type-checks/src/is-empty.mjs +0 -21
  71. package/dist/type-checks/src/is-empty.mjs.map +0 -1
  72. package/dist/type-checks/src/is-error.cjs +0 -29
  73. package/dist/type-checks/src/is-error.mjs +0 -30
  74. package/dist/type-checks/src/is-error.mjs.map +0 -1
  75. package/dist/type-checks/src/is-null.cjs +0 -12
  76. package/dist/type-checks/src/is-null.mjs +0 -12
  77. package/dist/type-checks/src/is-null.mjs.map +0 -1
  78. package/dist/type-checks/src/is-number.cjs +0 -18
  79. package/dist/type-checks/src/is-number.mjs +0 -18
  80. package/dist/type-checks/src/is-number.mjs.map +0 -1
  81. package/dist/type-checks/src/is-object.cjs +0 -19
  82. package/dist/type-checks/src/is-object.mjs +0 -20
  83. package/dist/type-checks/src/is-object.mjs.map +0 -1
  84. package/dist/type-checks/src/is-plain-object.cjs +0 -64
  85. package/dist/type-checks/src/is-plain-object.mjs +0 -64
  86. package/dist/type-checks/src/is-plain-object.mjs.map +0 -1
  87. package/dist/type-checks/src/is-set-string.cjs +0 -20
  88. package/dist/type-checks/src/is-set-string.mjs +0 -21
  89. package/dist/type-checks/src/is-set-string.mjs.map +0 -1
  90. package/dist/type-checks/src/is-set.cjs +0 -19
  91. package/dist/type-checks/src/is-set.mjs +0 -20
  92. package/dist/type-checks/src/is-set.mjs.map +0 -1
  93. package/dist/type-checks/src/is-string.cjs +0 -12
  94. package/dist/type-checks/src/is-string.mjs +0 -12
  95. package/dist/type-checks/src/is-string.mjs.map +0 -1
  96. package/dist/type-checks/src/is-undefined.cjs +0 -8
  97. package/dist/type-checks/src/is-undefined.mjs +0 -8
  98. package/dist/type-checks/src/is-undefined.mjs.map +0 -1
  99. package/dist/type-checks/src/type-detect.cjs +0 -15
  100. package/dist/type-checks/src/type-detect.mjs +0 -17
  101. package/dist/type-checks/src/type-detect.mjs.map +0 -1
  102. package/dist/types/src/file.d.cts +0 -31
  103. package/dist/types/src/file.d.cts.map +0 -1
  104. package/dist/types/src/file.d.mts +0 -31
  105. package/dist/types/src/file.d.mts.map +0 -1
  106. package/dist/types/src/package-json.d.cts +0 -261
  107. package/dist/types/src/package-json.d.cts.map +0 -1
  108. package/dist/types/src/package-json.d.mts +0 -261
  109. package/dist/types/src/package-json.d.mts.map +0 -1
  110. package/dist/types/src/package-manager.d.cts +0 -5
  111. package/dist/types/src/package-manager.d.cts.map +0 -1
  112. package/dist/types/src/package-manager.d.mts +0 -5
  113. package/dist/types/src/package-manager.d.mts.map +0 -1
  114. package/dist/types/src/tsconfig.d.cts +0 -803
  115. package/dist/types/src/tsconfig.d.cts.map +0 -1
  116. package/dist/types/src/tsconfig.d.mts +0 -803
  117. package/dist/types/src/tsconfig.d.mts.map +0 -1
@@ -1,29 +0,0 @@
1
- const require_get_object_tag = require('./get-object-tag.cjs');
2
- const require_is_plain_object = require('./is-plain-object.cjs');
3
- const require_is_object = require('./is-object.cjs');
4
-
5
- //#region ../type-checks/src/is-error.ts
6
- /**
7
- * Checks if `obj` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
8
- * `SyntaxError`, `TypeError`, or `URIError` object.
9
- *
10
- * @example
11
- * ```typescript
12
- * isError(new Error)
13
- * // => true
14
- *
15
- * isError(Error)
16
- * // => false
17
- * ```
18
- *
19
- * @param obj - The obj to check.
20
- * @returns Returns `true` if `obj` is an error object, else `false`.
21
- */
22
- const isError = (obj) => {
23
- if (!require_is_object.isObject(obj)) return false;
24
- const tag = require_get_object_tag.getObjectTag(obj);
25
- return tag === "[object Error]" || tag === "[object DOMException]" || typeof obj?.message === "string" && typeof obj?.name === "string" && !require_is_plain_object.isPlainObject(obj);
26
- };
27
-
28
- //#endregion
29
- exports.isError = isError;
@@ -1,30 +0,0 @@
1
- import { getObjectTag } from "./get-object-tag.mjs";
2
- import { isPlainObject } from "./is-plain-object.mjs";
3
- import { isObject } from "./is-object.mjs";
4
-
5
- //#region ../type-checks/src/is-error.ts
6
- /**
7
- * Checks if `obj` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
8
- * `SyntaxError`, `TypeError`, or `URIError` object.
9
- *
10
- * @example
11
- * ```typescript
12
- * isError(new Error)
13
- * // => true
14
- *
15
- * isError(Error)
16
- * // => false
17
- * ```
18
- *
19
- * @param obj - The obj to check.
20
- * @returns Returns `true` if `obj` is an error object, else `false`.
21
- */
22
- const isError = (obj) => {
23
- if (!isObject(obj)) return false;
24
- const tag = getObjectTag(obj);
25
- return tag === "[object Error]" || tag === "[object DOMException]" || typeof obj?.message === "string" && typeof obj?.name === "string" && !isPlainObject(obj);
26
- };
27
-
28
- //#endregion
29
- export { isError };
30
- //# sourceMappingURL=is-error.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-error.mjs","names":[],"sources":["../../../../type-checks/src/is-error.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { getObjectTag } from \"./get-object-tag\";\nimport { isObject } from \"./is-object\";\nimport { isPlainObject } from \"./is-plain-object\";\n\n/**\n * Checks if `obj` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @example\n * ```typescript\n * isError(new Error)\n * // => true\n *\n * isError(Error)\n * // => false\n * ```\n *\n * @param obj - The obj to check.\n * @returns Returns `true` if `obj` is an error object, else `false`.\n */\nexport const isError = (obj: unknown): obj is Error => {\n if (!isObject(obj)) {\n return false;\n }\n\n const tag = getObjectTag(obj);\n\n return (\n tag === \"[object Error]\" ||\n tag === \"[object DOMException]\" ||\n (typeof (obj as Error)?.message === \"string\" &&\n typeof (obj as Error)?.name === \"string\" &&\n !isPlainObject(obj))\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsCA,MAAa,WAAW,QAA+B;AACrD,KAAI,CAAC,SAAS,IAAI,CAChB,QAAO;CAGT,MAAM,MAAM,aAAa,IAAI;AAE7B,QACE,QAAQ,oBACR,QAAQ,2BACP,OAAQ,KAAe,YAAY,YAClC,OAAQ,KAAe,SAAS,YAChC,CAAC,cAAc,IAAI"}
@@ -1,12 +0,0 @@
1
-
2
- //#region ../type-checks/src/is-null.ts
3
- const isNull = (value) => {
4
- try {
5
- return value === null;
6
- } catch {
7
- return false;
8
- }
9
- };
10
-
11
- //#endregion
12
- exports.isNull = isNull;
@@ -1,12 +0,0 @@
1
- //#region ../type-checks/src/is-null.ts
2
- const isNull = (value) => {
3
- try {
4
- return value === null;
5
- } catch {
6
- return false;
7
- }
8
- };
9
-
10
- //#endregion
11
- export { isNull };
12
- //# sourceMappingURL=is-null.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-null.mjs","names":[],"sources":["../../../../type-checks/src/is-null.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const isNull = (value: unknown): value is null => {\n try {\n return value === null;\n } catch {\n return false;\n }\n};\n"],"mappings":";AAkBA,MAAa,UAAU,UAAkC;AACvD,KAAI;AACF,SAAO,UAAU;SACX;AACN,SAAO"}
@@ -1,18 +0,0 @@
1
-
2
- //#region ../type-checks/src/is-number.ts
3
- /**
4
- * Check if the provided value's type is `number`
5
- *
6
- * @param value - The value to type check
7
- * @returns An indicator specifying if the value provided is of type `number`
8
- */
9
- const isNumber = (value) => {
10
- try {
11
- return value instanceof Number || typeof value === "number" || Number(value) === value;
12
- } catch {
13
- return false;
14
- }
15
- };
16
-
17
- //#endregion
18
- exports.isNumber = isNumber;
@@ -1,18 +0,0 @@
1
- //#region ../type-checks/src/is-number.ts
2
- /**
3
- * Check if the provided value's type is `number`
4
- *
5
- * @param value - The value to type check
6
- * @returns An indicator specifying if the value provided is of type `number`
7
- */
8
- const isNumber = (value) => {
9
- try {
10
- return value instanceof Number || typeof value === "number" || Number(value) === value;
11
- } catch {
12
- return false;
13
- }
14
- };
15
-
16
- //#endregion
17
- export { isNumber };
18
- //# sourceMappingURL=is-number.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-number.mjs","names":[],"sources":["../../../../type-checks/src/is-number.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AnyNumber } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\n/**\n * Check if the provided value's type is `number`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number`\n */\nexport const isNumber = (value: unknown): value is number => {\n try {\n return (\n value instanceof Number ||\n typeof value === \"number\" ||\n Number(value) === value\n );\n } catch {\n return false;\n }\n};\n\n/**\n * Check if the provided value's type is `AnyNumber`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `AnyNumber`\n */\nexport function isAnyNumber(value?: any): value is AnyNumber {\n return isNumber(value) || getObjectTag(value) === \"[object Number]\";\n}\n"],"mappings":";;;;;;;AA2BA,MAAa,YAAY,UAAoC;AAC3D,KAAI;AACF,SACE,iBAAiB,UACjB,OAAO,UAAU,YACjB,OAAO,MAAM,KAAK;SAEd;AACN,SAAO"}
@@ -1,19 +0,0 @@
1
- const require_is_plain_object = require('./is-plain-object.cjs');
2
-
3
- //#region ../type-checks/src/is-object.ts
4
- /**
5
- * Check if the provided value's type is `Object`
6
- *
7
- * @param value - The value to type check
8
- * @returns An indicator specifying if the value provided is of type `Object`
9
- */
10
- const isObject = (value) => {
11
- try {
12
- return typeof value === "object" || Boolean(value) && value?.constructor === Object || require_is_plain_object.isPlainObject(value);
13
- } catch {
14
- return false;
15
- }
16
- };
17
-
18
- //#endregion
19
- exports.isObject = isObject;
@@ -1,20 +0,0 @@
1
- import { isPlainObject } from "./is-plain-object.mjs";
2
-
3
- //#region ../type-checks/src/is-object.ts
4
- /**
5
- * Check if the provided value's type is `Object`
6
- *
7
- * @param value - The value to type check
8
- * @returns An indicator specifying if the value provided is of type `Object`
9
- */
10
- const isObject = (value) => {
11
- try {
12
- return typeof value === "object" || Boolean(value) && value?.constructor === Object || isPlainObject(value);
13
- } catch {
14
- return false;
15
- }
16
- };
17
-
18
- //#endregion
19
- export { isObject };
20
- //# sourceMappingURL=is-object.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-object.mjs","names":[],"sources":["../../../../type-checks/src/is-object.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/* eslint-disable ts/no-unsafe-function-type */\n/* eslint-disable ts/no-unsafe-call */\n\nimport type { NativeClass } from \"@stryke/types/base\";\nimport { isPlainObject } from \"./is-plain-object\";\n\n// Prepare\nconst isClassRegex = /^class\\s|^function\\s+[A-Z]/;\nconst isConventionalClassRegex = /^function\\s+[A-Z]/;\nconst isNativeClassRegex = /^class\\s/;\n\n/** Is ES6+ class */\nexport function isNativeClass(value?: any): value is NativeClass {\n // NOTE TO DEVELOPER: If any of this changes, isClass must also be updated\n return (\n typeof value === \"function\" && isNativeClassRegex.test(value.toString())\n );\n}\n\n/**\n * Check if the provided value's type is a conventional class\n *\n * @remarks\n * Is Conventional Class\n * Looks for function with capital first letter MyClass\n * First letter is the 9th character\n * If changed, isClass must also be updated\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is a conventional class\n */\nexport function isConventionalClass(value?: any): value is Function {\n return (\n typeof value === \"function\" &&\n isConventionalClassRegex.test(value.toString())\n );\n}\n\n/**\n * Check if the provided value's type is `Object`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object`\n */\nexport function isClass(value?: any): value is Function | NativeClass; // only guarantee of truth type, not of validity\nexport function isClass(value?: any): boolean {\n return typeof value === \"function\" && isClassRegex.test(value.toString());\n}\n\n/**\n * Check if the provided value's type is `Object`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object`\n */\nexport const isObject = (value: unknown): value is object => {\n try {\n return (\n typeof value === \"object\" ||\n (Boolean(value) && value?.constructor === Object) ||\n isPlainObject(value)\n );\n } catch {\n return false;\n }\n};\n"],"mappings":";;;;;;;;;AAyEA,MAAa,YAAY,UAAoC;AAC3D,KAAI;AACF,SACE,OAAO,UAAU,YAChB,QAAQ,MAAM,IAAI,OAAO,gBAAgB,UAC1C,cAAc,MAAM;SAEhB;AACN,SAAO"}
@@ -1,64 +0,0 @@
1
- const require_get_object_tag = require('./get-object-tag.cjs');
2
-
3
- //#region ../type-checks/src/is-plain-object.ts
4
- /**
5
- * Checks if `value` is object-like. A value is object-like if it's not `null`
6
- * and has a `typeof` result of "object".
7
- *
8
- * @example
9
- * ```typescript
10
- * isObjectLike({})
11
- * // => true
12
- *
13
- * isObjectLike([1, 2, 3])
14
- * // => true
15
- *
16
- * isObjectLike(Function)
17
- * // => false
18
- *
19
- * isObjectLike(null)
20
- * // => false
21
- * ```
22
- *
23
- * @param value - The value to check.
24
- * @returns Returns `true` if `value` is object-like, else `false`.
25
- */
26
- const isObjectLike = (value) => {
27
- return typeof value === "object" && value !== null;
28
- };
29
- /**
30
- * Checks if `obj` is a plain object, that is, an object created by the `Object` constructor or one with a `[[Prototype]]` of `null`.
31
- *
32
- * @example
33
- * ```typescript
34
- * function Foo() {
35
- * this.a = 1
36
- * }
37
- *
38
- * isPlainObject(new Foo)
39
- * // => false
40
- *
41
- * isPlainObject([1, 2, 3])
42
- * // => false
43
- *
44
- * isPlainObject({ 'x': 0, 'y': 0 })
45
- * // => true
46
- *
47
- * isPlainObject(Object.create(null))
48
- * // => true
49
- * ```
50
- *
51
- * @param obj - The value to check.
52
- * @returns Returns `true` if `obj` is a plain object, else `false`.
53
- */
54
- const isPlainObject = (obj) => {
55
- if (!isObjectLike(obj) || require_get_object_tag.getObjectTag(obj) !== "[object Object]") return false;
56
- if (Object.getPrototypeOf(obj) === null) return true;
57
- let proto = obj;
58
- while (Object.getPrototypeOf(proto) !== null) proto = Object.getPrototypeOf(proto);
59
- return Object.getPrototypeOf(obj) === proto;
60
- };
61
-
62
- //#endregion
63
- exports.isObjectLike = isObjectLike;
64
- exports.isPlainObject = isPlainObject;
@@ -1,64 +0,0 @@
1
- import { getObjectTag } from "./get-object-tag.mjs";
2
-
3
- //#region ../type-checks/src/is-plain-object.ts
4
- /**
5
- * Checks if `value` is object-like. A value is object-like if it's not `null`
6
- * and has a `typeof` result of "object".
7
- *
8
- * @example
9
- * ```typescript
10
- * isObjectLike({})
11
- * // => true
12
- *
13
- * isObjectLike([1, 2, 3])
14
- * // => true
15
- *
16
- * isObjectLike(Function)
17
- * // => false
18
- *
19
- * isObjectLike(null)
20
- * // => false
21
- * ```
22
- *
23
- * @param value - The value to check.
24
- * @returns Returns `true` if `value` is object-like, else `false`.
25
- */
26
- const isObjectLike = (value) => {
27
- return typeof value === "object" && value !== null;
28
- };
29
- /**
30
- * Checks if `obj` is a plain object, that is, an object created by the `Object` constructor or one with a `[[Prototype]]` of `null`.
31
- *
32
- * @example
33
- * ```typescript
34
- * function Foo() {
35
- * this.a = 1
36
- * }
37
- *
38
- * isPlainObject(new Foo)
39
- * // => false
40
- *
41
- * isPlainObject([1, 2, 3])
42
- * // => false
43
- *
44
- * isPlainObject({ 'x': 0, 'y': 0 })
45
- * // => true
46
- *
47
- * isPlainObject(Object.create(null))
48
- * // => true
49
- * ```
50
- *
51
- * @param obj - The value to check.
52
- * @returns Returns `true` if `obj` is a plain object, else `false`.
53
- */
54
- const isPlainObject = (obj) => {
55
- if (!isObjectLike(obj) || getObjectTag(obj) !== "[object Object]") return false;
56
- if (Object.getPrototypeOf(obj) === null) return true;
57
- let proto = obj;
58
- while (Object.getPrototypeOf(proto) !== null) proto = Object.getPrototypeOf(proto);
59
- return Object.getPrototypeOf(obj) === proto;
60
- };
61
-
62
- //#endregion
63
- export { isObjectLike, isPlainObject };
64
- //# sourceMappingURL=is-plain-object.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-plain-object.mjs","names":[],"sources":["../../../../type-checks/src/is-plain-object.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { PlainObject } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @example\n * ```typescript\n * isObjectLike({})\n * // => true\n *\n * isObjectLike([1, 2, 3])\n * // => true\n *\n * isObjectLike(Function)\n * // => false\n *\n * isObjectLike(null)\n * // => false\n * ```\n *\n * @param value - The value to check.\n * @returns Returns `true` if `value` is object-like, else `false`.\n */\nexport const isObjectLike = (value: unknown) => {\n return typeof value === \"object\" && value !== null;\n};\n\n/**\n * Checks if `obj` is a plain object, that is, an object created by the `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @example\n * ```typescript\n * function Foo() {\n * this.a = 1\n * }\n *\n * isPlainObject(new Foo)\n * // => false\n *\n * isPlainObject([1, 2, 3])\n * // => false\n *\n * isPlainObject({ 'x': 0, 'y': 0 })\n * // => true\n *\n * isPlainObject(Object.create(null))\n * // => true\n * ```\n *\n * @param obj - The value to check.\n * @returns Returns `true` if `obj` is a plain object, else `false`.\n */\nexport const isPlainObject = (obj: unknown): obj is PlainObject => {\n if (!isObjectLike(obj) || getObjectTag(obj) !== \"[object Object]\") {\n return false;\n }\n if (Object.getPrototypeOf(obj) === null) {\n return true;\n }\n let proto = obj;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(obj) === proto;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAa,gBAAgB,UAAmB;AAC9C,QAAO,OAAO,UAAU,YAAY,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BhD,MAAa,iBAAiB,QAAqC;AACjE,KAAI,CAAC,aAAa,IAAI,IAAI,aAAa,IAAI,KAAK,kBAC9C,QAAO;AAET,KAAI,OAAO,eAAe,IAAI,KAAK,KACjC,QAAO;CAET,IAAI,QAAQ;AACZ,QAAO,OAAO,eAAe,MAAM,KAAK,KACtC,SAAQ,OAAO,eAAe,MAAM;AAEtC,QAAO,OAAO,eAAe,IAAI,KAAK"}
@@ -1,20 +0,0 @@
1
- const require_is_string = require('./is-string.cjs');
2
- const require_is_set = require('./is-set.cjs');
3
-
4
- //#region ../type-checks/src/is-set-string.ts
5
- /**
6
- * Determine if the type is string and is not empty (length greater than zero)
7
- *
8
- * @param value - The value to type check
9
- * @returns An indicator specifying if the value provided is of type `string` and length greater than zero
10
- */
11
- const isSetString = (value) => {
12
- try {
13
- return require_is_set.isSet(value) && require_is_string.isString(value) && value.length > 0;
14
- } catch {
15
- return false;
16
- }
17
- };
18
-
19
- //#endregion
20
- exports.isSetString = isSetString;
@@ -1,21 +0,0 @@
1
- import { isString } from "./is-string.mjs";
2
- import { isSet } from "./is-set.mjs";
3
-
4
- //#region ../type-checks/src/is-set-string.ts
5
- /**
6
- * Determine if the type is string and is not empty (length greater than zero)
7
- *
8
- * @param value - The value to type check
9
- * @returns An indicator specifying if the value provided is of type `string` and length greater than zero
10
- */
11
- const isSetString = (value) => {
12
- try {
13
- return isSet(value) && isString(value) && value.length > 0;
14
- } catch {
15
- return false;
16
- }
17
- };
18
-
19
- //#endregion
20
- export { isSetString };
21
- //# sourceMappingURL=is-set-string.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-set-string.mjs","names":[],"sources":["../../../../type-checks/src/is-set-string.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isSet } from \"./is-set\";\nimport { isString } from \"./is-string\";\n\n/**\n * Determine if the type is string and is not empty (length greater than zero)\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `string` and length greater than zero\n */\nexport const isSetString = (value: unknown): value is NonNullable<string> => {\n try {\n return isSet(value) && isString(value) && value.length > 0;\n } catch {\n return false;\n }\n};\n"],"mappings":";;;;;;;;;;AA2BA,MAAa,eAAe,UAAiD;AAC3E,KAAI;AACF,SAAO,MAAM,MAAM,IAAI,SAAS,MAAM,IAAI,MAAM,SAAS;SACnD;AACN,SAAO"}
@@ -1,19 +0,0 @@
1
- const require_is_empty = require('./is-empty.cjs');
2
-
3
- //#region ../type-checks/src/is-set.ts
4
- /**
5
- * The inverse of the `isEmpty` function
6
- *
7
- * @param value - The value to type check
8
- * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
9
- */
10
- const isSet = (value) => {
11
- try {
12
- return !require_is_empty.isEmpty(value);
13
- } catch {
14
- return false;
15
- }
16
- };
17
-
18
- //#endregion
19
- exports.isSet = isSet;
@@ -1,20 +0,0 @@
1
- import { isEmpty } from "./is-empty.mjs";
2
-
3
- //#region ../type-checks/src/is-set.ts
4
- /**
5
- * The inverse of the `isEmpty` function
6
- *
7
- * @param value - The value to type check
8
- * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
9
- */
10
- const isSet = (value) => {
11
- try {
12
- return !isEmpty(value);
13
- } catch {
14
- return false;
15
- }
16
- };
17
-
18
- //#endregion
19
- export { isSet };
20
- //# sourceMappingURL=is-set.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-set.mjs","names":[],"sources":["../../../../type-checks/src/is-set.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isEmpty } from \"./is-empty\";\n\n/**\n * The inverse of the `isEmpty` function\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`\n */\nexport const isSet = (value: unknown): value is NonNullable<unknown> => {\n try {\n return !isEmpty(value);\n } catch {\n return false;\n }\n};\n"],"mappings":";;;;;;;;;AA0BA,MAAa,SAAS,UAAkD;AACtE,KAAI;AACF,SAAO,CAAC,QAAQ,MAAM;SAChB;AACN,SAAO"}
@@ -1,12 +0,0 @@
1
-
2
- //#region ../type-checks/src/is-string.ts
3
- const isString = (value) => {
4
- try {
5
- return typeof value === "string";
6
- } catch {
7
- return false;
8
- }
9
- };
10
-
11
- //#endregion
12
- exports.isString = isString;
@@ -1,12 +0,0 @@
1
- //#region ../type-checks/src/is-string.ts
2
- const isString = (value) => {
3
- try {
4
- return typeof value === "string";
5
- } catch {
6
- return false;
7
- }
8
- };
9
-
10
- //#endregion
11
- export { isString };
12
- //# sourceMappingURL=is-string.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-string.mjs","names":[],"sources":["../../../../type-checks/src/is-string.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const isString = (value: unknown): value is string => {\n try {\n return typeof value === \"string\";\n } catch {\n return false;\n }\n};\n"],"mappings":";AAkBA,MAAa,YAAY,UAAoC;AAC3D,KAAI;AACF,SAAO,OAAO,UAAU;SAClB;AACN,SAAO"}
@@ -1,8 +0,0 @@
1
-
2
- //#region ../type-checks/src/is-undefined.ts
3
- const isUndefined = (value) => {
4
- return value === void 0;
5
- };
6
-
7
- //#endregion
8
- exports.isUndefined = isUndefined;
@@ -1,8 +0,0 @@
1
- //#region ../type-checks/src/is-undefined.ts
2
- const isUndefined = (value) => {
3
- return value === void 0;
4
- };
5
-
6
- //#endregion
7
- export { isUndefined };
8
- //# sourceMappingURL=is-undefined.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-undefined.mjs","names":[],"sources":["../../../../type-checks/src/is-undefined.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const isUndefined = (value: unknown): value is undefined => {\n return value === undefined;\n};\n"],"mappings":";AAkBA,MAAa,eAAe,UAAuC;AACjE,QAAO,UAAU"}
@@ -1,15 +0,0 @@
1
- require('./is-buffer.cjs');
2
-
3
- //#region ../type-checks/src/type-detect.ts
4
- const globalObject = ((obj) => {
5
- if (typeof globalThis === "object") return globalThis;
6
- Object.defineProperty(obj, "typeDetectGlobalObject", {
7
- get() {
8
- return this;
9
- },
10
- configurable: true
11
- });
12
- return globalThis;
13
- })(Object.prototype);
14
-
15
- //#endregion
@@ -1,17 +0,0 @@
1
- import "./is-buffer.mjs";
2
-
3
- //#region ../type-checks/src/type-detect.ts
4
- const globalObject = ((obj) => {
5
- if (typeof globalThis === "object") return globalThis;
6
- Object.defineProperty(obj, "typeDetectGlobalObject", {
7
- get() {
8
- return this;
9
- },
10
- configurable: true
11
- });
12
- return globalThis;
13
- })(Object.prototype);
14
-
15
- //#endregion
16
- export { };
17
- //# sourceMappingURL=type-detect.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type-detect.mjs","names":[],"sources":["../../../../type-checks/src/type-detect.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isBuffer } from \"./is-buffer\";\n\nconst globalObject = (obj => {\n if (typeof globalThis === \"object\") {\n return globalThis;\n }\n Object.defineProperty(obj, \"typeDetectGlobalObject\", {\n get() {\n return this;\n },\n configurable: true\n });\n\n // // biome-ignore lint/correctness/noUndeclaredVariables: <explanation>\n // const global = typeDetectGlobalObject;\n\n // // biome-ignore lint/performance/noDelete: <explanation>\n // delete obj.typeDetectGlobalObject;\n return globalThis;\n})(Object.prototype);\n\nexport function typeDetect(obj: unknown): string {\n // NOTE: isBuffer must execute before type-detect,\n // because type-detect returns 'Uint8Array'.\n if (isBuffer(obj)) {\n return \"Buffer\";\n }\n\n const typeofObj = typeof obj;\n if (typeofObj !== \"object\") {\n return typeofObj;\n }\n\n if (obj === null) {\n return \"null\";\n }\n\n if (obj === globalObject) {\n return \"global\";\n }\n\n if (\n Array.isArray(obj) &&\n (Symbol.toStringTag === undefined || !(Symbol.toStringTag in obj))\n ) {\n return \"Array\";\n }\n\n // https://html.spec.whatwg.org/multipage/browsers.html#location\n if (typeof globalThis === \"object\" && globalThis !== null) {\n if (\n typeof (globalThis as any).location === \"object\" &&\n obj === (globalThis as any).location\n ) {\n return \"Location\";\n }\n\n // https://html.spec.whatwg.org/#document\n if (\n typeof (globalThis as any).document === \"object\" &&\n obj === (globalThis as any).document\n ) {\n return \"Document\";\n }\n\n // https://html.spec.whatwg.org/multipage/webappapis.html#mimetypearray\n if (typeof (globalThis as any).navigator === \"object\") {\n if (\n typeof (globalThis as any).navigator.mimeTypes === \"object\" &&\n obj === (globalThis as any).navigator.mimeTypes\n ) {\n return \"MimeTypeArray\";\n }\n\n // https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray\n if (\n typeof (globalThis as any).navigator.plugins === \"object\" &&\n obj === (globalThis as any).navigator.plugins\n ) {\n return \"PluginArray\";\n }\n }\n\n // https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray\n if (\n (typeof (globalThis as any).HTMLElement === \"function\" ||\n typeof (globalThis as any).HTMLElement === \"object\") &&\n obj instanceof (globalThis as any).HTMLElement\n ) {\n if ((obj as any).tagName === \"BLOCKQUOTE\") {\n return \"HTMLQuoteElement\";\n }\n\n // https://html.spec.whatwg.org/#htmltabledatacellelement\n if ((obj as any).tagName === \"TD\") {\n return \"HTMLTableDataCellElement\";\n }\n\n // https://html.spec.whatwg.org/#htmltableheadercellelement\n if ((obj as any).tagName === \"TH\") {\n return \"HTMLTableHeaderCellElement\";\n }\n }\n }\n\n const stringTag =\n Symbol.toStringTag !== undefined && (obj as any)[Symbol.toStringTag];\n if (typeof stringTag === \"string\") {\n return stringTag;\n }\n\n const objPrototype = Object.getPrototypeOf(obj);\n if (objPrototype === RegExp.prototype) {\n return \"RegExp\";\n }\n\n if (objPrototype === Date.prototype) {\n return \"Date\";\n }\n\n // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-promise.prototype-@@tostringtag\n if (typeof Promise !== \"undefined\" && objPrototype === Promise.prototype) {\n return \"Promise\";\n }\n\n if (typeof Set !== \"undefined\" && objPrototype === Set.prototype) {\n return \"Set\";\n }\n\n if (typeof Map !== \"undefined\" && objPrototype === Map.prototype) {\n return \"Map\";\n }\n\n if (typeof WeakSet !== \"undefined\" && objPrototype === WeakSet.prototype) {\n return \"WeakSet\";\n }\n\n if (typeof WeakMap !== \"undefined\" && objPrototype === WeakMap.prototype) {\n return \"WeakMap\";\n }\n\n // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-dataview.prototype-@@tostringtag\n if (typeof DataView !== \"undefined\" && objPrototype === DataView.prototype) {\n return \"DataView\";\n }\n\n // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%mapiteratorprototype%-@@tostringtag\n if (\n typeof Map !== \"undefined\" &&\n objPrototype === Object.getPrototypeOf(new Map().entries())\n ) {\n return \"Map Iterator\";\n }\n\n // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%setiteratorprototype%-@@tostringtag\n if (\n typeof Set !== \"undefined\" &&\n objPrototype === Object.getPrototypeOf(new Set().entries())\n ) {\n return \"Set Iterator\";\n }\n\n // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%arrayiteratorprototype%-@@tostringtag\n if (\n typeof Array.prototype[Symbol.iterator] === \"function\" &&\n objPrototype === Object.getPrototypeOf([][Symbol.iterator]())\n ) {\n return \"Array Iterator\";\n }\n\n // http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%stringiteratorprototype%-@@tostringtag\n if (\n Symbol.iterator !== undefined &&\n typeof String.prototype[Symbol.iterator] === \"function\" &&\n Object.getPrototypeOf(\"\"[Symbol.iterator]()) &&\n objPrototype === Object.getPrototypeOf(\"\"[Symbol.iterator]())\n ) {\n return \"String Iterator\";\n }\n\n if (objPrototype === null) {\n return \"Object\";\n }\n\n return Object.prototype.toString.call(obj).slice(8, -1);\n}\n"],"mappings":";;;AAoBA,MAAM,iBAAgB,QAAO;AAC3B,KAAI,OAAO,eAAe,SACxB,QAAO;AAET,QAAO,eAAe,KAAK,0BAA0B;EACnD,MAAM;AACJ,UAAO;;EAET,cAAc;EACf,CAAC;AAOF,QAAO;GACN,OAAO,UAAU"}
@@ -1,31 +0,0 @@
1
- //#region ../types/src/file.d.ts
2
- /**
3
- * A valid `picomatch` glob pattern, or array of patterns.
4
- */
5
- type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
6
- interface FileInputOutput {
7
- input: string;
8
- output: string;
9
- }
10
- /**
11
- * An interface got representing an asset files with glob patterns.
12
- */
13
- type AssetGlob = Required<Omit<FileInputOutput, "input">> & Partial<Pick<FileInputOutput, "input">> & {
14
- /**
15
- * A glob pattern to match files.
16
- */
17
- glob: string;
18
- /**
19
- * An array of glob patterns to ignore files.
20
- */
21
- ignore?: string[];
22
- /**
23
- * Include `.dot` files in normal matches and `globstar` matches. Note that an explicit dot in a portion of the pattern will always match dot files.
24
- *
25
- * @defaultValue true
26
- */
27
- dot?: boolean;
28
- };
29
- //#endregion
30
- export { AssetGlob, FilterPattern };
31
- //# sourceMappingURL=file.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.cts","names":[],"sources":["../../../../types/src/file.ts"],"mappings":";AA4DA;;;AAAA,KAdY,aAAA,GACR,aAAA,UAAuB,MAAA,aAEvB,MAAA;AAAA,UAGa,eAAA;EACf,KAAA;EACA,MAAA;AAAA;;;;KAMU,SAAA,GAAY,QAAA,CAAS,IAAA,CAAK,eAAA,cACpC,OAAA,CAAQ,IAAA,CAAK,eAAA;EADkB;;;EAK7B,IAAA;EAJW;;;EASX,MAAA;EAOG;;;;;EAAH,GAAA;AAAA"}
@@ -1,31 +0,0 @@
1
- //#region ../types/src/file.d.ts
2
- /**
3
- * A valid `picomatch` glob pattern, or array of patterns.
4
- */
5
- type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
6
- interface FileInputOutput {
7
- input: string;
8
- output: string;
9
- }
10
- /**
11
- * An interface got representing an asset files with glob patterns.
12
- */
13
- type AssetGlob = Required<Omit<FileInputOutput, "input">> & Partial<Pick<FileInputOutput, "input">> & {
14
- /**
15
- * A glob pattern to match files.
16
- */
17
- glob: string;
18
- /**
19
- * An array of glob patterns to ignore files.
20
- */
21
- ignore?: string[];
22
- /**
23
- * Include `.dot` files in normal matches and `globstar` matches. Note that an explicit dot in a portion of the pattern will always match dot files.
24
- *
25
- * @defaultValue true
26
- */
27
- dot?: boolean;
28
- };
29
- //#endregion
30
- export { AssetGlob, FilterPattern };
31
- //# sourceMappingURL=file.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.mts","names":[],"sources":["../../../../types/src/file.ts"],"mappings":";AA4DA;;;AAAA,KAdY,aAAA,GACR,aAAA,UAAuB,MAAA,aAEvB,MAAA;AAAA,UAGa,eAAA;EACf,KAAA;EACA,MAAA;AAAA;;;;KAMU,SAAA,GAAY,QAAA,CAAS,IAAA,CAAK,eAAA,cACpC,OAAA,CAAQ,IAAA,CAAK,eAAA;EADkB;;;EAK7B,IAAA;EAJW;;;EASX,MAAA;EAOG;;;;;EAAH,GAAA;AAAA"}