(void 0===window.w_height||0===window.w_height)&&(window.w_height=window.innerHeight),(void 0===window.w_width||0===window.w_width)&&(window.w_width=window.innerWidth),goog_adslots=[],first_scrl=!1,scroll_const=100,goog_year_change=!1,total_in_cont_ads=0,window.max_sidebar_ads=4,window.s_number_of_ads_loading=0,window.balance_load=300;var scroll_min_sticky_distance=850;window.ads_per_distance_class="w850",window.ads_per_distance=850,(window.is_long_article||window.w_width350)var t=[[300,250],[336,280],[250,250]];else var t=[[300,250],[250,250]];return size_map=window.sizes_db_desktop,w_size>=728?(w_size<1100&&w_size>=728&&(size_map=window.sizes_db_tablet),t=cis_get_size_by_slot_id(e,size_map),e.includes("SEJ_300x250_UnderPost")&&(w_size>=1024&&w_size=728&&(t=[[728,90]]))):t=cis_get_size_by_slot_id(e,window.sizes_db_mobile),t}function s_sleep(e){let t=Date.now(),$=null;do $=Date.now();while($-t0&&(null==$||""==$||"destroyed"==$||void 0===$)){entry.target.getAttribute("data-slot")?(slot_id=entry.target.getAttribute("data-slot"),cont_id=entry.target.getAttribute("id")):cont_id=slot_id=entry.target.getAttribute("id");var s="n";entry.target.getAttribute("data-size")&&(s=entry.target.getAttribute("data-size"));var a=void 0;entry.target.getAttribute("data-p-slot")&&(a=entry.target.getAttribute("data-p-slot")),unit={slot_id:slot_id,div_id:cont_id,element:entry.target,data_size:s,tmp_slot_id:a},slog("ad slot before CMD PUSH ="+cont_id),window.spromise?async function(){await s_ad_trigger(unit)}():lazy_ads_make_request(unit),sremoveClass(entry.target,"sadslots"),sremoveClass(entry.target,"sadslots_p"),entry.target.setAttribute("data-obs","observed");let d=Date.now();entry.target.setAttribute("data-loaded-moment",d);let r=entry.boundingClientRect;entry.target.setAttribute("data-dist",window.pageYOffset+r.top);let n=["SEJ_Mobile_Sticky_Bottom","under_related_posts_2","sidebar_1","sidebar_3","sidebar_sec_rail_1st","sidebar_sec_rail_2nd","sidebar_sec_rail_3rd","sidebar_sec_rail_4th","hello_bar_sticky"];t.unobserve(entry.target),sej_search_in_array(n,cont_id)||destroyObserver.observe(entry.target),slog("lazyLoadObserver ad LOADED : "+cont_id)}}}window.sizes_db_desktop={Top_Header_LeaderBoard:[[970,250]],SEJ_320x50_Header_Mobile:[[300,100],[320,100]],SEJ_300x250_Sidebar0:[[300,600],[160,600]],SEJ_300x250_Sidebar2:[[300,250],[336,280],[250,250]],SEJ_300x250_Sidebar3:[[300,600],[160,600]],SEJ_300x250_Sidebar1:[[336,280],[300,250],[250,250]],SEJ_300x250_Sidebar_1:[[336,280],[300,250],[250,250]],sidebar_1:[[336,280],[300,250],[250,250]],sidebar_3:[[300,600],[160,600]],SEJ_300x250_Sidebar4:[[300,600],[160,600]],SEJ_300x250_Sidebar6:[[160,600],[120,600]],SEJ_300x250_Sidebar5:[[336,280],[300,250],[250,250]],SEJ_Under_Featured_Image:[[728,90]],SEJ_300x250_UnderPost:[[728,90]],SEJ_MediaNet_Unit:[[580,400],[728,90],[750,200],[750,300]],under_related_posts_2:[[728,90],[970,90]],hello_bar_sticky:[[728,90],[970,90]],SEJ_728x90_Footer:[[970,250]],SEJ_Infinite_Sidebar:[[336,280],[300,250],[250,250]],SEJ_Infinite_Middle_Post:[[728,90]],SEJ_Infinite_Under_Featured:[[728,90]],SEJ_Infinite_Under_Related:[[970,250],[970,90],[728,90]],SEJ_Mobile_Sticky_Bottom:[[320,50],[320,100],[300,100],[300,50],[300,75]],SEJ_IN_LOOP:[[728,90]],SEJ_LOOP_SIDE2:[[336,280],[300,250],[250,250]],SEJ_Middle_Big:[[300,600]]},is_adblocker&&(window.sizes_db_desktop.Top_Header_LeaderBoard=[[728,90]]),g_algo,window.sizes_db_tablet={Top_Header_LeaderBoard:[[728,90]],SEJ_320x50_Header_Mobile:[[300,100],[320,100]],SEJ_300x250_Sidebar0:[[300,600],[160,600]],SEJ_300x250_Sidebar2:[[300,250],[250,250]],SEJ_300x250_Sidebar3:[[300,600],[160,600]],SEJ_300x250_Sidebar1:[[300,250],[250,250]],SEJ_300x250_Sidebar_1:[[336,280],[300,250],[250,250]],sidebar_1:[[336,280],[300,250],[250,250]],sidebar_3:[[300,600],[160,600]],SEJ_300x250_Sidebar4:[[300,600],[160,600]],SEJ_300x250_Sidebar5:[[300,250],[250,250]],SEJ_300x250_Sidebar6:[[160,600],[120,600]],SEJ_Under_Featured_Image:[[336,280],[300,250]],SEJ_300x250_UnderPost:[[300,250]],SEJ_MediaNet_Unit:[[336,280],[300,250]],under_related_posts_2:[[728,90]],hello_bar_sticky:[[728,90],[970,90]],SEJ_728x90_Footer:[[728,90]],SEJ_Infinite_Sidebar:[[300,250],[250,250]],SEJ_Infinite_Middle_Post:[[336,280],[300,250],[250,250]],SEJ_Infinite_Under_Featured:[[336,280],[300,250],[250,250]],SEJ_Infinite_Under_Related:[[300,250],[728,90]],SEJ_Mobile_Sticky_Bottom:[[320,50],[320,100],[300,100],[300,50],[300,75]],SEJ_IN_LOOP:[[336,280],[300,250],[250,250]],SEJ_LOOP_SIDE2:[[336,280],[300,250],[250,250]],SEJ_Middle_Big:[[300,600]]},window.sizes_db_mobile={Top_Header_LeaderBoard:[[300,250]],SEJ_320x50_Header_Mobile:[[300,100],[320,100]],SEJ_300x250_Sidebar0:[[300,600]],SEJ_300x250_Sidebar2:[[300,250],[250,250]],SEJ_300x250_Sidebar3:[[300,600]],SEJ_300x250_Sidebar1:[[300,250],[250,250]],SEJ_300x250_Sidebar_1:[[336,280],[300,250],[250,250]],SEJ_300x250_Sidebar4:[[300,600]],SEJ_300x250_Sidebar5:[[300,250],[250,250]],SEJ_300x250_Sidebar6:[[160,600],[120,600]],SEJ_Under_Featured_Image:[[336,280],[300,250]],SEJ_AMP_IN_POST_300x250:[[336,280],[300,250],[250,250]],SEJ_Middle_Post:[[336,280],[300,250],[250,250]],SEJ_Middle_Big:[[300,600]],SEJ_300x250_UnderPost:[[300,250]],SEJ_MediaNet_Unit:[[336,280],[300,250]],under_related_posts_2:[[336,280],[300,250]],hello_bar_sticky:[[728,90],[970,90]],SEJ_728x90_Footer:[[336,280],[300,250]],SEJ_Infinite_Sidebar:[[300,250],[250,250]],SEJ_Infinite_Middle_Post:[[336,280],[300,250],[250,250]],SEJ_Infinite_Under_Featured:[[336,280],[300,250],[250,250]],SEJ_Infinite_Under_Related:[[300,250],[728,90]],SEJ_Mobile_Sticky_Bottom:[[320,50],[320,100],[300,100],[300,50],[300,75]],SEJ_IN_LOOP:[[336,280],[300,250],[250,250]],SEJ_LOOP_SIDE2:[[336,280],[300,250],[250,250]]},void 0===window.ad_slot_alias2&&(window.ad_slot_alias2=[["SEJ_300x250_Sidebar6",["sidebar_sec_rail_1st","sidebar_sec_rail_2nd","sidebar_sec_rail_3rd","sidebar_sec_rail_4th"]]]),appendAliases(window.ad_slot_alias2,window.sizes_db_desktop),appendAliases(window.ad_slot_alias2,window.sizes_db_tablet),appendAliases(window.ad_slot_alias2,window.sizes_db_mobile),observer_api=!1,void 0!==window.IntersectionObserver&&window.IntersectionObserver?observer_api=!0:sloadScript("https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver%2CIntersectionObserverEntry",function(){observer_api=!0,console.log("observer polyfill"),inf_ads_load_main_init()}),window.s_ga_err_detail_unique=!0,window.lazy_ads_make_request=lazy_ads_make_request,void 0===window.lazy_load_ad&&(smobile?window.lazy_load_ad=2500:window.lazy_load_ad=1800),soptions={root:null,rootMargin:window.lazy_load_ad+"px",threshold:0},smobile?(window.destroy_ad_margin=6e4,window.destroy_interval=15):(window.destroy_ad_margin=45e3,window.destroy_interval=25);const destroyOptions={root:null,rootMargin:window.destroy_ad_margin+"px",threshold:0};function isPastViewport(e){let t=e.boundingClientRect;return t.bottom<0}function sej_ad_destroyer(e,t){null!=e.getAttribute("id")&&(googletag.destroySlots([t]),e.removeAttribute("data-viewed-moment"),e.setAttribute("data-obs","destroyed"),window.destroyObserver.unobserve(e),window.lazyLoadObserver.observe(e))}function s_is_ads_libs_ready(){return window.cmpready&&"undefined"!=typeof pbjs&&"undefined"!=typeof googletag&&googletag.apiReady&&null!=pbjs&&pbjs.libLoaded&&void 0!==pbjs.addAdUnits?(console.log("p_ready",!0),!0):(console.log("p_ready",!1),!1)}function sready(e){"loading"!==document.readyState?e():document.addEventListener?document.addEventListener("DOMContentLoaded",e):document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&e()})}window.destroyObserver=new IntersectionObserver(e=>{e.forEach(e=>{if(!e.isIntersecting){let t=e.target.getAttribute("id"),$=e.target.getAttribute("data-obs"),s=Date.now(),a=e.target.getAttribute("data-loaded-moment"),d=!1,r=e.target.getAttribute("data-viewed-moment"),n=(s-a)/1e3;r&&n>window.destroy_interval?d=!0:n<=15?slog(t+" ad wasn't at least 15 second on page: "+n+" sec"):slog(t+" ad wasn't viewed, ad life time: "+n+" sec"),d&&"observed"==$&&"destroyed"!==$&&(slog("Destroyer: ad was destroyed: "+t+" time on page "+n),sej_ad_destroyer(e.target,window.ad_slots[t]))}})},destroyOptions),window.sej_ad_destroyer=sej_ad_destroyer;var delay_ads_load_anchor_url=!1,timeout_cmp=100;function inf_ads_load_main_init(e){if(observer_api){window.goog_adslots=[];let t=document.getElementsByClassName("sadslots_p0"),$=document.getElementsByClassName("sadslots_p"),s=document.getElementsByClassName("sadslots");window.goog_adslots=[].concat(Array.from(t),Array.from($),Array.from(s)),slog("window.goog_adslots"),slog(window.goog_adslots);document.getElementsByClassName("key_takeaways").length>0&&(window.has_summary="yes"),window.innerWidth=1024&&inf_init_sideabr(),striggerEvent("s_ad_load"),console.log("remove_scroll_init"))}function inf_insert_sidebar_div(e,t,$){elem_id="SEJ_300x250_Sidebar2_"+e;var s=document.createElement("div");e%4==0&&w_width,s.setAttribute("class","sej-widget-container m-top-30 "+window.ads_per_distance_class+" text-center"),cis_sidebar_parent.appendChild(s);var a=document.createElement("div");if(s.setAttribute("id",elem_id+"-cont"),a.setAttribute("class","sadslots sticky_s"),a.setAttribute("id",elem_id),a.setAttribute("data-slot","SEJ_300x250_Sidebar2/"+elem_id),a.setAttribute("data-p-slot","SEJ_300x250_Sidebar2"),a.setAttribute("data-size","n"),a.setAttribute("data-adnumber",e-1),$){a.setAttribute("class","sadslots");var d=document.createElement("div");d.setAttribute("class","sticky_s");var r=document.createElement("div");r.setAttribute("class","sadslots m-top-20"),r.setAttribute("id","SEJ_300x250_Sidebar2_99i"),r.setAttribute("data-slot","SEJ_300x250_Sidebar2"),r.setAttribute("data-adnumber",99),d.appendChild(a),d.appendChild(r),s.appendChild(d),lazyLoadObserver.observe(a)}else s.appendChild(a),lazyLoadObserver.observe(a)}function inf_init_sideabr(){if(null==(body_tag=document.querySelector(".post-template-default"))){sremoveClass("#SEJ_300x250_Sidebar2","sticky_s"),sremoveClass("#SEJ_300x250_Sidebar2-cont",window.ads_per_distance_class);return}if(window.half_height=2*window.innerHeight/3,null!=(cis_sidebar_1=document.getElementById("SEJ_300x250_Sidebar2"))&&window.innerWidth>=992)window.cis_first_sidebar_y=soffset(cis_sidebar_1).top,window.cis_sidebar_count=1;else{window.cis_first_sidebar_y=99999999999999;return}window.lastHeaderScrollTop=0;var e=soffset(cis_sidebar_1).top,t=soffset(document.querySelector(".sej-abio")).top+300,$=soffset(document.querySelector(".yarpp-related")).top+350,s=t-e+250;function a(){if(!(window.innerWidth<1024)){if(t-e<=scroll_min_sticky_distance&&1==window.cis_sidebar_count){e+500>$?(sremoveClass("#SEJ_300x250_Sidebar2-cont",window.ads_per_distance_class),sremoveClass("#SEJ_300x250_Sidebar2-cont","w1100"),sremoveClass("#SEJ_300x250_Sidebar2-cont","w720"),sremoveClass("#SEJ_300x250_Sidebar2-cont","w650"),sremoveClass("#SEJ_300x250_Sidebar2-cont","w850"),sremoveClass("#SEJ_300x250_Sidebar2-cont","w1050"),sremoveClass("#SEJ_300x250_Sidebar2-cont","w950")):(free_space_2=$-e-100)>0&&(document.querySelector("#SEJ_300x250_Sidebar2-cont").style="height:"+free_space_2+"px"),document.removeEventListener("scroll",a),window.ss_insert_stop=!0;return}var d=Math.round(document.documentElement.scrollTop);if("down"==(direction=d>window.lastHeaderScrollTop?"down":"up")&&d+1.5*window.w_height>window.cis_first_sidebar_y&&window.innerWidth>=992)for(cc=0,t=soffset(document.querySelector(".sej-abio")).top,related_posts=soffset(document.querySelector(".yarpp-related")).top;cc<3;cc++){if(e>t||window.cis_sidebar_count>window.max_count||window.cis_sidebar_count>window.max_sidebar_ads){document.removeEventListener("scroll",a),free_space=related_posts-soffset(last_sidebar).top;let r="[[300,600],[300,250],[336,280]]";w_width500&&(free_space+=300,sremoveClass("#SEJ_300x250_Sidebar2_"+window.cis_sidebar_count+"-cont",[window.ads_per_distance_class,"w1100"]),document.querySelector("#SEJ_300x250_Sidebar2_"+window.cis_sidebar_count+"-cont").style="height:"+free_space+"px"),slog("free_space = "+free_space),slog("22 sidebar_h = "+e+" post_sec_h = "+t+" scroll_availble_h = "+s),window.ss_insert_stop=!0,window.cis_sidebar_count>window.max_sidebar_ads&&(window.cis_first_sidebar_y=999999999999999);break}window.cis_sidebar_count++,inf_insert_sidebar_div(window.cis_sidebar_count,d,!1),last_sidebar=document.getElementById("SEJ_300x250_Sidebar2_"+window.cis_sidebar_count),window.cis_sidebar_count,e=soffset(last_sidebar).top+scroll_min_sticky_distance+280,1==cc&&(null!=last_sidebar?(next_y=soffset(last_sidebar).top,window.cis_first_sidebar_y=next_y):window.cis_first_sidebar_y=999999999999999)}}}window.ss_insert_stop=!1,window.remnant_space=0,window.max_count=Math.round(s/window.ads_per_distance),slog("window.max_count = "+window.max_count+" ads_per_distance = "+window.ads_per_distance+" scroll_availble_h = "+s),window.max_count<69999999&&window.max_count>=1&&(new_size=[[336,280],[300,250],[250,250]],w_width<1200&&(new_size=[[300,250],[250,250]]),window.sizes_db_desktop.SEJ_300x250_Sidebar2=new_size,window.max_count=Math.round(s/window.ads_per_distance),slog("33 window.max_count = "+window.max_count+" ads_per_distance = "+ads_per_distance+" scroll_availble_h = "+s)),slog("sidebar_h = "+e+" post_sec_h = "+t+" scroll_availble_h = "+s),null==(no_inf_sidebar=document.querySelector(".no-inf-sidebar"))&&setTimeout(function(){e=soffset(cis_sidebar_1).top,t=soffset(document.querySelector(".sej-abio")).top+300,$=soffset(document.querySelector(".yarpp-related")).top+350,s=t-e+250,window.max_count=Math.round(s/window.ads_per_distance),supportsPassive?document.addEventListener("scroll",a,{passive:!0}):document.addEventListener("scroll",a)},2e3),last_sidebar=""}function inf_init_sidebar_160_600(e,t){if(e>0){let $=document.getElementById("sidebar_2x");if(null!=$){e+=2;for(let s=0;s<=e;s++){let a=document.createElement("div"),d=document.createElement("div");elem_id="SEJ_300x250_Sidebar6_"+(s+5)+"-cont",d.setAttribute("id",elem_id),d.setAttribute("data-slot","SEJ_300x250_Sidebar6"),d.setAttribute("class","mh600 sadslots"),a.setAttribute("id",elem_id),a.setAttribute("class","sidebar6 text-center m-top-40"),a.appendChild(d),$.appendChild(a),t.observe(d)}}}}void 0!==window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation").length>0&&void 0!==performance.getEntriesByType("navigation")[0].name&&performance.getEntriesByType("navigation")[0].name.includes(":~:text=")&&(delay_ads_load_anchor_url=!0,timeout_cmp=1e3),sready(function(){s_is_ads_libs_ready()&&!1==delay_ads_load_anchor_url?inf_ads_load_main_init(!0):setTimeout(()=>{inf_ads_load_main_init(!1)},timeout_cmp)}),window.ifs_scrolled=!1;