| 35 | * |
| 36 | */ |
| 37 | export function Byline(t0) { |
| 38 | const $ = _c(5); |
| 39 | const { |
| 40 | children |
| 41 | } = t0; |
| 42 | let t1; |
| 43 | let t2; |
| 44 | if ($[0] !== children) { |
| 45 | t2 = Symbol.for("react.early_return_sentinel"); |
| 46 | bb0: { |
| 47 | const validChildren = Children.toArray(children); |
| 48 | if (validChildren.length === 0) { |
| 49 | t2 = null; |
| 50 | break bb0; |
| 51 | } |
| 52 | t1 = validChildren.map(_temp); |
| 53 | } |
| 54 | $[0] = children; |
| 55 | $[1] = t1; |
| 56 | $[2] = t2; |
| 57 | } else { |
| 58 | t1 = $[1]; |
| 59 | t2 = $[2]; |
| 60 | } |
| 61 | if (t2 !== Symbol.for("react.early_return_sentinel")) { |
| 62 | return t2; |
| 63 | } |
| 64 | let t3; |
| 65 | if ($[3] !== t1) { |
| 66 | t3 = <>{t1}</>; |
| 67 | $[3] = t1; |
| 68 | $[4] = t3; |
| 69 | } else { |
| 70 | t3 = $[4]; |
| 71 | } |
| 72 | return t3; |
| 73 | } |
| 74 | function _temp(child, index) { |
| 75 | return <React.Fragment key={isValidElement(child) ? child.key ?? index : index}>{index > 0 && <Text dimColor={true}> · </Text>}{child}</React.Fragment>; |
| 76 | } |