()
| 89 | let tablet: boolean; |
| 90 | |
| 91 | const isWindows8OrAbove = () => { |
| 92 | if (isSSR) { |
| 93 | return false; |
| 94 | } |
| 95 | |
| 96 | if (!internals.windows) { |
| 97 | return false; |
| 98 | } |
| 99 | |
| 100 | if (windowsVersion === undefined) { |
| 101 | const matches = internals.userAgent.match(/Windows NT (\d+).(\d)/); |
| 102 | windowsVersion = matches ? parseFloat(matches[1]) : 0; |
| 103 | } |
| 104 | |
| 105 | return windowsVersion >= 8; |
| 106 | }; |
| 107 | |
| 108 | const isWebkit537OrAbove = () => { |
| 109 | if (isSSR) { |
no outgoing calls
no test coverage detected
searching dependent graphs…