| 3880 | const hs = "errorband", |
| 3881 | ys = new Wa(hs, vs); |
| 3882 | function vs(e, t) { |
| 3883 | let { config: n } = t; |
| 3884 | e = { ...e, encoding: Xa(e.encoding, n) }; |
| 3885 | const { |
| 3886 | transform: i, |
| 3887 | continuousAxisChannelDef: r, |
| 3888 | continuousAxis: o, |
| 3889 | encodingWithoutContinuousAxis: a, |
| 3890 | markDef: s, |
| 3891 | outerSpec: l, |
| 3892 | tooltipEncoding: c, |
| 3893 | } = ps(e, hs, n), |
| 3894 | u = s, |
| 3895 | f = es(u, o, r, a, n.errorband), |
| 3896 | d = void 0 !== e.encoding.x && void 0 !== e.encoding.y; |
| 3897 | let m = { type: d ? "area" : "rect" }, |
| 3898 | p = { type: d ? "line" : "rule" }; |
| 3899 | const g = { |
| 3900 | ...(u.interpolate ? { interpolate: u.interpolate } : {}), |
| 3901 | ...(u.tension && u.interpolate ? { tension: u.tension } : {}), |
| 3902 | }; |
| 3903 | return ( |
| 3904 | d |
| 3905 | ? ((m = { ...m, ...g, ariaRoleDescription: "errorband" }), |
| 3906 | (p = { ...p, ...g, aria: !1 })) |
| 3907 | : u.interpolate |
| 3908 | ? Si(bi("interpolate")) |
| 3909 | : u.tension && Si(bi("tension")), |
| 3910 | { |
| 3911 | ...l, |
| 3912 | transform: i, |
| 3913 | layer: [ |
| 3914 | ...f({ |
| 3915 | partName: "band", |
| 3916 | mark: m, |
| 3917 | positionPrefix: "lower", |
| 3918 | endPositionPrefix: "upper", |
| 3919 | extraEncoding: c, |
| 3920 | }), |
| 3921 | ...f({ |
| 3922 | partName: "borders", |
| 3923 | mark: p, |
| 3924 | positionPrefix: "lower", |
| 3925 | extraEncoding: c, |
| 3926 | }), |
| 3927 | ...f({ |
| 3928 | partName: "borders", |
| 3929 | mark: p, |
| 3930 | positionPrefix: "upper", |
| 3931 | extraEncoding: c, |
| 3932 | }), |
| 3933 | ], |
| 3934 | } |
| 3935 | ); |
| 3936 | } |
| 3937 | const bs = {}; |
| 3938 | function xs(e, t, n) { |
| 3939 | const i = new Wa(e, t); |