history.scrollRestoration='manual';var isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);var isSafari=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor);var isFirefox=/Firefox/.test(navigator.userAgent);var isEdge=/Edge/.test(navigator.userAgent);var isIE=/Trident/.test(navigator.userAgent);var isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;var isAndroid=/Android/.test(navigator.userAgent);var isFB=/FB/.test(navigator.userAgent);var isWindows=/Win/.test(navigator.platform);var isMacOS=/Mac/.test(navigator.platform);var isLinux=/Linux/.test(navigator.platform);if(isChrome){document.documentElement.classList.add('isChrome')}
if(isSafari){document.documentElement.classList.add('isSafari')}
if(isFB){document.documentElement.classList.add('isFB')}
if(isFirefox){document.documentElement.classList.add('isFirefox')}
if(isEdge){document.documentElement.classList.add('isEdge')}
if(isIE){document.documentElement.classList.add('isIE')}
if(isIOS){document.documentElement.classList.add('isIOS')}
if(isAndroid){document.documentElement.classList.add('isAndroid')}
if(isWindows){document.documentElement.classList.add('isWindows')}
if(isMacOS){document.documentElement.classList.add('isMacOS')}
if(isLinux){document.documentElement.classList.add('isLinux')}
;document.documentElement.className=document.documentElement.className.replace(/\bno-js\b/,'js')
;window.advanced_ads_ready=function(e,a){a=a||"complete";var d=function(e){return"interactive"===a?"loading"!==e:"complete"===e};d(document.readyState)?e():document.addEventListener("readystatechange",(function(a){d(a.target.readyState)&&e()}),{once:"interactive"===a})},window.advanced_ads_ready_queue=window.advanced_ads_ready_queue||[]
;jQuery(document).ready(function(){document.querySelectorAll(".ez-toc-section").forEach(function(section){section.setAttribute("ez-toc-data-id","#"+decodeURIComponent(section.getAttribute("id")))});jQuery("body").on('click','a.ez-toc-link',function(ev){ev.preventDefault();let target=jQuery(this).attr("href");target=target.split("#");target=target[1];let offset=0;offset=jQuery("#masthead").height()+20;let wpadminbar=jQuery("#wpadminbar");if(wpadminbar.length){offset+=wpadminbar.height()}
if(jQuery(".youAreReading").css('visibility')!='hidden'){if(jQuery('html').hasClass('isIOS')||jQuery('html').hasClass('isSafari')){offset+=24}
if(jQuery("#hdrbnr").length==0){offset+=0}}
console.log([target,decodeURI(target),decodeURIComponent(target)]);console.log('[ez-toc-data-id="#'+decodeURI(target)+'"]');let targetPosition=0;let targetSection;if(jQuery(this).parents("#autoload").length>0){targetSection=jQuery('[ez-toc-data-id="#'+decodeURIComponent(target)+'"]');if(targetSection.length>0){targetPosition=targetSection.offset().top-offset}}else{targetSection=jQuery('[ez-toc-data-id="#'+decodeURIComponent(target)+'"]');if(targetSection.length>0){targetPosition=targetSection.offset().top-offset}}
console.log(targetSection);window.scroll({behavior:'smooth',left:0,top:targetPosition});history.replaceState({},"",jQuery(this).attr("href"))})})
;var advads_options={"blog_id":"1","privacy":{"enabled":!1,"state":"not_needed"}}
;!function(){function e(t){return e="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},e(t)}!function(){if("function"!=typeof window.CustomEvent){window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o}}function t(){var t,o=this.parentNode,a=arguments.length;if(o)for(a||o.removeChild(this);a--;)"object"!==e(t=arguments[a])?t=this.ownerDocument.createTextNode(t):t.parentNode&&t.parentNode.removeChild(t),a?o.insertBefore(t,this.nextSibling):o.replaceChild(t,this)}Element.prototype.replaceWith||(Element.prototype.replaceWith=t),CharacterData.prototype.replaceWith||(CharacterData.prototype.replaceWith=t),DocumentType.prototype.replaceWith||(DocumentType.prototype.replaceWith=t),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){var o,a=this.length;for(t=t||window,o=0;o<a;o++)e.call(t,this[o],o,this)})}(),advads={supports_localstorage:function(){"use strict";try{return!(!window||void 0===window.localStorage)&&(window.localStorage.setItem("x","x"),window.localStorage.removeItem("x"),!0)}catch(e){return!1}},max_per_session:function(e,t){var o=1;if(void 0!==t&&0!==parseInt(t)||(t=1),this.cookie_exists(e)){if(this.get_cookie(e)>=t)return!0;o+=parseInt(this.get_cookie(e))}return this.set_cookie(e,o),!1},count_up:function(e,t){var o=1;this.cookie_exists(e)&&(o+=parseInt(this.get_cookie(e))),this.set_cookie(e,o)},set_cookie_exists:function(e){return!!get_cookie(e)||(set_cookie(e,"",0),!1)},get_cookie:function(e){var t,o,a,n=document.cookie.split(";");for(t=0;t<n.length;t++)if(o=n[t].substr(0,n[t].indexOf("=")),a=n[t].substr(n[t].indexOf("=")+1),(o=o.replace(/^\s+|\s+$/g,""))===e)return decodeURIComponent(a)},set_cookie:function(e,t,o,a,n,i){var s=null==o?null:24*o*60*60;this.set_cookie_sec(e,t,s,a,n,i)},set_cookie_sec:function(e,t,o,a,n,i){var s=new Date;s.setSeconds(s.getSeconds()+parseInt(o)),document.cookie=e+"="+encodeURIComponent(t)+(null==o?"":"; expires="+s.toUTCString())+(null==a?"; path=/":"; path="+a)+(null==n?"":"; domain="+n)+(null==i?"":"; secure")},cookie_exists:function(e){var t=this.get_cookie(e);return null!==t&&""!==t&&void 0!==t},move:function(e,t,o){var a=jQuery(e),n=t;if(void 0===o&&(o={}),void 0===o.css&&(o.css={}),void 0===o.method&&(o.method="prependTo"),""===t&&void 0!==o.target&&"wrapper"===o.target){var i="left";void 0!==o.offset&&(i=o.offset),t=this.find_wrapper(e,i)}switch((t=void 0===o.moveintohidden?jQuery(t).filter(":visible"):jQuery(t)).length>1&&console.log("Advanced Ads: element '"+n+"' found "+t.length+" times."),o.method){case"insertBefore":a.insertBefore(t);break;case"insertAfter":a.insertAfter(t);break;case"appendTo":a.appendTo(t);break;default:a.prependTo(t)}},set_parent_relative:function(e,t){t=void 0!==t?t:{};var o=jQuery(e).parent();t.use_grandparent&&(o=o.parent()),"static"!==o.css("position")&&""!==o.css("position")||o.css("position","relative")},fix_element:function(e,t){t=void 0!==t?t:{};var o=jQuery(e);t.use_grandparent?this.set_parent_relative(o.parent()):this.set_parent_relative(o),t.is_invisible&&o.show();var a=parseInt(o.offset().top),n=parseInt(o.offset().left);if(t.is_invisible&&o.hide(),"left"===t.offset){var i=jQuery(window).width()-n-o.outerWidth();o.css("position","fixed").css("top",a+"px").css("right",i+"px").css("left","")}else o.css("position","fixed").css("top",a+"px").css("left",n+"px").css("right","")},find_wrapper:function(e,t){var o;return jQuery("body").children().each((function(a,n){if(n.id!==e.substring(1)){var i=jQuery(n);if("right"===t&&i.offset().left+jQuery(i).width()<jQuery(window).width()||"left"===t&&i.offset().left>0)return"static"!==i.css("position")&&""!==i.css("position")||i.css("position","relative"),o=n,!1}})),o},center_fixed_element:function(e){var t=jQuery(e),o=jQuery(window).width()/2-parseInt(t.css("width"))/2;t.css("left",o+"px")},center_vertically:function(e){var t=jQuery(e),o=jQuery(window).height()/2-parseInt(t.css("height"))/2;"fixed"!==t.css("position")&&(o-=topoffset=parseInt(t.offset().top)),t.css("top",o+"px")},close:function(e){jQuery(e).remove()},wait_for_images:function(e,t){var o=0,a=[];e.find('img[src][src!=""]').each((function(){a.push(this.src)})),0===a.length&&t.call(e),jQuery.each(a,(function(n,i){var s=new Image;s.src=i;var r="load error";jQuery(s).one(r,(function n(i){if(jQuery(this).off(r,n),++o==a.length)return t.call(e[0]),!1}))}))},privacy:{state:"unknown",state_executed:!1,get_state:function(){if("unknown"!==window.advads_options.privacy.state)return advads.privacy.state_executed||(advads.privacy.state_executed=!0,advads.privacy.dispatch_event(window.advads_options.privacy.state,!1)),advads.privacy.state;if("custom"===window.advads_options.privacy["consent-method"]){var e=new RegExp(".*?"+window.advads_options.privacy["custom-cookie-value"]+"[^;]*?"),t=advads.get_cookie(window.advads_options.privacy["custom-cookie-name"])||"";advads.privacy.state_executed||(advads.privacy.state_executed=!0,advads.privacy.dispatch_event(t.match(e)?"accepted":"unknown",!0))}advads.privacy.state_executed=!0;var o=0,a=setInterval((function(){switch(600==++o&&clearInterval(a),window.advads_options.privacy["consent-method"]){case"custom":(advads.get_cookie(window.advads_options.privacy["custom-cookie-name"])||"").match(e)&&(clearInterval(a),"accepted"!==advads.privacy.state&&advads.privacy.dispatch_event("accepted",!0));break;case"iab_tcf_20":if(void 0===window.__tcfapi)return;clearInterval(a),window.__tcfapi("addEventListener",2,(function(e,t){if(t&&("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus||null===e.eventStatus&&void 0!==window.googlefc&&(void 0!==e.purpose||!e.gdprApplies))){var o="useractioncomplete"===e.eventStatus;if(!e.gdprApplies)return void("not_needed"!==advads.privacy.state&&advads.privacy.dispatch_event("not_needed",o));if(e.purpose.consents[1])return void("accepted"!==advads.privacy.state&&advads.privacy.dispatch_event("accepted",o));"rejected"!==advads.privacy.state&&advads.privacy.dispatch_event("rejected",o)}}))}}),100);return advads.privacy.state},is_adsense_npa_enabled:function(){return!window.advads_options||!window.advads_options.privacy||!(!window.advads_options.privacy["show-non-personalized-adsense"]||"custom"!==window.advads_options.privacy["consent-method"])},dispatch_event:function(e,t){var o=advads.privacy.state;advads.privacy.state=e,console.log({state:e,previousState:o,userAction:t}),window.advanced_ads_ready_queue.push((function(){document.dispatchEvent(new CustomEvent("advanced_ads_privacy",{detail:{state:e,previousState:o,userAction:t}}))}))},is_ad_decoded:function(e){return null===document.querySelector('script[data-tcf="waiting-for-consent"][data-id="'+e+'"]')},decode_ad:function(e,t){t="boolean"!=typeof t||t;var o=decodeURIComponent(Array.prototype.map.call(atob(e.textContent),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));if(!t)return o;e.replaceWith(document.createRange().createContextualFragment(o))}}},window.advanced_ads_ready_queue.push(advads.privacy.get_state),document.addEventListener("advanced_ads_privacy",(function(e){"accepted"!==e.detail.state&&"not_needed"!==e.detail.state||e.detail.userAction||"loading"===document.readyState||document.querySelectorAll('script[type="text/plain"][data-tcf="waiting-for-consent"]').forEach(advads.privacy.decode_ad)}))}()
;var advanced_ads_pro_visitor_conditions={"referrer_cookie_name":"advanced_ads_pro_visitor_referrer","referrer_exdays":"365","page_impr_cookie_name":"advanced_ads_page_impressions","page_impr_exdays":"3650"}
;!function(){var e;"object"==typeof advanced_ads_pro_visitor_conditions&&(i.prototype.exists=function(){return void 0!==this.data},i.prototype.save=function(e){this.data=e,get_unix_time_in_seconds=function(){return Math.round((new Date).getTime()/1e3)};var i=this.expires-get_unix_time_in_seconds();i<=0&&(i=24*this.exdays*60*60,this.expires=get_unix_time_in_seconds()+i),advads.set_cookie_sec(this.name,JSON.stringify({expires:this.expires,data:this.data}),i)},advanced_ads_pro_visitor_conditions.cookie_storage=i,(e=new i(advanced_ads_pro_visitor_conditions.referrer_cookie_name,advanced_ads_pro_visitor_conditions.referrer_exdays)).exists()||""===document.referrer||e.save(document.referrer),(e=new i(advanced_ads_pro_visitor_conditions.page_impr_cookie_name,advanced_ads_pro_visitor_conditions.page_impr_exdays)).exists()?e.save(parseInt(e.data,10)+1||1):e.save(1));function i(e,i){this.name=e,this.exdays=i,this.data=void 0,this.expires=0;var t=advads.get_cookie(e);if(t){try{var s=JSON.parse(t)}catch(e){return void(this.data=t)}"object"==typeof s?(this.data=s.data,this.expires=parseInt(s.expires,10)):this.data=t}else this.data=t}}()
;document.addEventListener('DOMContentLoaded',function(){if(window.sessionStorage.getItem('hpb_closed')!=null){document.body.classList.add('hpb_closed')}else{document.body.classList.add('hpb_visible')}})
;/*
 * Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
 * please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
 * make sure you copy the url from the website since the url may change between versions.
 * */
!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return g({type:O.error,iconClass:m().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(n&&(v=d(t)),v)}function o(e,t,n){return g({type:O.info,iconClass:m().iconClasses.info,message:e,optionsOverride:n,title:t})}function s(e){C=e}function i(e,t,n){return g({type:O.success,iconClass:m().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return g({type:O.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e,t){var o=m();v||n(o),u(e,o,t)||l(o)}function c(t){var o=m();return v||n(o),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function l(t){for(var n=v.children(),o=n.length-1;o>=0;o--)u(e(n[o]),t)}function u(t,n,o){var s=!(!o||!o.force)&&o.force;return!(!t||!s&&0!==e(":focus",t).length)&&(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0)}function d(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function f(e){C&&C(e)}function g(t){function o(e){return null==e&&(e=""),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function s(){c(),u(),d(),p(),g(),C(),l(),i()}function i(){var e="";switch(t.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}I.attr("aria-live",e)}function a(){E.closeOnHover&&I.hover(H,D),!E.onclick&&E.tapToDismiss&&I.click(b),E.closeButton&&j&&j.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),E.onCloseClick&&E.onCloseClick(e),b(!0)}),E.onclick&&I.click(function(e){E.onclick(e),b()})}function r(){I.hide(),I[E.showMethod]({duration:E.showDuration,easing:E.showEasing,complete:E.onShown}),E.timeOut>0&&(k=setTimeout(b,E.timeOut),F.maxHideTime=parseFloat(E.timeOut),F.hideEta=(new Date).getTime()+F.maxHideTime,E.progressBar&&(F.intervalId=setInterval(x,10)))}function c(){t.iconClass&&I.addClass(E.toastClass).addClass(y)}function l(){E.newestOnTop?v.prepend(I):v.append(I)}function u(){if(t.title){var e=t.title;E.escapeHtml&&(e=o(t.title)),M.append(e).addClass(E.titleClass),I.append(M)}}function d(){if(t.message){var e=t.message;E.escapeHtml&&(e=o(t.message)),B.append(e).addClass(E.messageClass),I.append(B)}}function p(){E.closeButton&&(j.addClass(E.closeClass).attr("role","button"),I.prepend(j))}function g(){E.progressBar&&(q.addClass(E.progressClass),I.prepend(q))}function C(){E.rtl&&I.addClass("rtl")}function O(e,t){if(e.preventDuplicates){if(t.message===w)return!0;w=t.message}return!1}function b(t){var n=t&&E.closeMethod!==!1?E.closeMethod:E.hideMethod,o=t&&E.closeDuration!==!1?E.closeDuration:E.hideDuration,s=t&&E.closeEasing!==!1?E.closeEasing:E.hideEasing;if(!e(":focus",I).length||t)return clearTimeout(F.intervalId),I[n]({duration:o,easing:s,complete:function(){h(I),clearTimeout(k),E.onHidden&&"hidden"!==P.state&&E.onHidden(),P.state="hidden",P.endTime=new Date,f(P)}})}function D(){(E.timeOut>0||E.extendedTimeOut>0)&&(k=setTimeout(b,E.extendedTimeOut),F.maxHideTime=parseFloat(E.extendedTimeOut),F.hideEta=(new Date).getTime()+F.maxHideTime)}function H(){clearTimeout(k),F.hideEta=0,I.stop(!0,!0)[E.showMethod]({duration:E.showDuration,easing:E.showEasing})}function x(){var e=(F.hideEta-(new Date).getTime())/F.maxHideTime*100;q.width(e+"%")}var E=m(),y=t.iconClass||E.iconClass;if("undefined"!=typeof t.optionsOverride&&(E=e.extend(E,t.optionsOverride),y=t.optionsOverride.iconClass||y),!O(E,t)){T++,v=n(E,!0);var k=null,I=e("<div/>"),M=e("<div/>"),B=e("<div/>"),q=e("<div/>"),j=e(E.closeHtml),F={intervalId:null,hideEta:null,maxHideTime:null},P={toastId:T,state:"visible",startTime:new Date,options:E,map:t};return s(),r(),a(),f(P),E.debug&&console&&console.log(P),I}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),w=void 0))}var v,C,w,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:c,error:t,getContainer:n,info:o,options:{},subscribe:s,success:i,version:"2.1.3",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)});
//# sourceMappingURL=toastr.js.map
;var advadsCfpQueue=[];var advadsCfpAd=function(adID){if('undefined'==typeof advadsProCfp){advadsCfpQueue.push(adID)}else{advadsProCfp.addElement(adID)}}
;(function(){var host=window.location.hostname;var element=document.createElement('script');var firstScript=document.getElementsByTagName('script')[0];var url='https://cmp.quantcast.com'.concat('/choice/','a_r8MNXSk-Z6x','/',host,'/choice.js?tag_version=V2');var uspTries=0;var uspTriesLimit=3;element.async=!0;element.type='text/javascript';element.src=url;firstScript.parentNode.insertBefore(element,firstScript);function makeStub(){var TCF_LOCATOR_NAME='__tcfapiLocator';var queue=[];var win=window;var cmpFrame;function addFrame(){var doc=win.document;var otherCMP=!!(win.frames[TCF_LOCATOR_NAME]);if(!otherCMP){if(doc.body){var iframe=doc.createElement('iframe');iframe.style.cssText='display:none';iframe.name=TCF_LOCATOR_NAME;doc.body.appendChild(iframe)}else{setTimeout(addFrame,5)}}
return!otherCMP}
function tcfAPIHandler(){var gdprApplies;var args=arguments;if(!args.length){return queue}else if(args[0]==='setGdprApplies'){if(args.length>3&&args[2]===2&&typeof args[3]==='boolean'){gdprApplies=args[3];if(typeof args[2]==='function'){args[2]('set',!0)}}}else if(args[0]==='ping'){var retr={gdprApplies:gdprApplies,cmpLoaded:!1,cmpStatus:'stub'};if(typeof args[2]==='function'){args[2](retr)}}else{if(args[0]==='init'&&typeof args[3]==='object'){args[3]=Object.assign(args[3],{tag_version:'V2'})}
queue.push(args)}}
function postMessageEventHandler(event){var msgIsString=typeof event.data==='string';var json={};try{if(msgIsString){json=JSON.parse(event.data)}else{json=event.data}}catch(ignore){}
var payload=json.__tcfapiCall;if(payload){window.__tcfapi(payload.command,payload.version,function(retValue,success){var returnMsg={__tcfapiReturn:{returnValue:retValue,success:success,callId:payload.callId}};if(msgIsString){returnMsg=JSON.stringify(returnMsg)}
if(event&&event.source&&event.source.postMessage){event.source.postMessage(returnMsg,'*')}},payload.parameter)}}
while(win){try{if(win.frames[TCF_LOCATOR_NAME]){cmpFrame=win;break}}catch(ignore){}
if(win===window.top){break}
win=win.parent}
if(!cmpFrame){addFrame();win.__tcfapi=tcfAPIHandler;win.addEventListener('message',postMessageEventHandler,!1)}};makeStub();var uspStubFunction=function(){var arg=arguments;if(typeof window.__uspapi!==uspStubFunction){setTimeout(function(){if(typeof window.__uspapi!=='undefined'){window.__uspapi.apply(window.__uspapi,arg)}},500)}};var checkIfUspIsReady=function(){uspTries++;if(window.__uspapi===uspStubFunction&&uspTries<uspTriesLimit){console.warn('USP is not accessible')}else{clearInterval(uspInterval)}};if(typeof window.__uspapi==='undefined'){window.__uspapi=uspStubFunction;var uspInterval=setInterval(checkIfUspIsReady,6000)}})()
;
;function _classCallCheck(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,i){for(var e=0;e<i.length;e++){var s=i[e];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function _createClass(t,i,e){return i&&_defineProperties(t.prototype,i),e&&_defineProperties(t,e),t}var Sticky=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.selector=t,this.elements=[],this.version="1.3.0",this.vp=this.getViewportSize(),this.body=document.querySelector("body"),this.options={wrap:i.wrap||!1,wrapWith:i.wrapWith||"<span></span>",marginTop:i.marginTop||0,marginBottom:i.marginBottom||0,stickyFor:i.stickyFor||0,stickyClass:i.stickyClass||null,stickyContainer:i.stickyContainer||"body"},this.updateScrollTopPosition=this.updateScrollTopPosition.bind(this),this.updateScrollTopPosition(),window.addEventListener("load",this.updateScrollTopPosition),window.addEventListener("scroll",this.updateScrollTopPosition),this.run()}return _createClass(e,[{key:"run",value:function(){var i=this,e=setInterval(function(){if("complete"===document.readyState){clearInterval(e);var t=document.querySelectorAll(i.selector);i.forEach(t,function(t){return i.renderElement(t)})}},10)}},{key:"renderElement",value:function(t){var i=this;t.sticky={},t.sticky.active=!1,t.sticky.marginTop=parseInt(t.getAttribute("data-margin-top"))||this.options.marginTop,t.sticky.marginBottom=parseInt(t.getAttribute("data-margin-bottom"))||this.options.marginBottom,t.sticky.stickyFor=parseInt(t.getAttribute("data-sticky-for"))||this.options.stickyFor,t.sticky.stickyClass=t.getAttribute("data-sticky-class")||this.options.stickyClass,t.sticky.wrap=!!t.hasAttribute("data-sticky-wrap")||this.options.wrap,t.sticky.stickyContainer=this.options.stickyContainer,t.sticky.container=this.getStickyContainer(t),t.sticky.container.rect=this.getRectangle(t.sticky.container),t.sticky.rect=this.getRectangle(t),"img"===t.tagName.toLowerCase()&&(t.onload=function(){return t.sticky.rect=i.getRectangle(t)}),t.sticky.wrap&&this.wrapElement(t),this.activate(t)}},{key:"wrapElement",value:function(t){t.insertAdjacentHTML("beforebegin",t.getAttribute("data-sticky-wrapWith")||this.options.wrapWith),t.previousSibling.appendChild(t)}},{key:"activate",value:function(t){t.sticky.rect.top+t.sticky.rect.height<t.sticky.container.rect.top+t.sticky.container.rect.height&&t.sticky.stickyFor<this.vp.width&&!t.sticky.active&&(t.sticky.active=!0),this.elements.indexOf(t)<0&&this.elements.push(t),t.sticky.resizeEvent||(this.initResizeEvents(t),t.sticky.resizeEvent=!0),t.sticky.scrollEvent||(this.initScrollEvents(t),t.sticky.scrollEvent=!0),this.setPosition(t)}},{key:"initResizeEvents",value:function(t){var i=this;t.sticky.resizeListener=function(){return i.onResizeEvents(t)},window.addEventListener("resize",t.sticky.resizeListener)}},{key:"destroyResizeEvents",value:function(t){window.removeEventListener("resize",t.sticky.resizeListener)}},{key:"onResizeEvents",value:function(t){this.vp=this.getViewportSize(),t.sticky.rect=this.getRectangle(t),t.sticky.container.rect=this.getRectangle(t.sticky.container),t.sticky.rect.top+t.sticky.rect.height<t.sticky.container.rect.top+t.sticky.container.rect.height&&t.sticky.stickyFor<this.vp.width&&!t.sticky.active?t.sticky.active=!0:(t.sticky.rect.top+t.sticky.rect.height>=t.sticky.container.rect.top+t.sticky.container.rect.height||t.sticky.stickyFor>=this.vp.width&&t.sticky.active)&&(t.sticky.active=!1),this.setPosition(t)}},{key:"initScrollEvents",value:function(t){var i=this;t.sticky.scrollListener=function(){return i.onScrollEvents(t)},window.addEventListener("scroll",t.sticky.scrollListener)}},{key:"destroyScrollEvents",value:function(t){window.removeEventListener("scroll",t.sticky.scrollListener)}},{key:"onScrollEvents",value:function(t){t.sticky&&t.sticky.active&&this.setPosition(t)}},{key:"setPosition",value:function(t){this.css(t,{position:"",width:"",top:"",left:""}),this.vp.height<t.sticky.rect.height||!t.sticky.active||(t.sticky.rect.width||(t.sticky.rect=this.getRectangle(t)),t.sticky.wrap&&this.css(t.parentNode,{display:"block",width:t.sticky.rect.width+"px",height:t.sticky.rect.height+"px"}),0===t.sticky.rect.top&&t.sticky.container===this.body?(this.css(t,{position:"fixed",top:t.sticky.rect.top+"px",left:t.sticky.rect.left+"px",width:t.sticky.rect.width+"px"}),t.sticky.stickyClass&&t.classList.add(t.sticky.stickyClass)):this.scrollTop>t.sticky.rect.top-t.sticky.marginTop?(this.css(t,{position:"fixed",width:t.sticky.rect.width+"px",left:t.sticky.rect.left+"px"}),this.scrollTop+t.sticky.rect.height+t.sticky.marginTop>t.sticky.container.rect.top+t.sticky.container.offsetHeight-t.sticky.marginBottom?(t.sticky.stickyClass&&t.classList.remove(t.sticky.stickyClass),this.css(t,{top:t.sticky.container.rect.top+t.sticky.container.offsetHeight-(this.scrollTop+t.sticky.rect.height+t.sticky.marginBottom)+"px"})):(t.sticky.stickyClass&&t.classList.add(t.sticky.stickyClass),this.css(t,{top:t.sticky.marginTop+"px"}))):(t.sticky.stickyClass&&t.classList.remove(t.sticky.stickyClass),this.css(t,{position:"",width:"",top:"",left:""}),t.sticky.wrap&&this.css(t.parentNode,{display:"",width:"",height:""})))}},{key:"update",value:function(){var i=this;this.forEach(this.elements,function(t){t.sticky.rect=i.getRectangle(t),t.sticky.container.rect=i.getRectangle(t.sticky.container),i.activate(t),i.setPosition(t)})}},{key:"destroy",value:function(){var i=this;window.removeEventListener("load",this.updateScrollTopPosition),window.removeEventListener("scroll",this.updateScrollTopPosition),this.forEach(this.elements,function(t){i.destroyResizeEvents(t),i.destroyScrollEvents(t),delete t.sticky})}},{key:"getStickyContainer",value:function(t){for(var i=t.parentNode;!i.hasAttribute("data-sticky-container")&&!i.parentNode.querySelector(t.sticky.stickyContainer)&&i!==this.body;)i=i.parentNode;return i}},{key:"getRectangle",value:function(t){this.css(t,{position:"",width:"",top:"",left:""});for(var i=Math.max(t.offsetWidth,t.clientWidth,t.scrollWidth),e=Math.max(t.offsetHeight,t.clientHeight,t.scrollHeight),s=0,n=0;s+=t.offsetTop||0,n+=t.offsetLeft||0,t=t.offsetParent;);return{top:s,left:n,width:i,height:e}}},{key:"getViewportSize",value:function(){return{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}},{key:"updateScrollTopPosition",value:function(){this.scrollTop=(window.pageYOffset||document.scrollTop)-(document.clientTop||0)||0}},{key:"forEach",value:function(t,i){for(var e=0,s=t.length;e<s;e++)i(t[e])}},{key:"css",value:function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t.style[e]=i[e])}}]),e}();!function(t,i){"undefined"!=typeof exports?module.exports=i:"function"==typeof define&&define.amd?define([],function(){return i}):t.Sticky=i}(this,Sticky);
;window.hdrbnr_type='sticky';document.addEventListener('DOMContentLoaded',function(){jQuery(".ez-toc-section").css("scroll-margin-top",document.querySelector("#masthead").offsetHeight+20+"px")})
window.addEventListener('resize',function(){jQuery(".ez-toc-section").css("scroll-margin-top",document.querySelector("#masthead").offsetHeight+20+"px")})
;document.querySelectorAll('.b-button').forEach((elem)=>{elem=elem.querySelector('a');elem.innerHTML="<span>"+elem.innerText+"</span>"})
;jQuery(document).ready(()=>{jQuery(document).on('click','.aff-box-2-content a, .aff-box-2-content a *',function(ev){if(jQuery(ev.target).is('.cp')){if(!jQuery(ev.target).hasClass('cp-done')){return}}
let post_id=jQuery(this).parents('article').attr('data-id');let store=jQuery(this).parents('li').attr('data-store');let data={action:"affBox_click",post_id:post_id,store:store};jQuery.post("https://xgp.pl/wp-admin/admin-ajax.php",data,function(res){})})})
;/*!
 * clipboard.js v2.0.11
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=o(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=o(t.value,e):(n=r()(t),c("copy")),n};function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?f(t,{container:o}):e?"cut"===n?a(e):f(e,{container:o}):void 0};function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t="data-clipboard-".concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var b=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,i());var t,e,n,o=h(r);function r(t,e){var n;return function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=r,n=[{key:"copy",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:"cut",value:function(t){return a(t)}},{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&&!!document.queryCommandSupported(t)}),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=u()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=s({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(t?"success":"error",{action:n,text:t,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){t=m("target",t);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&d(t.prototype,e),n&&d(t,n),r}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=u(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var f=n(879),l=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!f.string(e))throw new TypeError("Second argument must be a String");if(!f.fn(n))throw new TypeError("Third argument must be a Function");if(f.node(t))return c=e,a=n,(u=t).addEventListener(c,a),{destroy:function(){u.removeEventListener(c,a)}};if(f.nodeList(t))return o=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(f.string(t))return t=t,e=e,n=n,l(document.body,t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,u,c,a}},817:function(t){t.exports=function(t){var e,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());return n}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,u=o.length;i<u;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},r={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686).default;function o(t){if(r[t])return r[t].exports;var e=r[t]={exports:{}};return n[t](e,e.exports,o),e.exports}var n,r});
;jQuery(document).ready(()=>{new ClipboardJS('.copy_code',{text:function(trigger){return trigger.getAttribute('data-code')}})});jQuery(document).on('click','.copy_code',function(ev){el=jQuery(this);if(el.find('.go-to-str-btn').css('top')!='0px'&&!el.find('.cp').hasClass("cp-done")){ev.preventDefault()}else{let post_id=jQuery(this).parents('article').attr('data-id');let store=jQuery(this).parents('li').attr('data-store');let data={action:"affBox_click",post_id:post_id,store:store};console.log(data);jQuery.post("https://xgp.pl/wp-admin/admin-ajax.php",data,function(res){});return}
el.find('.cp').addClass('cp-done');el.find('.cp').text("skopiowano");el.find('.cp').addClass("cp-show");setTimeout((el)=>{el.find('.go-to-str-btn').css('top',0)},2000,el)
setTimeout((el)=>{el.find('.cp').removeClass("cp-show");el.find('.go-to-str-btn').css('top',0);setTimeout((el)=>{el.find('.cp').removeClass('cp-done');setTimeout((el)=>{el.find('.cp').text("skopiuj")},300,el)},300,el);setTimeout((el)=>{el.find('.go-to-str-btn').css('top','')},20000,el)},1500,el)})
;function codecopy_get_element_position(el){var rect=el.getBoundingClientRect(),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop-30,left:rect.left+scrollLeft}}
window.Clipboard=(function(window,document,navigator){var textArea,copy;function isOS(){return navigator.userAgent.match(/ipad|iphone/i)}
function createTextArea(text){textArea=document.createElement('textArea');textArea.value=text;document.body.appendChild(textArea)}
function selectText(){var range,selection;if(isOS()){range=document.createRange();range.selectNodeContents(textArea);selection=window.getSelection();selection.removeAllRanges();selection.addRange(range);textArea.setSelectionRange(0,999999)}else{textArea.select()}}
function copyToClipboard(){document.execCommand('copy');document.body.removeChild(textArea)}
copy=function(text){createTextArea(text);selectText();copyToClipboard()};return{copy:copy}})(window,document,navigator);function codecopy_apply(element){element.addEventListener("click",function(){event.preventDefault();if(typeof navigator.clipboard==undefined){Clipboard.copy(element.textContent)}else{navigator.clipboard.writeText(element.textContent)}
codecopy_tooltip.innerHTML='Skopiowano!'});element.addEventListener("mouseover",function(){event.stopPropagation();var position=codecopy_get_element_position(element);codecopy_tooltip.innerHTML='Skopiuj';codecopy_tooltip.style.display='inline-block';codecopy_tooltip.style.top=position.top+'px';codecopy_tooltip.style.left=position.left+'px'});element.addEventListener("mouseout",function(){event.stopPropagation();var position=codecopy_get_element_position(element);codecopy_tooltip.style.display='none';codecopy_tooltip.style.top='9999px'})}
var codecopy_tooltip=document.querySelector('.codecopy_tooltip');document.querySelectorAll("code").forEach(function(element){codecopy_apply(element)})
;jQuery(document).ready(($)=>{let seeAlsoIds=[];let seeAlsoObserver=new IntersectionObserver((entries,observer)=>{entries.forEach((entry)=>{entry=$(entry);if(entry.hasClass('see_also_box_loading')){loadSeeAlsoBox(entry)}else{}})});function loadSeeAlsoBox(box){seeAlsoIds.push(box.attr('data-id'));let categories=box.attr('data-categories');let days=box.attr('data-days');let ids=seeAlsoIds.join(',');categories=categories.split(",");let category=categories[Math.floor(Math.random()*categories.length)];$.get("https://xgp.pl/wp-json/seeAlsoBox/v1/box?categories="+category+"&ids="+ids+"&days="+days+"&use_fallback="+box.attr("data-useFallback")+"&fallbackMinPosts="+box.attr("data-usefallbackminposts"),function(res){if(seeAlsoIds.includes(res.id)){loadSeeAlsoBox(box)}else{if(res.id!=!1){if(box.hasClass('see_also_box_loading')){seeAlsoIds.push(res.id);box.html(res.html);box.removeClass('see_also_box_loading')}}else{box.remove()}}})}
$(".see_also_box_loading").each((elem,d,e)=>{elem=$(d);loadSeeAlsoBox(elem)})
$(document).on('click','.see_also_box_loading',function(ev){ev.preventDefault();let elem=$(this);loadSeeAlsoBox(elem)})
$(document).on('autoloadLoaded',function(){$(".see_also_box_loading").each((elem,d,e)=>{seeAlsoObserver.observe(d);elem=$(d);loadSeeAlsoBox(elem)})})})
;jQuery('body').on('click',".smoothScroll",function(ev){ev.preventDefault();let x=90;if(jQuery(ev.currentTarget).attr('href')=="#comments"){x=(document.querySelector("#hdrbnr")?(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").offsetHeight:0)+document.querySelector("#masthead").offsetHeight+(-15):50)}else{x=x+(document.querySelector("#wpadminbar")?document.querySelector("#masthead").offsetHeight:0)}
window.scroll({behavior:'smooth',left:0,top:jQuery(jQuery(ev.currentTarget).attr('href')).offset().top-x});history.pushState({},"",jQuery(ev.currentTarget).attr('href'))
return!1})
;document.addEventListener('DOMContentLoaded',function(){if(document.querySelector("#promocjeBoxSticky")){const promoBoxElem=document.querySelector("#promocjeBoxSticky");let promoBox={initial:document.body.getBoundingClientRect().top-promoBoxElem.getBoundingClientRect().top,stop:document.querySelector(".gnews-btn").getBoundingClientRect().top}
if(promoBox.initial<0){promoBox.initial=promoBox.initial*-1}
promoBox.initial=jQuery(jQuery("#promocjeBoxSticky").parents('.widget_block')[0]).offset().top
promoBox.stop=window.autoload?(window.autoload_count==window.autoload_max?jQuery(".bottom_buttons:last").offset().top:jQuery(".bottom_buttons:last").offset().top):jQuery(".gnews-btn").offset().top;window.stopElem=window.autoload?(window.autoload_count<window.autoload_max?jQuery(".bottom_buttons:last"):jQuery(".bottom_buttons:last")):jQuery(".gnews-btn");function checkPromoBox(){if(window.innerWidth<979){promoBoxElem.style.position='';promoBoxElem.style.width=null}else{promoBox.initial=jQuery(jQuery("#promocjeBoxSticky").parents('.widget_block')[0]).offset().top
if(promoBoxElem.style.position!='fixed'&&promoBoxElem.style.position!='absolute'){promoBox.stop=window.autoload?(window.autoload_count<window.autoload_max?jQuery("#colophon").offset().top:jQuery(".bottom_buttons:last").offset().top):jQuery(".gnews-btn").offset().top}
if(window.scrollY+(document.querySelector("#wpadminbar")?70:35)+document.querySelector("#masthead").getBoundingClientRect().height>promoBox.initial){if(promoBoxElem.style.position!='fixed'&&promoBoxElem.style.position!='absolute'){promoBoxElem.style.width=promoBoxElem.getBoundingClientRect().width+"px"}
if(promoBoxElem.style.position!='absolute'&&window.scrollY+(document.querySelector("#wpadminbar")?70:35)+promoBoxElem.getBoundingClientRect().height+document.querySelector("#masthead").getBoundingClientRect().height>=(window.autoload?(jQuery("#primary").offset().top+jQuery("#primary").height()-190):(window.stopElem.offset().top+window.stopElem.height()+47))){promoBoxElem.style.top=36+jQuery('.bottom_buttons a:last').offset().top+jQuery(".bottom_buttons a:last").height()-jQuery("#primary").offset().top-promoBoxElem.getBoundingClientRect().height+"px";promoBoxElem.style.position='absolute';console.log(promoBoxElem.style.top)}else if(window.scrollY+(document.querySelector("#wpadminbar")?70:35)+promoBoxElem.getBoundingClientRect().height+document.querySelector("#masthead").getBoundingClientRect().height<(window.autoload?(jQuery("#primary").offset().top+jQuery("#primary").height()-190):(window.stopElem.offset().top+window.stopElem.height()+47))){console.log(promoBoxElem.style.position);promoBoxElem.style.position='fixed';promoBoxElem.style.top=(document.querySelector("#wpadminbar")?70:35)+document.querySelector("#masthead").getBoundingClientRect().height+"px"}}else{promoBoxElem.style.position=''}}}
window.addEventListener('resize',function(){checkPromoBox()})
window.addEventListener('scroll',function(){checkPromoBox()})}})
;
;jQuery('body').on('click','.share-btn',function(ev){ev.preventDefault();console.log('click',jQuery(this).parent())
jQuery(this).parent().find("ul").toggleClass("share-show");jQuery(this).parent().toggleClass('share-active');jQuery("body").on('click','.share a',function(ev){jQuery(this).parent().toggleClass('share-active');jQuery(this).parent().find("ul").toggleClass("share-show")})})
;document.addEventListener('autoloadLoaded',function(){var links=document.querySelector('.autoload_articles article:last-child').querySelectorAll(".entry-content a");if(links){for(var i=0;i<links.length;i++){if(!links[i].classList.contains("notrack")&&links[i].getAttribute("href").includes('xgp.pl/r/')){jQuery(links[i]).parents('article')[0].querySelector('.xgpPartnerInfoBoxWrapper').style.display="block";console.log(links[i])
break}}}
document.querySelectorAll('.cons-head').forEach(function(elem){elem.parentNode.closest('.wp-block-columns').classList.add("pros-cons-box")});if(window.autoload_count>=window.autoload_max){document.querySelector('.autoload-box-loading').style.display='none';if(window.autoload_html!=''){document.querySelector('.autoload-box-load-more').style.display='block'}
return!1}
var scriptElement=document.createElement('script');scriptElement.async=!0;scriptElement.src='https://embed.reddit.com/widgets.js';scriptElement.charset='UTF-8';document.head.appendChild(scriptElement);if(typeof window.twttr!='undefined'){window.twttr.widgets.load()}else{console.log("nie ma twittera");var scriptElement=document.createElement('script');scriptElement.async=!0;scriptElement.src='https://platform.twitter.com/widgets.js';scriptElement.charset='utf-8';scriptElement.onload=function(){window.twttr.widgets.load();setTimeout(()=>{window.twttr.widgets.load()},200)}
document.head.appendChild(scriptElement)}
setTimeout(()=>{window.twttr.widgets.load()},300)})
;jQuery(document).ready(function($){function init_photoswipeSingle(selector,type){$(selector).on('click',function(event){var $this=$(this),link_url=$this.attr('src');if($this.parents('.image-redirect').length){return}
if(/\.(?:jpg|jpeg|gif|png|webp)$/i.test(link_url)){event.preventDefault();if('gallery'===type){console.log("gallery")
var $gallery=$this.parents(selector),$figures=$gallery.find('figure'),$list=$this.parents('li'),$figure=$this.parents('figure'),index=$list.length?$list.index():$figure.index(),items=get_items($figures);open_photoswipe(index,items)}else{var $gallery=$this.parents('.wp-block-gallery'),$figures=$gallery.length?$gallery.find('.wp-block-image'):$this.parents('.wp-block-image'),items=get_items($figures);open_photoswipe(0,items)}}});var open_photoswipe=function(index,items){var pswp=$('.pswp')[0];var options={index:parseInt(index,10),shareEl:!1,fullscreenEl:!1,bgOpacity:0.95,showHideOpacity:!0,history:!1,loadingIndicatorDelay:10,timeToIdle:0,timeToIdleOutside:0,clickToCloseNonZoomable:!0,};if(isNaN(options.index)){return}
var ps=new PhotoSwipe(pswp,PhotoSwipeUI_Default,items,options);ps.listen('initialZoomIn',()=>{document.body.classList.add('hasPswn')});ps.listen('destroy',()=>{document.body.classList.remove('hasPswn')});ps.init()}
var get_items=function(figures){var items=[];figures.each(function(index,element){var $figure=$(element),$link=$figure.find('a:first-child'),$img=$figure.find('img'),$caption=$figure.find('figcaption'),size=$img.attr('data-full-size').split('x'),src=$img.data('full')?$img.data('full'):$link.attr('href');if($figure.hasClass('image-redirect')){return}
var item={el:$figure,src:src,msrc:$img.attr('src'),srcset:$img.attr('srcset'),w:parseInt(size[0],10)*1.3,h:parseInt(size[1],10)*1.3,};if($caption.length){item.title=$caption.html()}
items.push(item)});return items}}
init_photoswipeSingle('.wp-block-image img','single');document.addEventListener('autoloadLoaded',function(){init_photoswipeSingle('.wp-block-image img','single')})})
;var ap_popular_posts_vars={"rest_url":"https:\/\/xgp.pl\/wp-json\/","ajax_url":"\/?ap-popular-posts-ajax=%%action%%","is_single":"true","post_id":"79341","ajax_update_views":"true","ajax_refresh_fragments":"true","fragments":[".ap-popular-posts-widget-content",".popular-posts-panel"]}
;(function($){'use strict';if(typeof ap_popular_posts_vars==='undefined'){return!1}
function get_fragments(){var fragments=[],instance=1;$.each(ap_popular_posts_vars.fragments,function(key,fragment){var $fragment=$(fragment);$fragment.each(function(index,element){var $element=$(element),args=$element.data('options'),args=args?args:'false';$element.attr('data-ap-popular-posts-fragment',instance);fragments.push({key:fragment,instance:instance,args:args,});instance++})});return fragments}
function refresh_fragments(){var fragments=get_fragments();if(!fragments){return!1}
$.ajax({url:ap_popular_posts_vars.ajax_url.toString().replace('%%action%%','refresh-fragments'),type:'POST',data:{fragments:fragments},success:function(response){if(response.success){$.each(response.data,function(instance,fragment){$('[data-ap-popular-posts-fragment="'+instance+'"]').empty().append(fragment)});$(document).trigger('ap_popular_posts_fragments_refreshed')}}})}
function update_views(){var url=ap_popular_posts_vars.ajax_url.toString().replace('%%action%%','update-views');$.post(url,{post_id:ap_popular_posts_vars.post_id})}
if('true'===ap_popular_posts_vars.ajax_refresh_fragments){refresh_fragments()}
if('true'===ap_popular_posts_vars.ajax_update_views&&'true'===ap_popular_posts_vars.is_single){update_views()}})(jQuery)
;var countVars={"disqusShortname":"xgp-pl"};var embedVars={"disqusConfig":{"integration":"wordpress 3.0.23"},"disqusIdentifier":"79341 https:\/\/xgp.pl\/?p=79341","disqusShortname":"xgp-pl","disqusTitle":"Smartwatch Apple Watch SE 2022 GPS 40 mm dost\u0119pny w promocji za 949 z\u0142 (350 z\u0142 taniej)","disqusUrl":"https:\/\/xgp.pl\/promocje\/apple-watch-se-2022-gps-40-mm-za-949-zl\/","postId":"79341"};var dclCustomVars={"dcl_progress_text":"Wczytywanie..."}
;!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}({2:function(e,t){embedVars.disqusUrl,embedVars.disqusIdentifier;var n=embedVars.disqusShortname,r=(embedVars.disqusTitle,window.disqus_config,!1),o=document.getElementById("dcl_comment_btn"),d=window.location.href;o&&(o.onclick=function(){if(null===document.getElementById("dcl_progress")){var e=document.createElement("p"),t=document.createTextNode(dclCustomVars.dcl_progress_text);e.appendChild(t),e.setAttribute("id","dcl_progress"),document.getElementById("dcl_btn_container").appendChild(e)}this.remove(),function(){if(!r){r=!0;var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://"+n+".disqus.com/embed.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(e)}}()},-1!=d.indexOf("#comment")&&o.click())}})
;function cookie_set(name,value,expire_days){var cookie_name=name;var expire_date=new Date();expire_date.setDate(expire_date.getDate()+expire_days);var cookie_value=escape(value)+((expire_days===null)?"":"; expires="+expire_date.toUTCString()+"; path=/");document.cookie=cookie_name+"="+cookie_value}
function cookie_get(cookie_name){var i,x,y,cookie=document.cookie.split(";");for(i=0;i<cookie.length;i++){x=cookie[i].substr(0,cookie[i].indexOf("="));y=cookie[i].substr(cookie[i].indexOf("=")+1);x=x.replace(/^\s+|\s+$/g,"");if(x==cookie_name){return unescape(y)}}}
document.addEventListener('DOMContentLoaded',function(){window.hpb_closed=window.sessionStorage.getItem("hpb_closed")==null?0:1;window.hpb_version=Number(window.sessionStorage.getItem("hpb_version")==null?0:window.sessionStorage.getItem("hpb_version"));if(window.hpb_version<window.hpb_v){window.sessionStorage.removeItem("hpb_closed");window.sessionStorage.setItem("hpb_version",window.hpb_v);window.hpb_closed=0;cookie_set('hpb_closed',0,-20)}
let close=document.getElementById("hpb_close");if(close!==null){close.addEventListener("click",function(ev){ev.preventDefault();document.getElementById("hpb").classList.remove("hpb_show");document.body.style.paddingBottom='';window.hpb_closed=1;window.sessionStorage.setItem("hpb_closed",1)})}
if(window.hpb_closed==0){if(window.hpb_scroll==0){document.getElementById("hpb").classList.add("hpb_show")}else{window.addEventListener('scroll',function(){const hpb=document.getElementById("hpb");let trigger=document.documentElement.scrollHeight*window.hpb_scroll;if(window.scrollY>trigger&&!hpb.classList.contains("hpb_show")&&!window.hpb_closed){hpb.classList.add("hpb_show")}else if(window.scrollY<trigger&&hpb.classList.contains("hpb_show")&&window.hpb_hide_up){hpb.classList.remove("hpb_show")}})}}
jQuery("body").on("click",".rcb-banner .rcb-btn-accept-all",function(){window.hpb_curr_pos=window.scrollY;window.addEventListener('scroll',function(){const hpb=document.getElementById("hpb");if((window.scrollY>(window.hpb_curr_pos+200)||window.scrollY<(window.hpb_curr_pos-200))&&!window.hpb_closed){hpb.classList.add("hpb_show");if(window.innerWidth<600&&document.getElementById("hpb").classList.contains('hpb_show')){document.body.style.paddingBottom=(document.getElementById("hpb").offsetHeight-2)+"px"}}})})
if(window.innerWidth<600&&document.getElementById("hpb").classList.contains('hpb_show')){document.body.style.paddingBottom=document.getElementById("hpb").offsetHeight+"px"}
window.addEventListener('resize',function(){if(window.innerWidth<600&&document.getElementById("hpb").classList.contains('hpb_show')){document.body.style.paddingBottom=(document.getElementById("hpb").offsetHeight-2)+"px"}else{if(document.body.style.paddingBottom!=""){document.body.style.paddingBottom=''}}})})
;jQuery(document).ready(function($){$('body').on('click','.xgp-sp__title',function(){$(this).parent().toggleClass('js-xgp-sp__opened js-xgp-sp__closed');if($(this).parent().hasClass('js-xgp-sp__opened')){$(this).parent().attr('aria-expanded','true')}else{$(this).parent().attr('aria-expanded','false')}});$('.xgp-sp__wrapper:not([role="button"])').each(function(){$(this).attr('role','button')});$('.xgp-sp__wrapper:not([tabindex="0"])').each(function(){$(this).attr('tabindex','0')});$('.xgp-sp__wrapper:not([aria-expanded="false"])').each(function(){$(this).attr('aria-expanded','false')});return;var spWrapper='<div class="otfm-sp__content" style="height:0;opacity:0;visibility:hidden;"></div>';$('.wp-block-otfm-box-spoiler-start').each(function(){$(this).removeClass('js-otfm-sp-box__closed').addClass('js-otfm-sp__closed');var spContent=$(this).nextUntil('.wp-block-otfm-box-spoiler-end');if(spContent.next().hasClass('wp-block-otfm-box-spoiler-end')&&!spContent.next().hasClass('wp-block-otfm-box-spoiler-start')){$(spContent).detach().appendTo(this).wrapAll(spWrapper)}else{$(this).addClass('js-otfm-sp__no_closed_tag').next().detach().appendTo(this).wrapAll(spWrapper)}});$('#ogs_cr_st').remove();$('.otfm-sp__wrapper').keydown(function(event){var keyCode=event.which;switch(keyCode){case 38:$(this).removeClass('js-otfm-sp__opened').addClass('js-otfm-sp__closed').attr('aria-expanded','false');event.preventDefault();break;case 40:$(this).removeClass('js-otfm-sp__closed').addClass('js-otfm-sp__opened').attr('aria-expanded','true');event.preventDefault();break;case 13:case 32:$(this).toggleClass('js-otfm-sp__opened js-otfm-sp__closed');if($(this).hasClass('js-otfm-sp__opened')){$(this).attr('aria-expanded','true')}else{$(this).attr('aria-expanded','false')}
event.preventDefault();break;case 35:$('.otfm-sp__wrapper').last().focus();event.preventDefault();break;case 36:$('.otfm-sp__wrapper').first().focus();event.preventDefault();break;default:}})})
;var advanced_ads_sticky_settings={"check_position_fixed":"","sticky_class":"ekjnewwo23ns32-sticky","placements":[]}
;function advanced_ads_sticky_check_position_fixed(){var container=document.body;if(document.createElement&&container&&container.appendChild&&container.removeChild){var el=document.createElement('div');if(!el.getBoundingClientRect){return null}
el.innerHTML='x';el.style.cssText='position:fixed;top:100px;';container.appendChild(el);var originalHeight=container.style.height,originalScrollTop=container.scrollTop;var extraTop=parseInt(document.documentElement.getBoundingClientRect().top,10);extraTop=extraTop>0?extraTop:0;container.style.height='3000px';container.scrollTop=500;var elementTop=parseInt(el.getBoundingClientRect().top,10);container.style.height=originalHeight;var isSupported=(elementTop-extraTop)===100;container.removeChild(el);container.scrollTop=originalScrollTop;return isSupported}
return null};document.addEventListener('advanced_ads_privacy',function(event){if(event.detail.state!=='accepted'&&event.detail.state!=='not_needed'){return}
window.advanced_ads_sticky_settings.placements.forEach(function(value){document.querySelectorAll('script[type="text/plain"][data-tcf="waiting-for-consent"][data-placement="'+value+'"]').forEach(advads.privacy.decode_ad)})});jQuery(document).ready(function($){var resize_timeout=null,$el,previous_width=$(window).width();function resize_handler(){if(resize_timeout)clearTimeout(resize_timeout);resize_timeout=setTimeout(function(){var new_width=$(window).width();if(previous_width===new_width){return}
previous_width=new_width;if(typeof advanced_ads_sticky_items!=='undefined'){$.each(advanced_ads_sticky_items,function(wrapper_id,data){$el=$('#'+wrapper_id);$el.prop('style',data.initial_css);data.modifying_func()})}},1000)}
if('undefined'===typeof advanced_ads_responsive||!parseInt(advanced_ads_responsive.reload_on_resize,10)){jQuery(window).on('resize',resize_handler)}
if(typeof advanced_ads_sticky_settings==='undefined'||!advanced_ads_sticky_settings.check_position_fixed){return}
var advanced_ads_sticky_position_fixed_supported='';var allowed_offset=$(document.body).is('.admin-bar')?$('#wpadminbar').height():0;function remove_css($stickyads){if(advanced_ads_sticky_position_fixed_supported===!1){$(window).off('resize',resize_handler);$stickyads=$stickyads||jQuery('.'+advanced_ads_sticky_settings.sticky_class);setTimeout(function(){$stickyads.each(function(key,value){var $stickyad=$(value);if(window.advanced_ads_sticky_items[$stickyad.attr('id')].can_convert_to_abs){$stickyad.css('position','absolute')}else{$stickyad.css('position','').css('top','').css('right','').css('bottom','').css('left','').css('margin-left','').css('transform','none').css('-webkit-transform','none').css('-moz-transform','none').css('-ms-transform','none')}})})}}
function scroll_handler(){clearTimeout($.data(this,'scrollTimer'));$.data(this,'scrollTimer',setTimeout(function(){if($(document).scrollTop()<=allowed_offset){return}
if(advanced_ads_sticky_position_fixed_supported==''){advanced_ads_sticky_position_fixed_supported=advanced_ads_sticky_check_position_fixed();clearTimeout($.data(this,'scrollTimer'));$(window).off('scroll',scroll_handler)}
remove_css()},100))}
if(navigator.userAgent.indexOf('Opera Mini')>-1){advanced_ads_sticky_position_fixed_supported=!1;remove_css()}else{$(window).scroll(scroll_handler)}
if(typeof advanced_ads_pro==='object'&&advanced_ads_pro!==null){advanced_ads_pro.postscribeObservers.add(function(event){if(event.event==='postscribe_done'&&event.ref&&event.ad){var $stickyad=jQuery(event.ref).children('.'+advanced_ads_sticky_settings.sticky_class);if($stickyad.length){remove_css($stickyad)}}})}})
;var advanced_ads_cookies={"cookie_path":"\/","cookie_domain":""};var advadsCfpInfo={"cfpExpHours":"3","cfpClickLimit":"3","cfpBan":"7","cfpPath":"","cfpDomain":""}
;!function(e){var t="advads_procfp",a="advanced_ads_ad_clicks",d=null,n=null;function o(e){try{return JSON.parse(e)}catch(e){return null}}e(document).on("advads-passive-cb-conditions",(function(e,t){t.conditions.ad_clicks="check_ad_clicks",t.check_ad_clicks=function(e,t){if(advads.cookie_exists(a+"_"+t.id)){var d=advads.get_cookie(a+"_"+t.id);d=o(d)}if(d){var n=parseInt((new Date).getTime()/1e3);for(var i in d)if("_"+e.expiration==i&&d[i].ttl>=n&&d[i].count>=parseInt(e.limit))return!1}return!0}}));var i=function(){this.$elements={},this.currentIFrame=!1,this.focusLost=!1,this.wrappers=[".google-auto-placed"],this.attributes={"data-anchor-status":"displayed","data-vignette-loaded":"true"},this.lastClick=0,this.init()};i.prototype={constructor:i,init:function(){const t=this;let a;e(document).on("click","a[data-cfpa]",(function(){t.onClick(parseInt(e(this).attr("data-cfpa")))})),e(window).on("blur",(function(e){setTimeout((function(){if(!t.currentIFrame)for(let e=document.activeElement;e&&e!==this&&e!==document&&(t.currentIFrame=t.checkWrappers(e),!t.currentIFrame);e=e.parentNode);t.currentIFrame&&(t.onClick(t.currentIFrame),t.focusLost=!0,top.focus())}),0)})),e(document).on("mouseenter","div[data-cfpa]",(function(){var a=parseInt(e(this).attr("data-cfpa"));t.addElement(a)})),document.addEventListener("touchmove",(function(){a=!0}),!1),document.addEventListener("touchstart",(function(){a=!1}),!1),["click","touchend"].forEach((function(e){document.addEventListener(e,(function(e){if(a||t.getTimestamp()-t.lastClick<1)return;let d=null;for(let a=e.target;a&&a!==this&&a!==document;a=a.parentNode){if(d=t.checkWrappers(a),d){t.onClick(d);break}if(a.hasAttribute("data-cfpa")&&a.hasAttribute("data-cfptl")){d=parseInt(a.getAttribute("data-cfpa"),10),t.onClick(d);break}}}))}))},getTimestamp:function(){return Math.floor(Date.now()/1e3)},checkWrappers:function(e){for(let t=0,a=this.wrappers.length,d=null;t<a;t++)if(d=this.wrappers[t],e.matches&&e.matches(d))return".google-auto-placed"===d?"google-auto-placed":null;for(const[t,a]of Object.entries(this.attributes))if(e.hasAttribute(t)&&e.getAttribute(t)===a)return"google-auto-placed";return null},addElement:function(t){!1==t instanceof jQuery&&(t=e('div[data-cfpa="'+t+'"]').first());var i=!!t.find("iframe").length;if(i||t.find("a").length){var r=parseInt(t.attr("data-cfpa"));if(this.$elements[r]=t,t.removeAttr("data-cfpa"),i?(t.find("iframe").first().attr({"data-cfpa":r}),t.attr("data-cfph")&&t.find("iframe").first().attr({"data-cfph":t.attr("data-cfph")})):(t.find("a").not(".advads-edit-button").first().attr({"data-cfpa":r}),t.attr("data-cfph")&&t.find("a").not(".advads-edit-button").first().attr({"data-cfph":t.attr("data-cfph")})),t.removeAttr("data-cfph"),advads.cookie_exists(a+"_"+r)){var s=advads.get_cookie(a+"_"+r);if(s=o(s)){var c=parseInt((new Date).getTime()/1e3),f=!1;for(var u in s)if(s.hasOwnProperty(u)&&"exp"!=u&&s[u].ttl<c){for(var p=parseFloat(u.substr(1)),v=s[u].ttl;v<c;)v+=60*p*60;s[u].ttl=v,s[u].count=0,f=!0}if(f){var _=new Date(s.exp);advads.set_cookie_sec(a+"_"+r,JSON.stringify(s,"false",!1),parseInt(_.getTime()/1e3),d,n)}}}}},_banVisitor:function(){var e=new Date,t=new Date;t.setTime(t.getTime()+24*advadsCfpInfo.cfpBan*60*60*1e3);var a=(t.getTime()-e.getTime())/1e3;advads.set_cookie_sec("advads_pro_cfp_ban",1,a,d,n),document.querySelectorAll("[data-cfpw]:not([data-cfp-exclude])").forEach((function(e){e.remove()})),this.removeEmptyWrappers(),this.wrappers.forEach((function(e){jQuery(e).remove()}));for(const[e,t]of Object.entries(this.attributes))jQuery("["+e+'="'+t+'"]').remove()},removeEmptyWrappers:function(){document.querySelectorAll("[data-cfptl]:not([data-cfpw])").forEach((function(e){e.querySelectorAll("[data-cfpw]").length||e.remove()}))},onClick:function(i){var r=this,s=!1,c=!1;if(this.lastClick=this.getTimestamp(),"google-auto-placed"!==i&&e('[data-cfpa="'+i+'"]').attr("data-cfph")){advads.cookie_exists(a+"_"+i)&&(c=o(advads.get_cookie(a+"_"+i)));const t=o(e('[data-cfpa="'+i+'"]').attr("data-cfph"));if(c){const e=parseInt((new Date).getTime()/1e3,10),o=document.querySelectorAll('[data-cfpw="'+i+'"]');for(var f in c)c.hasOwnProperty(f)&&"exp"!==f&&(c[f].count=parseInt(c[f].count,10)+1,c[f].ttl>=e&&c[f].count>=parseInt(t[f],10)&&(o.forEach((function(e){e.remove()})),r.removeEmptyWrappers()));var u=new Date,p=new Date(c.exp),v=parseInt((p.getTime()-u.getTime())/1e3);advads.set_cookie_sec(a+"_"+i,JSON.stringify(c,"false",!1),v,d,n)}else{var _={},l=0,m=new Date;u=new Date;for(var f in t)f=f.substring(1),parseFloat(f)>l&&(l=parseFloat(f)),_["_"+f]={count:1,ttl:parseInt(u.getTime()/1e3+3600*parseFloat(f),10)};m.setTime(m.getTime()+60*l*60*1e3);var w="expires="+m.toUTCString();v=parseInt((m.getTime()-u.getTime())/1e3);_.exp=w,advads.set_cookie_sec(a+"_"+i,JSON.stringify(_,"false",!1),v,d,n)}}if(advads.cookie_exists(t+"_"+i)&&(s=o(advads.get_cookie(t+"_"+i))),s){s.count=parseInt(s.count,10)+1;u=new Date,v=((p=new Date(s.exp)).getTime()-u.getTime())/1e3;advads.set_cookie_sec(t+"_"+i,JSON.stringify(s,"false",!1),v,d,n),advadsCfpInfo.cfpClickLimit<=s.count&&void 0!==advadsCfpInfo.cfpBan&&r._banVisitor()}else{m=new Date,u=new Date;m.setTime(m.getTime()+60*advadsCfpInfo.cfpExpHours*60*1e3);w="expires="+m.toUTCString(),v=(m.getTime()-u.getTime())/1e3;advads.set_cookie_sec(t+"_"+i,'{"count":1,"exp":"'+w+'"}',v,d,n),1===advadsCfpInfo.cfpClickLimit&&void 0!==advadsCfpInfo.cfpBan&&r._banVisitor()}}},e((function(){for(var t in window.advadsProCfp=new i,e(document).on("mouseenter","iframe[data-cfpa]",(function(t){var a=parseInt(e(this).attr("data-cfpa"));advadsProCfp.currentIFrame=a})).on("mouseenter",".google-auto-placed",(function(e){advadsProCfp.currentIFrame="google-auto-placed"})).on("mouseleave mouseout","[data-cfpa], .google-auto-placed",(function(){advadsProCfp.currentIFrame=!1,advadsProCfp.focusLost&&(advadsProCfp.focusLost=!1,e(window).trigger("focus"))})),advadsCfpQueue)advadsCfpQueue.hasOwnProperty(t)&&advadsProCfp.addElement(advadsCfpQueue[t]);advadsCfpQueue=[],void 0!==window.advadsCfpInfo.cfpPath&&(""!=advadsCfpInfo.cfpPath&&(d=advadsCfpInfo.cfpPath),""!=advadsCfpInfo.cfpDomain&&(n=advadsCfpInfo.cfpDomain))}))}(window.jQuery);var advanced_ads_resizetimeout=1e3,advanced_ads_cookieexpires=30,advanced_ads_browser_width=advanced_ads_get_browser_width();if(void 0!==window.advads){var cookieValue=advads.get_cookie("advanced_ads_visitor"),info=cookieValue?JSON.parse(cookieValue):{};info.browser_width&&info.browser_width===advanced_ads_browser_width||advanced_ads_save_width(advanced_ads_browser_width)}function advanced_ads_resize_window(){advads_resize_delay((function(){if(advanced_ads_browser_width!==(advanced_ads_browser_width=advanced_ads_get_browser_width())){advanced_ads_save_width(advanced_ads_browser_width);var e=window.advanced_ads_responsive||{};window.jQuery&&parseInt(e.reload_on_resize,10)&&jQuery(document).triggerHandler("advanced-ads-resize-window")}}),advanced_ads_resizetimeout)}function advanced_ads_save_width(e){if(window.advanced_ads_responsive&&void 0!==window.advads){var t=advads.get_cookie("advanced_ads_visitor"),a=t?JSON.parse(t):{};a.browser_width=e,advads.set_cookie("advanced_ads_visitor",JSON.stringify(a),advanced_ads_cookieexpires,advanced_ads_cookies.cookie_path,advanced_ads_cookies.cookie_domain)}}window.addEventListener?window.addEventListener("resize",advanced_ads_resize_window,!1):window.attachEvent&&window.attachEvent("onresize",advanced_ads_resize_window);var advads_resize_delay=function(){var e=0;return function(t,a){clearTimeout(e),e=setTimeout(t,a)}}();function advanced_ads_get_browser_width(){if(window.jQuery)return jQuery(window).width();var e=0;return"number"==typeof window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),e}
;var advanced_ads_pro_ajax_object={"ajax_url":"https:\/\/xgp.pl\/wp-admin\/admin-ajax.php","lazy_load_module_enabled":"","lazy_load":{"default_offset":300,"offsets":[]},"moveintohidden":"","wp_timezone_offset":"3600","the_id":"79341","is_singular":"1"};var advanced_ads_responsive={"reload_on_resize":"1"}
;/**
 * @file postscribe
 * @description Asynchronously write javascript, even with document.write.
 * @version v2.0.8
 * @see {@link https://krux.github.io/postscribe}
 * @license MIT
 * @author Derek Brans
 * @copyright 2016 Krux Digital, Inc
 */
var 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){
/**
	 * @file prescribe
	 * @description Tiny, forgiving HTML parser
	 * @version vundefined
	 * @see {@link https://github.com/krux/prescribe/}
	 * @license MIT
	 * @author Derek Brans
	 * @copyright 2016 Krux Digital, Inc
	 */
var 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();e.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.postscribeObservers.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})}))})),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)};e.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;var 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|MZ608|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",BronchoTablet:"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",PointOfViewTablet:"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",NibiruTablet:"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}}advanced_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;if(!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),!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:""}))}}
;var advadsTracking={"impressionActionName":"aatrack-records","clickActionName":"aatrack-click","targetClass":"ekjnewwo23ns32-target","blogId":"1","frontendPrefix":"ekjnewwo23ns32-"}
;var AdvAdsTrackingUtils={hasAd:function(a){for(var e in a)if(Array.isArray(a[e])&&a[e].length)return!0;return!1},param:function(a){return Object.keys(a).map((function(e){return Array.isArray(a[e])?Object.keys(a[e]).map((function(t){return encodeURIComponent(e)+"[]="+encodeURIComponent(a[e][t])})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(a[e])})).join("&").replace(/%20/g,"+")},concat:function(){var a=Array.prototype.slice.call(arguments),e={};for(var t in a)for(var d in a[t])void 0===e[d]?e[d]=a[t][d]:"function"==typeof e[d].concat&&(e[d]=e[d].concat(a[t][d]));return e},adsByBlog:function(a,e){var t={};return void 0!==a[e]&&(t[e]=a[e]),t},getPrefixedAttribute:function(a){return""+window.advadsTracking.frontendPrefix+a},getPrefixedDataSetAttribute:function(a){return this.getPrefixedAttribute(a).toLowerCase().replace("data-","").replace(/-([a-z]?)/g,((a,e)=>e.toUpperCase()))},extend:function(){var a={};for(var e in arguments){var t=arguments[e];for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&(a[d]=t[d])}return a},inArray:function(a,e){return e.indexOf(a)>-1},findParentByClassName:function(a,e){for(;(a=a.parentElement)&&!a.classList.contains(e););return a},getTimestamp:function(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Math.floor(Date.now()/1e3)},arrayUnique:function(a,e,t){return t.indexOf(a)===e},blogUseGA:function(a){return("ga"===advads_tracking_methods[a]||advads_tracking_parallel[a])&&!!advads_gatracking_uids[a]},post:function(a,e,t){var d=new XMLHttpRequest;return d.timeout=5e3,new Promise((function(r,i){d.onreadystatechange=function(){d.readyState===XMLHttpRequest.DONE&&(0===d.status||d.status>=200&&d.status<300?r(d):i({status:d.status,statusText:d.statusText}))},d.open("POST",a,t||!0),d.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),d.send("string"==typeof e?e:AdvAdsTrackingUtils.param(e))}))}},AdvAdsImpressionTracker={ajaxAds:{},passiveAds:{},initialAds:{},removeDelayedAds:function(a){var e=document.querySelectorAll("[data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackid")+'][data-delayed="1"]'),t=e.length;if(!t)return a;for(var d=0;d<t;d++){var r=parseInt(e[d].dataset[AdvAdsTrackingUtils.getPrefixedDataSetAttribute("trackid")],10),i=parseInt(e[d].dataset[AdvAdsTrackingUtils.getPrefixedDataSetAttribute("trackbid")],10);if(AdvAdsTrackingUtils.hasAd(a)&&void 0!==a[i]){var s=a[i].indexOf(r);s>-1&&a[i].splice(s,1)}}return a},track:function(a,e){if(e=e||"all",AdvAdsTrackingUtils.hasAd(a))for(var t in a){if(AdvAdsTrackingUtils.blogUseGA(t)&&(advadsGATracking.deferedAds=AdvAdsTrackingUtils.concat(advadsGATracking.deferedAds,AdvAdsTrackingUtils.adsByBlog(a,t)),"delayed"===e?this.triggerEvent("advadsGADelayedTrack"):this.triggerEvent("advadsGADeferedTrack"),"ajax"===e&&AdvAdsTrackingUtils.hasAd(AdvAdsTrackingUtils.adsByBlog(this.ajaxAds,t))))for(var d in this.ajaxAds[t]){a[t].indexOf(this.ajaxAds[t][d])>-1&&this.ajaxAds[t].splice(d,1)}"ajax"===e||"frontend"!==advads_tracking_methods[t]&&"onrequest"!==advads_tracking_methods[t]||this.sendTrack(t,a[t]),this.ajaxAds={}}},triggerEvent:function(a){var e=new CustomEvent(a);document.dispatchEvent(e)},sendTrack:function(a,e){e.length&&AdvAdsTrackingUtils.post(advads_tracking_urls[a],{ads:e,action:window.advadsTracking.impressionActionName,referrer:window.location.pathname+window.location.search,bid:a})}};!function(){var a=function(){if("undefined"!=typeof advads_tracking_ads&&(advads_tracking_ads=AdvAdsImpressionTracker.removeDelayedAds(advads_tracking_ads),AdvAdsTrackingUtils.hasAd(advads_tracking_ads)))for(var a in advads_tracking_ads)"frontend"===advads_tracking_methods[a]&&("undefined"!=typeof advads&&void 0!==advads.privacy.is_ad_decoded&&(advads_tracking_ads[a]=advads_tracking_ads[a].filter(advads.privacy.is_ad_decoded)),AdvAdsImpressionTracker.track(advads_tracking_ads),advads_tracking_ads={1:[]})};"undefined"!=typeof advads&&"unknown"===advads.privacy.get_state()?document.addEventListener("advanced_ads_privacy",(function(e){"unknown"===e.detail.previousState&&a()})):advanced_ads_ready(a,"interactive")}(),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var AdvAdsClickTracker={wrappers:[],overTarget:!1,currentTarget:!1,lastClick:[],elements:["iframe","a.adv-link","button.adv-link"],targets:["aswift_0","aswift_1","aswift_3","aswift_4","aswift_5","aswift_6","aswift_7","aswift_8","aswift_9"],findTargets:function(){AdvAdsClickTracker.wrappers.forEach((function(a){document.querySelectorAll(a).forEach((function(a){null!==a&&AdvAdsClickTracker.elements.forEach((function(e){Array.prototype.push.apply(AdvAdsClickTracker.targets,Array.prototype.slice.call(a.querySelectorAll(e)))}))}))})),AdvAdsClickTracker.targets=AdvAdsClickTracker.targets.filter(AdvAdsTrackingUtils.arrayUnique),this.processTargets()},processTargets:function(){AdvAdsClickTracker.targets.forEach((function(a){AdvAdsClickTracker.registerTargetHandlers(a)}))},registerTargetHandlers:function(a){a.onmouseover=this.mouseOver,a.onmouseout=this.mouseOut,void 0!==window.attachEvent?top.attachEvent("onblur",this.adClick):void 0!==window.addEventListener&&top.addEventListener("blur",this.adClick,!1)},registerWrapperHandlers:function(){var a;["click","touchend","auxclick"].forEach((function(e){document.addEventListener(e,(function(e){if(!("auxclick"===e.type&&2!==e.which&&1!==e.which||a)){var t=!1;-1!==["a","iframe","button"].indexOf(e.target.localName)&&(t=!0);for(var d=e.target;d&&d!==this;d=d.parentNode){null===d.parentNode||t||-1===["a","iframe","button"].indexOf(d.parentNode.localName)||(t=!0);var r=!1;if(AdvAdsClickTracker.wrappers.forEach((function(a){(d.matches?d.matches(a):d.msMatchesSelector(a))&&(e.target.classList.contains("notrack")||!t&&null===d.querySelector("iframe")||(r=!0))})),r){if(this.currentTarget===e.target)return;AdvAdsClickTracker.ajaxSend(e.target);break}}}}),{capture:!0})})),document.addEventListener("touchmove",(function(e){a=!0}),!1),document.addEventListener("touchstart",(function(e){a=!1}),!1)},adClick:function(){AdvAdsClickTracker.overTarget&&(AdvAdsClickTracker.ajaxSend(AdvAdsClickTracker.currentTarget),top.focus())},mouseOver:function(){AdvAdsClickTracker.overTarget=!0,AdvAdsClickTracker.currentTarget=this},mouseOut:function(){AdvAdsClickTracker.overTarget=!1,AdvAdsClickTracker.currentTarget=!1,top.focus()},ajaxSend:function(a){var e=a.getAttribute("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackid")),t=a.getAttribute("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")),d=a.getAttribute("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("redirect"));if(null===e){var r=AdvAdsTrackingUtils.findParentByClassName(a,[advadsTracking.targetClass]);e=r.getAttribute("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackid")),t=r.getAttribute("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")),d=r.getAttribute("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("redirect"))}var i=advads_tracking_urls[t],s={action:window.advadsTracking.clickActionName,referrer:window.location.pathname+window.location.search,type:"ajax",ads:[e],bid:t};if(10>AdvAdsTrackingUtils.getTimestamp()-this.lastClick[e])return!1;if(AdvAdsTrackingUtils.blogUseGA(t)&&(advancedAdsGAInstances.getInstance(t).trackClick(e,!1,!1,!1),this.lastClick[e]=AdvAdsTrackingUtils.getTimestamp(),!advads_tracking_parallel[t]))return;if(!d){if(navigator.sendBeacon&&-1===i.indexOf("admin-ajax.php")){var n=JSON.parse(JSON.stringify(s));n.type="beacon",n=new Blob([JSON.stringify(n)],{type:"application/json; charset=UTF-8"}),navigator.sendBeacon(i,n)}else AdvAdsTrackingUtils.post(i,s,!1);this.lastClick[e]=AdvAdsTrackingUtils.getTimestamp()}}};advanced_ads_ready((function(){AdvAdsClickTracker.wrappers=null!==advadsTracking.targetClass&&""!==advadsTracking.targetClass?Array("."+advadsTracking.targetClass,".adsbygoogle"):Array(" ",".adsbygoogle"),window.onpageshow=function(a){a&&a.persisted&&window.location.reload()},setTimeout((function(){AdvAdsClickTracker.findTargets()}),1500),AdvAdsClickTracker.registerWrapperHandlers()}),"interactive"),"undefined"!=typeof advanced_ads_pro&&advanced_ads_pro.observers.add((function(a){if(-1!==["inject_passive_ads","inject_ajax_ads","advanced_ads_decode_inserted_ads","inject_placement"].indexOf(a.event)){Array.isArray(a.ad_ids)&&!a.ad_ids.length&&(a.ad_ids={});var e="all",t={};switch("complete"!==document.readyState?document.addEventListener("readystatechange",(function(a){"complete"===a.target.readyState&&AdvAdsClickTracker.findTargets()})):AdvAdsClickTracker.findTargets(),a.event){case"inject_passive_ads":for(var d in AdvAdsImpressionTracker.passiveAds=AdvAdsTrackingUtils.concat(AdvAdsImpressionTracker.passiveAds,a.ad_ids),a.ad_ids)if("frontend"===advads_tracking_methods[d]?(t=AdvAdsTrackingUtils.concat(advads_tracking_ads,a.ad_ids),advads_tracking_ads={1:[]}):(e="passive",t=a.ad_ids),"undefined"!=typeof advads&&void 0!==advads.privacy.is_ad_decoded)for(var d in t)t[d]=t[d].filter(advads.privacy.is_ad_decoded);break;case"inject_ajax_ads":var r="undefined"!=typeof advads&&window.advads_options.privacy.enabled&&"iab_tcf_20"===window.advads_options.privacy["consent-method"];for(var d in a.ad_ids)if(AdvAdsTrackingUtils.blogUseGA(d)||r)for(var i in a.ad_ids[d]){var s=document.querySelector("[data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackid")+'="'+a.ad_ids[d][i]+'"][data-'+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")+'="'+d+'"]');null!==s&&"undefined"!=typeof advads_items&&void 0!==advads_items.showed&&advads_items.showed.indexOf(s.id)>-1&&void 0!==s.dataset.delayed||(void 0===AdvAdsImpressionTracker.ajaxAds[d]&&(AdvAdsImpressionTracker.ajaxAds[d]=[]),AdvAdsImpressionTracker.ajaxAds[d].push(a.ad_ids[d][i]))}e=r&&"frontend"===advads_tracking_methods[d]?"all":"ajax",t=JSON.parse(JSON.stringify(AdvAdsImpressionTracker.ajaxAds));break;case"advanced_ads_decode_inserted_ads":t=a.ad_ids}advanced_ads_pro.busy?document.addEventListener("advanced_ads_pro.idle",(function(){AdvAdsImpressionTracker.track(AdvAdsImpressionTracker.removeDelayedAds(t),e)}),{once:!0}):AdvAdsImpressionTracker.track(AdvAdsImpressionTracker.removeDelayedAds(t),e)}}))
;!function(){var t="advads-sticky-trigger";"undefined"!=typeof advanced_ads_layer_settings&&(t+=" "+advanced_ads_layer_settings.layer_class+"-trigger"),jQuery(document).on(t,(function(t){var d=jQuery(t.target),a={},e=parseInt(d.attr("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")),10),r=parseInt(d.attr("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackid")),10),i=function(t,d){void 0===a[d]&&(a[d]=[]),a[d].push(t)};if(e){if(!d.data("delayed")||!d.data(AdvAdsTrackingUtils.getPrefixedAttribute("impression")))return;i(r,e)}else{if(!d.find("[data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")+"]").length)return;d.find("[data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")+"]").each((function(){var t=jQuery(this);t.data("delayed")&&t.data(AdvAdsTrackingUtils.getPrefixedAttribute("impression"))&&(e=parseInt(t.attr("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackbid")),10),r=parseInt(t.attr("data-"+AdvAdsTrackingUtils.getPrefixedAttribute("trackid")),10),i(r,e))}))}AdvAdsTrackingUtils.blogUseGA(e)&&(advadsGATracking.delayedAds=AdvAdsTrackingUtils.concat(advadsGATracking.delayedAds,a)),AdvAdsImpressionTracker.track(a,"delayed")}))}(jQuery)
;var q2w3_sidebar_options=[{"use_sticky_position":!1,"margin_top":0,"margin_bottom":0,"stop_elements_selectors":"","screen_max_width":0,"screen_max_height":0,"widgets":[]}]
;'use strict';var extendStatics=function(d,b){extendStatics=Object.setPrototypeOf||({__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b})||function(d,b){for(var p in b)if(Object.prototype.hasOwnProperty.call(b,p))d[p]=b[p]};return extendStatics(d,b);};function __extends(d,b){if(typeof b!=="function"&&b!==null)
throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}
d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __())}
var __assign=function(){__assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p]}
return t};return __assign.apply(this,arguments)};var reactive=function(getter,interval){if(interval===void 0){interval=300}
var subs=[];var v=getter();var interval_id=setInterval(check,interval);function check(){if(subs.length===0){return}
var new_v=getter();if(v===new_v||typeof v==='object'&&JSON.stringify(v)===JSON.stringify(new_v)){return}
v=new_v;for(var _i=0,subs_1=subs;_i<subs_1.length;_i++){var update=subs_1[_i];update(new_v)}}
return{get val(){return v},on_change:function(update){update(v);subs.push(update)},clear:function(){clearInterval(interval_id)}}};var StaticOffsets=(function(){function StaticOffsets(el,get_root_offset,need_to_calc_offset,get_prev_sibling){if(el===void 0){el=null}
if(get_root_offset===void 0){get_root_offset=function(){return Math.round(scrollY+(_this.el?_this.el.getBoundingClientRect().top:0))}}
if(need_to_calc_offset===void 0){need_to_calc_offset=function(){return!1}}
if(get_prev_sibling===void 0){get_prev_sibling=function(){return null}}
var _this=this;this.el=el;this.get_root_offset=get_root_offset;this.need_to_calc_offset=need_to_calc_offset;this.get_prev_sibling=get_prev_sibling;this.user_margins={};this.root=0;this.top=0;this.get_top_offset=function(){return _this.get_sibilings_offset(_this.get_prev_sibling,_this.get_prev_sibling(_this.el),_this.user_margins.margin_top)}}
StaticOffsets.prototype.init=function(user_margins){var _this=this;this.user_margins=user_margins;this.top_watcher=reactive(this.get_top_offset);this.top_watcher.on_change(function(top){_this.top=top});this.root_watcher=reactive(this.get_root_offset);this.root_watcher.on_change(function(root){_this.root=root})};StaticOffsets.prototype.clear=function(){this.top_watcher&&this.top_watcher.clear();this.root_watcher&&this.root_watcher.clear()};StaticOffsets.prototype.update=function(){};StaticOffsets.prototype.get_sibilings_offset=function(next,el,offset){if(offset===void 0){offset=0}
if(!el){return offset}
if(!this.need_to_calc_offset(el)){return this.get_sibilings_offset(next,next(el),offset)}
var _a=getComputedStyle(el),marginTop=_a.marginTop,marginBottom=_a.marginBottom;return this.get_sibilings_offset(next,next(el),offset+el.getBoundingClientRect().height+parseInt(marginTop||'0')+parseInt(marginBottom||'0'))};return StaticOffsets}());var DynamicOffsets=(function(_super){__extends(DynamicOffsets,_super);function DynamicOffsets(el,get_root_offset,need_to_calc_offset,get_prev_sibling,get_next_sibling){if(el===void 0){el=null}
if(need_to_calc_offset===void 0){need_to_calc_offset=function(){return!1}}
if(get_prev_sibling===void 0){get_prev_sibling=function(){return null}}
if(get_next_sibling===void 0){get_next_sibling=function(){return null}}
var _this=_super.call(this,el,get_root_offset,need_to_calc_offset,get_prev_sibling)||this;_this.get_next_sibling=get_next_sibling;_this.bottom=0;_this.max_top_offset=0;_this.relative_top=0;_this.height=0;_this.position={top:0,bottom:0};_this.border_box=0;_this.get_height=function(){return!_this.el?0:Math.round(Math.max(_this.el.clientHeight,_this.el.getBoundingClientRect().height))};_this.get_bottom_offset=function(){return _this.get_sibilings_offset(_this.get_next_sibling,_this.get_next_sibling(_this.el),_this.user_margins.margin_bottom)};return _this}
DynamicOffsets.prototype.init=function(user_margins){var _this=this;_super.prototype.init.call(this,user_margins);this.height_watcher=reactive(this.get_height);this.height_watcher.on_change(function(height){_this.height=height;_this.border_box=_this.get_border_box();_this.relative_top=_this.get_relative_top()});this.bottom_offset=reactive(this.get_bottom_offset);this.bottom_offset.on_change(function(bottom){_this.bottom=bottom;_this.relative_top=_this.get_relative_top()})};DynamicOffsets.prototype.clear=function(){_super.prototype.clear.call(this);this.height_watcher&&this.height_watcher.clear();this.bottom_offset&&this.bottom_offset.clear()};DynamicOffsets.prototype.update=function(){this.position=this.get_position()};DynamicOffsets.prototype.set_max_offset=function(max_top_offset){this.max_top_offset=max_top_offset;this.relative_top=this.get_relative_top()};DynamicOffsets.prototype.get_position=function(){if(!this.el||!this.el.parentElement){return{top:0,bottom:0}}
return{top:this.el.offsetTop,bottom:this.el.parentElement.clientHeight-this.el.offsetTop-this.border_box}};DynamicOffsets.prototype.get_border_box=function(){if(!this.el){return 0}
var _a=getComputedStyle(this.el),marginTop=_a.marginTop,marginBottom=_a.marginBottom;return this.height+parseInt(marginTop)+parseInt(marginBottom)};DynamicOffsets.prototype.get_relative_top=function(){return this.max_top_offset-this.border_box-this.bottom};return DynamicOffsets}(StaticOffsets));var StopWidgetClassName='FixedWidget__stop_widget';var FixedWidgetClassName='FixedWidget__fixed_widget';var FixedWidgetPinnedClassName='FixedWidget__fixed_widget__pinned';var BaseWidget=(function(){function BaseWidget(el){var _this=this;this.el=el;this.get_root_offset=function(){return Math.round(scrollY+(_this.el?_this.el.getBoundingClientRect().top:0))};this.need_to_calc_el_offset=function(_){return!1};this.offsets=new StaticOffsets(this.el,this.get_root_offset)}
BaseWidget.prototype.mount=function(user_margins){if(user_margins===void 0){user_margins={}}
this.offsets.init(user_margins)};BaseWidget.prototype.render=function(_reject){this.offsets.update()};BaseWidget.prototype.unmount=function(){this.offsets.clear()};BaseWidget.prototype.getElement=function(){return this.el};BaseWidget.prototype.toString=function(){var _a;return"".concat((_a=this.el)===null||_a===void 0?void 0:_a.innerHTML)};BaseWidget.queryAllWidgetsContainers=function(className){return[].concat(Array.from(document.querySelectorAll(".".concat(className))),Array.from(document.querySelectorAll("[data-fixed_widget=".concat(className)))).map(function(el){el.classList.remove(className);el.removeAttribute('data-fixed_widget');var container=getWidgetContainer(el);container.classList.remove(FixedWidgetClassName);container.classList.remove(StopWidgetClassName);return container})};BaseWidget.from=function(root,className){var _this=this;var elements=[];try{elements=Array.from(root.querySelectorAll(":scope > .".concat(className)))}catch(_e){elements=Array.from(root.children).filter(function(e){return e.classList.contains(className)})}
return elements.filter(function(el){return el!==null}).map(function(e){return new _this(e)})};return BaseWidget}());var getWidgetContainer=function(el){if(!el.parentElement){return el}
var parentClassNames=el.parentElement.classList.toString();if(parentClassNames.includes('sidebar')){return el}
return(parentClassNames.includes('wp-block-group')||parentClassNames.includes('wp-block-column')||el.parentElement.classList.contains('widget'))?getWidgetContainer(el.parentElement):el};var findIntersections=function(arr1,arr2){return[arr2.filter(function(e){return!arr1.includes(e)}),arr1.filter(function(e){return arr2.includes(e)}),]};var splitSelectors=function(s){if(s===void 0){s=''}
return s.replace(/[\r\n]|[\r]/gi,'\n').split('\n').map(function(s){return s.trim()}).filter(function(s){return s!==''})};var compatabilty_FW_v5=function(selectors){if(selectors===void 0){selectors=[]}
if(selectors.some(function(s){return!/^[a-z]/i.test(s)})){return selectors}
return selectors.concat(selectors.map(function(s){return"#".concat(s)}))};var queryElements=function(selectors){if(selectors===void 0){selectors=[]}
return Array.from((selectors).map(function(selector){return Array.from(document.querySelectorAll(selector))})).reduce(function(all,elements){return all.concat(elements)},[]).filter(function(e){return e instanceof HTMLElement})};function findWithProperty(el,predicate){if(!el||el===document.body){return null}
if(predicate(getComputedStyle(el))){return el}
return findWithProperty(el.parentElement,predicate)}
var PositionWidget=(function(_super){__extends(PositionWidget,_super);function PositionWidget(el){var _this=_super.call(this,el)||this;_this.is_pinned=!1;_this.init_rect={minHeight:0,width:0,};_this.init_style={position:'static',marginBottom:'',transition:'',transform:'',marginTop:'',padding:'',width:'',top:''};_this.get_prev_sibling=function(el){return el&&!el.classList.contains(StopWidgetClassName)&&el.previousElementSibling||null};_this.get_next_sibling=function(el){return el&&!el.classList.contains(StopWidgetClassName)?el.nextElementSibling:null};_this.need_to_calc_el_offset=function(el){return el.classList.contains(FixedWidgetClassName)};_this.offsets=new DynamicOffsets(_this.el,_this.get_root_offset,_this.need_to_calc_el_offset,_this.get_prev_sibling,_this.get_next_sibling);return _this}
PositionWidget.prototype.mount=function(user_margins){var _this=this;_super.prototype.mount.call(this,user_margins);if(!this.el||!this.el.parentElement){return}
this.store_style(getComputedStyle(this.el));this.store_rect(this.el);this.height_watcher=reactive(function(){return _this.el?_this.el.getBoundingClientRect().height:0});this.height_watcher.on_change(function(height){_this.init_rect.minHeight=height})};PositionWidget.prototype.unmount=function(){var _a;_super.prototype.unmount.call(this);this.unpin();(_a=this.height_watcher)===null||_a===void 0?void 0:_a.clear();this.reset_style();this.reset_rect()};PositionWidget.prototype.reset_style=function(){if(!this.el){return}
for(var prop in this.init_style){this.el.style[prop]=''}
this.init_style={position:'static',marginBottom:'',transition:'',transform:'',marginTop:'',padding:'',width:'',top:'',}};PositionWidget.prototype.reset_rect=function(){if(!this.el){return}
for(var prop in this.init_rect){this.el.style[prop]=''}
this.init_rect={minHeight:0,width:0,}};PositionWidget.prototype.render=function(reject){_super.prototype.render.call(this,reject);this.on_scroll(Math.round(scrollY),reject)};PositionWidget.from=function(root){return _super.from.call(this,root,FixedWidgetClassName)};PositionWidget.prototype.on_scroll=function(_scroll_top,_reject){throw new Error('Method is not overridden!')};PositionWidget.prototype.pin=function(){if(this.is_pinned||!this.el){return}
this.is_pinned=!0;this.el.classList.add(FixedWidgetPinnedClassName)};PositionWidget.prototype.unpin=function(){if(!this.is_pinned||!this.el){return}
this.is_pinned=!1;this.el.classList.remove(FixedWidgetPinnedClassName)};PositionWidget.prototype.store_style=function(style){for(var prop in this.init_style){this.init_style[prop]=style[prop]}
if(this.init_style.position==='relative'){this.init_style.position='static'}};PositionWidget.prototype.store_rect=function(el){if(!el){return}
var r=el.getBoundingClientRect();var rect={minHeight:r.height,width:r.width,};for(var prop in this.init_rect){this.init_rect[prop]=rect[prop]}};PositionWidget.prototype.restore_style=function(){if(!this.el){return}
for(var prop in this.init_style){this.el.style[prop]=this.init_style[prop]}};PositionWidget.prototype.restore_rect=function(){if(!this.el){return}
for(var prop in this.init_rect){this.el.style[prop]="".concat(this.init_rect[prop],"px")}};return PositionWidget}(BaseWidget));var FixedWidget=(function(_super){__extends(FixedWidget,_super);function FixedWidget(el){var _this=_super.call(this,el)||this;_this.get_root_offset=function(){if(!_this.el){return Number.MAX_VALUE}
var top=_this.el.getBoundingClientRect().top;var new_root_offset=Math.round(scrollY+top);if((scrollY==0)){return new_root_offset}
return(_this.is_pinned?Math.min:Math.max)(_this.offsets.root,new_root_offset)};_this.need_to_calc_el_offset=function(el){return el.classList.contains(FixedWidgetClassName)&&el!==_this.el};if(!_this.el||!_this.el.parentElement){return _this}
_this.el.classList.add(FixedWidgetClassName);return _this}
FixedWidget.prototype.mount=function(margins){var _this=this;_super.prototype.mount.call(this,margins);if(!this.el){return}
this.clone();this.offsets.clear();this.offsets=new DynamicOffsets(this.clone_el,this.get_root_offset,this.need_to_calc_el_offset,this.get_prev_sibling,this.get_next_sibling);this.offsets.init(margins);this.height_watcher&&this.height_watcher.on_change(function(height){_this.store_rect(_this.is_pinned&&_this.clone_el||_this.el);if(_this.clone_el){_this.clone_el.style.minHeight="".concat(height,"px")}})};FixedWidget.prototype.unmount=function(){var _a;_super.prototype.unmount.call(this);(_a=this.clone_el)===null||_a===void 0?void 0:_a.remove();this.clone_el=void 0};FixedWidget.prototype.set_max_offset=function(max_top_offsets){var _this=this;var max_top_offset=max_top_offsets.find(function(offset){return offset!==0&&offset>_this.offsets.root});if(!max_top_offset){return}
this.offsets.set_max_offset(max_top_offset)};FixedWidget.prototype.on_scroll=function(scroll_top){if(!this.el){return}
var need_to_fix=scroll_top>this.offsets.root-this.offsets.top;var limited_by_stop_element=this.offsets.max_top_offset!==0&&scroll_top>this.offsets.relative_top-this.offsets.top;var top=limited_by_stop_element?this.offsets.relative_top-scroll_top:this.offsets.top;if(need_to_fix){this.fix(top);return}
if(!this.is_pinned){return}
this.unpin();this.restore_style();if(this.clone_el){this.clone_el.style.display='none'}};FixedWidget.prototype.clone=function(){var _this=this;if(!this.el||!this.el.parentElement||this.clone_el){return}
this.clone_el=this.el.cloneNode(!1);this.clone_el.getAttributeNames().forEach(function(attr){_this.clone_el.removeAttribute(attr)});for(var prop in this.init_style){this.clone_el.style[prop]=this.init_style[prop]}
this.clone_el.style.display='none';this.clone_el.style.boxSizing='border-box';this.el.parentElement.insertBefore(this.clone_el,this.el)};FixedWidget.prototype.fix=function(top){if(!this.el){return}
if(this.is_pinned){this.el.style.top="".concat(top,"px");return}
this.pin();this.restore_style();this.restore_rect();this.el.style.top="".concat(top,"px");this.el.style.position='fixed';if(!this.clone_el){return}
this.clone_el.style.display='block'};FixedWidget.new=function(selector){return new FixedWidget(document.querySelector(selector))};FixedWidget.is=function(selector){var el=document.querySelector(selector);return!!el&&el.classList.contains(FixedWidgetClassName)};return FixedWidget}(PositionWidget));var StickyWidget=(function(_super){__extends(StickyWidget,_super);function StickyWidget(el){var _this=_super.call(this,el)||this;_this.borderBox=0;_this.margins=0;if(!_this.el||!_this.el.parentElement){return _this}
_this.el.classList.add(FixedWidgetClassName);return _this}
StickyWidget.prototype.mount=function(margins){_super.prototype.mount.call(this,margins);if(!this.el){return}
this.el.style.position='sticky';this.el.style.position='-webkit-sticky';this.el.style.transition=/all|transform/.test(this.init_style.transition)?this.init_style.transition:'transform 0s';this.el.style.boxSizing='border-box'};StickyWidget.prototype.set_max_offset=function(max_top_offsets){var _this=this;if(!this.el||!this.el.parentElement){return}
var max_top_offset=max_top_offsets.find(function(offset){return _this.el&&(offset>_this.el.offsetTop)});if(!max_top_offset){return}
this.offsets.set_max_offset(max_top_offset)};StickyWidget.prototype.on_scroll=function(_scroll_top,_reject){if(!this.el||!this.el.parentElement){return}(this.offsets.position.top>this.offsets.top)?this.pin():this.unpin();var actual_bottom=this.offsets.position.bottom;var expected_bottom=this.offsets.max_top_offset?Math.min(this.offsets.max_top_offset-(this.el.parentElement.clientHeight-actual_bottom),actual_bottom):this.offsets.bottom;this.el.style.top="".concat(this.offsets.top,"px");if(expected_bottom>=this.offsets.bottom){this.el.style.transform="translateY(0px)";return}
this.el.style.transform="translateY(".concat(expected_bottom-this.offsets.bottom,"px)")};StickyWidget.new=function(selector){return new StickyWidget(document.querySelector(selector))};StickyWidget.is=function(selector){var el=document.querySelector(selector);return!!el&&el.classList.contains(FixedWidgetClassName)};return StickyWidget}(PositionWidget));var StopWidget=(function(_super){__extends(StopWidget,_super);function StopWidget(el){var _this=_super.call(this,el)||this;_this.need_to_calc_el_offset=function(){return!0};if(!_this.el||!_this.el.parentElement){return _this}
_this.el.classList.add(StopWidgetClassName);return _this}
StopWidget.new=function(selector){return new StopWidget(document.querySelector(selector))};StopWidget.is=function(selector){var el=document.querySelector(selector);return!!el&&el.classList.contains(StopWidgetClassName)};StopWidget.from=function(root){return _super.from.call(this,root,StopWidgetClassName)};return StopWidget}(BaseWidget));var Sidebar=(function(){function Sidebar(el,margins,use_sticky_position){if(use_sticky_position===void 0){use_sticky_position=!1}
var _this=this;this.el=el;this.margins=margins;this.widgets=[];this.stop_widgets=[];this.isSticky=!1;this.setWidgetsMaxOffset=function(max_offsets){for(var _i=0,_a=_this.widgets;_i<_a.length;_i++){var widget=_a[_i];widget.set_max_offset(max_offsets)}
_this.render()};this.logWidgetRenderError=function(){console.log("Fixed Widget: fallback to position sticky")};this.onWidgetRenderError=function(w){_this.logWidgetRenderError();if(!(w instanceof StickyWidget)){return}
w.unmount();var i=_this.widgets.findIndex(function(widget){return w===widget});var widget=new FixedWidget(w.getElement());widget.mount(_this.margins);widget.render(_this.logWidgetRenderError);_this.widgets[i]=widget};var isDeprecatedFloatMarkup=!!findWithProperty(this.el,function(style){return style.float!=='none'});var isOverflowHiddenMarkup=!!findWithProperty(this.el,function(style){return style.overflow==='hidden'});var isFallbackToSticky=(isDeprecatedFloatMarkup||isOverflowHiddenMarkup)&&use_sticky_position;isFallbackToSticky&&console.log('Fixed Widget: fallback to position sticky');this.isSticky=!isDeprecatedFloatMarkup&&!isOverflowHiddenMarkup&&use_sticky_position;var WidgetContructor=this.isSticky?StickyWidget:FixedWidget;this.stop_widgets=StopWidget.from(this.el);this.widgets=WidgetContructor.from(this.el);this.offsets=new DynamicOffsets(this.el);if(!this.isSticky){return}
this.el.style.position='relative';if(this.stop_widgets.length!==0){return}
this.el.style.minHeight='100%'}
Sidebar.prototype.mount=function(){var _this=this;this.offsets.clear();this.max_offset_watcher&&this.max_offset_watcher.clear();this.offsets.init(this.margins);this.stop_widgets.forEach(function(widget){widget.mount()});this.widgets.forEach(function(widget){widget.mount(_this.margins)});this.widgets=this.widgets.sort(function(a,b){return a.offsets.root-b.offsets.root})};Sidebar.prototype.set_max_offset=function(general_stop_widgets){var is_local_stop_widgets=this.stop_widgets.length!=0;var use_top_offset=this.isSticky&&is_local_stop_widgets;var stop_widgets=is_local_stop_widgets?this.stop_widgets:general_stop_widgets;this.max_offset_watcher=reactive(function(){if(stop_widgets.length===0){return[Math.round(document.body.scrollHeight)]}
return stop_widgets.map(function(widget){return Math.round(use_top_offset?widget.offsets.top:widget.offsets.root)}).sort()});this.max_offset_watcher.on_change(this.setWidgetsMaxOffset)};Sidebar.prototype.render=function(){for(var _i=0,_a=this.stop_widgets;_i<_a.length;_i++){var stop_widget=_a[_i];stop_widget.render(this.logWidgetRenderError)}
for(var _b=0,_c=this.widgets;_b<_c.length;_b++){var widget=_c[_b];widget.render(this.onWidgetRenderError)}};Sidebar.prototype.unmount=function(){for(var _i=0,_a=this.stop_widgets;_i<_a.length;_i++){var stop_widget=_a[_i];stop_widget.unmount()}
for(var _b=0,_c=this.widgets;_b<_c.length;_b++){var widget=_c[_b];widget.unmount()}};return Sidebar}());var Sidebars=(function(){function Sidebars(elements,options){var _this=this;this.data=[];this.render=function(){for(var _i=0,_a=_this.data;_i<_a.length;_i++){var sidebar=_a[_i];sidebar.render()}};this.data=Array.from(new Set(elements.map(function(widget){return widget.parentElement}))).filter(function(sidebar_el){return sidebar_el!==null}).map(function(sidebar_el){return new Sidebar(sidebar_el,{margin_bottom:options.margin_bottom,margin_top:options.margin_top},options.use_sticky_position)})}
Sidebars.prototype.mount=function(){this.data.forEach(function(sidebar){sidebar.mount()});this.set_max_offset()};Sidebars.prototype.unmonut=function(){this.data.forEach(function(sidebar){sidebar.unmount()})};Sidebars.prototype.set_max_offset=function(){var general_stop_widgets=this.getGeneralStopElements();for(var _i=0,_a=this.data;_i<_a.length;_i++){var sidebar=_a[_i];sidebar.set_max_offset(general_stop_widgets)}};Sidebars.prototype.getGeneralStopElements=function(){return this.data.filter(function(sidebar){return sidebar.isSticky?sidebar.widgets.length===0:!0}).map(function(sidebar){return sidebar.stop_widgets}).reduce(function(all,widgets){return all.concat(widgets)},[])};Sidebars.new=function(options){var fixedWidgetsContainers=Array.from(new Set(BaseWidget.queryAllWidgetsContainers(FixedWidgetClassName).concat(queryElements(compatabilty_FW_v5(options.widgets)))));var stopWidgetsSelectors=compatabilty_FW_v5(splitSelectors(options.stop_elements_selectors||options.stop_id));var stopWidgetsContainers=Array.from(new Set(BaseWidget.queryAllWidgetsContainers(StopWidgetClassName).concat(queryElements(stopWidgetsSelectors))));var _a=findIntersections(fixedWidgetsContainers,stopWidgetsContainers),stopWidgetsUniqContainers=_a[0],duplicates=_a[1];duplicates.forEach(function(w){console.error("The Widget is detected as fixed block and stop block!\n".concat(w.innerHTML))});fixedWidgetsContainers.forEach(function(c){c.classList.add(FixedWidgetClassName)});stopWidgetsUniqContainers.forEach(function(c){c.classList.add(StopWidgetClassName)});var widgetContainers=fixedWidgetsContainers.concat(stopWidgetsUniqContainers).filter(function(container){var hasNestedWidget=container.innerHTML.includes(FixedWidgetClassName)||container.innerHTML.includes(StopWidgetClassName);hasNestedWidget&&console.warn('Fixed Widget: Detected nested widget in ',container);return!hasNestedWidget});return new Sidebars(widgetContainers,options)};return Sidebars}());var Plugin=(function(){function Plugin(options,version){if(options===void 0){options=[]}
Plugin.version=version;if(Plugin.sidebars){Plugin.sidebars.render();return}
Plugin.sidebars=Sidebars.new(options.reduce(function(prev,cur){return(__assign(__assign(__assign({},prev),cur),{stop_elements_selectors:"".concat(prev.stop_elements_selectors,"\n").concat(cur.stop_elements_selectors),widgets:(prev.widgets||[]).concat(cur.widgets||[])}))}));document.addEventListener('scroll',Plugin.sidebars.render);window.addEventListener('resize',function(){Plugin.sidebars.unmonut();setTimeout(function(){Plugin.sidebars.mount();Plugin.sidebars.render()})});Plugin.sidebars.mount()}
return Plugin}());document.addEventListener("DOMContentLoaded",onDocumentLoaded);document.readyState==="complete"&&onDocumentLoaded();function onDocumentLoaded(){var admin_panel=document.querySelector('#wpadminbar');var user_options=window.q2w3_sidebar_options||[{}];var options=user_options.map(function(option){option.margin_top=(option.margin_top||0)+(admin_panel&&admin_panel.clientHeight||0);return option});if(options.some(function(option){return option.screen_max_width&&document.body.clientWidth<option.screen_max_width||option.screen_max_height&&document.body.clientHeight<option.screen_max_height})){return}
new Plugin(options,'6.0.7-17')}
;var asona_vars={"rest_url":"https:\/\/xgp.pl\/wp-json\/","ajax_url":"\/?apalodi-ajax=%%action%%","is_lazy_load":"","is_posts_masonry":"","posts_columns":{"0":1,"600":2}}
;(function($){'use strict';const root=document.querySelector(":root");root.style.setProperty('--vH',window.innerHeight+"px");function openScroll(){root.style.setProperty('--vH',window.innerHeight+"px");if(window.hdrbnr_type!='sticky'&&window.scrollY<(document.querySelector("#hdrbnr")?document.querySelector("#hdrbnr").getBoundingClientRect().height:0)){document.querySelector("#masthead").style.position='fixed'}
if(window.hdrbnr_type!='sticky'&&document.querySelector("#hdrbnr")!=undefined){}
calculateNavPosition();window.prevPosY=window.scrollY;let Y=window.scrollY;let y2=window.scrollY+window.innerHeight;let x=document.querySelector("#masthead").getBoundingClientRect().height+"px";if(window.hdrbnr_type=='sticky'||window.hdrbnr_type==undefined){document.querySelector('#masthead').style.cssText='position:fixed;';document.body.style.cssText='padding-top:'+x}else{if(Y>(document.querySelector("#hdrbnr")?document.querySelector("#hdrbnr").getBoundingClientRect().height:0)){document.querySelector('#masthead').style.cssText='position:fixed;top:'+(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+'px;';document.body.style.cssText='padding-top:'+document.querySelector('#masthead').getBoundingClientRect().height+"px"}else{}}}
function closeScroll(){document.querySelector('#masthead').style.cssText='';document.body.style.cssText='';if(document.querySelector("#hdrbnr")){document.querySelector("#hdrbnr").style.height=''}
if(window.hdrbnr_type!='sticky'&&window.hdrbnr_type!=undefined){document.querySelector("#masthead").style.position='sticky'}
setTimeout(function(){document.body.classList.remove('is-scroll-disabled');document.body.classList.remove('is-hdrbnr')},400)}
function calculateNavPosition(){let t=0;let x=Number(jQuery(".site-navigation").css('top','').css('top').replace("px",""));if(jQuery('.site-navigation').css('position')=='fixed'&&x>0){if(window.hdrbnr_type=='sticky'){t=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+document.querySelector("#masthead").getBoundingClientRect().height;let pos=document.querySelector("#masthead").getBoundingClientRect();t=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+pos.height}else{let pos=document.querySelector("#masthead").getBoundingClientRect();t=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+pos.height}
if(jQuery('.youAreReading').css('position')=="absolute"){console.log("USTAWIAM T Z ",t,t+(document.querySelector(".youAreReading")?document.querySelector(".youAreReading").getBoundingClientRect().height+1:0));t=t-1}else{t=t-(document.querySelector(".youAreReading")?document.querySelector(".youAreReading").getBoundingClientRect().height+1:0)}}else{t=0}
t+="px";document.querySelector('.site-navigation').style.top=t;if(jQuery('.site-navigation').css('position')=='fixed'&&x>0){document.querySelector('.site-navigation').style.height="calc(var(--vH) - "+t+")";document.querySelector('.main-navigation .menu').style.height="calc(var(--vH) - "+t+")"}else{document.querySelector('.site-navigation').style.height="";document.querySelector('.main-navigation .menu').style.height=""}}
function canScroll(){}
function calculateSearchPosition(){let t=0;if(window.hdrbnr_type=='sticky'){t=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+document.querySelector("#masthead").getBoundingClientRect().height;let pos=document.querySelector("#masthead").getBoundingClientRect();t=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+pos.height}else{let pos=document.querySelector("#masthead").getBoundingClientRect();t=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+pos.height}
if((document.querySelector(".youAreReading")&&(document.querySelector('html').classList.contains('isSafari')||document.querySelector('html').classList.contains('isMacOs')||document.querySelector('html').classList.contains('isIOS')||document.querySelector('html').classList.contains('isFB')))){t=t-1}else{t=t-(document.querySelector(".youAreReading")?document.querySelector(".youAreReading").getBoundingClientRect().height+1:0)}
t+="px";document.querySelector('.site-search').style.top=t;if(window.scrollY<=(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)){document.querySelector("#masthead").style.top=""}
return}
let portrait=window.matchMedia("(orientation: portrait)");portrait.addEventListener("change",function(e){if(e.matches){}else{}
if(window.scrollY<(document.querySelector("#hdrbnr")?document.querySelector("#hdrbnr").getBoundingClientRect().height:0)){}
let initPos=window.hdrbnr_type=='sticky'||window.hdrbnr_type==undefined?0:(document.querySelector("#hdrbnr")?document.querySelector("#hdrbnr").getBoundingClientRect().top+document.querySelector("#hdrbnr").getBoundingClientRect().height:0)})
window.addEventListener("deviceorientation",function(){});window.addEventListener('resize',function(){root.style.setProperty('--vH',window.innerHeight+"px");if(window.innerWidth>979){document.querySelector('.site-navigation').style.height="";document.querySelector('.site-navigation').style.top="";document.querySelector('.main-navigation .menu').style.height="";if(!jQuery("#masthead").hasClass("is-search-active")){jQuery('html').removeClass('is-hdrbnr');jQuery('html').removeClass('is-scroll-disabled')}
jQuery('.is-menu-ready').removeClass('is-menu-ready');jQuery('.is-menu-active').removeClass('is-menu-active');jQuery('.menu-trigger').removeClass('is-active');setTimeout(function(){document.querySelector('.site-navigation').style.height="";document.querySelector('.site-navigation').style.top="";document.querySelector('.main-navigation .menu').style.height="";jQuery('.is-menu-ready').removeClass('is-menu-ready');jQuery('.is-menu-active').removeClass('is-menu-active');jQuery('.menu-trigger').removeClass('is-active')},200)
if(window.scrollY<=(document.querySelector("#hdrbnr")?document.querySelector("#hdrbnr").getBoundingClientRect().height:0)){document.querySelector('#masthead').style.cssText='';document.body.style.cssText=''}else{}}else{if(jQuery("#masthead").hasClass("is-search-active")){document.querySelector('#masthead').style.cssText='position:fixed;top:'+(document.querySelector("#wpadminbar")?document.querySelector("#wpadminbar").getBoundingClientRect().height:0)+'px;';document.body.style.cssText='padding-top:'+document.querySelector('#masthead').getBoundingClientRect().height+"px"}
if(!jQuery("#masthead").hasClass("is-menu-active")){document.querySelector('#masthead').style.cssText='';document.body.style.cssText=''}
calculateNavPosition()}
let initPos=window.hdrbnr_type=='sticky'||window.hdrbnr_type==undefined?0:(document.querySelector("#hdrbnr")?document.querySelector("#hdrbnr").getBoundingClientRect().top+document.querySelector("#hdrbnr").getBoundingClientRect().height:0)
calculateSearchPosition()});let ticking=!1;window.addEventListener('scroll',function(){let initPos=0;if(window.hdrbnr_type=='sticky'||window.hdrbnr_type==undefined){initPos=0}else{if(document.querySelector("#hdrbnr")){initPos+=document.querySelector("#hdrbnr").getBoundingClientRect().top+window.scrollY+document.querySelector("#hdrbnr").getBoundingClientRect().height}else{initPos=0}}
let X=document.querySelector("#masthead").getBoundingClientRect().height-window.scrollY;if(window.scrollY>initPos){let t=document.querySelector("#masthead").getBoundingClientRect().height}else{document.querySelector("#page").style.cssText="";document.querySelector("#masthead").style.cssText='';document.querySelector("body").style.cssText=''}});calculateNavPosition();calculateSearchPosition();var keys={37:1,38:1,39:1,40:1};function preventDefault(e){e.preventDefault()}
function preventDefaultForScrollKeys(e){if(keys[e.keyCode]){preventDefault(e);return!1}}
var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},'passive',{get:function(){supportsPassive=!0}}))}catch(e){}
var wheelOpt=supportsPassive?{passive:!1}:!1;var wheelEvent='onwheel' in document.createElement('div')?'wheel':'mousewheel';function disableScroll(){return;window.addEventListener('DOMMouseScroll',preventDefault,!1);window.addEventListener(wheelEvent,preventDefault,wheelOpt);window.addEventListener('touchmove',preventDefault,wheelOpt);window.addEventListener('keydown',preventDefaultForScrollKeys,!1)}
function enableScroll(){window.removeEventListener('DOMMouseScroll',preventDefault,!1);window.removeEventListener(wheelEvent,preventDefault,wheelOpt);window.removeEventListener('touchmove',preventDefault,wheelOpt);window.removeEventListener('keydown',preventDefaultForScrollKeys,!1)}
var $window=$(window),window_width=Math.max(document.documentElement.clientWidth,window.innerWidth||0),scrollTop=window.pageYOffset||document.documentElement.scrollTop,tempScrollTop=scrollTop,masonry_posts=[],highlight_posts=[],lazy_elements=[],infinite_scroll_elements=[],is_dark_highlight=$('body').hasClass('site-header-dark'),position_switch_dark=0,is_loading_more_posts=!1,rAF=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){return window.setTimeout(callback,1000/60)},user_agent=navigator.userAgent||navigator.vendor||window.opera,is_mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(user_agent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(user_agent.substr(0,4)),is_object_fit_supported=('objectFit' in document.documentElement.style),is_ie=/Trident\/|MSIE /.test(user_agent),on_resize=function(callback,timeout){onresize=function(){clearTimeout(timeout);timeout=setTimeout(callback,10)};return callback};if(is_mobile){$('html').addClass('is-mobile')}
if(is_ie){$('html').addClass('is-ie')}
$('html').addClass('is-using-mouse');$(document).on('click',function(){$('html').addClass('is-using-mouse')});$(document).on('keydown',function(){$('html').removeClass('is-using-mouse')});setTimeout(function(){$('html').addClass('is-animation-ready')},300);var $adebouncedresize=$.event.special.adebouncedresize={timeout:null,setup:function(){$(this).on('resize',$adebouncedresize.handler)},teardown:function(){$(this).off('resize',$adebouncedresize.handler)},handler:function(event,execAsap){var context=this,args=arguments,dispatch=function(){event.type='adebouncedresize';$.event.dispatch.apply(context,args)};if($adebouncedresize.timeout){clearTimeout($adebouncedresize.timeout)}
execAsap?dispatch():$adebouncedresize.timeout=setTimeout(dispatch,50)},};function resize_window(){var temp_width=Math.max(document.documentElement.clientWidth,window.innerWidth||0);is_mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(user_agent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(user_agent.substr(0,4));if(is_mobile&&window_width==temp_width){}else{window_width=Math.max(document.documentElement.clientWidth,window.innerWidth||0);update_masonry();init_highlight_dark();init_highlight_modern();init_lazy_load_media();init_infinite_scroll()}}
function image_vw(){$('.window-width, .img-vw').remove();$('body').append('<span class="window-width">'+window_width.toFixed(0)+'</span>');$('.post-media').each(function(index,element){var $el=$(element);var width=$el.find('.image-wrapper').outerWidth(!0);var vw=width/window_width*100;$el.find('.image-wrapper').append('<span class="img-vw">'+width.toFixed(0)+' - '+vw.toFixed(2)+'</span>')})}
$window.on('adebouncedresize orientationchange',function(){rAF(resize_window)});$(window).on('scroll',function(){scrollTop=scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(scrollTop>5){$('#masthead').addClass('is-sticky')}else{$('#masthead').removeClass('is-sticky')}
if(is_dark_highlight){if(scrollTop>position_switch_dark){$('body').removeClass('site-header-dark')}else{$('body').addClass('site-header-dark')}}
tempScrollTop=scrollTop});$(document).on('click','.menu-trigger',function(event){event.preventDefault();if($(this).hasClass('no-click')){return!1}
var $this=$(this),$html=$('html'),$header=$('.site-header'),$search_trigger=$('.search-trigger');calculateNavPosition();let elem=$(this);elem.addClass('no-click');setTimeout(function(){elem.removeClass('no-click')},300);if($this.hasClass('is-active')){$this.removeClass('is-active');$header.removeClass('is-menu-ready');if(window.hdrbnr_type!='sticky'){$html.removeClass('is-hdrbnr');$html.removeClass('is-scroll-disabled')}else{$html.removeClass('is-scroll-disabled');$html.removeClass('is-hdrbnr')}
closeScroll();setTimeout(function(){$header.removeClass('is-menu-active')},300)}else{if(window.hdrbnr_type!='sticky'){$html.addClass('is-hdrbnr')}else{$html.addClass('is-scroll-disabled')}
$this.addClass('is-active');$header.addClass('is-menu-active is-menu-ready').removeClass('is-search-active is-search-ready');$search_trigger.removeClass('is-active');openScroll()}});$(document).on('click','.search-trigger',function(event){event.preventDefault();if($(this).hasClass('no-click')){return!1}
calculateSearchPosition();$(this).addClass('no-click');let elem=$(this);setTimeout(function(){elem.removeClass('no-click')},300);var $this=$(this),$html=$('html'),$header=$('.site-header'),$menu_trigger=$('.menu-trigger');if($this.hasClass('is-active')){$header.removeClass('is-search-ready');$html.removeClass('is-scroll-disabled');$html.removeClass('is-hdrbnr');setTimeout(function(){$this.removeClass('is-active');$header.removeClass('is-search-active');closeScroll()},50)}else{openScroll();$html.addClass('is-scroll-disabled');$html.addClass('is-hdrbnr');$this.addClass('is-active');$header.addClass('is-search-active').removeClass('is-menu-ready');$menu_trigger.removeClass('is-active');setTimeout(function(){$header.addClass('is-search-ready').removeClass('is-menu-active');$('.site-search .search-form .search-field').focus()},250)}});$(document).on('click','.site-navigation li.menu-item-has-children > a',function(event){if(window_width<980){event.preventDefault();canScroll();var $this=$(this),$list=$this.closest('li'),$dropdown=$list.find('ul:first'),$parentUl=$list.closest('ul'),subLevel=$list.parents('ul').length,dropHeight=$dropdown.prop('scrollHeight'),parentUlHeight=$parentUl.prop('scrollHeight');if($list.hasClass('is-active')){if(1<subLevel){$parentUl.get(0).style.setProperty('--maxHeight',parentUlHeight-dropHeight+'px')}
$list.removeClass('is-active');$dropdown.get(0).style.setProperty('--maxHeight','0px')}else{if(1<subLevel){$parentUl.get(0).style.setProperty('--maxHeight',parentUlHeight+dropHeight+'px')}
$list.addClass('is-active');$dropdown.get(0).style.setProperty('--maxHeight',dropHeight+'px')}}});$(document).on('click','.site-actions-backdrop',function(event){event.preventDefault();var $header=$('.site-header'),$html=$('html'),$menu_trigger=$('.menu-trigger'),$search_trigger=$('.search-trigger');$html.removeClass('is-hdrbnr');$html.removeClass('is-scroll-disabled');$header.removeClass('is-search-ready is-menu-ready');enableScroll();closeScroll();setTimeout(function(){$header.removeClass('is-menu-active is-search-active');$menu_trigger.removeClass('is-active');$search_trigger.removeClass('is-active')},50)});$(document).on('click','.featured-tab',function(event){event.preventDefault();var $this=$(this),$tabs=$('.featured-tab'),$panel=$($this.data('id')),$panels=$('.featured-panel');if(!$this.hasClass('is-active')){$tabs.removeClass('is-active');$this.addClass('is-active');$panels.removeClass('is-visible').addClass('is-animating-out');$panel.removeClass('is-animating-out');setTimeout(function(){$panels.removeClass('is-active is-animating-out');$panel.addClass('is-active');setTimeout(function(){$panel.addClass('is-visible')},50)},200);init_lazy_load_media()}});function waitForImages(element,callback){var matchUrl=/url\(\s*(['"]?)(.*?)\1\s*\)/g;var image=!1;if(element.hasAttribute('srcset')){image={src:element.getAttribute('src'),srcset:element.getAttribute('srcset'),sizes:element.getAttribute('sizes'),}}else if(element.hasAttribute('src')){image={src:element.getAttribute('src'),}}else if(''!==element.style.backgroundImage){var match=matchUrl.exec(element.style.backgroundImage);if(match){image={src:match[2],}}}
if(image){var img=new Image();img.onload=function(){callback(element)}
if(image.srcset){img.sizes=image.sizes;img.srcset=image.srcset}
img.src=image.src}}
function fix_ie_image_object_fit(){if(!is_object_fit_supported){$('.wp-block-gallery.is-cropped').each(function(){var $imgs=$(this).find('img');$imgs.each(function(){var $img=$(this);$img.parents('figure').addClass('is-js-cropped').css('background-image','url('+$img.attr('src')+')')})})}}
if('1'!==asona_vars.is_lazy_load){fix_ie_image_object_fit()}
function init_highlight_dark(){scrollTop=window.pageYOffset||document.documentElement.scrollTop;var section_highlight=document.querySelector('.section-highlight');var single_header_modern=document.querySelector('.single-posts-type-modern .entry-header');var single_header_classic=document.querySelector('.single-posts-type-classic .entry-thumbnail');position_switch_dark=0;if(section_highlight){var rect=section_highlight.getBoundingClientRect();position_switch_dark=scrollTop+rect.bottom-64}
if(single_header_modern){var rect=single_header_modern.getBoundingClientRect();position_switch_dark=scrollTop+rect.bottom-64}
if(single_header_classic){var rect=single_header_classic.getBoundingClientRect();position_switch_dark=scrollTop+rect.bottom-(rect.height/2)-64}}
init_highlight_dark();function init_highlight_modern(){scrollTop=window.pageYOffset||document.documentElement.scrollTop;var posts=document.querySelectorAll('.posts-modern-highlight .post');highlight_posts=[];for(var i=0;i<posts.length;i++){var rect=posts[i].getBoundingClientRect(),content=posts[i].querySelector('.post-content').getBoundingClientRect(),anime={'startFadeIn':rect.top+scrollTop-(window.innerHeight*0.85),'stopFadeIn':rect.top+scrollTop-(window.innerHeight*0.4),'startFadeOut':content.top+scrollTop-64,'stopFadeOut':rect.height+rect.top+scrollTop-(rect.height/8),'startTranslate':rect.top+scrollTop+(rect.height/8),'stopTranslate':rect.top+scrollTop+(rect.height*3),};highlight_posts.push({'element':posts[i],'anime':anime,'height':rect.height,})}}
init_highlight_modern();function min_max(value,min,max){return Math.min(max,Math.max(value,min)).toFixed(2)}
function highlight_posts_animations(){scrollTop=window.pageYOffset||document.documentElement.scrollTop;for(var i=0;i<highlight_posts.length;i++){var post=highlight_posts[i];if(post.anime.startFadeOut<=scrollTop&&post.anime.stopFadeOut>=scrollTop){var fadeOutPercentage=1-((scrollTop-post.anime.startFadeOut)/(post.anime.stopFadeOut-post.anime.startFadeOut));post.element.style.opacity=min_max(fadeOutPercentage,0.1,1)}
if(post.anime.startFadeOut>=scrollTop&&post.anime.startFadeIn<=scrollTop){post.element.style.opacity=1}
if(post.anime.stopFadeOut<scrollTop||post.anime.startFadeIn>scrollTop){post.element.style.opacity=0.1}
if(post.anime.startFadeIn<=scrollTop&&post.anime.stopFadeIn>=scrollTop){var fadeInPercentage=((scrollTop-post.anime.startFadeIn)/(post.anime.stopFadeIn-post.anime.startFadeIn));post.element.style.opacity=min_max(fadeInPercentage,0.1,1)}
if(post.anime.startTranslate<=scrollTop&&post.anime.stopTranslate>=scrollTop&&!is_mobile){var percentage=((scrollTop-post.anime.startTranslate)/(post.anime.stopTranslate-post.anime.startTranslate));var translateY=Math.round(percentage*post.height);post.element.style.transform='translate3d(0,'+translateY+'px,0)'}
if(post.anime.startTranslate>scrollTop){post.element.style.transform='translate3d(0,0,0)'}}}
function inifinity_highlight_loop(){rAF(inifinity_highlight_loop);highlight_posts_animations()}
rAF(inifinity_highlight_loop);function init_lazy_load_media(){scrollTop=window.pageYOffset||document.documentElement.scrollTop;var lazys=document.querySelectorAll('.lazy-load-img:not(.is-loaded), .lazy-load-bg-img:not(.is-loaded), .lazy-load-iframe .iframe-placeholder:not(.is-loaded)'),windowHeight=window.innerHeight,belowFold=windowHeight*0.2,offset=windowHeight+belowFold;lazy_elements=[];for(var i=0;i<lazys.length;i++){var rect=lazys[i].getBoundingClientRect(),imgOffset=rect.top+scrollTop-offset,imgOffset=Math.max(0,imgOffset);lazy_elements.push({'offset':imgOffset.toFixed(),'element':lazys[i],'type':lazys[i].tagName})}}
setTimeout(function(){init_lazy_load_media()},50);function lazy_load_media(){for(var i=0;i<lazy_elements.length;i++){var lazy=lazy_elements[i];if(lazy.offset<=scrollTop){if('IMG'===lazy.type){var image=lazy.element,src=image.getAttribute('data-src');image.classList.add('is-loaded');if(image.hasAttribute('data-srcset')){var sizes=image.getAttribute('data-sizes'),srcset=image.getAttribute('data-srcset');image.setAttribute('sizes',sizes);image.setAttribute('srcset',srcset)}
image.setAttribute('src',src);lazy_elements.splice(i,1);waitForImages(image,function(element){element.classList.add('is-ready');if(!is_object_fit_supported){var $el=$(element),el_src=element.getAttribute('src'),$gallery_cropped=$el.parents('.wp-block-gallery.is-cropped');if($gallery_cropped.length){$el.parents('figure').addClass('is-js-cropped').css('background-image','url('+el_src+')')}}})}else if('I'===lazy.type){var placeholder=lazy.element,wrapper=placeholder.parentNode,src=placeholder.getAttribute('data-src'),iframe=document.createElement('iframe');wrapper.insertBefore(iframe,placeholder);wrapper.removeChild(placeholder);iframe.classList.add('is-loaded');iframe.setAttribute('src',src);iframe.setAttribute('allowfullscreen','');lazy_elements.splice(i,1)}else{var image=lazy.element,src=image.getAttribute('data-src');image.classList.add('is-loaded');image.style.backgroundImage='url('+src+')';waitForImages(image,function(element){element.classList.add('is-ready')});lazy_elements.splice(i,1)}}}}
function init_photoswipe(selector,type){$(selector).on('click','a',function(event){var $this=$(this),link_url=$this.attr('href');if(/\.(?:jpg|jpeg|gif|png)$/i.test(link_url)){event.preventDefault();if('gallery'===type){var $gallery=$this.parents(selector),$figures=$gallery.find('figure'),$list=$this.parents('li'),$figure=$this.parents('figure'),index=$list.length?$list.index():$figure.index(),items=get_items($figures);open_photoswipe(index,items)}else{var $gallery=$this.parents('.wp-block-gallery'),$figures=$this.parents('figure'),items=get_items($figures);if(!$gallery.length){open_photoswipe(0,items)}}}});var open_photoswipe=function(index,items){var pswp=$('.pswp')[0];var options={index:parseInt(index,10),shareEl:!1,fullscreenEl:!1,bgOpacity:0.95,showHideOpacity:!0,history:!1,loadingIndicatorDelay:10,timeToIdle:0,timeToIdleOutside:0,clickToCloseNonZoomable:!0,getThumbBoundsFn:function(index){var img=items[index].el[0].getElementsByTagName('img')[0],pageYScroll=$(window).scrollTop(),rect=img.getBoundingClientRect();return{x:rect.left,y:rect.top+pageYScroll,w:rect.width}}};if(isNaN(options.index)){return}
var ps=new PhotoSwipe(pswp,PhotoSwipeUI_Default,items,options);ps.listen('initialZoomIn',()=>{document.body.classList.add('hasPswn')});ps.listen('destroy',()=>{document.body.classList.remove('hasPswn')});ps.init()}
var get_items=function(figures){var items=[];figures.each(function(index,element){var $figure=$(element),$link=$figure.find('a:first-child'),$img=$figure.find('img'),$caption=$figure.find('figcaption'),size=$img.attr('data-full-size').split('x'),src=$img.data('full')?$img.data('full'):$link.attr('href');var item={el:$figure,src:src,msrc:$img.attr('src'),srcset:$img.attr('srcset'),w:parseInt(size[0],10),h:parseInt(size[1],10),};if($caption.length){item.title=$caption.html()}
items.push(item)});return items}}
init_photoswipe('.wp-block-image','single');init_photoswipe('.wp-block-gallery','gallery');function init_masonry_posts(){var $container=$('.is-posts-masonry .posts-block-main .row');masonry_posts=$container.find('.post');update_masonry();$container.addClass('is-ready')}
init_masonry_posts();function get_masonry_columns(){var columns='';$.each(asona_vars.posts_columns,function(width,col){if(width<=window_width){columns=parseInt(col)}else if(''==columns){columns=1}});return columns}
function update_masonry(){var $container=$('.is-posts-masonry .posts-block-main .row'),columns=get_masonry_columns();$container.empty();for(var i=0;i<columns;i++){$container.append($('<div class="post-column column"></div>'))}
add_masonry_posts($container,masonry_posts)}
function add_masonry_posts($container,$posts){var columns=get_masonry_columns(),columns_height=[];for(var i=0;i<$posts.length;i++){for(var j=0;j<columns;j++){columns_height[j]=$container.find('.post-column:eq( '+j+' )').outerHeight()}
var min_height=columns_height.reduce(function(min,height){return height<min-100?height:min});var column=columns_height.indexOf(min_height);$container.find('.post-column:eq( '+column+' )').append($($posts[i]))}}
function ajax_load_more_posts(element,is_infinite_scroll){var $loader=$(element),$nav=$loader.parent(),$container=$loader.closest('.posts-block').find('.row'),found_posts=parseInt($loader.data('found-posts'),10),post_count=parseInt($loader.data('post-count'),10),query=$loader.data('query'),options=$loader.data('options'),posts_per_page=parseInt(query.posts_per_page,10),offset=parseInt(query.offset,10);if(post_count>=found_posts){return!1}
if(is_loading_more_posts){return!1}
$loader.addClass('is-ready is-loading');is_loading_more_posts=!0;$.ajax({type:'POST',url:asona_vars.ajax_url.toString().replace('%%action%%','load-more-posts'),data:{query:query,options:options},success:function(response){if(response.status==='success'){var $new_items=$(response.html).filter('.post'),new_post_count=parseInt(response.post_count,10)+post_count,new_offset=offset+posts_per_page;$loader.data('post-count',new_post_count);$loader.data('query',$.extend(query,{offset:new_offset}));$loader.removeClass('is-loading');$container.append($new_items);if(asona_vars.is_posts_masonry){masonry_posts=$.merge($.merge([],masonry_posts),$new_items);add_masonry_posts($container,$new_items)}else{$container.append($new_items)}
setTimeout(function(){$loader.removeClass('is-ready')},300);init_lazy_load_media();if(new_post_count<found_posts){if(is_infinite_scroll){init_infinite_scroll()}}else{$nav.remove()}}else if(response.status==='empty'){$nav.remove()}else if(response.status==='error'){$loader.addClass('is-error').removeClass('is-ready is-loading');$loader.find('.loader-error-text').attr('aria-hidden','false')}
is_loading_more_posts=!1},error:function(){$loader.addClass('is-error').removeClass('is-ready is-loading');$loader.find('.loader-error-text').attr('aria-hidden','false');is_loading_more_posts=!1}})}
function init_infinite_scroll(){scrollTop=window.pageYOffset||document.documentElement.scrollTop;var iscrolls=document.querySelectorAll('.pagination-infinite-scroll'),windowHeight=window.innerHeight,belowFold=windowHeight*0.35,offset=windowHeight+belowFold;infinite_scroll_elements=[];for(var i=0;i<iscrolls.length;i++){var rect=iscrolls[i].getBoundingClientRect(),offset=rect.top+scrollTop-offset,offset=Math.max(0,offset);infinite_scroll_elements.push({'offset':offset.toFixed(),'element':iscrolls[i],})}}
init_infinite_scroll();function infinite_scroll(){for(var i=0;i<infinite_scroll_elements.length;i++){var iscroll=infinite_scroll_elements[i];if(iscroll.offset<=scrollTop){ajax_load_more_posts(iscroll.element,!0);infinite_scroll_elements.splice(i,1)}}}
$('.pagination-load-more').on('click',function(event){event.preventDefault();ajax_load_more_posts(this,!1)});var inifinity_loop_timeout;function inifinity_loop(){scrollTop=window.pageYOffset||document.documentElement.scrollTop;lazy_load_media();infinite_scroll();clearTimeout(inifinity_loop_timeout);inifinity_loop_timeout=setTimeout(function(){rAF(inifinity_loop)},400)}
rAF(inifinity_loop);window.addEventListener('load',function(){init_highlight_dark();init_highlight_modern();init_lazy_load_media();init_infinite_scroll()});$(document.body).on('ap_popular_posts_fragments_refreshed',function(){init_lazy_load_media()})})(jQuery)
;let abort_controller=new AbortController()
;!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.PhotoSwipe=b()}(this,function(){"use strict";var a=function(a,b,c,d){var e={features:null,bind:function(a,b,c,d){var e=(d?"remove":"add")+"EventListener";b=b.split(" ");for(var f=0;f<b.length;f++)b[f]&&a[e](b[f],c,!1)},isArray:function(a){return a instanceof Array},createEl:function(a,b){var c=document.createElement(b||"div");return a&&(c.className=a),c},getScrollY:function(){var a=window.pageYOffset;return void 0!==a?a:document.documentElement.scrollTop},unbind:function(a,b,c){e.bind(a,b,c,!0)},removeClass:function(a,b){var c=new RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(a,b){e.hasClass(a,b)||(a.className+=(a.className?" ":"")+b)},hasClass:function(a,b){return a.className&&new RegExp("(^|\\s)"+b+"(\\s|$)").test(a.className)},getChildByClass:function(a,b){for(var c=a.firstChild;c;){if(e.hasClass(c,b))return c;c=c.nextSibling}},arraySearch:function(a,b,c){for(var d=a.length;d--;)if(a[d][c]===b)return d;return-1},extend:function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){if(c&&a.hasOwnProperty(d))continue;a[d]=b[d]}},easing:{sine:{out:function(a){return Math.sin(a*(Math.PI/2))},inOut:function(a){return-(Math.cos(Math.PI*a)-1)/2}},cubic:{out:function(a){return--a*a*a+1}}},detectFeatures:function(){if(e.features)return e.features;var a=e.createEl(),b=a.style,c="",d={};if(d.oldIE=document.all&&!document.addEventListener,d.touch="ontouchstart"in window,window.requestAnimationFrame&&(d.raf=window.requestAnimationFrame,d.caf=window.cancelAnimationFrame),d.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!d.pointerEvent){var f=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var g=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);g&&g.length>0&&(g=parseInt(g[1],10),g>=1&&g<8&&(d.isOldIOSPhone=!0))}var h=f.match(/Android\s([0-9\.]*)/),i=h?h[1]:0;i=parseFloat(i),i>=1&&(i<4.4&&(d.isOldAndroid=!0),d.androidVersion=i),d.isMobileOpera=/opera mini|opera mobi/i.test(f)}for(var j,k,l=["transform","perspective","animationName"],m=["","webkit","Moz","ms","O"],n=0;n<4;n++){c=m[n];for(var o=0;o<3;o++)j=l[o],k=c+(c?j.charAt(0).toUpperCase()+j.slice(1):j),!d[j]&&k in b&&(d[j]=k);c&&!d.raf&&(c=c.toLowerCase(),d.raf=window[c+"RequestAnimationFrame"],d.raf&&(d.caf=window[c+"CancelAnimationFrame"]||window[c+"CancelRequestAnimationFrame"]))}if(!d.raf){var p=0;d.raf=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-p)),d=window.setTimeout(function(){a(b+c)},c);return p=b+c,d},d.caf=function(a){clearTimeout(a)}}return d.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,e.features=d,d}};e.detectFeatures(),e.features.oldIE&&(e.bind=function(a,b,c,d){b=b.split(" ");for(var e,f=(d?"detach":"attach")+"Event",g=function(){c.handleEvent.call(c)},h=0;h<b.length;h++)if(e=b[h])if("object"==typeof c&&c.handleEvent){if(d){if(!c["oldIE"+e])return!1}else c["oldIE"+e]=g;a[f]("on"+e,c["oldIE"+e])}else a[f]("on"+e,c)});var f=this,g=25,h=3,i={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(a){return"A"===a.tagName},getDoubleTapZoom:function(a,b){return a?1:b.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};e.extend(i,d);var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma=function(){return{x:0,y:0}},na=ma(),oa=ma(),pa=ma(),qa={},ra=0,sa={},ta=ma(),ua=0,va=!0,wa=[],xa={},ya=!1,za=function(a,b){e.extend(f,b.publicMethods),wa.push(a)},Aa=function(a){var b=ac();return a>b-1?a-b:a<0?b+a:a},Ba={},Ca=function(a,b){return Ba[a]||(Ba[a]=[]),Ba[a].push(b)},Da=function(a){var b=Ba[a];if(b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;d<b.length;d++)b[d].apply(f,c)}},Ea=function(){return(new Date).getTime()},Fa=function(a){ja=a,f.bg.style.opacity=a*i.bgOpacity},Ga=function(a,b,c,d,e){(!ya||e&&e!==f.currItem)&&(d/=e?e.fitRatio:f.currItem.fitRatio),a[E]=u+b+"px, "+c+"px"+v+" scale("+d+")"},Ha=function(a){ea&&(a&&(s>f.currItem.fitRatio?ya||(mc(f.currItem,!1,!0),ya=!0):ya&&(mc(f.currItem),ya=!1)),Ga(ea,pa.x,pa.y,s))},Ia=function(a){a.container&&Ga(a.container.style,a.initialPosition.x,a.initialPosition.y,a.initialZoomLevel,a)},Ja=function(a,b){b[E]=u+a+"px, 0px"+v},Ka=function(a,b){if(!i.loop&&b){var c=m+(ta.x*ra-a)/ta.x,d=Math.round(a-tb.x);(c<0&&d>0||c>=ac()-1&&d<0)&&(a=tb.x+d*i.mainScrollEndFriction)}tb.x=a,Ja(a,n)},La=function(a,b){var c=ub[a]-sa[a];return oa[a]+na[a]+c-c*(b/t)},Ma=function(a,b){a.x=b.x,a.y=b.y,b.id&&(a.id=b.id)},Na=function(a){a.x=Math.round(a.x),a.y=Math.round(a.y)},Oa=null,Pa=function(){Oa&&(e.unbind(document,"mousemove",Pa),e.addClass(a,"pswp--has_mouse"),i.mouseUsed=!0,Da("mouseUsed")),Oa=setTimeout(function(){Oa=null},100)},Qa=function(){e.bind(document,"keydown",f),N.transform&&e.bind(f.scrollWrap,"click",f),i.mouseUsed||e.bind(document,"mousemove",Pa),e.bind(window,"resize scroll orientationchange",f),Da("bindEvents")},Ra=function(){e.unbind(window,"resize scroll orientationchange",f),e.unbind(window,"scroll",r.scroll),e.unbind(document,"keydown",f),e.unbind(document,"mousemove",Pa),N.transform&&e.unbind(f.scrollWrap,"click",f),V&&e.unbind(window,p,f),clearTimeout(O),Da("unbindEvents")},Sa=function(a,b){var c=ic(f.currItem,qa,a);return b&&(da=c),c},Ta=function(a){return a||(a=f.currItem),a.initialZoomLevel},Ua=function(a){return a||(a=f.currItem),a.w>0?i.maxSpreadZoom:1},Va=function(a,b,c,d){return d===f.currItem.initialZoomLevel?(c[a]=f.currItem.initialPosition[a],!0):(c[a]=La(a,d),c[a]>b.min[a]?(c[a]=b.min[a],!0):c[a]<b.max[a]&&(c[a]=b.max[a],!0))},Wa=function(){if(E){var b=N.perspective&&!G;return u="translate"+(b?"3d(":"("),void(v=N.perspective?", 0px)":")")}E="left",e.addClass(a,"pswp--ie"),Ja=function(a,b){b.left=a+"px"},Ia=function(a){var b=a.fitRatio>1?1:a.fitRatio,c=a.container.style,d=b*a.w,e=b*a.h;c.width=d+"px",c.height=e+"px",c.left=a.initialPosition.x+"px",c.top=a.initialPosition.y+"px"},Ha=function(){if(ea){var a=ea,b=f.currItem,c=b.fitRatio>1?1:b.fitRatio,d=c*b.w,e=c*b.h;a.width=d+"px",a.height=e+"px",a.left=pa.x+"px",a.top=pa.y+"px"}}},Xa=function(a){var b="";i.escKey&&27===a.keyCode?b="close":i.arrowKeys&&(37===a.keyCode?b="prev":39===a.keyCode&&(b="next")),b&&(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||(a.preventDefault?a.preventDefault():a.returnValue=!1,f[b]()))},Ya=function(a){a&&(Y||X||fa||T)&&(a.preventDefault(),a.stopPropagation())},Za=function(){f.setScrollOffset(0,e.getScrollY())},$a={},_a=0,ab=function(a){$a[a]&&($a[a].raf&&I($a[a].raf),_a--,delete $a[a])},bb=function(a){$a[a]&&ab(a),$a[a]||(_a++,$a[a]={})},cb=function(){for(var a in $a)$a.hasOwnProperty(a)&&ab(a)},db=function(a,b,c,d,e,f,g){var h,i=Ea();bb(a);var j=function(){if($a[a]){if(h=Ea()-i,h>=d)return ab(a),f(c),void(g&&g());f((c-b)*e(h/d)+b),$a[a].raf=H(j)}};j()},eb={shout:Da,listen:Ca,viewportSize:qa,options:i,isMainScrollAnimating:function(){return fa},getZoomLevel:function(){return s},getCurrentIndex:function(){return m},isDragging:function(){return V},isZooming:function(){return aa},setScrollOffset:function(a,b){sa.x=a,M=sa.y=b,Da("updateScrollOffset",sa)},applyZoomPan:function(a,b,c,d){pa.x=b,pa.y=c,s=a,Ha(d)},init:function(){if(!j&&!k){var c;f.framework=e,f.template=a,f.bg=e.getChildByClass(a,"pswp__bg"),J=a.className,j=!0,N=e.detectFeatures(),H=N.raf,I=N.caf,E=N.transform,L=N.oldIE,f.scrollWrap=e.getChildByClass(a,"pswp__scroll-wrap"),f.container=e.getChildByClass(f.scrollWrap,"pswp__container"),n=f.container.style,f.itemHolders=y=[{el:f.container.children[0],wrap:0,index:-1},{el:f.container.children[1],wrap:0,index:-1},{el:f.container.children[2],wrap:0,index:-1}],y[0].el.style.display=y[2].el.style.display="none",Wa(),r={resize:f.updateSize,orientationchange:function(){clearTimeout(O),O=setTimeout(function(){qa.x!==f.scrollWrap.clientWidth&&f.updateSize()},500)},scroll:Za,keydown:Xa,click:Ya};var d=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!d||(i.showAnimationDuration=i.hideAnimationDuration=0),c=0;c<wa.length;c++)f["init"+wa[c]]();if(b){var g=f.ui=new b(f,e);g.init()}Da("firstUpdate"),m=m||i.index||0,(isNaN(m)||m<0||m>=ac())&&(m=0),f.currItem=_b(m),(N.isOldIOSPhone||N.isOldAndroid)&&(va=!1),a.setAttribute("aria-hidden","false"),i.modal&&(va?a.style.position="fixed":(a.style.position="absolute",a.style.top=e.getScrollY()+"px")),void 0===M&&(Da("initialLayout"),M=K=e.getScrollY());var l="pswp--open ";for(i.mainClass&&(l+=i.mainClass+" "),i.showHideOpacity&&(l+="pswp--animate_opacity "),l+=G?"pswp--touch":"pswp--notouch",l+=N.animationName?" pswp--css_animation":"",l+=N.svg?" pswp--svg":"",e.addClass(a,l),f.updateSize(),o=-1,ua=null,c=0;c<h;c++)Ja((c+o)*ta.x,y[c].el.style);L||e.bind(f.scrollWrap,q,f),Ca("initialZoomInEnd",function(){f.setContent(y[0],m-1),f.setContent(y[2],m+1),y[0].el.style.display=y[2].el.style.display="block",i.focus&&a.focus(),Qa()}),f.setContent(y[1],m),f.updateCurrItem(),Da("afterInit"),va||(w=setInterval(function(){_a||V||aa||s!==f.currItem.initialZoomLevel||f.updateSize()},1e3)),e.addClass(a,"pswp--visible")}},close:function(){j&&(j=!1,k=!0,Da("close"),Ra(),cc(f.currItem,null,!0,f.destroy))},destroy:function(){Da("destroy"),Xb&&clearTimeout(Xb),a.setAttribute("aria-hidden","true"),a.className=J,w&&clearInterval(w),e.unbind(f.scrollWrap,q,f),e.unbind(window,"scroll",f),zb(),cb(),Ba=null},panTo:function(a,b,c){c||(a>da.min.x?a=da.min.x:a<da.max.x&&(a=da.max.x),b>da.min.y?b=da.min.y:b<da.max.y&&(b=da.max.y)),pa.x=a,pa.y=b,Ha()},handleEvent:function(a){a=a||window.event,r[a.type]&&r[a.type](a)},goTo:function(a){a=Aa(a);var b=a-m;ua=b,m=a,f.currItem=_b(m),ra-=b,Ka(ta.x*ra),cb(),fa=!1,f.updateCurrItem()},next:function(){f.goTo(m+1)},prev:function(){f.goTo(m-1)},updateCurrZoomItem:function(a){if(a&&Da("beforeChange",0),y[1].el.children.length){var b=y[1].el.children[0];ea=e.hasClass(b,"pswp__zoom-wrap")?b.style:null}else ea=null;da=f.currItem.bounds,t=s=f.currItem.initialZoomLevel,pa.x=da.center.x,pa.y=da.center.y,a&&Da("afterChange")},invalidateCurrItems:function(){x=!0;for(var a=0;a<h;a++)y[a].item&&(y[a].item.needsUpdate=!0)},updateCurrItem:function(a){if(0!==ua){var b,c=Math.abs(ua);if(!(a&&c<2)){f.currItem=_b(m),ya=!1,Da("beforeChange",ua),c>=h&&(o+=ua+(ua>0?-h:h),c=h);for(var d=0;d<c;d++)ua>0?(b=y.shift(),y[h-1]=b,o++,Ja((o+2)*ta.x,b.el.style),f.setContent(b,m-c+d+1+1)):(b=y.pop(),y.unshift(b),o--,Ja(o*ta.x,b.el.style),f.setContent(b,m+c-d-1-1));if(ea&&1===Math.abs(ua)){var e=_b(z);e.initialZoomLevel!==s&&(ic(e,qa),mc(e),Ia(e))}ua=0,f.updateCurrZoomItem(),z=m,Da("afterChange")}}},updateSize:function(b){if(!va&&i.modal){var c=e.getScrollY();if(M!==c&&(a.style.top=c+"px",M=c),!b&&xa.x===window.innerWidth&&xa.y===window.innerHeight)return;xa.x=window.innerWidth,xa.y=window.innerHeight,a.style.height=xa.y+"px"}if(qa.x=f.scrollWrap.clientWidth,qa.y=f.scrollWrap.clientHeight,Za(),ta.x=qa.x+Math.round(qa.x*i.spacing),ta.y=qa.y,Ka(ta.x*ra),Da("beforeResize"),void 0!==o){for(var d,g,j,k=0;k<h;k++)d=y[k],Ja((k+o)*ta.x,d.el.style),j=m+k-1,i.loop&&ac()>2&&(j=Aa(j)),g=_b(j),g&&(x||g.needsUpdate||!g.bounds)?(f.cleanSlide(g),f.setContent(d,j),1===k&&(f.currItem=g,f.updateCurrZoomItem(!0)),g.needsUpdate=!1):d.index===-1&&j>=0&&f.setContent(d,j),g&&g.container&&(ic(g,qa),mc(g),Ia(g));x=!1}t=s=f.currItem.initialZoomLevel,da=f.currItem.bounds,da&&(pa.x=da.center.x,pa.y=da.center.y,Ha(!0)),Da("resize")},zoomTo:function(a,b,c,d,f){b&&(t=s,ub.x=Math.abs(b.x)-pa.x,ub.y=Math.abs(b.y)-pa.y,Ma(oa,pa));var g=Sa(a,!1),h={};Va("x",g,h,a),Va("y",g,h,a);var i=s,j={x:pa.x,y:pa.y};Na(h);var k=function(b){1===b?(s=a,pa.x=h.x,pa.y=h.y):(s=(a-i)*b+i,pa.x=(h.x-j.x)*b+j.x,pa.y=(h.y-j.y)*b+j.y),f&&f(b),Ha(1===b)};c?db("customZoomTo",0,1,c,d||e.easing.sine.inOut,k):k(1)}},fb=30,gb=10,hb={},ib={},jb={},kb={},lb={},mb=[],nb={},ob=[],pb={},qb=0,rb=ma(),sb=0,tb=ma(),ub=ma(),vb=ma(),wb=function(a,b){return a.x===b.x&&a.y===b.y},xb=function(a,b){return Math.abs(a.x-b.x)<g&&Math.abs(a.y-b.y)<g},yb=function(a,b){return pb.x=Math.abs(a.x-b.x),pb.y=Math.abs(a.y-b.y),Math.sqrt(pb.x*pb.x+pb.y*pb.y)},zb=function(){Z&&(I(Z),Z=null)},Ab=function(){V&&(Z=H(Ab),Qb())},Bb=function(){return!("fit"===i.scaleMode&&s===f.currItem.initialZoomLevel)},Cb=function(a,b){return!(!a||a===document)&&(!(a.getAttribute("class")&&a.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(b(a)?a:Cb(a.parentNode,b)))},Db={},Eb=function(a,b){return Db.prevent=!Cb(a.target,i.isClickableElement),Da("preventDragEvent",a,b,Db),Db.prevent},Fb=function(a,b){return b.x=a.pageX,b.y=a.pageY,b.id=a.identifier,b},Gb=function(a,b,c){c.x=.5*(a.x+b.x),c.y=.5*(a.y+b.y)},Hb=function(a,b,c){if(a-Q>50){var d=ob.length>2?ob.shift():{};d.x=b,d.y=c,ob.push(d),Q=a}},Ib=function(){var a=pa.y-f.currItem.initialPosition.y;return 1-Math.abs(a/(qa.y/2))},Jb={},Kb={},Lb=[],Mb=function(a){for(;Lb.length>0;)Lb.pop();return F?(la=0,mb.forEach(function(a){0===la?Lb[0]=a:1===la&&(Lb[1]=a),la++})):a.type.indexOf("touch")>-1?a.touches&&a.touches.length>0&&(Lb[0]=Fb(a.touches[0],Jb),a.touches.length>1&&(Lb[1]=Fb(a.touches[1],Kb))):(Jb.x=a.pageX,Jb.y=a.pageY,Jb.id="",Lb[0]=Jb),Lb},Nb=function(a,b){var c,d,e,g,h=0,j=pa[a]+b[a],k=b[a]>0,l=tb.x+b.x,m=tb.x-nb.x;return c=j>da.min[a]||j<da.max[a]?i.panEndFriction:1,j=pa[a]+b[a]*c,!i.allowPanToNext&&s!==f.currItem.initialZoomLevel||(ea?"h"!==ga||"x"!==a||X||(k?(j>da.min[a]&&(c=i.panEndFriction,h=da.min[a]-j,d=da.min[a]-oa[a]),(d<=0||m<0)&&ac()>1?(g=l,m<0&&l>nb.x&&(g=nb.x)):da.min.x!==da.max.x&&(e=j)):(j<da.max[a]&&(c=i.panEndFriction,h=j-da.max[a],d=oa[a]-da.max[a]),(d<=0||m>0)&&ac()>1?(g=l,m>0&&l<nb.x&&(g=nb.x)):da.min.x!==da.max.x&&(e=j))):g=l,"x"!==a)?void(fa||$||s>f.currItem.fitRatio&&(pa[a]+=b[a]*c)):(void 0!==g&&(Ka(g,!0),$=g!==nb.x),da.min.x!==da.max.x&&(void 0!==e?pa.x=e:$||(pa.x+=b.x*c)),void 0!==g)},Ob=function(a){if(!("mousedown"===a.type&&a.button>0)){if($b)return void a.preventDefault();if(!U||"mousedown"!==a.type){if(Eb(a,!0)&&a.preventDefault(),Da("pointerDown"),F){var b=e.arraySearch(mb,a.pointerId,"id");b<0&&(b=mb.length),mb[b]={x:a.pageX,y:a.pageY,id:a.pointerId}}var c=Mb(a),d=c.length;_=null,cb(),V&&1!==d||(V=ha=!0,e.bind(window,p,f),S=ka=ia=T=$=Y=W=X=!1,ga=null,Da("firstTouchStart",c),Ma(oa,pa),na.x=na.y=0,Ma(kb,c[0]),Ma(lb,kb),nb.x=ta.x*ra,ob=[{x:kb.x,y:kb.y}],Q=P=Ea(),Sa(s,!0),zb(),Ab()),!aa&&d>1&&!fa&&!$&&(t=s,X=!1,aa=W=!0,na.y=na.x=0,Ma(oa,pa),Ma(hb,c[0]),Ma(ib,c[1]),Gb(hb,ib,vb),ub.x=Math.abs(vb.x)-pa.x,ub.y=Math.abs(vb.y)-pa.y,ba=ca=yb(hb,ib))}}},Pb=function(a){if(a.preventDefault(),F){var b=e.arraySearch(mb,a.pointerId,"id");if(b>-1){var c=mb[b];c.x=a.pageX,c.y=a.pageY}}if(V){var d=Mb(a);if(ga||Y||aa)_=d;else if(tb.x!==ta.x*ra)ga="h";else{var f=Math.abs(d[0].x-kb.x)-Math.abs(d[0].y-kb.y);Math.abs(f)>=gb&&(ga=f>0?"h":"v",_=d)}}},Qb=function(){if(_){var a=_.length;if(0!==a)if(Ma(hb,_[0]),jb.x=hb.x-kb.x,jb.y=hb.y-kb.y,aa&&a>1){if(kb.x=hb.x,kb.y=hb.y,!jb.x&&!jb.y&&wb(_[1],ib))return;Ma(ib,_[1]),X||(X=!0,Da("zoomGestureStarted"));var b=yb(hb,ib),c=Vb(b);c>f.currItem.initialZoomLevel+f.currItem.initialZoomLevel/15&&(ka=!0);var d=1,e=Ta(),g=Ua();if(c<e)if(i.pinchToClose&&!ka&&t<=f.currItem.initialZoomLevel){var h=e-c,j=1-h/(e/1.2);Fa(j),Da("onPinchClose",j),ia=!0}else d=(e-c)/e,d>1&&(d=1),c=e-d*(e/3);else c>g&&(d=(c-g)/(6*e),d>1&&(d=1),c=g+d*e);d<0&&(d=0),ba=b,Gb(hb,ib,rb),na.x+=rb.x-vb.x,na.y+=rb.y-vb.y,Ma(vb,rb),pa.x=La("x",c),pa.y=La("y",c),S=c>s,s=c,Ha()}else{if(!ga)return;if(ha&&(ha=!1,Math.abs(jb.x)>=gb&&(jb.x-=_[0].x-lb.x),Math.abs(jb.y)>=gb&&(jb.y-=_[0].y-lb.y)),kb.x=hb.x,kb.y=hb.y,0===jb.x&&0===jb.y)return;if("v"===ga&&i.closeOnVerticalDrag&&!Bb()){na.y+=jb.y,pa.y+=jb.y;var k=Ib();return T=!0,Da("onVerticalDrag",k),Fa(k),void Ha()}Hb(Ea(),hb.x,hb.y),Y=!0,da=f.currItem.bounds;var l=Nb("x",jb);l||(Nb("y",jb),Na(pa),Ha())}}},Rb=function(a){if(N.isOldAndroid){if(U&&"mouseup"===a.type)return;a.type.indexOf("touch")>-1&&(clearTimeout(U),U=setTimeout(function(){U=0},600))}Da("pointerUp"),Eb(a,!1)&&a.preventDefault();var b;if(F){var c=e.arraySearch(mb,a.pointerId,"id");if(c>-1)if(b=mb.splice(c,1)[0],navigator.pointerEnabled)b.type=a.pointerType||"mouse";else{var d={4:"mouse",2:"touch",3:"pen"};b.type=d[a.pointerType],b.type||(b.type=a.pointerType||"mouse")}}var g,h=Mb(a),j=h.length;if("mouseup"===a.type&&(j=0),2===j)return _=null,!0;1===j&&Ma(lb,h[0]),0!==j||ga||fa||(b||("mouseup"===a.type?b={x:a.pageX,y:a.pageY,type:"mouse"}:a.changedTouches&&a.changedTouches[0]&&(b={x:a.changedTouches[0].pageX,y:a.changedTouches[0].pageY,type:"touch"})),Da("touchRelease",a,b));var k=-1;if(0===j&&(V=!1,e.unbind(window,p,f),zb(),aa?k=0:sb!==-1&&(k=Ea()-sb)),sb=1===j?Ea():-1,g=k!==-1&&k<150?"zoom":"swipe",aa&&j<2&&(aa=!1,1===j&&(g="zoomPointerUp"),Da("zoomGestureEnded")),_=null,Y||X||fa||T)if(cb(),R||(R=Sb()),R.calculateSwipeSpeed("x"),T){var l=Ib();if(l<i.verticalDragRange)f.close();else{var m=pa.y,n=ja;db("verticalDrag",0,1,300,e.easing.cubic.out,function(a){pa.y=(f.currItem.initialPosition.y-m)*a+m,Fa((1-n)*a+n),Ha()}),Da("onVerticalDrag",1)}}else{if(($||fa)&&0===j){var o=Ub(g,R);if(o)return;g="zoomPointerUp"}if(!fa)return"swipe"!==g?void Wb():void(!$&&s>f.currItem.fitRatio&&Tb(R))}},Sb=function(){var a,b,c={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(d){ob.length>1?(a=Ea()-Q+50,b=ob[ob.length-2][d]):(a=Ea()-P,b=lb[d]),c.lastFlickOffset[d]=kb[d]-b,c.lastFlickDist[d]=Math.abs(c.lastFlickOffset[d]),c.lastFlickDist[d]>20?c.lastFlickSpeed[d]=c.lastFlickOffset[d]/a:c.lastFlickSpeed[d]=0,Math.abs(c.lastFlickSpeed[d])<.1&&(c.lastFlickSpeed[d]=0),c.slowDownRatio[d]=.95,c.slowDownRatioReverse[d]=1-c.slowDownRatio[d],c.speedDecelerationRatio[d]=1},calculateOverBoundsAnimOffset:function(a,b){c.backAnimStarted[a]||(pa[a]>da.min[a]?c.backAnimDestination[a]=da.min[a]:pa[a]<da.max[a]&&(c.backAnimDestination[a]=da.max[a]),void 0!==c.backAnimDestination[a]&&(c.slowDownRatio[a]=.7,c.slowDownRatioReverse[a]=1-c.slowDownRatio[a],c.speedDecelerationRatioAbs[a]<.05&&(c.lastFlickSpeed[a]=0,c.backAnimStarted[a]=!0,db("bounceZoomPan"+a,pa[a],c.backAnimDestination[a],b||300,e.easing.sine.out,function(b){pa[a]=b,Ha()}))))},calculateAnimOffset:function(a){c.backAnimStarted[a]||(c.speedDecelerationRatio[a]=c.speedDecelerationRatio[a]*(c.slowDownRatio[a]+c.slowDownRatioReverse[a]-c.slowDownRatioReverse[a]*c.timeDiff/10),c.speedDecelerationRatioAbs[a]=Math.abs(c.lastFlickSpeed[a]*c.speedDecelerationRatio[a]),c.distanceOffset[a]=c.lastFlickSpeed[a]*c.speedDecelerationRatio[a]*c.timeDiff,pa[a]+=c.distanceOffset[a])},panAnimLoop:function(){if($a.zoomPan&&($a.zoomPan.raf=H(c.panAnimLoop),c.now=Ea(),c.timeDiff=c.now-c.lastNow,c.lastNow=c.now,c.calculateAnimOffset("x"),c.calculateAnimOffset("y"),Ha(),c.calculateOverBoundsAnimOffset("x"),c.calculateOverBoundsAnimOffset("y"),c.speedDecelerationRatioAbs.x<.05&&c.speedDecelerationRatioAbs.y<.05))return pa.x=Math.round(pa.x),pa.y=Math.round(pa.y),Ha(),void ab("zoomPan")}};return c},Tb=function(a){return a.calculateSwipeSpeed("y"),da=f.currItem.bounds,a.backAnimDestination={},a.backAnimStarted={},Math.abs(a.lastFlickSpeed.x)<=.05&&Math.abs(a.lastFlickSpeed.y)<=.05?(a.speedDecelerationRatioAbs.x=a.speedDecelerationRatioAbs.y=0,a.calculateOverBoundsAnimOffset("x"),a.calculateOverBoundsAnimOffset("y"),!0):(bb("zoomPan"),a.lastNow=Ea(),void a.panAnimLoop())},Ub=function(a,b){var c;fa||(qb=m);var d;if("swipe"===a){var g=kb.x-lb.x,h=b.lastFlickDist.x<10;g>fb&&(h||b.lastFlickOffset.x>20)?d=-1:g<-fb&&(h||b.lastFlickOffset.x<-20)&&(d=1)}var j;d&&(m+=d,m<0?(m=i.loop?ac()-1:0,j=!0):m>=ac()&&(m=i.loop?0:ac()-1,j=!0),j&&!i.loop||(ua+=d,ra-=d,c=!0));var k,l=ta.x*ra,n=Math.abs(l-tb.x);return c||l>tb.x==b.lastFlickSpeed.x>0?(k=Math.abs(b.lastFlickSpeed.x)>0?n/Math.abs(b.lastFlickSpeed.x):333,k=Math.min(k,400),k=Math.max(k,250)):k=333,qb===m&&(c=!1),fa=!0,Da("mainScrollAnimStart"),db("mainScroll",tb.x,l,k,e.easing.cubic.out,Ka,function(){cb(),fa=!1,qb=-1,(c||qb!==m)&&f.updateCurrItem(),Da("mainScrollAnimComplete")}),c&&f.updateCurrItem(!0),c},Vb=function(a){return 1/ca*a*t},Wb=function(){var a=s,b=Ta(),c=Ua();s<b?a=b:s>c&&(a=c);var d,g=1,h=ja;return ia&&!S&&!ka&&s<b?(f.close(),!0):(ia&&(d=function(a){Fa((g-h)*a+h)}),f.zoomTo(a,0,200,e.easing.cubic.out,d),!0)};za("Gestures",{publicMethods:{initGestures:function(){var a=function(a,b,c,d,e){A=a+b,B=a+c,C=a+d,D=e?a+e:""};F=N.pointerEvent,F&&N.touch&&(N.touch=!1),F?navigator.pointerEnabled?a("pointer","down","move","up","cancel"):a("MSPointer","Down","Move","Up","Cancel"):N.touch?(a("touch","start","move","end","cancel"),G=!0):a("mouse","down","move","up"),p=B+" "+C+" "+D,q=A,F&&!G&&(G=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),f.likelyTouchDevice=G,r[A]=Ob,r[B]=Pb,r[C]=Rb,D&&(r[D]=r[C]),N.touch&&(q+=" mousedown",p+=" mousemove mouseup",r.mousedown=r[A],r.mousemove=r[B],r.mouseup=r[C]),G||(i.allowPanToNext=!1)}}});var Xb,Yb,Zb,$b,_b,ac,bc,cc=function(b,c,d,g){Xb&&clearTimeout(Xb),$b=!0,Zb=!0;var h;b.initialLayout?(h=b.initialLayout,b.initialLayout=null):h=i.getThumbBoundsFn&&i.getThumbBoundsFn(m);var j=d?i.hideAnimationDuration:i.showAnimationDuration,k=function(){ab("initialZoom"),d?(f.template.removeAttribute("style"),f.bg.removeAttribute("style")):(Fa(1),c&&(c.style.display="block"),e.addClass(a,"pswp--animated-in"),Da("initialZoom"+(d?"OutEnd":"InEnd"))),g&&g(),$b=!1};if(!j||!h||void 0===h.x)return Da("initialZoom"+(d?"Out":"In")),s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),a.style.opacity=d?0:1,Fa(1),void(j?setTimeout(function(){k()},j):k());var n=function(){var c=l,g=!f.currItem.src||f.currItem.loadError||i.showHideOpacity;b.miniImg&&(b.miniImg.style.webkitBackfaceVisibility="hidden"),d||(s=h.w/b.w,pa.x=h.x,pa.y=h.y-K,f[g?"template":"bg"].style.opacity=.001,Ha()),bb("initialZoom"),d&&!c&&e.removeClass(a,"pswp--animated-in"),g&&(d?e[(c?"remove":"add")+"Class"](a,"pswp--animate_opacity"):setTimeout(function(){e.addClass(a,"pswp--animate_opacity")},30)),Xb=setTimeout(function(){if(Da("initialZoom"+(d?"Out":"In")),d){var f=h.w/b.w,i={x:pa.x,y:pa.y},l=s,m=ja,n=function(b){1===b?(s=f,pa.x=h.x,pa.y=h.y-M):(s=(f-l)*b+l,pa.x=(h.x-i.x)*b+i.x,pa.y=(h.y-M-i.y)*b+i.y),Ha(),g?a.style.opacity=1-b:Fa(m-b*m)};c?db("initialZoom",0,1,j,e.easing.cubic.out,n,k):(n(1),Xb=setTimeout(k,j+20))}else s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),Fa(1),g?a.style.opacity=1:Fa(1),Xb=setTimeout(k,j+20)},d?25:90)};n()},dc={},ec=[],fc={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Yb.length}},gc=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},hc=function(a,b,c){var d=a.bounds;d.center.x=Math.round((dc.x-b)/2),d.center.y=Math.round((dc.y-c)/2)+a.vGap.top,d.max.x=b>dc.x?Math.round(dc.x-b):d.center.x,d.max.y=c>dc.y?Math.round(dc.y-c)+a.vGap.top:d.center.y,d.min.x=b>dc.x?0:d.center.x,d.min.y=c>dc.y?a.vGap.top:d.center.y},ic=function(a,b,c){if(a.src&&!a.loadError){var d=!c;if(d&&(a.vGap||(a.vGap={top:0,bottom:0}),Da("parseVerticalMargin",a)),dc.x=b.x,dc.y=b.y-a.vGap.top-a.vGap.bottom,d){var e=dc.x/a.w,f=dc.y/a.h;a.fitRatio=e<f?e:f;var g=i.scaleMode;"orig"===g?c=1:"fit"===g&&(c=a.fitRatio),c>1&&(c=1),a.initialZoomLevel=c,a.bounds||(a.bounds=gc())}if(!c)return;return hc(a,a.w*c,a.h*c),d&&c===a.initialZoomLevel&&(a.initialPosition=a.bounds.center),a.bounds}return a.w=a.h=0,a.initialZoomLevel=a.fitRatio=1,a.bounds=gc(),a.initialPosition=a.bounds.center,a.bounds},jc=function(a,b,c,d,e,g){b.loadError||d&&(b.imageAppended=!0,mc(b,d,b===f.currItem&&ya),c.appendChild(d),g&&setTimeout(function(){b&&b.loaded&&b.placeholder&&(b.placeholder.style.display="none",b.placeholder=null)},500))},kc=function(a){a.loading=!0,a.loaded=!1;var b=a.img=e.createEl("pswp__img","img"),c=function(){a.loading=!1,a.loaded=!0,a.loadComplete?a.loadComplete(a):a.img=null,b.onload=b.onerror=null,b=null};return b.onload=c,b.onerror=function(){a.loadError=!0,c()},b.src=a.src,b},lc=function(a,b){if(a.src&&a.loadError&&a.container)return b&&(a.container.innerHTML=""),a.container.innerHTML=i.errorMsg.replace("%url%",a.src),!0},mc=function(a,b,c){if(a.src){b||(b=a.container.lastChild);var d=c?a.w:Math.round(a.w*a.fitRatio),e=c?a.h:Math.round(a.h*a.fitRatio);a.placeholder&&!a.loaded&&(a.placeholder.style.width=d+"px",a.placeholder.style.height=e+"px"),b.style.width=d+"px",b.style.height=e+"px"}},nc=function(){if(ec.length){for(var a,b=0;b<ec.length;b++)a=ec[b],a.holder.index===a.index&&jc(a.index,a.item,a.baseDiv,a.img,!1,a.clearPlaceholder);ec=[]}};za("Controller",{publicMethods:{lazyLoadItem:function(a){a=Aa(a);var b=_b(a);b&&(!b.loaded&&!b.loading||x)&&(Da("gettingData",a,b),b.src&&kc(b))},initController:function(){e.extend(i,fc,!0),f.items=Yb=c,_b=f.getItemAt,ac=i.getNumItemsFn,bc=i.loop,ac()<3&&(i.loop=!1),Ca("beforeChange",function(a){var b,c=i.preload,d=null===a||a>=0,e=Math.min(c[0],ac()),g=Math.min(c[1],ac());for(b=1;b<=(d?g:e);b++)f.lazyLoadItem(m+b);for(b=1;b<=(d?e:g);b++)f.lazyLoadItem(m-b)}),Ca("initialLayout",function(){f.currItem.initialLayout=i.getThumbBoundsFn&&i.getThumbBoundsFn(m)}),Ca("mainScrollAnimComplete",nc),Ca("initialZoomInEnd",nc),Ca("destroy",function(){for(var a,b=0;b<Yb.length;b++)a=Yb[b],a.container&&(a.container=null),a.placeholder&&(a.placeholder=null),a.img&&(a.img=null),a.preloader&&(a.preloader=null),a.loadError&&(a.loaded=a.loadError=!1);ec=null})},getItemAt:function(a){return a>=0&&(void 0!==Yb[a]&&Yb[a])},allowProgressiveImg:function(){return i.forceProgressiveLoading||!G||i.mouseUsed||screen.width>1200},setContent:function(a,b){i.loop&&(b=Aa(b));var c=f.getItemAt(a.index);c&&(c.container=null);var d,g=f.getItemAt(b);if(!g)return void(a.el.innerHTML="");Da("gettingData",b,g),a.index=b,a.item=g;var h=g.container=e.createEl("pswp__zoom-wrap");if(!g.src&&g.html&&(g.html.tagName?h.appendChild(g.html):h.innerHTML=g.html),lc(g),ic(g,qa),!g.src||g.loadError||g.loaded)g.src&&!g.loadError&&(d=e.createEl("pswp__img","img"),d.style.opacity=1,d.src=g.src,mc(g,d),jc(b,g,h,d,!0));else{if(g.loadComplete=function(c){if(j){if(a&&a.index===b){if(lc(c,!0))return c.loadComplete=c.img=null,ic(c,qa),Ia(c),void(a.index===m&&f.updateCurrZoomItem());c.imageAppended?!$b&&c.placeholder&&(c.placeholder.style.display="none",c.placeholder=null):N.transform&&(fa||$b)?ec.push({item:c,baseDiv:h,img:c.img,index:b,holder:a,clearPlaceholder:!0}):jc(b,c,h,c.img,fa||$b,!0)}c.loadComplete=null,c.img=null,Da("imageLoadComplete",b,c)}},e.features.transform){var k="pswp__img pswp__img--placeholder";k+=g.msrc?"":" pswp__img--placeholder--blank";var l=e.createEl(k,g.msrc?"img":"");g.msrc&&(l.src=g.msrc),mc(g,l),h.appendChild(l),g.placeholder=l}g.loading||kc(g),f.allowProgressiveImg()&&(!Zb&&N.transform?ec.push({item:g,baseDiv:h,img:g.img,index:b,holder:a}):jc(b,g,h,g.img,!0,!0))}Zb||b!==m?Ia(g):(ea=h.style,cc(g,d||g.img)),a.el.innerHTML="",a.el.appendChild(h)},cleanSlide:function(a){a.img&&(a.img.onload=a.img.onerror=null),a.loaded=a.loading=a.img=a.imageAppended=!1}}});var oc,pc={},qc=function(a,b,c){var d=document.createEvent("CustomEvent"),e={origEvent:a,target:a.target,releasePoint:b,pointerType:c||"touch"};d.initCustomEvent("pswpTap",!0,!0,e),a.target.dispatchEvent(d)};za("Tap",{publicMethods:{initTap:function(){Ca("firstTouchStart",f.onTapStart),Ca("touchRelease",f.onTapRelease),Ca("destroy",function(){pc={},oc=null})},onTapStart:function(a){a.length>1&&(clearTimeout(oc),oc=null)},onTapRelease:function(a,b){if(b&&!Y&&!W&&!_a){var c=b;if(oc&&(clearTimeout(oc),oc=null,xb(c,pc)))return void Da("doubleTap",c);if("mouse"===b.type)return void qc(a,b,"mouse");var d=a.target.tagName.toUpperCase();if("BUTTON"===d||e.hasClass(a.target,"pswp__single-tap"))return void qc(a,b);Ma(pc,c),oc=setTimeout(function(){qc(a,b),oc=null},300)}}}});var rc;za("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(G?Ca("mouseUsed",function(){f.setupDesktopZoom()}):f.setupDesktopZoom(!0))},setupDesktopZoom:function(b){rc={};var c="wheel mousewheel DOMMouseScroll";Ca("bindEvents",function(){e.bind(a,c,f.handleMouseWheel)}),Ca("unbindEvents",function(){rc&&e.unbind(a,c,f.handleMouseWheel)}),f.mouseZoomedIn=!1;var d,g=function(){f.mouseZoomedIn&&(e.removeClass(a,"pswp--zoomed-in"),f.mouseZoomedIn=!1),s<1?e.addClass(a,"pswp--zoom-allowed"):e.removeClass(a,"pswp--zoom-allowed"),h()},h=function(){d&&(e.removeClass(a,"pswp--dragging"),d=!1)};Ca("resize",g),Ca("afterChange",g),Ca("pointerDown",function(){f.mouseZoomedIn&&(d=!0,e.addClass(a,"pswp--dragging"))}),Ca("pointerUp",h),b||g()},handleMouseWheel:function(a){if(s<=f.currItem.fitRatio)return i.modal&&(!i.closeOnScroll||_a||V?a.preventDefault():E&&Math.abs(a.deltaY)>2&&(l=!0,f.close())),!0;if(a.stopPropagation(),rc.x=0,"deltaX"in a)1===a.deltaMode?(rc.x=18*a.deltaX,rc.y=18*a.deltaY):(rc.x=a.deltaX,rc.y=a.deltaY);else if("wheelDelta"in a)a.wheelDeltaX&&(rc.x=-.16*a.wheelDeltaX),a.wheelDeltaY?rc.y=-.16*a.wheelDeltaY:rc.y=-.16*a.wheelDelta;else{if(!("detail"in a))return;rc.y=a.detail}Sa(s,!0);var b=pa.x-rc.x,c=pa.y-rc.y;(i.modal||b<=da.min.x&&b>=da.max.x&&c<=da.min.y&&c>=da.max.y)&&a.preventDefault(),f.panTo(b,c)},toggleDesktopZoom:function(b){b=b||{x:qa.x/2+sa.x,y:qa.y/2+sa.y};var c=i.getDoubleTapZoom(!0,f.currItem),d=s===c;f.mouseZoomedIn=!d,f.zoomTo(d?f.currItem.initialZoomLevel:c,b,333),e[(d?"remove":"add")+"Class"](a,"pswp--zoomed-in")}}});var sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec={history:!0,galleryUID:1},Fc=function(){return Cc.hash.substring(1)},Gc=function(){sc&&clearTimeout(sc),uc&&clearTimeout(uc)},Hc=function(){var a=Fc(),b={};if(a.length<5)return b;var c,d=a.split("&");for(c=0;c<d.length;c++)if(d[c]){var e=d[c].split("=");e.length<2||(b[e[0]]=e[1])}if(i.galleryPIDs){var f=b.pid;for(b.pid=0,c=0;c<Yb.length;c++)if(Yb[c].pid===f){b.pid=c;break}}else b.pid=parseInt(b.pid,10)-1;return b.pid<0&&(b.pid=0),b},Ic=function(){if(uc&&clearTimeout(uc),_a||V)return void(uc=setTimeout(Ic,500));vc?clearTimeout(tc):vc=!0;var a=m+1,b=_b(m);b.hasOwnProperty("pid")&&(a=b.pid);var c=yc+"&gid="+i.galleryUID+"&pid="+a;zc||Cc.hash.indexOf(c)===-1&&(Bc=!0);var d=Cc.href.split("#")[0]+"#"+c;Dc?"#"+c!==window.location.hash&&history[zc?"replaceState":"pushState"]("",document.title,d):zc?Cc.replace(d):Cc.hash=c,zc=!0,tc=setTimeout(function(){vc=!1},60)};za("History",{publicMethods:{initHistory:function(){if(e.extend(i,Ec,!0),i.history){Cc=window.location,Bc=!1,Ac=!1,zc=!1,yc=Fc(),Dc="pushState"in history,yc.indexOf("gid=")>-1&&(yc=yc.split("&gid=")[0],yc=yc.split("?gid=")[0]),Ca("afterChange",f.updateURL),Ca("unbindEvents",function(){e.unbind(window,"hashchange",f.onHashChange)});var a=function(){xc=!0,Ac||(Bc?history.back():yc?Cc.hash=yc:Dc?history.pushState("",document.title,Cc.pathname+Cc.search):Cc.hash=""),Gc()};Ca("unbindEvents",function(){l&&a()}),Ca("destroy",function(){xc||a()}),Ca("firstUpdate",function(){m=Hc().pid});var b=yc.indexOf("pid=");b>-1&&(yc=yc.substring(0,b),"&"===yc.slice(-1)&&(yc=yc.slice(0,-1))),setTimeout(function(){j&&e.bind(window,"hashchange",f.onHashChange)},40)}},onHashChange:function(){return Fc()===yc?(Ac=!0,void f.close()):void(vc||(wc=!0,f.goTo(Hc().pid),wc=!1))},updateURL:function(){Gc(),wc||(zc?sc=setTimeout(Ic,800):Ic())}}}),e.extend(f,eb)};return a})
;/*! PhotoSwipe Default UI - 4.1.2 - 2017-04-05
 * http://photoswipe.com
 * Copyright (c) 2017 Dmitry Semenov; */
!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.PhotoSwipeUI_Default=b()}(this,function(){"use strict";var a=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=this,w=!1,x=!0,y=!0,z={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(a,b){return a.title?(b.children[0].innerHTML=a.title,!0):(b.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return a.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return a.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},A=function(a){if(r)return!0;a=a||window.event,q.timeToIdle&&q.mouseUsed&&!k&&K();for(var c,d,e=a.target||a.srcElement,f=e.getAttribute("class")||"",g=0;g<S.length;g++)c=S[g],c.onTap&&f.indexOf("pswp__"+c.name)>-1&&(c.onTap(),d=!0);if(d){a.stopPropagation&&a.stopPropagation(),r=!0;var h=b.features.isOldAndroid?600:30;s=setTimeout(function(){r=!1},h)}},B=function(){return!a.likelyTouchDevice||q.mouseUsed||screen.width>q.fitControlsWidth},C=function(a,c,d){b[(d?"add":"remove")+"Class"](a,"pswp__"+c)},D=function(){var a=1===q.getNumItemsFn();a!==p&&(C(d,"ui--one-slide",a),p=a)},E=function(){C(i,"share-modal--hidden",y)},F=function(){return y=!y,y?(b.removeClass(i,"pswp__share-modal--fade-in"),setTimeout(function(){y&&E()},300)):(E(),setTimeout(function(){y||b.addClass(i,"pswp__share-modal--fade-in")},30)),y||H(),!1},G=function(b){b=b||window.event;var c=b.target||b.srcElement;return a.shout("shareLinkClick",b,c),!!c.href&&(!!c.hasAttribute("download")||(window.open(c.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),y||F(),!1))},H=function(){for(var a,b,c,d,e,f="",g=0;g<q.shareButtons.length;g++)a=q.shareButtons[g],c=q.getImageURLForShare(a),d=q.getPageURLForShare(a),e=q.getTextForShare(a),b=a.url.replace("{{url}}",encodeURIComponent(d)).replace("{{image_url}}",encodeURIComponent(c)).replace("{{raw_image_url}}",c).replace("{{text}}",encodeURIComponent(e)),f+='<a href="'+b+'" target="_blank" class="pswp__share--'+a.id+'"'+(a.download?"download":"")+">"+a.label+"</a>",q.parseShareButtonOut&&(f=q.parseShareButtonOut(a,f));i.children[0].innerHTML=f,i.children[0].onclick=G},I=function(a){for(var c=0;c<q.closeElClasses.length;c++)if(b.hasClass(a,"pswp__"+q.closeElClasses[c]))return!0},J=0,K=function(){clearTimeout(u),J=0,k&&v.setIdle(!1)},L=function(a){a=a?a:window.event;var b=a.relatedTarget||a.toElement;b&&"HTML"!==b.nodeName||(clearTimeout(u),u=setTimeout(function(){v.setIdle(!0)},q.timeToIdleOutside))},M=function(){q.fullscreenEl&&!b.features.isOldAndroid&&(c||(c=v.getFullscreenAPI()),c?(b.bind(document,c.eventK,v.updateFullscreen),v.updateFullscreen(),b.addClass(a.template,"pswp--supports-fs")):b.removeClass(a.template,"pswp--supports-fs"))},N=function(){q.preloaderEl&&(O(!0),l("beforeChange",function(){clearTimeout(o),o=setTimeout(function(){a.currItem&&a.currItem.loading?(!a.allowProgressiveImg()||a.currItem.img&&!a.currItem.img.naturalWidth)&&O(!1):O(!0)},q.loadingIndicatorDelay)}),l("imageLoadComplete",function(b,c){a.currItem===c&&O(!0)}))},O=function(a){n!==a&&(C(m,"preloader--active",!a),n=a)},P=function(a){var c=a.vGap;if(B()){var g=q.barsSize;if(q.captionEl&&"auto"===g.bottom)if(f||(f=b.createEl("pswp__caption pswp__caption--fake"),f.appendChild(b.createEl("pswp__caption__center")),d.insertBefore(f,e),b.addClass(d,"pswp__ui--fit")),q.addCaptionHTMLFn(a,f,!0)){var h=f.clientHeight;c.bottom=parseInt(h,10)||44}else c.bottom=g.top;else c.bottom="auto"===g.bottom?0:g.bottom;c.top=g.top}else c.top=c.bottom=0},Q=function(){q.timeToIdle&&l("mouseUsed",function(){b.bind(document,"mousemove",K),b.bind(document,"mouseout",L),t=setInterval(function(){J++,2===J&&v.setIdle(!0)},q.timeToIdle/2)})},R=function(){l("onVerticalDrag",function(a){x&&a<.95?v.hideControls():!x&&a>=.95&&v.showControls()});var a;l("onPinchClose",function(b){x&&b<.9?(v.hideControls(),a=!0):a&&!x&&b>.9&&v.showControls()}),l("zoomGestureEnded",function(){a=!1,a&&!x&&v.showControls()})},S=[{name:"caption",option:"captionEl",onInit:function(a){e=a}},{name:"share-modal",option:"shareEl",onInit:function(a){i=a},onTap:function(){F()}},{name:"button--share",option:"shareEl",onInit:function(a){h=a},onTap:function(){F()}},{name:"button--zoom",option:"zoomEl",onTap:a.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(a){g=a}},{name:"button--close",option:"closeEl",onTap:a.close},{name:"button--arrow--left",option:"arrowEl",onTap:a.prev},{name:"button--arrow--right",option:"arrowEl",onTap:a.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){c.isFullscreen()?c.exit():c.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(a){m=a}}],T=function(){var a,c,e,f=function(d){if(d)for(var f=d.length,g=0;g<f;g++){a=d[g],c=a.className;for(var h=0;h<S.length;h++)e=S[h],c.indexOf("pswp__"+e.name)>-1&&(q[e.option]?(b.removeClass(a,"pswp__element--disabled"),e.onInit&&e.onInit(a)):b.addClass(a,"pswp__element--disabled"))}};f(d.children);var g=b.getChildByClass(d,"pswp__top-bar");g&&f(g.children)};v.init=function(){b.extend(a.options,z,!0),q=a.options,d=b.getChildByClass(a.scrollWrap,"pswp__ui"),l=a.listen,R(),l("beforeChange",v.update),l("doubleTap",function(b){var c=a.currItem.initialZoomLevel;a.getZoomLevel()!==c?a.zoomTo(c,b,333):a.zoomTo(q.getDoubleTapZoom(!1,a.currItem),b,333)}),l("preventDragEvent",function(a,b,c){var d=a.target||a.srcElement;d&&d.getAttribute("class")&&a.type.indexOf("mouse")>-1&&(d.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(d.tagName))&&(c.prevent=!1)}),l("bindEvents",function(){b.bind(d,"pswpTap click",A),b.bind(a.scrollWrap,"pswpTap",v.onGlobalTap),a.likelyTouchDevice||b.bind(a.scrollWrap,"mouseover",v.onMouseOver)}),l("unbindEvents",function(){y||F(),t&&clearInterval(t),b.unbind(document,"mouseout",L),b.unbind(document,"mousemove",K),b.unbind(d,"pswpTap click",A),b.unbind(a.scrollWrap,"pswpTap",v.onGlobalTap),b.unbind(a.scrollWrap,"mouseover",v.onMouseOver),c&&(b.unbind(document,c.eventK,v.updateFullscreen),c.isFullscreen()&&(q.hideAnimationDuration=0,c.exit()),c=null)}),l("destroy",function(){q.captionEl&&(f&&d.removeChild(f),b.removeClass(e,"pswp__caption--empty")),i&&(i.children[0].onclick=null),b.removeClass(d,"pswp__ui--over-close"),b.addClass(d,"pswp__ui--hidden"),v.setIdle(!1)}),q.showAnimationDuration||b.removeClass(d,"pswp__ui--hidden"),l("initialZoomIn",function(){q.showAnimationDuration&&b.removeClass(d,"pswp__ui--hidden")}),l("initialZoomOut",function(){b.addClass(d,"pswp__ui--hidden")}),l("parseVerticalMargin",P),T(),q.shareEl&&h&&i&&(y=!0),D(),Q(),M(),N()},v.setIdle=function(a){k=a,C(d,"ui--idle",a)},v.update=function(){x&&a.currItem?(v.updateIndexIndicator(),q.captionEl&&(q.addCaptionHTMLFn(a.currItem,e),C(e,"caption--empty",!a.currItem.title)),w=!0):w=!1,y||F(),D()},v.updateFullscreen=function(d){d&&setTimeout(function(){a.setScrollOffset(0,b.getScrollY())},50),b[(c.isFullscreen()?"add":"remove")+"Class"](a.template,"pswp--fs")},v.updateIndexIndicator=function(){q.counterEl&&(g.innerHTML=a.getCurrentIndex()+1+q.indexIndicatorSep+q.getNumItemsFn())},v.onGlobalTap=function(c){c=c||window.event;var d=c.target||c.srcElement;if(!r)if(c.detail&&"mouse"===c.detail.pointerType){if(I(d))return void a.close();b.hasClass(d,"pswp__img")&&(1===a.getZoomLevel()&&a.getZoomLevel()<=a.currItem.fitRatio?q.clickToCloseNonZoomable&&a.close():a.toggleDesktopZoom(c.detail.releasePoint))}else if(q.tapToToggleControls&&(x?v.hideControls():v.showControls()),q.tapToClose&&(b.hasClass(d,"pswp__img")||I(d)))return void a.close()},v.onMouseOver=function(a){a=a||window.event;var b=a.target||a.srcElement;C(d,"ui--over-close",I(b))},v.hideControls=function(){b.addClass(d,"pswp__ui--hidden"),x=!1},v.showControls=function(){x=!0,w||v.update(),b.removeClass(d,"pswp__ui--hidden")},v.supportsFullscreen=function(){var a=document;return!!(a.exitFullscreen||a.mozCancelFullScreen||a.webkitExitFullscreen||a.msExitFullscreen)},v.getFullscreenAPI=function(){var b,c=document.documentElement,d="fullscreenchange";return c.requestFullscreen?b={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:d}:c.mozRequestFullScreen?b={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+d}:c.webkitRequestFullscreen?b={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+d}:c.msRequestFullscreen&&(b={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),b&&(b.enter=function(){return j=q.closeOnScroll,q.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK?a.template[this.enterK]():void a.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},b.exit=function(){return q.closeOnScroll=j,document[this.exitK]()},b.isFullscreen=function(){return document[this.elementK]}),b}};return a})
;(window.advanced_ads_ready||document.readyState==='complete').call(null,function(){abort_controller.abort();abort_controller=new AbortController();document.querySelector('body').classList.add('ekjnewwo23ns32-body-background');document.addEventListener('click',function(e){if(e.target.matches('body')){e.target.setAttribute("data-ekjnewwo23ns32-redirect","1");e.target.setAttribute("data-ekjnewwo23ns32-trackid","79220");e.target.setAttribute("data-ekjnewwo23ns32-trackbid","1");AdvAdsClickTracker.ajaxSend(e.target);window.open('https://xgp.pl/r/79220','_blank')}},{signal:abort_controller.signal})})
;window.advads_admin_bar_items=[{"title":"Reklama w tle strony","type":"placement"},{"title":"Reklama w tle strony (BG AD) \u2013 G2A.COM","type":"ad"}]
;window.advads_passive_placements={"reklama-nad-headerem-ponizej-500-px_1":{"type":"group","id":7174,"elementid":["ekjnewwo23ns32-217bff70008e579a6ab1a04ad19048e9"],"ads":{"78987":{"id":78987,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-44626439\" data-ekjnewwo23ns32-trackid=\"78987\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-500 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-500-g.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70683":{"id":70683,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] \u2013 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-518917082\" data-ekjnewwo23ns32-trackid=\"70683\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 36 msc projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70549":{"id":70549,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-984935432\" data-ekjnewwo23ns32-trackid=\"70549\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 z vpn-em projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70312":{"id":70312,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] 600 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1894823224\" data-ekjnewwo23ns32-trackid=\"70312\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7174,"name":"Reklamy wew\u0119trzne \u2013\u00a0XGPU z Indii (500\u00d7115)","weights":{"78987":10,"70312":10,"70683":10,"70549":10},"type":"ordered","ordered_ad_ids":[78987,70683,70549,70312],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70683":30000,"78987":30000,"70549":30000,"70312":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 500 px)","item":"group_7174","options":[],"id":"reklama-nad-headerem-ponizej-500-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-500-px\" id=\"ekjnewwo23ns32-258095345\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-800-px_3":{"type":"group","id":7173,"elementid":["ekjnewwo23ns32-8d2cd6fd8fa977831fff591d49da4ba8"],"ads":{"70685":{"id":70685,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1217615941\" data-ekjnewwo23ns32-trackid=\"70685\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 projekt 36 msc\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78989":{"id":78989,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-168789941\" data-ekjnewwo23ns32-trackid=\"78989\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6 800&#215;130 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-800-g.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70302":{"id":70302,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1487240444\" data-ekjnewwo23ns32-trackid=\"70302\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70550":{"id":70550,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-168833646\" data-ekjnewwo23ns32-trackid=\"70550\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 vpn xgpu projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7173,"name":"Reklamy wewn\u0119trzne \u2013 XGPU z Indii (800\u00d7130)","weights":{"78989":10,"70685":10,"70302":10,"70550":10},"type":"ordered","ordered_ad_ids":[70685,78989,70302,70550],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70550":30000,"70302":30000,"70685":30000,"78989":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 800 px)","item":"group_7173","options":[],"id":"reklama-nad-headerem-ponizej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-800-px\" id=\"ekjnewwo23ns32-2074797114\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-powyzej-800-px_5":{"type":"group","id":7172,"elementid":["ekjnewwo23ns32-4b976a76870e90babbb59098a521014f"],"ads":{"70686":{"id":70686,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 3 lata za 500 z\u0142","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1224945579\" data-ekjnewwo23ns32-trackid=\"70686\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70300":{"id":70300,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-947537403\" data-ekjnewwo23ns32-trackid=\"70300\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78991":{"id":78991,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-566815917\" data-ekjnewwo23ns32-trackid=\"78991\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-1920 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-1920-g.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70551":{"id":70551,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-931656909\" data-ekjnewwo23ns32-trackid=\"70551\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"dla aktualnych xgp 1920&#215;170 1\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7172,"name":"Reklamy wewn\u0119trzne \u2013\u00a0XGPU z Indii \u2013 1920\u00d7170","weights":{"70686":10,"70300":10,"78991":10,"70551":10},"type":"default","ordered_ad_ids":[70686,70300,78991,70551],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70551":30000,"70686":30000,"78991":30000,"70300":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (powy\u017cej 800 px)","item":"group_7172","options":[],"id":"reklama-nad-headerem-powyzej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-powyzej-800-px\" id=\"ekjnewwo23ns32-627034324\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-500-px_7":{"type":"group","id":7174,"elementid":["ekjnewwo23ns32-68de0f4088b9b0ae71d5e7b923f79e01"],"ads":{"78987":{"id":78987,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-940671740\" data-ekjnewwo23ns32-trackid=\"78987\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-500 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-500-g.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70312":{"id":70312,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] 600 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-242357879\" data-ekjnewwo23ns32-trackid=\"70312\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70683":{"id":70683,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] \u2013 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1267069101\" data-ekjnewwo23ns32-trackid=\"70683\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 36 msc projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70549":{"id":70549,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1953984692\" data-ekjnewwo23ns32-trackid=\"70549\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 z vpn-em projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7174,"name":"Reklamy wew\u0119trzne \u2013\u00a0XGPU z Indii (500\u00d7115)","weights":{"78987":10,"70312":10,"70683":10,"70549":10},"type":"ordered","ordered_ad_ids":[78987,70312,70683,70549],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"78987":30000,"70312":30000,"70683":30000,"70549":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 500 px)","item":"group_7174","options":[],"id":"reklama-nad-headerem-ponizej-500-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-500-px\" id=\"ekjnewwo23ns32-1070650528\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-800-px_9":{"type":"group","id":7173,"elementid":["ekjnewwo23ns32-08383d9f76623b45bdc8fd003106f80f"],"ads":{"70550":{"id":70550,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-2057783954\" data-ekjnewwo23ns32-trackid=\"70550\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 vpn xgpu projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70302":{"id":70302,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1721785274\" data-ekjnewwo23ns32-trackid=\"70302\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70685":{"id":70685,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1613458666\" data-ekjnewwo23ns32-trackid=\"70685\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 projekt 36 msc\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78989":{"id":78989,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-2007131656\" data-ekjnewwo23ns32-trackid=\"78989\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6 800&#215;130 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-800-g.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7173,"name":"Reklamy wewn\u0119trzne \u2013 XGPU z Indii (800\u00d7130)","weights":{"78989":10,"70685":10,"70302":10,"70550":10},"type":"ordered","ordered_ad_ids":[70550,70302,70685,78989],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70685":30000,"78989":30000,"70302":30000,"70550":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 800 px)","item":"group_7173","options":[],"id":"reklama-nad-headerem-ponizej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-800-px\" id=\"ekjnewwo23ns32-2090089914\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-powyzej-800-px_11":{"type":"group","id":7172,"elementid":["ekjnewwo23ns32-0b44465376b7e92158f3b35d34e4cdb7"],"ads":{"78991":{"id":78991,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-293598521\" data-ekjnewwo23ns32-trackid=\"78991\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-1920 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-1920-g.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70300":{"id":70300,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-114763319\" data-ekjnewwo23ns32-trackid=\"70300\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70686":{"id":70686,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 3 lata za 500 z\u0142","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1165100513\" data-ekjnewwo23ns32-trackid=\"70686\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70551":{"id":70551,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-2072440785\" data-ekjnewwo23ns32-trackid=\"70551\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"dla aktualnych xgp 1920&#215;170 1\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7172,"name":"Reklamy wewn\u0119trzne \u2013\u00a0XGPU z Indii \u2013 1920\u00d7170","weights":{"70686":10,"70300":10,"78991":10,"70551":10},"type":"default","ordered_ad_ids":[78991,70300,70686,70551],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70551":30000,"70300":30000,"78991":30000,"70686":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (powy\u017cej 800 px)","item":"group_7172","options":[],"id":"reklama-nad-headerem-powyzej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-powyzej-800-px\" id=\"ekjnewwo23ns32-1395782139\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-500-px_13":{"type":"group","id":7174,"elementid":["ekjnewwo23ns32-39b06f795c2405b86a2c2645e32e97b5"],"ads":{"70312":{"id":70312,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] 600 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-168698567\" data-ekjnewwo23ns32-trackid=\"70312\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70683":{"id":70683,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] \u2013 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-328416978\" data-ekjnewwo23ns32-trackid=\"70683\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 36 msc projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78987":{"id":78987,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-91344829\" data-ekjnewwo23ns32-trackid=\"78987\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-500 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-500-g.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70549":{"id":70549,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1986361059\" data-ekjnewwo23ns32-trackid=\"70549\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 z vpn-em projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7174,"name":"Reklamy wew\u0119trzne \u2013\u00a0XGPU z Indii (500\u00d7115)","weights":{"78987":10,"70312":10,"70683":10,"70549":10},"type":"ordered","ordered_ad_ids":[70312,70683,78987,70549],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70312":30000,"70683":30000,"70549":30000,"78987":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 500 px)","item":"group_7174","options":[],"id":"reklama-nad-headerem-ponizej-500-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-500-px\" id=\"ekjnewwo23ns32-612255083\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-800-px_15":{"type":"group","id":7173,"elementid":["ekjnewwo23ns32-7b59e3fd57a36b576f31a9114931cf67"],"ads":{"70550":{"id":70550,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1166128993\" data-ekjnewwo23ns32-trackid=\"70550\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 vpn xgpu projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70302":{"id":70302,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-2041985327\" data-ekjnewwo23ns32-trackid=\"70302\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70685":{"id":70685,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1148431528\" data-ekjnewwo23ns32-trackid=\"70685\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 projekt 36 msc\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78989":{"id":78989,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-722479619\" data-ekjnewwo23ns32-trackid=\"78989\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6 800&#215;130 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-800-g.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7173,"name":"Reklamy wewn\u0119trzne \u2013 XGPU z Indii (800\u00d7130)","weights":{"78989":10,"70685":10,"70302":10,"70550":10},"type":"ordered","ordered_ad_ids":[70550,70302,70685,78989],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70302":30000,"70685":30000,"78989":30000,"70550":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 800 px)","item":"group_7173","options":[],"id":"reklama-nad-headerem-ponizej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-800-px\" id=\"ekjnewwo23ns32-640068965\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-powyzej-800-px_17":{"type":"group","id":7172,"elementid":["ekjnewwo23ns32-ee916a07ac13d4b0de8abf13ad988524"],"ads":{"78991":{"id":78991,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1699270096\" data-ekjnewwo23ns32-trackid=\"78991\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-1920 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-1920-g.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70300":{"id":70300,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-477486260\" data-ekjnewwo23ns32-trackid=\"70300\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70551":{"id":70551,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-2000921970\" data-ekjnewwo23ns32-trackid=\"70551\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"dla aktualnych xgp 1920&#215;170 1\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70686":{"id":70686,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 3 lata za 500 z\u0142","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-6013777\" data-ekjnewwo23ns32-trackid=\"70686\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7172,"name":"Reklamy wewn\u0119trzne \u2013\u00a0XGPU z Indii \u2013 1920\u00d7170","weights":{"70686":10,"70300":10,"78991":10,"70551":10},"type":"default","ordered_ad_ids":[78991,70300,70551,70686],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70300":30000,"78991":30000,"70686":30000,"70551":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (powy\u017cej 800 px)","item":"group_7172","options":[],"id":"reklama-nad-headerem-powyzej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-powyzej-800-px\" id=\"ekjnewwo23ns32-1561881909\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-500-px_19":{"type":"group","id":7174,"elementid":["ekjnewwo23ns32-d81d82b7a7abd15a5c1056defb2fb2dd"],"ads":{"70312":{"id":70312,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] 600 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1362513212\" data-ekjnewwo23ns32-trackid=\"70312\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70683":{"id":70683,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--2--] \u2013 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-2013641302\" data-ekjnewwo23ns32-trackid=\"70683\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 36 msc projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70549":{"id":70549,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1878311529\" data-ekjnewwo23ns32-trackid=\"70549\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"500&#215;115 z vpn-em projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a500.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78987":{"id":78987,"title":"Reklama nad headerem (poni\u017cej 500 px | 500 x 115 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"500"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-95431671\" data-ekjnewwo23ns32-trackid=\"78987\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-500 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-500-g.jpg\" alt=\"\"  width=\"500\" height=\"115\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7174,"name":"Reklamy wew\u0119trzne \u2013\u00a0XGPU z Indii (500\u00d7115)","weights":{"78987":10,"70312":10,"70683":10,"70549":10},"type":"ordered","ordered_ad_ids":[70312,70683,70549,78987],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"78987":30000,"70549":30000,"70683":30000,"70312":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 500 px)","item":"group_7174","options":[],"id":"reklama-nad-headerem-ponizej-500-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-500-px\" id=\"ekjnewwo23ns32-211419419\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-ponizej-800-px_21":{"type":"group","id":7173,"elementid":["ekjnewwo23ns32-0dd887bb96dfe4b1e3c6f5b5a8161b90"],"ads":{"70550":{"id":70550,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--4--] XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-285738453\" data-ekjnewwo23ns32-trackid=\"70550\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 vpn xgpu projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70302":{"id":70302,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-392537018\" data-ekjnewwo23ns32-trackid=\"70302\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70685":{"id":70685,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) [--2--] 30 msc XGPU za 550","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1879660760\" data-ekjnewwo23ns32-trackid=\"70685\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"800&#215;130 projekt 36 msc\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-800.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78989":{"id":78989,"title":"Reklama nad headerem (poni\u017cej 800 px | 800 x 130 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_lower","value":"800"},{"type":"device_width","operator":"is_higher","value":"501"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-384842191\" data-ekjnewwo23ns32-trackid=\"78989\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6 800&#215;130 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-800-g.jpg\" alt=\"\"  width=\"800\" height=\"130\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7173,"name":"Reklamy wewn\u0119trzne \u2013 XGPU z Indii (800\u00d7130)","weights":{"78989":10,"70685":10,"70302":10,"70550":10},"type":"ordered","ordered_ad_ids":[70550,70302,70685,78989],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"70302":30000,"78989":30000,"70550":30000,"70685":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (poni\u017cej 800 px)","item":"group_7173","options":[],"id":"reklama-nad-headerem-ponizej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-ponizej-800-px\" id=\"ekjnewwo23ns32-2042148842\">","after":"<\/div>"}],"inject_before":[""]},"reklama-nad-headerem-powyzej-800-px_23":{"type":"group","id":7172,"elementid":["ekjnewwo23ns32-cd4a8ece72d5aea36bafde8abf24918d"],"ads":{"70551":{"id":70551,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) XGPU 68% taniej dla aktualnych","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-895731558\" data-ekjnewwo23ns32-trackid=\"70551\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/bardzo-tani-xbox-game-pass-ultimate-aktualni-uzytkownicy\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"dla aktualnych xgp 1920&#215;170 1\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/xgpu-a1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70300":{"id":70300,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 750 dni XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1611005348\" data-ekjnewwo23ns32-trackid=\"70300\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/600-dni-xbox-game-pass-ultimate-za-300-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/600dni-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"70686":{"id":70686,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) 3 lata za 500 z\u0142","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-1521790667\" data-ekjnewwo23ns32-trackid=\"70686\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/30-miesiecy-xbox-game-pass-ultimate-za-550-zl\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"Untitled\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/09\/30msc-1920.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}},"78991":{"id":78991,"title":"Reklama nad headerem (powy\u017cej 800 px | 1920 x 170 px) BO6 XGPU","expiry_date":0,"visitors":[{"type":"device_width","operator":"is_higher","value":"801"}],"content":"<div class=\"rw-plktk ekjnewwo23ns32-target\" id=\"ekjnewwo23ns32-215931122\" data-ekjnewwo23ns32-trackid=\"78991\" data-ekjnewwo23ns32-trackbid=\"1\"><a data-no-instant=\"1\" href=\"https:\/\/xgp.pl\/promocje\/kup-xbox-game-pass-ultimate-od-15-zl-za-miesiac-zagraj-w-call-of-duty-black-ops-6-na-premiere\/\" rel=\"sponsored\" class=\"adv-link\" aria-label=\"bo6-1920 projekt\"><img src=\"https:\/\/xgp.pl\/wp-content\/uploads\/2024\/10\/bo6-1920-g.jpg\" alt=\"\"  width=\"1920\" height=\"170\"  style=\" max-width: 100%; height: auto;\" \/><\/a><\/div>","once_per_page":0,"debugmode":!1,"blog_id":1,"type":"image","position":"none","tracking_enabled":!0,"privacy":{"ignore":!1,"needs_consent":!1}}},"group_info":{"id":7172,"name":"Reklamy wewn\u0119trzne \u2013\u00a0XGPU z Indii \u2013 1920\u00d7170","weights":{"70686":10,"70300":10,"78991":10,"70551":10},"type":"default","ordered_ad_ids":[70551,70300,70686,78991],"ad_count":1,"refresh_enabled":!0,"refresh_interval_for_ads":{"78991":30000,"70300":30000,"70686":30000,"70551":30000}},"placement_info":{"type":"xgp","name":"Reklama nad headerem (powy\u017cej 800 px)","item":"group_7172","options":[],"id":"reklama-nad-headerem-powyzej-800-px"},"test_id":null,"group_wrap":[{"before":"<div class=\"ekjnewwo23ns32-reklama-nad-headerem-powyzej-800-px\" id=\"ekjnewwo23ns32-1214498142\">","after":"<\/div>"}],"inject_before":[""]}};window.advads_has_ads=[["79220","ad","Reklama w tle strony (BG AD) \u2013 G2A.COM","off"]];(window.advanced_ads_ready||jQuery(document).ready).call(null,function(){if(!window.advanced_ads_pro){console.log("Advanced Ads Pro: cache-busting can not be initialized")}})
;!function(){window.advanced_ads_ready_queue=window.advanced_ads_ready_queue||[],advanced_ads_ready_queue.push=window.advanced_ads_ready;for(var d=0,a=advanced_ads_ready_queue.length;d<a;d++)advanced_ads_ready(advanced_ads_ready_queue[d])}();
;var advads_tracking_ads={"1":[79220]};var advads_tracking_urls={"1":"https:\/\/xgp.pl\/wp-content\/ajax-handler.php"};var advads_tracking_methods={"1":"frontend"};var advads_tracking_parallel={"1":!1};var advads_tracking_linkbases={"1":"https:\/\/xgp.pl\/r\/"}
;if(window.localStorage.getItem('pop_impressions_start')==null||new Date().getTime()>(Number(window.localStorage.getItem('pop_impressions_start'))+(24*3600*1000))){window.localStorage.removeItem('pop_impressions');window.localStorage.setItem('pop_impressions_start',new Date().getTime())}else{console.log("Zostało "+(Number(window.localStorage.getItem('pop_impressions_start'))-(10*1*1000)))}
window.popManager={pops:[],pop:{},link:undefined,impressions(){return Number(window.localStorage.getItem("pop_impressions"))},check(){if(this.pops.length==0){return!1}
this.pops.forEach((item)=>{if(Object.keys(this.pop).length>0){return}
if(item.start==0&&this.impressions()==1){item.runNow=!0;this.pop=item;return}else if(item.start==this.impressions()){this.pop=item;return}else if(this.impressions()%item.impressions==0){this.pop=item;return}})
if(Object.keys(this.pop).length==0){return!1}
let r=!0;jQuery.get("https://xgp.pl/jupwgjqvcnlqjtqjlg.php",function(res){if(res==1){window.popManager.setHandlers();window.popManager.insert()}})},insert(){console.log(this.pop,this.impressions())
if(this.pop.id.includes("group_")){var elements=document.querySelectorAll('script[data-group="'+this.pop.id+'"]');var data=[];var i=0;elements.forEach((id,el)=>{data.push([Number(jQuery(id).attr('data-elem')),Number(jQuery(id).attr('data-weight'))]);i++})
data=Object.fromEntries(data);function randomElement(elements){const wagiSuma=Object.values(elements).reduce((a,b)=>a+b,0);const losowaLiczba=Math.random()*wagiSuma;let aktualnaSuma=0;for(const element in elements){if(losowaLiczba>=aktualnaSuma&&losowaLiczba<aktualnaSuma+elements[element]){return element}
aktualnaSuma+=elements[element]}}
var elem=randomElement(data);console.log({elements:data,los:elem})
jQuery("#popContainer").append(jQuery("#popTemplate"+this.pop.id+"_"+elem).html())}else{jQuery("#popContainer").append(jQuery("#popTemplate"+this.pop.id).html())}
if(this.pop.runNow==!0){if(document.cookie.includes("euconsent-v2")){window.clearInterval(window.checkCookiePop);setTimeout(()=>{jQuery("#pp-bnr").css("display","block");document.dispatchEvent(new CustomEvent('ppBnrLoaded'))},this.pop.timeout)}else{window.checkCookiePop=setInterval(()=>{if(document.cookie.includes("euconsent-v2")){window.clearInterval(window.checkCookiePop);setTimeout(()=>{jQuery("#pp-bnr").css("display","block");document.dispatchEvent(new CustomEvent('ppBnrLoaded'))},this.pop.timeout)}},100)}}
if(jQuery(".hasMobileReplacement")){jQuery(".hasMobileReplacement").each((elem,item)=>{elem=jQuery(item);if(elem.attr('data-desktop-url')==undefined){elem.attr('data-desktop-url',elem.attr('href'))}
if(elem.attr('data-mobile-url')!=undefined){if(jQuery(window).width()<750){elem.attr("href",elem.attr('data-desktop-url')+'?mobile='+elem.attr('data-mobile-url'))}else{elem.attr("href",elem.attr('data-desktop-url'))}}})}},setHandlers(){jQuery(document).on('click','.ekjnewwo23ns32-close-button',function(ev){ev.preventDefault();window.clearInterval(window.popupProgress)
if(window.popManager.link!=undefined){window.location.href=window.popManager.link}
document.body.classList.remove('hasPop');jQuery("#popContainer").html('')})
jQuery(document).on("click","a[href^='https://xgp.pl']:not([href*='https://xgp.pl/r/']):not([href*='https://xgp.pl/wp-content/uploads'])",function(ev){if(document.querySelector("#pp-bnr")==undefined||jQuery('#pp-bnr').css("display")=="block"){return}
ev.preventDefault();if(jQuery('#pp-bnr').css("display")=="none"){jQuery("#pp-bnr").css("display","block");window.popManager.link=jQuery(this).attr('href');document.dispatchEvent(new CustomEvent('ppBnrLoaded'))}})
jQuery(document).on('ppBnrLoaded',()=>{if(window.popupProgress!=undefined){return}
if(document.querySelector("#popContainer").innerHTML.trim().length==0){return}
document.body.classList.add('hasPop');window.clearInterval(window.checkPpBnrVisible);let time=Number(jQuery("#pp-bnr").attr('data-time'));window.popupProgress_time=time;jQuery("#closeTime").text(time);window.popupProgress_start=new Date().getTime();window.popupProgress_stop=window.popupProgress_start+(time*1000);jQuery("head").append("<style>body #pp-bnr .progress div {transition-duration: "+time+"s;}</style>")
setTimeout(()=>{jQuery("body").addClass('progressRun')},100);AdvAdsImpressionTracker.sendTrack(1,[jQuery("#pp-bnr").parent().attr("data-ekjnewwo23ns32-trackid")]);window.popupProgress=setInterval(()=>{let w=Number((new Date().getTime()-window.popupProgress_start)/1000).toFixed(0);let t=Number(jQuery("#pp-bnr").attr('data-time'))-Number(w).toFixed(0);jQuery("#pp-bnr .progress div").css('max-width',window.innerWidth+"px");if(t<=0){window.clearInterval(window.popupProgress)
jQuery('.ekjnewwo23ns32-close-button').trigger('click')}else{jQuery("#closeTime").text(t)}},1000)})},run(){console.log(window.localStorage)
if(window.localStorage.getItem("pop_impressions")==null){window.localStorage.setItem("pop_impressions",0)}
window.localStorage.setItem("pop_impressions",this.impressions()+1);console.log(this.impressions())
if(this.check()===!1){return}}};window.popManager.pops.push({id:'group_7722',timeout:2500,impressions:7,start:0});document.addEventListener('DOMContentLoaded',function(){window.popManager.run()})
;document.addEventListener('DOMContentLoaded',function(){q2w3_sidebar_options[0].margin_top=document.getElementById("masthead").getBoundingClientRect().height-10});window.addEventListener('resize',function(){q2w3_sidebar_options[0].margin_top=document.getElementById("masthead").getBoundingClientRect().height-10})
;const props=document.querySelectorAll('.cons-head');props.forEach(function(elem){elem.parentNode.closest('.wp-block-columns').classList.add("pros-cons-box")});document.getElementById("scrollToTop").addEventListener('click',function(ev){window.scroll({behavior:'smooth',left:0,top:0})});function detectBlock(){let detected=!1;let item=document.querySelector('.ad');if(!item){detected=!0}else if(item.style.display=="none"||item.style.display=="none !important"){detected=!0}else if(item.offsetHeight==0){detected=!0}
return detected}
window.onload=function(){setTimeout(function(){if(detectBlock()==!0){if(!jQuery('body').hasClass('page')&&!jQuery('body').hasClass('rodzaj-1294')&&!jQuery('body').hasClass('rodzaj-1266')&&!jQuery('body').hasClass('rodzaj-1450')&&!jQuery('body').hasClass('post-cat-6')){if(document.getElementById('ez-toc-container')){}else{}}
let boxes=jQuery(".rd-content, .aff-box-content").get();boxes.forEach((box)=>{let link=jQuery(box).find("a:first");if(link.attr("href").includes("xgp.pl/r/")){jQuery(box).prop("outerHTML",(jQuery(box).prop("outerHTML")+'<div class="rd-block"><span>Jeżeli linki się nie otwierają, <b>wyłącz Adblocka</b>, bo to on je blokuje.</span></div>'))}})
let boxes2=jQuery(".aff-box-2-content").get();boxes2.forEach((box)=>{let link=jQuery(box).find("a:first");if(link.attr("href").includes("xgp.pl/r/")){if(jQuery(box).parent().find('.abphldr').length){jQuery(box).parent().find('.abphldr')[0].outerHTML='<div class="rd-block rd-block-2"><span>Jeżeli linki się nie otwierają, <b>wyłącz Adblocka</b>, bo to on je blokuje.</span></div>'+jQuery(box).parent().find('.abphldr')[0].outerHTML}else{jQuery(box).prop("outerHTML",(jQuery(box).prop("outerHTML")+'<div class="rd-block rd-block-2"><span>Jeżeli linki się nie otwierają, <b>wyłącz Adblocka</b>, bo to on je blokuje.</span></div>'))}}})
var codecopy_tooltip=document.querySelector('.codecopy_tooltip');document.querySelectorAll("code").forEach(function(element){codecopy_apply(element)})}
var links=document.querySelectorAll(".entry-content a");if(links){for(var i=0;i<links.length;i++){if(!links[i].classList.contains("notrack")&&links[i].getAttribute("href").includes('xgp.pl/r/')){document.querySelector('.xgpPartnerInfoBoxWrapper').style.display="block";console.log(links[i]);break}}}},500)}
;