| 4883 | } |
| 4884 | } |
| 4885 | function Dl(e) { |
| 4886 | let { parentEncoding: n, encoding: i = {}, layer: r } = e, |
| 4887 | o = {}; |
| 4888 | if (n) { |
| 4889 | const e = new Set([...D(n), ...D(i)]); |
| 4890 | for (const a of e) { |
| 4891 | const e = i[a], |
| 4892 | s = n[a]; |
| 4893 | if (oa(e)) { |
| 4894 | const t = { ...s, ...e }; |
| 4895 | o[a] = t; |
| 4896 | } else |
| 4897 | Ko(e) |
| 4898 | ? (o[a] = { ...e, condition: { ...s, ...e.condition } }) |
| 4899 | : e || null === e |
| 4900 | ? (o[a] = e) |
| 4901 | : (r || sa(s) || wn(s) || oa(s) || t.isArray(s)) && (o[a] = s); |
| 4902 | } |
| 4903 | } else o = i; |
| 4904 | return !o || S(o) ? void 0 : o; |
| 4905 | } |
| 4906 | function Fl(e) { |
| 4907 | const { parentProjection: t, projection: n } = e; |
| 4908 | return ( |