@ianicdev/datatables2 0.2.3 → 0.2.4

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.
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as Ga, g as Po } from "./index-HQNCf2lO.mjs";
1
+ import { c as Ke, _ as Ga, g as Po } from "./index-DondTTgY.mjs";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
@@ -2999,7 +2999,7 @@ Le.transformTypes = {
2999
2999
  class N {
3000
3000
  constructor(e, t) {
3001
3001
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
3002
- if (this.document = e, this.node = t, this.captureTextNodes = r, this.attributes = {}, this.styles = {}, this.stylesSpecificity = {}, this.animationFrozen = !1, this.animationFrozenValue = "", this.parent = null, this.children = [], !(!t || t.nodeType !== 1)) {
3002
+ if (this.document = e, this.node = t, this.captureTextNodes = r, this.attributes = /* @__PURE__ */ Object.create(null), this.styles = /* @__PURE__ */ Object.create(null), this.stylesSpecificity = /* @__PURE__ */ Object.create(null), this.animationFrozen = !1, this.animationFrozenValue = "", this.parent = null, this.children = [], !(!t || t.nodeType !== 1)) {
3003
3003
  if (Array.from(t.attributes).forEach((s) => {
3004
3004
  var u = qb(s.nodeName);
3005
3005
  this.attributes[u] = new S(e, u, s.value);
@@ -4348,7 +4348,7 @@ class M1 extends tn {
4348
4348
  }
4349
4349
  class _1 extends N {
4350
4350
  constructor(e, t, r) {
4351
- super(e, t, r), this.type = "font", this.glyphs = {}, this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber();
4351
+ super(e, t, r), this.type = "font", this.glyphs = /* @__PURE__ */ Object.create(null), this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber();
4352
4352
  var {
4353
4353
  definitions: i
4354
4354
  } = e, {
@@ -4367,7 +4367,7 @@ class _1 extends N {
4367
4367
  break;
4368
4368
  case "glyph": {
4369
4369
  var u = o;
4370
- u.arabicForm ? (this.isRTL = !0, this.isArabic = !0, typeof this.glyphs[u.unicode] > "u" && (this.glyphs[u.unicode] = {}), this.glyphs[u.unicode][u.arabicForm] = u) : this.glyphs[u.unicode] = u;
4370
+ u.arabicForm ? (this.isRTL = !0, this.isArabic = !0, typeof this.glyphs[u.unicode] > "u" && (this.glyphs[u.unicode] = /* @__PURE__ */ Object.create(null)), this.glyphs[u.unicode][u.arabicForm] = u) : this.glyphs[u.unicode] = u;
4371
4371
  break;
4372
4372
  }
4373
4373
  }
@@ -5310,7 +5310,7 @@ class $e {
5310
5310
  createImage: n = $e.createImage,
5311
5311
  anonymousCrossOrigin: o
5312
5312
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5313
- this.canvg = e, this.definitions = {}, this.styles = {}, this.stylesSpecificity = {}, this.images = [], this.fonts = [], this.emSizeStack = [], this.uniqueId = 0, this.screen = e.screen, this.rootEmSize = t, this.emSize = r, this.createCanvas = i, this.createImage = this.bindCreateImage(n, o), this.screen.wait(this.isImagesLoaded.bind(this)), this.screen.wait(this.isFontsLoaded.bind(this));
5313
+ this.canvg = e, this.definitions = /* @__PURE__ */ Object.create(null), this.styles = /* @__PURE__ */ Object.create(null), this.stylesSpecificity = /* @__PURE__ */ Object.create(null), this.images = [], this.fonts = [], this.emSizeStack = [], this.uniqueId = 0, this.screen = e.screen, this.rootEmSize = t, this.emSize = r, this.createCanvas = i, this.createImage = this.bindCreateImage(n, o), this.screen.wait(this.isImagesLoaded.bind(this)), this.screen.wait(this.isFontsLoaded.bind(this));
5314
5314
  }
5315
5315
  bindCreateImage(e, t) {
5316
5316
  return typeof t == "boolean" ? (r, i) => e(r, typeof i == "boolean" ? i : t) : e;