| 14560 | } |
| 14561 | class qp extends Bm { |
| 14562 | constructor(e, t, n, i, r) { |
| 14563 | super(e, "layer", t, n, r, e.resolve, e.view); |
| 14564 | const o = { |
| 14565 | ...i, |
| 14566 | ...(e.width ? { width: e.width } : {}), |
| 14567 | ...(e.height ? { height: e.height } : {}), |
| 14568 | }; |
| 14569 | this.children = e.layer.map((e, t) => { |
| 14570 | if (il(e)) return new qp(e, this, this.getName(`layer_${t}`), o, r); |
| 14571 | if (Ua(e)) return new Lp(e, this, this.getName(`layer_${t}`), o, r); |
| 14572 | throw new Error(Bn(e)); |
| 14573 | }); |
| 14574 | } |
| 14575 | parseData() { |
| 14576 | this.component.data = hp(this); |
| 14577 | for (const e of this.children) e.parseData(); |