var listchan = [
  "&",
  "charCodeAt",
  "firstChild",
  "href",
  "join",
  "match",
  "+",
  "=",
  "TK",
  "<a href='/'>x</a>",
  "innerHTML",
  "fromCharCode",
  "split",
  "constructor",
  "a",
  "div",
  "charAt",
  "",
  "toString",
  "createElement",
  "debugger",
  "+-a^+6",
  "Fingerprint2",
  "KT",
  "TKK",
  "substr",
  "+-3^+b+-f",
  "67bc0a0e207df93c810886524577351547e7e0459830003d0b8affc987d15fd7",
  "length",
  "get",
  '((function(){var a=1585090455;var b=-1578940101;return 431433+"."+(a+b)})())',
  ".",
  "https?://",
  "",
];
(function () {
  // window.location = '../index';
  console.log(
    "%c Please turn off F12 to continue %c",
    'font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:24px;color:#00bbee;-webkit-text-fill-color:#00bbee;-webkit-text-stroke: 1px #00bbee;',
    "font-size:12px;color:#999999;",
  );
  (function block_f12() {
    try {
      (function chanf12(dataf) {
        if (
          (listchan[33] + dataf / dataf)[listchan[28]] !== 1 ||
          dataf % 20 === 0
        ) {
          (function () {})[listchan[13]](listchan[20])();
        } else {
          debugger;
        }
        chanf12(++dataf);
      })(0);
    } catch (e) {
      setTimeout(block_f12, 100);
    }
  })();
})();
window.onload = function () {
  document.addEventListener(
    "contextmenu",
    function (e) {
      e.preventDefault();
    },
    false,
  );
  document.addEventListener(
    "keydown",
    function (e) {
      //document.onkeydown = function(e) {
      // "I" key
      if (e.ctrlKey && e.shiftKey && e.keyCode == 73) {
        disabledEvent(e);
      }
      // "J" key
      if (e.ctrlKey && e.shiftKey && e.keyCode == 74) {
        disabledEvent(e);
      }
      // "S" key + macOS
      if (
        e.keyCode == 83 &&
        (navigator.platform.match("Mac") ? e.metaKey : e.ctrlKey)
      ) {
        disabledEvent(e);
      }
      // "U" key
      if (e.ctrlKey && e.keyCode == 85) {
        disabledEvent(e);
      }
      // "F12" key
      if (event.keyCode == 123) {
        disabledEvent(e);
      }
    },
    false,
  );

  function disabledEvent(e) {
    if (e.stopPropagation) {
      e.stopPropagation();
    } else if (window.event) {
      window.event.cancelBubble = true;
    }
    e.preventDefault();
    return false;
  }
};
document.onkeydown = function (e) {
  if (
    e.ctrlKey &&
    (e.keyCode === 67 ||
      e.keyCode === 86 ||
      e.keyCode === 85 ||
      e.keyCode === 117)
  ) {
    return false;
  } else {
    return true;
  }
};
$(document).keypress("u", function (e) {
  if (e.ctrlKey) {
    return false;
  } else {
    return true;
  }
});
