@paulirish/trace_engine 0.0.49 → 0.0.51
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.
- package/.tmp/tsbuildinfo/tsconfig.tsbuildinfo +1 -1
- package/core/platform/Constructor.d.ts +2 -2
- package/core/platform/Constructor.js.map +1 -1
- package/core/platform/StringUtilities.d.ts +2 -5
- package/core/platform/StringUtilities.js +0 -3
- package/core/platform/StringUtilities.js.map +1 -1
- package/core/platform/TypescriptUtilities.d.ts +1 -1
- package/core/platform/TypescriptUtilities.js +1 -1
- package/core/platform/TypescriptUtilities.js.map +1 -1
- package/core/platform/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/core/platform/platform-tsconfig.json +2 -3
- package/core/platform/platform.d.ts +1 -2
- package/core/platform/platform.js +1 -2
- package/core/platform/platform.js.map +1 -1
- package/generated/protocol.d.ts +156 -31
- package/locales/af.json +63 -3
- package/locales/am.json +63 -3
- package/locales/ar.json +63 -3
- package/locales/as.json +63 -3
- package/locales/az.json +63 -3
- package/locales/be.json +64 -4
- package/locales/bg.json +62 -2
- package/locales/bn.json +63 -3
- package/locales/bs.json +63 -3
- package/locales/ca.json +62 -2
- package/locales/cs.json +62 -2
- package/locales/cy.json +63 -3
- package/locales/da.json +63 -3
- package/locales/de.json +63 -3
- package/locales/el.json +62 -2
- package/locales/en-GB.json +63 -3
- package/locales/en-US.json +55 -22
- package/locales/en-XL.json +55 -22
- package/locales/es-419.json +63 -3
- package/locales/es.json +64 -4
- package/locales/et.json +64 -4
- package/locales/eu.json +79 -19
- package/locales/fa.json +62 -2
- package/locales/fi.json +63 -3
- package/locales/fil.json +63 -3
- package/locales/fr-CA.json +63 -3
- package/locales/fr.json +63 -3
- package/locales/gl.json +62 -2
- package/locales/gu.json +63 -3
- package/locales/he.json +63 -3
- package/locales/hi.json +62 -2
- package/locales/hr.json +63 -3
- package/locales/hu.json +62 -2
- package/locales/hy.json +63 -3
- package/locales/id.json +62 -2
- package/locales/is.json +64 -4
- package/locales/it.json +64 -4
- package/locales/ja.json +63 -3
- package/locales/ka.json +63 -3
- package/locales/kk.json +62 -2
- package/locales/km.json +62 -2
- package/locales/kn.json +63 -3
- package/locales/ko.json +63 -3
- package/locales/ky.json +63 -3
- package/locales/lo.json +63 -3
- package/locales/lt.json +62 -2
- package/locales/lv.json +62 -2
- package/locales/mk.json +62 -2
- package/locales/ml.json +63 -3
- package/locales/mn.json +63 -3
- package/locales/mr.json +64 -4
- package/locales/ms.json +63 -3
- package/locales/my.json +63 -3
- package/locales/ne.json +64 -4
- package/locales/nl.json +63 -3
- package/locales/no.json +62 -2
- package/locales/or.json +63 -3
- package/locales/pa.json +62 -2
- package/locales/pl.json +62 -2
- package/locales/pt-PT.json +62 -2
- package/locales/pt.json +63 -3
- package/locales/ro.json +63 -3
- package/locales/ru.json +63 -3
- package/locales/si.json +63 -3
- package/locales/sk.json +63 -3
- package/locales/sl.json +62 -2
- package/locales/sq.json +63 -3
- package/locales/sr-Latn.json +62 -2
- package/locales/sr.json +62 -2
- package/locales/sv.json +62 -2
- package/locales/sw.json +63 -3
- package/locales/ta.json +66 -6
- package/locales/te.json +63 -3
- package/locales/th.json +63 -3
- package/locales/tr.json +63 -3
- package/locales/uk.json +63 -3
- package/locales/ur.json +64 -4
- package/locales/uz.json +62 -2
- package/locales/vi.json +62 -2
- package/locales/zh-HK.json +63 -3
- package/locales/zh-TW.json +63 -3
- package/locales/zh.json +62 -2
- package/locales/zu.json +63 -3
- package/models/cpu_profile/CPUProfileDataModel.d.ts +8 -0
- package/models/cpu_profile/CPUProfileDataModel.js.map +1 -1
- package/models/cpu_profile/cpu_profile-tsconfig.json +2 -2
- package/models/cpu_profile/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/Processor.d.ts +1 -1
- package/models/trace/Processor.js +94 -74
- package/models/trace/Processor.js.map +1 -1
- package/models/trace/TracingManager.js.map +1 -1
- package/models/trace/bundle-tsconfig.json +1 -1
- package/models/trace/devtools_entrypoint-bundle-typescript-tsconfig.json +20 -2
- package/models/trace/extras/ScriptDuplication.d.ts +11 -15
- package/models/trace/extras/ScriptDuplication.js +59 -77
- package/models/trace/extras/ScriptDuplication.js.map +1 -1
- package/models/trace/extras/ThirdParties.d.ts +6 -13
- package/models/trace/extras/ThirdParties.js +69 -133
- package/models/trace/extras/ThirdParties.js.map +1 -1
- package/models/trace/extras/TraceTree.d.ts +15 -3
- package/models/trace/extras/TraceTree.js +36 -8
- package/models/trace/extras/TraceTree.js.map +1 -1
- package/models/trace/extras/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/extras/extras-tsconfig.json +2 -2
- package/models/trace/extras/extras.d.ts +881 -787
- package/models/trace/extras/extras.js +881 -787
- package/models/trace/handlers/AsyncJSCallsHandler.js +36 -4
- package/models/trace/handlers/AsyncJSCallsHandler.js.map +1 -1
- package/models/trace/handlers/InvalidationsHandler.js +1 -0
- package/models/trace/handlers/InvalidationsHandler.js.map +1 -1
- package/models/trace/handlers/ModelHandlers.d.ts +0 -1
- package/models/trace/handlers/ModelHandlers.js +0 -1
- package/models/trace/handlers/ModelHandlers.js.map +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.js +1 -1
- package/models/trace/handlers/NetworkRequestsHandler.js.map +1 -1
- package/models/trace/handlers/RendererHandler.d.ts +1 -1
- package/models/trace/handlers/RendererHandler.js +2 -2
- package/models/trace/handlers/RendererHandler.js.map +1 -1
- package/models/trace/handlers/ScreenshotsHandler.js +3 -1
- package/models/trace/handlers/ScreenshotsHandler.js.map +1 -1
- package/models/trace/handlers/ScriptsHandler.d.ts +12 -0
- package/models/trace/handlers/ScriptsHandler.js +93 -1
- package/models/trace/handlers/ScriptsHandler.js.map +1 -1
- package/models/trace/handlers/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/handlers/handlers-tsconfig.json +2 -3
- package/models/trace/helpers/Network.d.ts +5 -0
- package/models/trace/helpers/Network.js +17 -0
- package/models/trace/helpers/Network.js.map +1 -1
- package/models/trace/helpers/SamplesIntegrator.js +19 -23
- package/models/trace/helpers/SamplesIntegrator.js.map +1 -1
- package/models/trace/helpers/SyntheticEvents.d.ts +0 -1
- package/models/trace/helpers/SyntheticEvents.js +0 -4
- package/models/trace/helpers/SyntheticEvents.js.map +1 -1
- package/models/trace/helpers/Trace.d.ts +2 -1
- package/models/trace/helpers/Trace.js +101 -1
- package/models/trace/helpers/Trace.js.map +1 -1
- package/models/trace/helpers/TreeHelpers.d.ts +2 -5
- package/models/trace/helpers/TreeHelpers.js +0 -4
- package/models/trace/helpers/TreeHelpers.js.map +1 -1
- package/models/trace/helpers/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/helpers/helpers-tsconfig.json +2 -2
- package/models/trace/insights/{UseCache.d.ts → Cache.d.ts} +2 -2
- package/models/trace/insights/{UseCache.js → Cache.js} +11 -5
- package/models/trace/insights/Cache.js.map +1 -0
- package/models/trace/insights/Common.d.ts +21 -2
- package/models/trace/insights/Common.js +86 -2
- package/models/trace/insights/Common.js.map +1 -1
- package/models/trace/insights/DocumentLatency.js +2 -8
- package/models/trace/insights/DocumentLatency.js.map +1 -1
- package/models/trace/insights/DuplicatedJavaScript.d.ts +7 -4
- package/models/trace/insights/DuplicatedJavaScript.js +25 -5
- package/models/trace/insights/DuplicatedJavaScript.js.map +1 -1
- package/models/trace/insights/ForcedReflow.d.ts +5 -1
- package/models/trace/insights/ForcedReflow.js +6 -2
- package/models/trace/insights/ForcedReflow.js.map +1 -1
- package/models/trace/insights/InteractionToNextPaint.d.ts +1 -0
- package/models/trace/insights/InteractionToNextPaint.js +3 -0
- package/models/trace/insights/InteractionToNextPaint.js.map +1 -1
- package/models/trace/insights/LegacyJavaScript.d.ts +32 -0
- package/models/trace/insights/LegacyJavaScript.js +77 -0
- package/models/trace/insights/LegacyJavaScript.js.map +1 -0
- package/models/trace/insights/Models.d.ts +3 -1
- package/models/trace/insights/Models.js +3 -1
- package/models/trace/insights/Models.js.map +1 -1
- package/models/trace/insights/ModernHTTP.d.ts +51 -0
- package/models/trace/insights/ModernHTTP.js +187 -0
- package/models/trace/insights/ModernHTTP.js.map +1 -0
- package/models/trace/insights/NetworkDependencyTree.js +1 -1
- package/models/trace/insights/NetworkDependencyTree.js.map +1 -1
- package/models/trace/insights/ThirdParties.d.ts +1 -5
- package/models/trace/insights/ThirdParties.js +8 -21
- package/models/trace/insights/ThirdParties.js.map +1 -1
- package/models/trace/insights/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/insights/insights-tsconfig.json +8 -3
- package/models/trace/insights/types.d.ts +1 -0
- package/models/trace/insights/types.js.map +1 -1
- package/models/trace/lantern/core/core-tsconfig.json +2 -2
- package/models/trace/lantern/core/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/lantern/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/lantern/graph/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/lantern/graph/graph-tsconfig.json +2 -2
- package/models/trace/lantern/lantern-tsconfig.json +2 -2
- package/models/trace/lantern/metrics/Metric.d.ts +4 -4
- package/models/trace/lantern/metrics/Metric.js +4 -6
- package/models/trace/lantern/metrics/Metric.js.map +1 -1
- package/models/trace/lantern/metrics/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/lantern/metrics/metrics-tsconfig.json +2 -2
- package/models/trace/lantern/simulation/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/lantern/simulation/simulation-tsconfig.json +2 -2
- package/models/trace/lantern/types/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/lantern/types/types-tsconfig.json +2 -2
- package/models/trace/trace-tsconfig.json +2 -2
- package/models/trace/types/Configuration.d.ts +2 -0
- package/models/trace/types/Configuration.js.map +1 -1
- package/models/trace/types/TraceEvents.d.ts +28 -50
- package/models/trace/types/TraceEvents.js +8 -23
- package/models/trace/types/TraceEvents.js.map +1 -1
- package/models/trace/types/devtools_entrypoint-bundle-typescript-tsconfig.json +2 -2
- package/models/trace/types/types-tsconfig.json +2 -2
- package/package.json +3 -2
- package/test/test-trace-engine.mjs +19 -17
- package/third_party/legacy-javascript/legacy-javascript.d.ts +1 -0
- package/third_party/legacy-javascript/legacy-javascript.js +1 -0
- package/core/platform/ServerTiming.d.ts +0 -31
- package/core/platform/ServerTiming.js +0 -212
- package/core/platform/ServerTiming.js.map +0 -1
- package/models/trace/handlers/ServerTimingsHandler.d.ts +0 -9
- package/models/trace/handlers/ServerTimingsHandler.js +0 -106
- package/models/trace/handlers/ServerTimingsHandler.js.map +0 -1
- package/models/trace/insights/UseCache.js.map +0 -1
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// Exclude the parts of extras.ts that have painful dependencies. Include these cuz they don't and are needed.
|
|
9
9
|
export * as ThirdParties from './ThirdParties.js';
|
|
10
10
|
export * as ScriptDuplication from './ScriptDuplication.js';
|
|
11
|
+
export * as StackTraceForEvent from './StackTraceForEvent.js';
|
|
11
12
|
|
|
12
13
|
// The rest of this file is a polyfill :)
|
|
13
14
|
// Remove once Lighthouse drops Node 18 support.
|
|
@@ -16,7 +17,10 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
16
17
|
//
|
|
17
18
|
// where tmp.js is:
|
|
18
19
|
//
|
|
20
|
+
// import 'es-iterator-helpers/Iterator.prototype.find/auto';
|
|
19
21
|
// import 'es-iterator-helpers/Iterator.prototype.flatMap/auto';
|
|
22
|
+
// import 'es-iterator-helpers/Iterator.prototype.map/auto';
|
|
23
|
+
// import 'es-iterator-helpers/Iterator.prototype.toArray/auto';
|
|
20
24
|
|
|
21
25
|
"use strict";
|
|
22
26
|
(() => {
|
|
@@ -593,9 +597,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
593
597
|
}
|
|
594
598
|
});
|
|
595
599
|
|
|
596
|
-
// node_modules/
|
|
600
|
+
// node_modules/function-bind/implementation.js
|
|
597
601
|
var require_implementation2 = __commonJS({
|
|
598
|
-
"node_modules/
|
|
602
|
+
"node_modules/function-bind/implementation.js"(exports, module) {
|
|
599
603
|
"use strict";
|
|
600
604
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
601
605
|
var toStr = Object.prototype.toString;
|
|
@@ -669,9 +673,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
669
673
|
}
|
|
670
674
|
});
|
|
671
675
|
|
|
672
|
-
// node_modules/
|
|
676
|
+
// node_modules/function-bind/index.js
|
|
673
677
|
var require_function_bind = __commonJS({
|
|
674
|
-
"node_modules/
|
|
678
|
+
"node_modules/function-bind/index.js"(exports, module) {
|
|
675
679
|
"use strict";
|
|
676
680
|
var implementation = require_implementation2();
|
|
677
681
|
module.exports = Function.prototype.bind || implementation;
|
|
@@ -782,183 +786,13 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
782
786
|
}
|
|
783
787
|
});
|
|
784
788
|
|
|
785
|
-
// node_modules/get-intrinsic/node_modules/function-bind/implementation.js
|
|
786
|
-
var require_implementation3 = __commonJS({
|
|
787
|
-
"node_modules/get-intrinsic/node_modules/function-bind/implementation.js"(exports, module) {
|
|
788
|
-
"use strict";
|
|
789
|
-
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
790
|
-
var toStr = Object.prototype.toString;
|
|
791
|
-
var max = Math.max;
|
|
792
|
-
var funcType = "[object Function]";
|
|
793
|
-
var concatty = function concatty2(a, b) {
|
|
794
|
-
var arr = [];
|
|
795
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
796
|
-
arr[i] = a[i];
|
|
797
|
-
}
|
|
798
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
799
|
-
arr[j + a.length] = b[j];
|
|
800
|
-
}
|
|
801
|
-
return arr;
|
|
802
|
-
};
|
|
803
|
-
var slicy = function slicy2(arrLike, offset) {
|
|
804
|
-
var arr = [];
|
|
805
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
806
|
-
arr[j] = arrLike[i];
|
|
807
|
-
}
|
|
808
|
-
return arr;
|
|
809
|
-
};
|
|
810
|
-
var joiny = function(arr, joiner) {
|
|
811
|
-
var str = "";
|
|
812
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
813
|
-
str += arr[i];
|
|
814
|
-
if (i + 1 < arr.length) {
|
|
815
|
-
str += joiner;
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
return str;
|
|
819
|
-
};
|
|
820
|
-
module.exports = function bind(that) {
|
|
821
|
-
var target = this;
|
|
822
|
-
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
823
|
-
throw new TypeError(ERROR_MESSAGE + target);
|
|
824
|
-
}
|
|
825
|
-
var args = slicy(arguments, 1);
|
|
826
|
-
var bound;
|
|
827
|
-
var binder = function() {
|
|
828
|
-
if (this instanceof bound) {
|
|
829
|
-
var result = target.apply(
|
|
830
|
-
this,
|
|
831
|
-
concatty(args, arguments)
|
|
832
|
-
);
|
|
833
|
-
if (Object(result) === result) {
|
|
834
|
-
return result;
|
|
835
|
-
}
|
|
836
|
-
return this;
|
|
837
|
-
}
|
|
838
|
-
return target.apply(
|
|
839
|
-
that,
|
|
840
|
-
concatty(args, arguments)
|
|
841
|
-
);
|
|
842
|
-
};
|
|
843
|
-
var boundLength = max(0, target.length - args.length);
|
|
844
|
-
var boundArgs = [];
|
|
845
|
-
for (var i = 0; i < boundLength; i++) {
|
|
846
|
-
boundArgs[i] = "$" + i;
|
|
847
|
-
}
|
|
848
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
849
|
-
if (target.prototype) {
|
|
850
|
-
var Empty = function Empty2() {
|
|
851
|
-
};
|
|
852
|
-
Empty.prototype = target.prototype;
|
|
853
|
-
bound.prototype = new Empty();
|
|
854
|
-
Empty.prototype = null;
|
|
855
|
-
}
|
|
856
|
-
return bound;
|
|
857
|
-
};
|
|
858
|
-
}
|
|
859
|
-
});
|
|
860
|
-
|
|
861
|
-
// node_modules/get-intrinsic/node_modules/function-bind/index.js
|
|
862
|
-
var require_function_bind2 = __commonJS({
|
|
863
|
-
"node_modules/get-intrinsic/node_modules/function-bind/index.js"(exports, module) {
|
|
864
|
-
"use strict";
|
|
865
|
-
var implementation = require_implementation3();
|
|
866
|
-
module.exports = Function.prototype.bind || implementation;
|
|
867
|
-
}
|
|
868
|
-
});
|
|
869
|
-
|
|
870
|
-
// node_modules/hasown/node_modules/function-bind/implementation.js
|
|
871
|
-
var require_implementation4 = __commonJS({
|
|
872
|
-
"node_modules/hasown/node_modules/function-bind/implementation.js"(exports, module) {
|
|
873
|
-
"use strict";
|
|
874
|
-
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
875
|
-
var toStr = Object.prototype.toString;
|
|
876
|
-
var max = Math.max;
|
|
877
|
-
var funcType = "[object Function]";
|
|
878
|
-
var concatty = function concatty2(a, b) {
|
|
879
|
-
var arr = [];
|
|
880
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
881
|
-
arr[i] = a[i];
|
|
882
|
-
}
|
|
883
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
884
|
-
arr[j + a.length] = b[j];
|
|
885
|
-
}
|
|
886
|
-
return arr;
|
|
887
|
-
};
|
|
888
|
-
var slicy = function slicy2(arrLike, offset) {
|
|
889
|
-
var arr = [];
|
|
890
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
891
|
-
arr[j] = arrLike[i];
|
|
892
|
-
}
|
|
893
|
-
return arr;
|
|
894
|
-
};
|
|
895
|
-
var joiny = function(arr, joiner) {
|
|
896
|
-
var str = "";
|
|
897
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
898
|
-
str += arr[i];
|
|
899
|
-
if (i + 1 < arr.length) {
|
|
900
|
-
str += joiner;
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
return str;
|
|
904
|
-
};
|
|
905
|
-
module.exports = function bind(that) {
|
|
906
|
-
var target = this;
|
|
907
|
-
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
908
|
-
throw new TypeError(ERROR_MESSAGE + target);
|
|
909
|
-
}
|
|
910
|
-
var args = slicy(arguments, 1);
|
|
911
|
-
var bound;
|
|
912
|
-
var binder = function() {
|
|
913
|
-
if (this instanceof bound) {
|
|
914
|
-
var result = target.apply(
|
|
915
|
-
this,
|
|
916
|
-
concatty(args, arguments)
|
|
917
|
-
);
|
|
918
|
-
if (Object(result) === result) {
|
|
919
|
-
return result;
|
|
920
|
-
}
|
|
921
|
-
return this;
|
|
922
|
-
}
|
|
923
|
-
return target.apply(
|
|
924
|
-
that,
|
|
925
|
-
concatty(args, arguments)
|
|
926
|
-
);
|
|
927
|
-
};
|
|
928
|
-
var boundLength = max(0, target.length - args.length);
|
|
929
|
-
var boundArgs = [];
|
|
930
|
-
for (var i = 0; i < boundLength; i++) {
|
|
931
|
-
boundArgs[i] = "$" + i;
|
|
932
|
-
}
|
|
933
|
-
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
934
|
-
if (target.prototype) {
|
|
935
|
-
var Empty = function Empty2() {
|
|
936
|
-
};
|
|
937
|
-
Empty.prototype = target.prototype;
|
|
938
|
-
bound.prototype = new Empty();
|
|
939
|
-
Empty.prototype = null;
|
|
940
|
-
}
|
|
941
|
-
return bound;
|
|
942
|
-
};
|
|
943
|
-
}
|
|
944
|
-
});
|
|
945
|
-
|
|
946
|
-
// node_modules/hasown/node_modules/function-bind/index.js
|
|
947
|
-
var require_function_bind3 = __commonJS({
|
|
948
|
-
"node_modules/hasown/node_modules/function-bind/index.js"(exports, module) {
|
|
949
|
-
"use strict";
|
|
950
|
-
var implementation = require_implementation4();
|
|
951
|
-
module.exports = Function.prototype.bind || implementation;
|
|
952
|
-
}
|
|
953
|
-
});
|
|
954
|
-
|
|
955
789
|
// node_modules/hasown/index.js
|
|
956
790
|
var require_hasown = __commonJS({
|
|
957
791
|
"node_modules/hasown/index.js"(exports, module) {
|
|
958
792
|
"use strict";
|
|
959
793
|
var call = Function.prototype.call;
|
|
960
794
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
961
|
-
var bind =
|
|
795
|
+
var bind = require_function_bind();
|
|
962
796
|
module.exports = bind.call(call, $hasOwn);
|
|
963
797
|
}
|
|
964
798
|
});
|
|
@@ -1184,7 +1018,7 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
1184
1018
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
1185
1019
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
1186
1020
|
};
|
|
1187
|
-
var bind =
|
|
1021
|
+
var bind = require_function_bind();
|
|
1188
1022
|
var hasOwn = require_hasown();
|
|
1189
1023
|
var $concat = bind.call($call, Array.prototype.concat);
|
|
1190
1024
|
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
@@ -1270,7 +1104,7 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
1270
1104
|
if (!allowMissing) {
|
|
1271
1105
|
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
1272
1106
|
}
|
|
1273
|
-
return void
|
|
1107
|
+
return void undefined2;
|
|
1274
1108
|
}
|
|
1275
1109
|
if ($gOPD && i + 1 >= parts.length) {
|
|
1276
1110
|
var desc = $gOPD(value, part);
|
|
@@ -1317,9 +1151,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
1317
1151
|
}
|
|
1318
1152
|
});
|
|
1319
1153
|
|
|
1320
|
-
// node_modules/es-
|
|
1154
|
+
// node_modules/es-abstract/helpers/IsArray.js
|
|
1321
1155
|
var require_IsArray = __commonJS({
|
|
1322
|
-
"node_modules/es-
|
|
1156
|
+
"node_modules/es-abstract/helpers/IsArray.js"(exports, module) {
|
|
1323
1157
|
"use strict";
|
|
1324
1158
|
var GetIntrinsic = require_get_intrinsic();
|
|
1325
1159
|
var $Array = GetIntrinsic("%Array%");
|
|
@@ -1330,17 +1164,17 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
1330
1164
|
}
|
|
1331
1165
|
});
|
|
1332
1166
|
|
|
1333
|
-
// node_modules/es-
|
|
1167
|
+
// node_modules/es-abstract/2024/IsArray.js
|
|
1334
1168
|
var require_IsArray2 = __commonJS({
|
|
1335
|
-
"node_modules/es-
|
|
1169
|
+
"node_modules/es-abstract/2024/IsArray.js"(exports, module) {
|
|
1336
1170
|
"use strict";
|
|
1337
1171
|
module.exports = require_IsArray();
|
|
1338
1172
|
}
|
|
1339
1173
|
});
|
|
1340
1174
|
|
|
1341
|
-
// node_modules/es-
|
|
1175
|
+
// node_modules/es-abstract/2024/Call.js
|
|
1342
1176
|
var require_Call = __commonJS({
|
|
1343
|
-
"node_modules/es-
|
|
1177
|
+
"node_modules/es-abstract/2024/Call.js"(exports, module) {
|
|
1344
1178
|
"use strict";
|
|
1345
1179
|
var GetIntrinsic = require_get_intrinsic();
|
|
1346
1180
|
var callBound = require_call_bound();
|
|
@@ -1894,62 +1728,291 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
1894
1728
|
}
|
|
1895
1729
|
});
|
|
1896
1730
|
|
|
1897
|
-
// node_modules/
|
|
1898
|
-
var
|
|
1899
|
-
"node_modules/
|
|
1731
|
+
// node_modules/es-abstract/helpers/isObject.js
|
|
1732
|
+
var require_isObject = __commonJS({
|
|
1733
|
+
"node_modules/es-abstract/helpers/isObject.js"(exports, module) {
|
|
1734
|
+
"use strict";
|
|
1735
|
+
module.exports = function isObject(x) {
|
|
1736
|
+
return !!x && (typeof x === "function" || typeof x === "object");
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
});
|
|
1740
|
+
|
|
1741
|
+
// node_modules/es-abstract/helpers/isPropertyKey.js
|
|
1742
|
+
var require_isPropertyKey = __commonJS({
|
|
1743
|
+
"node_modules/es-abstract/helpers/isPropertyKey.js"(exports, module) {
|
|
1744
|
+
"use strict";
|
|
1745
|
+
module.exports = function isPropertyKey(argument) {
|
|
1746
|
+
return typeof argument === "string" || typeof argument === "symbol";
|
|
1747
|
+
};
|
|
1748
|
+
}
|
|
1749
|
+
});
|
|
1750
|
+
|
|
1751
|
+
// node_modules/es-abstract/2024/Get.js
|
|
1752
|
+
var require_Get = __commonJS({
|
|
1753
|
+
"node_modules/es-abstract/2024/Get.js"(exports, module) {
|
|
1900
1754
|
"use strict";
|
|
1901
|
-
var inspect = require_object_inspect();
|
|
1902
1755
|
var $TypeError = require_type();
|
|
1903
|
-
var
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
if (!isDelete) {
|
|
1910
|
-
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
1911
|
-
list.next;
|
|
1912
|
-
list.next = curr;
|
|
1913
|
-
}
|
|
1914
|
-
return curr;
|
|
1915
|
-
}
|
|
1756
|
+
var inspect = require_object_inspect();
|
|
1757
|
+
var isObject = require_isObject();
|
|
1758
|
+
var isPropertyKey = require_isPropertyKey();
|
|
1759
|
+
module.exports = function Get(O, P) {
|
|
1760
|
+
if (!isObject(O)) {
|
|
1761
|
+
throw new $TypeError("Assertion failed: Type(O) is not Object");
|
|
1916
1762
|
}
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
if (!objects) {
|
|
1920
|
-
return void 0;
|
|
1763
|
+
if (!isPropertyKey(P)) {
|
|
1764
|
+
throw new $TypeError("Assertion failed: P is not a Property Key, got " + inspect(P));
|
|
1921
1765
|
}
|
|
1922
|
-
|
|
1923
|
-
return node && node.value;
|
|
1766
|
+
return O[P];
|
|
1924
1767
|
};
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
};
|
|
1768
|
+
}
|
|
1769
|
+
});
|
|
1770
|
+
|
|
1771
|
+
// node_modules/es-abstract/5/Type.js
|
|
1772
|
+
var require_Type = __commonJS({
|
|
1773
|
+
"node_modules/es-abstract/5/Type.js"(exports, module) {
|
|
1774
|
+
"use strict";
|
|
1775
|
+
var isObject = require_isObject();
|
|
1776
|
+
module.exports = function Type(x) {
|
|
1777
|
+
if (x === null) {
|
|
1778
|
+
return "Null";
|
|
1937
1779
|
}
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
if (!objects) {
|
|
1941
|
-
return false;
|
|
1780
|
+
if (typeof x === "undefined") {
|
|
1781
|
+
return "Undefined";
|
|
1942
1782
|
}
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
if (
|
|
1947
|
-
return
|
|
1783
|
+
if (isObject(x)) {
|
|
1784
|
+
return "Object";
|
|
1785
|
+
}
|
|
1786
|
+
if (typeof x === "number") {
|
|
1787
|
+
return "Number";
|
|
1788
|
+
}
|
|
1789
|
+
if (typeof x === "boolean") {
|
|
1790
|
+
return "Boolean";
|
|
1791
|
+
}
|
|
1792
|
+
if (typeof x === "string") {
|
|
1793
|
+
return "String";
|
|
1948
1794
|
}
|
|
1949
1795
|
};
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1796
|
+
}
|
|
1797
|
+
});
|
|
1798
|
+
|
|
1799
|
+
// node_modules/es-abstract/2024/Type.js
|
|
1800
|
+
var require_Type2 = __commonJS({
|
|
1801
|
+
"node_modules/es-abstract/2024/Type.js"(exports, module) {
|
|
1802
|
+
"use strict";
|
|
1803
|
+
var ES5Type = require_Type();
|
|
1804
|
+
module.exports = function Type(x) {
|
|
1805
|
+
if (typeof x === "symbol") {
|
|
1806
|
+
return "Symbol";
|
|
1807
|
+
}
|
|
1808
|
+
if (typeof x === "bigint") {
|
|
1809
|
+
return "BigInt";
|
|
1810
|
+
}
|
|
1811
|
+
return ES5Type(x);
|
|
1812
|
+
};
|
|
1813
|
+
}
|
|
1814
|
+
});
|
|
1815
|
+
|
|
1816
|
+
// node_modules/es-iterator-helpers/aos/GetIteratorDirect.js
|
|
1817
|
+
var require_GetIteratorDirect = __commonJS({
|
|
1818
|
+
"node_modules/es-iterator-helpers/aos/GetIteratorDirect.js"(exports, module) {
|
|
1819
|
+
"use strict";
|
|
1820
|
+
var $TypeError = require_type();
|
|
1821
|
+
var Get = require_Get();
|
|
1822
|
+
var Type = require_Type2();
|
|
1823
|
+
module.exports = function GetIteratorDirect(obj) {
|
|
1824
|
+
if (Type(obj) !== "Object") {
|
|
1825
|
+
throw new $TypeError("Assertion failed: `obj` must be an Object");
|
|
1826
|
+
}
|
|
1827
|
+
var nextMethod = Get(obj, "next");
|
|
1828
|
+
var iteratorRecord = { "[[Iterator]]": obj, "[[NextMethod]]": nextMethod, "[[Done]]": false };
|
|
1829
|
+
return iteratorRecord;
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
});
|
|
1833
|
+
|
|
1834
|
+
// node_modules/is-callable/index.js
|
|
1835
|
+
var require_is_callable = __commonJS({
|
|
1836
|
+
"node_modules/is-callable/index.js"(exports, module) {
|
|
1837
|
+
"use strict";
|
|
1838
|
+
var fnToStr = Function.prototype.toString;
|
|
1839
|
+
var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
1840
|
+
var badArrayLike;
|
|
1841
|
+
var isCallableMarker;
|
|
1842
|
+
if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
|
|
1843
|
+
try {
|
|
1844
|
+
badArrayLike = Object.defineProperty({}, "length", {
|
|
1845
|
+
get: function() {
|
|
1846
|
+
throw isCallableMarker;
|
|
1847
|
+
}
|
|
1848
|
+
});
|
|
1849
|
+
isCallableMarker = {};
|
|
1850
|
+
reflectApply(function() {
|
|
1851
|
+
throw 42;
|
|
1852
|
+
}, null, badArrayLike);
|
|
1853
|
+
} catch (_) {
|
|
1854
|
+
if (_ !== isCallableMarker) {
|
|
1855
|
+
reflectApply = null;
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
} else {
|
|
1859
|
+
reflectApply = null;
|
|
1860
|
+
}
|
|
1861
|
+
var constructorRegex = /^\s*class\b/;
|
|
1862
|
+
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
1863
|
+
try {
|
|
1864
|
+
var fnStr = fnToStr.call(value);
|
|
1865
|
+
return constructorRegex.test(fnStr);
|
|
1866
|
+
} catch (e) {
|
|
1867
|
+
return false;
|
|
1868
|
+
}
|
|
1869
|
+
};
|
|
1870
|
+
var tryFunctionObject = function tryFunctionToStr(value) {
|
|
1871
|
+
try {
|
|
1872
|
+
if (isES6ClassFn(value)) {
|
|
1873
|
+
return false;
|
|
1874
|
+
}
|
|
1875
|
+
fnToStr.call(value);
|
|
1876
|
+
return true;
|
|
1877
|
+
} catch (e) {
|
|
1878
|
+
return false;
|
|
1879
|
+
}
|
|
1880
|
+
};
|
|
1881
|
+
var toStr = Object.prototype.toString;
|
|
1882
|
+
var objectClass = "[object Object]";
|
|
1883
|
+
var fnClass = "[object Function]";
|
|
1884
|
+
var genClass = "[object GeneratorFunction]";
|
|
1885
|
+
var ddaClass = "[object HTMLAllCollection]";
|
|
1886
|
+
var ddaClass2 = "[object HTML document.all class]";
|
|
1887
|
+
var ddaClass3 = "[object HTMLCollection]";
|
|
1888
|
+
var hasToStringTag = typeof Symbol === "function" && !!Symbol.toStringTag;
|
|
1889
|
+
var isIE68 = !(0 in [,]);
|
|
1890
|
+
var isDDA = function isDocumentDotAll() {
|
|
1891
|
+
return false;
|
|
1892
|
+
};
|
|
1893
|
+
if (typeof document === "object") {
|
|
1894
|
+
all = document.all;
|
|
1895
|
+
if (toStr.call(all) === toStr.call(document.all)) {
|
|
1896
|
+
isDDA = function isDocumentDotAll(value) {
|
|
1897
|
+
if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
|
|
1898
|
+
try {
|
|
1899
|
+
var str = toStr.call(value);
|
|
1900
|
+
return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
|
|
1901
|
+
} catch (e) {
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
return false;
|
|
1905
|
+
};
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
var all;
|
|
1909
|
+
module.exports = reflectApply ? function isCallable(value) {
|
|
1910
|
+
if (isDDA(value)) {
|
|
1911
|
+
return true;
|
|
1912
|
+
}
|
|
1913
|
+
if (!value) {
|
|
1914
|
+
return false;
|
|
1915
|
+
}
|
|
1916
|
+
if (typeof value !== "function" && typeof value !== "object") {
|
|
1917
|
+
return false;
|
|
1918
|
+
}
|
|
1919
|
+
try {
|
|
1920
|
+
reflectApply(value, null, badArrayLike);
|
|
1921
|
+
} catch (e) {
|
|
1922
|
+
if (e !== isCallableMarker) {
|
|
1923
|
+
return false;
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
return !isES6ClassFn(value) && tryFunctionObject(value);
|
|
1927
|
+
} : function isCallable(value) {
|
|
1928
|
+
if (isDDA(value)) {
|
|
1929
|
+
return true;
|
|
1930
|
+
}
|
|
1931
|
+
if (!value) {
|
|
1932
|
+
return false;
|
|
1933
|
+
}
|
|
1934
|
+
if (typeof value !== "function" && typeof value !== "object") {
|
|
1935
|
+
return false;
|
|
1936
|
+
}
|
|
1937
|
+
if (hasToStringTag) {
|
|
1938
|
+
return tryFunctionObject(value);
|
|
1939
|
+
}
|
|
1940
|
+
if (isES6ClassFn(value)) {
|
|
1941
|
+
return false;
|
|
1942
|
+
}
|
|
1943
|
+
var strClass = toStr.call(value);
|
|
1944
|
+
if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) {
|
|
1945
|
+
return false;
|
|
1946
|
+
}
|
|
1947
|
+
return tryFunctionObject(value);
|
|
1948
|
+
};
|
|
1949
|
+
}
|
|
1950
|
+
});
|
|
1951
|
+
|
|
1952
|
+
// node_modules/es-abstract/2024/IsCallable.js
|
|
1953
|
+
var require_IsCallable = __commonJS({
|
|
1954
|
+
"node_modules/es-abstract/2024/IsCallable.js"(exports, module) {
|
|
1955
|
+
"use strict";
|
|
1956
|
+
module.exports = require_is_callable();
|
|
1957
|
+
}
|
|
1958
|
+
});
|
|
1959
|
+
|
|
1960
|
+
// node_modules/side-channel-list/index.js
|
|
1961
|
+
var require_side_channel_list = __commonJS({
|
|
1962
|
+
"node_modules/side-channel-list/index.js"(exports, module) {
|
|
1963
|
+
"use strict";
|
|
1964
|
+
var inspect = require_object_inspect();
|
|
1965
|
+
var $TypeError = require_type();
|
|
1966
|
+
var listGetNode = function(list, key, isDelete) {
|
|
1967
|
+
var prev = list;
|
|
1968
|
+
var curr;
|
|
1969
|
+
for (; (curr = prev.next) != null; prev = curr) {
|
|
1970
|
+
if (curr.key === key) {
|
|
1971
|
+
prev.next = curr.next;
|
|
1972
|
+
if (!isDelete) {
|
|
1973
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
1974
|
+
list.next;
|
|
1975
|
+
list.next = curr;
|
|
1976
|
+
}
|
|
1977
|
+
return curr;
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
};
|
|
1981
|
+
var listGet = function(objects, key) {
|
|
1982
|
+
if (!objects) {
|
|
1983
|
+
return void 0;
|
|
1984
|
+
}
|
|
1985
|
+
var node = listGetNode(objects, key);
|
|
1986
|
+
return node && node.value;
|
|
1987
|
+
};
|
|
1988
|
+
var listSet = function(objects, key, value) {
|
|
1989
|
+
var node = listGetNode(objects, key);
|
|
1990
|
+
if (node) {
|
|
1991
|
+
node.value = value;
|
|
1992
|
+
} else {
|
|
1993
|
+
objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
1994
|
+
{
|
|
1995
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
1996
|
+
key,
|
|
1997
|
+
next: objects.next,
|
|
1998
|
+
value
|
|
1999
|
+
};
|
|
2000
|
+
}
|
|
2001
|
+
};
|
|
2002
|
+
var listHas = function(objects, key) {
|
|
2003
|
+
if (!objects) {
|
|
2004
|
+
return false;
|
|
2005
|
+
}
|
|
2006
|
+
return !!listGetNode(objects, key);
|
|
2007
|
+
};
|
|
2008
|
+
var listDelete = function(objects, key) {
|
|
2009
|
+
if (objects) {
|
|
2010
|
+
return listGetNode(objects, key, true);
|
|
2011
|
+
}
|
|
2012
|
+
};
|
|
2013
|
+
module.exports = function getSideChannelList() {
|
|
2014
|
+
var $o;
|
|
2015
|
+
var channel = {
|
|
1953
2016
|
assert: function(key) {
|
|
1954
2017
|
if (!channel.has(key)) {
|
|
1955
2018
|
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
@@ -2228,9 +2291,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2228
2291
|
}
|
|
2229
2292
|
});
|
|
2230
2293
|
|
|
2231
|
-
// node_modules/es-
|
|
2294
|
+
// node_modules/es-abstract/2024/CompletionRecord.js
|
|
2232
2295
|
var require_CompletionRecord = __commonJS({
|
|
2233
|
-
"node_modules/es-
|
|
2296
|
+
"node_modules/es-abstract/2024/CompletionRecord.js"(exports, module) {
|
|
2234
2297
|
"use strict";
|
|
2235
2298
|
var $SyntaxError = require_syntax();
|
|
2236
2299
|
var SLOT = require_internal_slot();
|
|
@@ -2269,200 +2332,433 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2269
2332
|
}
|
|
2270
2333
|
});
|
|
2271
2334
|
|
|
2272
|
-
// node_modules/es-
|
|
2273
|
-
var
|
|
2274
|
-
"node_modules/es-
|
|
2335
|
+
// node_modules/es-abstract/2024/GetV.js
|
|
2336
|
+
var require_GetV = __commonJS({
|
|
2337
|
+
"node_modules/es-abstract/2024/GetV.js"(exports, module) {
|
|
2275
2338
|
"use strict";
|
|
2276
2339
|
var $TypeError = require_type();
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2340
|
+
var inspect = require_object_inspect();
|
|
2341
|
+
var isPropertyKey = require_isPropertyKey();
|
|
2342
|
+
module.exports = function GetV(V, P) {
|
|
2343
|
+
if (!isPropertyKey(P)) {
|
|
2344
|
+
throw new $TypeError("Assertion failed: P is not a Property Key, got " + inspect(P));
|
|
2280
2345
|
}
|
|
2281
|
-
return
|
|
2282
|
-
value,
|
|
2283
|
-
done
|
|
2284
|
-
};
|
|
2346
|
+
return V[P];
|
|
2285
2347
|
};
|
|
2286
2348
|
}
|
|
2287
2349
|
});
|
|
2288
2350
|
|
|
2289
|
-
// node_modules/
|
|
2290
|
-
var
|
|
2291
|
-
"node_modules/
|
|
2351
|
+
// node_modules/es-abstract/2024/GetMethod.js
|
|
2352
|
+
var require_GetMethod = __commonJS({
|
|
2353
|
+
"node_modules/es-abstract/2024/GetMethod.js"(exports, module) {
|
|
2292
2354
|
"use strict";
|
|
2293
|
-
var
|
|
2294
|
-
var
|
|
2295
|
-
var
|
|
2296
|
-
var
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2355
|
+
var $TypeError = require_type();
|
|
2356
|
+
var GetV = require_GetV();
|
|
2357
|
+
var IsCallable = require_IsCallable();
|
|
2358
|
+
var isPropertyKey = require_isPropertyKey();
|
|
2359
|
+
var inspect = require_object_inspect();
|
|
2360
|
+
module.exports = function GetMethod(O, P) {
|
|
2361
|
+
if (!isPropertyKey(P)) {
|
|
2362
|
+
throw new $TypeError("Assertion failed: P is not a Property Key");
|
|
2363
|
+
}
|
|
2364
|
+
var func = GetV(O, P);
|
|
2365
|
+
if (func == null) {
|
|
2366
|
+
return void 0;
|
|
2367
|
+
}
|
|
2368
|
+
if (!IsCallable(func)) {
|
|
2369
|
+
throw new $TypeError(inspect(P) + " is not a function: " + inspect(func));
|
|
2370
|
+
}
|
|
2371
|
+
return func;
|
|
2372
|
+
};
|
|
2373
|
+
}
|
|
2374
|
+
});
|
|
2375
|
+
|
|
2376
|
+
// node_modules/es-abstract/helpers/records/iterator-record.js
|
|
2377
|
+
var require_iterator_record = __commonJS({
|
|
2378
|
+
"node_modules/es-abstract/helpers/records/iterator-record.js"(exports, module) {
|
|
2379
|
+
"use strict";
|
|
2380
|
+
var hasOwn = require_hasown();
|
|
2381
|
+
module.exports = function isIteratorRecord(value) {
|
|
2382
|
+
return !!value && typeof value === "object" && hasOwn(value, "[[Iterator]]") && hasOwn(value, "[[NextMethod]]") && hasOwn(value, "[[Done]]") && typeof value["[[Done]]"] === "boolean";
|
|
2383
|
+
};
|
|
2384
|
+
}
|
|
2385
|
+
});
|
|
2386
|
+
|
|
2387
|
+
// node_modules/es-abstract/2024/IteratorClose.js
|
|
2388
|
+
var require_IteratorClose = __commonJS({
|
|
2389
|
+
"node_modules/es-abstract/2024/IteratorClose.js"(exports, module) {
|
|
2390
|
+
"use strict";
|
|
2391
|
+
var $TypeError = require_type();
|
|
2392
|
+
var Call = require_Call();
|
|
2393
|
+
var CompletionRecord = require_CompletionRecord();
|
|
2394
|
+
var GetMethod = require_GetMethod();
|
|
2395
|
+
var IsCallable = require_IsCallable();
|
|
2396
|
+
var isObject = require_isObject();
|
|
2397
|
+
var isIteratorRecord = require_iterator_record();
|
|
2398
|
+
module.exports = function IteratorClose(iteratorRecord, completion) {
|
|
2399
|
+
if (!isIteratorRecord(iteratorRecord)) {
|
|
2400
|
+
throw new $TypeError("Assertion failed: `iteratorRecord` must be an Iterator Record");
|
|
2401
|
+
}
|
|
2402
|
+
if (!isObject(iteratorRecord["[[Iterator]]"])) {
|
|
2403
|
+
throw new $TypeError("Assertion failed: iteratorRecord.[[Iterator]] must be an Object");
|
|
2404
|
+
}
|
|
2405
|
+
if (!IsCallable(completion) && !(completion instanceof CompletionRecord)) {
|
|
2406
|
+
throw new $TypeError("Assertion failed: completion is not a thunk representing a Completion Record, nor a Completion Record instance");
|
|
2407
|
+
}
|
|
2408
|
+
var completionThunk = completion instanceof CompletionRecord ? function() {
|
|
2409
|
+
return completion["?"]();
|
|
2410
|
+
} : completion;
|
|
2411
|
+
var iterator = iteratorRecord["[[Iterator]]"];
|
|
2412
|
+
var iteratorReturn;
|
|
2318
2413
|
try {
|
|
2319
|
-
|
|
2320
|
-
return constructorRegex.test(fnStr);
|
|
2414
|
+
iteratorReturn = GetMethod(iterator, "return");
|
|
2321
2415
|
} catch (e) {
|
|
2322
|
-
|
|
2416
|
+
completionThunk();
|
|
2417
|
+
completionThunk = null;
|
|
2418
|
+
throw e;
|
|
2323
2419
|
}
|
|
2324
|
-
|
|
2325
|
-
|
|
2420
|
+
if (typeof iteratorReturn === "undefined") {
|
|
2421
|
+
return completionThunk();
|
|
2422
|
+
}
|
|
2423
|
+
var innerResult;
|
|
2326
2424
|
try {
|
|
2327
|
-
|
|
2328
|
-
return false;
|
|
2329
|
-
}
|
|
2330
|
-
fnToStr.call(value);
|
|
2331
|
-
return true;
|
|
2425
|
+
innerResult = Call(iteratorReturn, iterator, []);
|
|
2332
2426
|
} catch (e) {
|
|
2333
|
-
|
|
2427
|
+
completionThunk();
|
|
2428
|
+
completionThunk = null;
|
|
2429
|
+
throw e;
|
|
2334
2430
|
}
|
|
2431
|
+
var completionRecord = completionThunk();
|
|
2432
|
+
completionThunk = null;
|
|
2433
|
+
if (!isObject(innerResult)) {
|
|
2434
|
+
throw new $TypeError("iterator .return must return an object");
|
|
2435
|
+
}
|
|
2436
|
+
return completionRecord;
|
|
2335
2437
|
};
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
var isDDA = function isDocumentDotAll() {
|
|
2346
|
-
return false;
|
|
2438
|
+
}
|
|
2439
|
+
});
|
|
2440
|
+
|
|
2441
|
+
// node_modules/es-abstract/2024/ToBoolean.js
|
|
2442
|
+
var require_ToBoolean = __commonJS({
|
|
2443
|
+
"node_modules/es-abstract/2024/ToBoolean.js"(exports, module) {
|
|
2444
|
+
"use strict";
|
|
2445
|
+
module.exports = function ToBoolean(value) {
|
|
2446
|
+
return !!value;
|
|
2347
2447
|
};
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2448
|
+
}
|
|
2449
|
+
});
|
|
2450
|
+
|
|
2451
|
+
// node_modules/es-abstract/2024/IteratorComplete.js
|
|
2452
|
+
var require_IteratorComplete = __commonJS({
|
|
2453
|
+
"node_modules/es-abstract/2024/IteratorComplete.js"(exports, module) {
|
|
2454
|
+
"use strict";
|
|
2455
|
+
var $TypeError = require_type();
|
|
2456
|
+
var Get = require_Get();
|
|
2457
|
+
var ToBoolean = require_ToBoolean();
|
|
2458
|
+
var isObject = require_isObject();
|
|
2459
|
+
module.exports = function IteratorComplete(iterResult) {
|
|
2460
|
+
if (!isObject(iterResult)) {
|
|
2461
|
+
throw new $TypeError("Assertion failed: Type(iterResult) is not Object");
|
|
2361
2462
|
}
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2463
|
+
return ToBoolean(Get(iterResult, "done"));
|
|
2464
|
+
};
|
|
2465
|
+
}
|
|
2466
|
+
});
|
|
2467
|
+
|
|
2468
|
+
// node_modules/es-abstract/2024/IteratorNext.js
|
|
2469
|
+
var require_IteratorNext = __commonJS({
|
|
2470
|
+
"node_modules/es-abstract/2024/IteratorNext.js"(exports, module) {
|
|
2471
|
+
"use strict";
|
|
2472
|
+
var $TypeError = require_type();
|
|
2473
|
+
var Call = require_Call();
|
|
2474
|
+
var isObject = require_isObject();
|
|
2475
|
+
var isIteratorRecord = require_iterator_record();
|
|
2476
|
+
module.exports = function IteratorNext(iteratorRecord) {
|
|
2477
|
+
if (!isIteratorRecord(iteratorRecord)) {
|
|
2478
|
+
throw new $TypeError("Assertion failed: `iteratorRecord` must be an Iterator Record");
|
|
2367
2479
|
}
|
|
2368
|
-
|
|
2369
|
-
|
|
2480
|
+
var result;
|
|
2481
|
+
if (arguments.length < 2) {
|
|
2482
|
+
result = Call(iteratorRecord["[[NextMethod]]"], iteratorRecord["[[Iterator]]"]);
|
|
2483
|
+
} else {
|
|
2484
|
+
result = Call(iteratorRecord["[[NextMethod]]"], iteratorRecord["[[Iterator]]"], [arguments[1]]);
|
|
2370
2485
|
}
|
|
2371
|
-
if (
|
|
2372
|
-
return
|
|
2486
|
+
if (!isObject(result)) {
|
|
2487
|
+
throw new $TypeError("iterator next must return an object");
|
|
2373
2488
|
}
|
|
2489
|
+
return result;
|
|
2490
|
+
};
|
|
2491
|
+
}
|
|
2492
|
+
});
|
|
2493
|
+
|
|
2494
|
+
// node_modules/es-abstract/2024/IteratorStepValue.js
|
|
2495
|
+
var require_IteratorStepValue = __commonJS({
|
|
2496
|
+
"node_modules/es-abstract/2024/IteratorStepValue.js"(exports, module) {
|
|
2497
|
+
"use strict";
|
|
2498
|
+
var $TypeError = require_type();
|
|
2499
|
+
var Get = require_Get();
|
|
2500
|
+
var IteratorComplete = require_IteratorComplete();
|
|
2501
|
+
var IteratorNext = require_IteratorNext();
|
|
2502
|
+
var isIteratorRecord = require_iterator_record();
|
|
2503
|
+
module.exports = function IteratorStepValue(iteratorRecord) {
|
|
2504
|
+
if (!isIteratorRecord(iteratorRecord)) {
|
|
2505
|
+
throw new $TypeError("Assertion failed: `iteratorRecord` must be an Iterator Record");
|
|
2506
|
+
}
|
|
2507
|
+
var result;
|
|
2374
2508
|
try {
|
|
2375
|
-
|
|
2509
|
+
result = IteratorNext(iteratorRecord);
|
|
2376
2510
|
} catch (e) {
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
return !isES6ClassFn(value) && tryFunctionObject(value);
|
|
2382
|
-
} : function isCallable(value) {
|
|
2383
|
-
if (isDDA(value)) {
|
|
2384
|
-
return true;
|
|
2385
|
-
}
|
|
2386
|
-
if (!value) {
|
|
2387
|
-
return false;
|
|
2388
|
-
}
|
|
2389
|
-
if (typeof value !== "function" && typeof value !== "object") {
|
|
2390
|
-
return false;
|
|
2511
|
+
iteratorRecord["[[Done]]"] = true;
|
|
2512
|
+
throw e;
|
|
2391
2513
|
}
|
|
2392
|
-
|
|
2393
|
-
|
|
2514
|
+
var done;
|
|
2515
|
+
try {
|
|
2516
|
+
done = IteratorComplete(result);
|
|
2517
|
+
} catch (e) {
|
|
2518
|
+
iteratorRecord["[[Done]]"] = true;
|
|
2519
|
+
throw e;
|
|
2394
2520
|
}
|
|
2395
|
-
if (
|
|
2396
|
-
|
|
2521
|
+
if (done) {
|
|
2522
|
+
iteratorRecord["[[Done]]"] = true;
|
|
2523
|
+
return "DONE";
|
|
2397
2524
|
}
|
|
2398
|
-
var
|
|
2399
|
-
|
|
2400
|
-
|
|
2525
|
+
var value;
|
|
2526
|
+
try {
|
|
2527
|
+
value = Get(result, "value");
|
|
2528
|
+
} catch (e) {
|
|
2529
|
+
iteratorRecord["[[Done]]"] = true;
|
|
2530
|
+
throw e;
|
|
2401
2531
|
}
|
|
2402
|
-
return
|
|
2532
|
+
return value;
|
|
2403
2533
|
};
|
|
2404
2534
|
}
|
|
2405
2535
|
});
|
|
2406
2536
|
|
|
2407
|
-
// node_modules/es-
|
|
2408
|
-
var
|
|
2409
|
-
"node_modules/es-
|
|
2537
|
+
// node_modules/es-abstract/2024/NormalCompletion.js
|
|
2538
|
+
var require_NormalCompletion = __commonJS({
|
|
2539
|
+
"node_modules/es-abstract/2024/NormalCompletion.js"(exports, module) {
|
|
2410
2540
|
"use strict";
|
|
2411
|
-
|
|
2541
|
+
var CompletionRecord = require_CompletionRecord();
|
|
2542
|
+
module.exports = function NormalCompletion(value) {
|
|
2543
|
+
return new CompletionRecord("normal", value);
|
|
2544
|
+
};
|
|
2412
2545
|
}
|
|
2413
2546
|
});
|
|
2414
2547
|
|
|
2415
|
-
// node_modules/es-
|
|
2416
|
-
var
|
|
2417
|
-
"node_modules/es-
|
|
2548
|
+
// node_modules/es-abstract/2024/ThrowCompletion.js
|
|
2549
|
+
var require_ThrowCompletion = __commonJS({
|
|
2550
|
+
"node_modules/es-abstract/2024/ThrowCompletion.js"(exports, module) {
|
|
2418
2551
|
"use strict";
|
|
2419
|
-
|
|
2420
|
-
|
|
2552
|
+
var CompletionRecord = require_CompletionRecord();
|
|
2553
|
+
module.exports = function ThrowCompletion(argument) {
|
|
2554
|
+
return new CompletionRecord("throw", argument);
|
|
2421
2555
|
};
|
|
2422
2556
|
}
|
|
2423
2557
|
});
|
|
2424
2558
|
|
|
2425
|
-
// node_modules/es-iterator-helpers/
|
|
2426
|
-
var
|
|
2427
|
-
"node_modules/es-iterator-helpers/
|
|
2559
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.find/implementation.js
|
|
2560
|
+
var require_implementation3 = __commonJS({
|
|
2561
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.find/implementation.js"(exports, module) {
|
|
2428
2562
|
"use strict";
|
|
2429
|
-
var
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2563
|
+
var $TypeError = require_type();
|
|
2564
|
+
var Call = require_Call();
|
|
2565
|
+
var GetIteratorDirect = require_GetIteratorDirect();
|
|
2566
|
+
var IsCallable = require_IsCallable();
|
|
2567
|
+
var IteratorClose = require_IteratorClose();
|
|
2568
|
+
var IteratorStepValue = require_IteratorStepValue();
|
|
2569
|
+
var NormalCompletion = require_NormalCompletion();
|
|
2570
|
+
var ThrowCompletion = require_ThrowCompletion();
|
|
2571
|
+
var ToBoolean = require_ToBoolean();
|
|
2572
|
+
var Type = require_Type2();
|
|
2573
|
+
module.exports = function find(predicate) {
|
|
2574
|
+
if (this instanceof find) {
|
|
2575
|
+
throw new $TypeError("`find` is not a constructor");
|
|
2433
2576
|
}
|
|
2434
|
-
|
|
2435
|
-
|
|
2577
|
+
var O = this;
|
|
2578
|
+
if (Type(O) !== "Object") {
|
|
2579
|
+
throw new $TypeError("`this` value must be an Object");
|
|
2436
2580
|
}
|
|
2437
|
-
if (
|
|
2438
|
-
|
|
2581
|
+
if (!IsCallable(predicate)) {
|
|
2582
|
+
throw new $TypeError("`predicate` must be a function");
|
|
2439
2583
|
}
|
|
2440
|
-
|
|
2441
|
-
|
|
2584
|
+
var iterated = GetIteratorDirect(O);
|
|
2585
|
+
var counter = 0;
|
|
2586
|
+
while (true) {
|
|
2587
|
+
var value = IteratorStepValue(iterated);
|
|
2588
|
+
if (iterated["[[Done]]"]) {
|
|
2589
|
+
return void 0;
|
|
2590
|
+
}
|
|
2591
|
+
var result;
|
|
2592
|
+
try {
|
|
2593
|
+
result = Call(predicate, void 0, [value, counter]);
|
|
2594
|
+
} catch (e) {
|
|
2595
|
+
IteratorClose(
|
|
2596
|
+
iterated,
|
|
2597
|
+
ThrowCompletion(e)
|
|
2598
|
+
);
|
|
2599
|
+
} finally {
|
|
2600
|
+
counter += 1;
|
|
2601
|
+
}
|
|
2602
|
+
if (ToBoolean(result)) {
|
|
2603
|
+
return IteratorClose(
|
|
2604
|
+
iterated,
|
|
2605
|
+
NormalCompletion(value)
|
|
2606
|
+
);
|
|
2607
|
+
}
|
|
2442
2608
|
}
|
|
2443
|
-
|
|
2444
|
-
|
|
2609
|
+
};
|
|
2610
|
+
}
|
|
2611
|
+
});
|
|
2612
|
+
|
|
2613
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.find/polyfill.js
|
|
2614
|
+
var require_polyfill = __commonJS({
|
|
2615
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.find/polyfill.js"(exports, module) {
|
|
2616
|
+
"use strict";
|
|
2617
|
+
var implementation = require_implementation3();
|
|
2618
|
+
module.exports = function getPolyfill() {
|
|
2619
|
+
return typeof Iterator === "function" && typeof Iterator.prototype.find === "function" ? Iterator.prototype.find : implementation;
|
|
2620
|
+
};
|
|
2621
|
+
}
|
|
2622
|
+
});
|
|
2623
|
+
|
|
2624
|
+
// node_modules/functions-have-names/index.js
|
|
2625
|
+
var require_functions_have_names = __commonJS({
|
|
2626
|
+
"node_modules/functions-have-names/index.js"(exports, module) {
|
|
2627
|
+
"use strict";
|
|
2628
|
+
var functionsHaveNames = function functionsHaveNames2() {
|
|
2629
|
+
return typeof function f() {
|
|
2630
|
+
}.name === "string";
|
|
2631
|
+
};
|
|
2632
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
2633
|
+
if (gOPD) {
|
|
2634
|
+
try {
|
|
2635
|
+
gOPD([], "length");
|
|
2636
|
+
} catch (e) {
|
|
2637
|
+
gOPD = null;
|
|
2445
2638
|
}
|
|
2446
|
-
|
|
2447
|
-
|
|
2639
|
+
}
|
|
2640
|
+
functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {
|
|
2641
|
+
if (!functionsHaveNames() || !gOPD) {
|
|
2642
|
+
return false;
|
|
2643
|
+
}
|
|
2644
|
+
var desc = gOPD(function() {
|
|
2645
|
+
}, "name");
|
|
2646
|
+
return !!desc && !!desc.configurable;
|
|
2647
|
+
};
|
|
2648
|
+
var $bind = Function.prototype.bind;
|
|
2649
|
+
functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {
|
|
2650
|
+
return functionsHaveNames() && typeof $bind === "function" && function f() {
|
|
2651
|
+
}.bind().name !== "";
|
|
2652
|
+
};
|
|
2653
|
+
module.exports = functionsHaveNames;
|
|
2654
|
+
}
|
|
2655
|
+
});
|
|
2656
|
+
|
|
2657
|
+
// node_modules/set-function-name/index.js
|
|
2658
|
+
var require_set_function_name = __commonJS({
|
|
2659
|
+
"node_modules/set-function-name/index.js"(exports, module) {
|
|
2660
|
+
"use strict";
|
|
2661
|
+
var define = require_define_data_property();
|
|
2662
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
2663
|
+
var functionsHaveConfigurableNames = require_functions_have_names().functionsHaveConfigurableNames();
|
|
2664
|
+
var $TypeError = require_type();
|
|
2665
|
+
module.exports = function setFunctionName(fn, name) {
|
|
2666
|
+
if (typeof fn !== "function") {
|
|
2667
|
+
throw new $TypeError("`fn` is not a function");
|
|
2668
|
+
}
|
|
2669
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
2670
|
+
if (!loose || functionsHaveConfigurableNames) {
|
|
2671
|
+
if (hasDescriptors) {
|
|
2672
|
+
define(
|
|
2673
|
+
/** @type {Parameters<define>[0]} */
|
|
2674
|
+
fn,
|
|
2675
|
+
"name",
|
|
2676
|
+
name,
|
|
2677
|
+
true,
|
|
2678
|
+
true
|
|
2679
|
+
);
|
|
2680
|
+
} else {
|
|
2681
|
+
define(
|
|
2682
|
+
/** @type {Parameters<define>[0]} */
|
|
2683
|
+
fn,
|
|
2684
|
+
"name",
|
|
2685
|
+
name
|
|
2686
|
+
);
|
|
2687
|
+
}
|
|
2448
2688
|
}
|
|
2689
|
+
return fn;
|
|
2690
|
+
};
|
|
2691
|
+
}
|
|
2692
|
+
});
|
|
2693
|
+
|
|
2694
|
+
// node_modules/iterator.prototype/index.js
|
|
2695
|
+
var require_iterator = __commonJS({
|
|
2696
|
+
"node_modules/iterator.prototype/index.js"(exports, module) {
|
|
2697
|
+
"use strict";
|
|
2698
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
2699
|
+
var gPO = require_get_proto();
|
|
2700
|
+
var hasSymbols = require_has_symbols();
|
|
2701
|
+
var setFunctionName = require_set_function_name();
|
|
2702
|
+
var defineDataProperty = require_define_data_property();
|
|
2703
|
+
var $Object = require_es_object_atoms();
|
|
2704
|
+
var arrayIterProto = GetIntrinsic("%ArrayIteratorPrototype%", true);
|
|
2705
|
+
var iterProto = arrayIterProto && gPO(arrayIterProto);
|
|
2706
|
+
var result = iterProto !== $Object.prototype && iterProto || {};
|
|
2707
|
+
if (hasSymbols()) {
|
|
2708
|
+
if (!(Symbol.iterator in result)) {
|
|
2709
|
+
iter = setFunctionName(function SymbolIterator() {
|
|
2710
|
+
return this;
|
|
2711
|
+
}, "[Symbol.iterator]", true);
|
|
2712
|
+
defineDataProperty(result, Symbol.iterator, iter, true);
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
var iter;
|
|
2716
|
+
module.exports = result;
|
|
2717
|
+
}
|
|
2718
|
+
});
|
|
2719
|
+
|
|
2720
|
+
// node_modules/es-iterator-helpers/Iterator.prototype/implementation.js
|
|
2721
|
+
var require_implementation4 = __commonJS({
|
|
2722
|
+
"node_modules/es-iterator-helpers/Iterator.prototype/implementation.js"(exports, module) {
|
|
2723
|
+
"use strict";
|
|
2724
|
+
module.exports = require_iterator();
|
|
2725
|
+
}
|
|
2726
|
+
});
|
|
2727
|
+
|
|
2728
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.find/shim.js
|
|
2729
|
+
var require_shim = __commonJS({
|
|
2730
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.find/shim.js"(exports, module) {
|
|
2731
|
+
"use strict";
|
|
2732
|
+
var define = require_define_properties();
|
|
2733
|
+
var getPolyfill = require_polyfill();
|
|
2734
|
+
var $IteratorPrototype = require_implementation4();
|
|
2735
|
+
module.exports = function shimIteratorPrototypeFind() {
|
|
2736
|
+
var polyfill = getPolyfill();
|
|
2737
|
+
define(
|
|
2738
|
+
$IteratorPrototype,
|
|
2739
|
+
{ find: polyfill },
|
|
2740
|
+
{ find: function() {
|
|
2741
|
+
return $IteratorPrototype.find !== polyfill;
|
|
2742
|
+
} }
|
|
2743
|
+
);
|
|
2744
|
+
return polyfill;
|
|
2449
2745
|
};
|
|
2450
2746
|
}
|
|
2451
2747
|
});
|
|
2452
2748
|
|
|
2453
|
-
// node_modules/es-
|
|
2454
|
-
var
|
|
2455
|
-
"node_modules/es-
|
|
2749
|
+
// node_modules/es-abstract/2024/CreateIterResultObject.js
|
|
2750
|
+
var require_CreateIterResultObject = __commonJS({
|
|
2751
|
+
"node_modules/es-abstract/2024/CreateIterResultObject.js"(exports, module) {
|
|
2456
2752
|
"use strict";
|
|
2457
|
-
var
|
|
2458
|
-
module.exports = function
|
|
2459
|
-
if (typeof
|
|
2460
|
-
|
|
2461
|
-
}
|
|
2462
|
-
if (typeof x === "bigint") {
|
|
2463
|
-
return "BigInt";
|
|
2753
|
+
var $TypeError = require_type();
|
|
2754
|
+
module.exports = function CreateIterResultObject(value, done) {
|
|
2755
|
+
if (typeof done !== "boolean") {
|
|
2756
|
+
throw new $TypeError("Assertion failed: Type(done) is not Boolean");
|
|
2464
2757
|
}
|
|
2465
|
-
return
|
|
2758
|
+
return {
|
|
2759
|
+
value,
|
|
2760
|
+
done
|
|
2761
|
+
};
|
|
2466
2762
|
};
|
|
2467
2763
|
}
|
|
2468
2764
|
});
|
|
@@ -2510,9 +2806,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2510
2806
|
}
|
|
2511
2807
|
});
|
|
2512
2808
|
|
|
2513
|
-
// node_modules/es-
|
|
2809
|
+
// node_modules/es-abstract/helpers/forEach.js
|
|
2514
2810
|
var require_forEach = __commonJS({
|
|
2515
|
-
"node_modules/es-
|
|
2811
|
+
"node_modules/es-abstract/helpers/forEach.js"(exports, module) {
|
|
2516
2812
|
"use strict";
|
|
2517
2813
|
module.exports = function forEach(array, callback) {
|
|
2518
2814
|
for (var i = 0; i < array.length; i += 1) {
|
|
@@ -2537,9 +2833,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2537
2833
|
}
|
|
2538
2834
|
});
|
|
2539
2835
|
|
|
2540
|
-
// node_modules/es-
|
|
2836
|
+
// node_modules/es-abstract/2024/OrdinaryObjectCreate.js
|
|
2541
2837
|
var require_OrdinaryObjectCreate = __commonJS({
|
|
2542
|
-
"node_modules/es-
|
|
2838
|
+
"node_modules/es-abstract/2024/OrdinaryObjectCreate.js"(exports, module) {
|
|
2543
2839
|
"use strict";
|
|
2544
2840
|
var GetIntrinsic = require_get_intrinsic();
|
|
2545
2841
|
var $ObjectCreate = GetIntrinsic("%Object.create%", true);
|
|
@@ -2582,9 +2878,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2582
2878
|
}
|
|
2583
2879
|
});
|
|
2584
2880
|
|
|
2585
|
-
// node_modules/es-
|
|
2881
|
+
// node_modules/es-abstract/helpers/every.js
|
|
2586
2882
|
var require_every = __commonJS({
|
|
2587
|
-
"node_modules/es-
|
|
2883
|
+
"node_modules/es-abstract/helpers/every.js"(exports, module) {
|
|
2588
2884
|
"use strict";
|
|
2589
2885
|
module.exports = function every(array, predicate) {
|
|
2590
2886
|
for (var i = 0; i < array.length; i += 1) {
|
|
@@ -2773,57 +3069,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2773
3069
|
}
|
|
2774
3070
|
});
|
|
2775
3071
|
|
|
2776
|
-
// node_modules/es-
|
|
2777
|
-
var require_isPropertyKey = __commonJS({
|
|
2778
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/helpers/isPropertyKey.js"(exports, module) {
|
|
2779
|
-
"use strict";
|
|
2780
|
-
module.exports = function isPropertyKey(argument) {
|
|
2781
|
-
return typeof argument === "string" || typeof argument === "symbol";
|
|
2782
|
-
};
|
|
2783
|
-
}
|
|
2784
|
-
});
|
|
2785
|
-
|
|
2786
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/Get.js
|
|
2787
|
-
var require_Get = __commonJS({
|
|
2788
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/Get.js"(exports, module) {
|
|
2789
|
-
"use strict";
|
|
2790
|
-
var $TypeError = require_type();
|
|
2791
|
-
var inspect = require_object_inspect();
|
|
2792
|
-
var isObject = require_isObject();
|
|
2793
|
-
var isPropertyKey = require_isPropertyKey();
|
|
2794
|
-
module.exports = function Get(O, P) {
|
|
2795
|
-
if (!isObject(O)) {
|
|
2796
|
-
throw new $TypeError("Assertion failed: Type(O) is not Object");
|
|
2797
|
-
}
|
|
2798
|
-
if (!isPropertyKey(P)) {
|
|
2799
|
-
throw new $TypeError("Assertion failed: P is not a Property Key, got " + inspect(P));
|
|
2800
|
-
}
|
|
2801
|
-
return O[P];
|
|
2802
|
-
};
|
|
2803
|
-
}
|
|
2804
|
-
});
|
|
2805
|
-
|
|
2806
|
-
// node_modules/es-iterator-helpers/aos/GetIteratorDirect.js
|
|
2807
|
-
var require_GetIteratorDirect = __commonJS({
|
|
2808
|
-
"node_modules/es-iterator-helpers/aos/GetIteratorDirect.js"(exports, module) {
|
|
2809
|
-
"use strict";
|
|
2810
|
-
var $TypeError = require_type();
|
|
2811
|
-
var Get = require_Get();
|
|
2812
|
-
var Type = require_Type2();
|
|
2813
|
-
module.exports = function GetIteratorDirect(obj) {
|
|
2814
|
-
if (Type(obj) !== "Object") {
|
|
2815
|
-
throw new $TypeError("Assertion failed: `obj` must be an Object");
|
|
2816
|
-
}
|
|
2817
|
-
var nextMethod = Get(obj, "next");
|
|
2818
|
-
var iteratorRecord = { "[[Iterator]]": obj, "[[NextMethod]]": nextMethod, "[[Done]]": false };
|
|
2819
|
-
return iteratorRecord;
|
|
2820
|
-
};
|
|
2821
|
-
}
|
|
2822
|
-
});
|
|
2823
|
-
|
|
2824
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/helpers/isLeadingSurrogate.js
|
|
3072
|
+
// node_modules/es-abstract/helpers/isLeadingSurrogate.js
|
|
2825
3073
|
var require_isLeadingSurrogate = __commonJS({
|
|
2826
|
-
"node_modules/es-
|
|
3074
|
+
"node_modules/es-abstract/helpers/isLeadingSurrogate.js"(exports, module) {
|
|
2827
3075
|
"use strict";
|
|
2828
3076
|
module.exports = function isLeadingSurrogate(charCode) {
|
|
2829
3077
|
return typeof charCode === "number" && charCode >= 55296 && charCode <= 56319;
|
|
@@ -2831,9 +3079,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2831
3079
|
}
|
|
2832
3080
|
});
|
|
2833
3081
|
|
|
2834
|
-
// node_modules/es-
|
|
3082
|
+
// node_modules/es-abstract/helpers/isTrailingSurrogate.js
|
|
2835
3083
|
var require_isTrailingSurrogate = __commonJS({
|
|
2836
|
-
"node_modules/es-
|
|
3084
|
+
"node_modules/es-abstract/helpers/isTrailingSurrogate.js"(exports, module) {
|
|
2837
3085
|
"use strict";
|
|
2838
3086
|
module.exports = function isTrailingSurrogate(charCode) {
|
|
2839
3087
|
return typeof charCode === "number" && charCode >= 56320 && charCode <= 57343;
|
|
@@ -2841,9 +3089,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2841
3089
|
}
|
|
2842
3090
|
});
|
|
2843
3091
|
|
|
2844
|
-
// node_modules/es-
|
|
3092
|
+
// node_modules/es-abstract/2024/UTF16SurrogatePairToCodePoint.js
|
|
2845
3093
|
var require_UTF16SurrogatePairToCodePoint = __commonJS({
|
|
2846
|
-
"node_modules/es-
|
|
3094
|
+
"node_modules/es-abstract/2024/UTF16SurrogatePairToCodePoint.js"(exports, module) {
|
|
2847
3095
|
"use strict";
|
|
2848
3096
|
var GetIntrinsic = require_get_intrinsic();
|
|
2849
3097
|
var $TypeError = require_type();
|
|
@@ -2859,9 +3107,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2859
3107
|
}
|
|
2860
3108
|
});
|
|
2861
3109
|
|
|
2862
|
-
// node_modules/es-
|
|
3110
|
+
// node_modules/es-abstract/2024/CodePointAt.js
|
|
2863
3111
|
var require_CodePointAt = __commonJS({
|
|
2864
|
-
"node_modules/es-
|
|
3112
|
+
"node_modules/es-abstract/2024/CodePointAt.js"(exports, module) {
|
|
2865
3113
|
"use strict";
|
|
2866
3114
|
var $TypeError = require_type();
|
|
2867
3115
|
var callBound = require_call_bound();
|
|
@@ -2951,9 +3199,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2951
3199
|
}
|
|
2952
3200
|
});
|
|
2953
3201
|
|
|
2954
|
-
// node_modules/es-
|
|
3202
|
+
// node_modules/es-abstract/2024/AdvanceStringIndex.js
|
|
2955
3203
|
var require_AdvanceStringIndex = __commonJS({
|
|
2956
|
-
"node_modules/es-
|
|
3204
|
+
"node_modules/es-abstract/2024/AdvanceStringIndex.js"(exports, module) {
|
|
2957
3205
|
"use strict";
|
|
2958
3206
|
var CodePointAt = require_CodePointAt();
|
|
2959
3207
|
var $TypeError = require_type();
|
|
@@ -2982,47 +3230,6 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
2982
3230
|
}
|
|
2983
3231
|
});
|
|
2984
3232
|
|
|
2985
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/GetV.js
|
|
2986
|
-
var require_GetV = __commonJS({
|
|
2987
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/GetV.js"(exports, module) {
|
|
2988
|
-
"use strict";
|
|
2989
|
-
var $TypeError = require_type();
|
|
2990
|
-
var inspect = require_object_inspect();
|
|
2991
|
-
var isPropertyKey = require_isPropertyKey();
|
|
2992
|
-
module.exports = function GetV(V, P) {
|
|
2993
|
-
if (!isPropertyKey(P)) {
|
|
2994
|
-
throw new $TypeError("Assertion failed: P is not a Property Key, got " + inspect(P));
|
|
2995
|
-
}
|
|
2996
|
-
return V[P];
|
|
2997
|
-
};
|
|
2998
|
-
}
|
|
2999
|
-
});
|
|
3000
|
-
|
|
3001
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/GetMethod.js
|
|
3002
|
-
var require_GetMethod = __commonJS({
|
|
3003
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/GetMethod.js"(exports, module) {
|
|
3004
|
-
"use strict";
|
|
3005
|
-
var $TypeError = require_type();
|
|
3006
|
-
var GetV = require_GetV();
|
|
3007
|
-
var IsCallable = require_IsCallable();
|
|
3008
|
-
var isPropertyKey = require_isPropertyKey();
|
|
3009
|
-
var inspect = require_object_inspect();
|
|
3010
|
-
module.exports = function GetMethod(O, P) {
|
|
3011
|
-
if (!isPropertyKey(P)) {
|
|
3012
|
-
throw new $TypeError("Assertion failed: P is not a Property Key");
|
|
3013
|
-
}
|
|
3014
|
-
var func = GetV(O, P);
|
|
3015
|
-
if (func == null) {
|
|
3016
|
-
return void 0;
|
|
3017
|
-
}
|
|
3018
|
-
if (!IsCallable(func)) {
|
|
3019
|
-
throw new $TypeError(inspect(P) + " is not a function: " + inspect(func));
|
|
3020
|
-
}
|
|
3021
|
-
return func;
|
|
3022
|
-
};
|
|
3023
|
-
}
|
|
3024
|
-
});
|
|
3025
|
-
|
|
3026
3233
|
// node_modules/has-tostringtag/shams.js
|
|
3027
3234
|
var require_shams2 = __commonJS({
|
|
3028
3235
|
"node_modules/has-tostringtag/shams.js"(exports, module) {
|
|
@@ -3034,9 +3241,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3034
3241
|
}
|
|
3035
3242
|
});
|
|
3036
3243
|
|
|
3037
|
-
// node_modules/
|
|
3244
|
+
// node_modules/is-string/index.js
|
|
3038
3245
|
var require_is_string = __commonJS({
|
|
3039
|
-
"node_modules/
|
|
3246
|
+
"node_modules/is-string/index.js"(exports, module) {
|
|
3040
3247
|
"use strict";
|
|
3041
3248
|
var callBound = require_call_bound();
|
|
3042
3249
|
var $strValueOf = callBound("String.prototype.valueOf");
|
|
@@ -3063,9 +3270,9 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3063
3270
|
}
|
|
3064
3271
|
});
|
|
3065
3272
|
|
|
3066
|
-
// node_modules/es-
|
|
3273
|
+
// node_modules/es-abstract/helpers/getIteratorMethod.js
|
|
3067
3274
|
var require_getIteratorMethod = __commonJS({
|
|
3068
|
-
"node_modules/es-
|
|
3275
|
+
"node_modules/es-abstract/helpers/getIteratorMethod.js"(exports, module) {
|
|
3069
3276
|
"use strict";
|
|
3070
3277
|
var hasSymbols = require_has_symbols()();
|
|
3071
3278
|
var GetIntrinsic = require_get_intrinsic();
|
|
@@ -3142,189 +3349,17 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3142
3349
|
IsArray
|
|
3143
3350
|
},
|
|
3144
3351
|
obj
|
|
3145
|
-
);
|
|
3146
|
-
var iterator;
|
|
3147
|
-
if (typeof method === "undefined") {
|
|
3148
|
-
iterator = obj;
|
|
3149
|
-
} else {
|
|
3150
|
-
iterator = Call(method, obj);
|
|
3151
|
-
}
|
|
3152
|
-
if (Type(iterator) !== "Object") {
|
|
3153
|
-
throw new $TypeError("iterator must be an Object");
|
|
3154
|
-
}
|
|
3155
|
-
return GetIteratorDirect(iterator);
|
|
3156
|
-
};
|
|
3157
|
-
}
|
|
3158
|
-
});
|
|
3159
|
-
|
|
3160
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/helpers/records/iterator-record.js
|
|
3161
|
-
var require_iterator_record = __commonJS({
|
|
3162
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/helpers/records/iterator-record.js"(exports, module) {
|
|
3163
|
-
"use strict";
|
|
3164
|
-
var hasOwn = require_hasown();
|
|
3165
|
-
module.exports = function isIteratorRecord(value) {
|
|
3166
|
-
return !!value && typeof value === "object" && hasOwn(value, "[[Iterator]]") && hasOwn(value, "[[NextMethod]]") && hasOwn(value, "[[Done]]") && typeof value["[[Done]]"] === "boolean";
|
|
3167
|
-
};
|
|
3168
|
-
}
|
|
3169
|
-
});
|
|
3170
|
-
|
|
3171
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorClose.js
|
|
3172
|
-
var require_IteratorClose = __commonJS({
|
|
3173
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorClose.js"(exports, module) {
|
|
3174
|
-
"use strict";
|
|
3175
|
-
var $TypeError = require_type();
|
|
3176
|
-
var Call = require_Call();
|
|
3177
|
-
var CompletionRecord = require_CompletionRecord();
|
|
3178
|
-
var GetMethod = require_GetMethod();
|
|
3179
|
-
var IsCallable = require_IsCallable();
|
|
3180
|
-
var isObject = require_isObject();
|
|
3181
|
-
var isIteratorRecord = require_iterator_record();
|
|
3182
|
-
module.exports = function IteratorClose(iteratorRecord, completion) {
|
|
3183
|
-
if (!isIteratorRecord(iteratorRecord)) {
|
|
3184
|
-
throw new $TypeError("Assertion failed: `iteratorRecord` must be an Iterator Record");
|
|
3185
|
-
}
|
|
3186
|
-
if (!isObject(iteratorRecord["[[Iterator]]"])) {
|
|
3187
|
-
throw new $TypeError("Assertion failed: iteratorRecord.[[Iterator]] must be an Object");
|
|
3188
|
-
}
|
|
3189
|
-
if (!IsCallable(completion) && !(completion instanceof CompletionRecord)) {
|
|
3190
|
-
throw new $TypeError("Assertion failed: completion is not a thunk representing a Completion Record, nor a Completion Record instance");
|
|
3191
|
-
}
|
|
3192
|
-
var completionThunk = completion instanceof CompletionRecord ? function() {
|
|
3193
|
-
return completion["?"]();
|
|
3194
|
-
} : completion;
|
|
3195
|
-
var iterator = iteratorRecord["[[Iterator]]"];
|
|
3196
|
-
var iteratorReturn;
|
|
3197
|
-
try {
|
|
3198
|
-
iteratorReturn = GetMethod(iterator, "return");
|
|
3199
|
-
} catch (e) {
|
|
3200
|
-
completionThunk();
|
|
3201
|
-
completionThunk = null;
|
|
3202
|
-
throw e;
|
|
3203
|
-
}
|
|
3204
|
-
if (typeof iteratorReturn === "undefined") {
|
|
3205
|
-
return completionThunk();
|
|
3206
|
-
}
|
|
3207
|
-
var innerResult;
|
|
3208
|
-
try {
|
|
3209
|
-
innerResult = Call(iteratorReturn, iterator, []);
|
|
3210
|
-
} catch (e) {
|
|
3211
|
-
completionThunk();
|
|
3212
|
-
completionThunk = null;
|
|
3213
|
-
throw e;
|
|
3214
|
-
}
|
|
3215
|
-
var completionRecord = completionThunk();
|
|
3216
|
-
completionThunk = null;
|
|
3217
|
-
if (!isObject(innerResult)) {
|
|
3218
|
-
throw new $TypeError("iterator .return must return an object");
|
|
3219
|
-
}
|
|
3220
|
-
return completionRecord;
|
|
3221
|
-
};
|
|
3222
|
-
}
|
|
3223
|
-
});
|
|
3224
|
-
|
|
3225
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/ToBoolean.js
|
|
3226
|
-
var require_ToBoolean = __commonJS({
|
|
3227
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/ToBoolean.js"(exports, module) {
|
|
3228
|
-
"use strict";
|
|
3229
|
-
module.exports = function ToBoolean(value) {
|
|
3230
|
-
return !!value;
|
|
3231
|
-
};
|
|
3232
|
-
}
|
|
3233
|
-
});
|
|
3234
|
-
|
|
3235
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorComplete.js
|
|
3236
|
-
var require_IteratorComplete = __commonJS({
|
|
3237
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorComplete.js"(exports, module) {
|
|
3238
|
-
"use strict";
|
|
3239
|
-
var $TypeError = require_type();
|
|
3240
|
-
var Get = require_Get();
|
|
3241
|
-
var ToBoolean = require_ToBoolean();
|
|
3242
|
-
var isObject = require_isObject();
|
|
3243
|
-
module.exports = function IteratorComplete(iterResult) {
|
|
3244
|
-
if (!isObject(iterResult)) {
|
|
3245
|
-
throw new $TypeError("Assertion failed: Type(iterResult) is not Object");
|
|
3246
|
-
}
|
|
3247
|
-
return ToBoolean(Get(iterResult, "done"));
|
|
3248
|
-
};
|
|
3249
|
-
}
|
|
3250
|
-
});
|
|
3251
|
-
|
|
3252
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorNext.js
|
|
3253
|
-
var require_IteratorNext = __commonJS({
|
|
3254
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorNext.js"(exports, module) {
|
|
3255
|
-
"use strict";
|
|
3256
|
-
var $TypeError = require_type();
|
|
3257
|
-
var Call = require_Call();
|
|
3258
|
-
var isObject = require_isObject();
|
|
3259
|
-
var isIteratorRecord = require_iterator_record();
|
|
3260
|
-
module.exports = function IteratorNext(iteratorRecord) {
|
|
3261
|
-
if (!isIteratorRecord(iteratorRecord)) {
|
|
3262
|
-
throw new $TypeError("Assertion failed: `iteratorRecord` must be an Iterator Record");
|
|
3263
|
-
}
|
|
3264
|
-
var result;
|
|
3265
|
-
if (arguments.length < 2) {
|
|
3266
|
-
result = Call(iteratorRecord["[[NextMethod]]"], iteratorRecord["[[Iterator]]"]);
|
|
3267
|
-
} else {
|
|
3268
|
-
result = Call(iteratorRecord["[[NextMethod]]"], iteratorRecord["[[Iterator]]"], [arguments[1]]);
|
|
3269
|
-
}
|
|
3270
|
-
if (!isObject(result)) {
|
|
3271
|
-
throw new $TypeError("iterator next must return an object");
|
|
3272
|
-
}
|
|
3273
|
-
return result;
|
|
3274
|
-
};
|
|
3275
|
-
}
|
|
3276
|
-
});
|
|
3277
|
-
|
|
3278
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorStepValue.js
|
|
3279
|
-
var require_IteratorStepValue = __commonJS({
|
|
3280
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/IteratorStepValue.js"(exports, module) {
|
|
3281
|
-
"use strict";
|
|
3282
|
-
var $TypeError = require_type();
|
|
3283
|
-
var Get = require_Get();
|
|
3284
|
-
var IteratorComplete = require_IteratorComplete();
|
|
3285
|
-
var IteratorNext = require_IteratorNext();
|
|
3286
|
-
var isIteratorRecord = require_iterator_record();
|
|
3287
|
-
module.exports = function IteratorStepValue(iteratorRecord) {
|
|
3288
|
-
if (!isIteratorRecord(iteratorRecord)) {
|
|
3289
|
-
throw new $TypeError("Assertion failed: `iteratorRecord` must be an Iterator Record");
|
|
3290
|
-
}
|
|
3291
|
-
var result;
|
|
3292
|
-
try {
|
|
3293
|
-
result = IteratorNext(iteratorRecord);
|
|
3294
|
-
} catch (e) {
|
|
3295
|
-
iteratorRecord["[[Done]]"] = true;
|
|
3296
|
-
throw e;
|
|
3297
|
-
}
|
|
3298
|
-
var done;
|
|
3299
|
-
try {
|
|
3300
|
-
done = IteratorComplete(result);
|
|
3301
|
-
} catch (e) {
|
|
3302
|
-
iteratorRecord["[[Done]]"] = true;
|
|
3303
|
-
throw e;
|
|
3304
|
-
}
|
|
3305
|
-
if (done) {
|
|
3306
|
-
iteratorRecord["[[Done]]"] = true;
|
|
3307
|
-
return "DONE";
|
|
3352
|
+
);
|
|
3353
|
+
var iterator;
|
|
3354
|
+
if (typeof method === "undefined") {
|
|
3355
|
+
iterator = obj;
|
|
3356
|
+
} else {
|
|
3357
|
+
iterator = Call(method, obj);
|
|
3308
3358
|
}
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
value = Get(result, "value");
|
|
3312
|
-
} catch (e) {
|
|
3313
|
-
iteratorRecord["[[Done]]"] = true;
|
|
3314
|
-
throw e;
|
|
3359
|
+
if (Type(iterator) !== "Object") {
|
|
3360
|
+
throw new $TypeError("iterator must be an Object");
|
|
3315
3361
|
}
|
|
3316
|
-
return
|
|
3317
|
-
};
|
|
3318
|
-
}
|
|
3319
|
-
});
|
|
3320
|
-
|
|
3321
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/ThrowCompletion.js
|
|
3322
|
-
var require_ThrowCompletion = __commonJS({
|
|
3323
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/ThrowCompletion.js"(exports, module) {
|
|
3324
|
-
"use strict";
|
|
3325
|
-
var CompletionRecord = require_CompletionRecord();
|
|
3326
|
-
module.exports = function ThrowCompletion(argument) {
|
|
3327
|
-
return new CompletionRecord("throw", argument);
|
|
3362
|
+
return GetIteratorDirect(iterator);
|
|
3328
3363
|
};
|
|
3329
3364
|
}
|
|
3330
3365
|
});
|
|
@@ -3361,110 +3396,6 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3361
3396
|
}
|
|
3362
3397
|
});
|
|
3363
3398
|
|
|
3364
|
-
// node_modules/functions-have-names/index.js
|
|
3365
|
-
var require_functions_have_names = __commonJS({
|
|
3366
|
-
"node_modules/functions-have-names/index.js"(exports, module) {
|
|
3367
|
-
"use strict";
|
|
3368
|
-
var functionsHaveNames = function functionsHaveNames2() {
|
|
3369
|
-
return typeof function f() {
|
|
3370
|
-
}.name === "string";
|
|
3371
|
-
};
|
|
3372
|
-
var gOPD = Object.getOwnPropertyDescriptor;
|
|
3373
|
-
if (gOPD) {
|
|
3374
|
-
try {
|
|
3375
|
-
gOPD([], "length");
|
|
3376
|
-
} catch (e) {
|
|
3377
|
-
gOPD = null;
|
|
3378
|
-
}
|
|
3379
|
-
}
|
|
3380
|
-
functionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {
|
|
3381
|
-
if (!functionsHaveNames() || !gOPD) {
|
|
3382
|
-
return false;
|
|
3383
|
-
}
|
|
3384
|
-
var desc = gOPD(function() {
|
|
3385
|
-
}, "name");
|
|
3386
|
-
return !!desc && !!desc.configurable;
|
|
3387
|
-
};
|
|
3388
|
-
var $bind = Function.prototype.bind;
|
|
3389
|
-
functionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {
|
|
3390
|
-
return functionsHaveNames() && typeof $bind === "function" && function f() {
|
|
3391
|
-
}.bind().name !== "";
|
|
3392
|
-
};
|
|
3393
|
-
module.exports = functionsHaveNames;
|
|
3394
|
-
}
|
|
3395
|
-
});
|
|
3396
|
-
|
|
3397
|
-
// node_modules/set-function-name/index.js
|
|
3398
|
-
var require_set_function_name = __commonJS({
|
|
3399
|
-
"node_modules/set-function-name/index.js"(exports, module) {
|
|
3400
|
-
"use strict";
|
|
3401
|
-
var define = require_define_data_property();
|
|
3402
|
-
var hasDescriptors = require_has_property_descriptors()();
|
|
3403
|
-
var functionsHaveConfigurableNames = require_functions_have_names().functionsHaveConfigurableNames();
|
|
3404
|
-
var $TypeError = require_type();
|
|
3405
|
-
module.exports = function setFunctionName(fn, name) {
|
|
3406
|
-
if (typeof fn !== "function") {
|
|
3407
|
-
throw new $TypeError("`fn` is not a function");
|
|
3408
|
-
}
|
|
3409
|
-
var loose = arguments.length > 2 && !!arguments[2];
|
|
3410
|
-
if (!loose || functionsHaveConfigurableNames) {
|
|
3411
|
-
if (hasDescriptors) {
|
|
3412
|
-
define(
|
|
3413
|
-
/** @type {Parameters<define>[0]} */
|
|
3414
|
-
fn,
|
|
3415
|
-
"name",
|
|
3416
|
-
name,
|
|
3417
|
-
true,
|
|
3418
|
-
true
|
|
3419
|
-
);
|
|
3420
|
-
} else {
|
|
3421
|
-
define(
|
|
3422
|
-
/** @type {Parameters<define>[0]} */
|
|
3423
|
-
fn,
|
|
3424
|
-
"name",
|
|
3425
|
-
name
|
|
3426
|
-
);
|
|
3427
|
-
}
|
|
3428
|
-
}
|
|
3429
|
-
return fn;
|
|
3430
|
-
};
|
|
3431
|
-
}
|
|
3432
|
-
});
|
|
3433
|
-
|
|
3434
|
-
// node_modules/iterator.prototype/index.js
|
|
3435
|
-
var require_iterator = __commonJS({
|
|
3436
|
-
"node_modules/iterator.prototype/index.js"(exports, module) {
|
|
3437
|
-
"use strict";
|
|
3438
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
3439
|
-
var gPO = require_get_proto();
|
|
3440
|
-
var hasSymbols = require_has_symbols();
|
|
3441
|
-
var setFunctionName = require_set_function_name();
|
|
3442
|
-
var defineDataProperty = require_define_data_property();
|
|
3443
|
-
var $Object = require_es_object_atoms();
|
|
3444
|
-
var arrayIterProto = GetIntrinsic("%ArrayIteratorPrototype%", true);
|
|
3445
|
-
var iterProto = arrayIterProto && gPO(arrayIterProto);
|
|
3446
|
-
var result = iterProto !== $Object.prototype && iterProto || {};
|
|
3447
|
-
if (hasSymbols()) {
|
|
3448
|
-
if (!(Symbol.iterator in result)) {
|
|
3449
|
-
iter = setFunctionName(function SymbolIterator() {
|
|
3450
|
-
return this;
|
|
3451
|
-
}, "[Symbol.iterator]", true);
|
|
3452
|
-
defineDataProperty(result, Symbol.iterator, iter, true);
|
|
3453
|
-
}
|
|
3454
|
-
}
|
|
3455
|
-
var iter;
|
|
3456
|
-
module.exports = result;
|
|
3457
|
-
}
|
|
3458
|
-
});
|
|
3459
|
-
|
|
3460
|
-
// node_modules/es-iterator-helpers/Iterator.prototype/implementation.js
|
|
3461
|
-
var require_implementation5 = __commonJS({
|
|
3462
|
-
"node_modules/es-iterator-helpers/Iterator.prototype/implementation.js"(exports, module) {
|
|
3463
|
-
"use strict";
|
|
3464
|
-
module.exports = require_iterator();
|
|
3465
|
-
}
|
|
3466
|
-
});
|
|
3467
|
-
|
|
3468
3399
|
// node_modules/es-iterator-helpers/aos/GeneratorValidate.js
|
|
3469
3400
|
var require_GeneratorValidate = __commonJS({
|
|
3470
3401
|
"node_modules/es-iterator-helpers/aos/GeneratorValidate.js"(exports, module) {
|
|
@@ -3512,17 +3443,6 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3512
3443
|
}
|
|
3513
3444
|
});
|
|
3514
3445
|
|
|
3515
|
-
// node_modules/es-iterator-helpers/node_modules/es-abstract/2024/NormalCompletion.js
|
|
3516
|
-
var require_NormalCompletion = __commonJS({
|
|
3517
|
-
"node_modules/es-iterator-helpers/node_modules/es-abstract/2024/NormalCompletion.js"(exports, module) {
|
|
3518
|
-
"use strict";
|
|
3519
|
-
var CompletionRecord = require_CompletionRecord();
|
|
3520
|
-
module.exports = function NormalCompletion(value) {
|
|
3521
|
-
return new CompletionRecord("normal", value);
|
|
3522
|
-
};
|
|
3523
|
-
}
|
|
3524
|
-
});
|
|
3525
|
-
|
|
3526
3446
|
// node_modules/es-iterator-helpers/aos/GeneratorResumeAbrupt.js
|
|
3527
3447
|
var require_GeneratorResumeAbrupt = __commonJS({
|
|
3528
3448
|
"node_modules/es-iterator-helpers/aos/GeneratorResumeAbrupt.js"(exports, module) {
|
|
@@ -3608,7 +3528,7 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3608
3528
|
"use strict";
|
|
3609
3529
|
var setToStringTag = require_es_set_tostringtag();
|
|
3610
3530
|
var hasProto = require_has_proto()();
|
|
3611
|
-
var iterProto =
|
|
3531
|
+
var iterProto = require_implementation4();
|
|
3612
3532
|
var SLOT = require_internal_slot();
|
|
3613
3533
|
var CreateIterResultObject = require_CreateIterResultObject();
|
|
3614
3534
|
var GeneratorResume = require_GeneratorResume();
|
|
@@ -3657,7 +3577,7 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3657
3577
|
});
|
|
3658
3578
|
|
|
3659
3579
|
// node_modules/es-iterator-helpers/Iterator.prototype.flatMap/implementation.js
|
|
3660
|
-
var
|
|
3580
|
+
var require_implementation5 = __commonJS({
|
|
3661
3581
|
"node_modules/es-iterator-helpers/Iterator.prototype.flatMap/implementation.js"(exports, module) {
|
|
3662
3582
|
"use strict";
|
|
3663
3583
|
var $TypeError = require_type();
|
|
@@ -3758,10 +3678,10 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3758
3678
|
});
|
|
3759
3679
|
|
|
3760
3680
|
// node_modules/es-iterator-helpers/Iterator.prototype.flatMap/polyfill.js
|
|
3761
|
-
var
|
|
3681
|
+
var require_polyfill2 = __commonJS({
|
|
3762
3682
|
"node_modules/es-iterator-helpers/Iterator.prototype.flatMap/polyfill.js"(exports, module) {
|
|
3763
3683
|
"use strict";
|
|
3764
|
-
var implementation =
|
|
3684
|
+
var implementation = require_implementation5();
|
|
3765
3685
|
module.exports = function getPolyfill() {
|
|
3766
3686
|
if (typeof Iterator === "function" && typeof Iterator.prototype.flatMap === "function") {
|
|
3767
3687
|
try {
|
|
@@ -3777,12 +3697,12 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3777
3697
|
});
|
|
3778
3698
|
|
|
3779
3699
|
// node_modules/es-iterator-helpers/Iterator.prototype.flatMap/shim.js
|
|
3780
|
-
var
|
|
3700
|
+
var require_shim2 = __commonJS({
|
|
3781
3701
|
"node_modules/es-iterator-helpers/Iterator.prototype.flatMap/shim.js"(exports, module) {
|
|
3782
3702
|
"use strict";
|
|
3783
3703
|
var define = require_define_properties();
|
|
3784
|
-
var getPolyfill =
|
|
3785
|
-
var $IteratorPrototype =
|
|
3704
|
+
var getPolyfill = require_polyfill2();
|
|
3705
|
+
var $IteratorPrototype = require_implementation4();
|
|
3786
3706
|
module.exports = function shimIteratorPrototypeFlatMap() {
|
|
3787
3707
|
var polyfill = getPolyfill();
|
|
3788
3708
|
define(
|
|
@@ -3797,6 +3717,180 @@ export * as ScriptDuplication from './ScriptDuplication.js';
|
|
|
3797
3717
|
}
|
|
3798
3718
|
});
|
|
3799
3719
|
|
|
3800
|
-
// node_modules/es-iterator-helpers/Iterator.prototype.
|
|
3720
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.map/implementation.js
|
|
3721
|
+
var require_implementation6 = __commonJS({
|
|
3722
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.map/implementation.js"(exports, module) {
|
|
3723
|
+
"use strict";
|
|
3724
|
+
var $TypeError = require_type();
|
|
3725
|
+
var Call = require_Call();
|
|
3726
|
+
var CompletionRecord = require_CompletionRecord();
|
|
3727
|
+
var CreateIteratorFromClosure = require_CreateIteratorFromClosure();
|
|
3728
|
+
var GetIteratorDirect = require_GetIteratorDirect();
|
|
3729
|
+
var IsCallable = require_IsCallable();
|
|
3730
|
+
var IteratorClose = require_IteratorClose();
|
|
3731
|
+
var IteratorStepValue = require_IteratorStepValue();
|
|
3732
|
+
var ThrowCompletion = require_ThrowCompletion();
|
|
3733
|
+
var Type = require_Type2();
|
|
3734
|
+
var iterHelperProto = require_IteratorHelperPrototype();
|
|
3735
|
+
var SLOT = require_internal_slot();
|
|
3736
|
+
module.exports = function map(mapper) {
|
|
3737
|
+
if (this instanceof map) {
|
|
3738
|
+
throw new $TypeError("`map` is not a constructor");
|
|
3739
|
+
}
|
|
3740
|
+
var O = this;
|
|
3741
|
+
if (Type(O) !== "Object") {
|
|
3742
|
+
throw new $TypeError("`this` value must be an Object");
|
|
3743
|
+
}
|
|
3744
|
+
if (!IsCallable(mapper)) {
|
|
3745
|
+
throw new $TypeError("`mapper` must be a function");
|
|
3746
|
+
}
|
|
3747
|
+
var iterated = GetIteratorDirect(O);
|
|
3748
|
+
var closeIfAbrupt = function(abruptCompletion) {
|
|
3749
|
+
if (!(abruptCompletion instanceof CompletionRecord)) {
|
|
3750
|
+
throw new $TypeError("`abruptCompletion` must be a Completion Record");
|
|
3751
|
+
}
|
|
3752
|
+
IteratorClose(
|
|
3753
|
+
iterated,
|
|
3754
|
+
abruptCompletion
|
|
3755
|
+
);
|
|
3756
|
+
};
|
|
3757
|
+
var sentinel = {};
|
|
3758
|
+
var counter = 0;
|
|
3759
|
+
var closure = function() {
|
|
3760
|
+
var value = IteratorStepValue(iterated);
|
|
3761
|
+
if (iterated["[[Done]]"]) {
|
|
3762
|
+
return sentinel;
|
|
3763
|
+
}
|
|
3764
|
+
var mapped;
|
|
3765
|
+
try {
|
|
3766
|
+
mapped = Call(mapper, void 0, [value, counter]);
|
|
3767
|
+
return mapped;
|
|
3768
|
+
} catch (e) {
|
|
3769
|
+
closeIfAbrupt(ThrowCompletion(e));
|
|
3770
|
+
throw e;
|
|
3771
|
+
} finally {
|
|
3772
|
+
counter += 1;
|
|
3773
|
+
}
|
|
3774
|
+
};
|
|
3775
|
+
SLOT.set(closure, "[[Sentinel]]", sentinel);
|
|
3776
|
+
SLOT.set(closure, "[[CloseIfAbrupt]]", closeIfAbrupt);
|
|
3777
|
+
var result = CreateIteratorFromClosure(closure, "Iterator Helper", iterHelperProto, ["[[UnderlyingIterators]]"]);
|
|
3778
|
+
SLOT.set(result, "[[UnderlyingIterators]]", [iterated]);
|
|
3779
|
+
return result;
|
|
3780
|
+
};
|
|
3781
|
+
}
|
|
3782
|
+
});
|
|
3783
|
+
|
|
3784
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.map/polyfill.js
|
|
3785
|
+
var require_polyfill3 = __commonJS({
|
|
3786
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.map/polyfill.js"(exports, module) {
|
|
3787
|
+
"use strict";
|
|
3788
|
+
var implementation = require_implementation6();
|
|
3789
|
+
module.exports = function getPolyfill() {
|
|
3790
|
+
if (typeof Iterator === "function" && typeof Iterator.prototype.map === "function") {
|
|
3791
|
+
try {
|
|
3792
|
+
Iterator.prototype.map.call({ next: null }, function() {
|
|
3793
|
+
}).next();
|
|
3794
|
+
} catch (e) {
|
|
3795
|
+
return Iterator.prototype.map;
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
return implementation;
|
|
3799
|
+
};
|
|
3800
|
+
}
|
|
3801
|
+
});
|
|
3802
|
+
|
|
3803
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.map/shim.js
|
|
3804
|
+
var require_shim3 = __commonJS({
|
|
3805
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.map/shim.js"(exports, module) {
|
|
3806
|
+
"use strict";
|
|
3807
|
+
var define = require_define_properties();
|
|
3808
|
+
var getPolyfill = require_polyfill3();
|
|
3809
|
+
var $IteratorPrototype = require_implementation4();
|
|
3810
|
+
module.exports = function shimIteratorPrototypeMap() {
|
|
3811
|
+
var polyfill = getPolyfill();
|
|
3812
|
+
define(
|
|
3813
|
+
$IteratorPrototype,
|
|
3814
|
+
{ map: polyfill },
|
|
3815
|
+
{ map: function() {
|
|
3816
|
+
return $IteratorPrototype.map !== polyfill;
|
|
3817
|
+
} }
|
|
3818
|
+
);
|
|
3819
|
+
return polyfill;
|
|
3820
|
+
};
|
|
3821
|
+
}
|
|
3822
|
+
});
|
|
3823
|
+
|
|
3824
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.toArray/implementation.js
|
|
3825
|
+
var require_implementation7 = __commonJS({
|
|
3826
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.toArray/implementation.js"(exports, module) {
|
|
3827
|
+
"use strict";
|
|
3828
|
+
var $TypeError = require_type();
|
|
3829
|
+
var GetIteratorDirect = require_GetIteratorDirect();
|
|
3830
|
+
var IteratorStepValue = require_IteratorStepValue();
|
|
3831
|
+
var Type = require_Type2();
|
|
3832
|
+
module.exports = function toArray() {
|
|
3833
|
+
if (this instanceof toArray) {
|
|
3834
|
+
throw new $TypeError("`toArray` is not a constructor");
|
|
3835
|
+
}
|
|
3836
|
+
var O = this;
|
|
3837
|
+
if (Type(O) !== "Object") {
|
|
3838
|
+
throw new $TypeError("`this` value must be an Object");
|
|
3839
|
+
}
|
|
3840
|
+
var iterated = GetIteratorDirect(O);
|
|
3841
|
+
var items = [];
|
|
3842
|
+
while (true) {
|
|
3843
|
+
var value = IteratorStepValue(iterated);
|
|
3844
|
+
if (iterated["[[Done]]"]) {
|
|
3845
|
+
return items;
|
|
3846
|
+
}
|
|
3847
|
+
items[items.length] = value;
|
|
3848
|
+
}
|
|
3849
|
+
};
|
|
3850
|
+
}
|
|
3851
|
+
});
|
|
3852
|
+
|
|
3853
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.toArray/polyfill.js
|
|
3854
|
+
var require_polyfill4 = __commonJS({
|
|
3855
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.toArray/polyfill.js"(exports, module) {
|
|
3856
|
+
"use strict";
|
|
3857
|
+
var implementation = require_implementation7();
|
|
3858
|
+
module.exports = function getPolyfill() {
|
|
3859
|
+
return typeof Iterator === "function" && typeof Iterator.prototype.toArray === "function" ? Iterator.prototype.toArray : implementation;
|
|
3860
|
+
};
|
|
3861
|
+
}
|
|
3862
|
+
});
|
|
3863
|
+
|
|
3864
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.toArray/shim.js
|
|
3865
|
+
var require_shim4 = __commonJS({
|
|
3866
|
+
"node_modules/es-iterator-helpers/Iterator.prototype.toArray/shim.js"(exports, module) {
|
|
3867
|
+
"use strict";
|
|
3868
|
+
var define = require_define_properties();
|
|
3869
|
+
var getPolyfill = require_polyfill4();
|
|
3870
|
+
var $IteratorPrototype = require_implementation4();
|
|
3871
|
+
module.exports = function shimIteratorPrototypeToArray() {
|
|
3872
|
+
var polyfill = getPolyfill();
|
|
3873
|
+
define(
|
|
3874
|
+
$IteratorPrototype,
|
|
3875
|
+
{ toArray: polyfill },
|
|
3876
|
+
{ toArray: function() {
|
|
3877
|
+
return $IteratorPrototype.toArray !== polyfill;
|
|
3878
|
+
} }
|
|
3879
|
+
);
|
|
3880
|
+
return polyfill;
|
|
3881
|
+
};
|
|
3882
|
+
}
|
|
3883
|
+
});
|
|
3884
|
+
|
|
3885
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.find/auto.js
|
|
3801
3886
|
require_shim()();
|
|
3887
|
+
|
|
3888
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.flatMap/auto.js
|
|
3889
|
+
require_shim2()();
|
|
3890
|
+
|
|
3891
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.map/auto.js
|
|
3892
|
+
require_shim3()();
|
|
3893
|
+
|
|
3894
|
+
// node_modules/es-iterator-helpers/Iterator.prototype.toArray/auto.js
|
|
3895
|
+
require_shim4()();
|
|
3802
3896
|
})();
|