@yuneta/gobj-ui 7.32.5 → 7.32.6

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.
@@ -10315,6 +10315,25 @@ function svg_mask_url(svg) {
10315
10315
  return `url("data:image/svg+xml,${encodeURIComponent(svg)}")`;
10316
10316
  }
10317
10317
  /************************************************************
10318
+ * The width of the box of an icon, in em: 1, or more for a
10319
+ * drawing wider than tall, so that it is 1em TALL like every
10320
+ * icon (yui_icons.css, "THE BOX"). Its viewBox says the ratio.
10321
+ *
10322
+ * Capped at 1.25em, the widest icon of Font Awesome: a wider
10323
+ * drawing is a logo or a banner, and a box any wider would
10324
+ * push the controls of its row aside. It is drawn smaller.
10325
+ ************************************************************/
10326
+ var USER_ICON_MAX_WIDTH = 1.25;
10327
+ function svg_icon_width(svg) {
10328
+ let m = /viewBox="([^"]*)"/.exec(String(svg || ""));
10329
+ if (!m) return 1;
10330
+ let parts = m[1].trim().split(/[\s,]+/).map(Number);
10331
+ let w = parts[2];
10332
+ let h = parts[3];
10333
+ if (!(w > 0 && h > 0) || w <= h) return 1;
10334
+ return Math.round(Math.min(w / h, USER_ICON_MAX_WIDTH) * 1e3) / 1e3;
10335
+ }
10336
+ /************************************************************
10318
10337
  * An element that shows an svg as an icon, before it is
10319
10338
  * registered (a form preview, a cell of __icons__ itself).
10320
10339
  * Return {element} or {error}.
@@ -10327,6 +10346,8 @@ function yui_svg_icon_element(svg_text) {
10327
10346
  let mask = svg_mask_url(clean.svg);
10328
10347
  el.style.setProperty("-webkit-mask-image", mask);
10329
10348
  el.style.setProperty("mask-image", mask);
10349
+ let width = svg_icon_width(clean.svg);
10350
+ if (width > 1) el.style.setProperty("width", `${width}em`);
10330
10351
  return {
10331
10352
  element: el,
10332
10353
  dropped: clean.dropped
@@ -10337,7 +10358,10 @@ function yui_svg_icon_element(svg_text) {
10337
10358
  ************************************************************/
10338
10359
  function rebuild_user_icons_stylesheet() {
10339
10360
  let css = "";
10340
- for (const [id, icon] of __user_icons__) css += `.${yui_user_icon_class(id)}::before {-webkit-mask-image: ${icon.mask}; mask-image: ${icon.mask};}\n`;
10361
+ for (const [id, icon] of __user_icons__) {
10362
+ let width = icon.width > 1 ? ` width: ${icon.width}em;` : "";
10363
+ css += `.${yui_user_icon_class(id)}::before {-webkit-mask-image: ${icon.mask}; mask-image: ${icon.mask};${width}}\n`;
10364
+ }
10341
10365
  try {
10342
10366
  let el = document.getElementById(USER_ICONS_STYLE_ID);
10343
10367
  if (!el) {
@@ -10368,7 +10392,8 @@ function user_icon_entry(node) {
10368
10392
  }
10369
10393
  return {
10370
10394
  svg: clean.svg,
10371
- mask: svg_mask_url(clean.svg)
10395
+ mask: svg_mask_url(clean.svg),
10396
+ width: svg_icon_width(clean.svg)
10372
10397
  };
10373
10398
  }
10374
10399
  /************************************************************
@@ -17227,7 +17252,7 @@ async function yui_graph_center_on(graph, node_id) {
17227
17252
  function yui_graph_refresh_item(gobj, wide) {
17228
17253
  return camera_button(gobj, "yi-arrows-rotate", "EV_REFRESH", "refresh", wide);
17229
17254
  }
17230
- // node_modules/@babel/runtime/helpers/esm/typeof.js
17255
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/typeof.js
17231
17256
  function _typeof(o) {
17232
17257
  "@babel/helpers - typeof";
17233
17258
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -17236,7 +17261,7 @@ function _typeof(o) {
17236
17261
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
17237
17262
  }, _typeof(o);
17238
17263
  }
17239
- // node_modules/@babel/runtime/helpers/esm/toPrimitive.js
17264
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
17240
17265
  function toPrimitive(t, e) {
17241
17266
  if ("object" != _typeof(t) || !t) return t;
17242
17267
  var r;
@@ -17247,12 +17272,12 @@ function toPrimitive(t, e) {
17247
17272
  }
17248
17273
  return ("string" === e ? String : Number)(t);
17249
17274
  }
17250
- // node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
17275
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
17251
17276
  function toPropertyKey(t) {
17252
17277
  var i = toPrimitive(t, "string");
17253
17278
  return "symbol" == _typeof(i) ? i : i + "";
17254
17279
  }
17255
- // node_modules/@babel/runtime/helpers/esm/defineProperty.js
17280
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/defineProperty.js
17256
17281
  function _defineProperty(e, r, t) {
17257
17282
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
17258
17283
  value: t,
@@ -17261,7 +17286,7 @@ function _defineProperty(e, r, t) {
17261
17286
  writable: !0
17262
17287
  }) : e[r] = t, e;
17263
17288
  }
17264
- // node_modules/@babel/runtime/helpers/esm/objectSpread2.js
17289
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
17265
17290
  function ownKeys(e, r) {
17266
17291
  var t = Object.keys(e);
17267
17292
  if (Object.getOwnPropertySymbols) {
@@ -17283,11 +17308,11 @@ function _objectSpread2(e) {
17283
17308
  }
17284
17309
  return e;
17285
17310
  }
17286
- // node_modules/@babel/runtime/helpers/esm/classCallCheck.js
17311
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
17287
17312
  function _classCallCheck(a, n) {
17288
17313
  if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
17289
17314
  }
17290
- // node_modules/@babel/runtime/helpers/esm/createClass.js
17315
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/createClass.js
17291
17316
  function _defineProperties(e, r) {
17292
17317
  for (var t = 0; t < r.length; t++) {
17293
17318
  var o = r[t];
@@ -17297,21 +17322,21 @@ function _defineProperties(e, r) {
17297
17322
  function _createClass(e, r, t) {
17298
17323
  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
17299
17324
  }
17300
- // node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
17325
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
17301
17326
  function _arrayLikeToArray(r, a) {
17302
17327
  (null == a || a > r.length) && (a = r.length);
17303
17328
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
17304
17329
  return n;
17305
17330
  }
17306
- // node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
17331
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
17307
17332
  function _arrayWithoutHoles(r) {
17308
17333
  if (Array.isArray(r)) return _arrayLikeToArray(r);
17309
17334
  }
17310
- // node_modules/@babel/runtime/helpers/esm/iterableToArray.js
17335
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
17311
17336
  function _iterableToArray(r) {
17312
17337
  if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
17313
17338
  }
17314
- // node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
17339
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
17315
17340
  function _unsupportedIterableToArray(r, a) {
17316
17341
  if (r) {
17317
17342
  if ("string" == typeof r) return _arrayLikeToArray(r, a);
@@ -17319,21 +17344,21 @@ function _unsupportedIterableToArray(r, a) {
17319
17344
  return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
17320
17345
  }
17321
17346
  }
17322
- // node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
17347
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
17323
17348
  function _nonIterableSpread() {
17324
17349
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17325
17350
  }
17326
- // node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
17351
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
17327
17352
  function _toConsumableArray(r) {
17328
17353
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
17329
17354
  }
17330
- // node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
17355
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
17331
17356
  function _getPrototypeOf(t) {
17332
17357
  return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
17333
17358
  return t.__proto__ || Object.getPrototypeOf(t);
17334
17359
  }, _getPrototypeOf(t);
17335
17360
  }
17336
- // node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
17361
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
17337
17362
  function _isNativeReflectConstruct() {
17338
17363
  try {
17339
17364
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
@@ -17342,28 +17367,28 @@ function _isNativeReflectConstruct() {
17342
17367
  return !!t;
17343
17368
  })();
17344
17369
  }
17345
- // node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
17370
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
17346
17371
  function _assertThisInitialized(e) {
17347
17372
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
17348
17373
  return e;
17349
17374
  }
17350
- // node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
17375
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
17351
17376
  function _possibleConstructorReturn(t, e) {
17352
17377
  if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
17353
17378
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
17354
17379
  return _assertThisInitialized(t);
17355
17380
  }
17356
- // node_modules/@babel/runtime/helpers/esm/callSuper.js
17381
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/callSuper.js
17357
17382
  function _callSuper(t, o, e) {
17358
17383
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
17359
17384
  }
17360
- // node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
17385
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
17361
17386
  function _setPrototypeOf(t, e) {
17362
17387
  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
17363
17388
  return t.__proto__ = e, t;
17364
17389
  }, _setPrototypeOf(t, e);
17365
17390
  }
17366
- // node_modules/@babel/runtime/helpers/esm/inherits.js
17391
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/inherits.js
17367
17392
  function _inherits(t, e) {
17368
17393
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
17369
17394
  t.prototype = Object.create(e && e.prototype, { constructor: {
@@ -17372,11 +17397,11 @@ function _inherits(t, e) {
17372
17397
  configurable: !0
17373
17398
  } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e);
17374
17399
  }
17375
- // node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
17400
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
17376
17401
  function _arrayWithHoles(r) {
17377
17402
  if (Array.isArray(r)) return r;
17378
17403
  }
17379
- // node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17404
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17380
17405
  function _iterableToArrayLimit(r, l) {
17381
17406
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
17382
17407
  if (null != t) {
@@ -17398,11 +17423,11 @@ function _iterableToArrayLimit(r, l) {
17398
17423
  return a;
17399
17424
  }
17400
17425
  }
17401
- // node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
17426
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
17402
17427
  function _nonIterableRest() {
17403
17428
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17404
17429
  }
17405
- // node_modules/@babel/runtime/helpers/esm/slicedToArray.js
17430
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
17406
17431
  function _slicedToArray(r, e) {
17407
17432
  return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
17408
17433
  }
@@ -17641,7 +17666,7 @@ var eventemitter3_default = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJS
17641
17666
  if ("undefined" !== typeof module) module.exports = EventEmitter;
17642
17667
  })))(), 1)).default;
17643
17668
  var ARRAY_TYPE = typeof Float32Array !== "undefined" ? Float32Array : Array;
17644
- // node_modules/gl-matrix/esm/mat3.js
17669
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/mat3.js
17645
17670
  /**
17646
17671
  * 3x3 Matrix
17647
17672
  * @module mat3
@@ -17712,7 +17737,7 @@ function fromValues$4(m00, m01, m02, m10, m11, m12, m20, m21, m22) {
17712
17737
  out[8] = m22;
17713
17738
  return out;
17714
17739
  }
17715
- // node_modules/gl-matrix/esm/mat4.js
17740
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/mat4.js
17716
17741
  var mat4_exports = /* @__PURE__ */ __exportAll({
17717
17742
  add: () => add$1,
17718
17743
  adjoint: () => adjoint,
@@ -19519,7 +19544,7 @@ var mul$1 = multiply$2;
19519
19544
  * @function
19520
19545
  */
19521
19546
  var sub$1 = subtract$1;
19522
- // node_modules/gl-matrix/esm/vec3.js
19547
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/vec3.js
19523
19548
  /**
19524
19549
  * 3 Dimensional Vector
19525
19550
  * @module vec3
@@ -19868,7 +19893,7 @@ var len = length;
19868
19893
  return a;
19869
19894
  };
19870
19895
  })();
19871
- // node_modules/gl-matrix/esm/vec4.js
19896
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/vec4.js
19872
19897
  /**
19873
19898
  * 4 Dimensional Vector
19874
19899
  * @module vec4
@@ -19994,7 +20019,7 @@ function transformMat4(out, a, m) {
19994
20019
  return a;
19995
20020
  };
19996
20021
  })();
19997
- // node_modules/gl-matrix/esm/quat.js
20022
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/quat.js
19998
20023
  /**
19999
20024
  * Quaternion in the format XYZW
20000
20025
  * @module quat
@@ -20300,7 +20325,7 @@ var normalize$1 = normalize$2;
20300
20325
  return normalize$1(out, fromMat3(out, matr));
20301
20326
  };
20302
20327
  })();
20303
- // node_modules/gl-matrix/esm/vec2.js
20328
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/vec2.js
20304
20329
  /**
20305
20330
  * 2 Dimensional Vector
20306
20331
  * @module vec2
@@ -20361,7 +20386,7 @@ function set(out, x, y) {
20361
20386
  return a;
20362
20387
  };
20363
20388
  })();
20364
- // node_modules/@antv/util/esm/lodash/is-function.js
20389
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-function.js
20365
20390
  /**
20366
20391
  * 判断值是否为函数
20367
20392
  * @return 是否为函数
@@ -20369,7 +20394,7 @@ function set(out, x, y) {
20369
20394
  function isFunction(value) {
20370
20395
  return typeof value === "function";
20371
20396
  }
20372
- // node_modules/@antv/util/esm/lodash/is-nil.js
20397
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-nil.js
20373
20398
  /**
20374
20399
  * 判断值是否为 null 或 undefined
20375
20400
  * @return 是否为 null 或 undefined
@@ -20377,7 +20402,7 @@ function isFunction(value) {
20377
20402
  function isNil(value) {
20378
20403
  return value === null || value === void 0;
20379
20404
  }
20380
- // node_modules/@antv/util/esm/lodash/is-array.js
20405
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-array.js
20381
20406
  /**
20382
20407
  * 判断值是否为数组
20383
20408
  * @return 是否为数组
@@ -20385,7 +20410,7 @@ function isNil(value) {
20385
20410
  function isArray(value) {
20386
20411
  return Array.isArray(value);
20387
20412
  }
20388
- // node_modules/@antv/util/esm/lodash/is-object.js
20413
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-object.js
20389
20414
  var is_object_default = (function(value) {
20390
20415
  /**
20391
20416
  * isObject({}) => true
@@ -20396,12 +20421,12 @@ var is_object_default = (function(value) {
20396
20421
  var type = typeof value;
20397
20422
  return value !== null && type === "object" || type === "function";
20398
20423
  });
20399
- // node_modules/@antv/util/esm/lodash/is-type.js
20424
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-type.js
20400
20425
  var toString = {}.toString;
20401
20426
  var isType = function(value, type) {
20402
20427
  return toString.call(value) === "[object " + type + "]";
20403
20428
  };
20404
- // node_modules/@antv/util/esm/lodash/max.js
20429
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/max.js
20405
20430
  /**
20406
20431
  * 计算数组的最大值
20407
20432
  * @param arr 数组
@@ -20415,7 +20440,7 @@ function max(arr) {
20415
20440
  for (var i = 1; i < length; i++) max = Math.max(max, arr[i]);
20416
20441
  return max;
20417
20442
  }
20418
- // node_modules/@antv/util/esm/lodash/min.js
20443
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/min.js
20419
20444
  /**
20420
20445
  * @param {Array} arr The array to iterate over.
20421
20446
  * @return {*} Returns the minimum value.
@@ -20439,7 +20464,7 @@ var min_default = (function(arr) {
20439
20464
  return Math.min(prev, curr);
20440
20465
  }, arr[0]);
20441
20466
  });
20442
- // node_modules/@antv/util/esm/lodash/is-string.js
20467
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-string.js
20443
20468
  /**
20444
20469
  * 判断值是否为字符串
20445
20470
  * @return 是否为字符串
@@ -20447,13 +20472,13 @@ var min_default = (function(arr) {
20447
20472
  function isString(value) {
20448
20473
  return typeof value === "string";
20449
20474
  }
20450
- // node_modules/@antv/util/esm/lodash/clamp.js
20475
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/clamp.js
20451
20476
  var clamp = function(a, min, max) {
20452
20477
  if (a < min) return min;
20453
20478
  else if (a > max) return max;
20454
20479
  return a;
20455
20480
  };
20456
- // node_modules/@antv/util/esm/lodash/is-number.js
20481
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-number.js
20457
20482
  /**
20458
20483
  * 判断值是否为数字
20459
20484
  * @return 是否为数字
@@ -20461,7 +20486,7 @@ var clamp = function(a, min, max) {
20461
20486
  function isNumber(value) {
20462
20487
  return typeof value === "number";
20463
20488
  }
20464
- // node_modules/@antv/util/esm/lodash/is-number-equal.js
20489
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-number-equal.js
20465
20490
  var PRECISION = 1e-5;
20466
20491
  /**
20467
20492
  * 判断两个数是否相等
@@ -20471,11 +20496,11 @@ function isNumberEqual(a, b, precision) {
20471
20496
  if (precision === void 0) precision = PRECISION;
20472
20497
  return a === b || Math.abs(a - b) < precision;
20473
20498
  }
20474
- // node_modules/@antv/util/esm/lodash/mod.js
20499
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/mod.js
20475
20500
  var mod = function(n, m) {
20476
20501
  return (n % m + m) % m;
20477
20502
  };
20478
- // node_modules/@antv/util/esm/lodash/is-boolean.js
20503
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-boolean.js
20479
20504
  /**
20480
20505
  * 是否是布尔类型
20481
20506
  *
@@ -20485,11 +20510,11 @@ var mod = function(n, m) {
20485
20510
  var isBoolean = function(value) {
20486
20511
  return isType(value, "Boolean");
20487
20512
  };
20488
- // node_modules/@antv/util/esm/lodash/is-undefined.js
20513
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-undefined.js
20489
20514
  var isUndefined = function(value) {
20490
20515
  return value === void 0;
20491
20516
  };
20492
- // node_modules/tslib/tslib.es6.mjs
20517
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/tslib/tslib.es6.mjs
20493
20518
  var __assign = function() {
20494
20519
  __assign = Object.assign || function __assign(t) {
20495
20520
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -20509,7 +20534,7 @@ function __spreadArray(to, from, pack) {
20509
20534
  }
20510
20535
  return to.concat(ar || Array.prototype.slice.call(from));
20511
20536
  }
20512
- // node_modules/@antv/util/esm/path/parser/params-parser.js
20537
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/params-parser.js
20513
20538
  var paramsParser = {
20514
20539
  x1: 0,
20515
20540
  y1: 0,
@@ -20520,7 +20545,7 @@ var paramsParser = {
20520
20545
  qx: null,
20521
20546
  qy: null
20522
20547
  };
20523
- // node_modules/@antv/util/esm/path/process/fix-arc.js
20548
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/fix-arc.js
20524
20549
  function fixArc(pathArray, allPathCommands, i) {
20525
20550
  if (pathArray[i].length > 7) {
20526
20551
  pathArray[i].shift();
@@ -20533,7 +20558,7 @@ function fixArc(pathArray, allPathCommands, i) {
20533
20558
  pathArray.splice(i, 1);
20534
20559
  }
20535
20560
  }
20536
- // node_modules/@antv/util/esm/path/parser/params-count.js
20561
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/params-count.js
20537
20562
  var paramsCount = {
20538
20563
  a: 7,
20539
20564
  c: 6,
@@ -20547,7 +20572,7 @@ var paramsCount = {
20547
20572
  v: 1,
20548
20573
  z: 0
20549
20574
  };
20550
- // node_modules/@antv/util/esm/path/util/is-path-array.js
20575
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-path-array.js
20551
20576
  /**
20552
20577
  * Iterates an array to check if it's an actual `PathArray`.
20553
20578
  */
@@ -20557,7 +20582,7 @@ function isPathArray(path) {
20557
20582
  return paramsCount[lk] === seg.length - 1 && "achlmqstvz".includes(lk);
20558
20583
  });
20559
20584
  }
20560
- // node_modules/@antv/util/esm/path/util/is-absolute-array.js
20585
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-absolute-array.js
20561
20586
  /**
20562
20587
  * Iterates an array to check if it's a `PathArray`
20563
20588
  * with all absolute values.
@@ -20568,7 +20593,7 @@ function isAbsoluteArray(path) {
20568
20593
  return x === x.toUpperCase();
20569
20594
  });
20570
20595
  }
20571
- // node_modules/@antv/util/esm/path/util/is-normalized-array.js
20596
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-normalized-array.js
20572
20597
  /**
20573
20598
  * Iterates an array to check if it's a `PathArray`
20574
20599
  * with all segments are in non-shorthand notation
@@ -20580,7 +20605,7 @@ function isNormalizedArray(path) {
20580
20605
  return "ACLMQZ".includes(pc);
20581
20606
  });
20582
20607
  }
20583
- // node_modules/@antv/util/esm/path/parser/finalize-segment.js
20608
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/finalize-segment.js
20584
20609
  /**
20585
20610
  * Breaks the parsing of a pathString once a segment is finalized.
20586
20611
  */
@@ -20597,7 +20622,7 @@ function finalizeSegment(path) {
20597
20622
  if (!paramsCount[LK]) break;
20598
20623
  }
20599
20624
  }
20600
- // node_modules/@antv/util/esm/path/parser/scan-flag.js
20625
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/scan-flag.js
20601
20626
  /**
20602
20627
  * Validates an A (arc-to) specific path command value.
20603
20628
  * Usually a `large-arc-flag` or `sweep-flag`.
@@ -20617,7 +20642,7 @@ function scanFlag(path) {
20617
20642
  }
20618
20643
  path.err = "[path-util]: invalid Arc flag \"".concat(pathValue[index], "\", expecting 0 or 1 at index ").concat(index);
20619
20644
  }
20620
- // node_modules/@antv/util/esm/path/parser/is-digit-start.js
20645
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-digit-start.js
20621
20646
  /**
20622
20647
  * Checks if the character is or belongs to a number.
20623
20648
  * [0-9]|+|-|.
@@ -20628,7 +20653,7 @@ function isDigitStart(code) {
20628
20653
  function isDigit(code) {
20629
20654
  return code >= 48 && code <= 57;
20630
20655
  }
20631
- // node_modules/@antv/util/esm/path/parser/scan-param.js
20656
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/scan-param.js
20632
20657
  /**
20633
20658
  * Validates every character of the path string,
20634
20659
  * every path command, negative numbers or floating point numbers.
@@ -20696,7 +20721,7 @@ function scanParam(path) {
20696
20721
  path.index = index;
20697
20722
  path.param = +path.pathValue.slice(start, index);
20698
20723
  }
20699
- // node_modules/@antv/util/esm/path/parser/is-space.js
20724
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-space.js
20700
20725
  /**
20701
20726
  * Checks if the character is a space.
20702
20727
  */
@@ -20722,7 +20747,7 @@ function isSpace(ch) {
20722
20747
  65279
20723
20748
  ].includes(ch);
20724
20749
  }
20725
- // node_modules/@antv/util/esm/path/parser/skip-spaces.js
20750
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/skip-spaces.js
20726
20751
  /**
20727
20752
  * Points the parser to the next character in the
20728
20753
  * path string every time it encounters any kind of
@@ -20732,7 +20757,7 @@ function skipSpaces(path) {
20732
20757
  var pathValue = path.pathValue, max = path.max;
20733
20758
  while (path.index < max && isSpace(pathValue.charCodeAt(path.index))) path.index += 1;
20734
20759
  }
20735
- // node_modules/@antv/util/esm/path/parser/is-path-command.js
20760
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-path-command.js
20736
20761
  /**
20737
20762
  * Checks if the character is a path command.
20738
20763
  */
@@ -20751,14 +20776,14 @@ function isPathCommand(code) {
20751
20776
  default: return false;
20752
20777
  }
20753
20778
  }
20754
- // node_modules/@antv/util/esm/path/parser/is-arc-command.js
20779
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-arc-command.js
20755
20780
  /**
20756
20781
  * Checks if the character is an A (arc-to) path command.
20757
20782
  */
20758
20783
  function isArcCommand(code) {
20759
20784
  return (code | 32) === 97;
20760
20785
  }
20761
- // node_modules/@antv/util/esm/path/parser/scan-segment.js
20786
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/scan-segment.js
20762
20787
  /**
20763
20788
  * Scans every character in the path string to determine
20764
20789
  * where a segment starts and where it ends.
@@ -20796,7 +20821,7 @@ function scanSegment(path) {
20796
20821
  }
20797
20822
  finalizeSegment(path);
20798
20823
  }
20799
- // node_modules/@antv/util/esm/path/parser/path-parser.js
20824
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/path-parser.js
20800
20825
  /**
20801
20826
  * The `PathParser` is used by the `parsePathString` static method
20802
20827
  * to generate a `pathArray`.
@@ -20814,7 +20839,7 @@ var PathParser = function() {
20814
20839
  }
20815
20840
  return PathParser;
20816
20841
  }();
20817
- // node_modules/@antv/util/esm/path/parser/parse-path-string.js
20842
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/parse-path-string.js
20818
20843
  /**
20819
20844
  * Parses a path string value and returns an array
20820
20845
  * of segments we like to call `pathArray`.
@@ -20826,7 +20851,7 @@ function parsePathString(pathInput) {
20826
20851
  while (path.index < path.max && !path.err.length) scanSegment(path);
20827
20852
  return path.err ? path.err : path.segments;
20828
20853
  }
20829
- // node_modules/@antv/util/esm/path/convert/path-2-absolute.js
20854
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/convert/path-2-absolute.js
20830
20855
  /**
20831
20856
  * Converts a `PathArray` to an `AbsoluteArray`.
20832
20857
  */
@@ -20901,7 +20926,7 @@ function path2Absolute(pathInput) {
20901
20926
  return absoluteSegment;
20902
20927
  });
20903
20928
  }
20904
- // node_modules/@antv/util/esm/path/process/normalize-segment.js
20929
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/normalize-segment.js
20905
20930
  /**
20906
20931
  * Normalizes a single segment of a `PathArray` object.
20907
20932
  * eg. H/V -> L, T -> Q
@@ -20952,7 +20977,7 @@ function normalizeSegment(segment, params) {
20952
20977
  }
20953
20978
  return result;
20954
20979
  }
20955
- // node_modules/@antv/util/esm/path/process/normalize-path.js
20980
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/normalize-path.js
20956
20981
  /**
20957
20982
  * @example
20958
20983
  * const path = 'M0 0 H50';
@@ -20974,7 +20999,7 @@ function normalizePath(pathInput) {
20974
20999
  }
20975
21000
  return path;
20976
21001
  }
20977
- // node_modules/@antv/util/esm/path/util/is-curve-array.js
21002
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-curve-array.js
20978
21003
  /**
20979
21004
  * Iterates an array to check if it's a `PathArray`
20980
21005
  * with all C (cubic bezier) segments.
@@ -20988,14 +21013,14 @@ function isCurveArray(path) {
20988
21013
  return "MC".includes(pc);
20989
21014
  });
20990
21015
  }
20991
- // node_modules/@antv/util/esm/path/util/rotate-vector.js
21016
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/rotate-vector.js
20992
21017
  function rotateVector(x, y, rad) {
20993
21018
  return {
20994
21019
  x: x * Math.cos(rad) - y * Math.sin(rad),
20995
21020
  y: x * Math.sin(rad) + y * Math.cos(rad)
20996
21021
  };
20997
21022
  }
20998
- // node_modules/@antv/util/esm/path/process/arc-2-cubic.js
21023
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/arc-2-cubic.js
20999
21024
  /**
21000
21025
  * Converts A (arc-to) segments to C (cubic-bezier-to).
21001
21026
  *
@@ -21082,7 +21107,7 @@ function arcToCubic(X1, Y1, RX, RY, angle, LAF, SF, X2, Y2, recursive) {
21082
21107
  for (var i = 0, ii = res.length; i < ii; i += 1) newres[i] = i % 2 ? rotateVector(res[i - 1], res[i], rad).y : rotateVector(res[i], res[i + 1], rad).x;
21083
21108
  return newres;
21084
21109
  }
21085
- // node_modules/@antv/util/esm/path/process/quad-2-cubic.js
21110
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/quad-2-cubic.js
21086
21111
  function quadToCubic(x1, y1, qx, qy, x2, y2) {
21087
21112
  var r13 = 1 / 3;
21088
21113
  var r23 = 2 / 3;
@@ -21095,7 +21120,7 @@ function quadToCubic(x1, y1, qx, qy, x2, y2) {
21095
21120
  y2
21096
21121
  ];
21097
21122
  }
21098
- // node_modules/@antv/util/esm/path/util/mid-point.js
21123
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/mid-point.js
21099
21124
  function midPoint(a, b, t) {
21100
21125
  var ax = a[0];
21101
21126
  var ay = a[1];
@@ -21103,7 +21128,7 @@ function midPoint(a, b, t) {
21103
21128
  var by = b[1];
21104
21129
  return [ax + (bx - ax) * t, ay + (by - ay) * t];
21105
21130
  }
21106
- // node_modules/@antv/util/esm/path/process/line-2-cubic.js
21131
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/line-2-cubic.js
21107
21132
  var lineToCubic = function(x1, y1, x2, y2) {
21108
21133
  return __spreadArray(__spreadArray([], midPoint([x1, y1], [x2, y2], .5), true), [
21109
21134
  x2,
@@ -21112,7 +21137,7 @@ var lineToCubic = function(x1, y1, x2, y2) {
21112
21137
  y2
21113
21138
  ], false);
21114
21139
  };
21115
- // node_modules/@antv/util/esm/path/process/segment-2-cubic.js
21140
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/segment-2-cubic.js
21116
21141
  function segmentToCubic(segment, params) {
21117
21142
  var pathCommand = segment[0];
21118
21143
  var values = segment.slice(1).map(Number);
@@ -21151,7 +21176,7 @@ function segmentToCubic(segment, params) {
21151
21176
  }
21152
21177
  return segment;
21153
21178
  }
21154
- // node_modules/@antv/util/esm/path/convert/path-2-curve.js
21179
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/convert/path-2-curve.js
21155
21180
  function path2Curve(pathInput, needZCommandIndexes) {
21156
21181
  if (needZCommandIndexes === void 0) needZCommandIndexes = false;
21157
21182
  if (isCurveArray(pathInput)) {
@@ -21185,13 +21210,13 @@ function path2Curve(pathInput, needZCommandIndexes) {
21185
21210
  if (needZCommandIndexes) return [path, zCommandIndexes];
21186
21211
  else return path;
21187
21212
  }
21188
- // node_modules/@antv/util/esm/path/process/clone-path.js
21213
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/clone-path.js
21189
21214
  function clonePath(path) {
21190
21215
  return path.map(function(x) {
21191
21216
  return Array.isArray(x) ? [].concat(x) : x;
21192
21217
  });
21193
21218
  }
21194
- // node_modules/@antv/util/esm/path/process/reverse-curve.js
21219
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/reverse-curve.js
21195
21220
  function reverseCurve(pathArray) {
21196
21221
  var rotatedCurve = pathArray.slice(1).map(function(x, i, curveOnly) {
21197
21222
  return !i ? pathArray[0].slice(1).concat(x.slice(1)) : curveOnly[i - 1].slice(-2).concat(x.slice(1));
@@ -21204,11 +21229,11 @@ function reverseCurve(pathArray) {
21204
21229
  return ["C"].concat(x.slice(2));
21205
21230
  }));
21206
21231
  }
21207
- // node_modules/@antv/util/esm/path/util/distance-square-root.js
21232
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/distance-square-root.js
21208
21233
  function distanceSquareRoot(a, b) {
21209
21234
  return Math.sqrt((a[0] - b[0]) * (a[0] - b[0]) + (a[1] - b[1]) * (a[1] - b[1]));
21210
21235
  }
21211
- // node_modules/@antv/util/esm/path/util/segment-line-factory.js
21236
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-line-factory.js
21212
21237
  /**
21213
21238
  * Returns a {x,y} point at a given length, the total length and
21214
21239
  * the minimum and maximum {x,y} coordinates of a line (L,V,H,Z) segment.
@@ -21249,7 +21274,7 @@ function segmentLineFactory(x1, y1, x2, y2, distance) {
21249
21274
  }
21250
21275
  };
21251
21276
  }
21252
- // node_modules/@antv/util/esm/path/util/segment-arc-factory.js
21277
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-arc-factory.js
21253
21278
  function angleBetween$1(v0, v1) {
21254
21279
  var v0x = v0.x, v0y = v0.y;
21255
21280
  var v1x = v1.x, v1y = v1.y;
@@ -21396,7 +21421,7 @@ function segmentArcFactory(X1, Y1, RX, RY, angle, LAF, SF, X2, Y2, distance, opt
21396
21421
  }
21397
21422
  };
21398
21423
  }
21399
- // node_modules/@antv/util/esm/path/util/segment-cubic-factory.js
21424
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-cubic-factory.js
21400
21425
  /**
21401
21426
  * Returns a {x,y} point at a given length, the total length and
21402
21427
  * the minimum and maximum {x,y} coordinates of a C (cubic-bezier) segment.
@@ -21485,7 +21510,7 @@ function segmentCubicFactory(x1, y1, c1x, c1y, c2x, c2y, x2, y2, distance, optio
21485
21510
  }
21486
21511
  };
21487
21512
  }
21488
- // node_modules/@antv/util/esm/path/util/segment-quad-factory.js
21513
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-quad-factory.js
21489
21514
  /**
21490
21515
  * Returns the {x,y} coordinates of a point at a
21491
21516
  * given length of a quadratic-bezier segment.
@@ -21577,7 +21602,7 @@ function segmentQuadFactory(x1, y1, qx, qy, x2, y2, distance, options) {
21577
21602
  }
21578
21603
  };
21579
21604
  }
21580
- // node_modules/@antv/util/esm/path/util/path-length-factory.js
21605
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/path-length-factory.js
21581
21606
  /**
21582
21607
  * Returns a {x,y} point at a given length
21583
21608
  * of a shape, the shape total length and
@@ -21665,7 +21690,7 @@ function pathLengthFactory(pathInput, distance, options) {
21665
21690
  }
21666
21691
  };
21667
21692
  }
21668
- // node_modules/@antv/util/esm/path/util/get-total-length.js
21693
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-total-length.js
21669
21694
  /**
21670
21695
  * Returns the shape total length, or the equivalent to `shape.getTotalLength()`.
21671
21696
  *
@@ -21678,7 +21703,7 @@ function getTotalLength(pathInput, options) {
21678
21703
  length: true
21679
21704
  })).length;
21680
21705
  }
21681
- // node_modules/@antv/util/esm/path/util/get-rotated-curve.js
21706
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-rotated-curve.js
21682
21707
  function getRotations(a) {
21683
21708
  var segCount = a.length;
21684
21709
  var pointCount = segCount - 1;
@@ -21711,7 +21736,7 @@ function getRotatedCurve(a, b) {
21711
21736
  computedIndex = lineLengths.indexOf(Math.min.apply(null, lineLengths));
21712
21737
  return rotations[computedIndex];
21713
21738
  }
21714
- // node_modules/@antv/util/esm/path/util/get-path-area.js
21739
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-path-area.js
21715
21740
  /**
21716
21741
  * Returns the area of a single cubic-bezier segment.
21717
21742
  *
@@ -21746,11 +21771,11 @@ function getPathArea(path) {
21746
21771
  return a + b;
21747
21772
  }, 0);
21748
21773
  }
21749
- // node_modules/@antv/util/esm/path/util/get-draw-direction.js
21774
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-draw-direction.js
21750
21775
  function getDrawDirection(pathArray) {
21751
21776
  return getPathArea(pathArray) >= 0;
21752
21777
  }
21753
- // node_modules/@antv/util/esm/path/util/get-point-at-length.js
21778
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-point-at-length.js
21754
21779
  /**
21755
21780
  * Returns [x,y] coordinates of a point at a given length of a shape.
21756
21781
  */
@@ -21760,7 +21785,7 @@ function getPointAtLength(pathInput, distance, options) {
21760
21785
  length: true
21761
21786
  })).point;
21762
21787
  }
21763
- // node_modules/@antv/util/esm/path/util/equalize-segments.js
21788
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/equalize-segments.js
21764
21789
  var MAX_RECURSION_DEPTH = 50;
21765
21790
  function splitCubic(pts, t) {
21766
21791
  if (t === void 0) t = .5;
@@ -21831,12 +21856,12 @@ function equalizeSegments(path1, path2, TL, depth) {
21831
21856
  });
21832
21857
  return result[0].length === result[1].length ? result : equalizeSegments(result[0], result[1], tl, depth + 1);
21833
21858
  }
21834
- // node_modules/@babel/runtime/helpers/esm/superPropBase.js
21859
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/superPropBase.js
21835
21860
  function _superPropBase(t, o) {
21836
21861
  for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
21837
21862
  return t;
21838
21863
  }
21839
- // node_modules/@babel/runtime/helpers/esm/get.js
21864
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/get.js
21840
21865
  function _get() {
21841
21866
  return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(e, t, r) {
21842
21867
  var p = _superPropBase(e, t);
@@ -21846,14 +21871,14 @@ function _get() {
21846
21871
  }
21847
21872
  }, _get.apply(null, arguments);
21848
21873
  }
21849
- // node_modules/@babel/runtime/helpers/esm/superPropGet.js
21874
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/superPropGet.js
21850
21875
  function _superPropGet(t, o, e, r) {
21851
21876
  var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e);
21852
21877
  return 2 & r && "function" == typeof p ? function(t) {
21853
21878
  return p.apply(e, t);
21854
21879
  } : p;
21855
21880
  }
21856
- // node_modules/@antv/g-math/dist/index.esm.js
21881
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/g-math/dist/index.esm.js
21857
21882
  /*!
21858
21883
  * @antv/g-math
21859
21884
  * @description Geometry util
@@ -22010,11 +22035,11 @@ function box(x1, y1, x2, y2, x3, y3) {
22010
22035
  if (yExtrema !== void 0) yArr.push(quadraticAt(y1, y2, y3, yExtrema));
22011
22036
  return getBBoxByArray(xArr, yArr);
22012
22037
  }
22013
- // node_modules/@babel/runtime/helpers/esm/OverloadYield.js
22038
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/OverloadYield.js
22014
22039
  function _OverloadYield(e, d) {
22015
22040
  this.v = e, this.k = d;
22016
22041
  }
22017
- // node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
22042
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
22018
22043
  function _regeneratorDefine(e, r, n, t) {
22019
22044
  var i = Object.defineProperty;
22020
22045
  try {
@@ -22036,7 +22061,7 @@ function _regeneratorDefine(e, r, n, t) {
22036
22061
  }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
22037
22062
  }, _regeneratorDefine(e, r, n, t);
22038
22063
  }
22039
- // node_modules/@babel/runtime/helpers/esm/regenerator.js
22064
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regenerator.js
22040
22065
  function _regenerator() {
22041
22066
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
22042
22067
  var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag";
@@ -22109,7 +22134,7 @@ function _regenerator() {
22109
22134
  };
22110
22135
  })();
22111
22136
  }
22112
- // node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js
22137
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js
22113
22138
  function AsyncIterator$1(t, e) {
22114
22139
  function n(r, o, i, f) {
22115
22140
  try {
@@ -22139,18 +22164,18 @@ function AsyncIterator$1(t, e) {
22139
22164
  return r = r ? r.then(f, f) : f();
22140
22165
  }, !0);
22141
22166
  }
22142
- // node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js
22167
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js
22143
22168
  function _regeneratorAsyncGen(r, e, t, o, n) {
22144
22169
  return new AsyncIterator$1(_regenerator().w(r, e, t, o), n || Promise);
22145
22170
  }
22146
- // node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js
22171
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js
22147
22172
  function _regeneratorAsync(n, e, r, t, o) {
22148
22173
  var a = _regeneratorAsyncGen(n, e, r, t, o);
22149
22174
  return a.next().then(function(n) {
22150
22175
  return n.done ? n.value : a.next();
22151
22176
  });
22152
22177
  }
22153
- // node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js
22178
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js
22154
22179
  function _regeneratorKeys(e) {
22155
22180
  var n = Object(e), r = [];
22156
22181
  for (var t in n) r.unshift(t);
@@ -22159,7 +22184,7 @@ function _regeneratorKeys(e) {
22159
22184
  return e.done = !0, e;
22160
22185
  };
22161
22186
  }
22162
- // node_modules/@babel/runtime/helpers/esm/regeneratorValues.js
22187
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js
22163
22188
  function _regeneratorValues(e) {
22164
22189
  if (null != e) {
22165
22190
  var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], r = 0;
@@ -22174,7 +22199,7 @@ function _regeneratorValues(e) {
22174
22199
  }
22175
22200
  throw new TypeError(_typeof(e) + " is not iterable");
22176
22201
  }
22177
- // node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
22202
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
22178
22203
  function _regeneratorRuntime() {
22179
22204
  "use strict";
22180
22205
  var r = _regenerator(), e = r.m(_regeneratorRuntime), t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
@@ -22241,7 +22266,7 @@ function _regeneratorRuntime() {
22241
22266
  };
22242
22267
  })();
22243
22268
  }
22244
- // node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
22269
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
22245
22270
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
22246
22271
  try {
22247
22272
  var i = n[a](c), u = i.value;
@@ -22266,7 +22291,7 @@ function _asyncToGenerator(n) {
22266
22291
  });
22267
22292
  };
22268
22293
  }
22269
- // node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
22294
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
22270
22295
  function _createForOfIteratorHelper(r, e) {
22271
22296
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
22272
22297
  if (!t) {
@@ -22310,7 +22335,7 @@ function _createForOfIteratorHelper(r, e) {
22310
22335
  }
22311
22336
  };
22312
22337
  }
22313
- // node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
22338
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
22314
22339
  function _objectWithoutPropertiesLoose(r, e) {
22315
22340
  if (null == r) return {};
22316
22341
  var t = {};
@@ -22320,7 +22345,7 @@ function _objectWithoutPropertiesLoose(r, e) {
22320
22345
  }
22321
22346
  return t;
22322
22347
  }
22323
- // node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
22348
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
22324
22349
  function _objectWithoutProperties(e, t) {
22325
22350
  if (null == e) return {};
22326
22351
  var o, r, i = _objectWithoutPropertiesLoose(e, t);
@@ -22330,7 +22355,7 @@ function _objectWithoutProperties(e, t) {
22330
22355
  }
22331
22356
  return i;
22332
22357
  }
22333
- // node_modules/@antv/g-lite/dist/index.esm.js
22358
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/g-lite/dist/index.esm.js
22334
22359
  /*!
22335
22360
  * @antv/g-lite
22336
22361
  * @description A core module for rendering engine implements DOM API.