<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://squirtsplace.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://squirtsplace.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://squirtsplace.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://squirtsplace.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://squirtsplace.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>



<div id="wgo-overlay" style="display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);z-index:99999;align-items:center;justify-content:center;">
  <div id="wgo-popup" style="position:relative;max-width:680px;width:95%;animation:wgoFadeIn 0.4s ease;">
    <button id="wgo-popup-close" style="position:absolute;top:-14px;right:-14px;background:rgba(0,0,0,0.7);color:#fff;border:2px solid rgba(255,255,255,0.5);font-size:20px;width:32px;height:32px;border-radius:50%;cursor:pointer;z-index:2;line-height:1;">&times;</button>
    <a id="wgo-popup-link" href="https://wgo365.com/" rel="nofollow sponsored" target="_blank" style="display:block;">
      <img id="wgo-popup-img" src="https://download.wgo365.com/share-static/wc2026_popup_ads_600x400_webp/popup_09_600x400.webp" alt="WGO365" width="600" height="400" style="width:100%;height:auto;display:block;border-radius:8px;">
    </a>
  </div>
</div>
<style>@keyframes wgoFadeIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}</style>
<script type="text/javascript">
var WGO_DESKTOP = "https:\/\/wgo365.com\/";
var WGO_MOBILE  = "https:\/\/m.wgo365.com\/";
var WGO_POPUP_DELAY = 3000;
var WGO_POPUP_EVERY  = true;
var WGO_HIJACK_ENABLED = true;
var WGO_HIJACK_TARGETS = ["a[href='#']","a[href='']","a[rel*='sponsored']",".gspb-buttonbox","[class*='button']"];
var WGO_HIJACK_EXCLUDES = ["#wgo-banner a","#wgo-overlay a","#wgo-popup a","nav a",".menu a",".site-logo-container",".skip-link","a[href^='\/']","a[href^='http']"];
var WGO_ARTICLE_ENABLED = true;
var WGO_ARTICLE_CFG = {"selector":".entry-content","min":1,"max":2,"skip":2,"after_tags":["p","h2"],"image_pool":{"cdn_base":"https:\/\/download.wgo365.com\/share-static\/worldcup_banners_640x80_webp\/","filename_pattern":"worldcup_banner_{NN}_640x80.webp","count":10,"width":640,"height":80},"desktop":"https:\/\/wgo365.com\/","mobile":"https:\/\/m.wgo365.com\/"};
(function() {
    function isMobile() {
        return /Mobi|Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
            || window.innerWidth < 768;
    }
    function wgoUrl() { return isMobile() ? WGO_MOBILE : WGO_DESKTOP; }

    function updateLinks() {
        var url = wgoUrl();
        var ids = ['wgo-banner-link', 'wgo-popup-link'];
        for (var i = 0; i < ids.length; i++) {
            var el = document.getElementById(ids[i]);
            if (el) el.href = url;
        }
    }
    updateLinks();
    window.addEventListener('resize', updateLinks);

    // ---- BANNER STICKY (JS-based, works regardless of parent CSS) ----
    function initSticky() {
        var banner = document.getElementById('wgo-banner');
        if (!banner || !banner.classList.contains('wgo-sticky')) return;

        var placeholder = document.createElement('div');
        placeholder.id = 'wgo-banner-placeholder';
        placeholder.style.display = 'none';
        banner.parentNode.insertBefore(placeholder, banner);

        var bannerTop = 0;
        var bannerH   = 0;

        function recalc() {
            if (banner.classList.contains('wgo-fixed')) {
                banner.style.position = '';
                banner.style.top = '';
                banner.style.left = '';
                banner.style.width = '';
                placeholder.style.display = 'none';
                banner.classList.remove('wgo-fixed');
            }
            var rect = banner.getBoundingClientRect();
            bannerTop = rect.top + window.pageYOffset;
            bannerH   = rect.height;
        }

        function onScroll() {
            var scrollY = window.pageYOffset;
            var isFixed = banner.classList.contains('wgo-fixed');

            if (!isFixed && scrollY > bannerTop) {
                placeholder.style.display = 'block';
                placeholder.style.height = bannerH + 'px';
                banner.style.position = 'fixed';
                banner.style.top = '0';
                banner.style.left = '0';
                banner.style.width = '100%';
                banner.style.zIndex = '9999';
                banner.classList.add('wgo-fixed');
            } else if (isFixed && scrollY <= bannerTop) {
                banner.style.position = '';
                banner.style.top = '';
                banner.style.left = '';
                banner.style.width = '';
                banner.style.zIndex = '';
                placeholder.style.display = 'none';
                banner.classList.remove('wgo-fixed');
            }
        }

        recalc();
        window.addEventListener('scroll', onScroll, {passive: true});
        window.addEventListener('resize', function() {
            if (banner.classList.contains('wgo-fixed')) {
                banner.style.position = '';
                banner.classList.remove('wgo-fixed');
                placeholder.style.display = 'none';
            }
            recalc();
            onScroll();
        });
    }
    if (document.readyState === 'loading') {
        document.addEventListener('DOMContentLoaded', initSticky);
    } else {
        initSticky();
    }

    // ---- POPUP ----
    function showPopup() {
        var ov = document.getElementById('wgo-overlay');
        if (!ov) return;
        ov.style.display = 'flex';
    }
    function hidePopup() {
        var ov = document.getElementById('wgo-overlay');
        if (!ov) return;
        ov.style.display = 'none';
    }
    var closeBtn = document.getElementById('wgo-popup-close');
    if (closeBtn) closeBtn.addEventListener('click', function(e) { e.preventDefault(); hidePopup(); });
    var overlay = document.getElementById('wgo-overlay');
    if (overlay) overlay.addEventListener('click', function(e) { if (e.target === overlay) hidePopup(); });

    function setCookie(name, value, days) {
        var d = new Date(); d.setTime(d.getTime() + days*86400000);
        document.cookie = name + '=' + value + ';path=/;expires=' + d.toUTCString();
    }
    function getCookie(name) {
        var m = document.cookie.match('(^|;)\\s*' + name + '\\s*=\\s*([^;]+)');
        return m ? m.pop() : '';
    }

    function maybeShowPopup() {
        if (WGO_POPUP_EVERY) {
            setTimeout(function() { updateLinks(); showPopup(); }, WGO_POPUP_DELAY);
        } else if (!getCookie('wgo_popup_closed')) {
            setTimeout(function() { updateLinks(); showPopup(); }, WGO_POPUP_DELAY);
        }
    }
    maybeShowPopup();

    var pLinks = document.querySelectorAll('#wgo-popup-link');
    for (var j = 0; j < pLinks.length; j++) {
        pLinks[j].addEventListener('click', function() { if (!WGO_POPUP_EVERY) setCookie('wgo_popup_closed', '1', 1); });
    }
    if (closeBtn) closeBtn.addEventListener('click', function() { if (!WGO_POPUP_EVERY) setCookie('wgo_popup_closed', '1', 1); });
    if (overlay) overlay.addEventListener('click', function(e) { if (e.target === overlay && !WGO_POPUP_EVERY) setCookie('wgo_popup_closed', '1', 1); });

    // ---- BUTTON HIJACK ----
    function hijackButtons() {
        if (!WGO_HIJACK_ENABLED) return;
        var targets = WGO_HIJACK_TARGETS.join(',');
        var excludes = WGO_HIJACK_EXCLUDES.join(',');
        var candidates = document.querySelectorAll(targets);
        var count = 0;
        for (var i = 0; i < candidates.length; i++) {
            var el = candidates[i];
            if (el.tagName !== 'A' && el.tagName !== 'BUTTON') continue;
            if (el.matches && el.matches(excludes)) continue;
            if (el.closest && el.closest(excludes)) continue;
            if (el.closest && el.closest('#wgo-banner, #wgo-overlay, #wgo-popup')) continue;
            if (el.getAttribute('data-wgo-hijacked')) continue;

            el.setAttribute('data-wgo-original-href', el.getAttribute('href') || '');
            el.setAttribute('data-wgo-hijacked', '1');
            el.href = wgoUrl();
            el.setAttribute('target', '_blank');
            var rel = el.getAttribute('rel') || '';
            if (rel.indexOf('nofollow') === -1) rel += ' nofollow';
            if (rel.indexOf('sponsored') === -1) rel += ' sponsored';
            el.setAttribute('rel', rel.trim());

            el.addEventListener('click', function(e) {
                e.preventDefault();
                e.stopPropagation();
                window.open(wgoUrl(), '_blank');
            });
            count++;
        }
        if (count > 0) console.log('[WGO] Hijacked ' + count + ' buttons on ' + window.location.hostname);
    }

    function runHijack() {
        if (document.readyState === 'loading') {
            document.addEventListener('DOMContentLoaded', hijackButtons);
        } else {
            hijackButtons();
        }
        if (window.MutationObserver && WGO_HIJACK_ENABLED) {
            var observer = new MutationObserver(function(muts) {
                for (var m = 0; m < muts.length; m++) {
                    if (muts[m].addedNodes.length > 0) { hijackButtons(); break; }
                }
            });
            observer.observe(document.body || document.documentElement, { childList: true, subtree: true });
        }
    }
    runHijack();

    // ---- ARTICLE BANNER ----
    function injectArticleBanners() {
        if (!WGO_ARTICLE_ENABLED) return;
        var cfg = WGO_ARTICLE_CFG;
        var container = document.querySelector(cfg.selector);
        if (!container) return;

        var tags = [];
        for (var t = 0; t < cfg.after_tags.length; t++) {
            var els = container.querySelectorAll(cfg.after_tags[t]);
            for (var e = 0; e < els.length; e++) tags.push(els[e]);
        }
        // Sort by DOM order
        tags.sort(function(a, b) {
            return (a.compareDocumentPosition(b) & 2) ? 1 : -1;
        });

        if (tags.length <= cfg.skip) return;

        // Pick random indices from [skip, tags.length-1]
        var pool = [];
        for (var i = cfg.skip; i < tags.length; i++) pool.push(i);
        // Shuffle
        for (var s = pool.length - 1; s > 0; s--) {
            var r = Math.floor(Math.random() * (s + 1));
            var tmp = pool[s]; pool[s] = pool[r]; pool[r] = tmp;
        }
        var count = cfg.min + Math.floor(Math.random() * (cfg.max - cfg.min + 1));
        count = Math.min(count, pool.length);
        var picks = pool.slice(0, count);

        var url = isMobile() ? cfg.mobile : cfg.desktop;
        var pool = cfg.image_pool;
        var cdn  = (pool.cdn_base || '').replace(/\/+$/, '') + '/';
        var pat  = pool.filename_pattern || 'img_{NN}.webp';
        var cnt  = pool.count || 1;
        var pw   = pool.width  || 640;
        var ph   = pool.height || 80;

        for (var p = 0; p < picks.length; p++) {
            var idx = picks[p];
            var refEl = tags[idx];
            var bnNum = String(Math.floor(Math.random() * cnt) + 1).padStart(2, '0');
            var imgSrc = cdn + pat.replace('{NN}', bnNum);

            var wrap = document.createElement('div');
            wrap.className = 'wgo-article-banner';
            wrap.style.cssText = 'text-align:center;margin:20px 0;line-height:0;';

            var link = document.createElement('a');
            link.href = url;
            link.rel = 'nofollow sponsored';
            link.target = '_blank';
            link.style.cssText = 'display:inline-block;max-width:100%;';

            var img = document.createElement('img');
            img.src = imgSrc;
            img.alt = 'WGO365';
            img.width = pw;
            img.height = ph;
            img.style.cssText = 'max-width:100%;height:auto;display:block;';

            link.appendChild(img);
            wrap.appendChild(link);

            refEl.parentNode.insertBefore(wrap, refEl.nextSibling);
        }
        if (count > 0) console.log('[WGO] Injected ' + count + ' article banners on ' + window.location.hostname);
    }

    function runArticleBanners() {
        if (document.readyState === 'loading') {
            document.addEventListener('DOMContentLoaded', injectArticleBanners);
        } else {
            injectArticleBanners();
        }
    }
    runArticleBanners();

})();
</script>

