­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ /** * Content Protector - Content Protection for any website. Protect your online content from being copied. * Exclusively on Envato Market: https://1.envato.market/content-protector-js * * @encoding UTF-8 * @version 1.5.0 * @copyright Copyright (C) 2018 - 2023 Copyright (C) 2021-2023 42Theme (https://42theme.com). All rights reserved. * @license Envato License https://1.envato.market/license-cc * @author Alexander Khmelnitskiy( ak@42theme.com ) * @support support@42theme.com **/ "use strict";const t42ContentProtector=function(e={disableSelectAll:!0,disableCopy:!0,disableCut:!0,disablePaste:!0,disableSave:!0,disableViewSource:!0,disablePrintPage:!0,disableDeveloperTool:!0,disableReaderMode:!0,disableRightClick:!0,disableTextSelection:!0,disableImageDragging:!0}){function t(e){window.addEventListener("keydown",(function(t){t.ctrlKey&&t.which===e&&t.preventDefault(),t.metaKey&&t.which===e&&t.preventDefault()})),document.keypress=function(t){return(!t.ctrlKey||t.which!==e)&&(!t.metaKey||t.which!==e)&&void 0}}return{init:function(e){e.disableSelectAll&&t(65),e.disableCopy&&t(67),e.disableCut&&t(88),e.disablePaste&&t(86),e.disableSave&&t(83),e.disableViewSource&&t(85),e.disablePrintPage&&t(80),e.disableDeveloperTool&&function(){function e(){try{return window.self!==window.top}catch(e){return!0}}function t(){e()||(null!=document.body&&document.body.parentNode.removeChild(document.body),null!=document.head&&document.head.parentNode.removeChild(document.head))}hotkeys("command+option+j,command+option+i,command+shift+c,command+option+c,command+option+k,command+option+z,command+option+e,f12,ctrl+shift+i,ctrl+shift+j,ctrl+shift+c,ctrl+shift+k,ctrl+shift+e,shift+f7,shift+f5,shift+f9,shift+f12",(function(e){e.preventDefault()})),devtoolsDetector.addListener((function(e){e&&t()})),devtoolsDetector.launch()}(),e.disableReaderMode&&navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome")&&window.addEventListener("keydown",(function(e){(e.ctrlKey||e.metaKey)&&e.shiftKey&&82===e.keyCode&&e.preventDefault()})),e.disableRightClick&&function(){document.oncontextmenu=function(e){let t=e||window.event;if("A"!==(t.target||t.srcElement).nodeName)return!1},document.body.oncontextmenu=function(){return!1},document.onmousedown=function(e){if(2===e.button)return!1};let e=setInterval((function(){null===document.oncontextmenu&&(document.body.parentNode.removeChild(document.body),document.head.parentNode.removeChild(document.head),clearInterval(e))}),500)}(),e.disableTextSelection&&function(){if(void 0!==document.body.onselectstart?document.body.onselectstart=function(){return!1}:void 0!==document.body.style.MozUserSelect?document.body.style.MozUserSelect="none":void 0!==document.body.style.webkitUserSelect?document.body.style.webkitUserSelect="none":document.body.onmousedown=function(){return!1},navigator.userAgent.search("Safari")>=0&&navigator.userAgent.search("Chrome")<0)return;document.documentElement.style.webkitTouchCallout="none",document.documentElement.style.webkitUserSelect="none";let e=document.createElement("style");e.type="text/css",e.innerText='\n *:not(input):not(textarea):not([contenteditable=""]):not([contenteditable="true"]) {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n }',document.head.appendChild(e)}(),e.disableImageDragging&&(document.ondragstart=function(){return!1})}(e)}};document.addEventListener("DOMContentLoaded",(function(){new t42ContentProtector({disableSelectAll:!0,disableCopy:!0,disableCut:!0,disablePaste:!0,disableSave:!0,disableViewSource:!0,disablePrintPage:!0,disableDeveloperTool:!0,disableReaderMode:!0,disableRightClick:!0,disableTextSelection:!0,disableImageDragging:!0})})), /*! * hotkeys-js v3.8.5 * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * * Copyright (c) 2021 kenny wong * http://jaywcjlove.github.io/hotkeys * * Licensed under the MIT license. */ function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).hotkeys=t()}(this,(function(){var e="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function t(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function n(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var o={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":e?173:189,"=":e?61:187,";":e?59:186,"'":222,"[":219,"]":221,"\\":220},i={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},u={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},c={16:!1,18:!1,17:!1,91:!1},a={},l=1;l<20;l++)o["f".concat(l)]=111+l;var f=[],s="all",d=[],p=function(e){return o[e.toLowerCase()]||i[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function h(e){s=e||"all"}function y(){return s||"all"}var b=function(e){var t=e.key,o=e.scope,u=e.method,c=e.splitKey,l=void 0===c?"+":c;r(t).forEach((function(e){var t=e.split(l),r=t.length,c=t[r-1],f="*"===c?"*":p(c);if(a[f]){o||(o=y());var s=r>1?n(i,t):[];a[f]=a[f].map((function(e){return(!u||e.method===u)&&e.scope===o&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i0,c)Object.prototype.hasOwnProperty.call(c,o)&&(!c[o]&&t.mods.indexOf(+o)>-1||c[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||c[16]||c[18]||c[17]||c[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function m(e){var t=a["*"],n=e.keyCode||e.which||e.charCode;if(w.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===f.indexOf(n)&&229!==n&&f.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=u[t];e[t]&&-1===f.indexOf(n)?f.push(n):!e[t]&&f.indexOf(n)>-1?f.splice(f.indexOf(n),1):"metaKey"===t&&e[t]&&3===f.length&&(e.ctrlKey||e.shiftKey||e.altKey||(f=f.slice(f.indexOf(n))))})),n in c){for(var r in c[n]=!0,i)i[r]===n&&(w[r]=!0);if(!t)return}for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(c[o]=e[u[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===f.indexOf(17)&&f.push(17),-1===f.indexOf(18)&&f.push(18),c[17]=!0,c[18]=!0);var l=y();if(t)for(var s=0;s1&&(s=n(i,e)),(e="*"===(e=e[e.length-1])?"*":p(e))in a||(a[e]=[]),a[e].push({keyup:v,keydown:g,scope:h,mods:s,shortcut:l[b],method:u,key:l[b],splitKey:k});void 0!==y&&!function(e){return d.indexOf(e)>-1}(y)&&window&&(d.push(y),t(y,"keydown",(function(e){m(e)})),t(window,"focus",(function(){f=[]})),t(y,"keyup",(function(e){m(e),function(e){var t=e.keyCode||e.which||e.charCode,n=f.indexOf(t);if(n>=0&&f.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&f.splice(0,f.length),93!==t&&224!==t||(t=91),t in c)for(var r in c[t]=!1,i)i[r]===t&&(w[r]=!1)}(e)})))}var g={setScope:h,getScope:y,deleteScope:function(e,t){var n,r;for(var o in e||(e=y()),a)if(Object.prototype.hasOwnProperty.call(a,o))for(n=a[o],r=0;r1?t-1:0),r=1;r1,u=/iphone/i.test(r.j),c=/android/i.test(r.j),a=/windows/i.test(r.j)},function(e,t,n){n.d(t,"a",(function(){return u}));var r=n(0),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function c(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(u,c)}a((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&!this._detectLoopStopped?this._timer=setTimeout((function(){return u._detectLoop()}),this._detectLoopDelay):this.stop(),[2]}}))}))},e}()},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var e=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function t(e){var t=e.replace(/^v/,"").replace(/\+.*$/,""),n=function(e,t){return-1===e.indexOf(t)?e.length:e.indexOf(t)}(t,"-"),r=t.substring(0,n).split(".");return r.push(t.substring(n+1)),r}function n(e){return isNaN(Number(e))?e:Number(e)}function r(t){if("string"!=typeof t)throw new TypeError("Invalid argument expected string");if(!e.test(t))throw new Error("Invalid argument not valid semver ('"+t+"' received)")}function o(e,o){[e,o].forEach(r);for(var i=t(e),u=t(o),c=0;cl)return 1;if(l>a)return-1}var f=i[i.length-1],s=u[u.length-1];if(f&&s){var d=f.split(".").map(n),p=s.split(".").map(n);for(c=0;cp[c])return 1;if(p[c]>d[c])return-1}}else if(f||s)return f?-1:1;return 0}var i=[">",">=","=","<","<="],u={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return o.validate=function(t){return"string"==typeof t&&e.test(t)},o.compare=function(e,t,n){!function(e){if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===i.indexOf(e))throw new TypeError("Invalid operator, expected one of "+i.join("|"))}(n);var r=o(e,t);return u[n].indexOf(r)>-1},o})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(10);n.d(t,"depRegToStringChecker",(function(){return r.a}));var o=n(11);n.d(t,"elementIdChecker",(function(){return o.a}));var i=n(12);n.d(t,"functionToStringChecker",(function(){return i.a}));var u=n(13);n.d(t,"regToStringChecker",(function(){return u.a}));var c=n(14);n.d(t,"debuggerChecker",(function(){return c.a}));var a=n(15);n.d(t,"dateToStringChecker",(function(){return a.a}));var l=n(16);n.d(t,"performanceChecker",(function(){return l.a}));var f=n(17);n.d(t,"erudaChecker",(function(){return f.a}))},function(e,t,n){n.d(t,"a",(function(){return f}));var r=n(0),o=n(2),i=n(1),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function c(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(u,c)}a((r=r.apply(e,t||[])).next())}))},c=this&&this.__generator||function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]100]}))}))},isEnable:function(){return o(this,void 0,void 0,(function(){return i(this,(function(e){return[2,!0]}))}))}}},function(e,t,n){n.d(t,"a",(function(){return s}));var r=n(0),o=n(2),i=n(1),u=n(3),c=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function c(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(u,c)}a((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]10*l]}))}))},isEnable:function(){return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,Object(i.b)({includes:[r.c],excludes:[]})]}))}))}}},function(e,t,n){n.d(t,"a",(function(){return i}));var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function c(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(u,c)}a((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]