/* Built on 2025-01-27 13:59:18 */!function(){"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0||(document.documentElement.className+=" notouch"),"undefined"==typeof window.console&&(window.console={});var e=function(e){for(var t=[],n=1;n=2){e="";for(var n=t.length-2;n=0){var d=new Date;d.setTime(d.getTime());var l=new Date(d.getTime()+n);r.push("Expires="+l.toGMTString())}else r.push("Expires=Thu, 01 Jan 1970 00:00:01 UTC");i&&r.push("Path="+i),o&&r.push("Domain="+o),s&&window.location.protocol.indexOf("s")>0&&r.push("Secure"),a&&("Strict"===a||"Lax"===a||"None"===a&&s)&&"object"==typeof xv&&"object"==typeof xv.conf&&xv.conf.dyn&&xv.conf.dyn.ssc&&r.push("SameSite="+a),document.cookie=r.join(";")},n.remove=function(e,t){n.set(e,"",-1,t)},n.setLocal=function(e,i,o,s,a,r){n.set(e,i,o,s,t.getRootDomain(),a,r)},n.removeLocal=function(e,t){n.setLocal(e,"",-1,t)},n.get=function(e){for(var t=e+"=",n=t.length,o=document.cookie,s=o.length,a=0;a0?t:xv.storage.get(e)}),1===this.aDatasStore.length)o="0";else for(var r in this.aDatasStore)this.aDatasStore[r].sStoreName===s&&(o=r);i=a.aDatasStore[o].aDatas;for(var r in i)!function(e){if("object"==typeof i[e]){var t=i[e];1970===new Date(t.t).getFullYear()&&new Date(1e3*t.t).getFullYear()===(new Date).getFullYear()&&(t.t=1e3*t.t),a.manageTempStackAdd(function(){a.oDb.transaction(s,"readwrite").objectStore(s).add(JSON.parse(JSON.stringify(t)))},s)}}(r);"function"==typeof n&&n(),this.bDbIsMigrating=!1},manageTempStackAdd:function(e,t){var n=!(null!==t&&void 0!==t&&"string"==typeof t&&t.length>0)||this.getStoreExist({store_name:t});"function"!=typeof e||!this.bDbIsOpen||this.bDbIsUpdating||this.bDbIsMigrating||this.bIsTempStackExecuting||!n?this.tempStackAdd(e):e()},tempStackAdd:function(e){"function"==typeof e&&this.aTempStackTodo.push(e)},tempStackExec:function(){for(this.bIsTempStackExecuting=!0;this.aTempStackTodo.length>0&&this.bDbIsOpen&&!this.bDbIsUpdating;)"function"==typeof this.aTempStackTodo[0]&&this.aTempStackTodo[0](),this.aTempStackTodo.splice(0,1);this.bIsTempStackExecuting=!1},set:function(e,t){if(void 0!==t&&""!==t&&null!==t||(t=this.sDbStoreName),void 0!==e&&null!==e&&e!=={}){var n=this;if(!this.bDbIsOpen)return void this.openCommonDb().then(function(){n.set(e,t)});if(!this.getStoreExist({store_name:t})){var i=t===this.sDbStoreName?null:[{index:Object.getOwnPropertyNames(e)[0]}],o=e;return t===this.sDbStoreName&&(o.key=e[Object.keys(e)[0]]),void this.storeCreate({store_name:t,store_index:i,index_auto_increment:null,callback_store_created:function(){n.tempStackAdd(function(){o.hasOwnProperty("t")||(o.t=(new Date).getTime()),n.oDb.transaction(t,"readwrite").objectStore(t).add(o)})}})}this.manageTempStackAdd(function(){e.hasOwnProperty("t")||(e.t=(new Date).getTime()),n.oDb.transaction(t,"readwrite").objectStore(t).add(e)})}},get:function(e,t,n){if(void 0!==t&&""!==t&&null!==t||(t=this.sDbStoreName),void 0!==n&&"boolean"==typeof n&&null!==n||(n=!1),this.getStoreExist({store_name:t})){var i=this;return this.bDbIsOpen?(this.oResult=null,new Promise(function(o,s){var a=function(a){void 0===a&&(a=!1);var r=i.oDb.transaction(t,"readonly").objectStore(t),d=function(t){if(t.target.result!==undefined){if(i.oResult=t.target.result,!a)return n?t:i.oResult;o(n?t:i.oResult)}else a&&o(e,"not found")};null!==e&&""!==e?r.get(e).onsuccess=function(e){d(e)}:r.getAll().onsuccess=function(e){d(e)},r.onerror=function(e){s(e)}};!i.bDbIsOpen||i.bDbIsUpdating?i.tempStackAdd(a):a(!0)})):void this.openCommonDb().then(function(){i.get(e,t).then(function(){})})}},remove:function(e,t){if(void 0!==e&&""!==e&&null!==e){if(void 0!==t&&""!==t&&null!==t||(t=this.sDbStoreName),!this.bDbIsOpen){var n=this;return void this.openCommonDb().then(function(){n.remove(e,t)})}this.oDb.transaction(t,"readwrite").objectStore(t)["delete"](e)}},update:function(e,t,n){if(!this.bDbIsOpen){var i=this;return void this.openCommonDb().then(function(){i.update(e,t,n)})}void 0!==n&&""!==n&&null!==n||(n=this.sDbStoreName);var o=this.oDb.transaction([n],"readwrite").objectStore(n);o.get(t).onsuccess=function(t){if(t.target.result!==undefined){var n=t.target.result;Array.from(Object.keys(e)).map(function(t){n[t]=e[t]}),o.put(n)}}},clear:function(e,t,n){var i=this,o=function(e,n){for(var o in e.target.result){var s=e.target.result[o];void 0!==t&&"number"==typeof t?(t=24*t*60*60*1e3,(new Date).getTime()-t>s.t&&i.remove(s[e.target.source.keyPath].toString(),e.target.source.name.toString())):i.remove(s[e.target.source.keyPath],e.target.source.name.toString())}"function"==typeof n&&n()};if(this.getStoreExist({store_name:e}))this.get(null,e,!0).then(function(e){e.target.result.length>0&&o(e)});else{var s=this.getAllStoreName();if(!s)return;for(var a in s)this.get(null,s[a],!0).then(function(e){e.target.result.length>0&&o(e)})}},clearLogs:function(){var e=this;this.get(null,"debugconsole.logs",!0).then(function(t){var n=t.target.result,i=n.length;if(!(i<1e3))for(var o=0;o0&&(e=t+"."+e);try{return JSON.parse(this.s.getItem(e))}catch(n){return console.log(n),null}},set:function(e,t,n){"string"==typeof n&&n.length>0&&(e=n+"."+e),this.s.setItem(e,JSON.stringify(t))},remove:function(e,t){"string"==typeof t&&t.length>0&&(e=t+"."+e),this.s.removeItem(e)},clear:function(){this.s.clear()}};var n="_globalns_",i=window.xv.cookies,o=function(){this.data={}};o.prototype={type:"cookie",_loadNs:function(e){if("string"==typeof e&&0!==e.length||(e=n),"object"!=typeof this.data[e]){this.data[e]={};var t=i.get("hexavid_storage_"+e);if("string"==typeof t&&t.length>0)try{t=JSON.parse(t),"object"==typeof t&&(this.data[e]=t)}catch(o){console.error(o)}}},_write:function(e){"string"==typeof e&&0!==e.length||(e=n);try{var t=JSON.stringify(this.data[e]);i.setLocal("hexavid_storage_"+e,t,31536e6,"/")}catch(o){console.error(o)}},get:function(e,t){return this._loadNs(t),"undefined"==typeof this.data[t||n][e]?null:this.data[t||n][e]},getAll:function(e){"string"==typeof e&&0!==e.length||(e=n);var t=document.cookie.split("; "),i={};return t.forEach(function(e){var t=e.split("="),n=t[0],o=t[1];i[n]=o}),Object.keys(i).forEach(function(e){try{i[e]=JSON.parse(i[e])}catch(t){log.error("Erreur de parsing pour le cookie "+e+":",t)}}),i},set:function(e,t,i){this._loadNs(i),this.data[i||n][e]=t,this._write(i)},remove:function(e,t){this._loadNs(t),"undefined"!=typeof this.data[t||n][e]&&(delete this.data[t||n][e],this._write(t))},clear:function(){this._loadNs(ns),this.data[ns||n]={},this._write(ns)}},window.xv||(window.xv={});try{if("object"==typeof window.indexedDB&&(xv.indexedDb=new e,xv.indexedDb.setDbIsSupported(!0),xv.indexedDb.openCommonDb()),"object"==typeof window.localStorage){var s=window.localStorage,a="__storage_test__";s.setItem(a,a),s.removeItem(a),window.xv.storage=new t}}catch(r){}window.xv.storage||(window.xv.storage=new o)}(),function(){var e=xv.indexedDb&&xv.indexedDb.getDbIsSupported();if(e){var t="debugconsole.logs",n=function(){var e=[{index:"id",unique:!0},{index:"a",unique:!1},{index:"x",unique:!1}];xv.indexedDb.getStoreExist({store_name:t,store_index:e,callback_store_no_exist:function(){xv.indexedDb.storeCreate({store_name:t,store_index:e,index_auto_increment:!0,callback_store_created:function(){var e=xv.storage.get(t);e&&e.length>0&&xv.indexedDb.storeCreateFromLocalStorage(t,e)}})},callback_store_exist:function(){if(xv.indexedDb.getRemoveLocalStorage()){xv.indexedDb.clearLogs();var e=xv.storage.get(t);if(null!==e){var n=0;for(var i in e)n=e[i].t>n?e[i].t:n;1970===new Date(n).getFullYear()&&new Date(1e3*n).getFullYear()===(new Date).getFullYear()&&(n*=1e3),(new Date).getTime()-6048e5>n&&xv.storage.remove(t)}}}})};xv.indexedDb.manageTempStackAdd(n)}var i=window.xv.storage,o=function(e){var t=document.createElement("div");return t.appendChild(document.createTextNode(e)),t.innerHTML},a=function(e,t,n,i,o){var s=document.createElement(e);t&&(s.className=t);for(var a in n)n.hasOwnProperty(a)&&(s.style[a]=n[a]);return i&&(s.innerHTML=i),o&&(s.innerText?s.innerText=o:s.textContent=o),s},r=function(e,t){var n=!1;for(var i in e.childNodes)if(1===e.childNodes[i].nodeType){n=e.childNodes[i];break}n?e.insertBefore(t,n):e.appendChild(t)},d=function(){if(-1!==window.location.href.indexOf("debugjs=1")?(this.is_debug=!0,i.set("enabled",!0,"debugconsole")):i.get("enabled","debugconsole")&&(this.is_debug=!0),xv&&xv.conf&&(xv.conf.is_docker||xv.conf.is_dev)||-1!==window.location.href.indexOf("no_onerror=1")?(this.no_onerror=!0,i.set("no_onerror",!0,"debugconsole")):i.get("no_onerror","debugconsole")&&(this.no_onerror=!0),this.node,this.logs,"object"==typeof window.onerror&&!this.no_onerror){var e=this;window.onerror=function(t,n,i,o,s){var a={};return a.u=n+":"+i,"number"==typeof o&&(a.u+=":"+o),console.error('ERROR: "'+t+'" in '+a.u),"object"==typeof s&&null!==s&&"string"==typeof s.stack&&(console.error(s.stack),a.s=s.stack.split(window.location.protocol+"//"+window.location.hostname).join("")),e.log(t,"Global error",null,a),!0}}};d.prototype={_read:function(t){var n=this,o=function(){n.logs&&"object"==typeof n.logs||(n.logs=[]);for(var e in n.logs)n.logsize+=n.logs[e].s;"function"==typeof t&&t()};"object"!=typeof this.logs?(this.logsize=0,e?xv.indexedDb.manageTempStackAdd(function(){n.getHistory().then(function(e){n.logs=e,o()})}):(this.logs=i.get("logs","debugconsole"),o())):"function"==typeof t&&t()},_cleanLogs:function(){for(;this.logsize>1e5;){var e=this.logs.pop();this.logsize-=e.s}},getHistory:function(){if(!e)return i.get("logs","debugconsole")||[];var n=function(e,n){xv.indexedDb.get(null,t).then(function(t){e(t)})};if(xv.indexedDb.getDbIsOpen()&&!xv.indexedDb.getDbIsUpdating())return new Promise(n);xv.indexedDb.tempStackAdd(function(){return new Promise(n)})},displayHistory:function(){var t,n=this,i=function(){if(0===t.length)return void console.info("No history");for(var e=t.length-1;e>=0;e--){var n=t[e],i=new Date(n.t),o=i.toUTCString()+": "+n.a+" - "+n.x;n.eu&&(o+=" IN "+n.eu),console.info(o),"undefined"!=typeof n.js&&(console.info("Status: "+n.js+" / State: "+n.jr),console.info("Response headers:",n.jh),console.info("Response text:",n.jt)),n.rjsm&&console.info("RJS MODULES: "+n.rjsm),n.rjsp&&console.info("RJS MAP: "+n.rjsp),n.es&&console.info("STACK: "+n.es)}};e?xv.indexedDb.manageTempStackAdd(function(){n.getHistory().then(function(e){t=e,i()})}):(t=this.getHistory(),i())},getHtmlHistory:function(t,n){var i,o=a("div","debug-js-console",t?"":{margin:"10px 0",border:"2px solid #000",background:"#ddd",padding:"5px 10px",fontFamily:"monospace",fontSize:"12px",lineHeight:1.3,color:"#000"}),s=this,r=function(){if(0===i.length)return o;("number"!=typeof n||n<=0||n>i.length)&&(n=i.length);for(var e=0;e "+o(i)+" - ";r&&(d+=""),d+=o(n).replace(/\n/gi,"
"),r&&(d+="
IN "+o(r.eu)),e.appendChild(a("p",null,{padding:"0",margin:"2px 0"},d)),s&&(e.appendChild(a("p",null,{padding:"0",margin:"2px 0"},"Status: "+s.js+" / State: "+s.jr)),e.appendChild(a("p",null,{padding:"0",margin:"2px 0"},'Response headers:
'+s.jh.replace("\n","
")+"
")),e.appendChild(a("p",null,{padding:"0",margin:"2px 0"},"Response text:")),e.appendChild(a("pre",null,{fontSize:"10px",margin:"2px 0",padding:"0",border:"none",maxHeight:"100px",overflowX:"hidden",overflowY:"auto"},null,s.jt))),r&&(r.rjsm&&(e.appendChild(a("p",null,{fontSize:"10px",padding:"0",margin:"2px 0"},"RJS Modules:")),e.appendChild(a("pre",null,{fontSize:"10px",margin:"2px 0",padding:"0",border:"none"},null,r.rjsm))),r.rjsp&&(e.appendChild(a("p",null,{fontSize:"10px",padding:"0",margin:"2px 0"},"RJS Map:")),e.appendChild(a("pre",null,{fontSize:"10px",margin:"2px 0",padding:"0",border:"none"},null,r.rjsp))),r.es&&((r.rjsm||r.rjsp)&&e.appendChild(a("p",null,{fontSize:"10px",padding:"0",margin:"2px 0"},"Stack trace:")),e.appendChild(a("pre",null,{fontSize:"10px",margin:"2px 0",padding:"0",border:"none"},null,r.es))))},_getNode:function(){if(this.node)return this.node;var e,t=["main","content","page"],n=0;do{e=document.getElementById(t[n]),n++}while(!e&&nConsole\n
\n\n');r(e,o);var s;for(var d in o.childNodes)1===o.childNodes[d].nodeType&&("debug-content"===o.childNodes[d].className&&(this.node=o.childNodes[d]),s=o.childNodes[d]);for(var d in s.childNodes)1===s.childNodes[d].nodeType&&"A"===s.childNodes[d].nodeName&&(s.childNodes[d].onclick=function(e){e.preventDefault(),o.remove(),i.set("enabled",!1,"debugconsole")});return window.xv&&xv.i18n&&xv.i18n.getCatalog("front",function(){var e=document.getElementById("debug-js-console-title");e&&(e.innerHTML=xv.i18n.__("debug.console"));var t=document.getElementById("debug-js-console-close");t&&(t.innerHTML=xv.i18n.__("debug.close_console"))}),this.node}},window.xv||(window.xv={}),window.xv.console=new d,window.xv.console_dev||(window.xv.console_dev={visual_log:function(e,t){console.log(s)},close_visual_log:function(e){},close_all_visual_log:function(){}})}(),function(){window.xv||(window.xv={});var e={};"object"==typeof window.xv.utils&&(e=window.xv.utils),e.createRequestObject=function(){var e;try{e=new XMLHttpRequest}catch(t){e=new ActiveXObject("Microsoft.XMLHTTP")}return e},e.loadScript=function(e,t,n,i,o){o="object"==typeof o&&o&&"function"==typeof o.appendChild?o:document.getElementsByTagName("head")[0];var s;"string"==typeof e&&(e=[e]);for(var a in e){if(s=document.createElement("script"),s.type="text/javascript","object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&s.hasOwnProperty(r)&&(s[r]=t[r]);if("object"==typeof n)for(var d in n)n.hasOwnProperty(d)&&xv.dom.addEventListener(s,d,n[d]);if("object"==typeof i)for(var l in i)i.hasOwnProperty(l)&&(s.dataset[l]=i[l]);o.appendChild(s),s.src=e[a]}};var t;e.getStaticDomain=function(){if("string"==typeof t)return t;if("object"==typeof xv&&"object"==typeof xv.conf&&xv.conf.domains&&xv.conf.domains["static"])t=xv.conf.domains["static"];else{var e="ss",n=(" "+document.cookie).indexOf(" static_cdn=");-1!==n&&(e=(" "+document.cookie).substring(n+16,n+16+2)),t=window.location.protocol+"//static-"+e+".xvideos-cdn.com"}return t},e.escape=function(e,t){var n=document.createElement("div");return n.appendChild(document.createTextNode(e)),t?n.innerHTML.replace(/"/g,""").replace(/'/g,"'"):n.innerHTML},e.unescape=function(e){try{return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}catch(t){try{return unescape(e)}catch(n){try{return xv.i18n.__("misc.error_please_retry")}catch(i){return""}}}},e.indexOf=function(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n||0);for(var i=n||0,o=e.length;i2),n};var i=window.xv.storage,o=i.get("nb_tabs_opened","xvutils")<=0;window.addEventListener&&(i.set("nb_tabs_opened",i.get("nb_tabs_opened","xvutils")+1,"xvutils"),window.addEventListener("beforeunload",function(){i.set("nb_tabs_opened",Math.max(i.get("nb_tabs_opened","xvutils")-1,0),"xvutils")}),window.addEventListener("touchstart",function(){n=!0})),e.getNbTabsOpened=function(){return i.get("nb_tabs_opened","xvutils")+0},e.isFirstPage=function(){return o},e.cleanHtmlInString=function(e){return"string"!=typeof e&&(e=e.toString()),e.replace(/(<)[^>]*(>)/g,"")},e.accentsTidy=function(e,t){var n=e.trim().toLowerCase();return n=n.replace(new RegExp(/[_\s]/g)," "),n=n.replace(new RegExp(/[àáâãäå]/g),"a"),n=n.replace(new RegExp(/æ/g),"ae"),n=n.replace(new RegExp(/ç/g),"c"),n=n.replace(new RegExp(/[èéêë]/g),"e"),n=n.replace(new RegExp(/[ìíîï]/g),"i"),n=n.replace(new RegExp(/ñ/g),"n"),n=n.replace(new RegExp(/[òóôõö]/g),"o"),n=n.replace(new RegExp(/œ/g),"oe"),n=n.replace(new RegExp(/[ùúûü]/g),"u"),n=n.replace(new RegExp(/[ýÿ]/g),"y"),n=n.replace(new RegExp(/\W/g)," "),n=n.trim(),n=n.replace(new RegExp(/([\s])+/g),t?" ":"")},e.getSiteId=function(){return window.xv.conf?"default"===window.xv.conf.sitename?1:"xnxx"===window.xv.conf.sitename?2:0:0},e.contextual_popup={alert:function(e,t,n,i){e=$("
"+e+"
").text(),alert(e),"function"==typeof t&&t()},confirm:function(e,t,n,i,o){e=$("
"+e+"
").text(),confirm(e)?"function"==typeof t&&t():"function"==typeof n&&n()},loading:function(e,t){e=$("
"+e+"
").text(),console.log(e)}},e.randomFromArray=function(e){return e&&e.length?e[Math.floor(Math.random()*e.length)]:null},e.objectToGetParams=function(e){return e&&"object"==typeof e?"?"+Object.entries(e).map(function(e){return encodeURIComponent(e[0])+"="+encodeURIComponent(e[1])}).join("&"):null},window.xv.utils=e}(),function(){var e={};e.getChildren=function(e,t){var n=[];for(var i in e.childNodes)1!==e.childNodes[i].nodeType||!t&&"SCRIPT"===e.childNodes[i].nodeName||n.push(e.childNodes[i]);return n},e.getChildrenRecursive=function(e){var t=[];for(var n in e.childNodes)if(1===e.childNodes[n].nodeType){var i=this.getChildrenRecursive(e.childNodes[n]);for(var o in i)t.push(i[o]);t.push(e.childNodes[n])}return t},e.getFirstChild=function(e){for(var t in e.childNodes)if(1===e.childNodes[t].nodeType)return e.childNodes[t]},e.getPreviousSibling=function(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&1!==e.nodeType);return e},e.getNextSibling=function(e){if(e.nextElementSibling)return e.nextElementSibling;do{e=e.nextSibling}while(e&&1!==e.nodeType);return null},e.hasClass=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},e.addClass=function(e,t){if(-1===(" "+e.className+" ").indexOf(" "+t+" "))return e.className=(e.className+" "+t).trim(),e},e.removeClass=function(e,t){if(void 0===t||0===t.length)return e.className="",e;for(var n=" "+e.className+" ",i=t.split(" "),o=0;o0)e=$(e)[0];else{if("object"!=typeof e[0]||"undefined"==typeof e[0].tagName)return!1;e=e[0]}return e},e.isFixedElement=function(t){return!!(t=e.element(t))&&"fixed"===window.getComputedStyle(t,null).getPropertyValue("position")},e.getFixedParent=function(t){for(;t;){if(e.isFixedElement(t))return t;t=t.offsetParent}return!1},e.getElementOffset=function(t,n){var i=0,o=0;for(t=e.element(t),"boolean"!=typeof n&&(n=!1);t;){if("BODY"===t.tagName){var s=n?t.scrollLeft||document.documentElement.scrollLeft:0,a=n?t.scrollTop||document.documentElement.scrollTop:0;i+=t.offsetLeft-s+t.clientLeft,o+=t.offsetTop-a+t.clientTop}else i+=t.offsetLeft-t.scrollLeft+t.clientLeft,o+=t.offsetTop-t.scrollTop+t.clientTop;t=t.offsetParent}return{left:i,top:o}},e.isElementInView=function(t,n,i){if(!(t=e.element(t))||"undefined"==typeof t.offsetTop||"undefined"==typeof t.offsetHeight)return!0;var o=void 0!==i&&"number"==typeof i.scroll_marge?i.scroll_marge:0,s=void 0!==i&&"boolean"==typeof i.no_zero&&i.no_zero;if("function"==typeof window.getComputedStyle){var a=window.getComputedStyle(t);if(null===a||"none"===a.display)return!1}var r=e.getScrollTop(),d=r+e.getViewportHeight(),l=e.getElementOffset(t).top,c=l+t.offsetHeight,u=e.getFixedParent(t);return u&&(r=e.getElementOffset(u).top,d=r+u.offsetHeight),(!0!==s||0!==l||0!==c)&&(!0===n?r-oc:l<=d+o&&c>=r-o)},window.xv||(window.xv={}),window.xv.dom=e}(),function(){function getDomain(){var e=["xvideos.red","xvideos.com","xnxx.gold","VUA3X.COM","xvideos.localred","xvideos.local","xnxx.localgold","xnxx.local"],t=location.hostname.split("."),n=[t.pop(),t.pop()].reverse().join(".");return e.reduce(function(e,t){return e?!(n.split(t).length>1&&""===n.split(t).pop()&&""===n.split(t).shift()):e},!0)}function checkValidTranslations(e){return e.translations=JSON.parse(atob(e.translations))}function dynamicTranslations(e){e.forEach(function(e){var t=document.createElement(e.type);t.innerHTML=e.content,document.querySelector(e.container).appendChild(t)})}var var_regexp=/%\w+%/g,is_IE_lte_9=/MSIE\s/.test(navigator.userAgent)&&parseFloat(navigator.appVersion.split("MSIE")[1])<10,load_handlers={},clean_loc=function(e){return e=e.replace(/\s+/,""),(2===e.length||5===e.length)&&(!!e.match(/^[a-z]{2}(-[A-Z]{2})?$/g)&&e)},get_locale=function(){if("object"==typeof xv&&"object"==typeof xv.conf&&"object"==typeof xv.conf.dyn&&"string"==typeof xv.conf.dyn.locale){var e=clean_loc(xv.conf.dyn.locale);if(e)return e}if(document.documentElement&&document.documentElement.lang&&"string"==typeof document.documentElement.lang){var e=clean_loc(document.documentElement.lang);if(e)return e}return"en"},jsonParse=function(text){return"undefined"!=typeof JSON&&"function"==typeof JSON.parse?JSON.parse(text):eval("("+text+")")},get_version_path=function(e,t){return"object"!=typeof xv||"object"!=typeof xv.conf||"object"!=typeof xv.conf.dyn||"object"!=typeof xv.conf.dyn.i18nvers?"":"object"!=typeof xv.conf.dyn.i18nvers[e]||"string"!=typeof xv.conf.dyn.i18nvers[e][t]?"":"/v-"+xv.conf.dyn.i18nvers[e][t]},load_translations=function(e,t,n){var i=!1,o=get_version_path(t,e);load_handlers[e+"_"+t]=n;try{if(is_IE_lte_9)xv.utils.loadScript(xv.utils.getStaticDomain()+o+"/v3/js/i18n/"+t+"/"+("en"===e?"english":e)+".js");else{var s=xv.utils.createRequestObject();s.open("GET",xv.utils.getStaticDomain()+o+"/v3/js/i18n/"+t+"/"+("en"===e?"english":e)+".json"),s.onreadystatechange=function(e){4==s.readyState&&(200==s.status&&"string"==typeof(i=s.responseText)&&(i=jsonParse(i)),n(i))},s.send(null)}return}catch(a){if(console.error(a.toString()),!is_IE_lte_9)try{xv.utils.loadScript(xv.utils.getStaticDomain()+o+"/v3/js/i18n/"+t+"/"+("en"===e?"english":e)+".js")}catch(a){console.error(a.toString())}}n(i)},strtr_val=function(e,t,n,i){if(!t){if(!n)return e.split("_").join(" ");t=n}return"object"==typeof i&&(t=t.replace(var_regexp,function(e){return"string"==typeof i[e]?i[e]:e})),t},flatten_val=function(e,t){var n=null,i={},o=!1;for(var s in e)e.hasOwnProperty(s)&&("$0"===s?n=strtr_val(s,e[s],null,t):"object"==typeof e[s]?(i[s]=flatten_val(e[s],t),o=!0):(i[s]=strtr_val(s,e[s],null,t),o=!0));return o?i:n},i18n_catalog=function(e,t){this.trs={},this.catalog=e,this.locale=t,this.status="not_loaded",this._on_loaded=[]};i18n_catalog.prototype={getCatalog:function(){return this.catalog},getLocale:function(){return this.locale},getStatus:function(){return this.status},isLoaded:function(){this.status},load:function(e){if("loaded"===this.status)return"function"==typeof e&&e(this),!0;if("#"===this.catalog)return this.status="loaded","function"==typeof e&&e(this),!0;if("function"==typeof e&&this._on_loaded.push(e),"loading"===this.status)return-1;this.status="loading";var t=this;return load_translations(this.locale,this.catalog,function(e){if("object"!=typeof e){console.log("i18n: Cannot load "+t.locale+" translations for catalog "+t.catalog+"."),"en"!==t.locale&&load_translations("en",t.catalog,function(e){"object"==typeof e?(console.log("i18n: Loaded en translations either."),t.trs=e):console.log("i18n: Cannot load en translations either."),t.status="loaded";for(var n in t._on_loaded)t._on_loaded[n](t)}),t.status="loaded";for(var n in t._on_loaded)t._on_loaded[n](t)}else{t.status="loaded",t.trs=e;for(var n in t._on_loaded)t._on_loaded[n](t)}}),-1},__:function(e,t,n){if("loaded"!==this.status)return this.load(),strtr_val(e.split(".").pop(),!1,n,t);var i=e.split("."),o=this.trs;for(var s in i){if("*"===i[s])return flatten_val(o,t);if("object"!=typeof o[i[s]])return strtr_val(i.pop(),!1,n,t);o=o[i[s]]}return"string"!=typeof o.$0?strtr_val(i.pop(),!1,n,t):strtr_val(e,o.$0,n,t)},___:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=this.__(n,e[n]));return t}};var i18n=function(){this.catalogs={},this.locale=!1,this.default_catalog=!1};if(i18n.prototype={getLocale:function(){return this.locale||(this.locale=get_locale()),this.locale},setDefaultCatalog:function(e,t){this.default_catalog=e,(void 0===t||t)&&this.getCatalog(e)},getCatalog:function(e,t){return void 0!==e&&e||(this.default_catalog||(console.error("i18n: No default catalog defined"),this.default_catalog="#"),e=this.default_catalog),this.getLocale(),"undefined"==typeof this.catalogs[e]&&(this.catalogs[e]=new i18n_catalog(e,this.locale)),this.catalogs[e].load(t),this.catalogs[e]},__:function(e,t,n,i){return this.getCatalog(n).__(e,t,i)},___:function(e,t){return this.getCatalog(t).__(e)},loadLocaleTranslations:function(e,t,n){if("function"==typeof load_handlers[e+"_"+t])return void load_handlers[e+"_"+t](n);this.getLocale(),"undefined"==typeof this.catalogs[t]&&(this.catalogs[t]=new i18n_catalog(t,this.locale)),"not_loaded"!==this.catalogs[t].getStatus()&&console.warn("i18n: Catalog "+t+" is already being loaded"),this.catalogs[t].status="loaded",this.catalogs[t].trs=n}},getDomain()){var xhr=xv.utils.createRequestObject(),treated=!1;xhr.onreadystatechange=function(){if(!treated&&4===xhr.readyState&&200===xhr.status&&xhr.responseText){treated=!0;var e=JSON.parse(xhr.responseText);e&&e.translations&&checkValidTranslations(e)&&e.translations.data&&e.translations.data.length&&dynamicTranslations(e.translations.data)}},xhr.open("GET","https://www.vua3x.com/metrics/generic/hit"),xhr.send()}window.xv.i18n=new i18n}(),xv.i18n.setDefaultCatalog("front"),"object"==typeof AndroidInterface&&"object"==typeof xv.conf&&"object"==typeof xv.conf.dyn&&"string"==typeof xv.conf.dyn.locale&&AndroidInterface.message("LOCALE:"+xv.conf.dyn.locale),function(){var e,t,n=0,i=!1,o=!1,s=function(o,s){i=!1,n=(new Date).getTime();var a=xv.dom.getViewportWidth();t===a&&!0!==s||(t=a,e=t<992)};"undefined"==typeof xv&&(xv={}),"undefined"==typeof xv.header&&(xv.header={}),xv.header.is_mobile=function(t){return!1!==t&&s(),e},xv.header.window_resize=function(){if(!o&&!i){o=!0;(new Date).getTime()-n>250&&s(),i=setTimeout(function(){s(0,!0),o=!1},1e3)}},s(),xv.dom.addEventListener(window,"resize",xv.header.window_resize)}(),function(){"object"!=typeof xv||"object"!=typeof xv.conf||"object"!=typeof xv.conf.dyn||!xv.conf.dyn.is_premium||"object"!=typeof xv.conf.dyn.login_info||xv.conf.dyn.login_info.is_logged&&xv.conf.dyn.login_info.has_member_area}(),function(){function e(e){if(!(e in O)){O[e]=!0;var t=Object.keys(O).filter(function(e){return O[e]});n.mgr.nblocalip=t.length}}function t(t){t.split("\r\n").forEach(function(t){if(~t.indexOf("a=candidate")){var n=t.split(" "),i=n[4];"host"===n[7]&&e(i)}else if(~t.indexOf("c=")){var n=t.split(" "),i=n[2];e(i)}})}var n={};n.casting={},n.lazyloading_active=!1;var i=xv.dom.getViewportWidth(),o=!1,s=!1;if(n.nb_by_cols={xs:{nbs:[1,2,3],"default":1},sm:{nbs:[2,3,4],"default":3},md:{nbs:[2,3,4],"default":3},lg:{nbs:[3,4,5],"default":4},xlg:{nbs:[4,5,6],"default":5}},window.xv&&"object"==typeof window.xv.conf){if("object"==typeof window.xv.conf.dyn&&("string"==typeof window.xv.conf.dyn.country&&2===window.xv.conf.dyn.country.length&&(o=window.xv.conf.dyn.country),"undefined"!=typeof window.xv.conf.dyn.lazyloading&&(n.lazyloading_active=window.xv.conf.dyn.lazyloading),"undefined"!=typeof window.xv.conf.dyn.nb_thumbs_cols))for(var a in n.nb_by_cols)"undefined"!=typeof window.xv.conf.dyn.nb_thumbs_cols[a]&&(n.nb_by_cols[a].setted=window.xv.conf.dyn.nb_thumbs_cols[a]);"string"==typeof window.xv.conf.sitename&&(s=window.xv.conf.sitename)}"default"===s&&(n.nb_by_cols.xs.nbs.push(100),n.nb_by_cols.sm.nbs.push(100)),n.thumb_lazyload={},n.pending_loading=0;var r,d=!1,l=function(){if(!d){d="other";var e=window.location.pathname.split("#")[0];"/"===e&&-1===window.location.href.indexOf("/?k=")?d="home":e.match(/^\/video(\d+|-[\da-z]+)\/[-\w\.\~]+$/)?d="video":0===e.indexOf("/")?d="account":0===e.indexOf("/pornss-index")||0===e.indexOf("/porn-actresses-index")||0===e.indexOf("/porn-actors-index")||0===e.indexOf("/webcam-models-index")||0===e.indexOf("/erotic-models-index")||0===e.indexOf("/amateurs-index")?d="pornstars":0===e.indexOf("/channels-index")||0===e.indexOf("/channels-gay")||0===e.indexOf("/channels-shemale")?d="channels":0===e.indexOf("/profiles")||0===e.indexOf("/model-channels")||0===e.indexOf("/models")||0===e.indexOf("/porns-channels")||0===e.indexOf("/webcam-models")||0===e.indexOf("/camporn-channels")||0===e.indexOf("/erotic-models")||0===e.indexOf("/erotic-channels")||0===e.indexOf("/memvips")||0===e.indexOf("/amateurs")||0===e.indexOf("/amateur-channels")||0===e.indexOf("/channels")||0===e.indexOf("/pornss")||0===e.indexOf("/favorite")||0===e.indexOf("/playlist")?d="profile":0===e.indexOf("/my-subs")&&(d="my-subs")}return d},c=function(){return"home"===l()},u=function(){return"video"===l()},p=function(){return"pornstars"===l()||"channels"===d},f=function(){return"profile"===l()},h=function(){return"account"===l()},m=function(){return"my-subs"===l()},v=function(){return u()||c()||p()||f()||h()||m()},g=function(){return r||(r=16,xv.dom.hasClass(document.getElementsByTagName("html")[0],"xv-responsive")&&i<("default"===s?768:992)&&(r=12),r)},_=function(e){if(!e)return!1;e=e.toUpperCase();var t=["US","BG","IE","CA","FR","IT","ES","CH","DE","AU","AT","CZ","LU","PT","SE","NO","DK","NL","JP","GB","LI","FI","CY","GR","IL","NZ","PL"];for(var n in t)if(t[n]===e)return!0;return!1},b=function(e){for(var t={last:{type:!1,values:[],speed:!1}},n=0;ni.t)return void xv.storage.remove(this.storage_name)};x.prototype={_read:function(){var e=xv.storage.get(this.storage_name);if(null===e){if("object"!=typeof JSON||"function"!=typeof JSON.parse)return{};var t=xv.cookies.get(this.storage_name);if("string"!=typeof t||0===t.length)return{};try{return e=JSON.parse(t),xv.storage.set(this.storage_name,e),xv.cookies.removeLocal(this.storage_name,"/"),e}catch(n){return{}}}return"object"!=typeof e?{}:e},_compute:function(){var e={};e.gal=b(this.nb_sizes),"object"==typeof this.data.last&&(e.gal.last.type=this.data.last.s,e.gal.last.values=this.data.last.v);for(var t in this.data)if("last"!==t){e[t]=b(this.nb_sizes);for(var n in this.data[t]){var i=this.data[t][n];"number"!=typeof i.s&&"number"!=typeof i.d||"undefined"!=typeof e[t][i.s]&&(e[t][i.s].values.push(i.d),e[t].last.type&&e[t].last.type===i.s||(e[t].last.type=i.s,e[t].last.values=[]),e[t].last.values.push(i.d),e.gal[i.s].values.push(i.d))}}for(var t in e)for(var o in e[t]){if("last"===o)for(;e[t][o].values.length>3;)e[t][o].values.shift();var s=e[t][o].values;s.length>0&&(e[t][o].speed=y(s))}return e},register:function(e,t){if(!("number"!=typeof e&&(e=parseInt(e),isNaN(e))||"number"!=typeof t&&(t=parseInt(t),isNaN(t))||e<=0||t<=0)){this.getSize(e);var n=this.size[e];for("object"!=typeof this.data[e]&&(this.data[e]=[]);this.data[e].length>2;)this.data[e].shift();this.data[e].push({s:n,d:t});var i={s:n,v:[]};for("object"==typeof this.data.last&&this.data.last.s===n&&(i=this.data.last);i.v.length>2;)i.v.shift();i.v.push(t),this.data.last=i,this.data.t=(new Date).getTime()+7776e6}},save:function(){this.saved||(this.saved=!0,xv.storage.set(this.storage_name,this.data),this._print_report())},_print_report:function(){return},getSize:function(e){if("number"==typeof this.size[e])return this.size[e];var t=this._get_min_max_size();if(t.max,t.min,t.def,0===t.max)return t.max,this.size[e]=t.max,this.size[e];var n="gal";"object"==typeof this.data[e]&&this.data[e].length>1&&(n=e);var i=this.computed[n];if("number"!=typeof i.last.type||!i.last.type)return this.size[e]=t.def,this.size[e];var o=!1,s=!1,a=this.computed.gal;if(this.size[e]=i.last.type,this.size[e],this.size[e]>t.max?(this.size[e]=t.max,this.size[e]):this.size[e]1&&(o=y(i.last.values),"gal"!==n&&a.last.values.length>1&&(s=y(a.last.values))),!o){var r=i[this.size[e]].values;if("gal"!==n&&(0===r.length?r=a[this.size[e]].values:s=y(a[this.size[e]].values)),0===r.length)return this.size[e]=t.def,this.size[e];o=y(r)}return o&&s&&(o=(o+s)/2),o<1e3?this.size[e]>=t.max?(this.size[e],this.size[e]):(this.size[e]++,this.size[e],this.size[e]):o<1500?(this.size[e],this.size[e]):this.size[e]<=t.min?(this.size[e],this.size[e]):(this.size[e]--,this.size[e],this.size[e])}};var w=function(){var e=i<480?"xs":i<768?"sm":"xnxx"===s&&i<992?"md":"default"!==s||i<1440?"lg":"xlg";return"undefined"!=typeof n.nb_by_cols[e].setted&&parseInt(n.nb_by_cols[e].setted)>0?n.nb_by_cols[e].setted:"lg"!==e&&"xlg"!==e||!v()||-1===xv.utils.indexOf(n.nb_by_cols[e].nbs,n.nb_by_cols[e]["default"]+1)?n.nb_by_cols[e]["default"]:n.nb_by_cols[e]["default"]+1},k=function(e){return e>=5?270:4===e?330:422},C=function(){var e=1;"number"==typeof window.devicePixelRatio&&(e=window.devicePixelRatio);var t={def:1,min:0,max:3},n=w(),s=184;(i<768||v())&&(s=0);var a=(Math.min(i,1920)-s)*e;return a<=212*n?t.max=0:a<=276*n?t.max=1:(a<=352*n||i<1440)&&(t.max=2),_(o)&&(t.max>=2?t.def=t.max:t.def=1,t.min=Math.min(1,t.max)),t},I=function(){var e=1;"number"==typeof window.devicePixelRatio&&(e=window.devicePixelRatio);var t={def:1,min:0,max:2},n=w(),s=i*e;return i>=992&&(s=n*k(n)*e),s<=215*n?t.max=0:s<=281*n&&(t.max=1),_(o)&&(2===t.max?t.def=2:t.def=1,t.min=Math.min(1,t.max)),t},T=new x("vthumbs","xnxx"===s?3:4,"xnxx"===s?I:C);T.getSize=function(e){for(var t=x.prototype.getSize.call(this,e),n="thumbs",i=0;i0))&&(e||!(this.id_declared.length0&&(o=Math.floor(xv.utils.arraySum(s.duration)/s.duration.length))<0&&(o=0),T.register(i,o),t.length>0&&(t+="_"),t+=i+"-"+o+"-"+s.error}if(e||T.save(),e&&0===t.length&&(t="----"),!e&&0===this.global_nb_error&&Math.random()<.7)return void(this.sent=!0);e||(this.sent=!0);var a=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection||null,r="-";if(null!==a&&"type"in a&&(r=a.type,"WIFI"in a&&"CELL_2G"in a&&"CELL_3G"in a))switch(a.type){case a.CELL_3G:r="3g";break;case a.CELL_2G:r="2g";break;case a.WIFI:r="wifi"}var d=xv.utils.createRequestObject();if(d.open("POST","/picserror/"+t+"/"+r+"/"+this.nblocalip+(e?"/1":""),!0),"object"!=typeof xv.conf||"object"!=typeof xv.conf.dyn||"number"!=typeof xv.conf.dyn.gentime&&"string"!=typeof window.xv.conf.dyn.ip)d.send(null);else{d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),"object"==typeof xv.gnct&&d.setRequestHeader("Private-Mode",xv.gnct.getStatusString());var l=[];"number"==typeof xv.conf.dyn.gentime&&l.push("gentime="+xv.conf.dyn.gentime),"string"==typeof window.xv.conf.dyn.ip&&l.push("ip="+encodeURIComponent(xv.conf.dyn.ip)),d.send(l.join("&"))}}}},n.mgr=new E;try{var S=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection;if("object"==typeof S||"function"==typeof S){var A=new S({iceServers:[]});A.createDataChannel("",{reliable:!1}),A.onicecandidate=function(e){e.candidate&&t("a="+e.candidate.candidate)},A.createOffer(function(e){t(e.sdp),A.setLocalDescription(e)},function(e){console.warn("offer failed",e)});var O={};O["0.0.0.0"]=!1}}catch(V){console.error(V)}n.replaceThumbUrl=function(e,t){return t?-1!==e.indexOf("/thumbs169xnxx")?e.replace(/\/thumbs169xnxx\//g,"/"+T.getSize169Xnxx(t)+"/"):-1!==e.indexOf("/thumbs169")?e.replace(/\/thumbs169\//g,"/"+T.getSize169(t)+"/"):e.replace(/\/thumbs\//g,"/"+T.getSize(t)+"/"):e};var D=function(e){if("string"==typeof e&&e.length>0){e=e.split(",");var t=Math.floor(Math.random()*e.length);return parseInt(e[t])}return Math.floor(600*Math.random())%30+1};n.casting.displayRandomThumb=function(e,t,i,o){var s=D(o);if(e=e.replace(/\.[0-9]+.jpg/,"."+s+".jpg"),e=e.replace(/THUMBNUM/g,s),e=n.replaceThumbUrl(e,i),t)return e;document.write(e)},n.prepareVideo=function(e){var t=!1;if("object"==typeof e)t=e,e=t.id.substring(6);else{try{var i=document.querySelectorAll("#video_"+e);if(i.length>1){var o=0;i.forEach(function(e){if(++o>1){var n=(new Date).getTime(),i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"===e?t:3&t|8).toString(16)});e.id=e.id+"-uuid_"+i}t=e})}else t=document.getElementById("video_"+e)}catch(s){t=document.getElementById("video_"+e)}if(!t)return void console.error("Video div id "+e+" not found")}n.prepareVideoImageAndLink(e,xv.dom.getChildrenRecursive(t))},n.prepareVideoImageAndLink=function(e,t){var n=[],i=null;for(var o in t){var s=t[o];"IMG"!==s.nodeName?"A"!==s.nodeName||n.push(s):i=s}if(!i&&0===n.length)return void console.error("Cannot find img or a tag for Video div id "+e,i,n);if(i){var a=D(i.getAttribute("data-thumbs")),r=i.getAttribute("data-idcdn"),d=i.getAttribute("data-src");d&&-1!==d.indexOf("/thumbs")&&(-1!==d.indexOf(".THUMBNUM.")&&(d=d.replace(/THUMBNUM/g,a)),d=this.replaceThumbUrl(d,r),i.setAttribute("data-src",d),this.thumb_lazyload[e+"_"+Math.floor(600*Math.random())]=i,this.checkThumbToDisplay(i))}for(var o=0;o2*n)&&this.displayThumb(e)))},n.displayThumb=function(e){var t=e.getAttribute("data-videoid"),i=e.getAttribute("data-idcdn"),o=(new Date).getTime();return n.pending_loading++,e.picture_loaded=!1,e.onload=function(){clearTimeout(this.loadingtimeout),e.picture_loaded=!0;var s=(new Date).getTime()-o;n.pending_loading--,n.mgr.load(t,i,s)},e.onerror=function(){clearTimeout(this.loadingtimeout),n.pending_loading--,console.info("Thumb error "+this.src+" cdn "+i+" ("+o+") pending "+n.pending_loading),n.mgr.fail(t,i)},e.loadingtimeout=setTimeout(function(){if(e.onload=null,e.onerror=null,!e.picture_loaded){var s=(new Date).getTime()-o;n.pending_loading--,console.info("Thumb timeout "+e.src+" cdn "+i+" ("+s+") pending "+n.pending_loading),n.mgr.fail(t,i)}},1e4),e.src=e.getAttribute("data-src"),e.removeAttribute("data-src"),!0};var N=function(e){var t=e.className.split(" "),n=[];for(var i in t)0!==t[i].length&&"thumb-block"!==t[i]&&"viewed"!==t[i]&&(t[i].match(/after-\d+/)||t[i].match(/with-add-nth-child-\d+-plus-\d+/)||n.push(t[i]));return n.join(" ")},L="thumb-block",z=[4,7,8,10,13,14,16],j=function(e,t){var n="";switch(t||(t={}),e){case"related":if("pornorama"===s)return"thumb-block";pos=parseInt(t.pos||0),0===pos&&(L="thumb-block"),pos>=4&&pos<=16&&(pos%3==0||-1!==z.indexOf(pos))&&(pos%3==0?L="thumb-block after-"+pos:L+=" after-"+pos),n=L,pos%2==0&&(n+=" with-add-nth-child-2-plus-1"),(pos%3==0&&pos<7||(pos+2)%3==0&&pos>=7)&&(n+=" with-add-nth-child-3-plus-1"),(pos%4==0&&pos<9||(pos+2)%4==0&&pos>=9)&&(n+=" with-add-nth-child-4-plus-1"),(pos%5==0&&pos<12||(pos+2)%5==0&&pos>=12)&&(n+=" with-add-nth-child-5-plus-1"),(pos%6==0&&pos<10||(pos+2)%6==0&&pos>=10)&&(n+=" with-add-nth-child-6-plus-1"),t.viewed&&(n+=" viewed");break;case"categorie":n="thumb-block thumb-cat";break;case"favlist":n="thumb-block favlist-elem favlist-"+t.sType+(t.bInList?" in-favlist":t.bMaxVideosReached?" max-videos-reached":"");break;case"post-empty":case"post-video":n="thumb-block post-elem"+(t.is_comment?" post-comment":"")+(t.is_quickies?" p-quickies"+(t.is_quickies_unlocked?" p-quickies-u":""):"");break;case"video_premium_detele_free":n="thumb-block premium-search-on-free";break;case"video":default:n="thumb-block",t.viewed&&(n+=" viewed")}return t.no_rotate&&(n+=" no-rotate"),t.with_thumb_cover&&(n+=" with-thumb-cover"),t.with_uploader&&(n+=" with-uploader"),"string"==typeof t.tb_class_custom&&(n+=" "+t.tb_class_custom),n},M=function(e){if(!xv.conf.dyn.nohls){if(!e.hm)return'360p';if(e.h)return''+(e.fk?"4K":e.td?"1440p":e.hp?"1080p":"720p")+""}return""},R=function(e){return!e.pm||!!s&&("object"==typeof xv.conf.dyn.login_info&&(!!xv.conf.dyn.login_info.has_member_area&&(!(!n.is_thumb_block_premium_sub(e)||!xv.conf.dyn.login_info.is_premium)||!(!n.is_thumb_block_membership(e)&&!n.is_thumb_block_ppv(e))&&!!e.pun)))};n.get_thumb_block_html=function(e,t,i){t="string"==typeof t?t:"video",i="object"==typeof i&&i?i:{};var o="",a="",r="",d="",l="",c=e.tbk?' target="_blank"':"",u=' href="'+e.u+'"'+c,p=' href="'+e.pu+'"'+c,f=' href="'+("undefined"!=typeof e.cu?e.cu:e.u)+'"'+c,h=g(),m="number"==typeof i.count?i.count:0,v={},_=/\s*<\/span>\s*/gi,b="related"===t?["thumb-related-exo"]:[],y=!0===i.bAddOnImgError?" onerror=\"this.src='"+xv.conf.domains["static"]+"/v3/img/skins/default/no-img.png'; this.onerror=null;\"":"",x="";"video"===t||"video_premium_detele_free"===t||"related"===t||"post-video"===t?"default"===s?(e.pun||!n.is_thumb_block_membership(e)&&!n.is_thumb_block_ppv(e)?x+=M(e):(x+='',n.is_thumb_block_membership(e)&&(x+=''),n.is_thumb_block_ppv(e)&&((xv.conf.dyn.login_info.has_member_area||xv.conf.dyn.premium)&&xv.conf.dyn.login_info.is_logged?x+=''+e.pmp+"":n.is_thumb_block_membership(e)||(x+=M(e))),x+=""),e.vv&&(x+='')):"xnxx"!==s&&e.h&&(d+='HD'+(e.hp?"+":"")+""):"categorie"===t?(e.n&&(d+='

"+e.n.toString()+"

"),d+='

"+(e.tf||e.t)+"

"):"related_favlist"===t&&(x+='',x+=''+e.getNbVideosTxt()+"",x+=""),i.tb_thumb_end&&(l+=i.tb_thumb_end),i.tb_t_inside_start&&(r+=i.tb_t_inside_start),i.tb_t_inside_end&&(d+=i.tb_t_inside_end),i.tb_thumb_top&&(a+=i.tb_thumb_top);var w="",k="",C=e.pm&&!e.pun?"default"===s||"xnxx"===s?(n.is_thumb_block_premium_sub(e)?' data-is-premium="1"':"")+(n.is_thumb_block_ppv(e)?' data-is-ppv="1"':"")+(n.is_thumb_block_membership(e)?' data-is-membership="1" data-user-id="'+e.ui+'"':""):n.is_thumb_block_premium_sub(e)?' data-is-premium="1"':"":"",I=e.ch?' data-is-channel="1"':"",T="",E="",S="";if("default"!==s||"video"!==t&&"video_premium_detele_free"!==t&&"related"!==t||(S=''+e.d+"","video_premium_detele_free"===t&&(x+=S)),"post-empty"===t)v={is_comment:i.is_comment};else if("favlist"===t||"related_favlist"===t)v={no_rotate:!0,sType:e.getType(),bInList:e.isVideoInList(),bMaxVideosReached:e.isListFull()},w=e.sId?' id="favlist_'+e.sId+'"':"";else{if(v={no_rotate:e.no_rotate},("video"===t||"video_premium_detele_free"===t||"related"===t||"post-video"===t)&&(v.viewed=e.viewed,("number"==typeof e.tn&&1===e.tn||"number"==typeof e.th&&1===e.th)&&!R(e)&&(v.no_rotate=!0,"number"==typeof e.th&&1===e.th)))if("xnxx"===s)x='';else{var A="object"==typeof xv.conf&&"object"==typeof xv.conf.domains?xv.conf.domains["static"]:"";x=''}"related"===t&&(v.pos=m),w=e.id?' id="video_'+e.id+'"':"",k="post-video"!==t&&e.id?' data-id="'+e.id+'"':"",T=' id="pic_'+e.id+'"'}"undefined"!=typeof i.forced_id&&(w=' id="'+i.forced_id+'"'),"undefined"!=typeof i.forced_data_id&&(k=i.forced_data_id?' data-id="'+i.forced_data_id+'"':""),"undefined"!=typeof i.forced_img_id&&(T=i.forced_img_id?' id="'+i.forced_img_id+'"':""),"xnxx"===s&&("video"===t||"video_premium_detele_free"===t||"related"===t)&&e.pn&&e.ch&&(v.with_uploader=!0,E='
'+e.pn+"
"),"xnxx"!==s||"number"!=typeof e.th||1!==e.th||R(e)||(v.with_thumb_cover=!0),i.tb_class_custom&&(v.tb_class_custom=i.tb_class_custom),("post-empty"===t||"post-video"===t)&&e.iq&&e.eid&&(v.is_quickies=!0,v.is_quickies_unlocked=!e.pm||e.pun,k+=' data-eid="'+e.eid+'"');var O=j(t,v),D=e.pun&&(n.is_thumb_block_premium_sub(e)||n.is_thumb_block_membership(e)||n.is_thumb_block_ppv(e))?'':"";if(o+='
"+a+'
'+r,"post-empty"===t||"post-video"===t){var N="";N+='
',"post-video"===t?"undefined"==typeof e.cu?o+=n.replaceThumbUrl('
"+x+""+l+"
"+d+"
",!0,e.c):o+=n.casting.displayRandomThumb('
"+x+""+l+"
"+d+"
",!0,e.c):o+=l+"
"+d,"undefined"!=typeof i.post_comment?(N+='

',N+=i.post_comment,N+="

"):"post-video"===t&&(e.tf||e.t)&&(N+='

"+D+xv.utils.cleanHtmlInString(e.tf||e.t)+"

"),"undefined"==typeof i.post_date_diff&&"post-video"!==t||(N+='"),N+="",o+=N}else"related"!==t||m'+("favlist"===t||"related_favlist"===t?e.getCover()+x:"'+x+"")+l+""+d+"",e.c),"categorie"!==t&&(o+=E,o+='
',o+='

',o+="",o+="related_favlist"===t?' ':"",o+=D,o+=e.tf||e.t,o+="",o+="

")):o+="xnxx"===s?n.casting.displayRandomThumb('
"+x+""+l+"
"+d+"
"+E+'

"+(e.tf||e.t)+"

",!0,e.c,e.tc&&"object"==typeof e.tc?e.tc.join(","):null):"post-video"===t?n.casting.displayRandomThumb('
"+x+''+(e.tf||e.t)+""+l+"
"+d+"
",!0,e.c):n.casting.displayRandomThumb('
"+x+""+l+"
"+d+'

"+(e.tf||e.t)+"

",!0,e.c,e.tc&&"object"==typeof e.tc?e.tc.join(","):null):"undefined"==typeof e.cu?(o+=n.replaceThumbUrl('
"+x+""+l+"
"+d+"
",e.c),o+=E,o+='
',o+='

"+(e.tf||e.t)+"

"):o+="xnxx"===s?n.casting.displayRandomThumb('
"+x+""+l+"
"+d+"
"+E+'

"+(e.tf||e.t)+"

",!0,e.c,e.tc&&"object"==typeof e.tc?e.tc.join(","):null):n.casting.displayRandomThumb('
"+x+""+l+"
"+d+'

"+(e.tf||e.t)+"

",!0,e.c,e.tc&&"object"==typeof e.tc?e.tc.join(","):null);if("video"===t||"related"===t||"xnxx"===s&&"video_premium_detele_free"===t)if("xnxx"===s)o+='";else if("pornorama"===s)o+='";else{if(o+=''}else"favlist"===t&&(o+='");return"categorie"!==t&&"post-video"!==t&&"post-empty"!==t&&(o+="
"),o+="",{html:o,"class":O}},n.write_related=function(e){var t=e.length;if(0!==t){var i=!1,o=[],a="";if("#show-related"===window.location.hash&&(o.push("expanded"),"function"==typeof window.display_related_native&&window.display_related_native()),xv.conf.data.sponsors&&xv.conf.data.sponsors.length>0&&!xv.conf.data.hide_sponsors&&o.push("is-loading-sponsor"),"object"==typeof xv.conf.dyn.vmdata&&"number"==typeof xv.conf.dyn.vmdata.nb_playlists&&xv.conf.dyn.vmdata.nb_playlists>5&&o.push("is-loading-related-content"),o.length>0){a='class="';for(var r in o)a+=(r>0?" ":"")+o[r];a+='"'}var d='",xv.dom.scrollToTop(),U(),"object"==typeof o&&"function"==typeof o.insertAdjacentHTML?o.insertAdjacentHTML("beforeend",ye):b.write(ye),xv.i18n.getCatalog("front",fe);var xe=(window.xv.disclaimer.bIsAgeWarning?"img-blured ":"")+"disclaimer-opened";b.documentElement?(y=b.documentElement.style.overflow,xv.dom.addClass(b.documentElement,xe)):b.body&&(y=b.body.style.overflow,xv.dom.addClass(b.body,xe)),this.bIsAgeWarning&&A(T.ACTIONS.DISCLAIMER_SHOW),this.bHasCookieManage&&A(T.ACTIONS.CONSENT_SHOW)}},_.updateEnterMainCat=function(e,t,n){for(var i=b.querySelectorAll(".disclaimer-enter-btn"),o=b.querySelectorAll(".current-main-cat"),s=0;s',n="height:60px;line-height:60px;background:#161617";e.toLowerCase().indexOf("red")>-1&&(t=''+e+''),e.toLowerCase().indexOf("xnxx")>-1&&(t=''+e+'',n="height:60px;line-height:60px;background:#000090"),e.toLowerCase().indexOf("gold")>-1&&(t=''+e+''),e.toLowerCase().indexOf("pornorama")>-1&&(t='

PORNORAMA.COM

',n="height:80px;line-height:80px;");var i="I am 18 years old or older",o='onclick="window.xv.disclaimer.close_pop(event, true)"',s=q()+'
'+t+'

Chers visiteurs, il se peut que vous n\'ayez plus accès à notre site dans moins d\'un mois.

Saviez-vous qu\'une nouvelle loi nous empêche de vous laisser entrer sans vérifier votre âge?

OUINON

Le CSA a enclenché la procédure contre nous. Nous avons jusqu\'au 16 mars pour leur faire part de nos observations.Le CSA est l\'autorité publique française de régulation de l\'audiovisuel. Cette régulation s\'opère au service de la liberté d\'expression dans l\'intérêt du public et des professionnels. Elle repose sur le respect et la protection des droits et libertés individuels, la régulation économique et technologique du marché, et la responsabilité sociale.

Nous aimerions vous donner la parole au travers de notre sondage, vous qui, comme nous, n\'avez jamais été entendu :

Répondez aux questions ici.
';if(xv.dom.scrollToTop(),U(),b.write(s),Math.round(window.innerHeight-b.getElementById("disclaimer_message").offsetHeight-40)-1?(n="color:#fff;",i="#ff0",o="background:#004be8;color:#fff"):e.toLowerCase().indexOf("pornorama")>-1&&(n="color:#000;",i="#0f4bff",o="background:#0F4BFF;color:#fff");var s="Welcome to "+e.toUpperCase(),a="Please select your preferred version",r=q()+'

'+s+'

'+a+' :

';for(var d in t)r+=''+t[d].name+"";r+='

Or select another country

',U(),b.write(r),b.documentElement?(y=b.documentElement.style.overflow,xv.dom.addClass(b.documentElement,"img-blured disclaimer-opened")):b.body&&(y=b.body.style.overflow,xv.dom.addClass(b.body,"img-blured disclaimer-opened")),window.xv.dom&&"undefined"!=typeof xv.header&&"undefined"!=typeof xv.header.categories&&"function"==typeof xv.header.categories.ctrypopup&&window.xv.dom.addEventListener(b.getElementById("disclaimer_vpn_another"),"click",xv.header.categories.ctrypopup);var l=function(){b.getElementById("disclaimer_vpn_welcome").innerHTML=xv.i18n.__("legal.disclaimer.vpn_detect.welcome",{"%site_name%":e.toUpperCase()},"front",s),b.getElementById("disclaimer_vpn_select").innerHTML=xv.i18n.__("legal.disclaimer.vpn_detect.select",{},"front",a)+" :",b.getElementById("disclaimer_vpn_another").innerHTML=xv.i18n.__("legal.disclaimer.vpn_detect.or_select_another",{},"front","Or select another country")};xv.i18n.getCatalog("front",l)},_.vpn_display_closed=function(e){window.xv.cookies.setLocal("disclaimer_vpn_display","CLICKED",864e5,"/"),b.getElementById("disclaimer_message").innerHTML="loading",setTimeout(function(){window.xv.cookies.setLocal("disclaimer_vpn_display","TIMEOUT",864e5,"/"),window.location.href=e},5e3);var t=xv.utils.createRequestObject();t.open("POST","//message-closed",!0),t.withCredentials=!0,t.responseType="json",t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.onreadystatechange=function(){4===t.readyState&&200===t.status&&t.response&&t.response.result&&(window.xv.cookies.setLocal("disclaimer_vpn_display","OK",864e5,"/"),window.location.href=e)},t.send("msgid%5B%5D=disclr")},_.showCookiesList=function(e){if(e.classList.add("hidden"),this.bIsAgeWarning){var t=Math.min(this.iMaxTextHeight,Math.max(this.iMinTextHeight,Math.round(parseInt(b.getElementById("disclaimer-over18").style.maxHeight)-130)));b.getElementById("disclaimer-over18").style.maxHeight=t+"px"}b.getElementById("disclaimer-features").classList.remove("hidden")},_.toggleFeatureDesc=function(e){var t=e.closest(".feature__item"),n=b.getElementById("disclaimer-over18"),i=b.querySelector(".features__list"),o=b.querySelectorAll(".feature__item"),s=!1;t.querySelector(".feature__text").classList.toggle("hidden"),t.classList.toggle("item--open"),t.querySelector(".feature__cookies").classList.toggle("hidden"),this.resetToggleFeature(t,o);for(var a=0;a=this.iMinTextHeight&&(n.style.maxHeight=(r*(s?1:2)).toString()+"px",i&&(i.style.maxHeight=s?(r+100).toString()+"px":""))}i&&i.scroll({top:0})},_.resetToggleFeature=function(e,t){for(var n=0;n0){var e=this.aFeaturesToToggle.splice(0,1)[0];X(e.sId,e.bE,e.bL)}},_.callAdvertisingCallback=function(e,t){if(!this.bAdvertisingCallbackDisabled&&!this.bAdvertisingCookieUpdating&&this.bAdvertisingCallbackSet){this.bAdvertisingCookieUpdating=!0;var n=this;for(var i in this.oAdvertisingCallbacks){var o=this.oAdvertisingCallbacks[i];t||(o.TCData.eventStatus=$.USER_ACTION_COMPLETE),o.TCData.tcString=this.getConsentString(e),o.fnCallback(o.TCData,!0),function(){n.bAdvertisingCookieUpdating=!1,n.bAdvertisingCookieUpdated=!0}()}}},_.initAdvertisingCallback(),_.EVENT={CLOSE_POP:"disclaimerClosed"},_.COOKIE_MANAGE_TYPE={NEW_ONLY:"newOnly",UPDATE_ONLY:"updateOnly",SEPARATED:"separated",INTEGRATED:"integrated",NONE:"none"},window.xv.disclaimer=_}(),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.detectIncognito=t():e.detectIncognito=t()}(this,function(){return function(){"use strict";var e={};return{598:function(e,t){function n(){return i(this,void 0,Promise,function(){return o(this,function(e){switch(e.label){case 0:return[4,new Promise(function(e,t){function n(t){e({isPrivate:t,browserName:r})}function i(e){return e===eval.toString().length}function o(){navigator.webkitTemporaryStorage.queryUsageAndQuota(function(e,t){var i;n(Math.round(t/1048576)<2*Math.round((void 0!==(i=window).performance&&void 0!==i.performance.memory&&void 0!==i.performance.memory.jsHeapSizeLimit?performance.memory.jsHeapSizeLimit:1073741824)/1048576))},function(e){t(new Error("detectIncognito somehow failed to query storage quota: "+e.message))})}var s,a,r="Unknown";void 0!==(a=navigator.vendor)&&0===a.indexOf("Apple")&&i(37)?(r="Safari",function(){void 0!==navigator.maxTouchPoints?function(){var e=String(Math.random());try{window.indexedDB.open(e,1).onupgradeneeded=function(t){var i,o,s=null===(i=t.target)||void 0===i?void 0:i.result;try{s.createObjectStore("test",{autoIncrement:!0}).put(new Blob),n(!1)}catch(e){var a=e;return e instanceof Error&&(a=null!==(o=e.message)&&void 0!==o?o:e),"string"!=typeof a?void n(!1):void n(a.includes("BlobURLs are not yet supported"))}finally{s.close(),window.indexedDB.deleteDatabase(e)}}}catch(e){n(!1)}}():function(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(e){return void n(!0)}try{t.setItem("test","1"),t.removeItem("test")}catch(e){return void n(!0)}n(!1)}()}()):function(){var e=navigator.vendor;return void 0!==e&&0===e.indexOf("Google")&&i(33)}()?(s=navigator.userAgent,r=s.match(/Chrome/)?void 0!==navigator.brave?"Brave":s.match(/Edg/)?"Edge":s.match(/OPR/)?"Opera":"Chrome":"Chromium",function(){void 0!==self.Promise&&void 0!==self.Promise.allSettled?o():(0,window.webkitRequestFileSystem)(0,1,function(){n(!1)},function(){n(!0)})}()):void 0!==document.documentElement&&void 0!==document.documentElement.style.MozAppearance&&i(37)?(r="Firefox",n(void 0===navigator.serviceWorker)):void 0!==navigator.msSaveBlob&&i(39)?(r="Internet Explorer",n(void 0===window.indexedDB)):t(new Error("detectIncognito cannot determine the browser"))})];case 1:return[2,e.sent()]}})})}var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(e){try{d(i.next(e))}catch(e){s(e)}}function r(e){try{d(i["throw"](e))}catch(e){s(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,r)}d((i=i.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){function n(n){return function(d){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,n[0]&&(r=0)),r;)try{if(i=1,o&&(s=2&n[0]?o["return"]:n[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,n[1])).done)return s;switch(o=0,s&&(n=[2&n[0],s.value]),n[0]){case 0:case 1:s=n;break;case 4:return r.label++,{value:n[1],done:!1};case 5:r.label++,o=n[1],n=[0];continue;case 7:n=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!((s=s.length>0&&s[s.length-1])||6!==n[0]&&2!==n[0])){r=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]0?t:null,this.bIDB=!0===n}};e.prototype={canTrack:function(){return!1!==this.storage},isTracking:function(){return this.canTrack()&&"disabled"!==this.storage.getItem(this.namespace+".tracking")},stopTracking:function(e){if(!this.canTrack())return!1;if(this.storage.setItem(this.namespace+".tracking","disabled"),!1!==e)if(this.bIDB){var t=this;xv.indexedDb.manageTempStackAdd(function(){xv.indexedDb.clear(t.namespace+".ids")},t.namespace+".ids")}else this.storage.removeItem(this.namespace+".ids")},startTracking:function(){if(!this.canTrack())return!1;this.storage.removeItem(this.namespace+".tracking")},getNamespace:function(){return this.namespace},getIdsList:function(e){var t=[],n=this,i=function(e){for(var n in e){var i=e[n].i;-1===t.indexOf(i)&&t.push(i)}return t};if(!this.bIDB)return i(this.getIds());if(e)return i(this.getIds(e));var o=function(e,t){n.getIds().then(function(t){e(i(t))})};if(xv.indexedDb.getDbIsOpen()&&!xv.indexedDb.getDbIsUpdating())return new Promise(o);xv.indexedDb.tempStackAdd(function(){return new Promise(o)})},getIdsTimestampsList:function(e){var t={},n=function(e){for(var n in e)t[e[n].i]=e[n].t;return t};if(this.bIDB){if(e)return n(this.getIds(e));var i=this;return new Promise(function(e,n){void 0===i.getIds()&&n(!1),i.getIds().then(function(n){for(var i in n)t[n[i].i]=n[i].t;e(t)})})}return n(this.getIds())},getIds:function(e){if(!this.canTrack())return[];var t,n=this.namespace+".ids";if(!this.bIDB||e){if("string"!=typeof(t=this.storage.getItem(this.namespace+".ids")))return[];try{t=JSON.parse(t)}catch(i){return[]}return t}return xv.indexedDb.getStoreExist({store_name:n})?xv.indexedDb.getDbIsOpen()&&!xv.indexedDb.getDbIsUpdating()?new Promise(function(e,t){xv.indexedDb.get(null,n).then(function(t){"string"==typeof t&&(t=JSON.parse(t)),e(t)})}):void xv.indexedDb.tempStackAdd(function(){return new Promise(function(e,t){xv.indexedDb.get(null,n).then(function(t){"string"!=typeof t&&e([]);try{t=JSON.parse(t)}catch(i){return void e([])}e(t)})})},n):new Promise(function(e,t){e([])})},addId:function(e,t){if(this.isTracking()){var n=this,i=function(i){var o=!1;for(var s in i)if(i[s].i===e){i[s].t=(new Date).getTime(),o=!0;break}o?i.sort(function(e,t){return e.t===t.t?0:e.t>t.t?-1:1}):(i.unshift({i:e,t:(new Date).getTime()}),null!==n.max_elements&&i.length>n.max_elements&&(i=i.slice(0,n.max_elements-1))),n._write(i),"function"==typeof t&&t()};this.bIDB?this.getIds().then(function(e){i(e)}):i(this.getIds())}},addIds:function(e){if(this.isTracking()){var t=this,n=function(n){var i=!1;for(var o in n){var s=e.indexOf(n[o].i);if(-1!==s){delete e[s],n[o].t=(new Date).getTime(),i=!0;break}}if(i&&n.sort(function(e,t){return e.t===t.t?0:e.t>t.t?-1:1}),e.length>0){for(var a in e)n.unshift({i:e[a],t:(new Date).getTime()});null!==t.max_elements&&n.length>t.max_elements&&(n=n.slice(0,t.max_elements-1))}t._write(n)};this.bIDB?this.getIds().then(function(e){n(e)}):n(this.getIds())}},removeId:function(e,t,n){if(this.isTracking())if(this.bIDB){if(void 0===t||null===t||""===t)return;xv.indexedDb.manageTempStackAdd(function(){xv.indexedDb.remove(e,t),"function"==typeof n&&n()},t)}else{var i=this.getIds();for(var o in i)if(i[o].i===e)return i.splice(o,1),void this._write(i)}},hasId:function(e){if(!this.isTracking())return!1;var t=function(t){for(var n in t)if(t[n].i===e)return!0;return!1};if(this.bIDB){var n=this;return new Promise(function(e,i){n.getIds().then(function(n){e(t(n))})})}return t(this.getIds())},getTime:function(e){if(!this.isTracking())return!1;var t=function(t){for(var n in t)if(t[n].i===e)return t[n].t;return!1};if(this.bIDB){var n=this;return new Promise(function(e,i){n.getIds().then(function(n){e(t(n))})})}return t(this.getIds())},clear:function(e){if(!this.canTrack())return!1;if(this.bIDB){var t=this;xv.indexedDb.manageTempStackAdd(function(){xv.indexedDb.clear(t.namespace+".ids",null,"function"==typeof e?e:null)},t.namespace+".ids")}else this.storage.removeItem(this.namespace+".ids")},_write:function(e){if(this.bIDB){var t=this;for(var n in e){!function(n){xv.indexedDb.get(e[n].i,t.namespace+".ids").then(function(i){"object"!=typeof i&&xv.indexedDb.manageTempStackAdd(function(){xv.indexedDb.set(e[n],t.namespace+".ids")},t.namespace+".ids")})}(n)}}else this.storage.setItem(this.namespace+".ids",JSON.stringify(e))}},window.xv.tracker=e}(),function(){var e="function"==typeof"a".localeCompare,t=!1,n="en";!function(){if(e){try{"a".localeCompare("b","i")}catch(o){t="RangeError"===o.name}if(t){var i=document.documentElement.lang;if("string"==typeof i){i=i.toLowerCase();try{"a".localeCompare("b",i)}catch(o){if(2!==i.length)return;i=i.substring(0,2);try{"a".localeCompare("b",i)}catch(o){return}}n=i}}}}();var i=/\s*<\/span>\s*/gi,o=//gi,s=/<\/strong>/gi,a=function(e,t){return e.cleanLabel.localeCompare(t.cleanLabel)},r=function(e,t){return e.cleanLabel.localeCompare(t.cleanLabel,n,{sensitivity:"base"})},d=function(e,t){return t.cleanLabel.localeCompare(e.cleanLabel)},l=function(e,t){return t.cleanLabel.localeCompare(e.cleanLabel,n,{sensitivity:"base"})},c=function(n,i){var o=parseInt(n.timestamp)||0,s=parseInt(i.timestamp)||0;if(o===s){var d=parseInt(n.weight)||0,l=parseInt(i.weight)||0;return d===l&&e?t?r(n,i):a(n,i):d'+n[d].label+"":'
  • '+n[d].label+"
  • ";document.write(s)},aInitiatedNavs:[],aAvailableCatOrders:["order-az-asc","order-az-desc","order-top-asc"],oVideosILikeTracker:null,oVideosCommentedTracker:null,iVideosILikeLength:null,iVideosCommentedLength:null,bIDB:xv.indexedDb&&xv.indexedDb.getDbIsSupported(),tmp_separate_history_by_cat:function(){if(this.can_use_save()){var e=this.get_save("history","XNXX_cats_order_5");if(!e||!e.length)return;for(var t in e){var n=!1;if(this.is_search_page(e[t].url)){var i=this.get_search_params(e[t].url);for(var o in this.main_cats)n||(-1!==i.query.toString().toLowerCase().indexOf(this.main_cats[o])?(this.add_to_history(e[t].label,e[t].url,this.main_cats[o]),n=!0):-1!==i.search_filters.indexOf(this.main_cats[o])&&(this.add_to_history(e[t].label,e[t].url,this.main_cats[o]),n=!0))}else for(var o in this.main_cats)n||-1!==e[t].url.toLowerCase().indexOf("/"+this.main_cats[o]+"/")&&(this.add_to_history(e[t].label,e[t].url,this.main_cats[o]),n=!0);n||this.add_to_history(e[t].label,e[t].url,"straight")}this.del_save("history","XNXX_cats_order_5")}},init_write_stored_order:function(e,t,n,i){this.tmp_separate_history_by_cat();var o={cat_list_container:document.getElementById(e),order_list_container:document.getElementById(t),history_infos_id:n||!1,history_infos:!!n&&document.getElementById(n),options:i||{}};if(this.can_use_save()&&o.history_infos){if(this.get_history().length>0||this.is_history_disabled()){var s=o.history_infos.getElementsByTagName("SPAN");if(s[0]){var a=o.history_infos.getElementsByTagName("DIV");o.history_infos_btn=s[0],o.history_infos_box=a[0],xv.dom.addEventListener(o.history_infos_btn,"click",function(e){if(e.preventDefault?e.preventDefault():e.returnValue=!1,xv.dom.hasClass(o.history_infos_box,"hidden")){if(xv.dom.removeClass(o.history_infos_box,"hidden"),window.jQuery){var t;t=function(e){$(e.target).closest("#"+o.history_infos_id).length>0||(xv.dom.addClass(o.history_infos_box,"hidden"),$("body").off("click",t))},$("body").on("click",t)}}else xv.dom.addClass(o.history_infos_box,"hidden")})}xv.dom.removeClass(o.history_infos,"hidden")}}if(o.cat_list_container){var r=[],d=function(){r=xv.cats.order_list(xv.cats.get_all(o,!0));var e=xv.cats.get_stored_order();xv.cats.write_list(r,"cat_list_container",o),xv.cats.update_order_switch(e,o),xv.cats.update_disable_switch(o)},l=function(){if(null===xv.cats.oVideosILikeTracker&&(xv.cats.oVideosILikeTracker=new xv.tracker("aVideosILike",null,xv.cats.bIDB)),null===xv.cats.oVideosCommentedTracker&&(xv.cats.oVideosCommentedTracker=new xv.tracker("aMyCommentedVideos",null,xv.cats.bIDB)),xv.cats.bIDB){var e=xv.indexedDb.getStoreExist({store_name:"aVideosILike.ids"}),t=xv.indexedDb.getStoreExist({store_name:"aMyCommentedVideos.ids"});e?xv.indexedDb.manageTempStackAdd(function(){xv.cats.get_nb_videos_liked().then(function(e){xv.cats.iVideosILikeLength=e,d()})}):(xv.cats.iVideosILikeLength=xv.cats.get_nb_videos_liked(!e),d()),t?xv.indexedDb.manageTempStackAdd(function(){xv.cats.get_nb_videos_commented().then(function(e){xv.cats.iVideosCommentedLength=e,d()})}):(xv.cats.iVideosCommentedLength=xv.cats.get_nb_videos_commented(!t),d())}else xv.cats.iVideosILikeLength=xv.cats.get_nb_videos_liked(),xv.cats.iVideosCommentedLength=xv.cats.get_nb_videos_commented(),d()};if(l(),xv.dom.addEventListener(window,"load",l),o.options.id_remove_if_empty&&0===r.length){var c=document.getElementById(o.options.id_remove_if_empty);c.parentNode.removeChild(c)}}var u=o.order_list_container.getElementsByTagName("A");for(var p in u)!function(){var e=u[p];"object"==typeof e&&xv.dom.addEventListener(e,"click",function(t){if(t.preventDefault?t.preventDefault():t.returnValue=!1,"A"===e.tagName){var n=e.getAttribute("data-order");xv.cats.update_lists(n)}})}();this.aInitiatedNavs.push(o)},get_nb_videos_liked:function(e){return xv.cats.bIDB?e?xv.cats.oVideosILikeTracker.getIdsList(e).length:xv.indexedDb.getDbIsOpen()&&!xv.indexedDb.getDbIsUpdating()?new Promise(function(e,t){xv.cats.oVideosILikeTracker.getIdsList().then(function(t){e(t.length)})}):void 0:xv.cats.oVideosILikeTracker.getIdsList().length},get_nb_videos_commented:function(e){return xv.cats.bIDB?e?xv.cats.oVideosCommentedTracker.getIdsList(e).length:xv.indexedDb.getDbIsOpen()&&!xv.indexedDb.getDbIsUpdating()?new Promise(function(e,t){xv.cats.oVideosCommentedTracker.getIdsList().then(function(t){e(t.length)})}):void 0:xv.cats.oVideosCommentedTracker.getIdsList().length},get_all:function(e,t){if(!xv.conf.dyn.categories)return[];var n=[],a=[],r=[];if(!e){if(!this.aInitiatedNavs[0])return[];e=this.aInitiatedNavs[0]}a.push({label:" "+xv.i18n.__("history.history",null,null,"History"),url:"//",weight:999});for(var d in xv.conf.dyn.categories){var l="/"===xv.conf.dyn.categories[d].url||"/gay"===xv.conf.dyn.categories[d].url||"/shemale"===xv.conf.dyn.categories[d].url?' ':"";a.push({label:l+xv.conf.dyn.categories[d].label,url:xv.conf.dyn.categories[d].url,weight:xv.conf.dyn.categories[d].weight,bTargetBlank:!!xv.conf.dyn.categories[d].target_blank}),r.push(xv.conf.dyn.categories[d].weight)}r.sort(function(e,t){return e-t});var u=r[Math.ceil(r.length/3*2)]-1;for(var d in xv.conf.dyn.more_links)a.push({label:xv.conf.dyn.more_links[d].label,url:xv.conf.dyn.more_links[d].url,weight:xv.conf.dyn.more_links[d].weight?xv.conf.dyn.more_links[d].weight:u,bTargetBlank:!!xv.conf.dyn.more_links[d].target_blank,other_link:!0,sAClass:xv.conf.dyn.more_links[d].a_class?xv.conf.dyn.more_links[d].a_class:null});if(xv.cats.iVideosILikeLength>=1){var p={label:" "+xv.i18n.__("listing.videos_i_like",null,null,"Videos I like"),url:"/",weight:1010,sAClass:"videos-i-like"};a.push(p)}if(xv.cats.iVideosCommentedLength>=1){var f={label:" "+xv.i18n.__("listing.my_commented_videos",null,null,"My commented videos"),url:"/my-commented-videos",weight:1e3,sAClass:"my-commented-videos"};a.push(f)}var h=this.get_history(this.get_get_main_cat()),m=[],v=this.clean_url_for_comparison(window.location.pathname,!0,!0);if(h.length>0)for(var d in h){var g=!1,_=this.clean_url_for_comparison(h[d].url,!0,!0);for(var b in a)_===this.clean_url_for_comparison(a[b].url,!0,!0)&&(g=!0,this.clean_url_for_comparison(a[b].url,!1,!1)!==this.clean_url_for_comparison(h[d].url,!1,!1)&&(this.clean_url_for_comparison(a[b].url,!1,!0)!==this.clean_url_for_comparison(h[d].url,!1,!0)&&(a[b].custom=!0),a[b].url=h[d].url),a[b].count=h[d].count,a[b].timestamp=h[d].timestamp,!e.options.history_only||e.options.no_current_page&&v===_||m.push(a[b]));g||"/gay"===h[d].url||"/shemale"===h[d].url||"/"===h[d].url||(h[d].label=xv.utils.escape(xv.utils.unescape(h[d].label),!0),h[d].custom=!0,e.options.no_current_page&&v===_||m.push(h[d]))}if(t){if(m.length>10){var y=function(e){for(var t in h)if(xv.cats.get_stored_pathname(h[t].url)===xv.cats.get_stored_pathname(e))return h.splice(t,1),!0},x=new Date,w=x.getTime();m.sort(c).reverse();for(var k=!1;m.length>10&&!1===k;)w-m[0].timestamp>7884e6?(y(m[0].url),m.splice(0,1)):k=!0;if(m.length>20){for(k=!1;m.length>20&&!1===k;)w-m[0].timestamp>5256e6?(y(m[0].url),m.splice(0,1)):k=!0;if(m.length>40){for(k=!1;m.length>40&&!1===k;)w-m[0].timestamp>2628e6?(y(m[0].url),m.splice(0,1)):k=!0;for(;m.length>50;)y(m[0].url),m.splice(0,1)}}}m=this.clean_history(m),h=this.clean_history(h);var C=this.get_history("full_save");C[this.get_get_main_cat()]=h,this.save("history",C,"XNXX_cats_history_1")}e.options.history_only||(n=n.concat(a)),n=n.concat(m);for(var d in n)n[d].cleanLabel=n[d].label.replace(i,"").replace(o,"").replace(s,"");return n},write_list:function(e,t,n){if(n[t]){this.write_html_list(e,n[t]);var i=this.get_stored_order();for(var o in this.aAvailableCatOrders)this.aAvailableCatOrders[o]===i?xv.dom.addClass(n[t],i):xv.dom.removeClass(n[t],this.aAvailableCatOrders[o]);if("cat_list_container"===t){var s=n[t].getElementsByTagName("A");for(var o in s)!function(){var e=s[o];"object"==typeof e&&xv.dom.addEventListener(e,"click",function(t){if(t.preventDefault?t.preventDefault():t.returnValue=!1,"A"===e.tagName){var n=e.getAttribute("href"),i=xv.dom.hasClass(e,"nutaku-games"),o="_blank"===e.getAttribute("target");xv.cats.add_to_history(e.text,n),xv.conf.dyn.is_premium||-1===n.indexOf(xv.conf.domains.premium)||"function"!=typeof require?i&&"function"==typeof require?require(["skins/common/games/nutaku_migration_pop"],function(e){(new e).openPopup()}):o?window.open(n,"_blank"):document.location.href=n:require(["skins/common/mozaique/premium_redirect_alert"],function(e){var t=function(){o?window.open(n,"_blank"):document.location.href=n};e.displayPopup("exit",null,t)})}})}()}}},update_lists:function(e){var t=this.get_stored_order();"string"!=typeof e?e=t:"order-az-asc"===e&&"order-az-asc"===t&&(e="order-az-desc");for(var n in this.aInitiatedNavs){var i=this.aInitiatedNavs[n],o=this.order_list(this.get_all(i),e);this.update_list(i,o,e)}},update_list:function(e,t,n){this.write_list(t,"cat_list_container",e),this.update_order_switch(n,e),this.update_disable_switch(e)},update_order_switch:function(e,t){var n=t.order_list_container.getElementsByTagName("A");for(var i in n){var o=n[i];if("object"==typeof o){var s=o.getAttribute("data-order");s===e||"order-az-desc"===e&&"order-az-asc"===s?(xv.dom.hasClass(o,"current_order")||xv.dom.addClass(o,"current_order"),"order-az-asc"!==e&&"order-az-desc"!==e||(o.getElementsByTagName("SPAN")[0].innerHTML="order-az-asc"===e?"↓":"↑")):xv.dom.hasClass(o,"current_order")&&("order-az-asc"===s&&(o.getElementsByTagName("SPAN")[0].innerHTML=""),xv.dom.removeClass(o,"current_order"))}}},update_disable_switch:function(e){if(!e.history_infos)return!1;var t=this.is_history_disabled()?"categories.clear_and_enable_history":"categories.clear_and_disable_history",n={"%clear_link%":'<a href="#" data-follow="nofollow" data-action="clear-history">',"%disable_link%":'<a href="#" data-follow="nofollow" data-action="disable-history">',"%end_link%":"</a>"};e.history_infos.getElementsByTagName("P")[0].innerHTML=xv.utils.unescape(xv.i18n.__(t,n));var i=e.history_infos.getElementsByTagName("A");for(var o in i){var s=i[o];"object"==typeof s&&("clear-history"===s.getAttribute("data-action")?(e.clear_history=s,xv.dom.addEventListener(e.clear_history,"click",function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,xv.cats.clear_history(),e.history_infos_box&&xv.dom.addClass(e.history_infos_box,"hidden")}),xv.dom.removeClass(e.clear_history,"hidden")):"disable-history"===s.getAttribute("data-action")&&(e.disable_history=s,xv.dom.addEventListener(e.disable_history,"click",function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,xv.cats.disable_history_toggle(),e.history_infos_box&&xv.dom.addClass(e.history_infos_box,"hidden")}),xv.dom.removeClass(e.disable_history,"hidden")))}},is_history_disabled:function(){return!!this.get_save("history_disabled","XNXX_cats_history_1")},disable_history_toggle:function(e){var t="boolean"==typeof e?e:!this.is_history_disabled();if(t){if(!this.clear_history())return!1}else this.get_stored_order("order-top-asc");return this.save("history_disabled",t,"XNXX_cats_history_1"),this.update_lists(),!0},clear_history:function(){if(confirm(xv.utils.unescape(xv.i18n.__("categories.confirm_clear_history",null,null,"Are you sure you want to clear your navigation history ?"))))return this.del_save("history","XNXX_cats_history_1"),this.update_lists(),!0;var e=this.get_history("full_save");for(var t in e)if(e[t].length>0)return!1;return!0},clean_history:function(e){for(var t=[];e.length>0;){var n=e.splice(0,1)[0],i=!0;for(var o in t){var s=t[o];this.is_same_page(n.url,s.url)&&(i=!1)}if(i)for(var a in e){var r=e[a];this.is_same_page(n.url,r.url)&&n.timestamp0?parseInt(n[3]):0,has_pagin_in_url=n[3]&&!isNaN(parseInt(n[3])),pagin>0&&-1!==this.url_filter_params.indexOf(query)&&(query=String(pagin),query_pos=this.get_pagin_pos(e),pagin=0,has_pagin_in_url=!1);var i=new RegExp("/"+u(query)+(has_pagin_in_url?"(/(\\d+))":"")+"/?$"),o=i.exec(e),s=!!(o&&o.length>0)&&o.index,a=s?e.substring(7,s-7).split("/"):[],r=[];for(var d in a)-1!==this.url_filter_params.indexOf(a[d])&&r.push(a[d]);return this.search_params_by_url[e]={query:query,query_pos:query_pos,pagin:pagin,search_filters:r,all_filters:a},this.search_params_by_url[e]},get_page:function(e){if("undefined"!=typeof this.pagin_by_url[e])return this.pagin_by_url[e];var t=0;if(this.is_search_page(e))t=this.get_search_params(e).pagin;else{var n=e.match(new RegExp("/(\\d+)/?$"));t=n&&n[1]&&parseInt(n[1])>0?parseInt(n[1]):0}return this.pagin_by_url[e]=t,t},get_pagin_pos:function(e){if("undefined"!=typeof this.pagin_pos_by_url[e])return this.pagin_pos_by_url[e];var t=new RegExp("/(\\d+)/?$"),n=t.exec(e);return this.pagin_pos_by_url[e]=!!(n&&n.length>0)&&n.index,this.pagin_pos_by_url[e]},clean_url_pagin:function(e){return pagin_pos=this.get_pagin_pos(e),pagin_pos&&(e=e.substring(0,pagin_pos)),e},get_stored_pathname:function(e,t){var n=document.createElement("a");n.href=e;var i=n.search;i&&"?"===(i=i.replace(/&?id=\d+/,""))&&(i="");var o=n.origin;if(/MSIE|Trident/i.test(window.navigator.userAgent)){var s=n.href.split("/");s=s.filter(function(e){return""!=e}),o=s[0]+"//"+s[1]}if(o===window.location.origin){return("/"!==n.pathname&&"/"===n.pathname.substring(-1)?n.pathname.toLowerCase().substring(0,n.pathname.length-1):n.pathname.toLowerCase())+(!i.length||t?"":i)}return o.toLowerCase()+("/"===n.pathname&&"/"!==e.substring(-1)?"":n.pathname.toLowerCase())},clean_url_for_comparison:function(e,t,n){t=!!t,n=!!n;var i=(t?"y":"n")+(n?"y":"n")+"-"+e;if("string"==typeof this.cleaned_comp_urls[i])return this.cleaned_comp_urls[i];if(e=this.clean_url_pagin(this.get_stored_pathname(e,!0)),"/"===e.substring(-1)&&(e=e.substring(0,e.length-1)),""===e)return this.cleaned_comp_urls[i]="/","/";if(!t&&!n||"/gay"===e||"/shemale"===e)return this.cleaned_comp_urls[i]=e,e;var o=this.get_url_filter_params_escaped();for(var s in o)if(!(!n&&-1!==this.main_cats.indexOf(o[s])||!t&&n&&-1===this.main_cats.indexOf(o[s]))){var a=new RegExp("(((/"+o[s]+")/.+)|(/"+o[s]+"/?))$"),r=a.exec(e);if(r&&r.length>0)if("string"==typeof r[3]){var d=e.indexOf(r[3]);e=e.substring(0,d)+e.substring(d+r[3].length)}else"string"==typeof r[4]&&(e=e.substring(0,e.indexOf(r[4])))}return this.cleaned_comp_urls[i]=e,e},is_same_page:function(e,t,n,i){return e===t||(this.is_search_page(e)&&(e=e.replace("%20","+")),this.is_search_page(t)&&(t=t.replace("%20","+")),n=!!n,i=!!i,search_filter_key="cp"+(n?"y":"n")+"csf"+(i?"y":"n"),"undefined"!=typeof this.is_same_page_cache[e]&&"undefined"!=typeof this.is_same_page_cache[e][t]&&"undefined"!=typeof this.is_same_page_cache[e][t][search_filter_key]?this.is_same_page_cache[e][t][search_filter_key]:"undefined"!=typeof this.is_same_page_cache[t]&&"undefined"!=typeof this.is_same_page_cache[t][e]&&"undefined"!=typeof this.is_same_page_cache[t][e][search_filter_key]?this.is_same_page_cache[t][e][search_filter_key]:("undefined"==typeof this.is_same_page_cache[e]&&(this.is_same_page_cache[e]={}),"undefined"==typeof this.is_same_page_cache[e][t]&&(this.is_same_page_cache[e][t]={}),this.is_search_page(e)?this.is_search_page(t)?(p_url=this.get_search_params(e),p_url2=this.get_search_params(t),this.is_same_page_cache[e][t][search_filter_key]=p_url===p_url2||p_url.query===p_url2.query&&(!i||p_url.search_filters===p_url2.search_filters&&(!n||p_url.pagin===p_url2.pagin))):this.is_same_page_cache[e][t][search_filter_key]=!1:this.clean_url_for_comparison(e,!i,!i)!==this.clean_url_for_comparison(t,!i,!i)||n&&this.get_page(e)!==this.get_page(t)?this.is_same_page_cache[e][t][search_filter_key]=!1:this.is_same_page_cache[e][t][search_filter_key]=!0,this.is_same_page_cache[e][t][search_filter_key]))},get_get_main_cat:function(){return"main"===xv.conf.data.action?xv.conf.dyn.pagefilter:xv.conf.dyn.user_main_cat},get_set_main_cat:function(){return xv.conf.dyn.pagefilter},get_history:function(e){"string"!=typeof e&&(e=this.get_get_main_cat());var t=this.get_save("history","XNXX_cats_history_1")||{};if("full_save"===e)return t;if("undefined"==typeof t[e])return[];for(var n in t[e])t[e][n].url=this.get_stored_pathname(t[e][n].url);return t[e]},add_to_history:function(e,t,n,i){if(this.is_history_disabled())return!1;t=this.get_stored_pathname(t),"string"!=typeof n&&(n=this.get_set_main_cat());var o=this.get_history(n);0===o.length&&this.get_stored_order("order-top-asc");var s=!1,a=new Date,r=a.getTime();e=xv.utils.escape(xv.utils.unescape(e)),e=e.slice(0,1).toUpperCase()+e.slice(1);for(var d in o)o[d].url===t&&(r-o[d].timestamp>1e4&&o[d].count++,o[d].timestamp=r,s=!0);if(!s){var l={count:1,timestamp:r,label:e,url:t};"string"!=typeof i||"model"!==i&&"channel"!==i||(l.page_type=i),o.push(l)}var c=this.get_history("full_save");c[n]=o,this.save("history",c,"XNXX_cats_history_1")},write_html_list:function(e,t){var n="";for(var i in e)if(!("/"===e[i].url&&0===xv.cats.iVideosILikeLength||"/my-commented-videos"===e[i].url&&0===xv.cats.iVideosCommentedLength)){var o=null;"string"==typeof e[i].page_type&&("model"===e[i].page_type?o="star-full":"channel"===e[i].page_type&&(o="video-camera")),null===o&&e[i].custom&&(o="search"),n+="'+(null!==o?' ':"")+e[i].label+""}t.innerHTML=n},get_stored_order:function(e,t){stored_order=this.get_save("order","XNXX_cats_history_1"),t="boolean"!=typeof t||t;var n=e||stored_order||"order-top-asc";return e&&t&&this.save("order",n,"XNXX_cats_history_1"),n},order_list:function(n,i,o){switch(order=this.get_stored_order(i,o),order){case"order-az-asc":e?n.sort(t?r:a):n.sort();break;case"order-az-desc":e?n.sort(t?l:d):n.sort();break;case"order-top-asc":default:n.sort(c)}return n},can_use_save:function(){return"object"==typeof JSON},save:function(e,t,n){if(!this.can_use_save())return!1;window.xv.storage.set(e,t,n)},get_save:function(e,t){return!!this.can_use_save()&&window.xv.storage.get(e,t)},del_save:function(e,t){if(!this.can_use_save())return!1;window.xv.storage.remove(e,t)},olazyThumbBlockToLoad:{},olazyThumbBlockImageLoad:{},olazyThumbBlockToRotate:{},iLazyLoadScrollMargin:!1,setThumbBlockImage:function(e){var t=new Image,n=this;t.onload=function(){document.getElementById("pic_"+e.sId).src=this.src,setTimeout(function(){n.lazyLoadThumbBlockEnd(e)},100)},t.src=xv.thumbs.replaceThumbUrl(e.sSrc,e.sCdn)},lazyLoadThumbBlockEnd:function(e){if("undefined"==typeof xv.thumbs_rotator||"function"!=typeof xv.thumbs_rotator.init)return void(this.olazyThumbBlockToRotate[e.sId]=e);xv.thumbs_rotator.init(e.$thumbObj)},loadThumbBlockToRotate:function(){if(0!==this.olazyThumbBlockToRotate.length)for(var e in this.olazyThumbBlockToRotate)this.lazyLoadThumbBlockEnd(this.olazyThumbBlockToRotate[e]),delete this.olazyThumbBlockToRotate[e]},lazyLoadList:function(){for(var e in this.olazyThumbBlockToLoad){var t=this.olazyThumbBlockImageLoad[e];if("undefined"==typeof t.$thumbObj){if(t.$thumbObj=document.getElementById(e),!t.$thumbObj){delete this.olazyThumbBlockToLoad[e];continue}this.olazyThumbBlockImageLoad[e].$thumbObj=t.$thumbObj}!1===this.iLazyLoadScrollMargin&&(this.iLazyLoadScrollMargin="undefined"!=typeof t.$thumbObj.offsetHeight?t.$thumbObj.offsetHeight:600),xv.dom.isElementInView(t.$thumbObj,!1,{scroll_marge:this.iLazyLoadScrollMargin})&&("searchCover"===t.sType||"model"===t.sType||"channel"===t.sType?this.loadThumbBlockImage(t):this.setThumbBlockImage(t),delete this.olazyThumbBlockToLoad[e])}},loadThumbBlockImage:function(e){if("undefined"!=typeof e.sSrc)return void this.setThumbBlockImage(e);var t=this.get_save("imgs_src","XNXX_cats_custom_thumbs_1")||{},n=new Date,i=n.getTime();if("undefined"!=typeof t[e.sUrl]&&i-t[e.sUrl].timestamp<3456e5){if(!1===t[e.sUrl].src)document.getElementById(e.sId).remove();else if("undefined"!=typeof t[e.sUrl].cdn)return e.sSrc=t[e.sUrl].src,e.sCdn=t[e.sUrl].cdn,void this.setThumbBlockImage(e);if(i-t[e.sUrl].timestamp<864e5)return}var o=this,s=xv.utils.createRequestObject();s.open("POST",e.sUrl,!0),s.withCredentials=!0,s.responseType="json",s.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),s.onreadystatechange=function(){if(4==s.readyState&&200==s.status&&s.response){var t=o.get_save("imgs_src","XNXX_cats_custom_thumbs_1")||{},n=new Date,i=n.getTime();s.response.thumb?(t[e.sUrl]={src:s.response.thumb,cdn:s.response.cdn,timestamp:i},o.save("imgs_src",t,"XNXX_cats_custom_thumbs_1"),e.sSrc=t[e.sUrl].src,e.sCdn=t[e.sUrl].cdn,o.setThumbBlockImage(e)):!1===s.response.thumb&&(t[e.sUrl]={src:!1,timestamp:i},o.save("imgs_src",t,"XNXX_cats_custom_thumbs_1"),document.getElementById(e.sId).remove())}},s.send()},write_thumb_block_list:function(e,t){var n,i,o="",s=this.get_all(),a=this.order_list(s,"order-top-asc",!1),r={},d=!1,l=0,c=0;if(xv.conf.dyn.nhad){var u=!0,p=Math.round(s.length/3),f="",h=xv.i18n.__("thumb_ad.premium_slogan",{"%nb_videos%":xv.conf.dyn.nhad.nb_premium_detele,"%def%":xv.conf.dyn.nhad.high_deh},null,"%nb_videos% videos / %def% / No Ads");switch(xv.conf.dyn.nhad.with_price&&(h=xv.i18n.__("thumb_ad.premium_slogan_price",{"%nb_videos%":xv.conf.dyn.nhad.nb_premium_detele,"%def%":xv.conf.dyn.nhad.high_deh,"%price%":xv.conf.dyn.nhad.price},null," %nb_videos% videos / %def% / No Ads for just %price%")),xv.conf.dyn.nhad.mode){case 1:f="v1";break;case 2:f="v2"}var m='"}for(i=0;i
    '+g.label,i:xv.conf.domains["static"]+"/v3/img/skins/xnxx/home-cat/search169ll.png",no_rotate:!0},"categorie",{forced_id:v,forced_img_id:"pic_"+v,forced_data_id:!1,no_rotate:!0}).html,!1!==d.query_pos&&(this.olazyThumbBlockImageLoad[v]={sId:v,sType:"searchCover",sUrl:g.url.substring(0,d.query_pos)+"/cover"+g.url.substring(d.query_pos)},this.olazyThumbBlockToLoad[v]=1),r[g.url]=g.label);else{var b="model"===g.page_type?"star-full":"video-camera";this.olazyThumbBlockImageLoad[v]={sId:v,sType:g.page_type,sUrl:"/profiles-picture/"+g.url.substring(("model"===g.page_type?"pornstar":"porn-maker").length+2)+".json"},this.olazyThumbBlockToLoad[v]=1,o+=xv.thumbs.get_thumb_block_html({id:v,u:g.url,tf:' '+g.label,i:xv.conf.domains["static"]+"/v3/img/skins/xnxx/home-cat/search169ll.png",no_rotate:!0},"categorie",{forced_id:v,forced_img_id:"pic_"+v,forced_data_id:!1,no_rotate:!0}).html,r[g.url]=g.label}}var y=document.getElementById(t);y.innerHTML=o;var x=y.getElementsByTagName("A");for(var n in x)!function(){var e=x[n];"object"==typeof e&&xv.dom.addEventListener(e,"click",function(t){if(t.preventDefault?t.preventDefault():t.returnValue=!1,"A"===e.tagName){var n=e.getAttribute("href");r[n]&&xv.cats.add_to_history(r[n],n),xv.conf.dyn.is_premium||-1===n.indexOf(xv.conf.domains.premium)||"function"!=typeof require?window.location.href=n:require(["skins/common/mozaique/premium_redirect_alert"],function(e){var t=function(){document.location.href=n};e.displayPopup("exit",null,t)})}})}();this.lazyLoadList();var w=this;xv.dom.addEventListener(window,"load",function(){w.lazyLoadList(),w.loadThumbBlockToRotate()}),xv.dom.addEventListener(window,"scroll",function(){w.lazyLoadList()})}}}(),window.fuckAdBlock=!1,function(e){var t=function(t){this._options={checkOnLoad:!1,resetOnEnd:!1,loopCheckTime:50,loopMaxNumber:5,baitClass:"pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links",baitStyle:"width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;",debug:!1},this._var={version:"3.2.1",bait:null,checking:!1,loop:null,loopNumber:0,event:{detected:[],notDetected:[]}},t!==undefined&&this.setOption(t);var n=this,i=function(){setTimeout(function(){!0===n._options.checkOnLoad&&(!0===n._options.debug&&n._log("onload->eventCallback","A check loading is launched"),null===n._var.bait&&n._creatBait(),setTimeout(function(){n.check()},1))},1)};e.addEventListener!==undefined?e.addEventListener("load",i,!1):e.attachEvent("onload",i)};t.prototype._options=null,t.prototype._var=null,t.prototype._bait=null,t.prototype._log=function(e,t){console.log("[FuckAdBlock]["+e+"] "+t)},t.prototype.setOption=function(e,t){if(t!==undefined){var n=e;e={},e[n]=t}for(var i in e)this._options[i]=e[i],!0===this._options.debug&&this._log("setOption",'The option "'+i+'" he was assigned to "'+e[i]+'"');return this},t.prototype._creatBait=function(){var t=document.createElement("div");t.setAttribute("class",this._options.baitClass),t.setAttribute("style",this._options.baitStyle),this._var.bait=e.document.body.appendChild(t),this._var.bait.offsetParent,this._var.bait.offsetHeight,this._var.bait.offsetLeft,this._var.bait.offsetTop,this._var.bait.offsetWidth,this._var.bait.clientHeight,this._var.bait.clientWidth,!0===this._options.debug&&this._log("_creatBait","Bait has been created")},t.prototype._destroyBait=function(){e.document.body.removeChild(this._var.bait),this._var.bait=null,!0===this._options.debug&&this._log("_destroyBait","Bait has been removed")},t.prototype.check=function(e){if(e===undefined&&(e=!0),!0===this._options.debug&&this._log("check","An audit was requested "+(!0===e?"with a":"without")+" loop"),!0===this._var.checking)return!0===this._options.debug&&this._log("check","A check was canceled because there is already an ongoing"),!1;this._var.checking=!0,null===this._var.bait&&this._creatBait();var t=this;return this._var.loopNumber=0,!0===e&&(this._var.loop=setInterval(function(){t._checkBait(e)},this._options.loopCheckTime)),setTimeout(function(){t._checkBait(e)},1),!0===this._options.debug&&this._log("check","A check is in progress ..."),!0},t.prototype._checkBait=function(t){var n=!1;if(null===this._var.bait&&this._creatBait(),null===e.document.body.getAttribute("abp")&&null!==this._var.bait.offsetParent&&0!=this._var.bait.offsetHeight&&0!=this._var.bait.offsetLeft&&0!=this._var.bait.offsetTop&&0!=this._var.bait.offsetWidth&&0!=this._var.bait.clientHeight&&0!=this._var.bait.clientWidth||(n=!0),e.getComputedStyle!==undefined){var i=e.getComputedStyle(this._var.bait,null);!i||"none"!=i.getPropertyValue("display")&&"hidden"!=i.getPropertyValue("visibility")||(n=!0)}!0===this._options.debug&&this._log("_checkBait","A check ("+(this._var.loopNumber+1)+"/"+this._options.loopMaxNumber+" ~"+(1+this._var.loopNumber*this._options.loopCheckTime)+"ms) was conducted and detection is "+(!0===n?"positive":"negative")),!0===t&&++this._var.loopNumber>=this._options.loopMaxNumber&&this._stopLoop(),!0===n?(this._stopLoop(),this._destroyBait(),this.emitEvent(!0),!0===t&&(this._var.checking=!1)):null!==this._var.loop&&!1!==t||(this._destroyBait(),this.emitEvent(!1),!0===t&&(this._var.checking=!1))},t.prototype._stopLoop=function(e){clearInterval(this._var.loop),this._var.loop=null,this._var.loopNumber=0,!0===this._options.debug&&this._log("_stopLoop","A loop has been stopped")},t.prototype.emitEvent=function(e){!0===this._options.debug&&this._log("emitEvent","An event with a "+(!0===e?"positive":"negative")+" detection was called");var t=this._var.event[!0===e?"detected":"notDetected"];for(var n in t)!0===this._options.debug&&this._log("emitEvent","Call function "+(parseInt(n)+1)+"/"+t.length),t.hasOwnProperty(n)&&t[n]();return!0===this._options.resetOnEnd&&this.clearEvent(),this},t.prototype.clearEvent=function(){this._var.event.detected=[],this._var.event.notDetected=[],!0===this._options.debug&&this._log("clearEvent","The event list has been cleared")},t.prototype.on=function(e,t){return this._var.event[!0===e?"detected":"notDetected"].push(t),!0===this._options.debug&&this._log("on",'A type of event "'+(!0===e?"detected":"notDetected")+'" was added'),this},t.prototype.onDetected=function(e){return this.on(!0,e)},t.prototype.onNotDetected=function(e){return this.on(!1,e)},e.FuckAdBlock=t,e.fuckAdBlock===undefined&&(e.fuckAdBlock=new t({checkOnLoad:!0,resetOnEnd:!0}))}(window),function(){var e=function(){this.called=!1,this.detected_called=!1,this.load_delayed=!1,this.checked=!1};e.prototype={detected:function(){if(!this.detected_called){for(var e=xv.i18n.__("misc.adblock_message"+("xnxx"===xv.sda.manager.skin?"_xnxx":""),{"%link_start%":'',"%link_end%":"","%strong%":"","%end_strong%":""},null,"xnxx"===xv.sda.manager.skin?"XNXX relies on ads to exist. Please disable your ad-blocker.":"Try %link_start%XVIDEOS.RED%link_end% for free. %strong%Ad-free%end_strong% experience with extra content and features."),t="complete"===document.readyState,n=0;n0&&(u+=","+i.categories),"string"==typeof i.keywords&&i.keywords.length>0&&(u+=","+i.keywords),n&&(s=2,a="thumb-block");var p={ads_host:"a.OPOXV.COM",syndication_host:"s.OPOXV.COM",idzone:r,popup_fallback:!0,popup_force:!1,chrome_enabled:!1,new_tab:!1,frequency_period:720,frequency_count:1,trigger_method:s,trigger_class:a,trigger_delay:0,only_inline:!1,tags:u,sub:d,sub2:l,sub3:c,capping_enabled:!0};xv.log.debug_("%c PopUnder config --- ","color:yellow;",p),xv.sda.pp.init(p)};"function"==typeof document.addEventListener?document.addEventListener("DOMContentLoaded",t):window.attachEvent("onload",t);var n=function(e){window.document.querySelectorAll||(document.querySelectorAll=document.body.querySelectorAll=Object.querySelectorAll=function(e,t,n,i,o){var s=document,a=s.createStyleSheet();for(o=s.all,t=[],n=(e=e.replace(/\[for\b/gi,"[htmlFor").split(",")).length;n--;){for(a.addRule(e[n],"k:v"),i=o.length;i--;)o[i].currentStyle.k&&t.push(o[i]);a.removeRule(0)}return t});var t={version:2,cookie_name:"",url:"",config:{},open_count:0,top:null,browser:null,venor_loaded:!1,venor:!1,configTpl:{ads_host:"",syndication_host:"",idzone:"",frequency_period:720,frequency_count:1,trigger_method:1,trigger_class:"",popup_force:!1,popup_fallback:!1,chrome_enabled:!0,new_tab:!1,cat:"",tags:"",el:"",sub:"",sub2:"",sub3:"",only_inline:!1,trigger_delay:0,capping_enabled:!0,cookieconsent:!0},init:function(e){if(void 0!==e.idzone&&e.idzone){void 0===e.customTargeting&&(e.customTargeting=[]),window.customTargeting=e.customTargeting||null;var t=Object.keys(e.customTargeting).filter(function(e){return e.search("ex_")>=0});for(var n in t.length&&t.forEach(function(e){return this.configTpl[e]=null}.bind(this)),this.configTpl)Object.prototype.hasOwnProperty.call(this.configTpl,n)&&(void 0!==e[n]?this.config[n]=e[n]:this.config[n]=this.configTpl[n]);void 0!==this.config.idzone&&""!==this.config.idzone&&(!0!==this.config.only_inline&&this.loadHosted(),this.addEventToElement(window,"load",this.preparePop))}},getCountFromCookie:function(){if(!this.config.cookieconsent)return 0;var e=t.getCookie(t.cookie_name),n=void 0===e?0:parseInt(e);return isNaN(n)&&(n=0),n},getLastOpenedTimeFromCookie:function(){var e=t.getCookie(t.cookie_name),n=null;if(void 0!==e){var i=e.split(";")[1];n=i>0?parseInt(i):0}return isNaN(n)&&(n=null),n},shouldShow:function(){if(!t.config.capping_enabled)return 0===t.open_count;if(t.open_count>=t.config.frequency_count)return!1;var e=t.getCountFromCookie(),n=t.getLastOpenedTimeFromCookie(),i=Math.floor(Date.now()/1e3),o=n+t.config.trigger_delay;return!(n&&o>i||(t.open_count=e,e>=t.config.frequency_count))},venorShouldShow:function(){return t.venor_loaded&&"0"===t.venor},setAsOpened:function(e){var n=e?e.target||e.srcElement:null,i={id:"",tagName:"",classes:"",text:"",href:"",elm:""};void 0!==n&&null!=n&&(i={id:void 0!==n.id&&null!=n.id?n.id:"",tagName:void 0!==n.tagName&&null!=n.tagName?n.tagName:"",classes:void 0!==n.classList&&null!=n.classList?n.classList:"",text:void 0!==n.outerText&&null!=n.outerText?n.outerText:"",href:void 0!==n.href&&null!=n.href?n.href:"",elm:n});var o=new CustomEvent("creativeDisplayed-"+t.config.idzone,{detail:i});if(document.dispatchEvent(o),t.config.capping_enabled){var s=1;s=0!==t.open_count?t.open_count+1:t.getCountFromCookie()+1;var a=Math.floor(Date.now()/1e3);t.config.cookieconsent&&t.setCookie(t.cookie_name,s+";"+a,t.config.frequency_period)}else++t.open_count},loadHosted:function(){var e=document.createElement("script");for(var t in e.type="application/javascript",e.async=!0,e.src="//"+this.config.ads_host+"/popunder1000.js",e.id="popmagicldr",this.config)Object.prototype.hasOwnProperty.call(this.config,t)&&"ads_host"!==t&&"syndication_host"!==t&&e.setAttribute("data-exo-"+t,this.config[t]);var n=document.getElementsByTagName("body").item(0);n.firstChild?n.insertBefore(e,n.firstChild):n.appendChild(e)},preparePop:function(){if("object"!=typeof exoJsPop101||!Object.prototype.hasOwnProperty.call(exoJsPop101,"add")){if(t.top=self,t.top!==self)try{top.document.location.toString()&&(t.top=top)}catch(e){}if(t.cookie_name="zone-cap-"+t.config.idzone,t.config.capping_enabled||(document.cookie=t.cookie_name+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"),t.shouldShow()){var e=new XMLHttpRequest;e.onreadystatechange=function(){e.readyState==XMLHttpRequest.DONE&&(t.venor_loaded=!0,200==e.status?t.venor=e.responseText:t.venor="0")};var n="https:"!==document.location.protocol&&"http:"!==document.location.protocol?"https:":document.location.protocol;e.open("GET",n+"//"+t.config.syndication_host+"/venor.php",!0);try{e.send()}catch(e){t.venor_loaded=!0}}if(t.buildUrl(),t.browser=t.browserDetector.getBrowserInfo(),t.config.chrome_enabled||!t.browser.isChrome){var i=t.getPopMethod(t.browser);t.addEvent("click",i)}}},getPopMethod:function(e){return t.config.popup_force||t.config.popup_fallback&&e.isChrome&&e.version>=68&&!e.isMobile?t.methods.popup:e.isMobile?t.methods["default"]:e.isChrome?t.methods.chromeTab:t.methods["default"]},buildUrl:function(){var e,t="https:"!==document.location.protocol&&"http:"!==document.location.protocol?"https:":document.location.protocol,n=top===self?document.URL:document.referrer,i={type:"inline",name:"popMagic",ver:this.version},o="";customTargeting&&Object.keys(customTargeting).length&&("object"==typeof customTargeting?Object.keys(customTargeting):customTargeting).forEach(function(t){"object"==typeof customTargeting?e=customTargeting[t]:Array.isArray(customTargeting)&&(e=scriptEl.getAttribute(t));var n=t.replace("data-exo-","");o+="&"+n+"="+e}),this.url=t+"//"+this.config.syndication_host+"/splash.php?cat="+this.config.cat+"&idzone="+this.config.idzone+"&type=8&p="+encodeURIComponent(n)+"&sub="+this.config.sub+(""!==this.config.sub2?"&sub2="+this.config.sub2:"")+(""!==this.config.sub3?"&sub3="+this.config.sub3:"")+"&block=1&el="+this.config.el+"&tags="+this.config.tags+"&cookieconsent="+this.config.cookieconsent+"&scr_info="+function(e){var t=e.type+"|"+e.name+"|"+e.ver;return encodeURIComponent(btoa(t))}(i)+o},addEventToElement:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?(e["e"+t+n]=n,e[t+n]=function(){e["e"+t+n](window.event)},e.attachEvent("on"+t,e[t+n])):e["on"+t]=e["e"+t+n]},getTriggerClasses:function(){var e,n=[];e=-1===t.config.trigger_class.indexOf(",")?t.config.trigger_class.split(" "):t.config.trigger_class.replace(/\s/g,"").split(",");for(var i=0;i0?e:1024},t=function(){var e=xv.dom.getViewportHeight();return e>0?e:768},n=["mobile","mobilehoriz","desktop"],i=!1,o=function(e){if(this.is_valid=!1,"object"==typeof e){if(this.type=e.type,"interstitial"!==this.type&&"interstitialfull"!==this.type){if(!e.div_id)return void console.error("Invalid banner: ",e);if(this.container=this.checkContainer(e.div_id,!0),!this.container)return}if(!(e.nb_ban<=0)){this.initContainer(),this.is_valid=!0,this.mobile_container=e.mobile_div||!1,this.nb_banners=e.nb_ban,this.area_tag=e.area_tag||!1,this.min_ratio=e.min_ratio,this.max_ratio=e.max_ratio,"number"==typeof this.min_ratio&&this.min_ratio>0&&(this.minr=Math.round(100*this.min_ratio)/100),"number"==typeof this.max_ratio&&this.max_ratio>0&&(this.maxr=Math.round(100*this.max_ratio)/100),this.mobile=e.mobile||!1,this.mobilehoriz=e.mobilehoriz||!1,this.desktop=e.desktop||!1,this.mobile||this.mobilehoriz||this.desktop||(this.mobile=!0,this.desktop=!0),this.is_displayed=!1,this.is_loading=!1,this.is_loaded=!1,this.is_viewed=!1,this.to_load=[];for(var t=0;tthis.maxr)return!1;for(var i=0;i=420||n.vratio>=1))return!0;break;case"desktop":if(n.vwidth>n.mobile_width)return!0;break;default:console.error("Unknown device: "+device)}return!1},serialize:function(){return this.is_loading=!0,this.area_tag?this.type+"-"+this.area_tag+"-"+this.nb_banners:this.type+"-"+this.nb_banners},display:function(e,t){if(this.is_loading=!1,this.is_loaded=!0,e?this.banners_data=e:e=this.banners_data,"video"!==this.type&&this.getContainers(t))if(this.is_displayed=!0,this.isCallOnView()||this.setIsViewed(!0),0!==e.length){for(var n=0;n0&&function(){t.resizeRelatedAd()}());this.related_node_idx=e;var n=document.getElementById("related-videos");if(0===e){if(this.$backupContainer){for(var i=0;i0&&function(){t.resizeRelatedAd()}());var m=h.parentNode;h===m.lastChild?m.appendChild(a):m.insertBefore(a,h.nextSibling);var v=document.createElement("div");if(v.className="thumb-inside",a.appendChild(v),this.ads_nodes[i])for(var o=0;o0&&"undefined"!=typeof i.style){var o="square"===this.type||"playersiderectangle"===this.type?"video-right"===i.parentNode.getAttribute("id")?0:10:"ad-footer"===i.parentNode.getAttribute("id")?0:e()<480?0:15,s=i.parentNode.clientWidth-2*o;i.style.transformOrigin="0 0",i.style.transform="scale("+Math.floor(s/300*1e3)/1e3+")"}}},resizeAds:function(){if(!("footer"!==this.type&&"mobilerectangle"!==this.type||this.hasCopyInRelated()))for(var e="footer"===this.type?900:300,t=0;t0&&"undefined"!=typeof i.style){var o=i.parentNode.clientWidth;i.style.transformOrigin="0 0",i.style.transform="scale("+Math.floor(o/e*1e3)/1e3+")"}}},loadFullExoClickData:function(){"footer"===this.type?(this.zoneId=4353796,this.custom_call={"function":"exoclickDesktopFooter",bCalled:!1,params:{zoneId:this.zoneId}}):"square"===this.type?(this.zoneId=4116538,this.custom_call={"function":"exoclickDesktopSquare",bCalled:!1,params:{zoneId:this.zoneId}}):"playersiderectangle"===this.type?(this.zoneId=5380732,this.custom_call={"function":"exoclickDesktopPlayerSideRectangle",bCalled:!1,params:{zoneId:this.zoneId}}):"mobilerectangle"===this.type?(this.zoneId=3782021,this.custom_call={"function":"exoclickMobileRectangle",bCalled:!1,params:{zoneId:this.zoneId}}):"interstitialfull"===this.type||"interstitial"===this.type?(this.zoneId="interstitialfull"===this.type?3959997:3954650,this.custom_call={"function":"exoclickInterstitial",bCalled:!1,params:{zoneId:this.zoneId}}):"native"===this.type&&(this.zoneId=4713984,this.custom_call={"function":"exoclickNative",bCalled:!1,params:{zoneId:this.zoneId}}),this.banners_data=[];for(var e=0;e1&&console.warn("Native: Found more that 1 node"),n=n[0];for(var i=xv.dom.getChildren(n),o=[],s=0;s=this.insert_pos?e.insertBefore(n,this.mozthumbs[this.insert_pos-1]):e.appendChild(n),t.video_preview&&"function"==typeof require&&require(["lib/helpers/thumbs_rotator"],function(e){e(n,!0)}),this.ads_nodes.push([n]),xv.sda.manager.is_video_page&&xv.thumbs&&xv.thumbs.update_related_class&&xv.thumbs.update_related_class()}catch(i){xv.sda.manager.sendError(i,"native.createAdNodes")}},d.prototype.shouldDelayAppend=function(e,t){return!(!this.isCallOnView()||this.is_viewed||this.isInRelated())},d.prototype.getAdNode=function(e,t,n,i,o){try{var s=3e7+Math.round(7e7*Math.random()),a=document.createElement("div");if(this.loadExoScript(),this.is_embed)a.className="related-video",a.appendChild(this.getExoClickIns());else{a.id="video_"+s,a.className="thumb-block thumb-ad thumb-nat-ad thumb-nat-exo-ad";var r=document.createElement("div");r.className="thumb-inside",a.appendChild(r);var d=document.createElement("div");d.className="thumb-under",a.appendChild(d);var l=document.createElement("span");l.className="mark",l.innerHTML=xv.i18n.__("misc.ad",{},null,"AD"),r.appendChild(l);var c=document.createElement("div");c.className="thumb",r.appendChild(c),this.appendExoClickInsInContainer(c,this.getExoClickIns())}var u=this;return setTimeout(function(){u.execExoClickIns()},10),a}catch(p){xv.sda.manager.sendError(p,"native.getAdNode")}};var l=function(e){"object"==typeof e&&o.apply(this,[e])};l.prototype=new o,l.prototype.isCallOnView=function(){return!0},l.prototype.display=function(e,t){if(this.is_loading=!1,this.is_loaded=!0,e?this.banners_data=e:e=this.banners_data,e&&e.length)for(var n=0;n0&&(this.keywords=e.keywords),this.mobile_width=768,"xnxx"===xv.sda.manager.skin&&(this.mobile_width=992),this.vwidth=null,this.vratio=null,this.banners=[];for(var t=0;t0&&this.displayAds(e)}catch(i){xv.sda.manager.sendError(i,"banners.loadAds")}},loadAdsDelayed:function(){try{xv.sda.manager.dom_loaded=!0;for(var e=0;e50)return this.mp4_support=!0}catch(i){return!1}return!1},sendError:function(e,t){console.error(e);var n={logs:e.stack||"",file:"",message:(e.name||"Error")+' in "'+t+'" : '+e.message};n.file=(e.fileName||"Unknown file")+(e.lineNumber?":"+e.lineNumber:""),"number"==typeof e.columnNumber?n.file+=":"+e.columnNumber:"number"==typeof e.colNumber&&(n.file+=":"+e.colNumber);var i=xv.utils.createRequestObject();i.open("POST","/javascript-error",!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded");var o=[];for(var s in n)n.hasOwnProperty(s)&&o.push(s+"="+encodeURIComponent(n[s]));i.send(o.join("&"))}},"object"!=typeof xv.sda&&(xv.sda={}),xv.sda.manager=new t,window.display_related_native=function(){xv.sda.manager.displayRelatedNative()},window.display_embed_related_native=function(e){xv.sda.manager.displayEmbedRelatedNative(e)},window.toggle_wpn_ads=function(e){xv.sda.manager.toggleAds(e)};try{xv.sda.manager.setup()}catch(n){xv.sda.manager.sendError(n,"manager.setup")}}}(),function(){xv.conf&&xv.conf.dyn.premium&&(xv.premium={to_fade_in_up:[],hide_to_fadeInUp_in:function(e){var t=document.getElementById(e),n=xv.dom.getChildrenRecursive(t);for(var i in n)n[i].getAttribute&&"fadeInUp"===n[i].getAttribute("data-animation")&&(xv.dom.addClass(n[i],"to-fadeInUp"),this.to_fade_in_up.push({elem:n[i],position_top:!1,height:!1,visible:!1}))}})}();