@pie-lib/tools 2.0.3-next.0 → 2.0.3-next.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/CHANGELOG.md +626 -0
  3. package/LICENSE.md +5 -0
  4. package/lib/anchor-utils.js +193 -0
  5. package/lib/anchor-utils.js.map +1 -0
  6. package/lib/anchor.js +33 -0
  7. package/lib/anchor.js.map +1 -0
  8. package/lib/index.js +33 -0
  9. package/lib/index.js.map +1 -0
  10. package/lib/protractor/graphic.js +147 -0
  11. package/lib/protractor/graphic.js.map +1 -0
  12. package/lib/protractor/index.js +90 -0
  13. package/lib/protractor/index.js.map +1 -0
  14. package/lib/rotatable.js +335 -0
  15. package/lib/rotatable.js.map +1 -0
  16. package/lib/ruler/graphic.js +89 -0
  17. package/lib/ruler/graphic.js.map +1 -0
  18. package/lib/ruler/index.js +114 -0
  19. package/lib/ruler/index.js.map +1 -0
  20. package/lib/ruler/unit-type.js +55 -0
  21. package/lib/ruler/unit-type.js.map +1 -0
  22. package/lib/ruler/unit.js +124 -0
  23. package/lib/ruler/unit.js.map +1 -0
  24. package/lib/style-utils.js +21 -0
  25. package/lib/style-utils.js.map +1 -0
  26. package/lib/transform-origin.js +71 -0
  27. package/lib/transform-origin.js.map +1 -0
  28. package/package.json +26 -32
  29. package/src/__tests__/anchor-utils.test.js +131 -0
  30. package/src/__tests__/rotatable.test.jsx +263 -0
  31. package/src/__tests__/transform-origin.test.jsx +24 -0
  32. package/src/anchor-utils.js +153 -0
  33. package/src/anchor.jsx +20 -0
  34. package/src/index.js +6 -0
  35. package/src/protractor/__tests__/graphic.test.jsx +64 -0
  36. package/src/protractor/__tests__/index.test.jsx +65 -0
  37. package/src/protractor/graphic.jsx +82 -0
  38. package/src/protractor/index.jsx +67 -0
  39. package/src/rotatable.jsx +290 -0
  40. package/src/ruler/__tests__/graphic.test.jsx +64 -0
  41. package/src/ruler/__tests__/index.test.jsx +85 -0
  42. package/src/ruler/__tests__/unit-type.test.jsx +66 -0
  43. package/src/ruler/__tests__/unit.test.jsx +68 -0
  44. package/src/ruler/graphic.jsx +48 -0
  45. package/src/ruler/index.jsx +78 -0
  46. package/src/ruler/unit-type.jsx +39 -0
  47. package/src/ruler/unit.jsx +83 -0
  48. package/src/style-utils.js +7 -0
  49. package/src/transform-origin.jsx +60 -0
  50. package/dist/_virtual/_rolldown/runtime.js +0 -11
  51. package/dist/anchor-utils.d.ts +0 -60
  52. package/dist/anchor-utils.js +0 -87
  53. package/dist/anchor.d.ts +0 -13
  54. package/dist/anchor.js +0 -17
  55. package/dist/index.d.ts +0 -13
  56. package/dist/index.js +0 -5
  57. package/dist/node_modules/.bun/assert@1.5.1/node_modules/assert/assert.js +0 -174
  58. package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js +0 -13
  59. package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js +0 -8
  60. package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js +0 -8
  61. package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js +0 -16
  62. package/dist/node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js +0 -8
  63. package/dist/node_modules/.bun/call-bound@1.0.4/node_modules/call-bound/index.js +0 -14
  64. package/dist/node_modules/.bun/degrees-radians@1.0.3/node_modules/degrees-radians/index.js +0 -12
  65. package/dist/node_modules/.bun/dunder-proto@1.0.1/node_modules/dunder-proto/get.js +0 -19
  66. package/dist/node_modules/.bun/es-define-property@1.0.1/node_modules/es-define-property/index.js +0 -14
  67. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/eval.js +0 -8
  68. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/index.js +0 -8
  69. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/range.js +0 -8
  70. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/ref.js +0 -8
  71. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/syntax.js +0 -8
  72. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/type.js +0 -8
  73. package/dist/node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/uri.js +0 -8
  74. package/dist/node_modules/.bun/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js +0 -8
  75. package/dist/node_modules/.bun/function-bind@1.1.2/node_modules/function-bind/implementation.js +0 -34
  76. package/dist/node_modules/.bun/function-bind@1.1.2/node_modules/function-bind/index.js +0 -10
  77. package/dist/node_modules/.bun/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js +0 -283
  78. package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js +0 -9
  79. package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -8
  80. package/dist/node_modules/.bun/get-proto@1.0.1/node_modules/get-proto/index.js +0 -19
  81. package/dist/node_modules/.bun/gopd@1.2.0/node_modules/gopd/gOPD.js +0 -8
  82. package/dist/node_modules/.bun/gopd@1.2.0/node_modules/gopd/index.js +0 -15
  83. package/dist/node_modules/.bun/has-symbols@1.1.0/node_modules/has-symbols/index.js +0 -12
  84. package/dist/node_modules/.bun/has-symbols@1.1.0/node_modules/has-symbols/shams.js +0 -23
  85. package/dist/node_modules/.bun/hasown@2.0.4/node_modules/hasown/index.js +0 -10
  86. package/dist/node_modules/.bun/inherits@2.0.3/node_modules/inherits/inherits_browser.js +0 -19
  87. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js +0 -8
  88. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js +0 -8
  89. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js +0 -10
  90. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js +0 -8
  91. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js +0 -8
  92. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js +0 -8
  93. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js +0 -8
  94. package/dist/node_modules/.bun/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js +0 -12
  95. package/dist/node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/implementation.js +0 -77
  96. package/dist/node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/index.js +0 -20
  97. package/dist/node_modules/.bun/object-keys@1.1.1/node_modules/object-keys/isArguments.js +0 -12
  98. package/dist/node_modules/.bun/object.assign@4.1.7/node_modules/object.assign/implementation.js +0 -29
  99. package/dist/node_modules/.bun/object.assign@4.1.7/node_modules/object.assign/polyfill.js +0 -27
  100. package/dist/node_modules/.bun/radians-degrees@1.0.0/node_modules/radians-degrees/index.js +0 -11
  101. package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/LegacyPortal.js +0 -77
  102. package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/Portal.js +0 -55
  103. package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/PortalCompat.js +0 -9
  104. package/dist/node_modules/.bun/react-portal@4.3.0_6dbf9a050bc9aadb/node_modules/react-portal/es/utils.js +0 -4
  105. package/dist/node_modules/.bun/trigonometry-calculator@2.0.0/node_modules/trigonometry-calculator/lib/index.js +0 -53
  106. package/dist/node_modules/.bun/trigonometry-equations@2.0.1/node_modules/trigonometry-equations/lib/index.js +0 -129
  107. package/dist/node_modules/.bun/util@0.10.4/node_modules/util/support/isBufferBrowser.js +0 -10
  108. package/dist/node_modules/.bun/util@0.10.4/node_modules/util/util.js +0 -262
  109. package/dist/protractor/graphic.d.ts +0 -13
  110. package/dist/protractor/graphic.js +0 -85
  111. package/dist/protractor/index.d.ts +0 -29
  112. package/dist/protractor/index.js +0 -56
  113. package/dist/rotatable.d.ts +0 -56
  114. package/dist/rotatable.js +0 -210
  115. package/dist/ruler/graphic.d.ts +0 -20
  116. package/dist/ruler/graphic.js +0 -53
  117. package/dist/ruler/index.d.ts +0 -32
  118. package/dist/ruler/index.js +0 -77
  119. package/dist/ruler/unit-type.d.ts +0 -30
  120. package/dist/ruler/unit-type.js +0 -38
  121. package/dist/ruler/unit.d.ts +0 -21
  122. package/dist/ruler/unit.js +0 -69
  123. package/dist/style-utils.d.ts +0 -12
  124. package/dist/style-utils.js +0 -5
  125. package/dist/transform-origin.d.ts +0 -18
  126. package/dist/transform-origin.js +0 -21
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = Function.prototype.call;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_functionCall };
@@ -1,16 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_type as t } from "../../../es-errors@1.3.0/node_modules/es-errors/type.js";
3
- import { require_function_bind as n } from "../../../function-bind@1.1.2/node_modules/function-bind/index.js";
4
- import { require_functionCall as r } from "./functionCall.js";
5
- import { require_actualApply as i } from "./actualApply.js";
6
- //#region ../../../node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
7
- var a = /* @__PURE__ */ e(((e, a) => {
8
- var o = n(), s = t(), c = r(), l = i();
9
- a.exports = function(e) {
10
- if (e.length < 1 || typeof e[0] != "function") throw new s("a function is required");
11
- return l(o, c, e);
12
- };
13
- }));
14
- //#endregion
15
- export default a();
16
- export { a as require_call_bind_apply_helpers };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_reflectApply };
@@ -1,14 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_call_bind_apply_helpers as t } from "../../../call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js";
3
- import { require_get_intrinsic as n } from "../../../get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js";
4
- //#region ../../../node_modules/.bun/call-bound@1.0.4/node_modules/call-bound/index.js
5
- var r = /* @__PURE__ */ e(((e, r) => {
6
- var i = n(), a = t(), o = a([i("%String.prototype.indexOf%")]);
7
- r.exports = function(e, t) {
8
- var n = i(e, !!t);
9
- return typeof n == "function" && o(e, ".prototype.") > -1 ? a([n]) : n;
10
- };
11
- }));
12
- //#endregion
13
- export default r();
14
- export { r as require_call_bound };
@@ -1,12 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_assert as t } from "../../../assert@1.5.1/node_modules/assert/assert.js";
3
- //#region ../../../node_modules/.bun/degrees-radians@1.0.3/node_modules/degrees-radians/index.js
4
- var n = /* @__PURE__ */ e(((e, n) => {
5
- var r = t();
6
- n.exports = function(e) {
7
- return r(typeof e == "number", "Degrees should be a number"), Math.PI / 180 * e;
8
- };
9
- }));
10
- //#endregion
11
- export default n();
12
- export { n as require_degrees_radians };
@@ -1,19 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_gopd as t } from "../../../gopd@1.2.0/node_modules/gopd/index.js";
3
- import { require_call_bind_apply_helpers as n } from "../../../call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js";
4
- //#region ../../../node_modules/.bun/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
5
- var r = /* @__PURE__ */ e(((e, r) => {
6
- var i = n(), a = t(), o;
7
- try {
8
- o = [].__proto__ === Array.prototype;
9
- } catch (e) {
10
- if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
11
- }
12
- var s = !!o && a && a(Object.prototype, "__proto__"), c = Object, l = c.getPrototypeOf;
13
- r.exports = s && typeof s.get == "function" ? i([s.get]) : typeof l == "function" ? function(e) {
14
- return l(e == null ? e : c(e));
15
- } : !1;
16
- }));
17
- //#endregion
18
- export default r();
19
- export { r as require_get };
@@ -1,14 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-define-property@1.0.1/node_modules/es-define-property/index.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- var n = Object.defineProperty || !1;
5
- if (n) try {
6
- n({}, "a", { value: 1 });
7
- } catch {
8
- n = !1;
9
- }
10
- t.exports = n;
11
- }));
12
- //#endregion
13
- export default t();
14
- export { t as require_es_define_property };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/eval.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = EvalError;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_eval };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/index.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = Error;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_es_errors };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/range.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = RangeError;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_range };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/ref.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = ReferenceError;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_ref };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/syntax.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = SyntaxError;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_syntax };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/type.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = TypeError;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_type };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-errors@1.3.0/node_modules/es-errors/uri.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = URIError;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_uri };
@@ -1,8 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- t.exports = Object;
5
- }));
6
- //#endregion
7
- export default t();
8
- export { t as require_es_object_atoms };
@@ -1,34 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../../node_modules/.bun/function-bind@1.1.2/node_modules/function-bind/implementation.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
4
- var n = "Function.prototype.bind called on incompatible ", r = Object.prototype.toString, i = Math.max, a = "[object Function]", o = function(e, t) {
5
- for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
6
- for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
7
- return n;
8
- }, s = function(e, t) {
9
- for (var n = [], r = t || 0, i = 0; r < e.length; r += 1, i += 1) n[i] = e[r];
10
- return n;
11
- }, c = function(e, t) {
12
- for (var n = "", r = 0; r < e.length; r += 1) n += e[r], r + 1 < e.length && (n += t);
13
- return n;
14
- };
15
- t.exports = function(e) {
16
- var t = this;
17
- if (typeof t != "function" || r.apply(t) !== a) throw TypeError(n + t);
18
- for (var l = s(arguments, 1), u, d = function() {
19
- if (this instanceof u) {
20
- var n = t.apply(this, o(l, arguments));
21
- return Object(n) === n ? n : this;
22
- }
23
- return t.apply(e, o(l, arguments));
24
- }, f = i(0, t.length - l.length), p = [], m = 0; m < f; m++) p[m] = "$" + m;
25
- if (u = Function("binder", "return function (" + c(p, ",") + "){ return binder.apply(this,arguments); }")(d), t.prototype) {
26
- var h = function() {};
27
- h.prototype = t.prototype, u.prototype = new h(), h.prototype = null;
28
- }
29
- return u;
30
- };
31
- }));
32
- //#endregion
33
- export default t();
34
- export { t as require_implementation };
@@ -1,10 +0,0 @@
1
- import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_implementation as t } from "./implementation.js";
3
- //#region ../../../node_modules/.bun/function-bind@1.1.2/node_modules/function-bind/index.js
4
- var n = /* @__PURE__ */ e(((e, n) => {
5
- var r = t();
6
- n.exports = Function.prototype.bind || r;
7
- }));
8
- //#endregion
9
- export default n();
10
- export { n as require_function_bind };
@@ -1,283 +0,0 @@
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 };
@@ -1,9 +0,0 @@
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 };
@@ -1,8 +0,0 @@
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 };
@@ -1,19 +0,0 @@
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 };
@@ -1,8 +0,0 @@
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 };
@@ -1,15 +0,0 @@
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 };
@@ -1,12 +0,0 @@
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 };
@@ -1,23 +0,0 @@
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 };
@@ -1,10 +0,0 @@
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 };