(t0)
| 12 | installationStatus: IDEExtensionInstallationStatus | null; |
| 13 | } |
| 14 | export function IdeOnboardingDialog(t0) { |
| 15 | const $ = _c(23); |
| 16 | const { |
| 17 | onDone, |
| 18 | installationStatus |
| 19 | } = t0; |
| 20 | markDialogAsShown(); |
| 21 | let t1; |
| 22 | if ($[0] !== onDone) { |
| 23 | t1 = { |
| 24 | "confirm:yes": onDone, |
| 25 | "confirm:no": onDone |
| 26 | }; |
| 27 | $[0] = onDone; |
| 28 | $[1] = t1; |
| 29 | } else { |
| 30 | t1 = $[1]; |
| 31 | } |
| 32 | let t2; |
| 33 | if ($[2] === Symbol.for("react.memo_cache_sentinel")) { |
| 34 | t2 = { |
| 35 | context: "Confirmation" |
| 36 | }; |
| 37 | $[2] = t2; |
| 38 | } else { |
| 39 | t2 = $[2]; |
| 40 | } |
| 41 | useKeybindings(t1, t2); |
| 42 | let t3; |
| 43 | if ($[3] !== installationStatus?.ideType) { |
| 44 | t3 = installationStatus?.ideType ?? getTerminalIdeType(); |
| 45 | $[3] = installationStatus?.ideType; |
| 46 | $[4] = t3; |
| 47 | } else { |
| 48 | t3 = $[4]; |
| 49 | } |
| 50 | const ideType = t3; |
| 51 | const isJetBrains = isJetBrainsIde(ideType); |
| 52 | let t4; |
| 53 | if ($[5] !== ideType) { |
| 54 | t4 = toIDEDisplayName(ideType); |
| 55 | $[5] = ideType; |
| 56 | $[6] = t4; |
| 57 | } else { |
| 58 | t4 = $[6]; |
| 59 | } |
| 60 | const ideName = t4; |
| 61 | const installedVersion = installationStatus?.installedVersion; |
| 62 | const pluginOrExtension = isJetBrains ? "plugin" : "extension"; |
| 63 | const mentionShortcut = env.platform === "darwin" ? "Cmd+Option+K" : "Ctrl+Alt+K"; |
| 64 | let t5; |
| 65 | if ($[7] === Symbol.for("react.memo_cache_sentinel")) { |
| 66 | t5 = <Text color="claude">✻ </Text>; |
| 67 | $[7] = t5; |
| 68 | } else { |
| 69 | t5 = $[7]; |
| 70 | } |
| 71 | let t6; |
nothing calls this directly
no test coverage detected