(async function () {
  console.log("Script by Trần Anh Tú - Zalo 0942792489");
  function _0x4f8c48() {
    if (document.getElementById("__tr_banner")) {
      return;
    }
    const _0x596be3 = document.createElement("style");
    _0x596be3.id = "__tr_banner_style";
    _0x596be3.textContent = "\n      #__tr_banner{position:fixed;left:0;right:0;top:0;height:36px;background:#000;color:#ff4d4d;display:flex;align-items:center;z-index:2147483646;pointer-events:none;font-family:Arial, Helvetica, sans-serif}\n      #__tr_banner .__tr_wrap{overflow:hidden;width:100%;position:relative}\n      #__tr_banner .__tr_text{display:inline-block;white-space:nowrap;font-weight:700;letter-spacing:1px;color:#ff3b3b;padding:0 8px}\n      #__tr_logs{position:fixed;left:12px;top:48px;max-width:420px;z-index:2147483647;pointer-events:none;font-family:Arial, Helvetica, sans-serif}\n      #__tr_logs .__tr_item{background:rgba(0,0,0,0.78);color:#fff;padding:8px 12px;border-radius:8px;margin-top:8px;display:flex;gap:10px;align-items:center;box-shadow:0 6px 18px rgba(0,0,0,0.6);pointer-events:auto}\n      #__tr_logs .__tr_icons{font-size:16px}\n      #__tr_logs .__tr_text{font-size:13px;color:#ffdede}\n    ";
    document.head.appendChild(_0x596be3);
    const _0x2987aa = document.createElement('div');
    _0x2987aa.id = "__tr_banner";
    _0x2987aa.innerHTML = "<div class=\"__act_wrap\"><div class=\"__act_text __tr_text\">CODE BY TRẦN ANH TÚ - ZALO: 0942792489 ĐỂ VÀO NHÓM VIP 20K/1 THÁNG HOẶC NHÓM PREMIUM 100K 1 THÁNG</div></div>";
    document.body.appendChild(_0x2987aa);
    const _0xf2bc41 = document.createElement('div');
    _0xf2bc41.id = "__tr_logs";
    document.body.appendChild(_0xf2bc41);
    try {
      const _0x3db510 = document.createElement("style");
      _0x3db510.id = "__tr_banner_anim_style";
      _0x3db510.textContent = "\n        @keyframes __act_slide { from{transform:translateX(0%)} to{transform:translateX(-50%)} }\n        @keyframes __act_glow { 0%{text-shadow:0 0 6px rgba(255,0,0,0.6)} 50%{text-shadow:0 0 18px rgba(255,50,50,0.95)} 100%{text-shadow:0 0 6px rgba(255,0,0,0.6)} }\n        #__tr_banner{position:fixed;left:0;right:0;top:0;height:36px;background:#000;color:#ff4d4d;display:flex;align-items:center;z-index:2147483647;pointer-events:none}\n        #__tr_banner .__act_wrap{overflow:hidden;width:100%}\n        #__tr_banner .__act_text{display:inline-block;white-space:nowrap;padding:0;margin:0;font-weight:700;letter-spacing:1px;font-family:Arial,Helvetica,sans-serif;animation:__act_slide 10s linear infinite, __act_glow 2s ease-in-out infinite;color:#ff2222;font-size:14px;line-height:36px}\n      ";
      const _0x260bd9 = document.getElementById("__tr_banner_anim_style");
      if (_0x260bd9) {
        _0x260bd9.remove();
      }
      document.head.appendChild(_0x3db510);
      try {
        const _0x3ea160 = _0x2987aa.querySelector(".__act_text");
        if (_0x3ea160) {
          const _0x3a4b44 = (_0x3ea160.textContent || '').trim() || "CODE BY TRẦN ANH TÚ - ZALO: 0942792489";
          _0x3ea160.textContent = Array(0xc).fill(_0x3a4b44).join(" \xA0•\xA0 ");
          _0x3ea160.style.color = "#ff2222";
          _0x3ea160.style.fontSize = '14px';
          _0x3ea160.style.lineHeight = "36px";
          _0x3ea160.style.padding = "0 12px";
          _0x3ea160.style.textShadow = "0 0 6px rgba(255,0,0,0.6)";
          _0x3ea160.style.visibility = "visible";
          _0x3ea160.style.opacity = '1';
          _0x2987aa.style.background = '#000';
        }
      } catch (_0x22a963) {}
      try {
        (function _0x460a22() {
          const _0x2baecd = _0x2987aa.querySelector(".__act_text");
          const _0x11a175 = _0x2987aa.querySelector(".__act_wrap");
          if (!_0x2baecd || !_0x11a175) {
            return;
          }
          let _0x2deed1 = null;
          let _0x40c2a4 = performance.now();
          let _0x50feb8 = 0x0;
          function _0x1926ec() {
            try {
              const _0x178914 = getComputedStyle(_0x2baecd);
              if (!_0x178914) {
                return true;
              }
              if (_0x178914.animationName === "none" || _0x178914.animationPlayState === "paused") {
                return true;
              }
              return false;
            } catch (_0x245f2f) {
              return true;
            }
          }
          function _0x5789fb(_0x47328c) {
            const _0x3bb1dd = _0x1926ec();
            if (!_0x3bb1dd) {
              if (_0x2deed1) {
                cancelAnimationFrame(_0x2deed1);
                _0x2deed1 = null;
              }
              _0x2baecd.style.transform = '';
              _0x40c2a4 = _0x47328c;
              return;
            }
            const _0x37ae86 = Math.max(0x0, (_0x47328c - _0x40c2a4) / 0x3e8);
            _0x40c2a4 = _0x47328c;
            const _0x3e0f8a = _0x2baecd.offsetWidth || 0x0;
            const _0x1eff68 = _0x11a175.offsetWidth || 0x0;
            if (_0x3e0f8a <= _0x1eff68) {
              _0x2baecd.style.transform = 'translateX(0px)';
              _0x2deed1 = requestAnimationFrame(_0x5789fb);
              return;
            }
            _0x50feb8 -= 0x78 * _0x37ae86;
            if (Math.abs(_0x50feb8) >= _0x3e0f8a) {
              _0x50feb8 += _0x3e0f8a;
            }
            _0x2baecd.style.transform = "translateX(" + Math.round(_0x50feb8) + 'px)';
            _0x2deed1 = requestAnimationFrame(_0x5789fb);
          }
          _0x2deed1 = requestAnimationFrame(_0x5789fb);
          const _0x45c6b3 = setInterval(() => {
            try {
              if (!_0x1926ec()) {
                if (_0x2deed1) {
                  cancelAnimationFrame(_0x2deed1);
                  _0x2deed1 = null;
                }
                _0x2baecd.style.transform = '';
              } else if (!_0x2deed1) {
                _0x40c2a4 = performance.now();
                _0x2deed1 = requestAnimationFrame(_0x5789fb);
              }
            } catch (_0x4998ce) {}
          }, 0x3e8);
          _0x2987aa.__tr_fallback_poll = _0x45c6b3;
          _0x2987aa.__tr_fallback_raf = () => {
            if (_0x2deed1) {
              cancelAnimationFrame(_0x2deed1);
            }
          };
        })();
      } catch (_0x935024) {}
    } catch (_0x52ed73) {}
  }
  function _0x5bc604(_0x1370b5, _0x3c587d) {
    try {
      _0x4f8c48();
      const _0x257b76 = document.getElementById("__tr_logs");
      if (!_0x257b76) {
        return;
      }
      const _0x5bf416 = document.createElement("div");
      _0x5bf416.className = '__tr_item';
      const _0x17d889 = document.createElement("div");
      _0x17d889.className = "__tr_icons";
      const _0x495e0f = Array.isArray(_0x3c587d) ? _0x3c587d : _0x3c587d ? [_0x3c587d] : ['✨', '🔔'];
      _0x17d889.textContent = _0x495e0f.join(" ");
      const _0x24b69f = document.createElement('div');
      _0x24b69f.className = "__tr_text";
      _0x24b69f.textContent = "Trần Anh Tú - " + _0x1370b5;
      _0x5bf416.appendChild(_0x17d889);
      _0x5bf416.appendChild(_0x24b69f);
      _0x257b76.prepend(_0x5bf416);
      setTimeout(() => {
        try {
          _0x5bf416.style.transition = "opacity 600ms, transform 600ms";
          _0x5bf416.style.opacity = '0';
          _0x5bf416.style.transform = "translateY(8px)";
          setTimeout(() => _0x5bf416.remove(), 0x2bc);
        } catch (_0x2b542e) {}
      }, 0x1b58);
    } catch (_0x4a7332) {
      console.warn("showTrLog error", _0x4a7332);
    }
  }
  function _0x1b073f(_0xfa37c4, _0x538a0c, _0x43f40e) {
    try {
      const _0x3b2d0a = document.getElementById("__tr_license_notice");
      if (_0x3b2d0a) {
        _0x3b2d0a.remove();
      }
      const _0x267d16 = document.createElement("div");
      _0x267d16.id = '__tr_license_notice';
      _0x267d16.style.position = "fixed";
      _0x267d16.style.left = "50%";
      _0x267d16.style.top = "46px";
      _0x267d16.style.transform = "translateX(-50%)";
      _0x267d16.style.zIndex = 0x7fffffff;
      _0x267d16.style.maxWidth = '820px';
      _0x267d16.style.width = "calc(100% - 40px)";
      _0x267d16.style.pointerEvents = 'auto';
      _0x267d16.style.boxSizing = "border-box";
      _0x267d16.style.padding = "12px 14px";
      _0x267d16.style.borderRadius = "8px";
      _0x267d16.style.background = "linear-gradient(90deg, rgba(10,10,10,0.98), rgba(28,28,28,0.98))";
      _0x267d16.style.boxShadow = "0 10px 40px rgba(0,0,0,0.7)";
      _0x267d16.style.color = "#fff";
      _0x267d16.style.fontFamily = 'Arial,Helvetica,sans-serif';
      _0x267d16.style.display = "flex";
      _0x267d16.style.alignItems = 'center';
      _0x267d16.style.gap = "12px";
      const _0x18ea0c = document.createElement("div");
      _0x18ea0c.style.fontSize = '20px';
      _0x18ea0c.style.flex = "0 0 auto";
      const _0x2eaedf = Array.isArray(_0x538a0c) ? _0x538a0c : _0x538a0c ? [_0x538a0c] : [];
      _0x18ea0c.textContent = _0x2eaedf.length ? _0x2eaedf.join(" ") : '🔔';
      const _0x5d2c11 = document.createElement("div");
      _0x5d2c11.style.fontSize = "13px";
      _0x5d2c11.style.lineHeight = '1.35';
      _0x5d2c11.style.color = "#ffdede";
      _0x5d2c11.style.flex = "1 1 auto";
      _0x5d2c11.textContent = _0xfa37c4;
      const _0x4d17f3 = document.createElement("button");
      _0x4d17f3.textContent = 'OK';
      _0x4d17f3.style.marginLeft = "12px";
      _0x4d17f3.style.flex = "0 0 auto";
      _0x4d17f3.style.border = "none";
      _0x4d17f3.style.background = "#ff6b4d";
      _0x4d17f3.style.color = "#fff";
      _0x4d17f3.style.padding = "6px 10px";
      _0x4d17f3.style.borderRadius = "6px";
      _0x4d17f3.style.cursor = 'pointer';
      _0x4d17f3.addEventListener("click", () => {
        try {
          _0x267d16.remove();
        } catch (_0x5143b2) {}
      });
      _0x267d16.appendChild(_0x18ea0c);
      _0x267d16.appendChild(_0x5d2c11);
      _0x267d16.appendChild(_0x4d17f3);
      document.body.appendChild(_0x267d16);
      if (!_0x43f40e || !_0x43f40e.sticky) {
        setTimeout(() => {
          try {
            _0x267d16.style.transition = "opacity 600ms, transform 600ms";
            _0x267d16.style.opacity = '0';
            _0x267d16.style.transform = 'translateY(-6px)';
            setTimeout(() => _0x267d16.remove(), 0x26c);
          } catch (_0x210250) {}
        }, _0x43f40e && _0x43f40e.timeout ? _0x43f40e.timeout : 0x2328);
      }
    } catch (_0x24a806) {
      console.warn("showLicenseNotice error", _0x24a806);
    }
  }
  function _0x59a277(_0x4a54a8) {
    if (!_0x4a54a8) {
      return;
    }
    try {
      _0x4a54a8.dispatchEvent(new MouseEvent("pointerdown", {
        'bubbles': true,
        'cancelable': true
      }));
      _0x4a54a8.dispatchEvent(new MouseEvent('mousedown', {
        'bubbles': true,
        'cancelable': true
      }));
      _0x4a54a8.dispatchEvent(new MouseEvent("mouseup", {
        'bubbles': true,
        'cancelable': true
      }));
      _0x4a54a8.click();
    } catch (_0x20529d) {
      try {
        _0x4a54a8.click();
      } catch (_0x14aca5) {}
    }
  }
  function _0x36b23f(_0x5e18b4) {
    return new Promise(_0x42de27 => setTimeout(_0x42de27, _0x5e18b4));
  }
  async function _0x49564f(_0x451e88, _0x4be1a4 = false, _0x47ad8c = 0x2710) {
    const _0x3b0946 = Date.now();
    const _0x5f0e3e = Array.from(arguments);
    const _0x26a3ef = _0x5f0e3e.length >= 0x4 && typeof _0x5f0e3e[0x3] === "number" ? _0x5f0e3e[0x3] : 0x12c;
    while (Date.now() - _0x3b0946 < _0x47ad8c) {
      let _0x9b25e7 = _0x4be1a4 ? document.evaluate(_0x451e88, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue : document.querySelector(_0x451e88);
      if (_0x9b25e7) {
        return _0x9b25e7;
      }
      await _0x36b23f(_0x26a3ef);
    }
    throw new Error("⏳ Timeout: Không tìm thấy phần tử " + _0x451e88);
  }
  _0x4f8c48();
  _0x1b073f("CODE BY TRẦN ANH TÚ - ZALO 0942792489 HÃY LIÊN HỆ NẾU CHƯA CÓ KEYS", ['🔒', '📢'], {
    'timeout': 0x2ee0
  });
  _0x5bc604("CODE BY TRẦN ANH TÚ - ZALO 0942792489 HÃY LIÊN HỆ NẾU CHƯA CÓ KEYS", ['🔒', '📢']);
  const _0x225e96 = prompt("Nhập key của bạn:");
  if (!_0x225e96 || _0x225e96.trim() !== "TRANANHTU_KEYS_ZALO:0942792489_THANG_NAO_LEAK_LA_CANHANOCHET") {
    _0x1b073f("Keys sai, vui lòng liên hệ Trần Anh Tú - Zalo: 0942792489 để có keys", ['❌', '📛'], {
      'timeout': 0x36b0
    });
    _0x5bc604("Keys sai - liên hệ 0942792489 để lấy keys", ['❌', '📛']);
    alert("Keys sai, vui lòng liên hệ Trần Anh Tú - Zalo: 0942792489 để có keys");
    return;
  }
  _0x1b073f("Chào mừng thành viên của box Trần Anh Tú", ['✅', '🎉'], {
    'timeout': 0x1f40
  });
  _0x5bc604("Chào mừng thành viên của box Trần Anh Tú", ['✅', '🎉']);
  while (true) {
    alert("🔥  CODE BY TRẦN ANH TÚ - ZALO 0942792489 🔥");
    let _0x301914 = parseInt(prompt("Nhập số lần lặp lại:"));
    if (isNaN(_0x301914) || _0x301914 <= 0x0) {
      alert("⚠️ Vui lòng nhập một số hợp lệ!");
      continue;
    }
    for (let _0x456592 = 0x0; _0x456592 < _0x301914; _0x456592++) {
      _0x5bc604("🔄 Đang thực hiện lần " + (_0x456592 + 0x1) + '/' + _0x301914 + "...", ['🔄', '⚙️']);
      console.log("🔄 Đang thực hiện lần " + (_0x456592 + 0x1) + '/' + _0x301914 + "...");
      try {
        const _0x3ceed4 = [{
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc,
          'maxspeed': true
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true,
          'wait': 0x4b0
        }, {
          'label': "//span[text()='Nudity or sexual activity']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Sharing private or sexual images']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Someone is threatening to share private or sexual images']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Yes']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Next']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Done']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc,
          'maxspeed': true
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true,
          'wait': 0x4b0
        }, {
          'label': "//span[text()='Bullying or harassment']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Sharing private or sexual images']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Someone is threatening to share private or sexual images']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Yes']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Next']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Done']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc,
          'maxspeed': true
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Suicide, self-injury or eating disorders']",
          'xpath': true
        }, {
          'label': "//span[text()='Suicide or self-injury']",
          'xpath': true
        }, {
          'label': "//span[text()='Yes']",
          'xpath': true,
          'wait': 0x3e8
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true
        }, {
          'label': "//span[text()='Next']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc,
          'maxspeed': true
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Violence, hate or exploitation']",
          'xpath': true
        }, {
          'label': "//span[text()='Credible threat to safety']",
          'xpath': true
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true
        }, {
          'label': "//span[text()='Next']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc,
          'maxspeed': true
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Violence, hate or exploitation']",
          'xpath': true
        }, {
          'label': "//span[text()='Calling for violence']",
          'xpath': true
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true
        }, {
          'label': "//span[text()='Next']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Violence, hate or exploitation']",
          'xpath': true
        }, {
          'label': "//span[text()='Seems like terrorism']",
          'xpath': true
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true
        }, {
          'label': "//span[text()='Next']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Selling or promoting restricted items']",
          'xpath': true
        }, {
          'label': "//span[text()='Weapons']",
          'xpath': true
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true
        }, {
          'label': "//span[text()='Next']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Violence, hate or exploitation']",
          'xpath': true
        }, {
          'label': "//span[text()='Showing violence, death or severe injury']",
          'xpath': true
        }, {
          'label': "//span[text()='Submit']",
          'xpath': true
        }, {
          'label': "//span[text()='Next']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='Spam']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }, {
          'label': "div[aria-label='More'][role='button']",
          'xpath': false,
          'wait': 0x5dc
        }, {
          'label': "//span[text()='Report group']",
          'xpath': true
        }, {
          'label': "//span[text()='False information']",
          'xpath': true
        }, {
          'label': "//span[text()='Done']",
          'xpath': true
        }];
        for (const _0x43e444 of _0x3ceed4) {
          try {
            const _0x49f1d0 = _0x43e444.maxspeed ? 0x50 : 0x12c;
            const _0x5b1aa0 = await _0x49564f(_0x43e444.label, _0x43e444.xpath, _0x43e444.timeout || 0x2710, _0x49f1d0);
            if (!_0x5b1aa0) {
              console.warn("Không tìm thấy phần tử, bỏ qua:", _0x43e444.label);
              continue;
            }
            try {
              if (!_0x43e444.maxspeed) {
                try {
                  _0x5b1aa0.scrollIntoView({
                    'block': 'center',
                    'behavior': 'instant'
                  });
                } catch (_0x47c9a4) {}
              }
            } catch (_0x2f50f1) {}
            try {
              if (_0x43e444.maxspeed) {
                _0x59a277(_0x5b1aa0);
              } else {
                try {
                  _0x5b1aa0.click();
                } catch (_0x300dad) {
                  _0x59a277(_0x5b1aa0);
                }
              }
            } catch (_0x5a7428) {
              try {
                _0x5b1aa0.click();
              } catch (_0x107c5d) {}
            }
            try {
              _0x5bc604("Click: " + String(_0x43e444.label).replace(/\s+/g, " ").slice(0x0, 0x3c), ['🖱️', '✅']);
            } catch (_0x5d5aa6) {}
            const _0x407e99 = typeof _0x43e444.wait === "number" ? _0x43e444.wait : 0x1f4;
            if (_0x407e99 > 0x0) {
              await _0x36b23f(_0x407e99);
            }
          } catch (_0x5dd8c7) {
            console.warn("Lỗi bước:", _0x43e444, _0x5dd8c7);
          }
        }
        _0x5bc604("✅ Hoàn tất lần " + (_0x456592 + 0x1), ['✅', '🎉']);
        console.log("✅ Hoàn tất lần " + (_0x456592 + 0x1));
      } catch (_0x3758ba) {
        console.warn("⚠️ Lỗi khi thực hiện thao tác:", _0x3758ba);
      }
    }
    let _0x7f9b2 = confirm("Bạn có muốn tiếp tục lặp lại không?");
    if (!_0x7f9b2) {
      console.log("🛑 Đã dừng chương trình!");
      break;
    }
  }
})();