PageSourceSearch

https://jewinthecity.com/wp-content/plugins/wp-ajaxify-comments/di…?ver=36960611fc16aca4a04a

js jewinthecity.com collected 2026-09-24 20:03:00 UTC 48,353 bytes, 2 lines download raw bytes

1/*! For license information please see wpac-frontend-js.js.LICENSE.txt */
2(()=>{var e={281:(e,t,o)=>{var n,r,i;!function(){"use strict";function s(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),r=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){a(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,o,n,r){var i=e('<div class="growlUI"></div>');t&&i.append("<h1>"+t+"</h1>"),o&&i.append("<h2>"+o+"</h2>"),void 0===n&&(n=3e3);var s=function(t){t=t||{},e.blockUI({message:i,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:r,css:e.blockUI.defaults.growlCSS})};s(),i.css("opacity"),i.mouseover((function(){s({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)})).mouseout((function(){e(".blockMsg").fadeOut(1e3)}))},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each((function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})})),this.each((function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,a(this,t)}))},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each((function(){l(this,t)}))},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var i=null,s=[];function a(a,c){var d,m,h=a==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(a).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),d=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),m=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,h&&i&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var y=g.jquery?g[0]:g,C={};e(a).data("blockUI.history",C),C.el=y,C.parent=y.parentNode,C.display=y.style.display,C.position=y.style.position,C.parent&&C.parent.removeChild(y)}e(a).data("blockUI.onUnblock",c.onUnblock);var b,P,A,w,v=c.baseZ;b=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+v+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),P=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+v+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+v+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(v+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(v+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(v+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(v+10)+';display:none;position:absolute"></div>',A=e(w),g&&(c.theme?(A.css(m),A.addClass("ui-widget-content")):A.css(d)),c.theme||P.css(c.overlayCSS),P.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&b.css("opacity",0);var W=[b,P,A],_=e(h?"body":a);e.each(W,(function(){this.appendTo(_)})),c.theme&&c.draggable&&e.fn.draggable&&A.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var k=r&&(!e.support.boxModel||e("object,embed",h?null:a).length>0);if(n||k){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var x=f(a,"borderTopWidth"),S=f(
2a,"borderLeftWidth"),O=x?"(0 - "+x+")":0,U=S?"(0 - "+S+")":0;e.each(W,(function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),U&&o.setExpression("left",U),O&&o.setExpression("top",O);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}}))}if(g&&(c.theme?A.find(".ui-widget-content").append(g):A.append(g),(g.jquery||g.nodeType)&&e(g).show()),(o||c.forceIframe)&&c.showOverlay&&b.show(),c.fadeIn){var T=c.onBlock?c.onBlock:t,I=c.showOverlay&&!g?T:t,j=g?T:t;c.showOverlay&&P._fadeIn(c.fadeIn,I),g&&A._fadeIn(c.fadeIn,j)}else c.showOverlay&&P.show(),g&&A.show(),c.onBlock&&c.onBlock.bind(A)();if(u(1,a,c),h?(i=A[0],s=e(c.focusableElements,i),c.focusInput&&setTimeout(p,20)):function(e,t,o){var n=e.parentNode,r=e.style,i=(n.offsetWidth-e.offsetWidth)/2-f(n,"borderLeftWidth"),s=(n.offsetHeight-e.offsetHeight)/2-f(n,"borderTopWidth");t&&(r.left=i>0?i+"px":"0"),o&&(r.top=s>0?s+"px":"0")}(A[0],c.centerX,c.centerY),c.timeout){var D=setTimeout((function(){h?e.unblockUI(c):e(a).unblock(c)}),c.timeout);e(a).data("blockUI.timeout",D)}}}function l(t,o){var n,r,a=t==window,l=e(t),d=l.data("blockUI.history"),p=l.data("blockUI.timeout");p&&(clearTimeout(p),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),u(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),r=a?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(r.length>1&&(r[1].style.cursor=o.cursorReset),r.length>2&&(r[2].style.cursor=o.cursorReset)),a&&(i=s=null),o.fadeOut?(n=r.length,r.stop().fadeOut(o.fadeOut,(function(){0==--n&&c(r,d,o,t)}))):c(r,d,o,t)}function c(t,o,n,r){var i=e(r);if(!i.data("blockUI.isBlocked")){t.each((function(e,t){this.parentNode&&this.parentNode.removeChild(this)})),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),i.removeData("blockUI.history")),i.data("blockUI.static")&&i.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(r,n);var s=e(document.body),a=s.width(),l=s[0].style.width;s.width(a-1).width(a),s[0].style.width=l}}function u(t,o,n){var r=o==window,s=e(o);if((t||(!r||i)&&(r||s.data("blockUI.isBlocked")))&&(s.data("blockUI.isBlocked",t),r&&n.bindEvents&&(!t||n.showOverlay))){var a="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(a,n,d):e(document).unbind(a,d)}}function d(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&i&&t.data.constrainTabKey){var o=s,n=!t.shiftKey&&t.target===o[o.length-1],r=t.shiftKey&&t.target===o[0];if(n||r)return setTimeout((function(){p(r)}),10),!1}var a=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&a.onOverlayClick&&a.onOverlayClick(t),l.parents("div."+a.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function p(e){if(s){var t=s[!0===e?s.length-1:0];t&&t.focus()}}function f(t,o){return parseInt(e.css(t,o),10)||0}}o.amdO.jQuery?(r=[o(428)],void 0===(i="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=i)):s(jQuery)}()},428:e=>{"use strict";e.exports=window.jQuery},6247:function(e,t,o){var n;!function(){var r={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function i(e){return e&&(e=e.toString().replace(r.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,o,n,s,a,l,c,u=[];
2if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(o=e.toString().split(r.query_separator)).length;t<c;t++)0!==(s=(n=o[t]).indexOf("="))&&(a=i(n.substring(0,s)),l=i(n.substring(s+1)),u.push(-1===s?[n,null]:[a,l]));return u}function a(e){this.uriParts=function(e){var t=r.uri_parser.exec(e||""),o={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){o[e]=t[n]||""})),o}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var o,n;if(null==this)throw new TypeError(" this is null or not defined");var r=Object(this),i=r.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(o=t),n=0;n<i;){var s;n in r&&(s=r[n],e.call(o,s,n,r)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){a.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),a.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},a.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},a.prototype.query=function(e){var t,o,n,r="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)o=this.queryPairs[t],r.length>0&&(r+="&"),null===o[1]?r+=o[0]:(r+=o[0],r+="=",void 0!==o[1]&&(r+=encodeURIComponent(o[1])));return r.length>0?"?"+r:r},a.prototype.getQueryParamValue=function(e){var t,o,n;for(o=0,n=this.queryPairs.length;o<n;o++)if(e===(t=this.queryPairs[o])[0])return t[1]},a.prototype.getQueryParamValues=function(e){var t,o,n,r=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(o=this.queryPairs[t])[0]&&r.push(o[1]);return r},a.prototype.deleteQueryParam=function(e,t){var o,n,r,s,a,l=[];for(o=0,a=this.queryPairs.length;o<a;o++)r=i((n=this.queryPairs[o])[0])===i(e),s=n[1]===t,(1!==arguments.length||r)&&(2!==arguments.length||r&&s)||l.push(n);return this.queryPairs=l,this},a.prototype.addQueryParam=function(e,t,o){return 3===arguments.length&&-1!==o?(o=Math.min(o,this.queryPairs.length),this.queryPairs.splice(o,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},a.prototype.hasQueryParam=function(e){var t,o=this.queryPairs.length;for(t=0;t<o;t++)if(this.queryPairs[t][0]==e)return!0;return!1},a.prototype.replaceQueryParam=function(e,t,o){var n,r,s=-1,a=this.queryPairs.length;if(3===arguments.length){for(n=0;n<a;n++)if(i((r=this.queryPairs[n])[0])===i(e)&&decodeURIComponent(r[1])===i(o)){s=n;break}s>=0&&this.deleteQueryParam(e,i(o)).addQueryParam(e,t,s)}else{for(n=0;n<a;n++)if(i((r=this.queryPairs[n])[0])===i(e)){s=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,s)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);a.prototype[t]=function(t){return this[e](t),this}})),a.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},a.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},a.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},a.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),r.ends_with_slashes.test(t)||r.starts_with_slashes.test(e)?(t&&t.replace(r.ends_with_slashes,"/"),e=e.replace(r.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&
2(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},a.prototype.clone=function(){return new a(this.toString())},void 0===(n=function(){return a}.call(t,o,t,e))||(e.exports=n)}()},6991:()=>{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)}WPAC._Options=WPAC._Options||{},WPAC._BodyRegex=new RegExp("<body[^>]*>((.|\n|\r)*)</body>","i"),WPAC._ExtractBody=function(e){try{return jQuery("<div>"+WPAC._BodyRegex.exec(e)[1]+"</div>")}catch(e){return!1}},WPAC._TitleRegex=new RegExp("<title[^>]*>(.*?)<\\/title>","im"),WPAC._ExtractTitle=function(e){try{return WPAC._TitleRegex.exec(e)[1]}catch(e){return!1}},WPAC._ShowMessage=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=WPAC._Options.lazyLoadDisplay;if(!WPAC._Options.lazyLoadEnabled||"overlay"===n||o){var r=WPAC._Options.popupMarginTop+(jQuery("#wpadminbar").outerHeight()||0),i=WPAC._Options.popupBackgroundColorLoading,s=WPAC._Options.popupTextColorLoading;"error"==t?(i=WPAC._Options.popupBackgroundColorError,s=WPAC._Options.popupTextColorError):"success"==t&&(i=WPAC._Options.popupBackgroundColorSuccess,s=WPAC._Options.popupTextColorSuccess);var a="verticalStart"===WPAC._Options.popupVerticalAlign?r+"px":"unset";"verticalCenter"===WPAC._Options.popupVerticalAlign&&(a="45%"),jQuery.blockUI({blockMsgClass:"wpac-overlay",message:e,fadeIn:WPAC._Options.popupFadeIn,fadeOut:WPAC._Options.popupFadeOut,timeout:"loading"==t?0:WPAC._Options.popupTimeout,centerY:!1,centerX:!0,showOverlay:!0,css:{width:"var(--wpac-popup-width)",left:"calc(50% - var(--wpac-popup-width) / 2)",top:a,bottom:"verticalEnd"===WPAC._Options.popupVerticalAlign?r+"px":"unset",border:"none",padding:WPAC._Options.popupPadding+"px",backgroundColor:i,"-webkit-border-radius":WPAC._Options.popupCornerRadius+"px","-moz-border-radius":WPAC._Options.popupCornerRadius+"px","border-radius":WPAC._Options.popupCornerRadius+"px",opacity:WPAC._Options.popupOpacity/100,color:s,textAlign:WPAC._Options.popupTextAlign,cursor:"loading"==t||"loadingPreview"==t?"wait":"default","font-size":WPAC._Options.popupTextFontSize},overlayCSS:{backgroundColor:WPAC._Options.popupOverlayBackgroundColor,opacity:WPAC._Options.popupOverlayBackgroundColorOpacity},baseZ:WPAC._Options.popupZindex})}},WPAC._DebugErrorShown=!1,WPAC._Debug=function(t,o){if(WPAC._Options.debug){if(Function.prototype.call&&Function.prototype.call.bind&&void 0!==window.console&&console&&"object"===e(console.log)&&void 0===window.console[t].apply&&(console[t]=Function.prototype.call.bind(console[t],console)),void 0===window.console||void 0===window.console[t]||void 0===window.console[t].apply)return WPAC._DebugErrorShown||alert("Unfortunately the console object is undefined or is not supported in your browser, debugging WP Ajaxify Comments is disabled! Please use Firebug, Google Chrome or Internet Explorer 9 or above with enabled Developer Tools (F12) for debugging WP Ajaxify Comments."),void(WPAC._DebugErrorShown=!0);var n=jQuery.merge(["[WP Ajaxify Comments] "+o],jQuery.makeArray(arguments).slice(2));console[t].apply(console,n)}},WPAC._DebugSelector=function(e,t,o){if(WPAC._Options.debug){var n=jQuery(t);n.length?WPAC._Debug("info","Search %s (selector: '%s')... Found: %o",e,t,n):WPAC._Debug(o?"info":"error","Search %s (selector: '%s')... Not found",e,t)}},WPAC._AddQueryParamStringToUrl=function(e,t,o){var n=new URL(e),r=n.searchParams;return r.set(t,o),n.search=r.toString(),n.toString()},WPAC._LoadFallbackUrl=function(e){WPAC._ShowMessage(WPAC._Options.textReloadPage,"loading");var t=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime());WPAC._Debug("info","Something went wrong. Reloading page (URL: '%s')...",t);var o=function(){location.href=t};WPAC._Options.debug?(WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),window.setTimeout(o,5e3)):o()},WPAC._ScrollToAnchor=function(e,t,o){o=o||function(){};var n=jQuery(e);if(n.length){WPAC._Debug("info","Scroll to anchor element %o (scroll speed: %s ms)...",n,WPAC._Options.scrollSpeed);var r=function(){t&&(window.location.hash=e),o()},i=n.offset().top;return jQuery(window).scrollTop()==i?r():jQuery("html,body").animate({scrollTop:i},{duration:WPAC._Options.scrollSpeed,complete:r}),!0}return WPAC._Debug("error","Anchor element not found (selector: '%s')",e),!1},WPAC._UpdateUrl=function(e){e.split("#")[0]!=window.location.href.split("#")[0]&&(window.history.replaceState?window.history.replaceState({},window.document.title,e):WPAC._Debug("info","Browser does not support window.history.replaceState() to update the URL without reloading the page",anchor))},WPAC._ReplaceComments=function(e,t,o,n,r,i,s,a,l,c,u){jQuery("#wpac-lazy-load-content-clone").remove();var d=o?WPAC._AddQueryParamStringToUrl(t,"WPACFallback","1"):t,p=jQuery(i);if(WPAC._Options.lazyLoadIntoElement&&"comments"!==WPAC._Options.lazyLoadInlineDis
2playLocation&&(p=jQuery(WPAC._Options.lazyLoadInlineDisplayElement)),!p.length)return WPAC._Debug("error","Comment container on current page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(d),!1;p.length>1&&(WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",p),p=p.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")})));var f=WPAC._ExtractBody(e);if(!1===f)return WPAC._Debug("error","Unsupported server response, unable to extract body (data: '%s')",e),WPAC._LoadFallbackUrl(d),!1;""!==l&&new Function("extractedBody",l)(f);var m=new CustomEvent("wpacBeforeSelectElements",{detail:{extractedBody:f}});document.dispatchEvent(m);var h=f.find(i);if(!h.length)return WPAC._Debug("error","Comment container on requested page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(d),!1;if(h.length>1){WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",h);var g=(h=h.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")}))).find(a);g.length&&g.remove()}""!==c&&new Function("extractedBody","commentUrl",c)(f,t);var y=new CustomEvent("wpacBeforeUpdateComments",{detail:{newDom:f,commentUrl:t}});document.dispatchEvent(y);var C=WPAC._ExtractTitle(e);if(!1!==f&&(document.title=jQuery("<textarea />").html(C).text()),p.empty(),p.append(h.children()),WPAC._Options.commentsEnabled){var b=jQuery(s);if(b.length){if(!b.parents(i).length){WPAC._Debug("info","Replace comment form...");var P=f.find(s);if(0==P.length)return WPAC._Debug("error","Comment form on requested page not found (selector: '%s')",s),WPAC._LoadFallbackUrl(d),!1;b.replaceWith(P)}}else{WPAC._Debug("info","Try to re-inject comment form...");var A=jQuery("#wp-temp-form-div");if(!A.length)return WPAC._Debug("error","WordPress' #wp-temp-form-div container not found",a),WPAC._LoadFallbackUrl(d),!1;var w=f.find(a);if(!w.length)return WPAC._Debug("error","Respond container on requested page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(d),!1;A.replaceWith(w)}if(n&&jQuery.each(n,(function(e,t){var o=jQuery("[name='"+t.name+"']",s);1!=o.length||o.val()||o.val(t.value)})),r){var v=jQuery("[name='"+r+"']",s);v&&v.focus()}}""!==u&&new Function("extractedBody","commentUrl",u)(f,t);var W=new CustomEvent("wpacAfterUpdateComments",{detail:{newDom:f,commentUrl:t}});return document.dispatchEvent(W),!0},WPAC._TestCrossDomainScripting=function(e){if(0!=e.indexOf("http"))return!1;var t=window.location.protocol+"//"+window.location.host;return 0!=e.indexOf(t)},WPAC._TestFallbackUrl=function(e){var t=new URL(e).searchParams,o=t.get("WPACFallback"),n=t.get("WPACRandom");return o&&n},WPAC.AttachForm=function(e){if(e=jQuery.extend({selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:WPAC._Options.selectorCommentPagingLinks,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeSubmitComment:WPACCallbacks.beforeSubmitComment,afterPostComment:WPACCallbacks.afterPostComment,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments,scrollToAnchor:!WPAC._Options.disableScrollToAnchor,updateUrl:!WPAC._Options.disableUrlUpdate,selectorCommentLinks:WPAC._Options.selectorCommentLinks},e||{}),WPAC._Options.debug&&WPAC._Options.commentsEnabled&&(WPAC._Debug("info","Attach form..."),WPAC._DebugSelector("comment form",e.selectorCommentForm),WPAC._DebugSelector("comments container",e.selectorCommentsContainer),WPAC._DebugSelector("respond container",e.selectorRespondContainer),WPAC._DebugSelector("comment paging links",e.selectorCommentPagingLinks,!0),WPAC._DebugSelector("comment links",e.selectorCommentLinks,!0)),""!==WPACCallbacks.beforeSelectElements){new Function("dom",WPACCallbacks.beforeSelectElements)(jQuery(document));var t=new CustomEvent("wpacBeforeSelectElements",{detail:{dom:jQuery(document)}});document.dispatchEvent(t)}if(jQuery(document).on)var o=function(e,t,o){"string"==typeof t&&t&&jQuery(document).on(e,t,o)};else o=jQuery(document).delegate?function(e,t,o){"string"==typeof t&&t&&jQuery(document).delegate(t,e,o)}:function(e,t,o){"string"==typeof t&&t&&jQuery(t).live(e,o)};var n=function(t){var o=jQuery(this).attr("href");o||(o=t.target.href),console.log("href",o),o&&(t.preventDefault(),WPAC.LoadComments(o,{selectorCommentForm:e.selectorCommentForm,selectorCommentsContainer:e.selectorCommentsContainer,selectorRespondContainer:e.selectorRespondContainer,beforeSelectElements:e.beforeSelectElements,beforeUpdateComments:e.beforeUpdateComments,afterUpdateComments:e.afterUpdateComments}))};if(jQuery(e.selectorCommentPagingLinks).length>0)o("click",e.selectorCommentPagingLinks,n);else{var r="#comments nav a";jQuery(r).length>0?o("click",r,n):WPAC._Options.debug&&WPAC._Debug("error","Selector for paging links not found: %s",e.selectorCommentPagingLinks)}o("click",e.selectorCommentLinks,(function(t){var o=jQuery(this);if(!o.is(e.selectorCommentPagingLinks)){var n=o.attr("href"),r=new URL(n).hash;jQuery(r).length>0&&(e.updateUrl&&WPAC._UpdateUrl(n),WPAC._ScrollToAnchor(r,e.updateUrl),t.preventDefault())}})),WPAC._Options.commentsEnabled&&o("submit",e.selectorCommentForm,(function(t){var o=jQuery(this);if(""!==WPACCallbacks.beforeSubmitComment){new Function("dom",WPACCallbacks.beforeSubmitComment)(jQuery(document));var n=new CustomEvent("wpacBeforeSubmitComment",{detail:{dom:jQuery(document)}});document.dispatchEvent(n)}
2var r=o.attr("action");if(WPAC._TestCrossDomainScripting(r))WPAC._Options.debug&&!o.data("submitCrossDomain")&&(WPAC._Debug("error","Cross-domain scripting detected (submit url: '%s'), cancel AJAX request",r),WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),t.preventDefault(),o.data("submitCrossDomain",!0),window.setTimeout((function(){jQuery("#submit",o).remove(),o.submit()}),5e3));else if(t.preventDefault(),o.data("WPAC_SUBMITTING"))WPAC._Debug("info","Cancel submit, form is already submitting (Form: %o)",o);else{o.data("WPAC_SUBMITTING",!0),WPAC._ShowMessage(WPAC._Options.textPostComment,"loading",!0);var i=function(e){WPAC._Debug("info","Comment has not been posted"),WPAC._Debug("info","Try to extract error message (selector: '%s')...",WPAC._Options.selectorErrorContainer);var t=WPAC._ExtractBody(e);if(!1!==t){var o=t.find(WPAC._Options.selectorErrorContainer);if(o.length)return o=o.html(),WPAC._Debug("info","Error message '%s' successfully extracted",o),void WPAC._ShowMessage(o,"error",!0)}WPAC._Debug("error","Error message could not be extracted, use error message '%s'.",WPAC._Options.textUnknownError),WPAC._ShowMessage(WPAC._Options.textUnknownError,"error",!0)},s=jQuery.ajax({url:r,type:"POST",data:new FormData(this),processData:!1,contentType:!1,beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},complete:function(e,t){o.removeData("WPAC_SUBMITTING",!0)},success:function(t){if(s.getResponseHeader("X-WPAC-ERROR"))return WPAC._Debug("info","Found error state X-WPAC-ERROR header.",o),void i(t);WPAC._Debug("info","Comment has been posted");var o=s.getResponseHeader("X-WPAC-URL");WPAC._Debug("info","Found comment URL '%s' in X-WPAC-URL header.",o);var n=s.getResponseHeader("X-WPAC-UNAPPROVED");if(WPAC._Debug("info","Found unapproved state '%s' in X-WPAC-UNAPPROVED",n),""!==WPACCallbacks.afterPostComment){new Function("commentUrl","unapproved",e.afterPostComment)(o,"1"==n);var r=new CustomEvent("wpacAfterPostComment",{detail:{commentUrl:o,unapproved:"1"==n}});document.dispatchEvent(r)}if(WPAC._ShowMessage("1"==n?WPAC._Options.textPostedUnapproved:WPAC._Options.textPosted,"success",!0),void 0!==window.wps_launch_confetti_cannon&&window.wps_launch_confetti_cannon(),WPAC._ReplaceComments(t,o,!1,{},"",e.selectorCommentsContainer,e.selectorCommentForm,e.selectorRespondContainer,e.beforeSelectElements,e.beforeUpdateComments,e.afterUpdateComments)&&o&&(e.updateUrl&&WPAC._UpdateUrl(o),e.scrollToAnchor)){var a=o.indexOf("#")>=0?o.substr(o.indexOf("#")):null;a&&(WPAC._Debug("info","Anchor '%s' extracted from comment URL '%s'",a,o),WPAC._ScrollToAnchor(a,e.updateUrl))}},error:function(e,t,o){if(0===e.status&&""===e.responseText)return WPAC._Debug("error","Comment seems to be posted, but loading comment update failed."),void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));i(e.responseText)}})}}))},WPAC._Initialized=!1,WPAC.Init=function(){if(WPAC._Initialized)return WPAC._Debug("info","Abort initialization (plugin already initialized)"),!1;if(WPAC._Initialized=!0,!WPAC._Options||!WPACCallbacks)return WPAC._Debug("error","Something unexpected happened, initialization failed. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Initializing version %s",WPAC._Options.version),WPAC._Options.debug){if(!jQuery||!jQuery.fn||!jQuery.fn.jquery)return WPAC._Debug("error","jQuery not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery %s",jQuery.fn.jquery),!jQuery.blockUI||!jQuery.blockUI.version)return WPAC._Debug("error","jQuery blockUI not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery blockUI %s",jQuery.blockUI.version),!jQuery.idleTimer)return WPAC._Debug("error","jQuery Idle Timer plugin not found, abort initialization. Please try to reinstall the plugin."),!1;WPAC._Debug("info","Found jQuery Idle Timer plugin")}return WPAC._Options.selectorPostContainer?(WPAC._Debug("info","Multiple comment form support enabled (selector: '%s')",WPAC._Options.selectorPostContainer),jQuery(WPAC._Options.selectorPostContainer).each((function(e,t){var o=jQuery(t).attr("id");o?WPAC.AttachForm({selectorCommentForm:"#"+o+" "+WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:"#"+o+" "+WPAC._Options.selectorCommentPagingLinks,selectorCommentsContainer:"#"+o+" "+WPAC._Options.selectorCommentsContainer,selectorRespondContainer:"#"+o+" "+WPAC._Options.selectorRespondContainer}):WPAC._Debug("info","Skip post container element %o (ID not defined)",t)}))):WPAC.AttachForm(),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-loading a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is the loading preview...","loadingPreview",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-success a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is a success message","success",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-error a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is an error message","error",!0)})),WPAC._Options.commentsEnabled&&WPAC._Options.autoUpdateIdleTime>0&&(WPAC._Debug("info","Auto updating comments enabled (idle time: %s)",WPAC._Options.autoUpdateIdleTime),WPAC._InitIdleTimer()),WPAC._Debug("info","Initialization completed"),!0},WPAC._OnIdle=function(){WPAC.RefreshComments({success:WPAC._InitIdleTimer,scrollToAnchor:!1})},WPAC._InitIdleTimer=function(){WPAC._TestFallbackUrl(location.href)?WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel init idle timer",location.href):(jQuery(document).idleTimer("destroy"),jQuery(document).idleTimer(WPAC._Options.autoUpdateIdleTime),jQuery(document).on("idle.idleTimer",WPAC._OnIdle))},WPAC.RefreshComments=function(e){return WPAC._TestFallbackUrl(location.href)?(WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel AJAX request",location.href),!1):WPAC.LoadComments(location.href,e)},WPAC.LoadComments=function(e,t){if(WPAC._TestCrossDomainScripting(e))return WPAC._Debug("error","Cross-domain scripting detected (url: '%s'), cancel AJAX request",e),!1;"boolean"==typeof t&&(t={scrollToAnchor:t}),t=jQuery.extend({scrollToAnchor:!WPAC._Options.disableScrollToAnchor,showLoadingInfo:!0,updateUrl:!WPAC._Options.disableUrlUpdate,success:function(){},selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,disableCache:WPAC._Options.disableCache,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments},t||{});var o=jQuery(t.selectorCommentForm).serializeArray(),n=document.activeElement?jQuery("[name='"+document.activeElement.name+"']",t.selectorCommentForm).attr("name"):"",r=new URL(e).searchParams;if(r.has("ajaxifyLazyLoadEnable")){var i=r.get("ajaxifyLazyLoadEnable"),s=r.get("nonce"),a=r.get("post_id");e=WPAC._AddQueryParamStringToUrl(e,"ajaxifyLazyLoadEnable",i),e=WPAC._AddQueryParamStringToUrl(e,"nonce",s),e=WPAC._AddQueryParamStringToUrl(e,"post_id",a)}return t.disableCache&&(e=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime())),jQuery.ajax({url:e,type:"GET",beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},success:function(r){try{if(!WPAC._ReplaceComments(r,e,!0,o,n,t.selectorCommentsContainer,t.selectorCommentForm,t.selectorRespondContainer,t.beforeSelectElements,t.beforeUpdateComments,t.afterUpdateComments))return;t.updateUrl&&WPAC._UpdateUrl(e);var i=!1;if(t.scrollToAnchor){var s=e.indexOf("#")>=0?e.substr(e.indexOf("#")):null;s&&(WPAC._Debug("info","Anchor '%s' extracted from url",s),WPAC._ScrollToAnchor(s,t.updateUrl,(function(){t.success()}))&&(i=!0))}}catch(e){WPAC._Debug("error","Something went wrong while refreshing comments: %s",e)}jQuery.unblockUI(),i||t.success()},error:function(){WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"))}}),!0},jQuery((function(){var e=WPAC.Init();if(!0===WPAC._Options.lazyLoadEnabled){if(!e)return void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));WPAC._Options.lazyLoadTrigger;var t=WPAC._Options.lazyLoadTrigger,o=parseInt(WPAC._Options.lazyLoadTriggerScrollOffset),n=WPAC._Options.lazyLoadTriggerElement,r=WPAC._Options.lazyLoadInlineLoadingType,i=p
2arseInt(WPAC._Options.lazyLoadTriggerOffset);0===i&&(i="100%");var s="inline"===WPAC._Options.lazyLoadDisplay,a=WPAC._Options.lazyLoadInlineDisplayLocation;if(s&&WPAC._Options.lazyLoadIntoElement){var l=WPAC._Options.lazyLoadInlineDisplayElement;"comments"===a&&(l=WPAC._Options.selectorCommentsContainer);var c=document.querySelector("#wpac-lazy-load-content");if(null!==c){var u=jQuery.clone(c);if(u.id="wpac-lazy-load-content-clone","button"===r&&(t="external"),"comments"===a){var d=jQuery(l);if(d){var p=d.find(".wp-block-comments-title, .comments-title");p.length>0?jQuery(p).after(u):d.prepend(u)}else WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.")}else if("element"===a){var f=jQuery(l);f?(jQuery(f).prepend(u),jQuery(f).removeAttr("style")):WPAC._Debug("error","Element not found for lazy loading when reaching the element.")}var m=document.querySelector(".ajaxify-comments-loading-button-wrapper button");null!==m&&m.addEventListener("click",(function(e){e.preventDefault(),m.innerHTML=WPAC._Options.lazyLoadInlineButtonLabelLoading,WPAC.RefreshComments()}))}}switch(WPAC._Debug("info","Loading comments asynchronously with secondary AJAX request (trigger: '%s')",t),window.location.hash&&/^#comment-[0-9]+$/.test(window.location.hash)&&(WPAC._Debug("info","Comment anchor in URL detected, force loading comments on DomReady (hash: '%s')",window.location.hash),t="domready"),t){case"external":WPAC._Debug("info","Lazy loading: Waiting on external trigger for lazy loading comments.",window.location.hash);break;case"comments":var h=document.querySelector(WPAC._Options.selectorCommentsContainer);null!==h?(WPAC._Debug("info","Lazy loading: Waiting on comments to scroll into view for lazy loading.",window.location.hash),jQuery(h).waypoint((function(e){this.destroy(),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments()}),{offset:o||"100%"})):WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.");break;case"element":var g=document.querySelector(n);null!==g?(WPAC._Debug("info","Lazy loading: Waiting on element to scroll into view for lazy loading.",window.location.hash),jQuery(g).waypoint((function(e){this.destroy(),"button"!==r&&s&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:o||"100%"})):WPAC._Debug("error","Element not found for lazy loading when reaching the element.");break;case"domready":("button"!==r&&s||!s)&&(WPAC._Debug("info","Lazy loading: Waiting on Dom to be ready for lazy loading.",window.location.hash),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments({scrollToAnchor:!0}));break;case"scroll":WPAC._Debug("info","Lazy loading: Waiting on Scroll Into View.",window.location.hash);var y=document.querySelector("body");jQuery(y).waypoint((function(e){this.destroy(),"button"!==r&&"inline"===r&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:-1*o})}}}))},8340:()=>{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)}var t;(t=jQuery).idleTimer=function(o,n){var r;"object"===e(o)?(r=o,o=null):"number"==typeof o&&(r={timeout:o},o=null),n=n||document,r=t.extend({idle:!1,timeout:3e4,events:"mousemove keydown wheel DOMMouseScroll mousewheel mousedown touchstart touchmove MSPointerDown MSPointerMove"},r);var i=t(n),s=i.data("idleTimerObj")||{},a=function(e){var o=t.data(n,"idleTimerObj")||{};o.idle=!o.idle,o.olddate=+new Date;var r=t.Event((o.idle?"idle":"active")+".idleTimer");t(n).trigger(r,[n,t.extend({},o),e])},l=function(e){var o=t.data(n,"idleTimerObj")||{};if(("storage"!==e.type||e.originalEvent.key===o.timerSyncId)&&null==o.remaining){if("mousemove"===e.type){if(e.pageX===o.pageX&&e.pageY===o.pageY)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(+new Date-o.olddate<200)return}clearTimeout(o.tId),o.idle&&a(e),o.lastActive=+new Date,o.pageX=e.pageX,o.pageY=e.pageY,"storage"!==e.type&&o.timerSyncId&&"undefined"!=typeof localStorage&&localStorage.setItem(o.timerSyncId,o.lastActive),o.tId=setTimeout(a,o.timeout)}},c=function(){var e=t.data(n,"idleTimerObj")||{};
2e.idle=e.idleBackup,e.olddate=+new Date,e.lastActive=e.olddate,e.remaining=null,clearTimeout(e.tId),e.idle||(e.tId=setTimeout(a,e.timeout))};if(null===o&&void 0!==s.idle)return c(),i;if(null===o);else{if(null!==o&&void 0===s.idle)return!1;if("destroy"===o)return function(){var e=t.data(n,"idleTimerObj")||{};clearTimeout(e.tId),i.removeData("idleTimerObj"),i.off("._idleTimer")}(),i;if("pause"===o)return function(){var e=t.data(n,"idleTimerObj")||{};null==e.remaining&&(e.remaining=e.timeout-(+new Date-e.olddate),clearTimeout(e.tId))}(),i;if("resume"===o)return function(){var e=t.data(n,"idleTimerObj")||{};null!=e.remaining&&(e.idle||(e.tId=setTimeout(a,e.remaining)),e.remaining=null)}(),i;if("reset"===o)return c(),i;if("getRemainingTime"===o)return function(){var e=t.data(n,"idleTimerObj")||{};if(e.idle)return 0;if(null!=e.remaining)return e.remaining;var o=e.timeout-(+new Date-e.lastActive);return o<0&&(o=0),o}();if("getElapsedTime"===o)return+new Date-s.olddate;if("getLastActiveTime"===o)return s.lastActive;if("isIdle"===o)return s.idle}return i.on((r.events+" ").split(" ").join("._idleTimer ").trim(),(function(e){l(e)})),r.timerSyncId&&t(window).on("storage",l),(s=t.extend({},{olddate:+new Date,lastActive:+new Date,idle:r.idle,idleBackup:r.idle,timeout:r.timeout,remaining:null,timerSyncId:r.timerSyncId,tId:null,pageX:null,pageY:null})).idle||(s.tId=setTimeout(a,s.timeout)),t.data(n,"idleTimerObj",s),i},t.fn.idleTimer=function(e){return this[0]?t.idleTimer(e,this[0]):this}},9166:()=>{!function(){"use strict";var e=0,t={};function o(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw console.log("options",n),new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=o.Adapter.extend({},o.defaults,n),this.element=this.options.element,this.adapter=new o.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=o.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=o.Context.findOrCreateByElement(this.options.context),o.offsetAliases[this.options.offset]&&(this.options.offset=o.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),t[this.key]=this,e+=1}o.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},o.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},o.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete t[this.key]},o.prototype.disable=function(){return this.enabled=!1,this},o.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},o.prototype.next=function(){return this.group.next(this)},o.prototype.previous=function(){return this.group.previous(this)},o.invokeAll=function(e){var o=[];for(var n in t)o.push(t[n]);for(var r=0,i=o.length;r<i;r++)o[r][e]()},o.destroyAll=function(){o.invokeAll("destroy")},o.disableAll=function(){o.invokeAll("disable")},o.enableAll=function(){for(var e in o.Context.refreshAll(),t)t[e].enabled=!0;return this},o.refreshAll=function(){o.Context.refreshAll()},o.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},o.viewportWidth=function(){return document.documentElement.clientWidth},o.adapters=[],o.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},o.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=o}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}var t=0,o={},n=window.Waypoint,r=window.onload;function i(e){this.element=e,this.Adapter=n.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,o[e.waypointContextKey]=this,t+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}i.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},i.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;e&&t&&!n&&(this.adapter.off(".waypoints"),delete o[this.key])},i.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},i.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",(function(){e.didScroll&&!n.isTouch||(e.didScroll=!0,n.requestAnimationFrame(t))}))},i.prototype.handleResize=function(){n.Context.refreshAll()},i.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var o in t){var n=t[o],r=n.newScroll>n.oldScroll?n.forward:n.backward;for(var i in this.waypoints[o]){var s=this.waypoints[o][i];if(null!==s.triggerPoint){var a=n.oldScroll<s.triggerPoint,l=n.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(r),e[s.group.id]=s.group)}}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}}
2,i.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var o in this.waypoints[t])e.push(this.waypoints[t][o]);for(var n=0,r=e.length;n<r;n++)e[n].destroy()},i.prototype.refresh=function(){var e,t=this.element==this.element.window,o=t?void 0:this.adapter.offset(),r={};for(var i in this.handleScroll(),e={horizontal:{contextOffset:t?0:o.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:o.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=e[i];for(var a in this.waypoints[i]){var l,c,u,d,p=this.waypoints[i][a],f=p.options.offset,m=p.triggerPoint,h=0,g=null==m;p.element!==p.element.window&&(h=p.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(p):"string"==typeof f&&(f=parseFloat(f),p.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,p.triggerPoint=Math.floor(h+l-f),c=m<s.oldScroll,u=p.triggerPoint>=s.oldScroll,d=!c&&!u,!g&&c&&u?(p.queueTrigger(s.backward),r[p.group.id]=p.group):(!g&&d||g&&s.oldScroll>=p.triggerPoint)&&(p.queueTrigger(s.forward),r[p.group.id]=p.group)}}return n.requestAnimationFrame((function(){for(var e in r)r[e].flushTriggers()})),this},i.findOrCreateByElement=function(e){return i.findByElement(e)||new i(e)},i.refreshAll=function(){for(var e in o)o[e].refresh()},i.findByElement=function(e){return o[e.waypointContextKey]},window.onload=function(){r&&r(),i.refreshAll()},n.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},n.Context=i}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}var o={vertical:{},horizontal:{}},n=window.Waypoint;function r(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}r.prototype.add=function(e){this.waypoints.push(e)},r.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},r.prototype.flushTriggers=function(){for(var o in this.triggerQueues){var n=this.triggerQueues[o],r="up"===o||"left"===o;n.sort(r?t:e);for(var i=0,s=n.length;i<s;i+=1){var a=n[i];(a.options.continuous||i===n.length-1)&&a.trigger([o])}}this.clearTriggerQueues()},r.prototype.next=function(t){this.waypoints.sort(e);var o=n.Adapter.inArray(t,this.waypoints);return o===this.waypoints.length-1?null:this.waypoints[o+1]},r.prototype.previous=function(t){this.waypoints.sort(e);var o=n.Adapter.inArray(t,this.waypoints);return o?this.waypoints[o-1]:null},r.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},r.prototype.remove=function(e){var t=n.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},r.prototype.first=function(){return this.waypoints[0]},r.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},r.findOrCreate=function(e){return o[e.axis][e.name]||new r(e)},n.Group=r}(),function(){"use strict";var e=window.jQuery,t=window.Waypoint;function o(t){this.$element=e(t)}e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,t){o.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}})),e.each(["extend","inArray","isEmptyObject"],(function(t,n){o[n]=e[n]})),t.adapters.push({name:"jquery",Adapter:o}),t.Adapter=o}(),function(){"use strict";var e=window.Waypoint;function t(t){return function(){var o=[],n=arguments[0];return t.isFunction(arguments[0])&&((n=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var r=t.extend({},n,{element:this});"string"==typeof r.context&&(r.context=t(this).closest(r.context)[0]),o.push(new e(r))})),o}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()}},t={};function o(n){var r=t[n];
2if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,o),i.exports}o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";o(6247),o(281),o(8340),o(9166),o(6991)})()})();

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.