window.env = { applogicUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/applogic', authUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/dalan', peatioUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/dena', finexUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/finex', msAlertDisplayTime: '5000', tablePageLimit: 50, minutesUntilAutoLogout: '35', finex: <%= config['finex']['enabled'] %>, aml: false, captcha: { captchaType: '<%= @config['captcha']['type'] %>', siteKey: '<%= @config['captcha']['siteKey'] %>', }, labelSwitcher: [ { name: 'email', label: [{ email: 'verified' }] }, { name: 'phone', label: [{ phone: 'verified' }] }, { name: 'identity', label: [{ profile: 'partial' }, { id_document: 'verified' }, { liveness: 'verified' }] }, { name: 'residence', label: [{ document: 'verified' }] }, ], plugins: [], roleTypes: [ { value: 'Admin', key: 'admin', }, { value: 'Member', key: 'member', }, { value: 'Super Admin', key: 'superadmin', }, { value: 'Accountant', key: 'accountant', }, { value: 'Compliance', key: 'compliance', }, { value: 'Technical', key: 'technical', }, { value: 'Support', key: 'support', }, { value: 'Trader', key: 'trader', }, { value: 'Broker', key: 'broker', }, ], allowedRoles: [ 'admin', 'superadmin', 'accountant', 'compliance', 'support', 'technical', 'manager', ], withCredentials: false, sentryEnabled: false, devMode: false, minutesBeforeWarningMessage: '1', };