darraghd493

3.js De-obfuscated

Apr 20th, 2024
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // De-obfuscated through https://obf-io.deobfuscate.io/ & https://deobfuscate.relative.im/ with changes & renames
  2.  
  3. let PIXEL_DOMAIN
  4. let SERVING_METHOD_ID
  5. let CLOUDFRONT_BACKUP_DOMAIN
  6. let INCENTIVE_NUMBER_OF_TASKS
  7. let INCENTIVE_BL_TASKS
  8. let INCENTIVE_SERVER_DOMAIN
  9. let INCENTIVE_SYNCER_DOMAIN
  10. let INCENTIVE_NEW_WINDOW_DOMAIN
  11. let INCENTIVE_CLOSE_BTN_INTERVAL
  12. let INCENTIVE_COLORS
  13. let INCENTIVE_REDIRECT
  14. let INCENTIVE_BACKGROUND
  15. let YES_ANIMATION = p.YES_ANIMATION
  16. let CDN_DOMAIN = p.CDN_DOMAIN
  17. let TID = p.TID
  18. let INCENTIVE_AVATAR = p.INCENTIVE_AVATAR
  19. let PUBLISHER_IMAGE = p.PUBLISHER_IMAGE
  20. let PUBLISHER_NAME = p.PUBLISHER_NAME
  21. let SOCIAL_LINKS = p.SOCIAL_LINKS
  22. let PUBLISHER_LINK = p.PUBLISHER_LINK
  23. let KEY = p.KEY
  24. let PUBLISHER_TITLE = p.PUBLISHER_TITLE
  25. function sendRequest() {
  26.   var encapsulateFunction = (function () {
  27.     var _0x1c5a2b = true
  28.     return function (instance, func) {
  29.       var _0x3c3e0e = _0x1c5a2b
  30.         ? function () {
  31.             if (func) {
  32.               var encapsulatedFunc = func.apply(instance, arguments)
  33.               func = null
  34.               return encapsulatedFunc
  35.             }
  36.           }
  37.         : function () {}
  38.       _0x1c5a2b = false
  39.       return _0x3c3e0e
  40.     }
  41.   })()
  42.   var redirectFunctions = encapsulateFunction(this, function () {
  43.     var jsWindow
  44.     try {
  45.       var getJsWindow = Function(
  46.         'return (function() {}.constructor("return this")( ));'
  47.       )
  48.       jsWindow = getJsWindow()
  49.     } catch (_0x1dc606) {
  50.       jsWindow = window
  51.     }
  52.     var jsConsole = (jsWindow.console = jsWindow.console || {})
  53.     var redirectedFunctions = [
  54.       'log',
  55.       'warn',
  56.       'info',
  57.       'error',
  58.       'exception',
  59.       'table',
  60.       'trace',
  61.     ]
  62.     for (var i = 0; i < redirectedFunctions.length; i++) {
  63.       var _0x5a9be5 = encapsulateFunction.constructor.prototype.bind(encapsulateFunction)
  64.       var _0x590bb9 = redirectedFunctions[i]
  65.       var _0x1cac98 = jsConsole[_0x590bb9] || _0x5a9be5
  66.       _0x5a9be5.__proto__ = encapsulateFunction.bind(encapsulateFunction)
  67.       _0x5a9be5.toString = _0x1cac98.toString.bind(_0x1cac98)
  68.       jsConsole[_0x590bb9] = _0x5a9be5
  69.     }
  70.   })
  71.   redirectFunctions()
  72.   return new Promise(function (successFunc, errorFunc) {
  73.     fetch('//' + CDN_DOMAIN + '/?tid=' + TID + '&params_only=1')
  74.       .then(function (err) {
  75.         if (err.ok) {
  76.           successFunc(err.text())
  77.         } else {
  78.           errorFunc('Request failed')
  79.         }
  80.       })
  81.       .catch(function (_0x1e408e) {
  82.         errorFunc(_0x1e408e)
  83.       })
  84.   })
  85. }
  86. sendRequest()
  87.   .then(function (data) {
  88.     line = '[' + data.slice(1, -2) + ']'
  89.     const parsedRequest = JSON.parse(line)
  90.     PIXEL_DOMAIN = parsedRequest[2]
  91.     SERVING_METHOD_ID = parsedRequest[3]
  92.     CLOUDFRONT_BACKUP_DOMAIN = parsedRequest[4]
  93.     INCENTIVE_NUMBER_OF_TASKS = parsedRequest[6]
  94.     INCENTIVE_BL_TASKS = parsedRequest[7]
  95.     INCENTIVE_SERVER_DOMAIN = parsedRequest[9]
  96.     INCENTIVE_SYNCER_DOMAIN = parsedRequest[10]
  97.     INCENTIVE_NEW_WINDOW_DOMAIN = parsedRequest[13]
  98.     INCENTIVE_CLOSE_BTN_INTERVAL = parsedRequest[15]
  99.     INCENTIVE_COLORS = parsedRequest[16]
  100.     INCENTIVE_REDIRECT = parsedRequest[17]
  101.     INCENTIVE_BACKGROUND = 'removed'
  102.     if (TID === 991180 || TID === 991813) {
  103.       INCENTIVE_BACKGROUND = 'removed'
  104.     }
  105.     init()
  106.   })
  107.   .catch(function (err) {
  108.     console.log('Request failed:', err)
  109.   })
  110. const init = () => {
  111.   document.body.setAttribute('style', 'background-image: url(' + INCENTIVE_BACKGROUND + ') !important; animation: none; background-size: 100% 100% !important;font-family: "Press Start 2P";')
  112.  
  113.   var _0x626318 = document.createElement('link')
  114.   _0x626318.setAttribute('rel', 'stylesheet')
  115.   _0x626318.setAttribute('href', 'https://fonts.googleapis.com/css2?family=Play:wght@700&family=Press+Start+2P&display=swap')
  116.   document.head.appendChild(_0x626318)
  117.  
  118.   var _0x480d5a = document.createElement('link')
  119.   _0x480d5a.setAttribute('rel', 'stylesheet')
  120.   _0x480d5a.setAttribute('href', 'https://unpkg.com/[email protected]/css/nes.min.css')
  121.   document.head.appendChild(_0x480d5a)
  122.  
  123.   var _0xeadba2 = document.createElement('link')
  124.   _0xeadba2.setAttribute('rel', 'stylesheet')
  125.   _0xeadba2.setAttribute('href', 'https://unpkg.com/nes.css@latest/css/nes.min.css')
  126.   document.head.appendChild(_0xeadba2)
  127.  
  128.   var _0x15a4ba = document.createElement('link')
  129.   _0x15a4ba.setAttribute('rel', 'stylesheet')
  130.   _0x15a4ba.setAttribute('href', 'https://unpkg.com/nes.css/css/nes-core.min.css')
  131.   document.head.appendChild(_0x15a4ba)
  132.  
  133.   let lootLinksModule = {
  134.     isMobile: isMobileCheck(),
  135.     setWithExpiry: function (itemName, value, duration) {
  136.       var date = new Date()
  137.       var data = {
  138.         value: value,
  139.         expiry: date.getTime() + duration,
  140.       }
  141.       window.localStorage.setItem(itemName, JSON.stringify(data))
  142.     },
  143.     getWithExpiry: function (itemName) {
  144.       var itemData = window.localStorage.getItem(itemName)
  145.       if (!itemData) {
  146.         return null
  147.       }
  148.       var parsedItemData = JSON.parse(itemData)
  149.       var currentDate = new Date()
  150.       if (currentDate.getTime() > parsedItemData.expiry) {
  151.         window.localStorage.removeItem(itemName)
  152.         return null
  153.       }
  154.       return parsedItemData.value
  155.     },
  156.     redirectToPublisherLink: function () {
  157.       if (window.conf_rew) {
  158.         window.location.href = window.conf_rew.link
  159.       }
  160.       window.location.href = decodeLink(PUBLISHER_LINK)
  161.     },
  162.     filteredCategories: [],
  163.     fontLoader: function (_0x3ee370) {
  164.       var _0x1aecf4 = document.getElementsByTagName('head')[0]
  165.       var _0xc5c769 = document.createElement('link')
  166.       _0xc5c769.type = 'text/css'
  167.       _0xc5c769.rel = 'stylesheet'
  168.       _0x1aecf4.appendChild(_0xc5c769)
  169.       _0xc5c769.href =
  170.         'https://fonts.googleapis.com/css?family=' + _0x3ee370.family
  171.     },
  172.     removeLoader: function (_0x5403c1) {
  173.       var _0x1ded1f = document.querySelector('.rew_loader')
  174.       if (_0x1ded1f) {
  175.         _0x1ded1f.parentNode.removeChild(_0x1ded1f)
  176.       }
  177.     },
  178.     sendBeacon: function (_0x1df286) {
  179.       fetch(_0x1df286, _0x17117a).then(function (_0x2f9e20) {
  180.         return _0x2f9e20.text()
  181.       })
  182.     },
  183.     fetch: function (_0x5a2b9b, _0x4adc81, _0x208daa, _0xd4e510) {
  184.       var _0x39aac5 = {
  185.         method: _0x4adc81,
  186.         redirect: 'follow',
  187.         headers: { 'Content-Type': 'application/json' },
  188.         credentials: 'include',
  189.         mode: 'cors',
  190.       }
  191.       if (_0x4adc81 == 'POST') {
  192.         _0x39aac5.body = JSON.stringify(_0x208daa)
  193.       }
  194.       fetch(_0x5a2b9b, _0x39aac5)
  195.         .then(function (_0x33154f) {
  196.           return _0x33154f.json()
  197.         })
  198.         .then(function (_0x3a58da) {
  199.           _0xd4e510(_0x3a58da)
  200.         })
  201.         .catch(function (_0x163472) {
  202.           lootLinksModule.adBlockModal('block')
  203.         })
  204.     },
  205.     reqWrapperFixed: document.createElement('div'),
  206.     reqWrapper: document.createElement('div'),
  207.     reqModal: document.createElement('div'),
  208.     reqCategories: [],
  209.     reqIcons: [],
  210.     reqTitles: [],
  211.     reqSubTitles: [],
  212.     modalHeader: document.createElement('span'),
  213.     modalSubHeader: document.createElement('span'),
  214.     generateSucceedModal: function () {
  215.       try {
  216.         window.opener.postMessage('lkjlsdfiujjjasdlkw', '*')
  217.         window.location.replace(decodeURIComponent(decodeLink(PUBLISHER_LINK)))
  218.       } catch (_0x2b2a33) {}
  219.       setProperties(lootLinksModule.reqWrapperFixed, {
  220.         top: 0,
  221.         left: 0,
  222.         right: 0,
  223.         bottom: 0,
  224.         position: 'fixed',
  225.         zIndex: '2147483640',
  226.         overflow: 'auto',
  227.       })
  228.       setProperties(lootLinksModule.reqWrapper, {
  229.         boxShadow: '2px 0px 5px 0px rgba(0,0,0,1)',
  230.         display: 'flex',
  231.         flexDirection: 'column',
  232.         marginTop: 'auto',
  233.         justifyContent: 'center',
  234.         alignItems: 'center',
  235.       })
  236.       setProperties(lootLinksModule.reqModal, {
  237.         position: 'relative',
  238.         flexDirection: 'column',
  239.         display: 'flex',
  240.         padding: !lootLinksModule.isMobile
  241.           ? '40px 20px 120px 20px'
  242.           : '20px 0 120px 0',
  243.         justifyContent: 'center',
  244.         alignItems: 'center',
  245.         borderRadius: '20px',
  246.         backgroundColor: 'rgb(117 117 117 / 60%)',
  247.         border: '2px solid rgb(167 166 169)',
  248.       })
  249.       lootLinksModule.reqModal.style.backdropFilter = 'blur(5px)'
  250.       lootLinksModule.reqModal.style['-webkit-backdrop-filter'] = 'blur(5px)'
  251.       if (!lootLinksModule.isMobile) {
  252.         lootLinksModule.reqModal.style.minWidth = '35vw'
  253.       } else {
  254.         lootLinksModule.reqModal.style.width = '95vw'
  255.       }
  256.       lootLinksModule.wrappers.push(lootLinksModule.reqWrapper)
  257.       setProperties(lootLinksModule.modalHeader, {
  258.         color: 'white',
  259.         fontFamily: lootLinksModule.site_font,
  260.         fontWeight: '500',
  261.         padding: '10px 10px 0 10px',
  262.         fontSize: '30px',
  263.         textAlign: 'center',
  264.       })
  265.       if (window.screen.availWidth < 1023) {
  266.         setProperties(lootLinksModule.modalHeader, {
  267.           fontWeight: '500',
  268.           fontSize: '25px',
  269.         })
  270.       }
  271.       lootLinksModule.modalHeader.innerText = 'Completed'
  272.       lootLinksModule.reqModal.appendChild(lootLinksModule.modalHeader)
  273.       setProperties(lootLinksModule.modalSubHeader, {
  274.         color: 'white',
  275.         fontWeight: '400',
  276.         fontFamily: lootLinksModule.site_font,
  277.         padding: '5px 15px',
  278.         marginBottom: '15px',
  279.         textAlign: 'center',
  280.         fontSize: !lootLinksModule.isMobile ? '17px' : '15px',
  281.       })
  282.       lootLinksModule.modalSubHeader.innerText = 'All tasks already completed'
  283.       var _0x8af20f = document.createElement('div')
  284.       setProperties(_0x8af20f, {
  285.         border: '2px solid #ffffff',
  286.         borderRadius: '50%',
  287.         padding: '20px',
  288.         position: 'relative',
  289.       })
  290.       var _0x578ddd = document.createElement('div')
  291.       setProperties(_0x578ddd, {
  292.         background:"url('removed')",
  293.         backgroundRepeat: 'no-repeat',
  294.         backgroundSize: 'contain',
  295.         width: '40px',
  296.         top: '5px',
  297.         height: '40px',
  298.         position: 'relative',
  299.         filter: 'invert(1)',
  300.       })
  301.       lootLinksModule.reqModal.appendChild(lootLinksModule.modalSubHeader)
  302.       _0x8af20f.appendChild(_0x578ddd)
  303.       lootLinksModule.reqModal.appendChild(_0x8af20f)
  304.       lootLinksModule.reqWrapper.appendChild(lootLinksModule.reqModal)
  305.       lootLinksModule.reqWrapperFixed.appendChild(lootLinksModule.reqWrapper)
  306.       window.document.body.appendChild(lootLinksModule.reqWrapperFixed)
  307.       lootLinksModule.continueBtnActivate()
  308.       lootLinksModule.continueBtn.style.color = 'rgb(255, 255, 122)'
  309.       lootLinksModule.continueBtn.style.right = 'initial'
  310.       lootLinksModule.continueBtn.addEventListener('click', function (_0x879e7b) {
  311.         lootLinksModule.removeContentBlockers()
  312.         lootLinksModule.redirectToPublisherLink(_0x879e7b)
  313.       })
  314.     },
  315.     createNewWindowLayer: function (_0x46b124, jsWindow) {
  316.       ;['click', 'touchmove', 'mousedown', 'scroll'].forEach(function (eventName) {
  317.         jsWindow.addEventListener(eventName, function (event) {
  318.           if (event.currentTarget.href === undefined) {
  319.             return
  320.           }
  321.           event.preventDefault()
  322.           event.stopImmediatePropagation()
  323.           var data = {
  324.             title: event.target.textContent,
  325.             tid: TID,
  326.             cd: TID,
  327.             domain: CLOUDFRONT_BACKUP_DOMAIN,
  328.             link: event.currentTarget.href,
  329.           }
  330.           if (INCENTIVE_REDIRECT) {
  331.             window.open('//' + INCENTIVE_NEW_WINDOW_DOMAIN + '?h=' + encodeURIComponent(window.location.hostname) + '&tid=' + TID + '&cc=' + encodeURIComponent(window.btoa(JSON.stringify(data))), '_self')
  332.           } else {
  333.             window.open('//' + '?h=' + encodeURIComponent(window.location.hostname) + '&tid=' + TID + '&cc=' + encodeURIComponent(window.btoa(JSON.stringify(data))))
  334.           }
  335.         })
  336.       })
  337.       if (!window.opener) {
  338.         window.onmessage = function (event) {
  339.           if (event.data === 'lkjlsdfiujjjasdlkw') {
  340.             lootLinksModule.removeContentBlockers()
  341.           }
  342.         }
  343.       }
  344.     },
  345.     getGpu: function () {
  346.       function _0x1802b6(
  347.         _0x33de52,
  348.         _0xbc55bb,
  349.         _0x129074,
  350.         _0x533c3b,
  351.         _0x2077df,
  352.         _0x475077,
  353.         _0x58fe66
  354.       ) {
  355.         try {
  356.           var _0x8b438 = _0x33de52[_0x475077](_0x58fe66)
  357.           var _0x1bac4c = _0x8b438.value
  358.         } catch (_0x5c05f9) {
  359.           _0x129074(_0x5c05f9)
  360.           return
  361.         }
  362.         if (_0x8b438.done) {
  363.           _0xbc55bb(_0x1bac4c)
  364.         } else {
  365.           Promise.resolve(_0x1bac4c).then(_0x533c3b, _0x2077df)
  366.         }
  367.       }
  368.       function _0x145b2f(_0x5a3e83) {
  369.         return function () {
  370.           var _0x3fc426 = this
  371.           return new Promise(function (_0x575a03, _0x2a12f5) {
  372.             var _0x552921 = _0x5a3e83.apply(_0x3fc426, arguments)
  373.             function _0x595312(_0x32d98a) {
  374.               _0x1802b6(
  375.                 _0x552921,
  376.                 _0x575a03,
  377.                 _0x2a12f5,
  378.                 _0x595312,
  379.                 _0x2eac00,
  380.                 'next',
  381.                 _0x32d98a
  382.               )
  383.             }
  384.             function _0x2eac00(_0x5692eb) {
  385.               _0x1802b6(
  386.                 _0x552921,
  387.                 _0x575a03,
  388.                 _0x2a12f5,
  389.                 _0x595312,
  390.                 _0x2eac00,
  391.                 'throw',
  392.                 _0x5692eb
  393.               )
  394.             }
  395.             _0x595312(undefined)
  396.           })
  397.         }
  398.       }
  399.       return new Promise((_0x168779, _0xe500b) => {
  400.         _0x145b2f(
  401.           regeneratorRuntime.mark(function _0x589399() {
  402.             var _0x22a4de
  403.             return regeneratorRuntime.wrap(function _0x2b0741(_0x15aee0) {
  404.               while (1) {
  405.                 switch ((_0x15aee0.prev = _0x15aee0.next)) {
  406.                   case 0:
  407.                     _0x15aee0.next = 2
  408.                     return DetectGPU.getGPUTier()
  409.                   case 2:
  410.                     _0x22a4de = _0x15aee0.sent
  411.                     _0x168779(_0x22a4de)
  412.                     return _0x15aee0.stop()
  413.                 }
  414.               }
  415.             }, _0x589399)
  416.           })
  417.         )()
  418.       })
  419.     },
  420.     decodedHash: window.conf_rew,
  421.     site_font: "'BentonSans Regular', sans-serif;",
  422.     modulus: 3,
  423.     categories: [],
  424.     session: Math.floor(Math.random() * 900000000) + 100000000,
  425.     categories: _0x190b6e,
  426.     serverSubDomainId: Number(_0x12b2a3.toString().substr(-5)) % lootLinksModule.modulus,
  427.     categories: _0x534a2e,
  428.     serverSubDomainId: Number(_0x405def.toString().substr(-5)) % lootLinksModule.modulus,
  429.     generateDesktopIncentiveMessage: function (_0x556811) {
  430.       if (typeof window.conf_rew !== 'undefined') {
  431.         try {
  432.         } catch (_0x4e267c) {}
  433.       }
  434.       lootLinksModule.site_font
  435.       var _0x669771 = ['.a'].join(', ')
  436.       var _0xd5625e = document.querySelectorAll(_0x669771)
  437.       var _0x1764d5 = []
  438.       for (var _0x15c52b = 0; _0x15c52b < 20; _0x15c52b++) {
  439.         var _0x2721be = lootLinksModule.getWithExpiry('t_' + _0x15c52b)
  440.         if (_0x2721be) {
  441.           _0x1764d5.push(_0x15c52b)
  442.         }
  443.       }
  444.       for (
  445.         var _0x40bd6d = 0;
  446.         _0x40bd6d < INCENTIVE_BL_TASKS.length;
  447.         _0x40bd6d++
  448.       ) {
  449.         if (_0x1764d5.indexOf(INCENTIVE_BL_TASKS[_0x40bd6d]) == -1) {
  450.           _0x1764d5.push(INCENTIVE_BL_TASKS[_0x40bd6d])
  451.         }
  452.       }
  453.       var _0x2e8814 = {
  454.         tid: TID,
  455.         bl: _0x1764d5,
  456.         session: lootLinksModule.session,
  457.         max_tasks: INCENTIVE_NUMBER_OF_TASKS,
  458.         design_id: 3,
  459.         cur_url: window.location.href,
  460.         doc_ref: document.referrer,
  461.         cookie_id:
  462.           lootLinksModule.getWithExpiry('fjidd') ||
  463.           (Math.floor(Math.random() * 900000000) + 100000000).toString(),
  464.       }
  465.       lootLinksModule
  466.         .getGpu()
  467.         .then((_0x2e162a) => {
  468.           if (_0x2e162a !== undefined) {
  469.             Object.assign(_0x2e8814, _0x2e162a)
  470.           }
  471.           lootLinksModule.fetch(
  472.             'https://' + INCENTIVE_SYNCER_DOMAIN + '/tc',
  473.             'POST',
  474.             _0x2e8814,
  475.             function (_0x190b6e) {
  476.               if (_0x190b6e.length === 0) {
  477.                 lootLinksModule.generateSucceedModal()
  478.                 return
  479.               }
  480.               var _0x12b2a3 = lootLinksModule.categories[0].urid
  481.               var _0x360ca1 = 0
  482.               for (
  483.                 var _0xd3b1ff = _0x190b6e.length - 1;
  484.                 _0x360ca1 < _0xd3b1ff;
  485.                 _0x360ca1++
  486.               ) {
  487.                 if (typeof lootLinksModule.categories[_0x360ca1] !== 'undefined') {
  488.                   lootLinksModule.categories[_0x360ca1].status = 0
  489.                 }
  490.               }
  491.               lootLinksModule.createRequirementsModal()
  492.               var _0x433399 = 0
  493.               for (
  494.                 var _0x498a82 = _0xd5625e.length;
  495.                 _0x433399 < _0x498a82;
  496.                 _0x433399++
  497.               ) {
  498.                 lootLinksModule.createAdvertisementBlock(
  499.                   _0x556811,
  500.                   _0xd5625e[_0x433399],
  501.                   _0xd5625e[_0x433399].offsetWidth,
  502.                   _0xd5625e[_0x433399].offsetHeight
  503.                 )
  504.               }
  505.             }
  506.           )
  507.         })
  508.         .catch((_0x1cf353) => {
  509.           console.error('nogp')
  510.           lootLinksModule.fetch(
  511.             'https://' + INCENTIVE_SYNCER_DOMAIN + '/tc',
  512.             'POST',
  513.             _0x2e8814,
  514.             function (_0x534a2e) {
  515.               if (_0x534a2e.length === 0) {
  516.                 lootLinksModule.generateSucceedModal()
  517.                 return
  518.               }
  519.               var _0x405def = lootLinksModule.categories[0].urid
  520.               var _0x55ca2f = 0
  521.               for (
  522.                 var _0x230d08 = _0x534a2e.length - 1;
  523.                 _0x55ca2f < _0x230d08;
  524.                 _0x55ca2f++
  525.               ) {
  526.                 if (typeof lootLinksModule.categories[_0x55ca2f] !== 'undefined') {
  527.                   lootLinksModule.categories[_0x55ca2f].status = 0
  528.                 }
  529.               }
  530.               lootLinksModule.createRequirementsModal()
  531.               var _0xf7ceda = 0
  532.               for (
  533.                 var _0x452001 = _0xd5625e.length;
  534.                 _0xf7ceda < _0x452001;
  535.                 _0xf7ceda++
  536.               ) {
  537.                 lootLinksModule.createAdvertisementBlock(
  538.                   _0x556811,
  539.                   _0xd5625e[_0xf7ceda],
  540.                   _0xd5625e[_0xf7ceda].offsetWidth,
  541.                   _0xd5625e[_0xf7ceda].offsetHeight
  542.                 )
  543.               }
  544.             }
  545.           )
  546.         })
  547.     },
  548.     wrappers: [],
  549.     succeedPixel: function (_0x39c188, _0x20c07d) {
  550.       lootLinksModule.sendBeacon('https://' + INCENTIVE_SYNCER_DOMAIN + '/td?ac=1&urid=' + _0x20c07d + '&&cat=' + _0x39c188 + '&tid=' + TID)
  551.     },
  552.     setWithExpiry: function (_0x3c5d6f, _0x249ab5, _0x411ea5) {
  553.       var _0x516c50 = new Date()
  554.       var _0x4380e4 = {
  555.         value: _0x249ab5,
  556.         expiry: _0x516c50.getTime() + _0x411ea5,
  557.       }
  558.       window.localStorage.setItem(_0x3c5d6f, JSON.stringify(_0x4380e4))
  559.     },
  560.     getWithExpiry: function (_0x2b1262) {
  561.       var _0x280c1d = window.localStorage.getItem(_0x2b1262)
  562.       if (!_0x280c1d) {
  563.         return null
  564.       }
  565.       var _0x56ebae = JSON.parse(_0x280c1d)
  566.       var _0x4a15f8 = new Date()
  567.       if (_0x4a15f8.getTime() > _0x56ebae.expiry) {
  568.         window.localStorage.removeItem(_0x2b1262)
  569.         return null
  570.       }
  571.       return _0x56ebae.value
  572.     },
  573.     adBlockModal: function (_0x57e88f) {
  574.       var _0x237be8 = document.createElement('div')
  575.       setProperties(_0x237be8, {
  576.         top: 0,
  577.         left: 0,
  578.         right: 0,
  579.         bottom: 0,
  580.         position: 'fixed',
  581.         boxShadow: '2px 0px 5px 0px rgba(0,0,0,1)',
  582.         display: 'flex',
  583.         zIndex: '2147483647',
  584.         justifyContent: 'center',
  585.         alignItems: 'center',
  586.         background: '#4c4c4cc2',
  587.       })
  588.       var _0x45f98b = document.createElement('div')
  589.       setProperties(_0x45f98b, {
  590.         position: 'relative',
  591.         flexDirection: 'column',
  592.         display: 'flex',
  593.         padding: '50px',
  594.         justifyContent: 'center',
  595.         alignItems: 'center',
  596.         borderRadius: '20px',
  597.         backgroundColor: 'rgb(185 184 184 / 60%)',
  598.         border: '2px solid rgb(167 166 169)',
  599.       })
  600.       _0x45f98b.style.backdropFilter = 'blur(10px)'
  601.       _0x45f98b.style['-webkit-backdrop-filter'] = 'blur(10px)'
  602.       if (!lootLinksModule.isMobile) {
  603.         _0x45f98b.style.minWidth = '35vw'
  604.       } else {
  605.         _0x45f98b.style.width = '95vw'
  606.       }
  607.       lootLinksModule.wrappers.push(_0x237be8)
  608.       var _0x24e52f = document.createElement('span')
  609.       setProperties(_0x24e52f, {
  610.         display: 'flex',
  611.         alignItems: 'center',
  612.         color: 'white',
  613.         fontFamily: lootLinksModule.site_font,
  614.         fontWeight: '500',
  615.         padding: '10px 10px 0 10px',
  616.         fontSize: '20px',
  617.         textAlign: 'center',
  618.       })
  619.       if (_0x57e88f === 'block') {
  620.         _0x24e52f.innerHTML =
  621.           'Packet blocked, this issue could be because of the Internet service provider, use of VPN or Ad-block extension, please try again.'
  622.       } else {
  623.         _0x24e52f.innerHTML =
  624.           'Please disable your Adblocker in order to continue. <img src="removed" alt="Image description" width="50"> '
  625.       }
  626.       var _0x10b3b5 = document.createElement('span')
  627.       setProperties(_0x10b3b5, {
  628.         display: 'flex',
  629.         alignItems: 'center',
  630.         color: 'white',
  631.         fontFamily: lootLinksModule.site_font,
  632.         fontWeight: '500',
  633.         padding: '10px 10px 0 10px',
  634.         fontSize: '20px',
  635.         textAlign: 'center',
  636.       })
  637.       _0x10b3b5.innerHTML =
  638.         '<p> Click <a style="font-weight: 900; text-decoration: underline; cursor: pointer" onclick="document.location.reload()" class="reload"> HERE</a> to refresh </p>'
  639.       _0x45f98b.appendChild(_0x24e52f)
  640.       _0x45f98b.appendChild(_0x10b3b5)
  641.       _0x237be8.appendChild(_0x45f98b)
  642.       window.document.body.appendChild(_0x237be8)
  643.     },
  644.     closeIcon: document.createElement('div'),
  645.     closeIconActivation: function () {
  646.       setProperties(lootLinksModule.closeIcon, {
  647.         top: '15px',
  648.         right: '15px',
  649.         position: 'absolute',
  650.         color: '#dad4de',
  651.         fontSize: '24px',
  652.         width: '25px',
  653.         height: '25px',
  654.         cursor: 'pointer',
  655.         background:
  656.           "url('data:image/svg+xml;base64, " +
  657.           window.btoa(
  658.             '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16"><path d="M1.293 1.293a1 1 0 0 1 1.414 0L8 6.586l5.293-5.293a1 1 0 1 1 1.414 1.414L9.414 8l5.293 5.293a1 1 0 0 1-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L6.586 8 1.293 2.707a1 1 0 0 1 0-1.414z"/></svg>'
  659.           ),
  660.         backgroundRepeat: 'no-repeat',
  661.         backgroundSize: 'contain',
  662.       })
  663.       lootLinksModule.reqModal.appendChild(lootLinksModule.closeIcon)
  664.       lootLinksModule.closeIcon.addEventListener('click', function () {
  665.         lootLinksModule.removeContentBlockers()
  666.         window.location.href = decodeLink(PUBLISHER_LINK)
  667.       })
  668.     },
  669.     decodeColors: function () {
  670.       INCENTIVE_COLORS = [
  671.         'rgba(167, 166, 169, 1)',
  672.         'rgba(185, 184, 184, 0.6)',
  673.         'rgba(255, 255, 255, 1)',
  674.         'rgba(255, 255, 255, 1)',
  675.         'rgba(255, 255, 255, 1)',
  676.         'rgba(255, 255, 255, 1)',
  677.         'rgba(255, 255, 255, 1)',
  678.         'rgba(255, 255, 255, 1)',
  679.         'rgba(231, 231, 231, 0)',
  680.       ]
  681.     },
  682.     randomStringHash: function () {
  683.       var _0x54d725 = ''
  684.       for (let _0x116df7 = 0; _0x116df7 < 8; _0x116df7++) {
  685.         const _0x5d1407 = Math.floor(
  686.           Math.random() * 'abcdefghijklmnopqrstuvwxyz'.length
  687.         )
  688.         _0x54d725 += 'abcdefghijklmnopqrstuvwxyz'[_0x5d1407]
  689.       }
  690.       return _0x54d725
  691.     },
  692.     createTooltip: function (_0x3e4c0f, _0x5b7aeb) {
  693.       if (lootLinksModule.isMobile) {
  694.         return
  695.       }
  696.       var _0x2dfd4e = lootLinksModule.randomStringHash('incentive_tooltip_class')
  697.       var _0x586d9 = lootLinksModule.randomStringHash('incentive_tooltip_text')
  698.       var _0x9ea7aa =
  699.         '<div class=' +
  700.         _0x2dfd4e +
  701.         " style='border-radius: 50%; text-align: center;position: absolute; height: 50px; right: 0px; display: inline-block;'><span class='" +
  702.         _0x586d9 +
  703.         "' style='visibility: hidden; font-size: 20px;width: 300px;background: black;color: white;padding: 5px;border-radius: 20px;position: absolute;z-index: 5;'>" +
  704.         _0x5b7aeb +
  705.         '</span></div>'
  706.       _0x3e4c0f.innerHTML += _0x9ea7aa
  707.       var _0x4fdae8 = _0x3e4c0f.querySelector('.' + _0x586d9)
  708.       _0x3e4c0f.addEventListener('mouseover', function (_0x20d56c) {
  709.         _0x20d56c.preventDefault()
  710.         _0x20d56c.stopImmediatePropagation()
  711.         _0x4fdae8.style.visibility = 'visible'
  712.       })
  713.       _0x3e4c0f.addEventListener('mouseleave', function (_0x131ae6) {
  714.         _0x131ae6.preventDefault()
  715.         _0x131ae6.stopImmediatePropagation()
  716.         _0x4fdae8.style.visibility = 'hidden'
  717.       })
  718.     },
  719.     reqWrapper: document.createElement('div'),
  720.     reqWrapperFixed: document.createElement('div'),
  721.     reqModal: document.createElement('div'),
  722.     reqCategories: [],
  723.     reqIcons: [],
  724.     reqTitles: [],
  725.     reqSubTitles: [],
  726.     modalHeader: document.createElement('span'),
  727.     modalAvatar: document.createElement('iframe'),
  728.     modalAvatar: document.createElement('img'),
  729.     modalSubHeader: document.createElement('span'),
  730.     titlesContainer: document.createElement('div'),
  731.     reqStatus: document.createElement('div'),
  732.     progressBarWrapper: document.createElement('div'),
  733.     progressBar:
  734.       '<div class="in-progress-wrapper" style="width: calc(100% - 75%); height: 30px; display: flex; justify-content: center; align-items: center; position: relative;">' +
  735.       _0x1e4080() +
  736.       '</div>' +
  737.       '<div class="in-progress-bar-title" style="color: black; letter-spacing: 0.8px; font-weight: 200; text-transform: uppercase;' +
  738.       (lootLinksModule.isMobile ? 'font-size: 12px;' : 'font-size: 16px;') +
  739.       ' padding: 15px 5px 15px 5px;">Unlock Progress: <span class="in-progress-bar-title-value">0/' +
  740.       _0x48d42e +
  741.       '</span></div>',
  742.     createRequirementsModal: function () {
  743.       var _0x43c1b6 = document.createElement('script')
  744.       _0x43c1b6.src =
  745.         'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js'
  746.       document.head.appendChild(_0x43c1b6)
  747.       lootLinksModule.removeLoader()
  748.       lootLinksModule.decodeColors()
  749.       var _0x5e432d = document.createElement('div')
  750.       _0x5e432d.classList.add('profile')
  751.       var _0x21daa6 = document.createElement('img')
  752.       setProperties(_0x21daa6, {
  753.         width: '150px',
  754.         height: '150px',
  755.         borderRadius: '15px',
  756.         margin: '0 auto',
  757.         display: 'block',
  758.         border: '3px solid #000000',
  759.       })
  760.       _0x21daa6.src = INCENTIVE_AVATAR
  761.       var _0x3d74ea = document.createElement('h1')
  762.       setProperties(_0x3d74ea, {
  763.         color: '#ffffff',
  764.         fontSize: '.9em',
  765.         fontWeight: 'bold',
  766.         textAlign: 'center',
  767.         margin: '35px 0px 35px',
  768.         padding: '0',
  769.         backgroundColor: '#209cee',
  770.         boxShadow:
  771.           '0 0.5em #209cee, 0 -0.5em #209cee, 0.5em 0 #209cee, -0.5em 0 #209cee',
  772.       })
  773.       _0x3d74ea.textContent = PUBLISHER_NAME
  774.       var _0x1231df = document.createElement('div')
  775.       setProperties(_0x1231df, {
  776.         display: 'flex',
  777.         justifyContent: 'center',
  778.         alignItems: 'center',
  779.         margin: '20px auto',
  780.         borderRadius: '10px',
  781.         padding: '10px',
  782.       })
  783.       if (SOCIAL_LINKS.length > 0) {
  784.         var _0x16776e = 0
  785.         for (
  786.           var _0x3f7af1 = SOCIAL_LINKS.length;
  787.           _0x16776e < _0x3f7af1;
  788.           _0x16776e++
  789.         ) {
  790.           if (SOCIAL_LINKS[_0x16776e].url === '') {
  791.             continue
  792.           }
  793.           let _0xef17c2 = document.createElement('a')
  794.           let _0x5a23c8 = [
  795.             'facebook',
  796.             'twitter',
  797.             'youtube',
  798.             'instagram',
  799.             'twitch',
  800.           ]
  801.           if (SOCIAL_LINKS[_0x16776e].url.includes('tiktok')) {
  802.             setProperties(_0xef17c2, {
  803.               width: '58px',
  804.               height: '80px',
  805.               margin: '0 0 0 10px',
  806.               backgroundImage:
  807.                 "url('removed')",
  808.               backgroundSize: 'contain',
  809.               backgroundRepeat: 'no-repeat',
  810.               backgroundPosition: 'center',
  811.               cursor: 'pointer',
  812.             })
  813.           } else {
  814.             if (SOCIAL_LINKS[_0x16776e].url.includes('discord')) {
  815.               setProperties(_0xef17c2, {
  816.                 width: '51px',
  817.                 height: '80px',
  818.                 margin: '0 0 0 10px',
  819.                 backgroundImage:
  820.                   'url(removed)',
  821.                 backgroundSize: 'contain',
  822.                 backgroundRepeat: 'no-repeat',
  823.                 backgroundPosition: 'center',
  824.                 cursor: 'pointer',
  825.               })
  826.             } else {
  827.               if (
  828.                 _0x5a23c8.includes(
  829.                   SOCIAL_LINKS[_0x16776e].url.split('.')[0].split('//')[1]
  830.                 )
  831.               ) {
  832.                 let _0x2d5993 = document.createElement('i')
  833.                 _0x2d5993.classList.add('nes-icon')
  834.                 _0x2d5993.classList.add(
  835.                   SOCIAL_LINKS[_0x16776e].url.split('.')[0].split('//')[1]
  836.                 )
  837.                 _0x2d5993.classList.add('is-medium')
  838.                 _0xef17c2.appendChild(_0x2d5993)
  839.                 setProperties(_0xef17c2, {
  840.                   marginLeft: '10px',
  841.                   cursor: 'pointer',
  842.                 })
  843.               } else {
  844.                 setProperties(_0xef17c2, {
  845.                   width: '80px',
  846.                   height: '80px',
  847.                   backgroundImage:
  848.                     'url(removed)',
  849.                   backgroundSize: 'contain',
  850.                   backgroundRepeat: 'no-repeat',
  851.                   backgroundPosition: 'center',
  852.                   cursor: 'pointer',
  853.                 })
  854.               }
  855.             }
  856.           }
  857.           _0xef17c2.href = SOCIAL_LINKS[_0x16776e].url
  858.           _0xef17c2.target = '_blank'
  859.           _0x1231df.appendChild(_0xef17c2)
  860.         }
  861.       }
  862.       _0x5e432d.appendChild(_0x21daa6)
  863.       _0x5e432d.appendChild(_0x3d74ea)
  864.       var _0xead942 = SOCIAL_LINKS.every((_0x3344e3) => _0x3344e3.url === '')
  865.       if (!_0xead942) {
  866.         _0x5e432d.appendChild(_0x1231df)
  867.       }
  868.       lootLinksModule.reqWrapper.appendChild(_0x5e432d)
  869.       setProperties(lootLinksModule.reqWrapperFixed, {
  870.         top: lootLinksModule.isMobile ? 0 : '50px',
  871.         left: 0,
  872.         right: 0,
  873.         bottom: 0,
  874.         position: 'fixed',
  875.         zIndex: '2147483640',
  876.         overflow: 'auto',
  877.       })
  878.       setProperties(lootLinksModule.reqWrapper, {
  879.         flexDirection: 'column',
  880.         display: 'flex',
  881.         justifyContent: 'center',
  882.         alignItems: 'center',
  883.         marginTop: lootLinksModule.isMobile ? '-25%' : 'auto',
  884.         transform: lootLinksModule.isMobile ? 'scale(.7)' : 'initial',
  885.       })
  886.       setProperties(lootLinksModule.reqModal, {
  887.         position: 'relative',
  888.         flexDirection: 'column',
  889.         display: 'flex',
  890.         padding: !lootLinksModule.isMobile ? '20px' : '20px',
  891.         justifyContent: 'center',
  892.         alignItems: 'center',
  893.         background:
  894.           'url("removed")',
  895.         boxShadow: 'rgba(0, 0, 0, 0.35) 0px 5px 15px',
  896.       })
  897.       if (!lootLinksModule.isMobile) {
  898.         lootLinksModule.reqModal.style.width = '35vw'
  899.       } else {
  900.         lootLinksModule.reqModal.style.width = '90vw'
  901.       }
  902.       lootLinksModule.wrappers.push(lootLinksModule.reqWrapper)
  903.       setProperties(lootLinksModule.modalHeader, {
  904.         color: 'rgb(0, 0, 0)',
  905.         fontFamily: lootLinksModule.site_font,
  906.         fontWeight: '700',
  907.         padding: '10px 10px 0 10px',
  908.         fontSize: '20px',
  909.         textAlign: 'center',
  910.       })
  911.       if (window.screen.availWidth < 1023) {
  912.         setProperties(lootLinksModule.modalHeader, {
  913.           fontWeight: '500',
  914.           fontSize: '19px',
  915.         })
  916.       }
  917.       lootLinksModule.modalHeader.innerText = PUBLISHER_TITLE
  918.       lootLinksModule.reqModal.appendChild(lootLinksModule.modalHeader)
  919.       function _0x237faf(_0x2095d9) {
  920.         var _0x32677f = _0x2095d9.match(
  921.           /^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/
  922.         )
  923.         return _0x32677f && _0x32677f[2].length === 11
  924.           ? _0x32677f[2]
  925.           : 'Error: Invalid YouTube URL'
  926.       }
  927.       if (PUBLISHER_IMAGE !== '') {
  928.         if (
  929.           PUBLISHER_IMAGE.includes('youtube.com/watch') ||
  930.           PUBLISHER_IMAGE.includes('youtu.be')
  931.         ) {
  932.           var _0x490f1c = _0x237faf(PUBLISHER_IMAGE)
  933.           lootLinksModule.modalAvatar.src =
  934.             'https://www.youtube.com/embed/' +
  935.             _0x490f1c +
  936.             '?si=rK4KJwoZeHx0JMxw'
  937.           lootLinksModule.modalAvatar.width = '300'
  938.           lootLinksModule.modalAvatar.height = '168'
  939.           lootLinksModule.modalAvatar.frameBorder = '0'
  940.           lootLinksModule.modalAvatar.allow =
  941.             'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'
  942.           lootLinksModule.modalAvatar.allowFullScreen = true
  943.         } else {
  944.           lootLinksModule.modalAvatar.src = PUBLISHER_IMAGE
  945.           setProperties(lootLinksModule.modalAvatar, {
  946.             width: '300px',
  947.             height: '168px',
  948.             border: '2px solid #000',
  949.             marginTop: '10px',
  950.           })
  951.         }
  952.         lootLinksModule.reqModal.appendChild(lootLinksModule.modalAvatar)
  953.       }
  954.       setProperties(lootLinksModule.modalSubHeader, {
  955.         color: 'rgb(0, 0, 0)',
  956.         fontWeight: '400',
  957.         fontFamily: lootLinksModule.site_font,
  958.         padding: '20px 15px 20px 15px',
  959.         textAlign: 'center',
  960.         fontSize: !lootLinksModule.isMobile ? '17px' : '15px',
  961.       })
  962.       lootLinksModule.modalSubHeader.innerText =
  963.         'Complete the actions and unlock the link'
  964.       if (lootLinksModule.categories[0].test_choose === 1) {
  965.         lootLinksModule.modalSubHeader.innerText =
  966.           'To reach the target page, complete 2 of the following tasks:'
  967.       }
  968.       lootLinksModule.reqModal.appendChild(lootLinksModule.modalSubHeader)
  969.       var _0x3f7af1 = 0
  970.       for (
  971.         var _0x16776e = lootLinksModule.categories.length;
  972.         _0x3f7af1 < _0x16776e;
  973.         _0x3f7af1++
  974.       ) {
  975.         lootLinksModule.reqCategories[_0x3f7af1] = document.createElement('div')
  976.         lootLinksModule.reqCategories[_0x3f7af1].classList.add(
  977.           lootLinksModule.categories[_0x3f7af1].task_id +
  978.             '_' +
  979.             lootLinksModule.categories[_0x3f7af1].urid +
  980.             '_' +
  981.             lootLinksModule.categories[_0x3f7af1].task_id
  982.         )
  983.         lootLinksModule.reqCategories[_0x3f7af1].setAttribute(
  984.           'id',
  985.           lootLinksModule.categories[_0x3f7af1].urid
  986.         )
  987.         setProperties(lootLinksModule.reqCategories[_0x3f7af1], {
  988.           color: 'black',
  989.           fontFamily: lootLinksModule.site_font,
  990.           display: 'flex',
  991.           cursor: 'pointer',
  992.           alignItems: 'center',
  993.           position: 'relative',
  994.           background: 'none',
  995.           width: '100%',
  996.           padding: !lootLinksModule.isMobile ? '0 1px 1px 0px' : '0px 15px 0 15px',
  997.           fontSize: '23px',
  998.           margin: '3px 0',
  999.           justifyContent: !lootLinksModule.isMobile ? 'center' : 'flex-start',
  1000.         })
  1001.         setProperties(lootLinksModule.titlesContainer, {
  1002.           flexDirection: 'column',
  1003.           display: 'flex',
  1004.           width: '100%',
  1005.           borderColor: '#BDC6FF #59639A #59639A #BDC6FF',
  1006.           backgroundColor: '#409df1',
  1007.           minWidth: !lootLinksModule.isMobile ? 'calc(100% - 70px)' : 'initial',
  1008.           padding: !lootLinksModule.isMobile ? '5px 15px' : '7px 35px',
  1009.           justifyContent: 'center',
  1010.         })
  1011.         lootLinksModule.titlesContainer.classList.add('btn-shadow')
  1012.         lootLinksModule.reqTitles[_0x3f7af1] = document.createElement('span')
  1013.         setProperties(lootLinksModule.reqTitles[_0x3f7af1], {
  1014.           marginRight: !lootLinksModule.isMobile ? '40px' : '10px',
  1015.           marginLeft: !lootLinksModule.isMobile ? '40px' : '5px',
  1016.           color: 'rgb(255, 255, 255)',
  1017.           textShadow: '3px 3px #4C4C4C',
  1018.           textAlign: 'center',
  1019.           fontFamily: lootLinksModule.site_font,
  1020.           letterSpacing: '.8px',
  1021.           fontWeight: '200',
  1022.           lineHeight: '25px',
  1023.           textTransform: 'uppercase',
  1024.           whiteSpace: !lootLinksModule.isMobile ? 'normal' : 'inherit',
  1025.           display: 'flex',
  1026.           justifyContent: 'center',
  1027.           alignItems: 'center',
  1028.           fontSize: !lootLinksModule.isMobile ? '16px' : '12px',
  1029.         })
  1030.         lootLinksModule.reqTitles[_0x3f7af1].innerText =
  1031.           lootLinksModule.categories[_0x3f7af1].title
  1032.         if (lootLinksModule.categories[_0x3f7af1].test_counter == 1) {
  1033.           var _0x525a6b =
  1034.             lootLinksModule.categories[_0x3f7af1].time_to_complete / 1000
  1035.           lootLinksModule.reqTitles[_0x3f7af1].innerHTML =
  1036.             lootLinksModule.categories[_0x3f7af1].title +
  1037.             "<span style='font-size: 10px; color: white;'> (takes " +
  1038.             _0x525a6b +
  1039.             ' sec.)</span>'
  1040.         }
  1041.         lootLinksModule.reqTitles[_0x3f7af1].innerHTML =
  1042.           "<img style='width: 30px; position: relative; margin-right: 10px; border-radius: 50%; padding: 2px; left: 20px; position: absolute;' src='" +
  1043.           lootLinksModule.categories[_0x3f7af1].icon +
  1044.           "'>" +
  1045.           lootLinksModule.reqTitles[_0x3f7af1].innerHTML
  1046.         lootLinksModule.titlesContainer.appendChild(lootLinksModule.reqTitles[_0x3f7af1])
  1047.         lootLinksModule.reqCategories[_0x3f7af1].appendChild(
  1048.           lootLinksModule.titlesContainer
  1049.         )
  1050.         lootLinksModule.reqStatus.classList.add('sdfdsahps')
  1051.         setProperties(lootLinksModule.reqStatus, {
  1052.           position: 'absolute',
  1053.           right: '6px',
  1054.           transform: lootLinksModule.isMobile ? 'scale(.7)' : 'initial',
  1055.           border: 'none',
  1056.           display: 'flex',
  1057.           justifyContent: 'center',
  1058.           color: '#fff',
  1059.           alignItems: 'center',
  1060.           minWidth: '51px',
  1061.           borderRadius: '50%',
  1062.           margin: '0 15px',
  1063.         })
  1064.         lootLinksModule.reqStatus.innerHTML =
  1065.           '<span style="width: 25px; height: 25px; border-radius: 50%; text-align: center; line-height: 12px; border: 1px solid #ffffff; padding: 5px; color: #ffffff;font-family: monospace;">?</span>'
  1066.         lootLinksModule.titlesContainer.appendChild(lootLinksModule.reqStatus)
  1067.         lootLinksModule.reqModal.appendChild(lootLinksModule.reqCategories[_0x3f7af1])
  1068.         lootLinksModule.categoryHandler(lootLinksModule.reqCategories[_0x3f7af1])
  1069.       }
  1070.       function _0x1e4080() {
  1071.         var _0x2c2fd1 = ''
  1072.         var _0x18dede = lootLinksModule.categories.length
  1073.         if (lootLinksModule.categories[0].test_choose === 1) {
  1074.           _0x18dede = 2
  1075.         }
  1076.         for (var _0x14f84a = 0; _0x14f84a < _0x18dede; _0x14f84a++) {
  1077.           _0x2c2fd1 +=
  1078.             '<div class="in-bar in-bar-section' +
  1079.             _0x14f84a +
  1080.             '" style="' +
  1081.             'transition: all 2s; width: ' +
  1082.             30 +
  1083.             'px; position: relative; margin: 3px; height: 30px; background-color: #aba9a9; color: #fff; font-weight: 100; font-size: 15px; justify-content: center; align-items: center; display: flex; line-height: 35px;"><span style="left: 50%; position: absolute;"></div>'
  1084.         }
  1085.         return _0x2c2fd1
  1086.       }
  1087.       lootLinksModule.progressBarWrapper.classList.add('in-progress-bar')
  1088.       setProperties(lootLinksModule.progressBarWrapper, {
  1089.         width: lootLinksModule.isMobile ? 'calc(100% - 2px)' : '100%',
  1090.         position: 'relative',
  1091.         display: 'flex',
  1092.         justifyContent: 'flex-start',
  1093.         alignItems: 'center',
  1094.         flexDirection: 'row',
  1095.       })
  1096.       var _0x48d42e = lootLinksModule.categories.length
  1097.       if (
  1098.         lootLinksModule.categories[0].test_choose === 1 &&
  1099.         lootLinksModule.categories.length >= 2
  1100.       ) {
  1101.         _0x48d42e = 2
  1102.       }
  1103.       lootLinksModule.progressBarWrapper.innerHTML = lootLinksModule.progressBar
  1104.       lootLinksModule.reqWrapper.appendChild(lootLinksModule.reqModal)
  1105.       lootLinksModule.reqModal.appendChild(lootLinksModule.progressBarWrapper)
  1106.       lootLinksModule.reqWrapperFixed.appendChild(lootLinksModule.reqWrapper)
  1107.       window.document.body.appendChild(lootLinksModule.reqWrapperFixed)
  1108.       if (INCENTIVE_CLOSE_BTN_INTERVAL !== 0) {
  1109.         setTimeout(function () {
  1110.           lootLinksModule.closeIconActivation()
  1111.         }, INCENTIVE_CLOSE_BTN_INTERVAL)
  1112.       }
  1113.       if (!lootLinksModule.categories.length) {
  1114.         lootLinksModule.removeContentBlockers()
  1115.       }
  1116.       lootLinksModule.continueBtnActivate()
  1117.     },
  1118.     noticeBlock: document.createElement('div'),
  1119.     notice: function () {
  1120.       lootLinksModule.noticeBlock.innerText =
  1121.         'Your tasks are saved so you only have to complete them once'
  1122.       setProperties(lootLinksModule.noticeBlock, {
  1123.         width: '90%',
  1124.         textAlign: 'center',
  1125.         lineHeight: '20px',
  1126.         color: '#000000',
  1127.         fontWeight: '500',
  1128.         position: 'relative',
  1129.         fontSize: '13px',
  1130.       })
  1131.       lootLinksModule.reqModal.appendChild(lootLinksModule.noticeBlock)
  1132.     },
  1133.     continueBtnBuzzer: function () {
  1134.       lootLinksModule.continueBtn.animate(
  1135.         {
  1136.           transform: ['rotate(45deg)', 'rotate(-45deg)', 'rotate(0deg)'],
  1137.         },
  1138.         {
  1139.           duration: 100,
  1140.           iterations: 1,
  1141.           fill: 'forwards',
  1142.         }
  1143.       )
  1144.     },
  1145.     continueBtn: document.createElement('div'),
  1146.     continueBtnActivate: function () {
  1147.       if (lootLinksModule.categories.length === 0) {
  1148.         lootLinksModule.continueBtn.innerHTML = 'Done'
  1149.       } else {
  1150.         lootLinksModule.continueBtn.innerHTML = 'Unlock Content'.toUpperCase()
  1151.         lootLinksModule.continueBtn.addEventListener('click', function () {
  1152.           lootLinksModule.continueBtnBuzzer(lootLinksModule.continueBtn)
  1153.         })
  1154.       }
  1155.       lootLinksModule.continueBtn.classList.add('nes-btn')
  1156.       setProperties(lootLinksModule.continueBtn, {
  1157.         userSelect: 'none',
  1158.         textAlign: 'center',
  1159.         lineHeight: '20px',
  1160.         color: '#212529',
  1161.         fontFamily: lootLinksModule.site_font,
  1162.         fontWeight: '100',
  1163.         marginTop: '15px',
  1164.         padding: '10px',
  1165.         cursor: 'pointer',
  1166.         right: !lootLinksModule.isMobile ? '7%' : 'initial',
  1167.         backgroundColor: '#d3d3d3',
  1168.         fontSize: '16px',
  1169.         display: 'flex',
  1170.         justifyContent: 'center',
  1171.         alignItems: 'center',
  1172.         boxSizing: 'border-box',
  1173.         boxShadow: 'inset -4px -4px #adafbc',
  1174.         opacity: '.6',
  1175.         border: 'solid',
  1176.       })
  1177.       if (TID === 991180 || TID === 991813) {
  1178.         setProperties(lootLinksModule.continueBtn, { color: '#96d26e !important' })
  1179.       }
  1180.       setProperties(lootLinksModule.continueBtn, { right: 'initial' })
  1181.       lootLinksModule.reqModal.appendChild(lootLinksModule.continueBtn)
  1182.       var _0x4ab68a = document.createElement('div')
  1183.       var _0x117d2b = document.createElement('p')
  1184.       setProperties(_0x117d2b, {
  1185.         marginLeft: '5px',
  1186.         fontSize: '11px',
  1187.         marginTop: '20px',
  1188.         color: '#5b5b5b',
  1189.       })
  1190.       _0x117d2b.innerHTML =
  1191.         'Support Content Creators: The content is brought to you for FREE thanks to the ads on this page.'
  1192.       _0x4ab68a.appendChild(_0x117d2b)
  1193.       lootLinksModule.reqModal.appendChild(_0x4ab68a)
  1194.       if (TID === 991180 || TID === 991813) {
  1195.         setProperties(_0x117d2b, { color: 'white !important' })
  1196.       }
  1197.       var _0x3a6a2e = document.createElement('div')
  1198.       var _0x10fcad = document.createElement('h3')
  1199.       var _0x6a7242 = document.createElement('a')
  1200.       _0x6a7242.innerHTML = 'LootLabs - You Create, We Monetize'
  1201.       _0x6a7242.href = 'https://lootlabs.gg'
  1202.       _0x6a7242.target = '_blank'
  1203.       _0x10fcad.innerHTML = 'Powered By &nbsp;'
  1204.       setProperties(_0x3a6a2e, {
  1205.         fontSize: '12px',
  1206.         display: 'flex',
  1207.         color: '#5b5b5b',
  1208.         justifyContent: 'center',
  1209.         alignItems: 'center',
  1210.         textAlign: 'right',
  1211.         marginTop: '20px',
  1212.         marginLeft: 'auto',
  1213.       })
  1214.       setProperties(_0x6a7242, {
  1215.         textDecoration: 'none',
  1216.         fontWeight: 900,
  1217.         color: '#5b5b5b',
  1218.       })
  1219.       _0x3a6a2e.appendChild(_0x10fcad)
  1220.       _0x3a6a2e.appendChild(_0x6a7242)
  1221.       lootLinksModule.reqModal.appendChild(_0x3a6a2e)
  1222.     },
  1223.     socket: new WebSocket(
  1224.       'wss://' +
  1225.         lootLinksModule.serverSubDomainId +
  1226.         '.' +
  1227.         INCENTIVE_SERVER_DOMAIN +
  1228.         '/c?uid=' +
  1229.         _0x592cbd.join(',') +
  1230.         '&cat=' +
  1231.         _0x158378.join(',') +
  1232.         '&key=' +
  1233.         KEY
  1234.     ),
  1235.     websocketHandler: function (_0x39273d) {
  1236.       var urlids = [] // UNUSED
  1237.       var taskids = [] // UNUSED
  1238.       var categories = 0
  1239.       for (var categoryLength = lootLinksModule.categories.length; categories < categoryLength; categories++) {
  1240.         urlids.push(lootLinksModule.categories[categories].urid)
  1241.         taskids.push(lootLinksModule.categories[categories].task_id)
  1242.       }
  1243.       lootLinksModule.socket.onopen = function (event) {
  1244.         setInterval(function () {
  1245.           lootLinksModule.socket.send('0')
  1246.         }, 10000)
  1247.       }
  1248.       lootLinksModule.socket.onerror = function (event) {
  1249.         console.log(event.type)
  1250.       }
  1251.       lootLinksModule.socket.onmessage = function (event) {
  1252.         if (event.data) {
  1253.           if (event.data.includes('r:')) {
  1254.             PUBLISHER_LINK = event.data.replace('r:', '')
  1255.           }
  1256.           var responseSplit = event.data.split(',')
  1257.           var urlid = responseSplit[0]
  1258.           var itemName = responseSplit[1]
  1259.           var expiration = Number(responseSplit[2]) * 60 * 1000
  1260.           var category = 0
  1261.           for (var currentCategory = lootLinksModule.categories.length; category < currentCategory; category++) {
  1262.             if (lootLinksModule.categories[category].urid.toString() === urlid) {
  1263.               lootLinksModule.categories[category].status = 2
  1264.               lootLinksModule.setWithExpiry('t_' + itemName, 1, expiration)
  1265.             }
  1266.           }
  1267.           var _0x3be26f = document.querySelector("[id='" + urlid + "']")
  1268.           if (_0x3be26f) {
  1269.             lootLinksModule.succeedPixel(_0x3be26f.className.split('_')[2], urlid)
  1270.             _0x3be26f.style.pointerEvents = 'none'
  1271.             _0x3be26f.querySelector('.sdfdsahps').innerHTML = ''
  1272.             var _0x506861 = document.createElement('div')
  1273.             setProperties(_0x506861, {
  1274.               background:
  1275.                 "url('removed')",
  1276.               backgroundRepeat: 'no-repeat',
  1277.               backgroundSize: 'contain',
  1278.               width: '30px',
  1279.               height: '30px',
  1280.               top: '0',
  1281.               position: 'relative',
  1282.               filter: 'invert(1)',
  1283.             })
  1284.             var _0x3230c5 = _0x3be26f.querySelector('.sdfdsahps')
  1285.             var _0x33c1d3 = _0x3be26f.querySelector('div')
  1286.             var _0x5e1b84 = _0x3be26f.querySelector('span')
  1287.             var _0x7b7a4 = _0x33c1d3.querySelectorAll('span')[0]
  1288.             _0x3230c5.innerHTML = ''
  1289.             _0x3230c5.appendChild(_0x506861)
  1290.             if (!lootLinksModule.isMobile) {
  1291.               _0x33c1d3.style.backgroundImage =
  1292.                 "url('removed')"
  1293.               _0x7b7a4.style.cssText += 'color: rgb(255, 255, 122) !important;'
  1294.               _0x7b7a4.style.color = 'rgb(255, 255, 122) !important'
  1295.               _0x7b7a4.style.textShadow = '3px 3px #4C4C4C'
  1296.             } else {
  1297.               _0x33c1d3.style.backgroundImage =
  1298.                 "url('removed')"
  1299.               _0x7b7a4.style.cssText += 'color: rgb(255, 255, 122) !important;'
  1300.               _0x5e1b84.style.border = 'none'
  1301.             }
  1302.             var _0x477451 = 0
  1303.             var _0x496d19 = 0
  1304.             for (
  1305.               var _0xeac394 = lootLinksModule.categories.length;
  1306.               _0x496d19 < _0xeac394;
  1307.               _0x496d19++
  1308.             ) {
  1309.               if (lootLinksModule.categories[_0x496d19].status == 2) {
  1310.                 _0x477451 += 1
  1311.               }
  1312.             }
  1313.             var _0x327f09 = document.querySelectorAll(
  1314.               '.in-progress-bar .in-bar'
  1315.             )
  1316.             var _0x2d4a7d = document.querySelector(
  1317.               '.in-progress-bar .in-progress-bar-title-value'
  1318.             )
  1319.             var _0x19ca23 = _0x2d4a7d.textContent.split('/')
  1320.             var _0x1fb4cc = _0x477451
  1321.             var _0xd744ea = parseInt(_0x19ca23[1])
  1322.             var _0x309bb0 = 0
  1323.             for (
  1324.               var _0x5396e4 = _0x477451;
  1325.               _0x309bb0 < _0x5396e4;
  1326.               _0x309bb0++
  1327.             ) {
  1328.               _0x327f09.item(_0x309bb0).style.backgroundColor = '#449121'
  1329.               _0x327f09.item(_0x309bb0).style.color = 'rgb(255, 255, 122)'
  1330.             }
  1331.             _0x2d4a7d.innerText = _0x1fb4cc + '/' + _0xd744ea
  1332.             if (
  1333.               _0x477451 === lootLinksModule.categories.length ||
  1334.               (lootLinksModule.categories[0].test_choose === 1 && _0x477451 >= 2)
  1335.             ) {
  1336.               lootLinksModule.continueBtn.classList.add('is-success')
  1337.               lootLinksModule.continueBtn.style.backgroundColor = '#92cc41'
  1338.               lootLinksModule.continueBtn.style.color = '#fff'
  1339.               lootLinksModule.continueBtn.style.opacity = '1'
  1340.               lootLinksModule.continueBtn.style.boxShadow = 'inset -4px -4px #4aa52e'
  1341.               lootLinksModule.continueBtn.style.borderImageSource =
  1342.                 'url(\'data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(33,37,41)" /></svg>\')" /></svg>)'
  1343.               lootLinksModule.continueBtn.style.borderImageOutset = '2'
  1344.               try {
  1345.                 window.opener.postMessage('lkjlsdfiujjjasdlkw', '*')
  1346.               } catch (_0x133844) {}
  1347.               var _0x334319 = document.querySelector('.in-progress-bar')
  1348.               var _0x324ea9 = document.createElement('lottie-player')
  1349.               _0x324ea9.id = 'finalLottie'
  1350.               _0x324ea9.src = YES_ANIMATION
  1351.               _0x324ea9.background = 'transparent'
  1352.               _0x324ea9.speed = '1'
  1353.               _0x324ea9.setAttribute('style', 'width: 100px; height: 100px;')
  1354.               _0x334319.parentNode.insertBefore(
  1355.                 _0x324ea9,
  1356.                 _0x334319.nextSibling
  1357.               )
  1358.               _0x334319.parentNode.removeChild(_0x334319)
  1359.               setTimeout(function () {
  1360.                 _0x324ea9.play()
  1361.               }, 1000)
  1362.               try {
  1363.                 if (typeof window.rewTasksDone === 'function') {
  1364.                   window.rewTasksDone()
  1365.                 }
  1366.               } catch (_0x36c585) {}
  1367.               lootLinksModule.continueBtn.classList.add('btn-shadow')
  1368.               lootLinksModule.continueBtn.removeEventListener(
  1369.                 'click',
  1370.                 lootLinksModule.continueBtnBuzzer
  1371.               )
  1372.               lootLinksModule.continueBtn.addEventListener(
  1373.                 'click',
  1374.                 function (_0x1fec63) {
  1375.                   lootLinksModule.removeContentBlockers()
  1376.                   lootLinksModule.redirectToPublisherLink(_0x1fec63)
  1377.                 }
  1378.               )
  1379.             }
  1380.           }
  1381.         }
  1382.       }
  1383.     },
  1384.     socketActivated: false,
  1385.     socketActivated: true,
  1386.     categoryHandler: function (_0x3515e4) {
  1387.       _0x3515e4.addEventListener('click', function () {
  1388.         var _0xda2ad2 = 0
  1389.         for (
  1390.           var _0x194349 = lootLinksModule.categories.length;
  1391.           _0xda2ad2 < _0x194349;
  1392.           _0xda2ad2++
  1393.         ) {
  1394.           if (
  1395.             lootLinksModule.categories[_0xda2ad2].uid === _0x3515e4.id.toString() &&
  1396.             lootLinksModule.categories[_0xda2ad2].status === 2
  1397.           ) {
  1398.             return
  1399.           }
  1400.         }
  1401.         if (!lootLinksModule.socketActivated) {
  1402.           lootLinksModule.websocketHandler(_0x3515e4.className.split('_')[1])
  1403.         }
  1404.         var _0x14686e = document.createElement('span')
  1405.         setProperties(_0x14686e, {
  1406.           width: !lootLinksModule.isMobile ? '50px' : '53px',
  1407.           height: !lootLinksModule.isMobile ? '50px' : '53px',
  1408.           transform: 'rotate(360deg)',
  1409.           overflow: 'hidden',
  1410.           transitionDuration: '11s',
  1411.           transitionProperty: 'transform',
  1412.           backgroundRepeat: 'no-repeat',
  1413.           backgroundSize: 'contain',
  1414.           display: 'flex',
  1415.           justifyContent: 'center',
  1416.           alignItems: 'center',
  1417.         })
  1418.         var _0x2169b8 = document.createElement('style')
  1419.         _0x2169b8.innerHTML =
  1420.           '@keyframes jlfghas {\n    from {\n        transform: rotate(0deg);\n    }\n\n    to {\n        transform: rotate(360deg);\n    }\n}\n'
  1421.         document.getElementsByTagName('head')[0].appendChild(_0x2169b8)
  1422.         _0x14686e.innerHTML =
  1423.           '<svg style="animation: jlfghas .4s linear infinite" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 42 42"> <path id="Path_2" data-name="Path 2" d="M10.559,952a15,15,0,1,1-15,15" transform="translate(10.441 -946)" fill="#1906AF" stroke="#1906AF" stroke-miterlimit="10" stroke-width="12" opacity="0.8"/><span class="_fhsdfs" style="position: absolute; font-size: 14px; color: black;width: 20px;height: 20px;line-height: 20px;background: white;border-radius: 50%;text-align: center;" class="_con"></span></svg>'
  1424.         _0x3515e4.querySelector('.sdfdsahps').innerHTML = _0x14686e.outerHTML
  1425.         var _0x9cef10 = 0
  1426.         for (
  1427.           var _0xa695cd = lootLinksModule.categories.length;
  1428.           _0x9cef10 < _0xa695cd;
  1429.           _0x9cef10++
  1430.         ) {
  1431.           if (
  1432.             lootLinksModule.categories[_0x9cef10].urid.toString() === _0x3515e4.id
  1433.           ) {
  1434.             if (lootLinksModule.categories[_0x9cef10].test_counter === 1) {
  1435.               var _0x15234d =
  1436.                 lootLinksModule.categories[_0x9cef10].auto_complete_seconds
  1437.               var _0x394773 = setInterval(function () {
  1438.                 _0x15234d = _0x15234d - 1
  1439.                 _0x3515e4.querySelector('._fhsdfs').innerHTML = _0x15234d
  1440.                 if (_0x15234d == 0) {
  1441.                   _0x3515e4.querySelector('._fhsdfs').innerHTML = ''
  1442.                   clearInterval(_0x394773)
  1443.                 }
  1444.               }, 1000)
  1445.             }
  1446.             var _0x25a830 = JSON.parse(
  1447.               lootLinksModule.categories[_0x9cef10].window_size
  1448.             )
  1449.             window.open(
  1450.               lootLinksModule.categories[_0x9cef10].ad_url,
  1451.               _0x3515e4.className.split('_')[1],
  1452.               'height=' + _0x25a830[0] + ',width=' + _0x25a830[1]
  1453.             )
  1454.             navigator.sendBeacon(
  1455.               'https://' +
  1456.                 lootLinksModule.serverSubDomainId +
  1457.                 '.' +
  1458.                 INCENTIVE_SERVER_DOMAIN +
  1459.                 '/st?uid=' +
  1460.                 lootLinksModule.categories[_0x9cef10].urid +
  1461.                 '&cat=' +
  1462.                 lootLinksModule.categories[_0x9cef10].task_id
  1463.             )
  1464.             if (
  1465.               typeof lootLinksModule.categories[_0x9cef10].auto_complete_seconds !==
  1466.               'undefined'
  1467.             ) {
  1468.               var _0x54afcd = lootLinksModule.categories[_0x9cef10].urid
  1469.               setTimeout(function () {
  1470.                 navigator.sendBeacon(
  1471.                   'https://' +
  1472.                     lootLinksModule.serverSubDomainId +
  1473.                     '.' +
  1474.                     INCENTIVE_SERVER_DOMAIN +
  1475.                     '/p?uid=' +
  1476.                     _0x54afcd
  1477.                 )
  1478.               }, lootLinksModule.categories[_0x9cef10].auto_complete_seconds * 1000)
  1479.             }
  1480.             lootLinksModule.sendBeacon(
  1481.               lootLinksModule.categories[_0x9cef10].action_pixel_url
  1482.             )
  1483.             lootLinksModule.categories[_0x9cef10].status = 1
  1484.           }
  1485.         }
  1486.       })
  1487.     },
  1488.     sendEmail: function (_0xe3b3c6, _0x59f723, _0x4bcd23) {
  1489.       var _0x3baea8 = {
  1490.         urid: _0xe3b3c6.toString(),
  1491.         email: _0x59f723,
  1492.         phone: '',
  1493.         is_phone_number: 0,
  1494.       }
  1495.       navigator.sendBeacon(
  1496.         'https://' +
  1497.           lootLinksModule.serverSubDomainId +
  1498.           '.' +
  1499.           INCENTIVE_SERVER_DOMAIN +
  1500.           '/efc',
  1501.         JSON.stringify(_0x3baea8)
  1502.       )
  1503.     },
  1504.     socketActivated: true,
  1505.     categoryEmailHandler: function (_0x4b5581) {
  1506.       var _0x285e5c = _0x4b5581.querySelector('button')
  1507.       var _0x5bc98c = _0x4b5581.querySelector('input')
  1508.       _0x285e5c.addEventListener('click', function () {
  1509.         if (!_0x5bc98c.value.match(/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/)) {
  1510.           return
  1511.         }
  1512.         _0x285e5c.setAttribute('disabled', true)
  1513.         _0x285e5c.removeEventListener('click', function () {})
  1514.         var _0x230c05 = 0
  1515.         for (
  1516.           var _0x213cd8 = lootLinksModule.categories.length;
  1517.           _0x230c05 < _0x213cd8;
  1518.           _0x230c05++
  1519.         ) {
  1520.           if (
  1521.             lootLinksModule.categories[_0x230c05].uid === _0x4b5581.id.toString() &&
  1522.             lootLinksModule.categories[_0x230c05].status === 2
  1523.           ) {
  1524.             return
  1525.           }
  1526.         }
  1527.         if (!lootLinksModule.socketActivated) {
  1528.           lootLinksModule.websocketHandler(_0x4b5581.className.split('_')[1])
  1529.         }
  1530.         var _0x117979 = document.createElement('span')
  1531.         setProperties(_0x117979, {
  1532.           width: !lootLinksModule.isMobile ? '50px' : '53px',
  1533.           height: !lootLinksModule.isMobile ? '50px' : '53px',
  1534.           transform: 'rotate(360deg)',
  1535.           overflow: 'hidden',
  1536.           transitionDuration: '11s',
  1537.           transitionProperty: 'transform',
  1538.           backgroundRepeat: 'no-repeat',
  1539.           backgroundSize: 'contain',
  1540.           display: 'flex',
  1541.           justifyContent: 'center',
  1542.           alignItems: 'center',
  1543.         })
  1544.         var _0x18acb9 = document.createElement('style')
  1545.         _0x18acb9.innerHTML =
  1546.           '@keyframes jlfghas {\n    from {\n        transform: rotate(0deg);\n    }\n\n    to {\n        transform: rotate(360deg);\n    }\n}\n'
  1547.         document.getElementsByTagName('head')[0].appendChild(_0x18acb9)
  1548.         _0x117979.innerHTML =
  1549.           '<svg style="animation: jlfghas .4s linear infinite" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 42 42"> <path id="Path_2" data-name="Path 2" d="M10.559,952a15,15,0,1,1-15,15" transform="translate(10.441 -946)" fill="none" stroke="#222" stroke-miterlimit="10" stroke-width="12" opacity="0.8"/><span class="_fhsdfs" style="position: absolute; font-size: 14px; color: black;width: 20px;height: 20px;line-height: 20px;background: white;border-radius: 50%;text-align: center;" class="_con"></span></svg>'
  1550.         _0x4b5581.querySelector('.sdfdsahps').innerHTML = _0x117979.outerHTML
  1551.         var _0x3989e3 = 0
  1552.         for (
  1553.           var _0x37724b = lootLinksModule.categories.length;
  1554.           _0x3989e3 < _0x37724b;
  1555.           _0x3989e3++
  1556.         ) {
  1557.           if (
  1558.             lootLinksModule.categories[_0x3989e3].urid.toString() === _0x4b5581.id
  1559.           ) {
  1560.             if (lootLinksModule.categories[_0x3989e3].test_counter === 1) {
  1561.               var _0x5cdfa6 =
  1562.                 lootLinksModule.categories[_0x3989e3].auto_complete_seconds
  1563.               var _0x1d17c8 = setInterval(function () {
  1564.                 _0x5cdfa6 = _0x5cdfa6 - 1
  1565.                 _0x4b5581.querySelector('._fhsdfs').innerHTML = _0x5cdfa6
  1566.                 if (_0x5cdfa6 == 0) {
  1567.                   _0x4b5581.querySelector('._fhsdfs').innerHTML = ''
  1568.                   clearInterval(_0x1d17c8)
  1569.                 }
  1570.               }, 1000)
  1571.             }
  1572.             lootLinksModule.sendEmail(
  1573.               lootLinksModule.categories[_0x3989e3].urid,
  1574.               _0x5bc98c.value,
  1575.               ''
  1576.             )
  1577.             if (
  1578.               typeof lootLinksModule.categories[_0x3989e3].auto_complete_seconds !==
  1579.               'undefined'
  1580.             ) {
  1581.               var _0x332767 = lootLinksModule.categories[_0x3989e3].urid
  1582.               setTimeout(function () {
  1583.                 lootLinksModule.sendEmail(_0x332767, _0x5bc98c.value, '')
  1584.               }, lootLinksModule.categories[_0x3989e3].auto_complete_seconds * 1000)
  1585.             }
  1586.             lootLinksModule.categories[_0x3989e3].status = 1
  1587.           }
  1588.         }
  1589.       })
  1590.     },
  1591.     removeContentBlockers: function () {
  1592.       var _0x327262 = 0
  1593.       for (
  1594.         var _0x3f1eea = lootLinksModule.wrappers.length;
  1595.         _0x327262 < _0x3f1eea;
  1596.         _0x327262++
  1597.       ) {
  1598.         lootLinksModule.wrappers[_0x327262].remove()
  1599.       }
  1600.     },
  1601.   }
  1602.   const isMobileCheck = () => {
  1603.     const userAgent = navigator.userAgent
  1604.     return (
  1605.       /Mobi/i.test(userAgent) ||
  1606.       /Android/i.test(userAgent) ||
  1607.       /iPhone|iPod/i.test(userAgent) ||
  1608.       /iPad/i.test(userAgent)
  1609.     )
  1610.   }
  1611.   var setProperties = function (_0x41b5be, _0x38b720) {
  1612.     var _0x2471a6 = _0x41b5be.style
  1613.     if (_0x2471a6) {
  1614.       for (var _0xc79e5a in _0x38b720) {
  1615.         if (_0x38b720.hasOwnProperty(_0xc79e5a)) {
  1616.           _0x2471a6[_0xc79e5a] = _0x38b720[_0xc79e5a]
  1617.         }
  1618.       }
  1619.     }
  1620.     return _0x41b5be
  1621.   }
  1622.   const loadGoogleAds = () => {
  1623.     fetch('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js')
  1624.       .then(function (response) {
  1625.         if (response.redirected) {
  1626.           lootLinksModule.adBlockModal()
  1627.         }
  1628.         return response.text()
  1629.       })
  1630.       .catch(function (_0x9386e9) {
  1631.         lootLinksModule.adBlockModal()
  1632.       })
  1633.   }
  1634.   const _0x166c42 = [1024441]
  1635.   if (!lootLinksModule.isMobile && !_0x166c42.includes(TID)) {
  1636.     loadGoogleAds()
  1637.   }
  1638.   function decodeLink(content, keyLength = 5) {
  1639.     let currentString = ''
  1640.     let base64Decoded = atob(content)
  1641.     let key = base64Decoded.substring(0, keyLength)
  1642.     let encodedContent = base64Decoded.substring(keyLength)
  1643.     for (let i = 0; i < encodedContent.length; i++) {
  1644.       let encodedCharCode = encodedContent.charCodeAt(i)
  1645.       let charCodeKey = key.charCodeAt(i % key.length)
  1646.       let decodedCharCode = encodedCharCode ^ charCodeKey
  1647.       currentString += String.fromCharCode(decodedCharCode)
  1648.     }
  1649.     return currentString
  1650.   }
  1651.   lootLinksModule.generateDesktopIncentiveMessage()
  1652. }
Add Comment
Please, Sign In to add comment