ão movas o bloco SmartSails
(see https://developer.mozilla.org/en-US/docs/Web/API/Window/self) */
// -------------------------------------------------------------------- // Additional compatibility tips: // // • The browser/OS compatibility below is determined by the needs of the client-side bundle and Bootstrap. // • All browsers on Windows XP are probably unsupported (because of compatibility issues with modern SSL certs) // • See https://getbootstrap.com/docs/4.0/getting-started/browsers-devices/ // • See also https://github.com/vuejs/vue/tree/0e5306658ad7b83c553a6a3eeedb15f9066ab063#browser-compatibility // • For more info, see: // - https://github.com/lancedikson/bowser/blob/1fb99ced0e8834fd9662604bad7e0f0c3eba2786/test/test.js#L110-L123 // - https://github.com/lancedikson/bowser/tree/1fb99ced0e8834fd9662604bad7e0f0c3eba2786#rendering-engine-flags // -------------------------------------------------------------------- var LATEST_SUPPORTED_VERSION_BY_OS = { iOS: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect Android: '6' }; var LATEST_SUPPORTED_VERSION_BY_USER_AGENT = { msedge: '16', msie: '11', safari: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect firefox: '28',//« earliest version to support the client-side bundle and unprefixed flexbox (for Bootstrap 4) chrome: '29',//« earliest version to support the client-side bundle and unprefixed flexbox (for Bootstrap 4) opera: '17',//« earliest version to support the client-side bundle and unprefixed flexbox (for Bootstrap 4) }; var LATEST_SUPPORTED_VERSION_BY_BROWSER_NAME = { 'microsoft edge': LATEST_SUPPORTED_VERSION_BY_USER_AGENT.msedge, 'internet explorer': LATEST_SUPPORTED_VERSION_BY_USER_AGENT.msie, 'safari': LATEST_SUPPORTED_VERSION_BY_USER_AGENT.safari, 'firefox': LATEST_SUPPORTED_VERSION_BY_USER_AGENT.firefox, 'chrome': LATEST_SUPPORTED_VERSION_BY_USER_AGENT.chrome, 'opera': LATEST_SUPPORTED_VERSION_BY_USER_AGENT.opera }; var isUnsupportedBrowser = ( bowser.isUnsupportedBrowser(LATEST_SUPPORTED_VERSION_BY_USER_AGENT, window.navigator.userAgent) ); var isUnsupportedOS = ( LATEST_SUPPORTED_VERSION_BY_OS[bowser.osname] && bowser.compareVersions([bowser.osversion, LATEST_SUPPORTED_VERSION_BY_OS[bowser.osname]]) < 0 ); if (isUnsupportedBrowser || isUnsupportedOS) { document.body.innerHTML = '
'+ ' '+ 'Logo'+ ''+ '
This '+(isUnsupportedBrowser ? 'browser' : 'operating system')+' is not supported.
'+ '

'+ ' This app does not currently support '+( isUnsupportedBrowser? ''+bowser.name+' for versions lower than v'+ LATEST_SUPPORTED_VERSION_BY_BROWSER_NAME[bowser.name.toLowerCase()]+'. '+ 'To continue, please upgrade your browser to the newest version, or download the latest version of Google Chrome.'+ '

'+ ' Download Chrome' : ''+bowser.osname+' for versions lower than v'+ LATEST_SUPPORTED_VERSION_BY_OS[bowser.osname]+'. '+ 'To continue, please use a different device, or upgrade this device\'s software to the latest compatible version.'+ '

'+ ' Need help?' )+ '
'; document.body.style.padding = '75px 0'; } } })();//†