@pie-lib/tools 2.0.2 → 2.0.3-next.0
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/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/anchor-utils.d.ts +60 -0
- package/dist/anchor-utils.js +87 -0
- package/dist/anchor.d.ts +13 -0
- package/dist/anchor.js +17 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +5 -0
- package/dist/node_modules/.bun/assert@1.5.1/node_modules/assert/assert.js +174 -0
- package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js +13 -0
- package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js +8 -0
- package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js +8 -0
- package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js +16 -0
- package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js +8 -0
- package/dist/node_modules/.bun/call-bound@1.0.4/node_modules/call-bound/index.js +14 -0
- package/dist/node_modules/.bun/degrees-radians@1.0.3/node_modules/degrees-radians/index.js +12 -0
- package/dist/node_modules/.bun/dunder-proto@1.0.1/node_modules/dunder-proto/get.js +19 -0
- package/dist/node_modules/.bun/es-define-property@1.0.1/node_modules/es-define-property/index.js +14 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/eval.js +8 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/index.js +8 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/range.js +8 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/ref.js +8 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/syntax.js +8 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/type.js +8 -0
- package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/uri.js +8 -0
- package/dist/node_modules/.bun/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js +8 -0
- package/dist/node_modules/.bun/function-bind@1.1.2/node_modules/function-bind/implementation.js +34 -0
- package/dist/node_modules/.bun/function-bind@1.1.2/node_modules/function-bind/index.js +10 -0
- package/dist/node_modules/.bun/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js +283 -0
- package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js +9 -0
- package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js +8 -0
- package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/index.js +19 -0
- package/dist/node_modules/.bun/gopd@1.2.0/node_modules/gopd/gOPD.js +8 -0
- package/dist/node_modules/.bun/gopd@1.2.0/node_modules/gopd/index.js +15 -0
- package/dist/node_modules/.bun/has-symbols@1.1.0/node_modules/has-symbols/index.js +12 -0
- package/dist/node_modules/.bun/has-symbols@1.1.0/node_modules/has-symbols/shams.js +23 -0
- package/dist/node_modules/.bun/hasown@2.0.4/node_modules/hasown/index.js +10 -0
- package/dist/node_modules/.bun/inherits@2.0.3/node_modules/inherits/inherits_browser.js +19 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js +8 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js +8 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js +10 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js +8 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js +8 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js +8 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js +8 -0
- package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js +12 -0
- package/dist/node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/implementation.js +77 -0
- package/dist/node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/index.js +20 -0
- package/dist/node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/isArguments.js +12 -0
- package/dist/node_modules/.bun/object.assign@4.1.7/node_modules/object.assign/implementation.js +29 -0
- package/dist/node_modules/.bun/object.assign@4.1.7/node_modules/object.assign/polyfill.js +27 -0
- package/dist/node_modules/.bun/radians-degrees@1.0.0/node_modules/radians-degrees/index.js +11 -0
- package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/LegacyPortal.js +77 -0
- package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/Portal.js +55 -0
- package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/PortalCompat.js +9 -0
- package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/utils.js +4 -0
- package/dist/node_modules/.bun/trigonometry-calculator@2.0.0/node_modules/trigonometry-calculator/lib/index.js +53 -0
- package/dist/node_modules/.bun/trigonometry-equations@2.0.1/node_modules/trigonometry-equations/lib/index.js +129 -0
- package/dist/node_modules/.bun/util@0.10.4/node_modules/util/support/isBufferBrowser.js +10 -0
- package/dist/node_modules/.bun/util@0.10.4/node_modules/util/util.js +262 -0
- package/dist/protractor/graphic.d.ts +13 -0
- package/dist/protractor/graphic.js +85 -0
- package/dist/protractor/index.d.ts +29 -0
- package/dist/protractor/index.js +56 -0
- package/dist/rotatable.d.ts +56 -0
- package/dist/rotatable.js +210 -0
- package/dist/ruler/graphic.d.ts +20 -0
- package/dist/ruler/graphic.js +53 -0
- package/dist/ruler/index.d.ts +32 -0
- package/dist/ruler/index.js +77 -0
- package/dist/ruler/unit-type.d.ts +30 -0
- package/dist/ruler/unit-type.js +38 -0
- package/dist/ruler/unit.d.ts +21 -0
- package/dist/ruler/unit.js +69 -0
- package/dist/style-utils.d.ts +12 -0
- package/dist/style-utils.js +5 -0
- package/dist/transform-origin.d.ts +18 -0
- package/dist/transform-origin.js +21 -0
- package/package.json +31 -25
- package/CHANGELOG.json +0 -1
- package/CHANGELOG.md +0 -626
- package/LICENSE.md +0 -5
- package/lib/anchor-utils.js +0 -193
- package/lib/anchor-utils.js.map +0 -1
- package/lib/anchor.js +0 -33
- package/lib/anchor.js.map +0 -1
- package/lib/index.js +0 -33
- package/lib/index.js.map +0 -1
- package/lib/protractor/graphic.js +0 -147
- package/lib/protractor/graphic.js.map +0 -1
- package/lib/protractor/index.js +0 -90
- package/lib/protractor/index.js.map +0 -1
- package/lib/rotatable.js +0 -335
- package/lib/rotatable.js.map +0 -1
- package/lib/ruler/graphic.js +0 -89
- package/lib/ruler/graphic.js.map +0 -1
- package/lib/ruler/index.js +0 -114
- package/lib/ruler/index.js.map +0 -1
- package/lib/ruler/unit-type.js +0 -55
- package/lib/ruler/unit-type.js.map +0 -1
- package/lib/ruler/unit.js +0 -124
- package/lib/ruler/unit.js.map +0 -1
- package/lib/style-utils.js +0 -21
- package/lib/style-utils.js.map +0 -1
- package/lib/transform-origin.js +0 -71
- package/lib/transform-origin.js.map +0 -1
- package/src/__tests__/anchor-utils.test.js +0 -131
- package/src/__tests__/rotatable.test.jsx +0 -263
- package/src/__tests__/transform-origin.test.jsx +0 -24
- package/src/anchor-utils.js +0 -153
- package/src/anchor.jsx +0 -20
- package/src/index.js +0 -6
- package/src/protractor/__tests__/graphic.test.jsx +0 -64
- package/src/protractor/__tests__/index.test.jsx +0 -65
- package/src/protractor/graphic.jsx +0 -82
- package/src/protractor/index.jsx +0 -67
- package/src/rotatable.jsx +0 -290
- package/src/ruler/__tests__/graphic.test.jsx +0 -64
- package/src/ruler/__tests__/index.test.jsx +0 -85
- package/src/ruler/__tests__/unit-type.test.jsx +0 -66
- package/src/ruler/__tests__/unit.test.jsx +0 -68
- package/src/ruler/graphic.jsx +0 -48
- package/src/ruler/index.jsx +0 -78
- package/src/ruler/unit-type.jsx +0 -39
- package/src/ruler/unit.jsx +0 -83
- package/src/style-utils.js +0 -7
- package/src/transform-origin.jsx +0 -60
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_es_object_atoms as t } from "../../../es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js";
|
|
3
|
+
import { require_es_errors as n } from "../../../es-errors@1.3.0/node_modules/es-errors/index.js";
|
|
4
|
+
import { require_eval as r } from "../../../es-errors@1.3.0/node_modules/es-errors/eval.js";
|
|
5
|
+
import { require_range as i } from "../../../es-errors@1.3.0/node_modules/es-errors/range.js";
|
|
6
|
+
import { require_ref as a } from "../../../es-errors@1.3.0/node_modules/es-errors/ref.js";
|
|
7
|
+
import { require_syntax as o } from "../../../es-errors@1.3.0/node_modules/es-errors/syntax.js";
|
|
8
|
+
import { require_type as s } from "../../../es-errors@1.3.0/node_modules/es-errors/type.js";
|
|
9
|
+
import { require_uri as c } from "../../../es-errors@1.3.0/node_modules/es-errors/uri.js";
|
|
10
|
+
import { require_abs as l } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js";
|
|
11
|
+
import { require_floor as u } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js";
|
|
12
|
+
import { require_max as d } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js";
|
|
13
|
+
import { require_min as f } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js";
|
|
14
|
+
import { require_pow as p } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js";
|
|
15
|
+
import { require_round as m } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js";
|
|
16
|
+
import { require_sign as h } from "../../../math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js";
|
|
17
|
+
import { require_gopd as ee } from "../../../gopd@1.2.0/node_modules/gopd/index.js";
|
|
18
|
+
import { require_es_define_property as te } from "../../../es-define-property@1.0.1/node_modules/es-define-property/index.js";
|
|
19
|
+
import { require_has_symbols as ne } from "../../../has-symbols@1.1.0/node_modules/has-symbols/index.js";
|
|
20
|
+
import { require_Reflect_getPrototypeOf as g } from "../../../get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js";
|
|
21
|
+
import { require_Object_getPrototypeOf as _ } from "../../../get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js";
|
|
22
|
+
import { require_function_bind as v } from "../../../function-bind@1.1.2/node_modules/function-bind/index.js";
|
|
23
|
+
import { require_functionCall as y } from "../../../call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js";
|
|
24
|
+
import { require_functionApply as b } from "../../../call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js";
|
|
25
|
+
import { require_get_proto as x } from "../../../get-proto@1.0.1/node_modules/get-proto/index.js";
|
|
26
|
+
import { require_hasown as S } from "../../../hasown@2.0.4/node_modules/hasown/index.js";
|
|
27
|
+
//#region ../../../node_modules/.bun/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
28
|
+
var C = /* @__PURE__ */ e(((e, C) => {
|
|
29
|
+
var w, re = t(), ie = n(), ae = r(), oe = i(), se = a(), T = o(), E = s(), D = c(), O = l(), k = u(), A = d(), j = f(), M = p(), N = m(), P = h(), F = Function, I = function(e) {
|
|
30
|
+
try {
|
|
31
|
+
return F("\"use strict\"; return (" + e + ").constructor;")();
|
|
32
|
+
} catch {}
|
|
33
|
+
}, L = ee(), R = te(), z = function() {
|
|
34
|
+
throw new E();
|
|
35
|
+
}, B = L ? function() {
|
|
36
|
+
try {
|
|
37
|
+
return arguments.callee, z;
|
|
38
|
+
} catch {
|
|
39
|
+
try {
|
|
40
|
+
return L(arguments, "callee").get;
|
|
41
|
+
} catch {
|
|
42
|
+
return z;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}() : z, V = ne()(), H = x(), ce = _(), U = g(), W = b(), G = y(), K = {}, le = typeof Uint8Array > "u" || !H ? w : H(Uint8Array), q = {
|
|
46
|
+
__proto__: null,
|
|
47
|
+
"%AggregateError%": typeof AggregateError > "u" ? w : AggregateError,
|
|
48
|
+
"%Array%": Array,
|
|
49
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? w : ArrayBuffer,
|
|
50
|
+
"%ArrayIteratorPrototype%": V && H ? H([][Symbol.iterator]()) : w,
|
|
51
|
+
"%AsyncFromSyncIteratorPrototype%": w,
|
|
52
|
+
"%AsyncFunction%": K,
|
|
53
|
+
"%AsyncGenerator%": K,
|
|
54
|
+
"%AsyncGeneratorFunction%": K,
|
|
55
|
+
"%AsyncIteratorPrototype%": K,
|
|
56
|
+
"%Atomics%": typeof Atomics > "u" ? w : Atomics,
|
|
57
|
+
"%BigInt%": typeof BigInt > "u" ? w : BigInt,
|
|
58
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? w : BigInt64Array,
|
|
59
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? w : BigUint64Array,
|
|
60
|
+
"%Boolean%": Boolean,
|
|
61
|
+
"%DataView%": typeof DataView > "u" ? w : DataView,
|
|
62
|
+
"%Date%": Date,
|
|
63
|
+
"%decodeURI%": decodeURI,
|
|
64
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
65
|
+
"%encodeURI%": encodeURI,
|
|
66
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
67
|
+
"%Error%": ie,
|
|
68
|
+
"%eval%": eval,
|
|
69
|
+
"%EvalError%": ae,
|
|
70
|
+
"%Float16Array%": typeof Float16Array > "u" ? w : Float16Array,
|
|
71
|
+
"%Float32Array%": typeof Float32Array > "u" ? w : Float32Array,
|
|
72
|
+
"%Float64Array%": typeof Float64Array > "u" ? w : Float64Array,
|
|
73
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? w : FinalizationRegistry,
|
|
74
|
+
"%Function%": F,
|
|
75
|
+
"%GeneratorFunction%": K,
|
|
76
|
+
"%Int8Array%": typeof Int8Array > "u" ? w : Int8Array,
|
|
77
|
+
"%Int16Array%": typeof Int16Array > "u" ? w : Int16Array,
|
|
78
|
+
"%Int32Array%": typeof Int32Array > "u" ? w : Int32Array,
|
|
79
|
+
"%isFinite%": isFinite,
|
|
80
|
+
"%isNaN%": isNaN,
|
|
81
|
+
"%IteratorPrototype%": V && H ? H(H([][Symbol.iterator]())) : w,
|
|
82
|
+
"%JSON%": typeof JSON == "object" ? JSON : w,
|
|
83
|
+
"%Map%": typeof Map > "u" ? w : Map,
|
|
84
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !V || !H ? w : H((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
85
|
+
"%Math%": Math,
|
|
86
|
+
"%Number%": Number,
|
|
87
|
+
"%Object%": re,
|
|
88
|
+
"%Object.getOwnPropertyDescriptor%": L,
|
|
89
|
+
"%parseFloat%": parseFloat,
|
|
90
|
+
"%parseInt%": parseInt,
|
|
91
|
+
"%Promise%": typeof Promise > "u" ? w : Promise,
|
|
92
|
+
"%Proxy%": typeof Proxy > "u" ? w : Proxy,
|
|
93
|
+
"%RangeError%": oe,
|
|
94
|
+
"%ReferenceError%": se,
|
|
95
|
+
"%Reflect%": typeof Reflect > "u" ? w : Reflect,
|
|
96
|
+
"%RegExp%": RegExp,
|
|
97
|
+
"%Set%": typeof Set > "u" ? w : Set,
|
|
98
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !V || !H ? w : H((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
99
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? w : SharedArrayBuffer,
|
|
100
|
+
"%String%": String,
|
|
101
|
+
"%StringIteratorPrototype%": V && H ? H(""[Symbol.iterator]()) : w,
|
|
102
|
+
"%Symbol%": V ? Symbol : w,
|
|
103
|
+
"%SyntaxError%": T,
|
|
104
|
+
"%ThrowTypeError%": B,
|
|
105
|
+
"%TypedArray%": le,
|
|
106
|
+
"%TypeError%": E,
|
|
107
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? w : Uint8Array,
|
|
108
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? w : Uint8ClampedArray,
|
|
109
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? w : Uint16Array,
|
|
110
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? w : Uint32Array,
|
|
111
|
+
"%URIError%": D,
|
|
112
|
+
"%WeakMap%": typeof WeakMap > "u" ? w : WeakMap,
|
|
113
|
+
"%WeakRef%": typeof WeakRef > "u" ? w : WeakRef,
|
|
114
|
+
"%WeakSet%": typeof WeakSet > "u" ? w : WeakSet,
|
|
115
|
+
"%Function.prototype.call%": G,
|
|
116
|
+
"%Function.prototype.apply%": W,
|
|
117
|
+
"%Object.defineProperty%": R,
|
|
118
|
+
"%Object.getPrototypeOf%": ce,
|
|
119
|
+
"%Math.abs%": O,
|
|
120
|
+
"%Math.floor%": k,
|
|
121
|
+
"%Math.max%": A,
|
|
122
|
+
"%Math.min%": j,
|
|
123
|
+
"%Math.pow%": M,
|
|
124
|
+
"%Math.round%": N,
|
|
125
|
+
"%Math.sign%": P,
|
|
126
|
+
"%Reflect.getPrototypeOf%": U
|
|
127
|
+
};
|
|
128
|
+
if (H) try {
|
|
129
|
+
null.error;
|
|
130
|
+
} catch (e) {
|
|
131
|
+
q["%Error.prototype%"] = H(H(e));
|
|
132
|
+
}
|
|
133
|
+
var ue = function e(t) {
|
|
134
|
+
var n;
|
|
135
|
+
if (t === "%AsyncFunction%") n = I("async function () {}");
|
|
136
|
+
else if (t === "%GeneratorFunction%") n = I("function* () {}");
|
|
137
|
+
else if (t === "%AsyncGeneratorFunction%") n = I("async function* () {}");
|
|
138
|
+
else if (t === "%AsyncGenerator%") {
|
|
139
|
+
var r = e("%AsyncGeneratorFunction%");
|
|
140
|
+
r && (n = r.prototype);
|
|
141
|
+
} else if (t === "%AsyncIteratorPrototype%") {
|
|
142
|
+
var i = e("%AsyncGenerator%");
|
|
143
|
+
i && H && (n = H(i.prototype));
|
|
144
|
+
}
|
|
145
|
+
return q[t] = n, n;
|
|
146
|
+
}, J = {
|
|
147
|
+
__proto__: null,
|
|
148
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
149
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
150
|
+
"%ArrayProto_entries%": [
|
|
151
|
+
"Array",
|
|
152
|
+
"prototype",
|
|
153
|
+
"entries"
|
|
154
|
+
],
|
|
155
|
+
"%ArrayProto_forEach%": [
|
|
156
|
+
"Array",
|
|
157
|
+
"prototype",
|
|
158
|
+
"forEach"
|
|
159
|
+
],
|
|
160
|
+
"%ArrayProto_keys%": [
|
|
161
|
+
"Array",
|
|
162
|
+
"prototype",
|
|
163
|
+
"keys"
|
|
164
|
+
],
|
|
165
|
+
"%ArrayProto_values%": [
|
|
166
|
+
"Array",
|
|
167
|
+
"prototype",
|
|
168
|
+
"values"
|
|
169
|
+
],
|
|
170
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
171
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
172
|
+
"%AsyncGeneratorPrototype%": [
|
|
173
|
+
"AsyncGeneratorFunction",
|
|
174
|
+
"prototype",
|
|
175
|
+
"prototype"
|
|
176
|
+
],
|
|
177
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
178
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
179
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
180
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
181
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
182
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
183
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
184
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
185
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
186
|
+
"%GeneratorPrototype%": [
|
|
187
|
+
"GeneratorFunction",
|
|
188
|
+
"prototype",
|
|
189
|
+
"prototype"
|
|
190
|
+
],
|
|
191
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
192
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
193
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
194
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
195
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
196
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
197
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
198
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
199
|
+
"%ObjProto_toString%": [
|
|
200
|
+
"Object",
|
|
201
|
+
"prototype",
|
|
202
|
+
"toString"
|
|
203
|
+
],
|
|
204
|
+
"%ObjProto_valueOf%": [
|
|
205
|
+
"Object",
|
|
206
|
+
"prototype",
|
|
207
|
+
"valueOf"
|
|
208
|
+
],
|
|
209
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
210
|
+
"%PromiseProto_then%": [
|
|
211
|
+
"Promise",
|
|
212
|
+
"prototype",
|
|
213
|
+
"then"
|
|
214
|
+
],
|
|
215
|
+
"%Promise_all%": ["Promise", "all"],
|
|
216
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
217
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
218
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
219
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
220
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
221
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
222
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
223
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
224
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
225
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
226
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
227
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
228
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
229
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
230
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
231
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
232
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
233
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
234
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
235
|
+
}, Y = v(), X = S(), de = Y.call(G, Array.prototype.concat), Z = Y.call(W, Array.prototype.splice), Q = Y.call(G, String.prototype.replace), $ = Y.call(G, String.prototype.slice), fe = Y.call(G, RegExp.prototype.exec), pe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, me = /\\(\\)?/g, he = function(e) {
|
|
236
|
+
var t = $(e, 0, 1), n = $(e, -1);
|
|
237
|
+
if (t === "%" && n !== "%") throw new T("invalid intrinsic syntax, expected closing `%`");
|
|
238
|
+
if (n === "%" && t !== "%") throw new T("invalid intrinsic syntax, expected opening `%`");
|
|
239
|
+
var r = [];
|
|
240
|
+
return Q(e, pe, function(e, t, n, i) {
|
|
241
|
+
r[r.length] = n ? Q(i, me, "$1") : t || e;
|
|
242
|
+
}), r;
|
|
243
|
+
}, ge = function(e, t) {
|
|
244
|
+
var n = e, r;
|
|
245
|
+
if (X(J, n) && (r = J[n], n = "%" + r[0] + "%"), X(q, n)) {
|
|
246
|
+
var i = q[n];
|
|
247
|
+
if (i === K && (i = ue(n)), i === void 0 && !t) throw new E("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
248
|
+
return {
|
|
249
|
+
alias: r,
|
|
250
|
+
name: n,
|
|
251
|
+
value: i
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
throw new T("intrinsic " + e + " does not exist!");
|
|
255
|
+
};
|
|
256
|
+
C.exports = function(e, t) {
|
|
257
|
+
if (typeof e != "string" || e.length === 0) throw new E("intrinsic name must be a non-empty string");
|
|
258
|
+
if (arguments.length > 1 && typeof t != "boolean") throw new E("\"allowMissing\" argument must be a boolean");
|
|
259
|
+
if (fe(/^%?[^%]*%?$/, e) === null) throw new T("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
260
|
+
var n = he(e), r = n.length > 0 ? n[0] : "", i = ge("%" + r + "%", t), a = i.name, o = i.value, s = !1, c = i.alias;
|
|
261
|
+
c && (r = c[0], Z(n, de([0, 1], c)));
|
|
262
|
+
for (var l = 1, u = !0; l < n.length; l += 1) {
|
|
263
|
+
var d = n[l], f = $(d, 0, 1), p = $(d, -1);
|
|
264
|
+
if ((f === "\"" || f === "'" || f === "`" || p === "\"" || p === "'" || p === "`") && f !== p) throw new T("property names with quotes must have matching quotes");
|
|
265
|
+
if ((d === "constructor" || !u) && (s = !0), r += "." + d, a = "%" + r + "%", X(q, a)) o = q[a];
|
|
266
|
+
else if (o != null) {
|
|
267
|
+
if (!(d in o)) {
|
|
268
|
+
if (!t) throw new E("base intrinsic for " + e + " exists, but the property is not available.");
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
if (L && l + 1 >= n.length) {
|
|
272
|
+
var m = L(o, d);
|
|
273
|
+
u = !!m, o = u && "get" in m && !("originalValue" in m.get) ? m.get : o[d];
|
|
274
|
+
} else u = X(o, d), o = o[d];
|
|
275
|
+
u && !s && (q[a] = o);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
return o;
|
|
279
|
+
};
|
|
280
|
+
}));
|
|
281
|
+
//#endregion
|
|
282
|
+
export default C();
|
|
283
|
+
export { C as require_get_intrinsic };
|
package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_es_object_atoms as t } from "../../../es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
n.exports = t().getPrototypeOf || null;
|
|
6
|
+
}));
|
|
7
|
+
//#endregion
|
|
8
|
+
export default n();
|
|
9
|
+
export { n as require_Object_getPrototypeOf };
|
package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_Reflect_getPrototypeOf };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_Reflect_getPrototypeOf as t } from "./Reflect.getPrototypeOf.js";
|
|
3
|
+
import { require_Object_getPrototypeOf as n } from "./Object.getPrototypeOf.js";
|
|
4
|
+
import { require_get as r } from "../../../dunder-proto@1.0.1/node_modules/dunder-proto/get.js";
|
|
5
|
+
//#region ../../../node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
6
|
+
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
|
+
var a = t(), o = n(), s = r();
|
|
8
|
+
i.exports = a ? function(e) {
|
|
9
|
+
return a(e);
|
|
10
|
+
} : o ? function(e) {
|
|
11
|
+
if (!e || typeof e != "object" && typeof e != "function") throw TypeError("getProto: not an object");
|
|
12
|
+
return o(e);
|
|
13
|
+
} : s ? function(e) {
|
|
14
|
+
return s(e);
|
|
15
|
+
} : null;
|
|
16
|
+
}));
|
|
17
|
+
//#endregion
|
|
18
|
+
export default i();
|
|
19
|
+
export { i as require_get_proto };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Object.getOwnPropertyDescriptor;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_gOPD };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_gOPD as t } from "./gOPD.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/gopd@1.2.0/node_modules/gopd/index.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r = t();
|
|
6
|
+
if (r) try {
|
|
7
|
+
r([], "length");
|
|
8
|
+
} catch {
|
|
9
|
+
r = null;
|
|
10
|
+
}
|
|
11
|
+
n.exports = r;
|
|
12
|
+
}));
|
|
13
|
+
//#endregion
|
|
14
|
+
export default n();
|
|
15
|
+
export { n as require_gopd };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_shams as t } from "./shams.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r = typeof Symbol < "u" && Symbol, i = t();
|
|
6
|
+
n.exports = function() {
|
|
7
|
+
return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : i();
|
|
8
|
+
};
|
|
9
|
+
}));
|
|
10
|
+
//#endregion
|
|
11
|
+
export default n();
|
|
12
|
+
export { n as require_has_symbols };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = function() {
|
|
5
|
+
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
|
|
6
|
+
if (typeof Symbol.iterator == "symbol") return !0;
|
|
7
|
+
var e = {}, t = Symbol("test"), n = Object(t);
|
|
8
|
+
if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1;
|
|
9
|
+
var r = 42;
|
|
10
|
+
for (var i in e[t] = r, e) return !1;
|
|
11
|
+
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) return !1;
|
|
12
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
13
|
+
if (a.length !== 1 || a[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) return !1;
|
|
14
|
+
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
15
|
+
var o = Object.getOwnPropertyDescriptor(e, t);
|
|
16
|
+
if (o.value !== r || o.enumerable !== !0) return !1;
|
|
17
|
+
}
|
|
18
|
+
return !0;
|
|
19
|
+
};
|
|
20
|
+
}));
|
|
21
|
+
//#endregion
|
|
22
|
+
export default t();
|
|
23
|
+
export { t as require_shams };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_function_bind as t } from "../../../function-bind@1.1.2/node_modules/function-bind/index.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/hasown@2.0.4/node_modules/hasown/index.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r = Function.prototype.call, i = Object.prototype.hasOwnProperty;
|
|
6
|
+
n.exports = t().call(r, i);
|
|
7
|
+
}));
|
|
8
|
+
//#endregion
|
|
9
|
+
export default n();
|
|
10
|
+
export { n as require_hasown };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/inherits@2.0.3/node_modules/inherits/inherits_browser.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
typeof Object.create == "function" ? t.exports = function(e, t) {
|
|
5
|
+
e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: {
|
|
6
|
+
value: e,
|
|
7
|
+
enumerable: !1,
|
|
8
|
+
writable: !0,
|
|
9
|
+
configurable: !0
|
|
10
|
+
} });
|
|
11
|
+
} : t.exports = function(e, t) {
|
|
12
|
+
e.super_ = t;
|
|
13
|
+
var n = function() {};
|
|
14
|
+
n.prototype = t.prototype, e.prototype = new n(), e.prototype.constructor = e;
|
|
15
|
+
};
|
|
16
|
+
}));
|
|
17
|
+
//#endregion
|
|
18
|
+
export default t();
|
|
19
|
+
export { t as require_inherits_browser };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Math.abs;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_abs };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Math.floor;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_floor };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Number.isNaN || function(e) {
|
|
5
|
+
return e !== e;
|
|
6
|
+
};
|
|
7
|
+
}));
|
|
8
|
+
//#endregion
|
|
9
|
+
export default t();
|
|
10
|
+
export { t as require_isNaN };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Math.max;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_max };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Math.min;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_min };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Math.pow;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_pow };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = Math.round;
|
|
5
|
+
}));
|
|
6
|
+
//#endregion
|
|
7
|
+
export default t();
|
|
8
|
+
export { t as require_round };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_isNaN as t } from "./isNaN.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r = t();
|
|
6
|
+
n.exports = function(e) {
|
|
7
|
+
return r(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
8
|
+
};
|
|
9
|
+
}));
|
|
10
|
+
//#endregion
|
|
11
|
+
export default n();
|
|
12
|
+
export { n as require_sign };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_isArguments as t } from "./isArguments.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/implementation.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
|
+
var r;
|
|
6
|
+
if (!Object.keys) {
|
|
7
|
+
var i = Object.prototype.hasOwnProperty, a = Object.prototype.toString, o = t(), s = Object.prototype.propertyIsEnumerable, c = !s.call({ toString: null }, "toString"), l = s.call(function() {}, "prototype"), u = [
|
|
8
|
+
"toString",
|
|
9
|
+
"toLocaleString",
|
|
10
|
+
"valueOf",
|
|
11
|
+
"hasOwnProperty",
|
|
12
|
+
"isPrototypeOf",
|
|
13
|
+
"propertyIsEnumerable",
|
|
14
|
+
"constructor"
|
|
15
|
+
], d = function(e) {
|
|
16
|
+
var t = e.constructor;
|
|
17
|
+
return t && t.prototype === e;
|
|
18
|
+
}, f = {
|
|
19
|
+
$applicationCache: !0,
|
|
20
|
+
$console: !0,
|
|
21
|
+
$external: !0,
|
|
22
|
+
$frame: !0,
|
|
23
|
+
$frameElement: !0,
|
|
24
|
+
$frames: !0,
|
|
25
|
+
$innerHeight: !0,
|
|
26
|
+
$innerWidth: !0,
|
|
27
|
+
$onmozfullscreenchange: !0,
|
|
28
|
+
$onmozfullscreenerror: !0,
|
|
29
|
+
$outerHeight: !0,
|
|
30
|
+
$outerWidth: !0,
|
|
31
|
+
$pageXOffset: !0,
|
|
32
|
+
$pageYOffset: !0,
|
|
33
|
+
$parent: !0,
|
|
34
|
+
$scrollLeft: !0,
|
|
35
|
+
$scrollTop: !0,
|
|
36
|
+
$scrollX: !0,
|
|
37
|
+
$scrollY: !0,
|
|
38
|
+
$self: !0,
|
|
39
|
+
$webkitIndexedDB: !0,
|
|
40
|
+
$webkitStorageInfo: !0,
|
|
41
|
+
$window: !0
|
|
42
|
+
}, p = function() {
|
|
43
|
+
if (typeof window > "u") return !1;
|
|
44
|
+
for (var e in window) try {
|
|
45
|
+
if (!f["$" + e] && i.call(window, e) && window[e] !== null && typeof window[e] == "object") try {
|
|
46
|
+
d(window[e]);
|
|
47
|
+
} catch {
|
|
48
|
+
return !0;
|
|
49
|
+
}
|
|
50
|
+
} catch {
|
|
51
|
+
return !0;
|
|
52
|
+
}
|
|
53
|
+
return !1;
|
|
54
|
+
}(), m = function(e) {
|
|
55
|
+
if (typeof window > "u" || !p) return d(e);
|
|
56
|
+
try {
|
|
57
|
+
return d(e);
|
|
58
|
+
} catch {
|
|
59
|
+
return !1;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
r = function(e) {
|
|
63
|
+
var t = typeof e == "object" && !!e, n = a.call(e) === "[object Function]", r = o(e), s = t && a.call(e) === "[object String]", d = [];
|
|
64
|
+
if (!t && !n && !r) throw TypeError("Object.keys called on a non-object");
|
|
65
|
+
var f = l && n;
|
|
66
|
+
if (s && e.length > 0 && !i.call(e, 0)) for (var p = 0; p < e.length; ++p) d.push(String(p));
|
|
67
|
+
if (r && e.length > 0) for (var h = 0; h < e.length; ++h) d.push(String(h));
|
|
68
|
+
else for (var g in e) !(f && g === "prototype") && i.call(e, g) && d.push(String(g));
|
|
69
|
+
if (c) for (var _ = m(e), v = 0; v < u.length; ++v) !(_ && u[v] === "constructor") && i.call(e, u[v]) && d.push(u[v]);
|
|
70
|
+
return d;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
n.exports = r;
|
|
74
|
+
}));
|
|
75
|
+
//#endregion
|
|
76
|
+
export default n();
|
|
77
|
+
export { n as require_implementation };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_isArguments as t } from "./isArguments.js";
|
|
3
|
+
import { require_implementation as n } from "./implementation.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/index.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
var i = Array.prototype.slice, a = t(), o = Object.keys, s = o ? function(e) {
|
|
7
|
+
return o(e);
|
|
8
|
+
} : n(), c = Object.keys;
|
|
9
|
+
s.shim = function() {
|
|
10
|
+
return Object.keys ? function() {
|
|
11
|
+
var e = Object.keys(arguments);
|
|
12
|
+
return e && e.length === arguments.length;
|
|
13
|
+
}(1, 2) || (Object.keys = function(e) {
|
|
14
|
+
return a(e) ? c(i.call(e)) : c(e);
|
|
15
|
+
}) : Object.keys = s, Object.keys || s;
|
|
16
|
+
}, r.exports = s;
|
|
17
|
+
}));
|
|
18
|
+
//#endregion
|
|
19
|
+
export default r();
|
|
20
|
+
export { r as require_object_keys };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/isArguments.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
var n = Object.prototype.toString;
|
|
5
|
+
t.exports = function(e) {
|
|
6
|
+
var t = n.call(e), r = t === "[object Arguments]";
|
|
7
|
+
return r ||= t !== "[object Array]" && typeof e == "object" && !!e && typeof e.length == "number" && e.length >= 0 && n.call(e.callee) === "[object Function]", r;
|
|
8
|
+
};
|
|
9
|
+
}));
|
|
10
|
+
//#endregion
|
|
11
|
+
export default t();
|
|
12
|
+
export { t as require_isArguments };
|
package/dist/node_modules/.bun/object.assign@4.1.7/node_modules/object.assign/implementation.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_object_keys as t } from "../../../object-keys@1.1.1/node_modules/object-keys/index.js";
|
|
3
|
+
import { require_shams as n } from "../../../has-symbols@1.1.0/node_modules/has-symbols/shams.js";
|
|
4
|
+
import { require_es_object_atoms as r } from "../../../es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js";
|
|
5
|
+
import { require_call_bound as i } from "../../../call-bound@1.0.4/node_modules/call-bound/index.js";
|
|
6
|
+
//#region ../../../node_modules/.bun/object.assign@4.1.7/node_modules/object.assign/implementation.js
|
|
7
|
+
var a = /* @__PURE__ */ e(((e, a) => {
|
|
8
|
+
var o = t(), s = n()(), c = i(), l = r(), u = c("Array.prototype.push"), d = c("Object.prototype.propertyIsEnumerable"), f = s ? l.getOwnPropertySymbols : null;
|
|
9
|
+
a.exports = function(e, t) {
|
|
10
|
+
if (e == null) throw TypeError("target must be an object");
|
|
11
|
+
var n = l(e);
|
|
12
|
+
if (arguments.length === 1) return n;
|
|
13
|
+
for (var r = 1; r < arguments.length; ++r) {
|
|
14
|
+
var i = l(arguments[r]), a = o(i), c = s && (l.getOwnPropertySymbols || f);
|
|
15
|
+
if (c) for (var p = c(i), m = 0; m < p.length; ++m) {
|
|
16
|
+
var h = p[m];
|
|
17
|
+
d(i, h) && u(a, h);
|
|
18
|
+
}
|
|
19
|
+
for (var g = 0; g < a.length; ++g) {
|
|
20
|
+
var _ = a[g];
|
|
21
|
+
d(i, _) && (n[_] = i[_]);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return n;
|
|
25
|
+
};
|
|
26
|
+
}));
|
|
27
|
+
//#endregion
|
|
28
|
+
export default a();
|
|
29
|
+
export { a as require_implementation };
|