PageSourceSearch

https://nojeslivet.se/wp-content/plugins/advanced-ads-pro/assets/js/base.min.js?ver=2.28.2

js nojeslivet.se collected 2026-10-01 16:30:35 UTC 75,196 bytes, 20 lines download raw bytes

vendor: 16,553 bytes, lines 1-20
1/**
2 * @file postscribe
3 * @description Asynchronously write javascript, even with document.write.
4 * @version v2.0.8
5 * @see {@link https://krux.github.io/postscribe}
6 * @license MIT
7 * @author Derek Brans
8 * @copyright 2016 Krux Digital, Inc
9 */
10var advanced_ads_pro,advads_pro_utils;if(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports&&(exports.advads_postscribe=t()),e.advads_postscribe=t()}(this,(function(){return function(e){var t={};function a(i){if(t[i])return t[i].exports;var s=t[i]={exports:{},id:i,loaded:!1};return e[i].call(s.exports,s,s.exports,a),s.loaded=!0,s.exports}return a.m=e,a.c=t,a.p="",a(0)}([function(e,t,a){"use strict";var i,s=a(1),r=(i=s)&&i.__esModule?i:{default:i};e.exports=r.default},function(e,t,a){"use strict";t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e};t.default=h;var s,r=a(2),n=(s=r)&&s.__esModule?s:{default:s},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}(a(4));function d(){}var _={afterAsync:d,afterDequeue:d,afterStreamStart:d,afterWrite:d,autoFix:!0,beforeEnqueue:d,beforeWriteToken:function(e){return e},beforeWrite:function(e){return e},done:d,error:function(e){throw new Error(e.msg)},releaseAsync:!1},c=0,l=[],p=null;function u(){var e=l.shift();if(e){var t=o.last(e);t.afterDequeue(),e.stream=T.apply(void 0,e),t.afterStreamStart()}}function T(e,t,a){(p=new n.default(e,a)).id=c++,p.name=a.name||p.id,h.streams[p.name]=p;var s=e.ownerDocument,r={close:s.close,open:s.open,write:s.write,writeln:s.writeln};function o(e){e=a.beforeWrite(e),p.write(e),a.afterWrite(e)}i(s,{close:d,open:d,write:function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return o(t.join(""))},writeln:function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return o(t.join("")+"\n")}});var _=p.win.onerror||d;return p.win.onerror=function(e,t,i){a.error({msg:e+" - "+t+": "+i}),_.apply(p.win,[e,t,i])},p.write(t,(function(){i(s,r),p.win.onerror=_,a.done(),p=null,u()})),p}function h(e,t,a){if(o.isFunction(a))a={done:a};else if("clear"===a)return l=[],p=null,void(c=0);a=o.defaults(a,_);var i=[e=/^#/.test(e)?window.document.getElementById(e.substr(1)):e.jquery?e[0]:e,t,a];return e.postscribe={cancel:function(){i.stream?i.stream.abort():i[1]=d}},a.beforeEnqueue(i),l.push(i),p||u(),e.postscribe}i(h,{streams:{},queue:l,WriteStream:n.default})},function(e,t,a){"use strict";t.__esModule=!0;var i,s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},r=a(3),n=(i=r)&&i.__esModule?i:{default:i},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}(a(4));function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _="data-ps-",c="ps-style",l="ps-script";function p(e,t){var a=_+t,i=e.getAttribute(a);return o.existy(i)?String(i):i}function u(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=_+t;o.existy(a)&&""!==a?e.setAttribute(i,a):e.removeAttribute(i)}var T=function(){function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d(this,e),this.root=t,this.options=a,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new n.default("",{autoFix:a.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],u(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var t=this.writeQueue.shift();o.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},e.prototype._callFunction=function(e){var t={type:"function",value:e.name||e.toString()};this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},e.prototype._writeImpl=function(e){this.parser.append(e);for(var t=void 0,a=void 0,i=void 0,s=[];(t=this.parser.readToken())&&!(a=o.isScript(t))&&!(i=o.isStyle(t));)(t=this.options.beforeWriteToken(t))&&s.push(t);s.length>0&&this._writeStaticTokens(s),a&&this._handleScriptToken(t),i&&this._handleStyleToken(t)},e.prototype._writeStaticTokens=function(e){var t=this._buildChunk(e);return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,this._walkChunk(),t):null},e.prototype._buildChunk=function(e){for(var t=this.actuals.length,a=[],i=[],s=[],r=e.length,n=0;n<r;n++){var o=e[n],d=o.toString();if(a.push(d),o.attrs){if(!/^noscript$/i.test(o.tagName)){var _=t++;i.push(d.replace(/(\/?>)/," data-ps-id="+_+" $1")),o.attrs.id!==l&&o.attrs.id!==c&&s.push("atomicTag"===o.type?"":"<"+o.tagName+" "+"data-ps-proxyof="+_+(o.unary?" />":">"))}}else i.push(d),s.push("endTag"===o.type?d:"")}return{tokens:e,raw:a.join(""),actual:i.join(""),proxy:s.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,t=[this.proxyRoot];o.existy(e=t.shift());){var a=1===e.nodeType;if(!(a&&p(e,"proxyof"))){a&&(this.actuals[p(e,"id")]=e,u(e,"id"));var i=e.parentNode&&p(e.parentNode,"proxyof");i&&this.actuals[i].appendChild(e)}t.unshift.apply(t,o.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var t=this,a=this.parser.clear();a&&this.writeQueue.unshift(a),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,(function(){t._onScriptDone(e)})))},e.prototype._handleStyleToken=function(e){var t=this.parser.clear();t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},e.prototype._writeStyleToken=function(e){var t=this._buildStyle(e);this._insertCursor(t,c),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var t=this.doc.createElement(e.tagName);return t.setAttribute("type",e.type),o.eachKey(e.attrs,(function(e,a){t.setAttribute(e,a)})),t},e.prototype._insertCursor=function(e,t){this._writeImpl('<span id="'+t+'"/>');var a=this.doc.getElementById(t);a&&a.parentNode.replaceChild(e,a)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){e===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},e.prototype._writeScriptToken=function(e,t){var a=this._buildScript(e),i=this._shouldRelease(a),s=this.options.afterAsync;e.src&&(a.src=e.src,this._scriptLoadHandler(a,i?s:function(){t(),s()}));try{this._insertCursor(a,l),a.src&&!i||t()}catch(e){this.options.error(e),t()}},e.prototype._buildScript=function(e){var t=this.doc.createElement(e.tagName);return o.eachKey(e.attrs,(function(e,a){t.setAttribute(e,a)})),e.content&&(t.text=e.content),t},e.prototype._scriptLoadHandler=function(e,t){function a(){e=e.onload=e.onreadystatechange=e.onerror=null}var i=this.options.error;function r(){a(),null!=t&&t(),t=null}function n(e){a(),i(e),null!=t&&t(),t=null}function o(e,t){var a=e["on"+t];null!=a&&(e["_on"+t]=a)}o(e,"load"),o(e,"error"),s(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){n({msg:"onload handler failed "+t+" @ "+e.src})}r()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){return void n({msg:"onerror handler failed "+t+" @ "+e.src})}n({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&r()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}();t.default=T},function(e,t,a){
11/**
12	 * @file prescribe
13	 * @description Tiny, forgiving HTML parser
14	 * @version vundefined
15	 * @see {@link https://github.com/krux/prescribe/}
16	 * @license MIT
17	 * @author Derek Brans
18	 * @copyright 2016 Krux Digital, Inc
19	 */
20var i;i=function(){return function(e){var t={};function a(i){if(t[i])return t[i].exports;var s=t[i]={exports:{},id:i,loaded:!1};return e[i].call(s.exports,s,s.exports,a),s.loaded=!0,s.exports}return a.m=e,a.c=t,a.p="",a(0)}([function(e,t,a){"use strict";var i,s=a(1),r=(i=s)&&i.__esModule?i:{default:i};e.exports=r.default},function(e,t,a){"use strict";t.__esModule=!0;var i,s=_(a(2)),r=_(a(3)),n=a(6),o=(i=n)&&i.__esModule?i:{default:i},d=a(5);function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},p=function(){function e(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e),this.stream=a;var r=!1,n={};for(var d in s)s.hasOwnProperty(d)&&(i.autoFix&&(n[d+"Fix"]=!0),r=r||n[d+"Fix"]);r?(this._readToken=(0,o.default)(this,n,(function(){return t._readTokenImpl()})),this._peekToken=(0,o.default)(this,n,(function(){return t._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return e.prototype.append=function(e){this.stream+=e},e.prototype.prepend=function(e){this.stream=e+this.stream},e.prototype._readTokenImpl=function(){var e=this._peekTokenImpl();if(e)return this.stream=this.stream.slice(e.length),e},e.prototype._peekTokenImpl=function(){for(var e in l)if(l.hasOwnProperty(e)&&l[e].test(this.stream)){var t=r[e](this.stream);if(t)return"startTag"===t.type&&/script|style/i.test(t.tagName)?null:(t.text=this.stream.substr(0,t.length),t)}},e.prototype.peekToken=function(){return this._peekToken()},e.prototype.readToken=function(){return this._readToken()},e.prototype.readTokens=function(e){for(var t=void 0;t=this.readToken();)if(e[t.type]&&!1===e[t.type](t))return},e.prototype.clear=function(){var e=this.stream;return this.stream="",e},e.prototype.rest=function(){return this.stream},e}();for(var u in t.default=p,p.tokenToString=function(e){return e.toString()},p.escapeAttributes=function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=(0,d.escapeQuotes)(e[a],null));return t},p.supports=s,s)s.hasOwnProperty(u)&&(p.browserHasFlaw=p.browserHasFlaw||!s[u]&&u)},function(e,t){"use strict";t.__esModule=!0;var a=!1,i=!1,s=window.document.createElement("div");try{var r="<P><I></P></I>";s.innerHTML=r,t.tagSoup=a=s.innerHTML!==r}catch(e){t.tagSoup=a=!1}try{s.innerHTML="<P><i><P></P></i></P>",t.selfClose=i=2===s.childNodes.length}catch(e){t.selfClose=i=!1}s=null,t.tagSoup=a,t.selfClose=i},function(e,t,a){"use strict";t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.comment=function(e){var t=e.indexOf("--\x3e");if(t>=0)return new s.CommentToken(e.substr(4,t-1),t+3)},t.chars=function(e){var t=e.indexOf("<");return new s.CharsToken(t>=0?t:e.length)},t.startTag=n,t.atomicTag=function(e){var t=n(e);if(t){var a=e.slice(t.length);if(a.match(new RegExp("</\\s*"+t.tagName+"\\s*>","i"))){var i=a.match(new RegExp("([\\s\\S]*?)</\\s*"+t.tagName+"\\s*>","i"));if(i)return new s.AtomicTagToken(t.tagName,i[0].length+t.length,t.attrs,t.booleanAttrs,i[1])}}},t.endTag=function(e){var t=e.match(r.endTag);if(t)return new s.EndTagToken(t[1],t[0].length)};var s=a(4),r={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function n(e){var t,a,n;if(-1!==e.indexOf(">")){var o=e.match(r.startTag);if(o){var d=(t={},a={},n=o[2],o[2].replace(r.attr,(function(e,i){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(t[arguments[5]]="",a[arguments[5]]=!0):t[i]=arguments[2]||arguments[3]||arguments[4]||r.fillAttr.test(i)&&i||"":t[i]="",n=n.replace(e,"")})),{v:new s.StartTagToken(o[1],o[0].length,t,a,!!o[3],n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===d?"undefined":i(d)))return d.v}}}},function(e,t,a){"use strict";t.__esModule=!0,t.EndTagToken=t.AtomicTagToken=t.StartTagToken=t.TagToken=t.CharsToken=t.CommentToken=t.Token=void 0;var i=a(5);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.Token=function e(t,a){s(this,e),this.type=t,this.length=a,this.text=""},t.CommentToken=function(){function e(t,a){s(this,e),this.type="comment",this.length=a||(t?t.length:0),this.text="",this.content=t}return e.prototype.toString=function(){return"\x3c!--"+this.content},e}(),t.CharsToken=function(){function e(t){s(this,e),this.type="chars",this.length=t,this.text=""}return e.prototype.toString=function(){return this.text},e}();var r=t.TagToken=function(){function e(t,a,i,r,n){s(this,e),this.type=t,this.length=i,this.text="",this.tagName=a,this.attrs=r,this.booleanAttrs=n,this.unary=!1,this.html5Unary=!1}return e.formatTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a="<"+e.tagName;for(var s in e.attrs)if(e.attrs.hasOwnProperty(s)){a+=" "+s;var r=e.attrs[s];void 0!==e.booleanAttrs&&void 0!==e.booleanAttrs[s]||(a+='="'+(0,i.escapeQuotes)(r)+'"')}return e.rest&&(a+=" "+e.rest),e.unary&&!e.html5Unary?a+="/>":a+=">",null!=t&&(a+=t+"</"+e.tagName+">"),a},e}();t.StartTagToken=function(){function e(t,a,i,r,n,o){s(this,e),this.type="startTag",this.length=a,this.text="",this.tagName=t,this.attrs=i,this.booleanAttrs=r,this.html5Unary=!1,this.unary=n,this.rest=o}return e.prototype.toString=function(){return r.formatTag(this)},e}(),t.AtomicTagToken=function(){function e(t,a,i,r,n){s(this,e),this.type="atomicTag",this.length=a,this.text="",this.tagName=t,this.attrs=i,this.booleanAttrs=r,this.unary=!1,this.html5Unary=!1,this.content=n}return e.prototype.toString=function(){return r.formatTag(this,this.content)},e}(),t.EndTagToken=function(){function e(t,a){s(this,e),this.type="endTag",this.length=a,this.text="",this.tagName=t}return e.prototype.toString=function(){return"</"+this.tagName+">"},e}()},function(e,t){"use strict";t.__esModule=!0,t.escapeQuotes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/([^"]*)"/g,(function(e,t){return/\\/.test(t)?t+'"':t+'\\"'})):t}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,a){var n=function(){var e=[];return e.last=function(){return this[this.length-1]},e.lastTagNameEq=function(e){var t=this.last();return t&&t.tagName&&t.tagName.toUpperCase()===e.toUpperCase()},e.containsTagName=function(e){for(var t,a=0;t=this[a];a++)if(t.tagName===e)return!0;return!1},e}(),o={startTag:function(a){var s=a.tagName;"TR"===s.toUpperCase()&&n.lastTagNameEq("TABLE")?(e.prepend("<TBODY>"),d()):t.selfCloseFix&&i.test(s)&&n.containsTagName(s)?n.lastTagNameEq(s)?r(e,n):(e.prepend("</"+a.tagName+">"),d()):a.unary||n.push(a)},endTag:function(i){n.last()?t.tagSoupFix&&!n.lastTagNameEq(i.tagName)?r(e,n):n.pop():t.tagSoupFix&&(a(),d())}};function d(){var t=function(e,t){var a=e.stream,i=s(t());return e.stream=a,i}(e,a);t&&o[t.type]&&o[t.type](t)}return function(){return d(),s(a())}};var a=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,i=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function s(e){return e&&"startTag"===e.type&&(e.unary=a.test(e.tagName)||e.unary,e.html5Unary=!/\/>$/.test(e.text)),e}function r(e,t){var a=t.pop();
20e.prepend("</"+a.tagName+">")}}])},e.exports=i()},function(e,t){"use strict";t.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(e){return null!=e}function s(e,t,a){var i=void 0,s=e&&e.length||0;for(i=0;i<s;i++)t.call(a,e[i],i)}function r(e,t,a){for(var i in e)e.hasOwnProperty(i)&&t.call(a,i,e[i])}function n(e,t){return!(!e||"startTag"!==e.type&&"atomicTag"!==e.type||!("tagName"in e))&&!!~e.tagName.toLowerCase().indexOf(t)}t.existy=i,t.isFunction=function(e){return"function"==typeof e},t.each=s,t.eachKey=r,t.defaults=function(e,t){return e=e||{},r(t,(function(t,a){i(e[t])||(e[t]=a)})),e},t.toArray=function(e){try{return Array.prototype.slice.call(e)}catch(r){var t=(i=[],s(e,(function(e){i.push(e)})),{v:i});if("object"===(void 0===t?"undefined":a(t)))return t.v}var i},t.last=function(e){return e[e.length-1]},t.isTag=n,t.isScript=function(e){return n(e,"script")},t.isStyle=function(e){return n(e,"style")}}])})),!advanced_ads_pro){advanced_ads_pro={ads:[],passive_ads:{},deferedAds:[],blockme:!1,blockmeQueue:[],observers:jQuery.Callbacks(),postscribeObservers:jQuery.Callbacks(),random_placements:!1,iterations:0,adblocker_active:!1,injected:0,injected_done:0,options:{action:"advads_ad_select"},inject_before:[],dispatchWrapperCBEvent(e,t,a){document.dispatchEvent(new CustomEvent("advads_pro_cache_busting_done",{detail:{elementId:e,isEmpty:t,type:a}}))},isBusy:!1,set busy(e){this.isBusy=e,document.dispatchEvent(new CustomEvent("advanced_ads_pro."+(e?"busy":"idle")))},get busy(){return this.isBusy},load:function(e){"use strict";var t,a,i,s,r,n,o;t=e.hasOwnProperty("id")?e.id:null,a=e.hasOwnProperty("method")?e.method:null,i=e.hasOwnProperty("params")&&"object"==typeof e.params?this.add_general_ajax_args(e.params):{},s=e.hasOwnProperty("elementid")?e.elementid:null,n=advanced_ads_pro_ajax_object.lazy_load_module_enabled&&i&&"enabled"===i.lazy_load,o=e.hasOwnProperty("blog_id")?e.blog_id:"";var d=e.hasOwnProperty("server_conditions")?e.server_conditions:"";if(s&&this.iterations>1&&jQuery("."+s).empty(),i&&"object"==typeof i){if(!advads_pro_utils.selector_exists(i))return;if(i.test_id&&(r="placement"===i.previous_method?i.previous_id:t,jQuery.inArray(r,this.get_random_placements())<0))return;i.adblocker_active=this.adblocker_active,i=JSON.stringify(i)}var _={ad_id:t,ad_method:a,ad_args:i,elementId:s,blog_id:o,server_conditions:d};n?advanced_ads_pro.lazy_load.add(s,"ajax",_):this.deferedAds[this.deferedAds.length]=_},add_general_ajax_args:function(e){return advads_pro_utils.isset(e.post)&&advads_ajax_queries_args[e.post]&&(e.post=advads_ajax_queries_args[e.post]),e},hasAd:function(e,t,a,i,s){"use strict";var r={id:e,type:t,title:a,cb_type:i,elementId:s};this.ads.push(r),this.observers.fire({event:"hasAd",ad:r})},injectBlocked:function(){"use strict";var e,t,a=this.blockmeQueue,i=a.length;for(this.blockmeQueue=[],t=0;t<i;t+=1)e=a[t],this.inject(e[0],e[1])},_inject_before:function(e,t){return e&&advads_pro_utils.each(advanced_ads_pro.inject_before,(function(a){a.elementId===e&&(advads_pro_utils.each(a.data,(function(e){t.append(e)})),t=jQuery("."+e),a.data=[])})),t},inject:function(e,t){"use strict";var a,i,s=this;if(this.blockme)this.blockmeQueue.push([e,t]);else{this.injected++;for(var r=new RegExp(/^([\s\S]*?)<script[^>]+?data-tcf="waiting-for-consent"[^>]+>(.+?)<\/script>([\s\S]*)$/i),n=r.exec(t);null!==n;){var o=document.createElement("script");o.setAttribute("type","text/plain"),o.textContent=n[2],t=n[1]+advads.privacy.decode_ad(o,!1)+n[3],n=r.exec(t)}try{if(a=t.match(/<script[^>]+src/)&&-1===t.indexOf(" async"),null===e)i=jQuery("head ");else if(!(i=jQuery("."+e)).length)return void this.injected--;if(a)this.blockme=!0,(i=s._inject_before(e,i)).each((function(){var a=jQuery(this);advads_postscribe(a,t,{beforeWriteToken:s.beforeWriteToken,afterAsync:function(){s.blockme=!1,s.injectBlocked()},done:function(){s.dispatchWrapperCBEvent(e,!1,"ajax"),s.postscribeOb
20servers.fire({event:"postscribe_done",ref:i,ad:t})},error:function(e){console.error(e),advanced_ads_pro.injected--}})}));else{if(i=s._inject_before(e,i),-1!==t.indexOf("gform.initializeOnLoaded")){const e=document.createElement("DIV");e.innerHTML=t;const a=e.querySelector('input[type="submit"]');if(a){const t=a.getAttribute("onclick"),i=a.getAttribute("onkeypress"),s=a.id,r=document.createElement("SCRIPT");a.removeAttribute("onclick"),a.removeAttribute("onkeypress"),r.innerHTML=["click","keypress"].map((function(e){return`document.body.addEventListener("${e}", function(event){if (event.target && event.target.id === "${this.id}"){${this[e]}}})`}),{id:s,click:t,keypress:i}).join(";"),e.append(r)}const i=e.querySelector("form"),s=i.getAttribute("action");s.includes("#gf")&&i.setAttribute("action",`${window.location.href.split("#")[0]}#${s.split("#")[1]}`),t=e.innerHTML}i.each((function(){var a=jQuery(this);advads_postscribe(a,t,{beforeWriteToken:s.beforeWriteToken,done:function(){s.dispatchWrapperCBEvent(e,!1,"ajax"),s.postscribeObservers.fire({event:"postscribe_done",ref:i,ad:t})},error:function(e){console.error(e),advanced_ads_pro.injected--}})}))}}catch(e){console.error(e),this.injected--}}},beforeWriteToken:function(e){if("startTag"===e.type)for(var t in e.attrs){var a=e.attrs[t];'{"'===a.substring(0,2)&&(a=a.replace(/\"/g,"&quot;"),e.attrs[t]=a)}return"atomicTag"===e.type&&e.src&&(e.src=e.src.replace(/&amp;/g,"&")),e},loadAjaxAds:function(){"use strict";if(!this.deferedAds.length)return advanced_ads_pro.observers.fire({event:"inject_ajax_ads",ad_ids:[]}),void advanced_ads_pro.return_to_idle_injections_done();var e={action:"advads_ad_select",ad_ids:this.ads,deferedAds:this.deferedAds,consent:"undefined"==typeof advads?"not_needed":advads.privacy.get_state(),theId:window.advanced_ads_pro_ajax_object.the_id,isSingular:advanced_ads_pro_ajax_object.is_singular};document.dispatchEvent(new CustomEvent("advads_ajax_ad_select",{detail:e})),this.deferedAds=[];jQuery.ajax({url:advanced_ads_pro_ajax_object.ajax_url,method:"POST",data:e,dataType:"json"}).done((function(e){var t={};if(Array.isArray(e)){advanced_ads_pro.observe_injections();for(var a=0;a<e.length;a++){var i=e[a];if(i.status&&"error"===i.status&&advanced_ads_pro.dispatchWrapperCBEvent(i.elementId,!0,"ajax"),i.hasOwnProperty("status")&&"success"===i.status&&i.hasOwnProperty("item")&&i.item&&(i.inject_before&&advanced_ads_pro.inject_before.push({elementId:i.elementId,data:i.inject_before}),advanced_ads_pro.inject(i.elementId,i.item,!0),i.hasOwnProperty("ads")&&Array.isArray(i.ads)))for(var s=0;s<i.ads.length;s++)if(advanced_ads_pro.hasAd(i.ads[s].id,i.ads[s].type,i.ads[s].title,"ajax",i.elementId),"ad"===i.ads[s].type&&i.ads[s].tracking_enabled){var r=i.blog_id?i.blog_id:1;void 0===t[r]&&(t[r]=[]),t[r].push(i.ads[s].id)}i.hasOwnProperty("method")&&"placement"===i.method&&advanced_ads_pro.observers.fire({event:"inject_placement",id:i.id,is_empty:!!i.item,cb_type:"ajax"})}advanced_ads_pro.observers.fire({event:"inject_ajax_ads",ad_ids:t}),advads_pro_utils.log("AJAX CB response\n",e),advanced_ads_pro.return_to_idle_injections_done()}})).fail((function(){advanced_ads_pro.return_to_idle_injections_done()}))},get_random_placements:function(e){return!1!==this.random_placements||(this.random_placements=[],advads_pro_utils.each_key(e,(function(e,t){"object"==typeof t&&(random_placement=advads_pro_utils.get_random_el_by_weight(t.placements))&&this.random_placements.push(random_placement)}),this)),this.random_placements},create_non_existent_arrays:function(){0===this.iterations&&(advads_pro_utils.each(["advads_passive_ads","advads_passive_groups","advads_passive_placements"],(function(e){advads_pro_utils.isset(window[e])||(window[e]={})})),advads_pro_utils.each(["advads_placement_tests","advads_ajax_queries","advads_has_ads","advads_js_items"],(function(e){advads_pro_utils.isset(window[e])||(window[e]=[])})))},process_passive_cb:function(){var e=this;e.create_non_existent_arrays(),advads_pro_utils.print_debug_arrays();var t=function(t){e.busy=!0,e.iterations++,e.lazy_load.clear(),e.adblocker_active=t,e.observe_injections(),advads_pro_utils.each(advads_has_ads,(function(e){advanced_ads_pro.hasAd.apply(advanced_ads_pro,e)})),e.get_random_placements(advads_placement_tests),advads_pro_utils.each_key(advads_passive_ads,(function(e,t){var a=(e+"").indexOf("_");-1!==a&&(e=e.slice(0,a)),advads_pro_utils.each(t.elementid,(function(a){advanced_ads_pro.iterations>1&&jQuery("."+a).empty();var i=new Advads_passive_cb_Ad(t.ads[e],a);i.can_display()&&i.output({track:!0,inject:!0,do_has_ad:!0})}))}
20)),advads_pro_utils.each_key(advads_passive_groups,(function(e,t){advads_pro_utils.each(t.elementid,(function(e){advanced_ads_pro.iterations>1&&jQuery("."+e).empty(),new Advads_passive_cb_Group(t,e).output()}))})),advads_pro_utils.each_key(advads_passive_placements,(function(e,t){advads_pro_utils.each(t.elementid,(function(a){advanced_ads_pro.iterations>1&&jQuery("."+a).empty();var i=new Advads_passive_cb_Placement(t,a);i.can_use_passive_cb()?advanced_ads_pro_ajax_object.lazy_load_module_enabled&&t.placement_info.options&&"enabled"===t.placement_info.options.lazy_load?advanced_ads_pro.lazy_load.add(a,"passive",{key:e,placement_id:t.placement_info.id}):i.output():advanced_ads_pro.load(i.ajax_query)}))})),advads_pro_utils.isset(window.advads_js_items)&&advads_pro_utils.each_key(advads_js_items,(function(e,t){advanced_ads_pro.iterations>1||advads_pro_utils.selector_exists(t.args)&&(t.inject_before&&advanced_ads_pro.inject_before.push({elementId:t.elementid,data:t.inject_before}),advanced_ads_pro.inject(t.elementid,t.output,!0),advads_pro_utils.each(t.has_js_items,(function(e){advanced_ads_pro.hasAd(e.id,e.type,e.title),"ad"===e.type&&(advanced_ads_pro.passive_ads[e.blog_id]||(advanced_ads_pro.passive_ads[e.blog_id]=[]),advanced_ads_pro.passive_ads[e.blog_id].push(e.id))})))})),e.observers.fire({event:"inject_passive_ads",ad_ids:e.passive_ads}),e.passive_ads={},e.process_ajax_ads(advads_ajax_queries),e.lazy_load.enable()};"function"==typeof advanced_ads_check_adblocker?advanced_ads_check_adblocker((function(e){t(e)})):t(!1)},observe_injections:function(){advanced_ads_pro.injected_done>0||advanced_ads_pro.postscribeObservers.add((function(e){"postscribe_done"===e.event&&advanced_ads_pro.injected_done++}))},return_to_idle_injections_done:function(){var e=1e3,t=setInterval((function(){e-=10,(advanced_ads_pro.injected_done>=advanced_ads_pro.injected||e<0)&&(advanced_ads_pro.injected=0,advanced_ads_pro.injected_done=0,advanced_ads_pro.busy=!1,clearInterval(t))}),10)},process_ajax_ads:function(e){Array.isArray(e)&&advads_pro_utils.each(e,(function(e){advanced_ads_pro.load(e)})),this.loadAjaxAds()},lazy_load:{lazy_map:{},did_init:!1,add:function(e,t,a){var i,s=document.getElementById(e);s&&(a.placement_id?i=a.placement_id:"placement"===a.ad_method&&(i=a.ad_id),this.lazy_map[e]={node:s,type:t,data:a,offset:this.get_offset(i)})},get_offset:function(e){var t=0;return advanced_ads_pro_ajax_object.lazy_load&&(t=advanced_ads_pro_ajax_object.lazy_load.offsets[e]?parseInt(advanced_ads_pro_ajax_object.lazy_load.offsets[e],10):parseInt(advanced_ads_pro_ajax_object.lazy_load.default_offset,10)),t},clear:function(){this.lazy_map={}},enable:function(){var e=this;e.did_init?jQuery(window).trigger("scroll"):(e._create_scroll_handler(),e.did_init=!0)},_create_scroll_handler:function(){var e=this,t=!0;function a(){var a=jQuery(window).height();advads_pro_utils.each_key(e.lazy_map,(function(t,i){var s=i.node.getBoundingClientRect(),r=i.offset;s.top+r>=0&&s.bottom-r<=a&&e._display(t)})),t=!1}function i(e){var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return setTimeout(e,16)};t.call(window,e)}jQuery(window).on("scroll",(function(){t||(t=!0,i(a))})),i(a)},_display:function(e){var t=this.lazy_map[e];if(t){if(delete this.lazy_map[e],"ajax"===t.type)advanced_ads_pro.deferedAds.push(t.data),advanced_ads_pro.process_ajax_ads();else new Advads_passive_cb_Placement(advads_passive_placements[t.data.key],e).output(),advanced_ads_pro.observers.fire({event:"inject_passive_ads",ad_ids:advanced_ads_pro.passive_ads}),advanced_ads_pro.passive_ads={};advanced_ads_pro.busy=!1}}}},jQuery(document).on("advanced-ads-resize-window",(function(e){var t=function(){for(var e=advanced_ads_pro.ads.length;e--;)"off"!==advanced_ads_pro.ads.cb_method&&advanced_ads_pro.ads.splice(e,1);advanced_ads_pro.process_passive_cb()};advanced_ads_pro.busy?document.addEventListener("advanced_ads_pro.idle",t,{once:!0}):t()})),"undefined"!=typeof advads&&void 0!==advads.privacy.dispatch_event?document.addEventListener("advanced_ads_privacy",(function(e){if("unknown"===e.detail.previousState||"rejected"===e.detail.previousState&&"accepted"===e.detail.state){if(advads_pro_utils.log("reload ads! transition from "+e.detail.previousState+" to "+e.detail.state),"accepted"===e.detail.state||"not_needed"===e.detail.state){var t='script[type="text/plain"][data-tcf="waiting-for-consent"]';document.querySelectorAll(t).forEach((function(e){advanced_ads_pro.passive_ads.hasOwnProperty(e.dataset.bid)||(advanced_ads_pro.passive_ads[e.dataset.bid]=[]),advanced_ads_pro.passive_ads[e.dataset.bid].push(parseInt(e.dataset.id,10)),advads.privacy.decode_ad(e)})),new MutationObserver((function(e){var a={},i=function(e){void 0!==e.dataset.noTrack&&"impressions"===e.dataset.noTrack||(a.hasOwnProperty(e.dataset.bid)||(a[e.dataset.bid]=[]),a[e.dataset.bid].push(parseInt(e.dataset.id,10))),advads.privacy.decode_ad(e)};
20e.forEach((function(e){e.addedNodes.forEach((function(e){void 0===e.tagName||void 0===e.dataset||"script"!==e.tagName.toLowerCase()||"waiting-for-consent"!==e.dataset.tcf?void 0!==e.dataset&&"waiting-for-consent"===e.dataset.tcf||document.querySelectorAll(t).forEach(i):i(e)}))})),Object.keys(a).length&&advanced_ads_pro.observers.fire({event:"advanced_ads_decode_inserted_ads",ad_ids:a})})).observe(document,{subtree:!0,childList:!0})}advanced_ads_pro.busy?document.addEventListener("advanced_ads_pro.idle",advanced_ads_pro.process_passive_cb,{once:!0}):advanced_ads_pro.process_passive_cb()}else advads_pro_utils.log("no action! transition from "+e.detail.previousState+" to "+e.detail.state)})):(window.advanced_ads_ready||jQuery(document).ready).call(null,(function(){advanced_ads_pro.process_passive_cb()}));var Advads_passive_cb_Conditions={REFERRER_COOKIE_NAME:"advanced_ads_pro_visitor_referrer",PAGE_IMPRESSIONS_COOKIE_NAME:"advanced_ads_page_impressions",AD_IMPRESSIONS_COOKIE_NAME:"advanced_ads_ad_impressions",VISITOR_INFO_COOKIE_NAME:"advanced_ads_visitor",conditions:{mobile:"check_mobile",referrer_url:"check_referrer_url",user_agent:"check_user_agent",request_uri:"check_request_uri",browser_lang:"check_browser_lang",cookie:"check_cookie",page_impressions:"check_page_impressions",ad_impressions:"check_ad_impressions",new_visitor:"check_new_visitor",device_width:"check_browser_width",tablet:"check_tablet",loggedin:"check_loggedin",capability:"check_capability",role:"check_role",geo_targeting:"check_geo_targeting",buddypress_profile_field:"check_buddypress_profile_field"},init:function(){jQuery(document).trigger("advads-passive-cb-conditions",[this]),this.init=function(){}},frontend_check:function(e,t){var a=this.conditions[e.type];return"string"==typeof a&&(a=advads_pro_utils.bind(this[a],this)),!a||!!a(e,t)},check_mobile:function(e){if(function(e){var t=/iPhone/i,a=/iPod/i,i=/iPad/i,s=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,r=/Android/i,n=/(?=.*\bAndroid\b)(?=.*\bSD4930UR\b)/i,o=/(?=.*\bAndroid\b)(?=.*\b(?:KFOT|KFTT|KFJWI|KFJWA|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|KFARWI|KFASWI|KFSAWI|KFSAWA)\b)/i,d=/IEMobile/i,_=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,c=/BlackBerry/i,l=/BB10/i,p=/Opera Mini/i,u=/(CriOS|Chrome)(?=.*\bMobile\b)/i,T=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,h=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),b=function(e,t){return e.test(t)},f=function(e){var f=e||navigator.userAgent,v=f.split("[FBAN");return void 0!==v[1]&&(f=v[0]),this.apple={phone:b(t,f),ipod:b(a,f),tablet:!b(t,f)&&b(i,f),device:b(t,f)||b(a,f)||b(i,f)},this.amazon={phone:b(n,f),tablet:!b(n,f)&&b(o,f),device:b(n,f)||b(o,f)},this.android={phone:b(n,f)||b(s,f),tablet:!b(n,f)&&!b(s,f)&&(b(o,f)||b(r,f)),device:b(n,f)||b(o,f)||b(s,f)||b(r,f)},this.windows={phone:b(d,f),tablet:b(_,f),device:b(d,f)||b(_,f)},this.other={blackberry:b(c,f),blackberry10:b(l,f),opera:b(p,f),firefox:b(T,f),chrome:b(u,f),device:b(c,f)||b(l,f)||b(p,f)||b(T,f)||b(u,f)},this.seven_inch=b(h,f),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,"undefined"==typeof window?this:void 0},v=function(){var e=new f;return e.Class=f,e};"undefined"!=typeof module&&module.exports&&"undefined"==typeof window?module.exports=f:"undefined"!=typeof module&&module.exports&&"undefined"!=typeof window?module.exports=v():"function"==typeof define&&define.amd?define("isMobile",[],e.isMobile=v()):e.isMobile=v()}(this),!advads_pro_utils.isset(e.value)){if(!advads_pro_utils.isset(e.operator))return!0;const t=this.isMobile.any;return"is_not"===e.operator?!t:t}const t=this.check_tablet({operator:"is"});return Object.keys(Object.fromEntries(Object.entries({mobile:this.isMobile.any&&!t,tablet:t,desktop:!this.isMobile.any&&!t}).filter((([t,a])=>e.value.includes(t)&&a)))).length>0},check_referrer_url:function(e){var t=advads_pro_utils.extract_cookie_data(advads.get_cookie(this.REFERRER_COOKIE_NAME))||"";return this.helper_check_string(t,e)},check_user_agent:function(e){var t="object"==typeof navigator?navigator.userAgent:"";return this.helper_check_string(t,e)},check_browser_lang:function(e){var t=e.value;if(!t)return!0;var a="object"==typeof navigator?navigator.languages?navigator.languages.join(","):navigator.language||navigator.userLanguage:"";if(!a)return!0;try{var i=new RegExp("\\b"+t+"\\b","i"),s=-1!==a.search(i)}catch(e){return!0}return"is_not"===e.operator?!s:s},check_request_uri:function(e){var t="object"==typeof location?location.href:"";return this.helper_check_string(t,e)},check_cookie:function(e){e.operator&&(e.operator=this.maybe_replace_cookie_operator(e.operator));var t=!advads_pro_utils.isset(e.operator)||"match_not"!==e.operator;if(!advads_pro_utils.isset(e.cookie)||""===e.cookie)return t;
20var a=advads.get_cookie(e.cookie);return advads_pro_utils.isset(a)?advads_pro_utils.isset(e.value)&&""!==e.value?(e.value=unescape(e.value.replace(/\\(.)/gm,"$1")),this.helper_check_string(a,e)):t:!t},check_page_impressions:function(e){if(!advads_pro_utils.isset(e.operator)||!advads_pro_utils.isset(e.value))return!0;var t=0,a=advads_pro_utils.extract_cookie_data(advads.get_cookie(this.PAGE_IMPRESSIONS_COOKIE_NAME));if(!advads_pro_utils.isset(a))return!0;t=parseInt(a,10)||0;var i=parseInt(e.value)||0;switch(e.operator){case"is_equal":if(i!==t)return!1;break;case"is_higher":if(i>t)return!1;break;case"is_lower":if(i<t)return!1}return!0},check_ad_impressions:function(e,t){if(!advads_pro_utils.isset(e.value)||!advads_pro_utils.isset(e.timeout)||!advads_pro_utils.isset(t.id))return!0;var a=parseInt(e.value)||0,i=this.AD_IMPRESSIONS_COOKIE_NAME+"_"+t.id,s=i+"_timeout";return!(advads_pro_utils.isset(advads.get_cookie(i))&&advads_pro_utils.isset(advads.get_cookie(s))&&a<=(parseInt(advads.get_cookie(i))||0))},check_new_visitor:function(e){if(!advads_pro_utils.isset(e.operator))return!0;var t=0;switch(advads_pro_utils.isset(advads.get_cookie(this.PAGE_IMPRESSIONS_COOKIE_NAME))&&(t=parseInt(advads.get_cookie(this.PAGE_IMPRESSIONS_COOKIE_NAME))||0),e.operator){case"is":return 1===t;case"is_not":return 1<t}return!0},check_browser_width:function(e){if(!advads_pro_utils.isset(e.operator)||!advads_pro_utils.isset(e.value))return!0;var t=jQuery(window).width(),a=parseInt(e.value)||0;switch(e.operator){case"is_equal":if(a!==t)return!1;break;case"is_higher":if(a>t)return!1;break;case"is_lower":if(a<t)return!1}return!0},check_tablet:function(e){if(!advads_pro_utils.isset(e.operator))return!0;rules={iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|M
20Z608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",Bronch
20oTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfVie
20wTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",
20NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b|\\bTP750\\b"};var t="object"==typeof navigator?navigator.userAgent:"",a="";for(var i in rules){var s=new RegExp(rules[i],"i");if(s.test(t)){a=s;break}}switch(e.operator){case"is":return""!==a;case"is_not":return""===a}return!0},check_loggedin:function(e){if(!advads_pro_utils.isset(e.operator)||!advads_pro_utils.isset(e.type))return!0;var t=this.check_stored(e,(function(e,t){return!0===t}));switch(e.operator){case"is":return!0===t;case"is_not":return!1===t}return!0},check_capability:function(e){if(!advads_pro_utils.isset(e.operator)||!advads_pro_utils.isset(e.value)||!advads_pro_utils.isset(e.type))return!0;var t=this.check_stored(e,(function(e,t){return t===e.value}));switch(e.operator){case"can":return!0===t;case"can_not":return!1===t}return!0},check_role:function(e){if(!advads_pro_utils.isset(e.operator)||!advads_pro_utils.isset(e.value)||!advads_pro_utils.isset(e.type))return!0;var t=this.check_stored(e,(function(e,t){return t===e.value}));switch(e.operator){case"is":return!0===t;case"is_not":return!1===t}return!0},check_geo_targeting:function(e){if(!advads_pro_utils.isset(e.type)||!advads_pro_utils.isset(e.operator))return!0;var t=this.check_stored(e,(function(e,t){return"object"!=typeof t||(t.is_sucuri?this.check_geo_sucuri(e,t):this.check_geo_default(e,t))}),this);return t},check_geo_default:function(e,t){var a=e.city?e.city.trim().toLowerCase():"",i=e.region?e.region.trim().toLowerCase():"",s=e.country?e.country.trim():"",r=(""+t.visitor_city).toLowerCase(),n=(""+t.visitor_region).toLowerCase(),o=""+t.continent_code,d=t.country_code;if(0===s.indexOf("CONT_")&&(d="CONT_"+o),"latlon"===e.geo_mode){if(this.check_for_valid_lat_lon_options(e)){var _=advads_pro_utils.calculate_distance(parseFloat(t.current_lat),parseFloat(t.current_lon),parseFloat(e.lat),parseFloat(e.lon),e.distance_unit);return"gt"===e.distance_condition?_>e.distance:_<=e.distance}return!0}return"is_not"===e.operator?a?a!==r:i?i!==n:"EU"===s?!t.is_eu_state:s!==d:a?a===r:i?i===n:"EU"===s?t.is_eu_state:s===d},check_for_valid_lat_lon_options:function(e){return advads_pro_utils.is_numeric(e.lat)&&advads_pro_utils.is_numeric(e.lon)&&""!==e.distance_condition&&advads_pro_utils.is_numeric(e.distance)&&""!==e.distance_unit},check_geo_sucuri:function(e,t){e.operator&&e.operator;var a=e.country?e.country.trim():"";return"is_not"===e.operator?"EU"===a?!t.is_eu_state:a!==country_code:"EU"===a?t.is_eu_state:a===country_code},check_buddypress_profile_field:function(e){if(!(advads_pro_utils.isset(e.operator)&&advads_pro_utils.isset(e.value)&&advads_pro_utils.isset(e.type)&&advads_pro_utils.isset(e.field)))return!0;var t=this.check_stored(e,(function(e,t){if("object"!=typeof t)return!0;if(t.field!==e.field)return!1;var a=t.data;if(Array.isArray(a)){const t=-1!==["contain","start","end","match","regex"].indexOf(e.operator);return a.length?t?a.some((function(t){return Advads_passive_cb_Conditions.helper_check_string(t,e)})):a.every((function(t){return Advads_passive_cb_Conditions.helper_check_string(t,e)})):!t}return Advads_passive_cb_Conditions.helper_check_string(t.data,e)}),this);return t},check_stored:function(e,t,a){var i=Advads_passive_cb_Conditions.get_stored_info()[e.type];if("object"!=typeof i)return!0;for(var s in i)if(i.hasOwnProperty(s)){var r=i[s];if("object"==typeof r&&void 0!==r.data)if(t.call(a,e,r.data))return!0}return!1},helper_check_string:function(e,t){var a=t.operator,i=t.value;if("string"!=typeof i||""===i)return!0;var s=!0;switch(a){case"contain":s=-1!==e.indexOf(i);break;case"contain_not":s=-1===e.indexOf(i);break;case"start":s=0===e.lastIndexOf(i,0);break;case"start_not":s=0!==e.lastIndexOf(i,0);break;case"end":s=e.slice(-i.length)===i;break;case"end_not":s=e.slice(-i.length)!==i;break;case"match":s=e===i;break;case"match_not":s=e!==i;break;case"regex":case"regex_not":try{var r=new RegExp(i);s=!!e.match(r),"regex_not"===a&&(s=!s)}catch(e){advads_pro_utils.log('regular expression"'+i+'" in visitor condition is broken')}}return s},get_stored_info:function(){try{var e=JSON.parse(advads.get_cookie(this.VISITOR_INFO_COOKIE_NAME))}catch(e){}return"object"!=typeof e||"object"!=typeof e.conditions?{}:e.conditions},maybe_replace_cookie_operator:function(e){var t={show:"match",hide:"match_not"};return t[e]?t[e]:e}};function Advads_passive_cb_Placement(e,t){if(!("object"==typeof e&&e.hasOwnProperty("id")&&e.hasOwnProperty("type")&&e.hasOwnProperty("ads")&&e.hasOwnProperty("placement_info")&&"object"==typeof e.ads))throw new SyntaxError("Can not create Advads_passive_cb_Placement obj");this.id=e.id,this.ajax_query=e.ajax_query,this.type=e.type,this.element_id=t,this.ads=e.ads,this.ads_for_ab=e.ads_for_ab,this.placement_info=e.placement_info,this.placement_id=advads_pro_utils.isset_nested(this.placement_info,"id")?this.placement_info.id:null,this.group_info=e.group_info,this.group_wrap=e.group_wrap,this.server_info_duration=parseInt(e.server_info_duration,10)||0,this.server_conditions=e.server_conditions,e.inject_before&&advanced_ads_pro.inject_before.push({elementId:this.element_id,data:e.inject_before})}function Advads_passive_cb_Ad(e,t){if("object"!=typeof e||!advads_pro_utils.isset(e.id)||!advads_pro_utils.isset(e.title)||!advads_pro_utils.isset(e.content))throw new SyntaxError("Can not create Advads_passive_cb_Ad obj");this.id=e.id,this.title=e.title,this.content=e.content?e.content:"",this.type=e.type,this.expiry_date=parseInt(e.expiry_date)||0,this.visitors=e.visitors,this.once_per_page=e.once_per_page,this.elementid=t||null,this.day_indexes=e.day_indexes?e.day_indexes:null,this.debugmode=e.debugmode,this.tracking_enabled=void 0===e.tracking_enabled||1==e.tracking_enabled,this.blog_id=e.blog_id?e.blog_id:"",this.privacy=e.privacy?e.privacy:{},this.position=e.position?e.position:""}function Advads_passive_cb_Group(e,t){if(!(advads_pro_utils.isset(e.group_info.id)&&advads_pro_utils.isset(e.group_info.type)&&advads_pro_utils.isset(e.group_info.weights)&&advads_pro_utils.isset(e.group_info.ordered_ad_ids)&&advads_pro_utils.isset(e.group_info.ad_count)&&advads_pro_utils.isset(e.ads)))throw new SyntaxError("Can not create Advads_passive_cb_Group obj");this.id=e.group_info.id,this.name=e.group_info.name?e.group_info.name:this.id,this.type=e.group_info.type,this.weights=e.group_info.weights,this.ordered_ad_ids=e.group_info.ordered_ad_ids,this.ad_count=e.group_info.ad_count,this.elementid=t||null,this.slider_options=!!advads_pro_utils.isset(e.group_info.slider_options)&&e.group_info.slider_options,this.refresh_enabled=!!advads_pro_utils.isset(e.group_info.refresh_enabled),advads_pro_utils.isset(e.group_info.refresh_interval_for_ads)?this.refresh_interval=e.group_info.refresh_interval_for_ads:advads_pro_utils.isset(e.group_info.refresh_interval)?this.refresh_interval=e.group_info.refresh_interval:this.refresh_interval=2e3,this.placement=e instanceof Advads_passive_cb_Placement&&e,this.random=e.group_info.random,this.ads=e.ads,this.group_wrap=e.group_wrap,this.is_empty=!0}Advads_passive_cb_Placement.prototype.can_display=function(){if(advads_pro_utils.isset_nested(this.placement_info,"options","test_id")&&jQuery.inArray(this.placement_id,advanced_ads_pro.get_random_placements())<0)return!1;if(advads_pro_utils.isset_nested(this.placement_info,"options","layer_placement","close","enabled")&&this.placement_info.options.layer_placement.close.enabled&&advads_pro_utils.isset_nested(this.placement_info,"options","layer_placement","close","timeout_enabled")&&this.placement_info.options.layer_placement.close.timeout_enabled&&advads_pro_utils.isset(advads.get_cookie("timeout_placement_"+this.placement_info.id)))return!1;if(advads_pro_utils.isset_nested(this.placement_info,"options","close","enabled")&&this.placement_info.options.close.enabled&&advads_pro_utils.isset_nested(this.placement_info,"options","close","timeout_enabled")&&this.placement_info.options.close.timeout_enabled&&advads_pro_utils.isset(advads.get_cookie("timeout_placement_"+this.placement_info.id)))return!1;if(advads_pro_utils.isset_nested(this.placement_info,"options")&&"object"==typeof this.placement_info.options){var e=this.placement_info.options;if(!advads_pro_utils.selector_exists(e))return!1}return!0},Advads_passive_cb_Placement.prototype.can_use_passive_cb=function(){if(!this.ajax_query)return!0;var e=Advads_passive_cb_Conditions.get_stored_info(),t=~~((new Date).getTime()/1e3);for(var a in this.server_conditions)if(this.server_conditions.hasOwnProperty(a)){var i=e[this.server_conditions[a].type];if("object"!=typeof i)return!1;var s=i[a];if("object"!=typeof s)return!1;if((parseInt(s.time,10)||0)+this.server_info_duration<t)return!1}return!0},Advads_passive_cb_Placement.prototype.output=function(){var e=!0;switch(this.type){case"ad":if(!this.can_display())break;var t=new Advads_passive_cb_Ad(this.ads[this.id],this.element_id);if(t.can_display()){var a=this.get_ad_for_adblocker();a&&(t=a),t.output({track:!0,inject:!0,do_has_ad:!0}),e=!1}break;case"group":if("object"==typeof this.group_info){if(!this.can_display())break;var i=new Advads_passive_cb_Group(this,this.element_id);i.output(),e=i.is_empty}}
20advanced_ads_pro.dispatchWrapperCBEvent(this.element_id,e,"passive"),advanced_ads_pro.observers.fire({event:"inject_placement",id:this.placement_id,is_empty:e,cb_type:"passive"}),advanced_ads_pro.hasAd(this.placement_id,"placement",this.placement_id,"passive")},Advads_passive_cb_Placement.prototype.get_ad_for_adblocker=function(){if(advanced_ads_pro.adblocker_active&&this.ads_for_ab)for(var e in this.ads_for_ab){return new Advads_passive_cb_Ad(this.ads_for_ab[e],this.element_id)}return!1},Advads_passive_cb_Ad.prototype.output=function(e){if(e=e||{},this.debugmode){var t=this.can_display({ignore_debugmode:!0})?"displayed":"hidden",a=jQuery(this.content).find(".advads-passive-cb-debug").data(t);this.content=this.content.replace("##advanced_ads_passive_cb_debug##",a)}if(e.do_has_ad&&advanced_ads_pro.hasAd(this.id,"ad",this.title,"passive"),e.track&&this.tracking_enabled&&(advanced_ads_pro.passive_ads[this.blog_id]||(advanced_ads_pro.passive_ads[this.blog_id]=[]),advanced_ads_pro.passive_ads[this.blog_id].push(this.id)),advads_pro_utils.log("output passive ad",this.id,this.elementid,this.content),!e.inject)return this.content;advanced_ads_pro.inject(this.elementid,this.content)},Advads_passive_cb_Ad.prototype.can_display=function(e){return e=e||{},!(!this.debugmode||e.ignore_debugmode)||(""===this.content.trim()?(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: empty content"),!1):this.can_display_by_visitor()?this.can_display_by_expiry_date()?this.can_display_by_timeout()?this.can_display_by_display_limit()?this.can_display_by_weekday()?this.can_display_by_cfp()?!!this.can_display_by_consent()||(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_consent"),!1):(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_cfp"),!1):(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_weekday"),!1):(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_display_limit"),!1):(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_timeout"),!1):(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_expiry_date"),!1):(advads_pro_utils.log("passive ad id",this.id,"cannot be displayed: by_visitor"),!1))},Advads_passive_cb_Ad.prototype.can_display_by_visitor=function(){if(!Array.isArray(this.visitors)||0===this.visitors.length)return!0;Advads_passive_cb_Conditions.init();for(var e,t=0,a=!1,i=0;i<this.visitors.length;++i)if(e=this.visitors[t],a&&"or"===e.connector)t++;else if(a=Advads_passive_cb_Conditions.frontend_check(e,this))t++;else if(t++,!this.visitors[t]||"or"!==this.visitors[t].connector)return!1;return!0},Advads_passive_cb_Ad.prototype.can_display_by_expiry_date=function(){return this.expiry_date<=0||this.expiry_date>~~((new Date).getTime()/1e3)},Advads_passive_cb_Ad.prototype.can_display_by_weekday=function(){if(!this.day_indexes)return!0;var e=new Date,t=window.advanced_ads_pro_ajax_object.wp_timezone_offset/60,a=t/60>=0?Math.floor(t/60):Math.ceil(t/60);return(t=e.getUTCMinutes()+t%60)>60&&(a++,t%=60),e.setHours(e.getUTCHours()+a),e.setMinutes(t),jQuery.inArray(e.getDay(),this.day_indexes)>=0},Advads_passive_cb_Ad.prototype.can_display_by_timeout=function(){return!advads_pro_utils.isset(advads.get_cookie("timeout_"+this.id))},Advads_passive_cb_Ad.prototype.can_display_by_display_limit=function(){if(this.once_per_page)for(var e=advanced_ads_pro.ads.length,t=0;t<e;t++)if("ad"===advanced_ads_pro.ads[t].type&&parseInt(advanced_ads_pro.ads[t].id,10)===this.id)return!1;return!0},Advads_passive_cb_Ad.prototype.can_display_by_cfp=function(){for(const e of this.visitors)if("ad_clicks"===e.type&&e["exclude-from-global"])return!0;return!advads.get_cookie("advads_pro_cfp_ban")},Advads_passive_cb_Ad.prototype.can_display_by_consent=function(){if(!advads.privacy||this.privacy.ignore||"adsense"===this.type&&advads.privacy.is_adsense_npa_enabled()||("image"===this.type||"dummy"===this.type)&&!this.privacy.needs_consent)return!0;var e=advads.privacy.get_state();return"accepted"===e||"not_needed"===e},Advads_passive_cb_Group.prototype.output=function(){var e=this.placement&&this.placement.get_ad_for_adblocker();if(advanced_ads_pro.hasAd(this.id,"group",this.name,"passive"),e||!this.refresh_enabled){var t,a=0,i=[];switch(this.type){case"ordered":case"slider":t=this.shuffle_ordered_ads(this.ordered_ad_ids,this.weights);break;case"grid":t=this.random?this.shuffle_ads():this.shuffle_ordered_ads(this.ordered_ad_ids,this.weights);break;default:t=this.shuffle_ads()}if(Array.isArray(t)&&jQuery.isPlainObject(this.ads)){for(var s=0;s<t.length;s++)if(this.ads.hasOwnProperty(t[s])){var r=this.ads[t[s]];if("object"==typeof r){var n=new Advads_passive_cb_Ad(r,this.elementid);n.can_display()&&(e&&(n=e),"slider"===this.type&&this.slider_options||this.group_wrap?i.push(n.output({track:!0,inject:!1,do_has_ad:!0})):n.output({track:!0,inject:!0,do_has_ad:!0}),a++,this.is_empty=!1)}if(a===this.ad_count)break;
20if(!this.is_empty&&e)break}i.length&&("slider"===this.type&&this.slider_options&&(i=this.output_slider(i)),advanced_ads_pro.inject(this.elementid,this.add_group_wrap(i,a)))}}else this.output_refresh()},Advads_passive_cb_Group.prototype.output_refresh=function(){var e=this.ordered_ad_ids,t=[],a=this,i=!1,s=[],r=0,n=(this.refresh_interval,jQuery("."+a.elementid));function o(e){if(jQuery.inArray(e.id,s)<0&&e.tracking_enabled){var t={};t[e.blog_id]=[e.id],advanced_ads_pro.observers.fire({event:"inject_passive_ads",ad_ids:t})}}function d(e){return"object"!=typeof a.refresh_interval?parseInt(a.refresh_interval,10)||2e3:parseInt(a.refresh_interval[e],10)||2e3}function _(e){var t="";return advads_pro_utils.isset_nested(a.placement,"placement_info","options","placement_position")&&(t=a.placement.placement_info.options.placement_position),-1===["left","right"].indexOf(t)&&(t=e.position),t}n=advanced_ads_pro._inject_before(this.elementid,n),Array.isArray(e)&&jQuery.isPlainObject(this.ads)&&function c(){for(var l=function(){var t;if("ordered"===a.type)if(-1!==(t=e.indexOf(i)))var s=e.slice(t+1).concat(e.slice(0,t));else s=e;else-1!==(t=(s=a.shuffle_ads()).indexOf(i))&&s.splice(t,1);return s}(),p=l.length,u=0;u<p;u++){var T=l[u],h=a.ads[T];if("object"==typeof h){var b=new Advads_passive_cb_Ad(h,a.elementid);if(b.can_display()){if(0===r)t=[b.output({track:!0,inject:!1,do_has_ad:!0})],advanced_ads_group_refresh.prepare_wrapper(n,_(b),!0);else{var f=jQuery.inArray(T,s)<0;t=[b.output({track:!1,inject:!1,do_has_ad:f})],o(b),advanced_ads_group_refresh.prepare_wrapper(n,_(b),!1)}s.push(b.id),advanced_ads_pro.inject(a.elementid,a.add_group_wrap(t,1)),a.is_empty=!1,r++,setTimeout((function(){a.placement&&!a.placement.can_display()||c()}),d(T)),i=b.id;break}}}}()},Advads_passive_cb_Group.prototype.add_group_wrap=function(e,t){if(!e.length)return"";var a="",i="";if(this.group_wrap)for(var s=0;s<this.group_wrap.length;s++){var r=this.group_wrap[s];if(r.min_ads=r.min_ads||1,!("object"!=typeof r||r.min_ads>t))if(r.before&&(a=r.before+a),r.after&&(i+=r.after),"string"==typeof r.each)for(var n=0;n<e.length;n++)e[n]=r.each.replace("%s",e[n]);else if("object"==typeof r.each){var o=r.each;for(n=0;n<e.length;n++){for(var d in o){var _=!1;if(o.hasOwnProperty(d)&&"all"!==d&&(1+n)%parseInt(d,10)==0){e[n]=o[d].replace("%s",e[n]),_=!0;break}}!_&&o.all&&(e[n]=o.all.replace("%s",e[n]))}}}return a+e.join("")+i},Advads_passive_cb_Group.prototype.output_slider=function(e){var t;return e.length>1&&"function"==typeof jQuery.fn.unslider&&(t=e.join("</li><li>"),(e=[]).push('<div id="'+this.slider_options.slider_id+'" class="'+this.slider_options.init_class+" "+this.slider_options.prefix+'slider"><ul><li>'),e.push(t),e.push("</li></ul></div>"),e.push("<script>jQuery(function() { jQuery('."+this.slider_options.init_class+"').unslider({ "+this.slider_options.settings+" }); });<\/script>")),e},Advads_passive_cb_Group.prototype.shuffle_ordered_ads=function(e,t){weight_array=[];for(var a=0;a<e.length;a++){var i=t[e[a]];if(!i)return e;weight_array.push(i)}var s=weight_array.length,r=0;for(a=1;a<=s;a++)if(a==s||weight_array[a]!==weight_array[a-1]){var n=a-r;if(1!==n){var o=advads_pro_utils.shuffle_array(e.slice(r,r+n)),d=[r,n].concat(o);Array.prototype.splice.apply(e,d)}r=a}return e},Advads_passive_cb_Group.prototype.shuffle_ads=function(){for(var e=[],t=jQuery.extend({},this.weights);null!==(random_ad_id=advads_pro_utils.get_random_el_by_weight(t));)delete t[random_ad_id],e.push(parseInt(random_ad_id,10));return e}}advads_pro_utils||(advads_pro_utils={debug:window.location&&window.location.hash&&-1!==window.location.hash.indexOf("#debug=true"),each:function(e,t,a){var i,s=e&&e.length||0;for(i=0;i<s;i++)t.call(a,e[i],i)},each_key:function(e,t,a){var i;if("object"==typeof e)for(i in e)e.hasOwnProperty(i)&&t.call(a,i,e[i])},log:function(){if(this.debug&&this.isset(window.console)){var e=Array.prototype.slice.call(arguments);e.unshift("Advanced Ads CB:"),window.console.log.apply(window.console,e)}},print_debug_arrays:function(){0===advanced_ads_pro.iterations&&(this.log("passive_ads\n",advads_passive_ads),this.log("passive_groups\n",advads_passive_groups),this.log("passive_placements\n",advads_passive_placements),this.log("ajax_queries\n",advads_ajax_queries),this.log(Advads_passive_cb_Conditions.VISITOR_INFO_COOKIE_NAME+"\n",Advads_passive_cb_Conditions.get_stored_info()))},isset:function(e){return void 0!==e},isset_nested:function(e){for(var t=arguments.length,a=1;a<t;a++){if(!e||!e.hasOwnProperty(arguments[a]))return!1;e=e[arguments[a]]}return!0},is_numeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},get_random_number:function(e,t){var a=e-.5+Math.random()*(t-e+1);return Math.round(a)},get_random_el_by_weight:function(e,t){var a,i=0;if(t=void 0!==t&&t,"object"==typeof e){for(var s in e)s!==t&&e.hasOwnProperty(s)&&(i+=parseInt(e[s])||0);if(i<1)return null;for(var s in a=advads_pro_utils.get_random_number(1,i),e)if(s!==t&&e.hasOwnProperty(s)&&(a-=e[s])<=0)return s}},bind:function(e,t){return function(){return e.apply(t,arguments)}},shuffle_array:function(e){var t,a,i=e.length;if(!i)return e;for(;--i;)a=~~(Math.random()*(i+1)),t=e[i],e[i]=e[a],e[a]=t;return e},selector_exists:function(e){var t=e[e.inject_by&&"pro_custom_element"!==e.inject_by?"container_id":"pro_custom_element"];if(!t)return!0;var a=jQuery(t);return a.length?!(!advanced_ads_pro_ajax_object.moveintohidden&&!a.filter(":visible").length)||(advads_pro_utils.log("selector is hidden",t),!1):(advads_pro_utils.log("selector does not exist",t),
20!1)},deg2rad:function(e){return e*Math.PI/180},calculate_distance:function(e,t,i,s,r){return r=r||"km",e=this.deg2rad(e),t=this.deg2rad(t),i=this.deg2rad(i),s=this.deg2rad(s),dLon=s-t,a=Math.pow(Math.cos(i)*Math.sin(dLon),2)+Math.pow(Math.cos(e)*Math.sin(i)-Math.sin(e)*Math.cos(i)*Math.cos(dLon),2),b=Math.sin(e)*Math.sin(i)+Math.cos(e)*Math.cos(i)*Math.cos(dLon),rad=Math.atan2(Math.sqrt(a),b),"mi"==r?3958.755865744*rad:6371*rad},extract_cookie_data(e){try{var t=JSON.parse(e)}catch(t){return e}return"object"!=typeof t?e:t.data}});var advanced_ads_group_refresh={element_ids:{},add_query:function(e,t){var a=[];return function(e,t){e.elementid;var i=(new Date).getTime()+t;a[i]=a[i]||[],a[i].push(e),setTimeout((function(){var e=(new Date).getTime(),t=[];for(call_time in a)if(a.hasOwnProperty(call_time)&&e>call_time-1e3){for(var i=a[call_time],s=i.length,r=0;r<s;r++)t.push(i[r]);delete a[call_time]}advanced_ads_pro.process_ajax_ads(t)}),t)}}(),find_float:function(e){var t=!1;return e.find("div").each((function(e,a){if("left"===this.style.float||"right"==this.style.float)return t=this.style.float,!1})),t},prepare_wrapper:function(e,t,a){a||(this.maybe_increase_sizes(e),e.empty()),this.set_float(e,t)},maybe_increase_sizes:function(e){var t=e.css("float");-1===["left","right"].indexOf(t)&&(t=!1);var a={};if(t){var i=parseInt(e.css("min-width"),10)||0,s=e.prop("scrollWidth")||0;s>i&&(a["min-width"]=s)}var r=parseInt(e.css("min-height"),10)||0,n=e.prop("scrollHeight")||0;n>r&&(a["min-height"]=n),(a["min-height"]||a["min-width"])&&e.css(a)},set_float:function(e,t){-1===["left","right"].indexOf(t)&&(t=!1),t!==(e.data("prev_float")||!1)&&(e.data("prev_float",t),t?e.css({"min-width":"","min-height":"",float:t}):e.css({"min-width":"","min-height":"",float:""}))}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.