1/**handles:popupaoc-public-js**/ 2var paoc_ideal_timer=0;function popupaoc_open_popup(o,p,e){var a=1;1==(a="function"==typeof popupaoc_popup_befoer_open?popupaoc_popup_befoer_open(a,o,p,e):a)&&(popupaoc_set_popup_events(o,p,e),new Custombox.modal(p).open())}function popupaoc_set_popup_events(p,e,a){e.content.onOpen=function(){jQuery("html").addClass("custombox-lock"),jQuery(".custombox-overlay, .custombox-content").removeClass("paoc-popup-active"),jQuery(".custombox-overlay").not(".paoc-popup-overlay").addClass("paoc-popup-active paoc-popup-overlay paoc-popup-overlay-"+a.id),jQuery(".custombox-content").not(".paoc-cb-popup").addClass("paoc-popup-active paoc-cb-popup paoc-cb-popup-"+a.id+" paoc-popup-"+e.content.positionX+"-"+e.content.positionY),0==e.overlay.active&&0==e.content.fullscreen&&jQuery(".custombox-content.paoc-popup-active").addClass("paoc-hide-overlay"),0==e.overlay.active&&jQuery("html").css({overflow:"auto","margin-right":"0"});var o=jQuery(".slick-slider").attr("id");void 0!==o&&""!=o&&jQuery("#"+o).slick("setPosition"),jQuery(document.body).trigger("paoc_popup_open",[p,e])},e.content.onComplete=function(){var o;jQuery(".custombox-content").addClass("paoc-cb-popup-complete"),0!=a.disappear&&("normal"==a.disappear_mode?o=setInterval(function(){(paoc_ideal_timer+=1)>=a.disappear&&(Custombox.modal.close(),clearInterval(o))},1e3):"force"==a.disappear_mode&&setTimeout(function(){Custombox.modal.close()},1e3*a.disappear)),jQuery(window).trigger("resize"),jQuery(document.body).trigger("paoc_popup_complete",[p,e])},e.content.onClose=function(){jQuery("html").removeClass("custombox-lock");var o=a.cookie_prefix+"_"+a.id;""!==a.cookie_expire&&popupaoc_create_cookie(o,1,a.cookie_expire,a.cookie_unit,"Lax"),jQuery(document.body).trigger("paoc_popup_close",[p,e])}}function popupaoc_popup_active_flag(o,p,e,a){var c=!1;return void 0!==e.cookie_expire&&""!==e.cookie_expire&&null!=popupaoc_get_cookie_value(e.cookie_prefix+"_"+e.id)?0:1}function popupaoc_create_cookie(o,p,e,a,c){var e,a,a,c;e=e||!1,c=c?";SameSite="+c:"",a="hour"==(a=a||"day")?60*e*60*1e3:"minutes"==a?60*e*1e3:24*e*60*60*1e3,a=e?((e=new Date).setTime(e.getTime()+a),"; expires="+e.toGMTString()):"",document.cookie=encodeURIComponent(o)+"="+p+a+"; path=/"+c}function popupaoc_get_cookie_value(o){for(var p=null,e=o+"=",a=document.cookie.split(";"),c=0;c<a.length;c++){for(var t=a[c];" "==t.charAt(0);)t=t.substring(1,t.length);0==t.indexOf(e)&&(p=t.substring(e.length,t.length))}return p}(i=>{i('.paoc-popup iframe[src*="vimeo.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="dailymotion.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="youtube.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="m.youtube.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="youtu.be"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="screencast-o-matic.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="videopress.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="video.wordpress.com"]').wrap('<div class="paoc-iframe-wrap" />'),i('.paoc-popup iframe[src*="fast.wistia.net"]').wrap('<div class="paoc-iframe-wrap" />'),i(document).on("mousemove keypress scroll click touchstart touchmove",function(){paoc_ideal_timer=0}),i(".paoc-popup-page-load.paoc-popup-js").each(function(o){var p=i(this).attr("id"),e,a,c;if(void 0!==p)return e=i("#"+p).data("popup-conf"),a=i("#"+p).data("conf"),1==popupaoc_popup_active_flag(o,p,a,e)&&setTimeout(function(){popupaoc_open_popup(p,e,a)},a.open_delay),!1}),i(document).on("click",'[class*="paoc-popup-cust-"]',function(){var o=i(this).attr("class").split(" ");return i.each(o,function(o,p){var e,p,p,a,c,t,r;p.indexOf("paoc-popup-cust-")<0||(p=(p=p.replace("paoc-popup-cust-","paoc-popup-")).trim(),a=i("."+p).attr("id"),c=i("#"+a).data("popup-conf"),t=i("#"+a).data("conf"),void 0===a)||"simple_link"!=t.popup_type&&"button"!=t.popup_type&&"image"!=t.popup_type||1==popupaoc_popup_active_flag(o,a,t,c)&&setTimeout(function(){popupaoc_open_popup(a,c,t)},t.open_delay)}),!1}),i(document).on("click",".paoc-popup-close",function(){i(".custombox-content").removeClass("paoc-cb-popup-complete"),i("html").removeClass("custombox-lock"),Custombox.modal.close()})})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.