(e, t)
| 12828 | for (const t of e.children) t.parseLayoutSize(); |
| 12829 | } |
| 12830 | function fp(e, t) { |
| 12831 | const n = Hf(t), |
| 12832 | i = At(n), |
| 12833 | r = e.component.resolve, |
| 12834 | o = e.component.layoutSize; |
| 12835 | let a; |
| 12836 | for (const t of e.children) { |
| 12837 | const o = t.component.layoutSize.getWithExplicit(n), |
| 12838 | s = r.scale[i] ?? Yf(i, e); |
| 12839 | if ("independent" === s && "step" === o.value) { |
| 12840 | a = void 0; |
| 12841 | break; |
| 12842 | } |
| 12843 | if (a) { |
| 12844 | if ("independent" === s && a.value !== o.value) { |
| 12845 | a = void 0; |
| 12846 | break; |
| 12847 | } |
| 12848 | a = uc(a, o, n, ""); |
| 12849 | } else a = o; |
| 12850 | } |
| 12851 | if (a) { |
| 12852 | for (const i of e.children) |
| 12853 | (e.renameSignal(i.getName(n), e.getName(t)), |
| 12854 | i.component.layoutSize.set(n, "merged", !1)); |
| 12855 | o.setWithExplicit(t, a); |
| 12856 | } else o.setWithExplicit(t, { explicit: !1, value: void 0 }); |
| 12857 | } |
| 12858 | function dp(e, t) { |
| 12859 | const n = "width" === t ? "x" : "y", |
| 12860 | i = e.config, |
no test coverage detected