watermark-js-plus 1.6.0 → 1.6.2

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 (202) hide show
  1. package/dist/es/node_modules/tslib/tslib.es6.js +86 -0
  2. package/dist/es/src/core/blind.js +82 -0
  3. package/dist/es/src/core/canvas.js +292 -0
  4. package/dist/es/src/core/image.js +63 -0
  5. package/dist/es/src/core/layout/grid.js +36 -0
  6. package/dist/es/src/core/layout/index.js +25 -0
  7. package/dist/es/src/core/watermark.js +248 -0
  8. package/dist/es/src/index.js +3 -0
  9. package/dist/es/src/utils/index.js +199 -0
  10. package/dist/es/src/utils/initialization.js +284 -0
  11. package/dist/es/src/utils/protection.js +13 -0
  12. package/dist/es/style.css +1 -0
  13. package/dist/ie/es/_virtual/_commonjsHelpers.js +3 -0
  14. package/dist/ie/es/_virtual/es.array.fill.js +3 -0
  15. package/dist/ie/es/_virtual/es.array.fill2.js +3 -0
  16. package/dist/ie/es/_virtual/es.array.from.js +3 -0
  17. package/dist/ie/es/_virtual/es.array.from2.js +3 -0
  18. package/dist/ie/es/_virtual/es.array.includes.js +3 -0
  19. package/dist/ie/es/_virtual/es.array.includes2.js +3 -0
  20. package/dist/ie/es/_virtual/es.promise.all.js +3 -0
  21. package/dist/ie/es/_virtual/es.promise.catch.js +3 -0
  22. package/dist/ie/es/_virtual/es.promise.constructor.js +3 -0
  23. package/dist/ie/es/_virtual/es.promise.js +3 -0
  24. package/dist/ie/es/_virtual/es.promise.race.js +3 -0
  25. package/dist/ie/es/_virtual/es.promise.reject.js +3 -0
  26. package/dist/ie/es/_virtual/es.promise.resolve.js +3 -0
  27. package/dist/ie/es/_virtual/es.promise2.js +3 -0
  28. package/dist/ie/es/_virtual/make-built-in.js +3 -0
  29. package/dist/ie/es/_virtual/new-promise-capability.js +3 -0
  30. package/dist/ie/es/_virtual/object-define-properties.js +3 -0
  31. package/dist/ie/es/_virtual/object-define-property.js +3 -0
  32. package/dist/ie/es/_virtual/object-get-own-property-descriptor.js +3 -0
  33. package/dist/ie/es/_virtual/object-get-own-property-names.js +3 -0
  34. package/dist/ie/es/_virtual/object-get-own-property-symbols.js +3 -0
  35. package/dist/ie/es/_virtual/object-property-is-enumerable.js +3 -0
  36. package/dist/ie/es/_virtual/shared-store.js +3 -0
  37. package/dist/ie/es/node_modules/core-js/internals/a-callable.js +23 -0
  38. package/dist/ie/es/node_modules/core-js/internals/a-constructor.js +23 -0
  39. package/dist/ie/es/node_modules/core-js/internals/a-possible-prototype.js +21 -0
  40. package/dist/ie/es/node_modules/core-js/internals/add-to-unscopables.js +34 -0
  41. package/dist/ie/es/node_modules/core-js/internals/an-instance.js +20 -0
  42. package/dist/ie/es/node_modules/core-js/internals/an-object.js +22 -0
  43. package/dist/ie/es/node_modules/core-js/internals/array-fill.js +30 -0
  44. package/dist/ie/es/node_modules/core-js/internals/array-from.js +66 -0
  45. package/dist/ie/es/node_modules/core-js/internals/array-includes.js +47 -0
  46. package/dist/ie/es/node_modules/core-js/internals/array-slice.js +15 -0
  47. package/dist/ie/es/node_modules/core-js/internals/call-with-safe-iteration-closing.js +24 -0
  48. package/dist/ie/es/node_modules/core-js/internals/check-correctness-of-iteration.js +52 -0
  49. package/dist/ie/es/node_modules/core-js/internals/classof-raw.js +20 -0
  50. package/dist/ie/es/node_modules/core-js/internals/classof.js +44 -0
  51. package/dist/ie/es/node_modules/core-js/internals/copy-constructor-properties.js +31 -0
  52. package/dist/ie/es/node_modules/core-js/internals/create-non-enumerable-property.js +24 -0
  53. package/dist/ie/es/node_modules/core-js/internals/create-property-descriptor.js +18 -0
  54. package/dist/ie/es/node_modules/core-js/internals/create-property.js +22 -0
  55. package/dist/ie/es/node_modules/core-js/internals/define-built-in-accessor.js +21 -0
  56. package/dist/ie/es/node_modules/core-js/internals/define-built-in.js +42 -0
  57. package/dist/ie/es/node_modules/core-js/internals/define-global-property.js +24 -0
  58. package/dist/ie/es/node_modules/core-js/internals/descriptors.js +19 -0
  59. package/dist/ie/es/node_modules/core-js/internals/document-create-element.js +23 -0
  60. package/dist/ie/es/node_modules/core-js/internals/enum-bug-keys.js +20 -0
  61. package/dist/ie/es/node_modules/core-js/internals/environment-is-ios-pebble.js +15 -0
  62. package/dist/ie/es/node_modules/core-js/internals/environment-is-ios.js +16 -0
  63. package/dist/ie/es/node_modules/core-js/internals/environment-is-node.js +15 -0
  64. package/dist/ie/es/node_modules/core-js/internals/environment-is-webos-webkit.js +15 -0
  65. package/dist/ie/es/node_modules/core-js/internals/environment-user-agent.js +18 -0
  66. package/dist/ie/es/node_modules/core-js/internals/environment-v8-version.js +40 -0
  67. package/dist/ie/es/node_modules/core-js/internals/environment.js +34 -0
  68. package/dist/ie/es/node_modules/core-js/internals/export.js +72 -0
  69. package/dist/ie/es/node_modules/core-js/internals/fails.js +17 -0
  70. package/dist/ie/es/node_modules/core-js/internals/function-apply.js +22 -0
  71. package/dist/ie/es/node_modules/core-js/internals/function-bind-context.js +27 -0
  72. package/dist/ie/es/node_modules/core-js/internals/function-bind-native.js +20 -0
  73. package/dist/ie/es/node_modules/core-js/internals/function-call.js +19 -0
  74. package/dist/ie/es/node_modules/core-js/internals/function-name.js +30 -0
  75. package/dist/ie/es/node_modules/core-js/internals/function-uncurry-this-accessor.js +22 -0
  76. package/dist/ie/es/node_modules/core-js/internals/function-uncurry-this-clause.js +22 -0
  77. package/dist/ie/es/node_modules/core-js/internals/function-uncurry-this.js +24 -0
  78. package/dist/ie/es/node_modules/core-js/internals/get-built-in.js +23 -0
  79. package/dist/ie/es/node_modules/core-js/internals/get-iterator-method.js +29 -0
  80. package/dist/ie/es/node_modules/core-js/internals/get-iterator.js +29 -0
  81. package/dist/ie/es/node_modules/core-js/internals/get-method.js +22 -0
  82. package/dist/ie/es/node_modules/core-js/internals/global-this.js +27 -0
  83. package/dist/ie/es/node_modules/core-js/internals/has-own-property.js +24 -0
  84. package/dist/ie/es/node_modules/core-js/internals/hidden-keys.js +11 -0
  85. package/dist/ie/es/node_modules/core-js/internals/host-report-errors.js +16 -0
  86. package/dist/ie/es/node_modules/core-js/internals/html.js +15 -0
  87. package/dist/ie/es/node_modules/core-js/internals/ie8-dom-define.js +25 -0
  88. package/dist/ie/es/node_modules/core-js/internals/indexed-object.js +29 -0
  89. package/dist/ie/es/node_modules/core-js/internals/inspect-source.js +28 -0
  90. package/dist/ie/es/node_modules/core-js/internals/internal-state.js +89 -0
  91. package/dist/ie/es/node_modules/core-js/internals/is-array-iterator-method.js +23 -0
  92. package/dist/ie/es/node_modules/core-js/internals/is-callable.js +21 -0
  93. package/dist/ie/es/node_modules/core-js/internals/is-constructor.js +68 -0
  94. package/dist/ie/es/node_modules/core-js/internals/is-forced.js +35 -0
  95. package/dist/ie/es/node_modules/core-js/internals/is-null-or-undefined.js +15 -0
  96. package/dist/ie/es/node_modules/core-js/internals/is-object.js +17 -0
  97. package/dist/ie/es/node_modules/core-js/internals/is-possible-prototype.js +17 -0
  98. package/dist/ie/es/node_modules/core-js/internals/is-pure.js +11 -0
  99. package/dist/ie/es/node_modules/core-js/internals/is-symbol.js +28 -0
  100. package/dist/ie/es/node_modules/core-js/internals/iterate.js +89 -0
  101. package/dist/ie/es/node_modules/core-js/internals/iterator-close.js +37 -0
  102. package/dist/ie/es/node_modules/core-js/internals/iterators.js +11 -0
  103. package/dist/ie/es/node_modules/core-js/internals/length-of-array-like.js +19 -0
  104. package/dist/ie/es/node_modules/core-js/internals/make-built-in.js +73 -0
  105. package/dist/ie/es/node_modules/core-js/internals/math-trunc.js +20 -0
  106. package/dist/ie/es/node_modules/core-js/internals/microtask.js +98 -0
  107. package/dist/ie/es/node_modules/core-js/internals/new-promise-capability.js +32 -0
  108. package/dist/ie/es/node_modules/core-js/internals/object-create.js +102 -0
  109. package/dist/ie/es/node_modules/core-js/internals/object-define-properties.js +37 -0
  110. package/dist/ie/es/node_modules/core-js/internals/object-define-property.js +59 -0
  111. package/dist/ie/es/node_modules/core-js/internals/object-get-own-property-descriptor.js +41 -0
  112. package/dist/ie/es/node_modules/core-js/internals/object-get-own-property-names.js +24 -0
  113. package/dist/ie/es/node_modules/core-js/internals/object-get-own-property-symbols.js +13 -0
  114. package/dist/ie/es/node_modules/core-js/internals/object-is-prototype-of.js +15 -0
  115. package/dist/ie/es/node_modules/core-js/internals/object-keys-internal.js +36 -0
  116. package/dist/ie/es/node_modules/core-js/internals/object-keys.js +22 -0
  117. package/dist/ie/es/node_modules/core-js/internals/object-property-is-enumerable.js +24 -0
  118. package/dist/ie/es/node_modules/core-js/internals/object-set-prototype-of.js +43 -0
  119. package/dist/ie/es/node_modules/core-js/internals/ordinary-to-primitive.js +29 -0
  120. package/dist/ie/es/node_modules/core-js/internals/own-keys.js +30 -0
  121. package/dist/ie/es/node_modules/core-js/internals/perform.js +17 -0
  122. package/dist/ie/es/node_modules/core-js/internals/promise-constructor-detection.js +66 -0
  123. package/dist/ie/es/node_modules/core-js/internals/promise-native-constructor.js +15 -0
  124. package/dist/ie/es/node_modules/core-js/internals/promise-resolve.js +26 -0
  125. package/dist/ie/es/node_modules/core-js/internals/promise-statics-incorrect-iteration.js +21 -0
  126. package/dist/ie/es/node_modules/core-js/internals/queue.js +34 -0
  127. package/dist/ie/es/node_modules/core-js/internals/require-object-coercible.js +22 -0
  128. package/dist/ie/es/node_modules/core-js/internals/safe-get-built-in.js +25 -0
  129. package/dist/ie/es/node_modules/core-js/internals/set-species.js +32 -0
  130. package/dist/ie/es/node_modules/core-js/internals/set-to-string-tag.js +26 -0
  131. package/dist/ie/es/node_modules/core-js/internals/shared-key.js +21 -0
  132. package/dist/ie/es/node_modules/core-js/internals/shared-store.js +28 -0
  133. package/dist/ie/es/node_modules/core-js/internals/shared.js +17 -0
  134. package/dist/ie/es/node_modules/core-js/internals/species-constructor.js +29 -0
  135. package/dist/ie/es/node_modules/core-js/internals/symbol-constructor-detection.js +32 -0
  136. package/dist/ie/es/node_modules/core-js/internals/task.js +139 -0
  137. package/dist/ie/es/node_modules/core-js/internals/to-absolute-index.js +24 -0
  138. package/dist/ie/es/node_modules/core-js/internals/to-indexed-object.js +20 -0
  139. package/dist/ie/es/node_modules/core-js/internals/to-integer-or-infinity.js +21 -0
  140. package/dist/ie/es/node_modules/core-js/internals/to-length.js +22 -0
  141. package/dist/ie/es/node_modules/core-js/internals/to-object.js +21 -0
  142. package/dist/ie/es/node_modules/core-js/internals/to-primitive.js +42 -0
  143. package/dist/ie/es/node_modules/core-js/internals/to-property-key.js +22 -0
  144. package/dist/ie/es/node_modules/core-js/internals/to-string-tag-support.js +20 -0
  145. package/dist/ie/es/node_modules/core-js/internals/try-to-string.js +19 -0
  146. package/dist/ie/es/node_modules/core-js/internals/uid.js +21 -0
  147. package/dist/ie/es/node_modules/core-js/internals/use-symbol-as-uid.js +18 -0
  148. package/dist/ie/es/node_modules/core-js/internals/v8-prototype-define-bug.js +25 -0
  149. package/dist/ie/es/node_modules/core-js/internals/validate-arguments-length.js +16 -0
  150. package/dist/ie/es/node_modules/core-js/internals/weak-map-basic-detection.js +19 -0
  151. package/dist/ie/es/node_modules/core-js/internals/well-known-symbol.js +35 -0
  152. package/dist/ie/es/node_modules/core-js/modules/es.array.fill.js +26 -0
  153. package/dist/ie/es/node_modules/core-js/modules/es.array.from.js +28 -0
  154. package/dist/ie/es/node_modules/core-js/modules/es.array.includes.js +36 -0
  155. package/dist/ie/es/node_modules/core-js/modules/es.promise.all.js +56 -0
  156. package/dist/ie/es/node_modules/core-js/modules/es.promise.catch.js +43 -0
  157. package/dist/ie/es/node_modules/core-js/modules/es.promise.constructor.js +323 -0
  158. package/dist/ie/es/node_modules/core-js/modules/es.promise.js +24 -0
  159. package/dist/ie/es/node_modules/core-js/modules/es.promise.race.js +43 -0
  160. package/dist/ie/es/node_modules/core-js/modules/es.promise.reject.js +28 -0
  161. package/dist/ie/es/node_modules/core-js/modules/es.promise.resolve.js +34 -0
  162. package/dist/ie/es/node_modules/tslib/tslib.es6.js +86 -0
  163. package/dist/ie/es/node_modules/whatwg-fetch/fetch.js +643 -0
  164. package/dist/ie/es/src/core/blind.js +82 -0
  165. package/dist/ie/es/src/core/canvas.js +292 -0
  166. package/dist/ie/es/src/core/image.js +63 -0
  167. package/dist/ie/es/src/core/layout/grid.js +36 -0
  168. package/dist/ie/es/src/core/layout/index.js +25 -0
  169. package/dist/ie/es/src/core/watermark.js +248 -0
  170. package/dist/ie/es/src/index.ie.js +9 -0
  171. package/dist/ie/es/src/utils/index.js +199 -0
  172. package/dist/ie/es/src/utils/initialization.js +284 -0
  173. package/dist/ie/es/src/utils/polyfill.js +5 -0
  174. package/dist/ie/es/src/utils/protection.js +13 -0
  175. package/dist/ie/es/style.css +1 -0
  176. package/dist/ie/index.cjs.js +3 -37
  177. package/dist/ie/index.cjs.js.map +1 -1
  178. package/dist/ie/index.cjs.min.js +1 -1
  179. package/dist/ie/index.esm.js +3 -37
  180. package/dist/ie/index.esm.js.map +1 -1
  181. package/dist/ie/index.esm.min.js +1 -1
  182. package/dist/ie/index.iife.js +3 -37
  183. package/dist/ie/index.iife.js.map +1 -1
  184. package/dist/ie/index.iife.min.js +1 -1
  185. package/dist/ie/index.umd.js +3 -37
  186. package/dist/ie/index.umd.js.map +1 -1
  187. package/dist/ie/index.umd.min.js +1 -1
  188. package/dist/index.cjs.js +1 -35
  189. package/dist/index.cjs.js.map +1 -1
  190. package/dist/index.cjs.min.js +1 -1
  191. package/dist/index.esm.js +1 -35
  192. package/dist/index.esm.js.map +1 -1
  193. package/dist/index.esm.min.js +1 -1
  194. package/dist/index.iife.js +1 -35
  195. package/dist/index.iife.js.map +1 -1
  196. package/dist/index.iife.min.js +1 -1
  197. package/dist/index.umd.js +1 -35
  198. package/dist/index.umd.js.map +1 -1
  199. package/dist/index.umd.min.js +1 -1
  200. package/dist/types/core/watermark.d.ts +0 -4
  201. package/dist/types/style/index.d.ts +1 -1
  202. package/package.json +41 -22
@@ -0,0 +1,66 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+ import { __require as requirePromiseNativeConstructor } from './promise-native-constructor.js';
3
+ import { __require as requireIsCallable } from './is-callable.js';
4
+ import { __require as requireIsForced } from './is-forced.js';
5
+ import { __require as requireInspectSource } from './inspect-source.js';
6
+ import { __require as requireWellKnownSymbol } from './well-known-symbol.js';
7
+ import { __require as requireEnvironment } from './environment.js';
8
+ import { __require as requireIsPure } from './is-pure.js';
9
+ import { __require as requireEnvironmentV8Version } from './environment-v8-version.js';
10
+
11
+ var promiseConstructorDetection;
12
+ var hasRequiredPromiseConstructorDetection;
13
+
14
+ function requirePromiseConstructorDetection () {
15
+ if (hasRequiredPromiseConstructorDetection) return promiseConstructorDetection;
16
+ hasRequiredPromiseConstructorDetection = 1;
17
+ var globalThis = requireGlobalThis();
18
+ var NativePromiseConstructor = requirePromiseNativeConstructor();
19
+ var isCallable = requireIsCallable();
20
+ var isForced = requireIsForced();
21
+ var inspectSource = requireInspectSource();
22
+ var wellKnownSymbol = requireWellKnownSymbol();
23
+ var ENVIRONMENT = requireEnvironment();
24
+ var IS_PURE = requireIsPure();
25
+ var V8_VERSION = requireEnvironmentV8Version();
26
+
27
+ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
28
+ var SPECIES = wellKnownSymbol('species');
29
+ var SUBCLASSING = false;
30
+ var NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);
31
+
32
+ var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
33
+ var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
34
+ var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
35
+ // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
36
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
37
+ // We can't detect it synchronously, so just check versions
38
+ if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
39
+ // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
40
+ if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
41
+ // We can't use @@species feature detection in V8 since it causes
42
+ // deoptimization and performance degradation
43
+ // https://github.com/zloirock/core-js/issues/679
44
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
45
+ // Detect correctness of subclassing with @@species support
46
+ var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
47
+ var FakePromise = function (exec) {
48
+ exec(function () { /* empty */ }, function () { /* empty */ });
49
+ };
50
+ var constructor = promise.constructor = {};
51
+ constructor[SPECIES] = FakePromise;
52
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
53
+ if (!SUBCLASSING) return true;
54
+ // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
55
+ } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;
56
+ });
57
+
58
+ promiseConstructorDetection = {
59
+ CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
60
+ REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
61
+ SUBCLASSING: SUBCLASSING
62
+ };
63
+ return promiseConstructorDetection;
64
+ }
65
+
66
+ export { requirePromiseConstructorDetection as __require };
@@ -0,0 +1,15 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+
3
+ var promiseNativeConstructor;
4
+ var hasRequiredPromiseNativeConstructor;
5
+
6
+ function requirePromiseNativeConstructor () {
7
+ if (hasRequiredPromiseNativeConstructor) return promiseNativeConstructor;
8
+ hasRequiredPromiseNativeConstructor = 1;
9
+ var globalThis = requireGlobalThis();
10
+
11
+ promiseNativeConstructor = globalThis.Promise;
12
+ return promiseNativeConstructor;
13
+ }
14
+
15
+ export { requirePromiseNativeConstructor as __require };
@@ -0,0 +1,26 @@
1
+ import { __require as requireAnObject } from './an-object.js';
2
+ import { __require as requireIsObject } from './is-object.js';
3
+ import { __require as requireNewPromiseCapability } from './new-promise-capability.js';
4
+
5
+ var promiseResolve;
6
+ var hasRequiredPromiseResolve;
7
+
8
+ function requirePromiseResolve () {
9
+ if (hasRequiredPromiseResolve) return promiseResolve;
10
+ hasRequiredPromiseResolve = 1;
11
+ var anObject = requireAnObject();
12
+ var isObject = requireIsObject();
13
+ var newPromiseCapability = requireNewPromiseCapability();
14
+
15
+ promiseResolve = function (C, x) {
16
+ anObject(C);
17
+ if (isObject(x) && x.constructor === C) return x;
18
+ var promiseCapability = newPromiseCapability.f(C);
19
+ var resolve = promiseCapability.resolve;
20
+ resolve(x);
21
+ return promiseCapability.promise;
22
+ };
23
+ return promiseResolve;
24
+ }
25
+
26
+ export { requirePromiseResolve as __require };
@@ -0,0 +1,21 @@
1
+ import { __require as requirePromiseNativeConstructor } from './promise-native-constructor.js';
2
+ import { __require as requireCheckCorrectnessOfIteration } from './check-correctness-of-iteration.js';
3
+ import { __require as requirePromiseConstructorDetection } from './promise-constructor-detection.js';
4
+
5
+ var promiseStaticsIncorrectIteration;
6
+ var hasRequiredPromiseStaticsIncorrectIteration;
7
+
8
+ function requirePromiseStaticsIncorrectIteration () {
9
+ if (hasRequiredPromiseStaticsIncorrectIteration) return promiseStaticsIncorrectIteration;
10
+ hasRequiredPromiseStaticsIncorrectIteration = 1;
11
+ var NativePromiseConstructor = requirePromiseNativeConstructor();
12
+ var checkCorrectnessOfIteration = requireCheckCorrectnessOfIteration();
13
+ var FORCED_PROMISE_CONSTRUCTOR = requirePromiseConstructorDetection().CONSTRUCTOR;
14
+
15
+ promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
16
+ NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
17
+ });
18
+ return promiseStaticsIncorrectIteration;
19
+ }
20
+
21
+ export { requirePromiseStaticsIncorrectIteration as __require };
@@ -0,0 +1,34 @@
1
+ var queue;
2
+ var hasRequiredQueue;
3
+
4
+ function requireQueue () {
5
+ if (hasRequiredQueue) return queue;
6
+ hasRequiredQueue = 1;
7
+ var Queue = function () {
8
+ this.head = null;
9
+ this.tail = null;
10
+ };
11
+
12
+ Queue.prototype = {
13
+ add: function (item) {
14
+ var entry = { item: item, next: null };
15
+ var tail = this.tail;
16
+ if (tail) tail.next = entry;
17
+ else this.head = entry;
18
+ this.tail = entry;
19
+ },
20
+ get: function () {
21
+ var entry = this.head;
22
+ if (entry) {
23
+ var next = this.head = entry.next;
24
+ if (next === null) this.tail = null;
25
+ return entry.item;
26
+ }
27
+ }
28
+ };
29
+
30
+ queue = Queue;
31
+ return queue;
32
+ }
33
+
34
+ export { requireQueue as __require };
@@ -0,0 +1,22 @@
1
+ import { __require as requireIsNullOrUndefined } from './is-null-or-undefined.js';
2
+
3
+ var requireObjectCoercible;
4
+ var hasRequiredRequireObjectCoercible;
5
+
6
+ function requireRequireObjectCoercible () {
7
+ if (hasRequiredRequireObjectCoercible) return requireObjectCoercible;
8
+ hasRequiredRequireObjectCoercible = 1;
9
+ var isNullOrUndefined = requireIsNullOrUndefined();
10
+
11
+ var $TypeError = TypeError;
12
+
13
+ // `RequireObjectCoercible` abstract operation
14
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
15
+ requireObjectCoercible = function (it) {
16
+ if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
17
+ return it;
18
+ };
19
+ return requireObjectCoercible;
20
+ }
21
+
22
+ export { requireRequireObjectCoercible as __require };
@@ -0,0 +1,25 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+ import { __require as requireDescriptors } from './descriptors.js';
3
+
4
+ var safeGetBuiltIn;
5
+ var hasRequiredSafeGetBuiltIn;
6
+
7
+ function requireSafeGetBuiltIn () {
8
+ if (hasRequiredSafeGetBuiltIn) return safeGetBuiltIn;
9
+ hasRequiredSafeGetBuiltIn = 1;
10
+ var globalThis = requireGlobalThis();
11
+ var DESCRIPTORS = requireDescriptors();
12
+
13
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
14
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
15
+
16
+ // Avoid NodeJS experimental warning
17
+ safeGetBuiltIn = function (name) {
18
+ if (!DESCRIPTORS) return globalThis[name];
19
+ var descriptor = getOwnPropertyDescriptor(globalThis, name);
20
+ return descriptor && descriptor.value;
21
+ };
22
+ return safeGetBuiltIn;
23
+ }
24
+
25
+ export { requireSafeGetBuiltIn as __require };
@@ -0,0 +1,32 @@
1
+ import { __require as requireGetBuiltIn } from './get-built-in.js';
2
+ import { __require as requireDefineBuiltInAccessor } from './define-built-in-accessor.js';
3
+ import { __require as requireWellKnownSymbol } from './well-known-symbol.js';
4
+ import { __require as requireDescriptors } from './descriptors.js';
5
+
6
+ var setSpecies;
7
+ var hasRequiredSetSpecies;
8
+
9
+ function requireSetSpecies () {
10
+ if (hasRequiredSetSpecies) return setSpecies;
11
+ hasRequiredSetSpecies = 1;
12
+ var getBuiltIn = requireGetBuiltIn();
13
+ var defineBuiltInAccessor = requireDefineBuiltInAccessor();
14
+ var wellKnownSymbol = requireWellKnownSymbol();
15
+ var DESCRIPTORS = requireDescriptors();
16
+
17
+ var SPECIES = wellKnownSymbol('species');
18
+
19
+ setSpecies = function (CONSTRUCTOR_NAME) {
20
+ var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
21
+
22
+ if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
23
+ defineBuiltInAccessor(Constructor, SPECIES, {
24
+ configurable: true,
25
+ get: function () { return this; }
26
+ });
27
+ }
28
+ };
29
+ return setSpecies;
30
+ }
31
+
32
+ export { requireSetSpecies as __require };
@@ -0,0 +1,26 @@
1
+ import { __require as requireObjectDefineProperty } from './object-define-property.js';
2
+ import { __require as requireHasOwnProperty } from './has-own-property.js';
3
+ import { __require as requireWellKnownSymbol } from './well-known-symbol.js';
4
+
5
+ var setToStringTag;
6
+ var hasRequiredSetToStringTag;
7
+
8
+ function requireSetToStringTag () {
9
+ if (hasRequiredSetToStringTag) return setToStringTag;
10
+ hasRequiredSetToStringTag = 1;
11
+ var defineProperty = requireObjectDefineProperty().f;
12
+ var hasOwn = requireHasOwnProperty();
13
+ var wellKnownSymbol = requireWellKnownSymbol();
14
+
15
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
16
+
17
+ setToStringTag = function (target, TAG, STATIC) {
18
+ if (target && !STATIC) target = target.prototype;
19
+ if (target && !hasOwn(target, TO_STRING_TAG)) {
20
+ defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
21
+ }
22
+ };
23
+ return setToStringTag;
24
+ }
25
+
26
+ export { requireSetToStringTag as __require };
@@ -0,0 +1,21 @@
1
+ import { __require as requireShared } from './shared.js';
2
+ import { __require as requireUid } from './uid.js';
3
+
4
+ var sharedKey;
5
+ var hasRequiredSharedKey;
6
+
7
+ function requireSharedKey () {
8
+ if (hasRequiredSharedKey) return sharedKey;
9
+ hasRequiredSharedKey = 1;
10
+ var shared = requireShared();
11
+ var uid = requireUid();
12
+
13
+ var keys = shared('keys');
14
+
15
+ sharedKey = function (key) {
16
+ return keys[key] || (keys[key] = uid(key));
17
+ };
18
+ return sharedKey;
19
+ }
20
+
21
+ export { requireSharedKey as __require };
@@ -0,0 +1,28 @@
1
+ import { __module as sharedStore } from '../../../_virtual/shared-store.js';
2
+ import { __require as requireIsPure } from './is-pure.js';
3
+ import { __require as requireGlobalThis } from './global-this.js';
4
+ import { __require as requireDefineGlobalProperty } from './define-global-property.js';
5
+
6
+ var hasRequiredSharedStore;
7
+
8
+ function requireSharedStore () {
9
+ if (hasRequiredSharedStore) return sharedStore.exports;
10
+ hasRequiredSharedStore = 1;
11
+ var IS_PURE = requireIsPure();
12
+ var globalThis = requireGlobalThis();
13
+ var defineGlobalProperty = requireDefineGlobalProperty();
14
+
15
+ var SHARED = '__core-js_shared__';
16
+ var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
17
+
18
+ (store.versions || (store.versions = [])).push({
19
+ version: '3.42.0',
20
+ mode: IS_PURE ? 'pure' : 'global',
21
+ copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
22
+ license: 'https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE',
23
+ source: 'https://github.com/zloirock/core-js'
24
+ });
25
+ return sharedStore.exports;
26
+ }
27
+
28
+ export { requireSharedStore as __require };
@@ -0,0 +1,17 @@
1
+ import { __require as requireSharedStore } from './shared-store.js';
2
+
3
+ var shared;
4
+ var hasRequiredShared;
5
+
6
+ function requireShared () {
7
+ if (hasRequiredShared) return shared;
8
+ hasRequiredShared = 1;
9
+ var store = requireSharedStore();
10
+
11
+ shared = function (key, value) {
12
+ return store[key] || (store[key] = value || {});
13
+ };
14
+ return shared;
15
+ }
16
+
17
+ export { requireShared as __require };
@@ -0,0 +1,29 @@
1
+ import { __require as requireAnObject } from './an-object.js';
2
+ import { __require as requireAConstructor } from './a-constructor.js';
3
+ import { __require as requireIsNullOrUndefined } from './is-null-or-undefined.js';
4
+ import { __require as requireWellKnownSymbol } from './well-known-symbol.js';
5
+
6
+ var speciesConstructor;
7
+ var hasRequiredSpeciesConstructor;
8
+
9
+ function requireSpeciesConstructor () {
10
+ if (hasRequiredSpeciesConstructor) return speciesConstructor;
11
+ hasRequiredSpeciesConstructor = 1;
12
+ var anObject = requireAnObject();
13
+ var aConstructor = requireAConstructor();
14
+ var isNullOrUndefined = requireIsNullOrUndefined();
15
+ var wellKnownSymbol = requireWellKnownSymbol();
16
+
17
+ var SPECIES = wellKnownSymbol('species');
18
+
19
+ // `SpeciesConstructor` abstract operation
20
+ // https://tc39.es/ecma262/#sec-speciesconstructor
21
+ speciesConstructor = function (O, defaultConstructor) {
22
+ var C = anObject(O).constructor;
23
+ var S;
24
+ return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);
25
+ };
26
+ return speciesConstructor;
27
+ }
28
+
29
+ export { requireSpeciesConstructor as __require };
@@ -0,0 +1,32 @@
1
+ import { __require as requireEnvironmentV8Version } from './environment-v8-version.js';
2
+ import { __require as requireFails } from './fails.js';
3
+ import { __require as requireGlobalThis } from './global-this.js';
4
+
5
+ var symbolConstructorDetection;
6
+ var hasRequiredSymbolConstructorDetection;
7
+
8
+ function requireSymbolConstructorDetection () {
9
+ if (hasRequiredSymbolConstructorDetection) return symbolConstructorDetection;
10
+ hasRequiredSymbolConstructorDetection = 1;
11
+ /* eslint-disable es/no-symbol -- required for testing */
12
+ var V8_VERSION = requireEnvironmentV8Version();
13
+ var fails = requireFails();
14
+ var globalThis = requireGlobalThis();
15
+
16
+ var $String = globalThis.String;
17
+
18
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
19
+ symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
20
+ var symbol = Symbol('symbol detection');
21
+ // Chrome 38 Symbol has incorrect toString conversion
22
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
23
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
24
+ // of course, fail.
25
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
26
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
27
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
28
+ });
29
+ return symbolConstructorDetection;
30
+ }
31
+
32
+ export { requireSymbolConstructorDetection as __require };
@@ -0,0 +1,139 @@
1
+ import { __require as requireGlobalThis } from './global-this.js';
2
+ import { __require as requireFunctionApply } from './function-apply.js';
3
+ import { __require as requireFunctionBindContext } from './function-bind-context.js';
4
+ import { __require as requireIsCallable } from './is-callable.js';
5
+ import { __require as requireHasOwnProperty } from './has-own-property.js';
6
+ import { __require as requireFails } from './fails.js';
7
+ import { __require as requireHtml } from './html.js';
8
+ import { __require as requireArraySlice } from './array-slice.js';
9
+ import { __require as requireDocumentCreateElement } from './document-create-element.js';
10
+ import { __require as requireValidateArgumentsLength } from './validate-arguments-length.js';
11
+ import { __require as requireEnvironmentIsIos } from './environment-is-ios.js';
12
+ import { __require as requireEnvironmentIsNode } from './environment-is-node.js';
13
+
14
+ var task;
15
+ var hasRequiredTask;
16
+
17
+ function requireTask () {
18
+ if (hasRequiredTask) return task;
19
+ hasRequiredTask = 1;
20
+ var globalThis = requireGlobalThis();
21
+ var apply = requireFunctionApply();
22
+ var bind = requireFunctionBindContext();
23
+ var isCallable = requireIsCallable();
24
+ var hasOwn = requireHasOwnProperty();
25
+ var fails = requireFails();
26
+ var html = requireHtml();
27
+ var arraySlice = requireArraySlice();
28
+ var createElement = requireDocumentCreateElement();
29
+ var validateArgumentsLength = requireValidateArgumentsLength();
30
+ var IS_IOS = requireEnvironmentIsIos();
31
+ var IS_NODE = requireEnvironmentIsNode();
32
+
33
+ var set = globalThis.setImmediate;
34
+ var clear = globalThis.clearImmediate;
35
+ var process = globalThis.process;
36
+ var Dispatch = globalThis.Dispatch;
37
+ var Function = globalThis.Function;
38
+ var MessageChannel = globalThis.MessageChannel;
39
+ var String = globalThis.String;
40
+ var counter = 0;
41
+ var queue = {};
42
+ var ONREADYSTATECHANGE = 'onreadystatechange';
43
+ var $location, defer, channel, port;
44
+
45
+ fails(function () {
46
+ // Deno throws a ReferenceError on `location` access without `--location` flag
47
+ $location = globalThis.location;
48
+ });
49
+
50
+ var run = function (id) {
51
+ if (hasOwn(queue, id)) {
52
+ var fn = queue[id];
53
+ delete queue[id];
54
+ fn();
55
+ }
56
+ };
57
+
58
+ var runner = function (id) {
59
+ return function () {
60
+ run(id);
61
+ };
62
+ };
63
+
64
+ var eventListener = function (event) {
65
+ run(event.data);
66
+ };
67
+
68
+ var globalPostMessageDefer = function (id) {
69
+ // old engines have not location.origin
70
+ globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);
71
+ };
72
+
73
+ // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
74
+ if (!set || !clear) {
75
+ set = function setImmediate(handler) {
76
+ validateArgumentsLength(arguments.length, 1);
77
+ var fn = isCallable(handler) ? handler : Function(handler);
78
+ var args = arraySlice(arguments, 1);
79
+ queue[++counter] = function () {
80
+ apply(fn, undefined, args);
81
+ };
82
+ defer(counter);
83
+ return counter;
84
+ };
85
+ clear = function clearImmediate(id) {
86
+ delete queue[id];
87
+ };
88
+ // Node.js 0.8-
89
+ if (IS_NODE) {
90
+ defer = function (id) {
91
+ process.nextTick(runner(id));
92
+ };
93
+ // Sphere (JS game engine) Dispatch API
94
+ } else if (Dispatch && Dispatch.now) {
95
+ defer = function (id) {
96
+ Dispatch.now(runner(id));
97
+ };
98
+ // Browsers with MessageChannel, includes WebWorkers
99
+ // except iOS - https://github.com/zloirock/core-js/issues/624
100
+ } else if (MessageChannel && !IS_IOS) {
101
+ channel = new MessageChannel();
102
+ port = channel.port2;
103
+ channel.port1.onmessage = eventListener;
104
+ defer = bind(port.postMessage, port);
105
+ // Browsers with postMessage, skip WebWorkers
106
+ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
107
+ } else if (
108
+ globalThis.addEventListener &&
109
+ isCallable(globalThis.postMessage) &&
110
+ !globalThis.importScripts &&
111
+ $location && $location.protocol !== 'file:' &&
112
+ !fails(globalPostMessageDefer)
113
+ ) {
114
+ defer = globalPostMessageDefer;
115
+ globalThis.addEventListener('message', eventListener, false);
116
+ // IE8-
117
+ } else if (ONREADYSTATECHANGE in createElement('script')) {
118
+ defer = function (id) {
119
+ html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
120
+ html.removeChild(this);
121
+ run(id);
122
+ };
123
+ };
124
+ // Rest old browsers
125
+ } else {
126
+ defer = function (id) {
127
+ setTimeout(runner(id), 0);
128
+ };
129
+ }
130
+ }
131
+
132
+ task = {
133
+ set: set,
134
+ clear: clear
135
+ };
136
+ return task;
137
+ }
138
+
139
+ export { requireTask as __require };
@@ -0,0 +1,24 @@
1
+ import { __require as requireToIntegerOrInfinity } from './to-integer-or-infinity.js';
2
+
3
+ var toAbsoluteIndex;
4
+ var hasRequiredToAbsoluteIndex;
5
+
6
+ function requireToAbsoluteIndex () {
7
+ if (hasRequiredToAbsoluteIndex) return toAbsoluteIndex;
8
+ hasRequiredToAbsoluteIndex = 1;
9
+ var toIntegerOrInfinity = requireToIntegerOrInfinity();
10
+
11
+ var max = Math.max;
12
+ var min = Math.min;
13
+
14
+ // Helper for a popular repeating case of the spec:
15
+ // Let integer be ? ToInteger(index).
16
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
17
+ toAbsoluteIndex = function (index, length) {
18
+ var integer = toIntegerOrInfinity(index);
19
+ return integer < 0 ? max(integer + length, 0) : min(integer, length);
20
+ };
21
+ return toAbsoluteIndex;
22
+ }
23
+
24
+ export { requireToAbsoluteIndex as __require };
@@ -0,0 +1,20 @@
1
+ import { __require as requireIndexedObject } from './indexed-object.js';
2
+ import { __require as requireRequireObjectCoercible } from './require-object-coercible.js';
3
+
4
+ var toIndexedObject;
5
+ var hasRequiredToIndexedObject;
6
+
7
+ function requireToIndexedObject () {
8
+ if (hasRequiredToIndexedObject) return toIndexedObject;
9
+ hasRequiredToIndexedObject = 1;
10
+ // toObject with fallback for non-array-like ES3 strings
11
+ var IndexedObject = requireIndexedObject();
12
+ var requireObjectCoercible = requireRequireObjectCoercible();
13
+
14
+ toIndexedObject = function (it) {
15
+ return IndexedObject(requireObjectCoercible(it));
16
+ };
17
+ return toIndexedObject;
18
+ }
19
+
20
+ export { requireToIndexedObject as __require };
@@ -0,0 +1,21 @@
1
+ import { __require as requireMathTrunc } from './math-trunc.js';
2
+
3
+ var toIntegerOrInfinity;
4
+ var hasRequiredToIntegerOrInfinity;
5
+
6
+ function requireToIntegerOrInfinity () {
7
+ if (hasRequiredToIntegerOrInfinity) return toIntegerOrInfinity;
8
+ hasRequiredToIntegerOrInfinity = 1;
9
+ var trunc = requireMathTrunc();
10
+
11
+ // `ToIntegerOrInfinity` abstract operation
12
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
13
+ toIntegerOrInfinity = function (argument) {
14
+ var number = +argument;
15
+ // eslint-disable-next-line no-self-compare -- NaN check
16
+ return number !== number || number === 0 ? 0 : trunc(number);
17
+ };
18
+ return toIntegerOrInfinity;
19
+ }
20
+
21
+ export { requireToIntegerOrInfinity as __require };
@@ -0,0 +1,22 @@
1
+ import { __require as requireToIntegerOrInfinity } from './to-integer-or-infinity.js';
2
+
3
+ var toLength;
4
+ var hasRequiredToLength;
5
+
6
+ function requireToLength () {
7
+ if (hasRequiredToLength) return toLength;
8
+ hasRequiredToLength = 1;
9
+ var toIntegerOrInfinity = requireToIntegerOrInfinity();
10
+
11
+ var min = Math.min;
12
+
13
+ // `ToLength` abstract operation
14
+ // https://tc39.es/ecma262/#sec-tolength
15
+ toLength = function (argument) {
16
+ var len = toIntegerOrInfinity(argument);
17
+ return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
18
+ };
19
+ return toLength;
20
+ }
21
+
22
+ export { requireToLength as __require };
@@ -0,0 +1,21 @@
1
+ import { __require as requireRequireObjectCoercible } from './require-object-coercible.js';
2
+
3
+ var toObject;
4
+ var hasRequiredToObject;
5
+
6
+ function requireToObject () {
7
+ if (hasRequiredToObject) return toObject;
8
+ hasRequiredToObject = 1;
9
+ var requireObjectCoercible = requireRequireObjectCoercible();
10
+
11
+ var $Object = Object;
12
+
13
+ // `ToObject` abstract operation
14
+ // https://tc39.es/ecma262/#sec-toobject
15
+ toObject = function (argument) {
16
+ return $Object(requireObjectCoercible(argument));
17
+ };
18
+ return toObject;
19
+ }
20
+
21
+ export { requireToObject as __require };