function loadFonts() { WebFont.load({ custom: { families: ['platformdefault', 'robotobold', 'robotothin'] } }); } function createTag(props) { let tag = document.createElement(props.tag); tag.crossOrigin = 'use-credentials'; let localVersion = resV = 1734542505; Object.keys(props).forEach(function (key) { switch (key) { case 'tag': return; case 'src': case 'href': if (props[key].indexOf('?v=') == -1) { props[key] = props[key] + '?v=' + localVersion; } tag[key] = resHost + props[key]; break; default: tag[key] = props[key]; } }); document.head.appendChild(tag); } var soundNames = ["sound_tournament_win", "sound_alert", "sound_tournament_start", "sound_deal_win_notification", "sound_todo_check", "sound_tournament_finish", "sound_option_expiration_time", "sound_deal_loose_notification", "sound_deal_loose", "sound_error", "sound_tab_switch", "sound_chat_message", "sound_make_deal", "sound_click", "sound_deal_win", "sound_welcome"]; var cacheImagesList = ["atlas_emoji3c881ae11.png", "atlas_emoji3c881ae11.webp", "atlas_huge_and_rare3c881ae1_gs1.png", "atlas_huge_and_rare3c881ae1_gs1.webp", "atlas_huge_and_rare3c881ae11.png", "atlas_huge_and_rare3c881ae11.webp", "atlas_generic3c881ae12.png", "atlas_generic3c881ae12.webp", "atlas_generic3c881ae11.png", "atlas_generic3c881ae11.webp", "atlas_generic3c881ae1_gs3.png", "atlas_generic3c881ae1_gs3.webp", "atlas_generic3c881ae1_gs4.png", "atlas_generic3c881ae1_gs4.webp", "atlas_generic3c881ae1_gs1.png", "atlas_generic3c881ae1_gs1.webp", "atlas_generic3c881ae1_gs6.png", "atlas_generic3c881ae1_gs6.webp", "atlas_generic3c881ae1_gs5.png", "atlas_generic3c881ae1_gs5.webp", "atlas_generic3c881ae1_gs2.png", "atlas_generic3c881ae1_gs2.webp"]; var resV = 1734542505; let tags = [ {tag: 'link', href:'/favicon.ico?v=XBBobPBryW'}, {tag: 'link', href:'/android-chrome-192x192.png?v=XBBobPBryW', rel:'icon', size:'192x192'}, {tag: 'link', href:'/favicon-32x32.png?v=XBBobPBryW', rel:'icon', type:'image/png', sizes:'32x32'}, {tag: 'link', href:'/favicon-96x96.png?v=XBBobPBryW', rel:'icon', type:'image/png', sizes:'96x96'}, {tag: 'link', href:'/favicon-16x16.png?v=XBBobPBryW', rel:'icon', type:'image/png', sizes:'16x16'}, {tag: 'link', href:'/safari-pinned-tab.svg?v=XBBobPBryW', rel:'mask-icon', color:'#ff7700'}, {tag: 'link', href:'/logo.png?v=XBBobPBryW', rel:'shortcut icon', sizes:'160x160'}, {tag: 'link', href:'/logo.png?v=XBBobPBryW', rel:'apple-touch-icon-precomposed'}, {tag: 'link', href:'/style.css', rel:'stylesheet'}, {tag: 'link', href:'/bundle.css', rel:'stylesheet'}, {tag: 'script', src:'/webfont.js', type:'text/javascript', onload: loadFonts, async:false}, {tag: 'script', src:'/bundle.js', type:'text/javascript', async:false} ]; tags.forEach(createTag);