def rk.bar_of
import cswap-bend-cli@0.1.0.0/policy/pick.bend as Pickimport Base
import cswap-bend-cli@0.1.0.0/policy/rank.bend as R
458def rk.bar_of(+rk: Rk) -> Maybe<&2, Nat>:
459 match rk:
460 case Rk{t, cf, rm, ah0, best, ar, ars, thr, s}:
461 match s:
462 case R.Sel{active, bar, need, us, now, ms}:
463 bar