<?php
// 1. Tangkap parameter ?id= dari URL
$id_pasaran = isset($_GET['id']) ? preg_replace('/[^0-9]/', '', $_GET['id']) : '';

// 2. Jika ada ID yang dikirim (misal ?id=50), kita muat file pasaran spesifiknya
if ($id_pasaran !== '') {
    $nama_file = __DIR__ . '/' . $id_pasaran . '.html';
    
    if (file_exists($nama_file)) {
        // Tampilkan isi 50.html
        include($nama_file);
        // PENTING: Hentikan proses di sini agar HTML grid di bawah tidak ikut tercetak menumpuk!
        exit; 
    } else {
        echo "<h2 style='text-align:center; margin-top:50px; color:white; font-family:sans-serif;'>Mohon maaf, Live Draw untuk ID " . htmlspecialchars($id_pasaran) . " belum tersedia.</h2>";
        exit;
    }
}

// =========================================================================
// 3. JIKA TIDAK ADA ID YANG DIMINTA (URL hanya /client/blog/liveDraw/)
// MAKA TAMPILKAN HTML UTAMA (GRID PASARAN) DI BAWAH INI:
// =========================================================================
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
    <meta charset='utf-8' />
    <meta http-equiv='X-UA-Compatible' content='IE=edge' />
    <title>WBOTOTO | Blog Pasaran Terlengkap</title>
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <meta name='viewport' content='width=device-width, initial-scale=1' />
    <link rel="icon" type="image/png" href="https://cloudassetskita.com/uploads/favicon-d6dae204.webp" />
    <meta name="deskripsi" content="WBOTOTO prediksi terlengkap">
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
    <meta name="urlRtp" content="https://rajarestoran.com/rtpwbo" />
    <meta name="urlBuktiJp" content="https://rajarestoran.com/buktiwbo" />
    <meta name="urlPromo" content="https://rajarestoran.com/promowbo" />
    <script src="https://pusat-prediksi.com/assets/js/perfect-scrollbar.min.js"></script>
    <script src="https://pusat-prediksi.com/assets/js/Sortable.min.js"></script>
    <script src="https://pusat-prediksi.com/assets/js/moment-with-locales.min.js"></script>
    <script src="https://pusat-prediksi.com/assets/js/moment-id.js"></script>
    <script defer src="https://pusat-prediksi.com/assets/js/popper.min.js"></script>
    <script defer src="https://pusat-prediksi.com/assets/js/tippy-bundle.umd.min.js"></script>
    <script defer src="https://pusat-prediksi.com/assets/js/sweetalert.min.js"></script>
    <link rel="preload" as="style" href="https://pusat-prediksi.com/build/assets/app.ddb3eef6.css" />
    <link rel="modulepreload" href="https://pusat-prediksi.com/build/assets/app.ff641f89.js" />
    <link rel="modulepreload" href="https://pusat-prediksi.com/build/assets/detect-element-overflow.a8989dc7.js" />
    <link rel="stylesheet" href="https://pusat-prediksi.com/build/assets/app.ddb3eef6.css" />
    <script type="module" src="https://pusat-prediksi.com/build/assets/app.ff641f89.js"></script>
    <link rel="stylesheet" href="https://pusat-prediksi.com/build/assets/swiper-bundle.min.3f0abbd1.css">
    <script src="https://pusat-prediksi.com/assets/js/swiper-bundle.min.js"></script>
    <style>
    /* 1. Paksa sidebar geser ke kanan */
    nav.sidebar {
        /* JANGAN PAKAI top: 0 biar nggak nutupin burger */
        top: 60px !important; /* KASIH GAP DI SINI (sesuaikan tingginya) */
        right: 0 !important; 
        /* Pastikan tingginya full layar dikurangi gap atas */
        height: calc(100vh - 60px) !important; 
        z-index: 9999 !important;
    }

    /* 2. KHUSUS MOBILE: Supaya fungsi tutup-buka jalan di kanan */
    @media (max-width: 1023px) {
        /* Saat menu ditutup: geser ke luar layar sebelah kanan */
        body:not(.toggle-sidebar) nav.sidebar {
            right: -260px !important; /* Ngumpet ke kanan */
            left: auto !important;
        }
        /* Saat menu dibuka: tempel ke pinggir kanan layar */
        body.toggle-sidebar nav.sidebar {
            right: 0 !important;
            left: auto !important;
        }
    }
</style>
</head>

<body x-data="main" class="relative overflow-x-hidden text-sm antialiased font-normal font-nunito boxed-layout horizontal sm:max-w-6xl bg-image" :class="[ $store.app.sidebar ? 'toggle-sidebar' : '', $store.app.themeCustom, ]">

    <div x-cloak class="fixed inset-0 bg-[black]/60 z-50 lg:hidden" :class="{ 'hidden': !$store.app.sidebar }" @click="$store.app.toggleSidebar()"></div>

    <div class="fixed z-50 bottom-6 ltr:right-6 rtl:left-6" x-data="scrollToTop">
        <template x-if="showTopButton">
            <button type="button" class="btn btn-outline-primary rounded-full p-2 animate-pulse bg-[#fafafa] dark:bg-[#060818] dark:hover:bg-primary" @click="goToTop">
                <svg width="24" height="24" class="w-4 h-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path opacity="0.5" fill-rule="evenodd" clip-rule="evenodd" d="M12 20.75C12.4142 20.75 12.75 20.4142 12.75 20L12.75 10.75L11.25 10.75L11.25 20C11.25 20.4142 11.5858 20.75 12 20.75Z" fill="currentColor" />
                    <path d="M6.00002 10.75C5.69667 10.75 5.4232 10.5673 5.30711 10.287C5.19103 10.0068 5.25519 9.68417 5.46969 9.46967L11.4697 3.46967C11.6103 3.32902 11.8011 3.25 12 3.25C12.1989 3.25 12.3897 3.32902 12.5304 3.46967L18.5304 9.46967C18.7449 9.68417 18.809 10.0068 18.6929 10.287C18.5768 10.5673 18.3034 10.75 18 10.75L6.00002 10.75Z" fill="currentColor" />
                </svg>
            </button>
        </template>
    </div>

    <script>
        document.addEventListener("alpine:init", () => {
            Alpine.data("scrollToTop", () => ({
                showTopButton: false,
                init() {
                    window.onscroll = () => {
                        this.scrollFunction();
                    };
                },
                scrollFunction() {
                    if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
                        this.showTopButton = true;
                    } else {
                        this.showTopButton = false;
                    }
                },
                goToTop() {
                    document.body.scrollTop = 0;
                    document.documentElement.scrollTop = 0;
                },
            }));
        });
    </script>

    <div class="min-h-screen text-black main-container dark:text-white-dark" :class="[$store.app.navbar]" x-data="menuBlog">
        <div :class="{ 'dark text-white-dark': $store.app.semidark }">
            <nav class="sidebar fixed h-full top-0 right-0 w-[260px] shadow-[-5px_0_25px_0_rgba(0,0,0,0.1)] z-50 transition-all duration-300" >
                <div class="bg-white dark:bg-[#0e1726] h-full">
                    <ul class="perfect-scrollbar relative font-semibold space-y-0.5 h-[calc(100vh-80px)] overflow-y-auto overflow-x-hidden p-4" x-data="{ activeDropdown: null }">
                        <template x-for="item of menuSideBar">
                            <li class="nav-item">
                                <a :href="item.url ? item.url : 'javascript:;'" class="nav-link group" :class="{ 'active': item.aktif }">
                                    <div class="flex items-center">
                                        <template x-if="item.icon">
                                            <div class="group-hover:!text-primary" x-html="item.icon"></div>
                                        </template>
                                        <span class="ltr:pl-3 rtl:pr-3 text-black dark:text-[#506690] dark:group-hover:text-white-dark capitalize" x-text="item.name"></span>
                                    </div>
                                </a>
                            </li>
                        </template>
                    </ul>
                </div>
            </nav>
        </div>

        <div class="flex flex-col min-h-screen main-content">
                <header class="z-40" :class="{ 'dark': $store.app.semidark && $store.app.menu === 'horizontal' }" data-menu="live draw" x-ref="header">
                <div class="bg-[#fafafa] shadow-sm dark:bg-[#0e1726]">
                    <div class="flex flex-col-reverse items-start justify-end border-b sm:flex-row border-warning sm:border-none">
                        <div class="flex-1 w-full sm:flex-none sm:w-auto">
                            <div class="items-center hidden gap-1 py-2 pr-8 sm:inline-flex">
                                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4.5 h-4.5 shrink-0">
                                    <path opacity="0.5" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" fill="currentColor"/>
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M12 7.25C12.4142 7.25 12.75 7.58579 12.75 8V11.6893L15.0303 13.9697C15.3232 14.2626 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2626 15.3232 13.9697 15.0303L11.4697 12.5303C11.329 12.3897 11.25 12.1989 11.25 12V8C11.25 7.58579 11.5858 7.25 12 7.25Z" fill="currentColor"/>
                                </svg>
                                <span x-text="timer" class="px-1 text-xs uppercase">as</span>
                            </div>
                        </div>
                    </div>

                    <div class="relative flex w-full items-center px-2.5 sm:px-4 py-2.5">
                        <div class="flex items-center justify-between horizontal-logo lg:hidden ltr:mr-2 rtl:ml-2">
                            <a href="/client/blog/" class="flex items-center main-logo shrink-0">
                                <img src="https://cloudassetskita.com/uploads/logo-a11fcbc3.webp" class="inline max-h-9">
                            </a>
                        </div>
                        <div class="sm:flex-1 sm:ml-0 ml-auto flex items-center space-x-1.5 dark:text-[#d0d2d6]">
                            <div class="sm:mr-auto"></div>

                            <ul class="horizontal-menu !shadow-none hidden font-semibold text-black dark:bg-[#0e1726] dark:text-white-dark sm:space-x-1.5">
                                <template x-for="item of menu">
                                    <li class="relative menu nav-item">
                                        <a :href="item.url ? item.url : 'javascript:;' " class="nav-link" :target="item.target ? item.target : ''" :class="{
                                            'active': item.aktif
                                        }">
                                            <div class="flex items-center">
                                                <template x-if="item.icon">
                                                    <div x-html="item.icon"></div>
                                                </template>
                                                <span class="px-1 capitalize" x-text="item.name"></span>
                                            </div>
                                            <template x-if="item.subMenu?.length > 0">
                                                <div class="right_arrow">
                                                    <svg class="w-4 h-4 rotate-90" width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                        <path d="M9 5L15 12L9 19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                    </svg>
                                                </div>
                                            </template>
                                        </a>
                                        <template x-if="item.subMenu?.length > 0">
                                            <ul class="sub-menu">
                                                <template x-for="sItem of item.subMenu">
                                                    <li>
                                                        <a :href="sItem.url" class="nav-link" :target="sItem.target ? sItem.target : ''" :class="{
                                                            'active': sItem.aktif
                                                        }">
                                                            <div class="flex items-center">
                                                                <template x-if="sItem.icon">
                                                                    <div x-html="sItem.icon"></div>
                                                                </template>
                                                                <span class="px-1 capitalize" x-text="sItem.name"></span>
                                                            </div>
                                                        </a>
                                                    </li>
                                                </template>
                                            </ul>
                                        </template>
                                    </li>
                                </template>
                            </ul>

                            <div class="ml-2">
                                <a href="javascript:;" x-cloak x-show="$store.app.themeCustom === 'light'" class="flex items-center p-2 rounded-full bg-white-light/40 dark:bg-dark/40 hover:text-primary hover:bg-white-light/90 dark:hover:bg-dark/60" @click="$store.app.themeCustom = 'dark'">
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <circle cx="12" cy="12" r="5" stroke="currentColor" stroke-width="1.5" />
                                        <path d="M12 2V4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path d="M12 20V22" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path d="M4 12L2 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path d="M22 12L20 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path opacity="0.5" d="M19.7778 4.22266L17.5558 6.25424" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path opacity="0.5" d="M4.22217 4.22266L6.44418 6.25424" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path opacity="0.5" d="M6.44434 17.5557L4.22211 19.7779" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                        <path opacity="0.5" d="M19.7778 19.7773L17.5558 17.5551" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                    </svg>
                                </a>
                                <a href="javascript:;" x-cloak x-show="$store.app.themeCustom === 'dark'" class="flex items-center p-2 rounded-full bg-white-light/40 dark:bg-dark/40 hover:text-primary hover:bg-white-light/90 dark:hover:bg-dark/60" @click="$store.app.themeCustom = 'light'">
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M21.0672 11.8568L20.4253 11.469L21.0672 11.8568ZM12.1432 2.93276L11.7553 2.29085V2.29085L12.1432 2.93276ZM21.25 12C21.25 17.1086 17.1086 21.25 12 21.25V22.75C17.9371 22.75 22.75 17.9371 22.75 12H21.25ZM12 21.25C6.89137 21.25 2.75 17.1086 2.75 12H1.25C1.25 17.9371 6.06294 22.75 12 22.75V21.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75V1.25C6.06294 1.25 1.25 6.06294 1.25 12H2.75ZM15.5 14.25C12.3244 14.25 9.75 11.6756 9.75 8.5H8.25C8.25 12.5041 11.4959 15.75 15.5 15.75V14.25ZM20.4253 11.469C19.4172 13.1373 17.5882 14.25 15.5 14.25V15.75C18.1349 15.75 20.4407 14.3439 21.7092 12.2447L20.4253 11.469ZM9.75 8.5C9.75 6.41182 10.8627 4.5828 12.531 3.57467L11.7553 2.29085C9.65609 3.5593 8.25 5.86509 8.25 8.5H9.75ZM12 2.75C11.9115 2.75 11.8077 2.71008 11.7324 2.63168C11.6686 2.56527 11.6538 2.50244 11.6503 2.47703C11.6461 2.44587 11.6482 2.35557 11.7553 2.29085L12.531 3.57467C13.0342 3.27065 13.196 2.71398 13.1368 2.27627C13.0754 1.82126 12.7166 1.25 12 1.25V2.75ZM21.7092 12.2447C21.6444 12.3518 21.5541 12.3539 21.523 12.3497C21.4976 12.3462 21.4347 12.3314 21.3683 12.2676C21.2899 12.1923 21.25 12.0885 21.25 12H22.75C22.75 11.2834 22.1787 10.9246 21.7237 10.8632C21.286 10.804 20.7293 10.9658 20.4253 11.469L21.7092 12.2447Z" fill="currentColor" />
                                    </svg>
                                </a>
                            </div>
                            <a href="javascript:;" class="collapse-icon flex-none dark:text-[#d0d2d6] hover:text-primary dark:hover:text-primary flex lg:hidden ltr:ml-2 p-2 rounded-full bg-white-light/40 dark:bg-dark/40 hover:bg-white-light/90 dark:hover:bg-dark/60" @click="$store.app.toggleSidebar()">
                                <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M20 7L4 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                    <path opacity="0.5" d="M20 12L4 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                    <path d="M20 17L4 17" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />
                                </svg>
                            </a>
                        </div>
                    </div>

                </div>
            </header>

            <div class="bg-[#fafafa] dark:bg-[#060818]">
                <div class="relative w-full pt-2 overflow-hidden border-y border-warning">
                    <marquee scrollamount="5" direction="left">Selamat datang di WBOTOTO Situs Games Online Terpercaya | Data Result Angka Terlengkap | Prediksi Angka Jitu Online | Paito Warna Terlengkap</marquee>
                </div>

                <div class="w-full px-0 py-2">
                    <div class="swiper mySwiper">
                        <div class="swiper-wrapper">
                            <div class="overflow-hidden bg-center bg-cover rounded-md sm:max-w-sm swiper-slide">
                                <img src="https://cloudassetskita.com/uploads/new-wbo-7680ad23.webp" />
                            </div>
                            <div class="overflow-hidden bg-center bg-cover rounded-md sm:max-w-sm swiper-slide">
                                <img src="https://cloudassetskita.com/uploads/to-wbo-f033171a.webp" />
                            </div>
                            <div class="overflow-hidden bg-center bg-cover rounded-md sm:max-w-sm swiper-slide">
                                <img src="https://cloudassetskita.com/uploads/harian-wbo-ea4597c9.webp" />
                            </div>
                        </div>
                    </div>
                </div>

                <div class="flex flex-col items-center w-full gap-2 px-2 pb-2 sm:px-4 sm:gap-3 sm:flex-row">
                    <div class="flex items-center flex-1 w-full gap-2">
                        <a href="https://rajarestoran.com/wbototo" target="_blank" class="flex items-center justify-center flex-1 gap-2 p-2 text-xs font-bold uppercase rounded-md shadow shadow-warning hover:bg-warning hover:text-white">
                            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 shrink-0">
                                <path opacity="0.6" d="M15 2H14C11.1716 2 9.75736 2 8.87868 2.87868C8 3.75736 8 5.17157 8 8V16C8 18.8284 8 20.2426 8.87868 21.1213C9.75736 22 11.1716 22 14 22H15C17.8284 22 19.2426 22 20.1213 21.1213C21 20.2426 21 18.8284 21 16V8C21 5.17157 21 3.75736 20.1213 2.87868C19.2426 2 17.8284 2 15 2Z" fill="currentColor" />
                                <path opacity="0.4" d="M8 8C8 6.46249 8 5.34287 8.14114 4.5H8C5.64298 4.5 4.46447 4.5 3.73223 5.23223C3 5.96447 3 7.14298 3 9.5V14.5C3 16.857 3 18.0355 3.73223 18.7678C4.46447 19.5 5.64298 19.5 8 19.5H8.14114C8 18.6571 8 17.5375 8 16V12.75V11.25V8Z" fill="currentColor" />
                                <path fill-rule="evenodd" clip-rule="evenodd" d="M14.5303 11.4697C14.8232 11.7626 14.8232 12.2374 14.5303 12.5303L12.5303 14.5303C12.2374 14.8232 11.7626 14.8232 11.4697 14.5303C11.1768 14.2374 11.1768 13.7626 11.4697 13.4697L12.1893 12.75L5 12.75C4.58579 12.75 4.25 12.4142 4.25 12C4.25 11.5858 4.58579 11.25 5 11.25L12.1893 11.25L11.4697 10.5303C11.1768 10.2374 11.1768 9.76256 11.4697 9.46967C11.7626 9.17678 12.2374 9.17678 12.5303 9.46967L14.5303 11.4697Z" fill="currentColor" />
                            </svg>
                            <span>login</span>
                        </a>
                        <a href="https://rajarestoran.com/promowbo" target="_blank" class="flex items-center justify-center flex-1 gap-2 p-2 text-xs font-bold uppercase rounded-md shadow shadow-warning hover:bg-warning hover:text-white ">
                            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 shrink-0">
                                <path opacity="0.5" d="M12 16.0678L8.22855 19.9727C7.68843 20.532 7.41837 20.8116 7.18967 20.9084C6.66852 21.1289 6.09042 20.9402 5.81628 20.4601C5.69597 20.2494 5.65848 19.8694 5.5835 19.1094C5.54117 18.6803 5.52 18.4657 5.45575 18.286C5.31191 17.8837 5.00966 17.5708 4.6211 17.4218C4.44755 17.3553 4.24033 17.3334 3.82592 17.2895L3.82589 17.2895C3.09187 17.2119 2.72486 17.1731 2.52138 17.0485C2.05772 16.7647 1.87548 16.1661 2.08843 15.6265C2.18188 15.3897 2.45194 15.1101 2.99206 14.5509L5.45575 11.9999L6.69396 10.7617L12 16.0678L17.306 10.7617L18.5442 11.9999L21.0079 14.5509C21.5481 15.1101 21.8181 15.3897 21.9116 15.6265C22.1245 16.1661 21.9423 16.7647 21.4786 17.0485C21.2751 17.1731 20.9081 17.2119 20.1741 17.2895C19.7597 17.3334 19.5525 17.3553 19.3789 17.4218C18.9903 17.5708 18.6881 17.8837 18.5442 18.286C18.48 18.4657 18.4588 18.6803 18.4165 19.1094V19.1094C18.3415 19.8694 18.304 20.2494 18.1837 20.4601C17.9096 20.9402 17.3315 21.1289 16.8103 20.9084C16.5816 20.8116 16.3116 20.532 15.7715 19.9727L12 16.0678Z" fill="currentColor"></path>
                                <path fill-rule="evenodd" clip-rule="evenodd" d="M12 16C15.866 16 19 12.866 19 9C19 5.13401 15.866 2 12 2C8.13401 2 5 5.13401 5 9C5 12.866 8.13401 16 12 16ZM12 6C11.7159 6 11.5259 6.34084 11.1459 7.02251L11.0476 7.19887C10.9397 7.39258 10.8857 7.48944 10.8015 7.55334C10.7173 7.61725 10.6125 7.64097 10.4028 7.68841L10.2119 7.73161C9.47396 7.89857 9.10501 7.98205 9.01723 8.26432C8.92945 8.54659 9.18097 8.84072 9.68403 9.42898L9.81418 9.58117C9.95713 9.74833 10.0286 9.83191 10.0608 9.93531C10.0929 10.0387 10.0821 10.1502 10.0605 10.3733L10.0408 10.5763C9.96476 11.3612 9.92674 11.7536 10.1565 11.9281C10.3864 12.1025 10.7318 11.9435 11.4227 11.6254L11.6014 11.5431C11.7978 11.4527 11.8959 11.4075 12 11.4075C12.1041 11.4075 12.2022 11.4527 12.3986 11.5431L12.5773 11.6254C13.2682 11.9435 13.6136 12.1025 13.8435 11.9281C14.0733 11.7536 14.0352 11.3612 13.9592 10.5763L13.9395 10.3733C13.9179 10.1502 13.9071 10.0387 13.9392 9.93531C13.9714 9.83191 14.0429 9.74833 14.1858 9.58118L14.316 9.42898C14.819 8.84072 15.0706 8.54659 14.9828 8.26432C14.895 7.98205 14.526 7.89857 13.7881 7.73161L13.5972 7.68841C13.3875 7.64097 13.2827 7.61725 13.1985 7.55334C13.1143 7.48944 13.0603 7.39258 12.9524 7.19887L12.8541 7.02251C12.4741 6.34084 12.2841 6 12 6Z" fill="currentColor"></path>
                            </svg>
                            <span>promo</span>
                        </a>
                    </div>
                    <div class="flex items-center flex-1 w-full gap-2">
                        <a href="https://rajarestoran.com/rtpwbo" target="_blank" class="flex items-center justify-center flex-1 gap-2 p-2 text-xs font-bold uppercase rounded-md shadow shadow-warning hover:bg-warning hover:text-white ">
                            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 shrink-0">
                                <path d="M3.29289 9.29289C3 9.58579 3 10.0572 3 11V17C3 17.9428 3 18.4142 3.29289 18.7071C3.58579 19 4.05719 19 5 19C5.94281 19 6.41421 19 6.70711 18.7071C7 18.4142 7 17.9428 7 17V11C7 10.0572 7 9.58579 6.70711 9.29289C6.41421 9 5.94281 9 5 9C4.05719 9 3.58579 9 3.29289 9.29289Z" fill="currentColor"></path>
                                <path opacity="0.4" d="M17.2929 2.29289C17 2.58579 17 3.05719 17 4V17C17 17.9428 17 18.4142 17.2929 18.7071C17.5858 19 18.0572 19 19 19C19.9428 19 20.4142 19 20.7071 18.7071C21 18.4142 21 17.9428 21 17V4C21 3.05719 21 2.58579 20.7071 2.29289C20.4142 2 19.9428 2 19 2C18.0572 2 17.5858 2 17.2929 2.29289Z" fill="currentColor"></path>
                                <path opacity="0.7" d="M10 7C10 6.05719 10 5.58579 10.2929 5.29289C10.5858 5 11.0572 5 12 5C12.9428 5 13.4142 5 13.7071 5.29289C14 5.58579 14 6.05719 14 7V17C14 17.9428 14 18.4142 13.7071 18.7071C13.4142 19 12.9428 19 12 19C11.0572 19 10.5858 19 10.2929 18.7071C10 18.4142 10 17.9428 10 17V7Z" fill="currentColor"></path>
                                <path d="M3 21.25C2.58579 21.25 2.25 21.5858 2.25 22C2.25 22.4142 2.58579 22.75 3 22.75H21C21.4142 22.75 21.75 22.4142 21.75 22C21.75 21.5858 21.4142 21.25 21 21.25H3Z" fill="currentColor"></path>
                            </svg>
                            <span>rtp slot</span>
                        </a>
                        <a href="https://rajarestoran.com/buktiwbo" target="_blank" class="flex items-center justify-center flex-1 gap-2 p-2 text-xs font-bold uppercase rounded-md shadow shadow-warning hover:bg-warning hover:text-white ">
                            <svg class="w-4 h-4 shrink-0" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path fill-rule="evenodd" clip-rule="evenodd" d="M4 4.69434V18.6943C4 20.3512 5.34315 21.6943 7 21.6943H17C18.6569 21.6943 20 20.3512 20 18.6943V8.69434C20 7.03748 18.6569 5.69434 17 5.69434H5C4.44772 5.69434 4 5.24662 4 4.69434ZM7.25 11.6943C7.25 11.2801 7.58579 10.9443 8 10.9443H16C16.4142 10.9443 16.75 11.2801 16.75 11.6943C16.75 12.1085 16.4142 12.4443 16 12.4443H8C7.58579 12.4443 7.25 12.1085 7.25 11.6943ZM7.25 15.1943C7.25 14.7801 7.58579 14.4443 8 14.4443H13.5C13.9142 14.4443 14.25 14.7801 14.25 15.1943C14.25 15.6085 13.9142 15.9443 13.5 15.9443H8C7.58579 15.9443 7.25 15.6085 7.25 15.1943Z" fill="currentColor"></path>
                                <path opacity="0.5" d="M18 4.00038V5.86504C17.6872 5.75449 17.3506 5.69434 17 5.69434H5C4.44772 5.69434 4 5.24662 4 4.69434V4.62329C4 4.09027 4.39193 3.63837 4.91959 3.56299L15.7172 2.02048C16.922 1.84835 18 2.78328 18 4.00038Z" fill="currentColor"></path>
                            </svg>
                            <span>Bukti Jackpot</span>
                        </a>
                    </div>
                </div>

            </div>

            <div class="animate__animated h-full flex-1 bg-[#fafafa] relative dark:bg-[#060818]" :class="[$store.app.animation]">
                <div class="mt-1">
                    <div class="z-10 flex flex-col-reverse items-center justify-between gap-2 sm:gap-6 sm:flex-row border-t p-2 sm:px-4 border-warning bg-white dark:bg-[#060818]">
                        <div class="w-full text-lg font-bold text-center uppercase text-warning">Live draw Pasaran Togel Online Lengkap</div>
                    </div>

                    <div class="h-full p-2 sm:px-4" x-data="dataResult">

                        <template x-if="isLoad">
                            <div class="flex items-center justify-center">
                                <div class="lc lc-2  dark:lc-bg-from-[#888ea8] dark:lc-bgi-from-[#060818] dark:lc-bgi-to-[#888ea8] !text-sm sm:!text-base"></div>
                            </div>
                        </template>

                        <template x-if="!isLoad">
                            <div class="grid grid-cols-2 gap-3 p-1 lg:grid-cols-4 sm:grid-cols-3">
                                <template x-for="item of data">
                                    <div class="p-1 space-y-1 sm:p-2 panel shadow-warning">
                                        <template x-if="item.live">
                                            <div class="flex items-center justify-center p-1.5 rounded-md shadow shadow-success !mb-2 !mt-0 text-success gap-2">
                                                <span class="text-xs font-bold capitalize">Sedang Live</span>
                                                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4.5 h-4.5 shrink-0 animate-bounce">
                                                    <path opacity="0.5" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" fill="currentColor" />
                                                    <path d="M13.0261 9.27492C12.7888 9.10831 12.5201 8.93597 12.2419 8.76679L12.2419 8.76679C11.1695 8.11466 10.6333 7.78859 10.1524 8.1496C9.6715 8.51061 9.62779 9.26636 9.54038 10.7778C9.51566 11.2053 9.5 11.6243 9.5 12C9.5 12.3757 9.51566 12.7947 9.54038 13.2222C9.62779 14.7336 9.6715 15.4894 10.1524 15.8504C10.6333 16.2114 11.1695 15.8853 12.2419 15.2332C12.5201 15.064 12.7888 14.8917 13.0261 14.7251C13.2966 14.5352 13.5909 14.3073 13.8876 14.0652C14.9625 13.1883 15.5 12.7499 15.5 12C15.5 11.2501 14.9625 10.8117 13.8876 9.9348C13.5909 9.69274 13.2966 9.46483 13.0261 9.27492Z" fill="currentColor" />
                                                </svg>
                                            </div>
                                        </template>
                                        <template x-if="!item.live">
                                            <div class="flex items-center justify-center p-1.5 rounded-md shadow shadow-info !mb-2 !mt-0 gap-2">
                                                <span class="text-xs font-bold uppercase">Next Draw </span>
                                                <span class="text-xs font-bold capitalize">
                                                    <span x-text="addZero(item.timer.hours)"></span>
                                                    <span>:</span>
                                                    <span x-text="addZero(item.timer.minutes)"></span>
                                                    <span>:</span>
                                                    <span x-text="addZero(item.timer.seconds)"></span>
                                                </span>
                                            </div>
                                        </template>

                                        <div class="flex items-center justify-center w-full pt-1 min-h-[105px]">
                                            <img :src="item.provider_togel.img" class="max-h-[150px] animate-tada">
                                        </div>
                                        <div class="w-full text-base font-bold text-center hlsText" x-text="item.name"></div>

                                        <div class="flex flex-wrap items-center gap-2 pt-2">
                                            <a :href="'/client/blog/liveDraw?id='+item.id" target="_blank" class="flex items-center justify-center flex-1 gap-1 px-2 py-1 text-xs font-bold rounded shadow shadow-success hover:bg-success hover:text-white hover:shadow-none text-success ">
                                                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4.5 h-4.5 shrink-0">
                                                    <path opacity="0.5" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" fill="currentColor" />
                                                    <path d="M13.0261 9.27492C12.7888 9.10831 12.5201 8.93597 12.2419 8.76679L12.2419 8.76679C11.1695 8.11466 10.6333 7.78859 10.1524 8.1496C9.6715 8.51061 9.62779 9.26636 9.54038 10.7778C9.51566 11.2053 9.5 11.6243 9.5 12C9.5 12.3757 9.51566 12.7947 9.54038 13.2222C9.62779 14.7336 9.6715 15.4894 10.1524 15.8504C10.6333 16.2114 11.1695 15.8853 12.2419 15.2332C12.5201 15.064 12.7888 14.8917 13.0261 14.7251C13.2966 14.5352 13.5909 14.3073 13.8876 14.0652C14.9625 13.1883 15.5 12.7499 15.5 12C15.5 11.2501 14.9625 10.8117 13.8876 9.9348C13.5909 9.69274 13.2966 9.46483 13.0261 9.27492Z" fill="currentColor" />
                                                </svg>
                                                <span>Live</span>
                                            </a>
                                        </div>
                                    </div>
                                </template>
                            </div>
                        </template>
                    </div>
                </div>
            </div>
        </div>
        <div class="px-2.5 sm:px-4 pb-2.5 mt-auto text-center dark:text-white-dark sm:text-left bg-white dark:bg-[#060818] ">Copyright © <span id="footer-year">2026</span> WBOTOTO Agen Games Online Terpercaya.</div>
    </div>
    
    <script src="https://pusat-prediksi.com/assets/js/alpine-collaspe.min.js"></script>
    <script src="https://pusat-prediksi.com/assets/js/alpine-persist.min.js"></script>
    <script defer src="https://pusat-prediksi.com/assets/js/alpine-ui.min.js"></script>
    <script defer src="https://pusat-prediksi.com/assets/js/alpine-focus.min.js"></script>
    <script defer src="https://pusat-prediksi.com/assets/js/alpine.min.js"></script>
    <script src="https://pusat-prediksi.com/assets/js/custom.js"></script>
    <script src="https://pusat-prediksi.com/build/assets/menuBlog.3ac943d0.js"></script>
    <script src="https://pusat-prediksi.com/build/assets/result.85565022.js"></script>
    <script src="https://pusat-prediksi.com/assets/js/countdown.min.js"></script>

</body>
</html>