aptechka 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/lib/attribute/index.js +12 -12
  2. package/lib/canvas/index.cjs +7 -1
  3. package/lib/canvas/index.js +54 -58
  4. package/lib/controls/index.js +1 -1
  5. package/lib/{createStylesheet-COAZH1Mw.js → createStylesheet-C68ja-RS.js} +3 -3
  6. package/lib/css-property/index.js +4 -4
  7. package/lib/{dom-P5QbAASX.js → dom-0S_WDL4g.js} +2 -2
  8. package/lib/element-constructor/index.cjs +1 -1
  9. package/lib/element-constructor/index.js +133 -122
  10. package/lib/element-resizer/index.js +8 -8
  11. package/lib/en3/helpers/index.js +2 -2
  12. package/lib/en3/index.js +1 -1
  13. package/lib/en3/loaders/index.js +1 -1
  14. package/lib/en3/utils/index.js +2 -2
  15. package/lib/{en3-x-Ki30MY.js → en3-sK9Z-fp2.js} +1 -1
  16. package/lib/file-BEr-o55N.js +31 -0
  17. package/lib/file-C9BbxzVU.cjs +1 -0
  18. package/lib/intersector/index.js +7 -7
  19. package/lib/layout-box/index.js +14 -14
  20. package/lib/need_redo_tweaker/index.cjs +18 -0
  21. package/lib/need_redo_tweaker/index.js +1343 -0
  22. package/lib/pointer/index.js +1 -1
  23. package/lib/popover/index.cjs +1 -1
  24. package/lib/popover/index.js +60 -62
  25. package/lib/scroll/index.cjs +1 -1
  26. package/lib/scroll/index.js +104 -105
  27. package/lib/scroll-entries/index.js +15 -15
  28. package/lib/slicer/index.cjs +5 -5
  29. package/lib/slicer/index.js +55 -86
  30. package/lib/{tags-BL3kQp9o.js → tags-zft1DGBz.js} +92 -92
  31. package/lib/ticker/index.js +1 -1
  32. package/lib/{traverseMaterials-mGC2_FkG.js → traverseMaterials-BlZbRhgW.js} +1 -1
  33. package/lib/utils/index.cjs +1 -1
  34. package/lib/utils/index.js +56 -57
  35. package/package.json +7 -47
  36. package/lib/accordion/index.cjs +0 -1
  37. package/lib/accordion/index.js +0 -167
  38. package/lib/checkbox/index.cjs +0 -1
  39. package/lib/checkbox/index.js +0 -112
  40. package/lib/createTheme-CHnsCgAr.js +0 -15
  41. package/lib/createTheme-Cfaw9UmV.cjs +0 -1
  42. package/lib/events-BGwqaxVW.cjs +0 -1
  43. package/lib/events-CJTUMSLU.js +0 -20
  44. package/lib/file-EevnUtRj.cjs +0 -1
  45. package/lib/file-lxi_oXJf.js +0 -13
  46. package/lib/index-BuAuBz2_.cjs +0 -9
  47. package/lib/index-CenF0JbH.js +0 -261
  48. package/lib/modal/index.cjs +0 -1
  49. package/lib/modal/index.js +0 -133
  50. package/lib/select/index.cjs +0 -1
  51. package/lib/select/index.js +0 -7
  52. package/lib/theme/index.cjs +0 -1
  53. package/lib/theme/index.js +0 -25
  54. package/lib/tweaker/index.cjs +0 -10
  55. package/lib/tweaker/index.js +0 -989
@@ -1,22 +1,22 @@
1
- var A = (t) => {
1
+ var g = (t) => {
2
2
  throw TypeError(t);
3
3
  };
4
- var m = (t, e, s) => e.has(t) || A("Cannot " + s);
5
- var r = (t, e, s) => (m(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => e.has(t) ? A("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), a = (t, e, s, o) => (m(t, e, "write to private field"), o ? o.call(t, s) : e.set(t, s), s), v = (t, e, s) => (m(t, e, "access private method"), s);
4
+ var m = (t, e, s) => e.has(t) || g("Cannot " + s);
5
+ var r = (t, e, s) => (m(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => e.has(t) ? g("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), c = (t, e, s, o) => (m(t, e, "write to private field"), o ? o.call(t, s) : e.set(t, s), s), v = (t, e, s) => (m(t, e, "access private method"), s);
6
6
  import { S as y } from "../Store-C46i0nvr.js";
7
7
  import { p as S } from "../attributes-69we3byR.js";
8
8
  import { i as w } from "../browser-0zX67oeU.js";
9
- import { a as x } from "../dom-P5QbAASX.js";
10
- var i, u, c, b, n, p;
9
+ import { g as x } from "../dom-0S_WDL4g.js";
10
+ var i, u, a, b, n, p;
11
11
  class N extends y {
12
- constructor(s, o, g, f) {
13
- super(g, f);
12
+ constructor(s, o, A, f) {
13
+ super(A, f);
14
14
  h(this, n);
15
15
  h(this, i, null);
16
16
  h(this, u);
17
- h(this, c, null);
17
+ h(this, a, null);
18
18
  h(this, b, !1);
19
- a(this, u, o), w && (a(this, i, x(s)), a(this, c, new MutationObserver((l) => {
19
+ c(this, u, o), w && (c(this, i, x(s)), c(this, a, new MutationObserver((l) => {
20
20
  l.forEach((d) => {
21
21
  d.type === "attributes" && d.attributeName === r(this, u) && v(this, n, p).call(this);
22
22
  });
@@ -31,18 +31,18 @@ class N extends y {
31
31
  super.unsubscribe(s), this.subscribers.size || this.unobserve();
32
32
  }
33
33
  observe() {
34
- r(this, b) || (a(this, b, !0), r(this, c).observe(r(this, i), {
34
+ r(this, b) || (c(this, b, !0), r(this, a).observe(r(this, i), {
35
35
  attributes: !0
36
36
  }), v(this, n, p).call(this));
37
37
  }
38
38
  unobserve() {
39
- r(this, b) && (a(this, b, !1), r(this, c).disconnect());
39
+ r(this, b) && (c(this, b, !1), r(this, a).disconnect());
40
40
  }
41
41
  close() {
42
42
  super.close(), this.unobserve();
43
43
  }
44
44
  }
45
- i = new WeakMap(), u = new WeakMap(), c = new WeakMap(), b = new WeakMap(), n = new WeakSet(), p = function() {
45
+ i = new WeakMap(), u = new WeakMap(), a = new WeakMap(), b = new WeakMap(), n = new WeakSet(), p = function() {
46
46
  const s = r(this, i).getAttribute(r(this, u));
47
47
  s != null && (this.current = S(s));
48
48
  };
@@ -1 +1,7 @@
1
- "use strict";var y=i=>{throw TypeError(i)};var R=(i,s,e)=>s.has(i)||y("Cannot "+e);var t=(i,s,e)=>(R(i,s,"read from private field"),e?e.call(i):s.get(i)),h=(i,s,e)=>s.has(i)?y("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,e),a=(i,s,e,r)=>(R(i,s,"write to private field"),r?r.call(i,e):s.set(i,e),e),l=(i,s,e)=>(R(i,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("../css-property/index.cjs");require("../Store-npaZHvX4.cjs");const F=require("../math-GDWEqu7y.cjs"),w=require("../ticker/index.cjs"),f=require("../tags-6_ETuR75.cjs"),B=require("../createStylesheet-Csfmh-MH.cjs"),C=require("../element-resizer/index.cjs"),L=B.createStylesheet({":host, canvas":{display:"block",width:"100%",height:"100%"}});var c,o,m,u,d,p,b,g,n,E,q,x,v,S,P;class k extends HTMLElement{constructor(){super();h(this,n);h(this,c,new z.CSSProperty(this,"--fps",0));h(this,o,null);h(this,m,null);h(this,u,0);h(this,d,0);h(this,p,1);h(this,b,0);h(this,g,1);h(this,x,e=>{a(this,p,F.clamp(devicePixelRatio,1,2)),a(this,u,e.contentRect.width),a(this,d,e.contentRect.height),t(this,o).width=t(this,u)*this.pixelRatio,t(this,o).height=t(this,d)*this.pixelRatio,this.context.scale(this.pixelRatio,this.pixelRatio),l(this,n,P).call(this),l(this,n,S).call(this)});h(this,v,e=>{a(this,b,e.timestamp),a(this,g,e.timeBetweenFrames),l(this,n,S).call(this)});this.attachShadow({mode:"open"}).adoptedStyleSheets.push(L),f.element(this,{children:f.canvas({ref:r=>{a(this,o,r),a(this,m,r.getContext("2d"))}})}),t(this,c).subscribe(r=>{typeof r.previous!="undefined"&&r.current!==r.previous&&l(this,n,E).call(this)})}get fpsCSSProperty(){return t(this,c)}get canvasElement(){return t(this,o)}get context(){return t(this,m)}get pixelRatio(){return t(this,p)}get width(){return t(this,u)}get height(){return t(this,d)}get detail(){return{width:t(this,u),height:t(this,d),element:this,canvasElement:t(this,o),pixelRatio:t(this,p),context:t(this,m),timestamp:t(this,b),timeBetweenFrames:t(this,g)}}connectedCallback(){t(this,c).observe(),C.elementResizer.subscribe(this,t(this,x)),l(this,n,E).call(this)}disconnectedCallback(){t(this,c).unobserve(),C.elementResizer.unsubscribe(t(this,x)),l(this,n,q).call(this)}}c=new WeakMap,o=new WeakMap,m=new WeakMap,u=new WeakMap,d=new WeakMap,p=new WeakMap,b=new WeakMap,g=new WeakMap,n=new WeakSet,E=function(){w.ticker.unsubscribe(t(this,v)),this.hasAttribute("static")||w.ticker.subscribe(t(this,v),{culling:this,maxFPS:t(this,c).current})},q=function(){w.ticker.unsubscribe(t(this,v))},x=new WeakMap,v=new WeakMap,S=function(){this.dispatchEvent(new CustomEvent("canvasRender",{composed:!0,detail:this.detail}))},P=function(){this.dispatchEvent(new CustomEvent("canvasResize",{composed:!0,detail:this.detail}))};customElements.get("e-canvas")||customElements.define("e-canvas",k);exports.CanvasElement=k;
1
+ "use strict";var C=i=>{throw TypeError(i)};var w=(i,s,e)=>s.has(i)||C("Cannot "+e);var t=(i,s,e)=>(w(i,s,"read from private field"),e?e.call(i):s.get(i)),n=(i,s,e)=>s.has(i)?C("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,e),c=(i,s,e,v)=>(w(i,s,"write to private field"),v?v.call(i,e):s.set(i,e),e),o=(i,s,e)=>(w(i,s,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../css-property/index.cjs"),f=require("../element-resizer/index.cjs"),R=require("../ticker/index.cjs"),B=require("../browser-CpzFX2xg.cjs"),F=require("../math-GDWEqu7y.cjs");var a,r,d,l,u,m,b,g,h,E,P,x,p,y,z;class k extends HTMLElement{constructor(){super();n(this,h);n(this,a,new q.CSSProperty(this,"--fps",0));n(this,r,null);n(this,d,null);n(this,l,0);n(this,u,0);n(this,m,1);n(this,b,0);n(this,g,1);n(this,x,e=>{c(this,m,F.clamp(devicePixelRatio,1,2)),c(this,l,e.contentRect.width),c(this,u,e.contentRect.height),t(this,r).width=t(this,l)*this.pixelRatio,t(this,r).height=t(this,u)*this.pixelRatio,this.context.scale(this.pixelRatio,this.pixelRatio),o(this,h,z).call(this),o(this,h,y).call(this)});n(this,p,e=>{c(this,b,e.timestamp),c(this,g,e.timeBetweenFrames),o(this,h,y).call(this)});if(B.isBrowser){const e=new CSSStyleSheet;e.replaceSync(`
2
+ :host, canvas {
3
+ display: block;
4
+ width: 100%;
5
+ height: 100%;
6
+ }
7
+ `);const v=this.attachShadow({mode:"open"});v.adoptedStyleSheets.push(e),c(this,r,document.createElement("canvas")),c(this,d,t(this,r).getContext("2d")),v.appendChild(t(this,r)),t(this,a).subscribe(S=>{typeof S.previous!="undefined"&&S.current!==S.previous&&o(this,h,E).call(this)})}}get fpsCSSProperty(){return t(this,a)}get canvasElement(){return t(this,r)}get context(){return t(this,d)}get pixelRatio(){return t(this,m)}get width(){return t(this,l)}get height(){return t(this,u)}get detail(){return{width:t(this,l),height:t(this,u),element:this,canvasElement:t(this,r),pixelRatio:t(this,m),context:t(this,d),timestamp:t(this,b),timeBetweenFrames:t(this,g)}}connectedCallback(){t(this,a).observe(),f.elementResizer.subscribe(this,t(this,x)),o(this,h,E).call(this)}disconnectedCallback(){t(this,a).unobserve(),f.elementResizer.unsubscribe(t(this,x)),o(this,h,P).call(this)}}a=new WeakMap,r=new WeakMap,d=new WeakMap,l=new WeakMap,u=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,h=new WeakSet,E=function(){R.ticker.unsubscribe(t(this,p)),this.hasAttribute("static")||R.ticker.subscribe(t(this,p),{culling:this,maxFPS:t(this,a).current})},P=function(){R.ticker.unsubscribe(t(this,p))},x=new WeakMap,p=new WeakMap,y=function(){this.dispatchEvent(new CustomEvent("canvasRender",{composed:!0,detail:this.detail}))},z=function(){this.dispatchEvent(new CustomEvent("canvasResize",{composed:!0,detail:this.detail}))};customElements.get("e-canvas")||customElements.define("e-canvas",k);exports.CanvasElement=k;
@@ -1,103 +1,99 @@
1
- var S = (i) => {
1
+ var C = (i) => {
2
2
  throw TypeError(i);
3
3
  };
4
- var x = (i, s, e) => s.has(i) || S("Cannot " + e);
5
- var t = (i, s, e) => (x(i, s, "read from private field"), e ? e.call(i) : s.get(i)), h = (i, s, e) => s.has(i) ? S("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, e), a = (i, s, e, r) => (x(i, s, "write to private field"), r ? r.call(i, e) : s.set(i, e), e), m = (i, s, e) => (x(i, s, "access private method"), e);
6
- import { CSSProperty as P } from "../css-property/index.js";
7
- import "../Store-C46i0nvr.js";
8
- import { c as z } from "../math-BOBiC4TN.js";
9
- import { ticker as w } from "../ticker/index.js";
10
- import { e as F, q as B } from "../tags-BL3kQp9o.js";
11
- import { c as L } from "../createStylesheet-COAZH1Mw.js";
12
- import { elementResizer as C } from "../element-resizer/index.js";
13
- const q = L({
14
- ":host, canvas": {
15
- display: "block",
16
- width: "100%",
17
- height: "100%"
18
- }
19
- });
20
- var o, c, d, l, p, u, b, f, n, R, y, g, v, E, k;
21
- class A extends HTMLElement {
4
+ var S = (i, s, e) => s.has(i) || C("Cannot " + e);
5
+ var t = (i, s, e) => (S(i, s, "read from private field"), e ? e.call(i) : s.get(i)), h = (i, s, e) => s.has(i) ? C("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, e), a = (i, s, e, v) => (S(i, s, "write to private field"), v ? v.call(i, e) : s.set(i, e), e), o = (i, s, e) => (S(i, s, "access private method"), e);
6
+ import { CSSProperty as z } from "../css-property/index.js";
7
+ import { elementResizer as y } from "../element-resizer/index.js";
8
+ import { ticker as f } from "../ticker/index.js";
9
+ import { i as B } from "../browser-0zX67oeU.js";
10
+ import { c as F } from "../math-BOBiC4TN.js";
11
+ var c, r, p, l, m, d, b, g, n, R, k, w, u, E, P;
12
+ class L extends HTMLElement {
22
13
  constructor() {
23
14
  super();
24
15
  h(this, n);
25
- h(this, o, new P(this, "--fps", 0));
26
- h(this, c, null);
27
- h(this, d, null);
16
+ h(this, c, new z(this, "--fps", 0));
17
+ h(this, r, null);
18
+ h(this, p, null);
28
19
  h(this, l, 0);
29
- h(this, p, 0);
30
- h(this, u, 1);
20
+ h(this, m, 0);
21
+ h(this, d, 1);
31
22
  h(this, b, 0);
32
- h(this, f, 1);
33
- h(this, g, (e) => {
34
- a(this, u, z(devicePixelRatio, 1, 2)), a(this, l, e.contentRect.width), a(this, p, e.contentRect.height), t(this, c).width = t(this, l) * this.pixelRatio, t(this, c).height = t(this, p) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), m(this, n, k).call(this), m(this, n, E).call(this);
23
+ h(this, g, 1);
24
+ h(this, w, (e) => {
25
+ a(this, d, F(devicePixelRatio, 1, 2)), a(this, l, e.contentRect.width), a(this, m, e.contentRect.height), t(this, r).width = t(this, l) * this.pixelRatio, t(this, r).height = t(this, m) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), o(this, n, P).call(this), o(this, n, E).call(this);
35
26
  });
36
- h(this, v, (e) => {
37
- a(this, b, e.timestamp), a(this, f, e.timeBetweenFrames), m(this, n, E).call(this);
27
+ h(this, u, (e) => {
28
+ a(this, b, e.timestamp), a(this, g, e.timeBetweenFrames), o(this, n, E).call(this);
38
29
  });
39
- this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(q), F(this, {
40
- children: B({
41
- ref: (r) => {
42
- a(this, c, r), a(this, d, r.getContext("2d"));
30
+ if (B) {
31
+ const e = new CSSStyleSheet();
32
+ e.replaceSync(`
33
+ :host, canvas {
34
+ display: block;
35
+ width: 100%;
36
+ height: 100%;
43
37
  }
44
- })
45
- }), t(this, o).subscribe((r) => {
46
- typeof r.previous != "undefined" && r.current !== r.previous && m(this, n, R).call(this);
47
- });
38
+ `);
39
+ const v = this.attachShadow({ mode: "open" });
40
+ v.adoptedStyleSheets.push(e), a(this, r, document.createElement("canvas")), a(this, p, t(this, r).getContext("2d")), v.appendChild(t(this, r)), t(this, c).subscribe((x) => {
41
+ typeof x.previous != "undefined" && x.current !== x.previous && o(this, n, R).call(this);
42
+ });
43
+ }
48
44
  }
49
45
  get fpsCSSProperty() {
50
- return t(this, o);
46
+ return t(this, c);
51
47
  }
52
48
  get canvasElement() {
53
- return t(this, c);
49
+ return t(this, r);
54
50
  }
55
51
  get context() {
56
- return t(this, d);
52
+ return t(this, p);
57
53
  }
58
54
  get pixelRatio() {
59
- return t(this, u);
55
+ return t(this, d);
60
56
  }
61
57
  get width() {
62
58
  return t(this, l);
63
59
  }
64
60
  get height() {
65
- return t(this, p);
61
+ return t(this, m);
66
62
  }
67
63
  get detail() {
68
64
  return {
69
65
  width: t(this, l),
70
- height: t(this, p),
66
+ height: t(this, m),
71
67
  element: this,
72
- canvasElement: t(this, c),
73
- pixelRatio: t(this, u),
74
- context: t(this, d),
68
+ canvasElement: t(this, r),
69
+ pixelRatio: t(this, d),
70
+ context: t(this, p),
75
71
  timestamp: t(this, b),
76
- timeBetweenFrames: t(this, f)
72
+ timeBetweenFrames: t(this, g)
77
73
  };
78
74
  }
79
75
  connectedCallback() {
80
- t(this, o).observe(), C.subscribe(this, t(this, g)), m(this, n, R).call(this);
76
+ t(this, c).observe(), y.subscribe(this, t(this, w)), o(this, n, R).call(this);
81
77
  }
82
78
  disconnectedCallback() {
83
- t(this, o).unobserve(), C.unsubscribe(t(this, g)), m(this, n, y).call(this);
79
+ t(this, c).unobserve(), y.unsubscribe(t(this, w)), o(this, n, k).call(this);
84
80
  }
85
81
  }
86
- o = new WeakMap(), c = new WeakMap(), d = new WeakMap(), l = new WeakMap(), p = new WeakMap(), u = new WeakMap(), b = new WeakMap(), f = new WeakMap(), n = new WeakSet(), R = function() {
87
- w.unsubscribe(t(this, v)), this.hasAttribute("static") || w.subscribe(t(this, v), {
82
+ c = new WeakMap(), r = new WeakMap(), p = new WeakMap(), l = new WeakMap(), m = new WeakMap(), d = new WeakMap(), b = new WeakMap(), g = new WeakMap(), n = new WeakSet(), R = function() {
83
+ f.unsubscribe(t(this, u)), this.hasAttribute("static") || f.subscribe(t(this, u), {
88
84
  culling: this,
89
- maxFPS: t(this, o).current
85
+ maxFPS: t(this, c).current
90
86
  });
91
- }, y = function() {
92
- w.unsubscribe(t(this, v));
93
- }, g = new WeakMap(), v = new WeakMap(), E = function() {
87
+ }, k = function() {
88
+ f.unsubscribe(t(this, u));
89
+ }, w = new WeakMap(), u = new WeakMap(), E = function() {
94
90
  this.dispatchEvent(
95
91
  new CustomEvent("canvasRender", {
96
92
  composed: !0,
97
93
  detail: this.detail
98
94
  })
99
95
  );
100
- }, k = function() {
96
+ }, P = function() {
101
97
  this.dispatchEvent(
102
98
  new CustomEvent("canvasResize", {
103
99
  composed: !0,
@@ -105,7 +101,7 @@ o = new WeakMap(), c = new WeakMap(), d = new WeakMap(), l = new WeakMap(), p =
105
101
  })
106
102
  );
107
103
  };
108
- customElements.get("e-canvas") || customElements.define("e-canvas", A);
104
+ customElements.get("e-canvas") || customElements.define("e-canvas", L);
109
105
  export {
110
- A as CanvasElement
106
+ L as CanvasElement
111
107
  };
@@ -5,7 +5,7 @@ var O = (h, n, e) => n.has(h) || Q("Cannot " + e);
5
5
  var t = (h, n, e) => (O(h, n, "read from private field"), e ? e.call(h) : n.get(h)), s = (h, n, e) => n.has(h) ? Q("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(h) : n.set(h, e), i = (h, n, e, r) => (O(h, n, "write to private field"), r ? r.call(h, e) : n.set(h, e), e), M = (h, n, e) => (O(h, n, "access private method"), e);
6
6
  import { Notifier as j } from "../notifier/index.js";
7
7
  import { i as m } from "../browser-0zX67oeU.js";
8
- import { a as U } from "../dom-P5QbAASX.js";
8
+ import { g as U } from "../dom-0S_WDL4g.js";
9
9
  import { ticker as I } from "../ticker/index.js";
10
10
  import "../Store-C46i0nvr.js";
11
11
  import { e as G } from "../easings-BKi40vHz.js";
@@ -1,8 +1,8 @@
1
- import { aD as n } from "./tags-BL3kQp9o.js";
2
- function c(t) {
1
+ import { s as n } from "./tags-zft1DGBz.js";
2
+ function s(t) {
3
3
  const e = new CSSStyleSheet();
4
4
  return e.replaceSync(n(t).node.innerHTML), e;
5
5
  }
6
6
  export {
7
- c
7
+ s as c
8
8
  };
@@ -5,11 +5,11 @@ var S = (s, r, e) => r.has(s) || p("Cannot " + e);
5
5
  var t = (s, r, e) => (S(s, r, "read from private field"), e ? e.call(s) : r.get(s)), h = (s, r, e) => r.has(s) ? p("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(s) : r.set(s, e), i = (s, r, e, a) => (S(s, r, "write to private field"), a ? a.call(s, e) : r.set(s, e), e);
6
6
  import { cssValueParser as R } from "../css-value-parser/index.js";
7
7
  import { RESIZE_ORDER as V } from "../order/index.js";
8
- import { S as v } from "../Store-C46i0nvr.js";
9
- import { a as g } from "../dom-P5QbAASX.js";
8
+ import { S as g } from "../Store-C46i0nvr.js";
9
+ import { g as v } from "../dom-0S_WDL4g.js";
10
10
  import { windowResizer as w } from "../window-resizer/index.js";
11
11
  var b, o, u, l, c, n;
12
- class d extends v {
12
+ class d extends g {
13
13
  constructor(e, a, m, f) {
14
14
  super(m, f);
15
15
  h(this, b);
@@ -20,7 +20,7 @@ class d extends v {
20
20
  h(this, n, () => {
21
21
  this.check();
22
22
  });
23
- i(this, b, g(e)), i(this, o, a), i(this, u, m.toString()), i(this, l, (f == null ? void 0 : f.rawValueCheck) !== !1);
23
+ i(this, b, v(e)), i(this, o, a), i(this, u, m.toString()), i(this, l, (f == null ? void 0 : f.rawValueCheck) !== !1);
24
24
  }
25
25
  get currentRawValue() {
26
26
  return t(this, u);
@@ -35,8 +35,8 @@ function c(e) {
35
35
  ), t;
36
36
  }
37
37
  export {
38
- a,
38
+ c as a,
39
39
  l as b,
40
40
  u as f,
41
- c as g
41
+ a as g
42
42
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-6_ETuR75.cjs"),t=require("../createStylesheet-Csfmh-MH.cjs"),a=require("../createTheme-Cfaw9UmV.cjs");exports.ElementConstructor=e.ElementConstructor;exports.a=e.a;exports.abbr=e.abbr;exports.address=e.address;exports.area=e.area;exports.article=e.article;exports.aside=e.aside;exports.audio=e.audio;exports.b=e.b;exports.base=e.base;exports.bdi=e.bdi;exports.bdo=e.bdo;exports.blockquote=e.blockquote;exports.body=e.body;exports.br=e.br;exports.button=e.button;exports.canvas=e.canvas;exports.caption=e.caption;exports.cite=e.cite;exports.code=e.code;exports.col=e.col;exports.colgroup=e.colgroup;exports.contents=e.contents;exports.data=e.data;exports.datalist=e.datalist;exports.dd=e.dd;exports.del=e.del;exports.details=e.details;exports.dfn=e.dfn;exports.dialog=e.dialog;exports.div=e.div;exports.dl=e.dl;exports.dt=e.dt;exports.element=e.element;exports.em=e.em;exports.embed=e.embed;exports.empty=e.empty;exports.fieldset=e.fieldset;exports.figcaption=e.figcaption;exports.figure=e.figure;exports.footer=e.footer;exports.form=e.form;exports.fragment=e.fragment;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.head=e.head;exports.header=e.header;exports.hgroup=e.hgroup;exports.hr=e.hr;exports.html=e.html;exports.htmlVar=e.htmlVar;exports.i=e.i;exports.iframe=e.iframe;exports.img=e.img;exports.input=e.input;exports.ins=e.ins;exports.kbd=e.kbd;exports.label=e.label;exports.legend=e.legend;exports.li=e.li;exports.link=e.link;exports.main=e.main;exports.map=e.map;exports.mark=e.mark;exports.menu=e.menu;exports.meta=e.meta;exports.meter=e.meter;exports.nav=e.nav;exports.noscript=e.noscript;exports.object=e.object;exports.ol=e.ol;exports.optgroup=e.optgroup;exports.option=e.option;exports.output=e.output;exports.p=e.p;exports.picture=e.picture;exports.pre=e.pre;exports.progress=e.progress;exports.q=e.q;exports.rp=e.rp;exports.rt=e.rt;exports.ruby=e.ruby;exports.s=e.s;exports.samp=e.samp;exports.script=e.script;exports.search=e.search;exports.section=e.section;exports.select=e.select;exports.slot=e.slot;exports.small=e.small;exports.source=e.source;exports.span=e.span;exports.strong=e.strong;exports.style=e.style;exports.sub=e.sub;exports.summary=e.summary;exports.sup=e.sup;exports.table=e.table;exports.tbody=e.tbody;exports.td=e.td;exports.template=e.template;exports.textarea=e.textarea;exports.tfoot=e.tfoot;exports.th=e.th;exports.thead=e.thead;exports.time=e.time;exports.title=e.title;exports.tr=e.tr;exports.track=e.track;exports.u=e.u;exports.ul=e.ul;exports.video=e.video;exports.wbr=e.wbr;exports.createStylesheet=t.createStylesheet;exports.createTheme=a.createTheme;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-6_ETuR75.cjs"),i=require("../createStylesheet-Csfmh-MH.cjs"),s=require("../string-DhgS_iFl.cjs");function d(r,a){const l=(a==null?void 0:a.prefix)||"",o={style:{}};for(const t in r)o[t]={var:`var(--${l}${s.camelToKebab(t)})`,value:r[t]},o.style[`--${l}${s.camelToKebab(t)}`]=r[t];return o}exports.ElementConstructor=e.ElementConstructor;exports.a=e.a;exports.abbr=e.abbr;exports.address=e.address;exports.area=e.area;exports.article=e.article;exports.aside=e.aside;exports.audio=e.audio;exports.b=e.b;exports.base=e.base;exports.bdi=e.bdi;exports.bdo=e.bdo;exports.blockquote=e.blockquote;exports.body=e.body;exports.br=e.br;exports.button=e.button;exports.canvas=e.canvas;exports.caption=e.caption;exports.cite=e.cite;exports.code=e.code;exports.col=e.col;exports.colgroup=e.colgroup;exports.contents=e.contents;exports.data=e.data;exports.datalist=e.datalist;exports.dd=e.dd;exports.del=e.del;exports.details=e.details;exports.dfn=e.dfn;exports.dialog=e.dialog;exports.div=e.div;exports.dl=e.dl;exports.dt=e.dt;exports.element=e.element;exports.em=e.em;exports.embed=e.embed;exports.empty=e.empty;exports.fieldset=e.fieldset;exports.figcaption=e.figcaption;exports.figure=e.figure;exports.footer=e.footer;exports.form=e.form;exports.fragment=e.fragment;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.head=e.head;exports.header=e.header;exports.hgroup=e.hgroup;exports.hr=e.hr;exports.html=e.html;exports.htmlVar=e.htmlVar;exports.i=e.i;exports.iframe=e.iframe;exports.img=e.img;exports.input=e.input;exports.ins=e.ins;exports.kbd=e.kbd;exports.label=e.label;exports.legend=e.legend;exports.li=e.li;exports.link=e.link;exports.main=e.main;exports.map=e.map;exports.mark=e.mark;exports.menu=e.menu;exports.meta=e.meta;exports.meter=e.meter;exports.nav=e.nav;exports.noscript=e.noscript;exports.object=e.object;exports.ol=e.ol;exports.optgroup=e.optgroup;exports.option=e.option;exports.output=e.output;exports.p=e.p;exports.picture=e.picture;exports.pre=e.pre;exports.progress=e.progress;exports.q=e.q;exports.rp=e.rp;exports.rt=e.rt;exports.ruby=e.ruby;exports.s=e.s;exports.samp=e.samp;exports.script=e.script;exports.search=e.search;exports.section=e.section;exports.select=e.select;exports.slot=e.slot;exports.small=e.small;exports.source=e.source;exports.span=e.span;exports.strong=e.strong;exports.style=e.style;exports.sub=e.sub;exports.summary=e.summary;exports.sup=e.sup;exports.table=e.table;exports.tbody=e.tbody;exports.td=e.td;exports.template=e.template;exports.textarea=e.textarea;exports.tfoot=e.tfoot;exports.th=e.th;exports.thead=e.thead;exports.time=e.time;exports.title=e.title;exports.tr=e.tr;exports.track=e.track;exports.u=e.u;exports.ul=e.ul;exports.video=e.video;exports.wbr=e.wbr;exports.createStylesheet=i.createStylesheet;exports.createTheme=d;
@@ -1,124 +1,135 @@
1
- import { E as e, a as t, b as r, c as o, d as i, f as l, g as d, h as m, i as p, j as c, k as n, l as u, m as b, n as h, o as f, p as g, q as y, r as k, s as v, t as x, u as q, v as j, a_ as w, w as C, x as E, y as S, z as T, A as V, B as z, C as A, D as B, F as D, G as F, e as G, H, I, aZ as J, J as K, K as L, L as M, M as N, N as O, aY as P, O as Q, P as R, Q as U, R as W, S as X, T as Y, U as Z, V as _, W as $, X as aa, Y as sa, aV as ea, Z as ta, _ as ra, $ as oa, a0 as ia, a1 as la, a2 as da, a3 as ma, a4 as pa, a5 as ca, a6 as na, a7 as ua, a8 as ba, a9 as ha, aa as fa, ab as ga, ac as ya, ad as ka, ae as va, af as xa, ag as qa, ah as ja, ai as wa, aj as Ca, ak as Ea, al as Sa, am as Ta, an as Va, ao as za, ap as Aa, aq as Ba, ar as Da, as as Fa, at as Ga, au as Ha, av as Ia, aw as Ja, ax as Ka, ay as La, az as Ma, aA as Na, aB as Oa, aC as Pa, aD as Qa, aE as Ra, aF as Ua, aG as Wa, aH as Xa, aI as Ya, aJ as Za, aK as _a, aL as $a, aM as as, aN as ss, aO as es, aP as ts, aQ as rs, aR as os, aS as is, aT as ls, aU as ds, aW as ms, aX as ps } from "../tags-BL3kQp9o.js";
2
- import { c as ns } from "../createStylesheet-COAZH1Mw.js";
3
- import { c as bs } from "../createTheme-CHnsCgAr.js";
1
+ import { E as c, f as n, g as p, h as u, j as b, k as h, m as f, n as g, o as y, p as v, q as k, r as x, t as $, u as q, v as T, b as w, w as C, x as E, y as K, z as S, A as V, B as z, a_ as A, C as B, D, F, G, H, I, J, d as L, K as M, L as N, e as O, M as P, N as Q, aZ as R, O as U, P as W, Q as X, R as Y, S as Z, aY as _, T as j, U as aa, V as sa, W as ea, X as ta, Y as ra, Z as oa, _ as la, $ as ia, a0 as da, a1 as ma, aV as ca, a2 as na, a3 as pa, a4 as ua, i as ba, a5 as ha, a6 as fa, l as ga, a7 as ya, a8 as va, a9 as ka, aa as xa, ab as $a, ac as qa, ad as Ta, ae as wa, af as Ca, ag as Ea, ah as Ka, ai as Sa, aj as Va, ak as za, al as Aa, am as Ba, an as Da, ao as Fa, ap as Ga, aq as Ha, ar as Ia, as as Ja, at as La, au as Ma, av as Na, aw as Oa, ax as Pa, ay as Qa, az as Ra, aA as Ua, a as Wa, aB as Xa, aC as Ya, c as Za, aD as _a, s as ja, aE as as, aF as ss, aG as es, aH as ts, aI as rs, aJ as os, aK as ls, aL as is, aM as ds, aN as ms, aO as cs, aP as ns, aQ as ps, aR as us, aS as bs, aT as hs, aU as fs, aW as gs, aX as ys } from "../tags-zft1DGBz.js";
2
+ import { c as ks } from "../createStylesheet-C68ja-RS.js";
3
+ import { c as o } from "../string-f0Dnk0L1.js";
4
+ function i(s, e) {
5
+ const r = (e == null ? void 0 : e.prefix) || "", t = {
6
+ style: {}
7
+ };
8
+ for (const a in s)
9
+ t[a] = {
10
+ var: `var(--${r}${o(a)})`,
11
+ value: s[a]
12
+ }, t.style[`--${r}${o(a)}`] = s[a];
13
+ return t;
14
+ }
4
15
  export {
5
- e as ElementConstructor,
6
- t as a,
7
- r as abbr,
8
- o as address,
9
- i as area,
10
- l as article,
11
- d as aside,
12
- m as audio,
13
- p as b,
14
- c as base,
15
- n as bdi,
16
- u as bdo,
17
- b as blockquote,
18
- h as body,
19
- f as br,
20
- g as button,
21
- y as canvas,
22
- k as caption,
23
- v as cite,
24
- x as code,
25
- q as col,
26
- j as colgroup,
27
- w as contents,
28
- ns as createStylesheet,
29
- bs as createTheme,
30
- C as data,
31
- E as datalist,
32
- S as dd,
33
- T as del,
34
- V as details,
35
- z as dfn,
36
- A as dialog,
37
- B as div,
38
- D as dl,
39
- F as dt,
40
- G as element,
41
- H as em,
42
- I as embed,
43
- J as empty,
44
- K as fieldset,
45
- L as figcaption,
46
- M as figure,
47
- N as footer,
48
- O as form,
49
- P as fragment,
50
- Q as h1,
51
- R as h2,
52
- U as h3,
53
- W as h4,
54
- X as h5,
55
- Y as h6,
56
- Z as head,
57
- _ as header,
58
- $ as hgroup,
59
- aa as hr,
60
- sa as html,
61
- ea as htmlVar,
62
- ta as i,
63
- ra as iframe,
64
- oa as img,
65
- ia as input,
66
- la as ins,
67
- da as kbd,
68
- ma as label,
69
- pa as legend,
70
- ca as li,
71
- na as link,
72
- ua as main,
73
- ba as map,
74
- ha as mark,
75
- fa as menu,
76
- ga as meta,
77
- ya as meter,
78
- ka as nav,
79
- va as noscript,
80
- xa as object,
81
- qa as ol,
82
- ja as optgroup,
83
- wa as option,
84
- Ca as output,
85
- Ea as p,
86
- Sa as picture,
87
- Ta as pre,
88
- Va as progress,
89
- za as q,
90
- Aa as rp,
91
- Ba as rt,
92
- Da as ruby,
93
- Fa as s,
94
- Ga as samp,
95
- Ha as script,
96
- Ia as search,
97
- Ja as section,
98
- Ka as select,
99
- La as slot,
100
- Ma as small,
101
- Na as source,
102
- Oa as span,
103
- Pa as strong,
104
- Qa as style,
105
- Ra as sub,
106
- Ua as summary,
107
- Wa as sup,
108
- Xa as table,
109
- Ya as tbody,
110
- Za as td,
111
- _a as template,
112
- $a as textarea,
113
- as as tfoot,
114
- ss as th,
115
- es as thead,
116
- ts as time,
117
- rs as title,
118
- os as tr,
119
- is as track,
120
- ls as u,
121
- ds as ul,
122
- ms as video,
123
- ps as wbr
16
+ c as ElementConstructor,
17
+ n as a,
18
+ p as abbr,
19
+ u as address,
20
+ b as area,
21
+ h as article,
22
+ f as aside,
23
+ g as audio,
24
+ y as b,
25
+ v as base,
26
+ k as bdi,
27
+ x as bdo,
28
+ $ as blockquote,
29
+ q as body,
30
+ T as br,
31
+ w as button,
32
+ C as canvas,
33
+ E as caption,
34
+ K as cite,
35
+ S as code,
36
+ V as col,
37
+ z as colgroup,
38
+ A as contents,
39
+ ks as createStylesheet,
40
+ i as createTheme,
41
+ B as data,
42
+ D as datalist,
43
+ F as dd,
44
+ G as del,
45
+ H as details,
46
+ I as dfn,
47
+ J as dialog,
48
+ L as div,
49
+ M as dl,
50
+ N as dt,
51
+ O as element,
52
+ P as em,
53
+ Q as embed,
54
+ R as empty,
55
+ U as fieldset,
56
+ W as figcaption,
57
+ X as figure,
58
+ Y as footer,
59
+ Z as form,
60
+ _ as fragment,
61
+ j as h1,
62
+ aa as h2,
63
+ sa as h3,
64
+ ea as h4,
65
+ ta as h5,
66
+ ra as h6,
67
+ oa as head,
68
+ la as header,
69
+ ia as hgroup,
70
+ da as hr,
71
+ ma as html,
72
+ ca as htmlVar,
73
+ na as i,
74
+ pa as iframe,
75
+ ua as img,
76
+ ba as input,
77
+ ha as ins,
78
+ fa as kbd,
79
+ ga as label,
80
+ ya as legend,
81
+ va as li,
82
+ ka as link,
83
+ xa as main,
84
+ $a as map,
85
+ qa as mark,
86
+ Ta as menu,
87
+ wa as meta,
88
+ Ca as meter,
89
+ Ea as nav,
90
+ Ka as noscript,
91
+ Sa as object,
92
+ Va as ol,
93
+ za as optgroup,
94
+ Aa as option,
95
+ Ba as output,
96
+ Da as p,
97
+ Fa as picture,
98
+ Ga as pre,
99
+ Ha as progress,
100
+ Ia as q,
101
+ Ja as rp,
102
+ La as rt,
103
+ Ma as ruby,
104
+ Na as s,
105
+ Oa as samp,
106
+ Pa as script,
107
+ Qa as search,
108
+ Ra as section,
109
+ Ua as select,
110
+ Wa as slot,
111
+ Xa as small,
112
+ Ya as source,
113
+ Za as span,
114
+ _a as strong,
115
+ ja as style,
116
+ as as sub,
117
+ ss as summary,
118
+ es as sup,
119
+ ts as table,
120
+ rs as tbody,
121
+ os as td,
122
+ ls as template,
123
+ is as textarea,
124
+ ds as tfoot,
125
+ ms as th,
126
+ cs as thead,
127
+ ns as time,
128
+ ps as title,
129
+ us as tr,
130
+ bs as track,
131
+ hs as u,
132
+ fs as ul,
133
+ gs as video,
134
+ ys as wbr
124
135
  };
@@ -3,10 +3,10 @@ var h = (n) => {
3
3
  };
4
4
  var y = (n, t, s) => t.has(n) || h("Cannot " + s);
5
5
  var r = (n, t, s) => (y(n, t, "read from private field"), s ? s.call(n) : t.get(n)), b = (n, t, s) => t.has(n) ? h("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), u = (n, t, s, e) => (y(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s);
6
- import { i as a } from "../browser-0zX67oeU.js";
7
- import { a as p } from "../dom-P5QbAASX.js";
6
+ import { i as p } from "../browser-0zX67oeU.js";
7
+ import { g as w } from "../dom-0S_WDL4g.js";
8
8
  var i, o, f;
9
- class w {
9
+ class z {
10
10
  constructor() {
11
11
  b(this, i, []);
12
12
  b(this, o, null);
@@ -18,10 +18,10 @@ class w {
18
18
  e.entry && (e.subscriber.entry = e.entry, e.subscriber.callback(e.entry));
19
19
  });
20
20
  });
21
- a && window.ResizeObserver && u(this, o, new ResizeObserver(r(this, f)));
21
+ p && window.ResizeObserver && u(this, o, new ResizeObserver(r(this, f)));
22
22
  }
23
23
  subscribe(t, s) {
24
- const e = p(t);
24
+ const e = w(t);
25
25
  if (!e)
26
26
  return () => {
27
27
  };
@@ -54,8 +54,8 @@ class w {
54
54
  }
55
55
  }
56
56
  i = new WeakMap(), o = new WeakMap(), f = new WeakMap();
57
- const E = new w();
57
+ const g = new z();
58
58
  export {
59
- w as ElementResizer,
60
- E as elementResizer
59
+ z as ElementResizer,
60
+ g as elementResizer
61
61
  };
@@ -14,14 +14,14 @@ var on = (m, t, o) => t in m ? Kn(m, t, { enumerable: !0, configurable: !0, writ
14
14
  };
15
15
  var Ot = (m, t, o) => t.has(m) || an("Cannot " + o);
16
16
  var s = (m, t, o) => (Ot(m, t, "read from private field"), o ? o.call(m) : t.get(m)), f = (m, t, o) => t.has(m) ? an("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(m) : t.set(m, o), v = (m, t, o, e) => (Ot(m, t, "write to private field"), e ? e.call(m, o) : t.set(m, o), o), M = (m, t, o) => (Ot(m, t, "access private method"), o);
17
- import { e as b } from "../../en3-x-Ki30MY.js";
17
+ import { e as b } from "../../en3-sK9Z-fp2.js";
18
18
  import { S as F } from "../../Store-C46i0nvr.js";
19
19
  import * as Ee from "three";
20
20
  import { Light as rn, PointLight as $n, PointLightHelper as Jn, DirectionalLight as ei, DirectionalLightHelper as ti, SpotLight as ni, SpotLightHelper as ii, HemisphereLight as si, HemisphereLightHelper as oi, Camera as ln, CameraHelper as ai, Mesh as p, Material as ri, Ray as li, Plane as ci, MathUtils as hi, EventDispatcher as pi, Vector3 as y, MOUSE as Re, TOUCH as Ye, Quaternion as B, Spherical as cn, Vector2 as $, Raycaster as mi, Object3D as Yt, Euler as di, Matrix4 as Sn, MeshBasicMaterial as xn, LineBasicMaterial as ui, CylinderGeometry as Q, BoxGeometry as Z, BufferGeometry as hn, Float32BufferAttribute as pn, OctahedronGeometry as Mt, Line as pe, SphereGeometry as fi, TorusGeometry as Ve, PlaneGeometry as yi, DoubleSide as bi, GridHelper as wi } from "three";
21
21
  import { a as gi } from "../../object-D6MVWB4l.js";
22
22
  import { ticker as mn } from "../../ticker/index.js";
23
23
  import { C as Ei } from "../../Composed-CfWa-69I.js";
24
- import { t as Pi } from "../../traverseMaterials-mGC2_FkG.js";
24
+ import { t as Pi } from "../../traverseMaterials-BlZbRhgW.js";
25
25
  const Mi = [
26
26
  "AddEquation",
27
27
  "SubtractEquation",