(modeOrState)
| 3243 | } |
| 3244 | |
| 3245 | function getPanelModeLabel(modeOrState) { |
| 3246 | if (typeof navigationUtils !== 'undefined' && navigationUtils?.getPanelModeLabel) { |
| 3247 | return navigationUtils.getPanelModeLabel(modeOrState); |
| 3248 | } |
| 3249 | const mode = typeof modeOrState === 'string' ? modeOrState : getPanelMode(modeOrState); |
| 3250 | return mode === 'sub2api' ? 'SUB2API' : 'CPA'; |
| 3251 | } |
| 3252 | |
| 3253 | function isSignupPageHost(hostname = '') { |
| 3254 | if (typeof navigationUtils !== 'undefined' && navigationUtils?.isSignupPageHost) { |
no test coverage detected