(t0)
| 110 | } |
| 111 | } |
| 112 | export function ElicitationDialog(t0) { |
| 113 | const $ = _c(7); |
| 114 | const { |
| 115 | event, |
| 116 | onResponse, |
| 117 | onWaitingDismiss |
| 118 | } = t0; |
| 119 | if (event.params.mode === "url") { |
| 120 | let t1; |
| 121 | if ($[0] !== event || $[1] !== onResponse || $[2] !== onWaitingDismiss) { |
| 122 | t1 = <ElicitationURLDialog event={event} onResponse={onResponse} onWaitingDismiss={onWaitingDismiss} />; |
| 123 | $[0] = event; |
| 124 | $[1] = onResponse; |
| 125 | $[2] = onWaitingDismiss; |
| 126 | $[3] = t1; |
| 127 | } else { |
| 128 | t1 = $[3]; |
| 129 | } |
| 130 | return t1; |
| 131 | } |
| 132 | let t1; |
| 133 | if ($[4] !== event || $[5] !== onResponse) { |
| 134 | t1 = <ElicitationFormDialog event={event} onResponse={onResponse} />; |
| 135 | $[4] = event; |
| 136 | $[5] = onResponse; |
| 137 | $[6] = t1; |
| 138 | } else { |
| 139 | t1 = $[6]; |
| 140 | } |
| 141 | return t1; |
| 142 | } |
| 143 | function ElicitationFormDialog({ |
| 144 | event, |
| 145 | onResponse |
nothing calls this directly
no outgoing calls
no test coverage detected