(base: string)
| 236 | |
| 237 | // On a workbench page, `?bare` keeps everything but the overlay's iframe. |
| 238 | const bare = (base: string): string => |
| 239 | `!(location.pathname.startsWith(${JSON.stringify(base)}) && ${workbenchPath}.test(location.pathname.slice(${ |
| 240 | base.length - 1 |
| 241 | })) && new URLSearchParams(location.search).has("bare"))` |
| 242 | |
| 243 | const devToolsClient = ( |
| 244 | options: OverlayOptions & { |