1var WPCAFR=(function(y){"use strict";var J={done:false,layout:"bar",el:{},elCcBox:{},elCcInputs:{},yPos:"top",posIn:0,posOut:0,wpadminbar:{},hasWPadminbar:false,doLayer:false,layer:{},privacyBtns:{},privacyBtn:{},acceptBtns:{},acceptBtn:{},declineBtns:{},declineBtn:{},resetConsentBtns:{},resetConsentBtn:{},hasBtnAccept:false,hasBtnDecline:false,hasBtnResetConsent:false,hasClientCc:false,cookieExpire:30,showHideStatus:null,didDeclined:false,didResetConsent:false,currentUri:"",links:{},touching:false,isCenteredBox:false,closeEl:{},hasCloseEl:false,useXAsDismiss:false,minScrollTop:200,resettedConsent:false,didConsent:false,needConsent:true,didSetCcDefaultSett:false,didCcSaveSett:false,selectedCc:[],clientCc:[],hasChangedCat:false};var m="wpca-show",r="wpca-hide",g="wpca-btn",C="wpca-trans-layer",E="hide",z="show",F="wpca-close",I="wpca-cc-sett-box",j="wpca-cc-sett-opions",x="wpca-btn-cc-default-sett",d="wpca-btn-cc-save-sett",c="wpca",f="willDoAjaxRequest";var k={isProcessingBtn:function(){return(y(this).hasClass(g)&&y(this).is("[data-txt]")&&y(this).is("[data-txt-processing]"))},cbCheck:function(N){if("undefined"===typeof N){N=true}if("boolean"!==typeof N){if(0===parseInt(N)){N=false}else{if(1===parseInt(N)){N=true}}}y(this).prop("checked",N);return y(this)},cbCheckForCategory:function(P,R){if("undefined"===typeof P){return y(this)}else{if("string"!==typeof R&&!y.isArray(R)){return y(this)}else{if(!y(this).hasClass(I)){return y(this)}}}if(!y.isArray(R)){R=[R]}for(var S=0;S<R.length;S++){var O=R[S],Q=y(this),N=Q.find("."+j+' input[data-cat="'+O+'"]');if(N.length){if(P&&!N.is(":checked")){N.cbCheck()}else{if(!P&&N.is(":checked")){N.cbCheck(0)}}}}}};function p(N,P,S,O,R,Q){if("undefined"===typeof N||"undefined"===typeof P){throw new Error("Could not set cookie. Name or value is undefined.")}if("undefined"===typeof S){S=J.cookieExpire}if("undefined"===typeof O){O=wpcaData.cookieDomain}if("undefined"===typeof R){R=wpcaData.cookiePath}if("undefined"===typeof Q){Q=wpcaData.ssl}WPCAGLOBAL.setKookie(N,P,S,O,R,Q)}function M(N,O,P){if("undefined"===typeof N){throw new Error("Could not delete cookie. Name is undefined.")}if("undefined"===typeof O){O=wpcaData.cookieDomain}if("undefined"===typeof P){P=wpcaData.cookiePath}WPCAGLOBAL.eraseKookie(N,O,P)}function D(N){return WPCAGLOBAL.readKookie(N)}function G(){return(null!=wpcaData.cookiesBeforeConsent&&3===wpcaData.cookiesBeforeConsent)}function B(N){return(-1!==wpcaData.allowedCc.indexOf(N))}function l(N){var R=[];for(var P=0;P<wpcaData.requiredCc.length;P++){var Q=wpcaData.requiredCc[P];R.push((-1!==N.indexOf(Q)))}var O=(-1===R.indexOf(false));return O}function s(N){var O=[];if(N){N.each(function(){var Q=y(this),P=Q.data("cat");if(!B(P)){throw new Error(P+" is not an allowed cookie category.")}if(Q.is(":checked")){O.push(P)}})}return O}function K(){J.elCcBox.each(function(){y(this).cbCheckForCategory(false,wpcaData.allowedCc)});J.elCcBox.each(function(){y(this).cbCheckForCategory(true,wpcaData.requiredCc)})}function A(N){return N.parents("."+I).find("."+j+" input")}function q(){var N=D(wpcaData.cookieNameCc);if(null!=N){return N.split(",")}else{return[]}}function u(N){if(!y.isArray(N)||0===N.length){N=wpcaData.requiredCc}var O=q();var P=N.join();M(wpcaData.cookieNameCc);p(wpcaData.cookieNameCc,P);J.clientCc=N;J.hasClientCc=(0<N.length);J.hasChangedCat=L(N,O)}function L(O,N){if(O===N){return false}else{if(O==null||N==null){return true}else{if(O.length!=N.length){return true}}}O.sort();N.sort();for(var P=0;P<O.length;P++){if(O[P]!==N[P]){return true}}return false}function b(N){if("object"!==typeof N&&"string"!==typeof N){return false}var V=y(window).data("events"),R;if("undefined"===typeof V){return false}else{if("undefined"===typeof V[c]){return false}else{if("string"===typeof N){N=[N]}}}R=V[c];for(var P=0;P<R.length;P++){var S=R[P],Q=S.namespace||null;for(var U=0;U<N.length;U++){var T=N[U],O=(Q===T);if(O&&null!=S.data[f]&&S.data[f]){return true}}}return false}function a(N){if("undefined"===typeof N){return}if(null==N.redirect||null==N.url||"string"!==typeof N.url){return}if(N.redirect){window.location=N.url;return}return false}function h(P,O){var N=b(["consent:after","decline:after"]);if(N){y.ajaxPrefilter(function(Q,S,R){if(S.data.data.redirectOnAjaxSuccess){y(document).ajaxStop(function(){a(O)})}else{a(O)}})}else{a(O)}return}
1function H(O,N){h(O,N)}function o(O,N){h(O,N)}function w(R,P,Q,N){if(!J.needConsent){return false}if(Q&&Q.isProcessingBtn()){Q.css({height:Q.outerHeight()+"px"}).html(Q.data("txt-processing")).focus()}p(wpcaData.cookieNameConsent,"1");J.didConsent=true;J.needConsent=false;if("undefined"===typeof N){N=wpcaData.allowedCc}if(y.isArray(N)&&N.length){}var O={redirect:R,url:P,categories:N,redirectOnAjaxSuccess:false};y(window).triggerHandler("wpca.consent:after",[O]);if(!R){setTimeout(function(){J.animate();Q.html(Q.data("txt"));if(J.hasBtnAccept){J.acceptBtns.not(".wpca-lay-out .wpca-btn-accept").remove()}},200)}}function i(R,P,Q,N){if(J.didDeclined){return false}if(Q&&Q.isProcessingBtn()){Q.css({height:Q.outerHeight()+"px"}).html(Q.data("txt-processing")).focus()}p(wpcaData.cookieNameConsent,"0");if("undefined"===typeof N){N=wpcaData.requiredCc}if(y.isArray(N)&&N.length){}K();J.didDeclined=true;var O={redirect:R,url:P,categories:N,redirectOnAjaxSuccess:false};y(window).triggerHandler("wpca.decline:after",[O]);if(!R){setTimeout(function(){J.animate();Q.html(Q.data("txt"));if(J.hasBtnDecline){J.declineBtns.not(".wpca-lay-out .wpca-btn-decline").remove()}},200)}}function n(P,N,O){if(J.didResetConsent){return false}if(O&&O.isProcessingBtn()){O.css({height:O.outerHeight()+"px"}).html(O.data("txt-processing")).focus()}M(wpcaData.cookieNameConsent);M(wpcaData.cookieNameCc);J.didResetConsent=true;if(!a({redirect:P,url:N})){O.html(O.data("txt"))}}function v(O,N){if(J.didCcSaveSett&&!J.hasChangedCat){return false}if(O&&O.isProcessingBtn()){O.css({height:O.outerHeight()+"px"}).html(O.data("txt-processing")).focus()}u(N);J.didCcSaveSett=true;setTimeout(function(){O.html(O.data("txt"));y(window).triggerHandler("wpca.cc:saved",[N])},200)}function t(O,N){if(window.addEventListener){window.addEventListener("scroll",function(Q){var P=window.event||Q;O(P,N)},false);window.addEventListener("mousewheel",function(Q){var P=window.event||Q;O(P,N)},false);window.addEventListener("DOMMouseScroll",function(Q){var P=window.event||Q;O(P,N)},false);window.addEventListener("touchmove",function(Q){var P=window.event||Q;O(P,N)},false)}else{window.attachEvent("onmousewheel",function(Q){var P=window.event||Q;O(P,N)})}}function e(O,P){var N;switch(O){case"accepting":N=(G())?false:true;break;case"declining":N=(G()||J.didConsent)?true:false;break;case"resetting_consent":N=true;break;case"cc_save_sett":N=(G()&&wpcaData.firstVisit)?false:true;break;default:throw new Error("No valid redirect type given.")}if("boolean"===typeof P){return P}return N}J.handlerConsentClickAccept=function(R){try{R.preventDefault();var S=e("accepting"),Q=R.data.thiz,O=(S)?Q.currentUri:false,P=y(this);w(S,O,P);return false}catch(N){WPCAGLOBAL.log(N.message,"exc",N)}};J.handlerConsentClickDecline=function(Q){try{Q.preventDefault();var R=e("declining"),O=(R)?Q.data.thiz.currentUri:false,P=y(this);i(R,O,P);return false}catch(N){WPCAGLOBAL.log(N.message,"exc",N)}};J.handlerConsentClickResetConsent=function(Q){try{Q.preventDefault();var R=e("resetting_consent"),O=(R)?Q.data.thiz.currentUri:false,P=y(this);n(R,O,P);return false}catch(N){WPCAGLOBAL.log(N.message,"exc",N)}};J.handlerConsentClickWindow=function(P){var Q=false,N=false,O=P.data.thiz;if(O.doLayer){return false}if(window===P.currentTarget&&"A"===P.target.nodeName&&"click"===P.type){if(O.didConsent||O.didDeclined){return}if(!y(P.target).hasClass(wpcaData.cookiePolicyCssClass)){P.preventDefault();Q=e("accepting");N=(Q)?P.target.href:false;w(Q,N)}}};J.handlerConsentscrollWindow=function(Q,R){if(-1!==window.location.search.indexOf("wpca_bypass_consent=1")){return false}var O=R.thiz,P,S=false,N;if(O.didConsent||O.didDeclined){return false}P=y(window).scrollTop();if(true===O.touching){return false}if(O.minScrollTop>P){return false}if(O.doLayer){return false}O.touching=true;S=e("accepting");N=(S)?R.url:false;w(S,N)};
1J.handlerClickClose=function(O){var Q=!O.data.thiz.useXAsDismiss,P=e(Q?"accepting":"declining"),N=(P)?O.data.thiz.currentUri:false;if(Q){w(P,N)}else{i(P,N)}return false};J.handlerCcClickInput=function(P){try{var O=P.data.thiz,N=y(this),U=N.parents("."+I),Q=U.data("id"),R=I+"-"+Q,S=N.data("cat"),T=N.is(":checked");O.didSetCcDefaultSett=false;O.elCcBox.not("#"+R).each(function(){y(this).cbCheckForCategory(T,S)})}catch(V){WPCAGLOBAL.log(V.message,"exc",V)}};J.handlerCcClickDefaultSett=function(R){try{R.preventDefault();if(J.didSetCcDefaultSett){return false}var P=y(this),Q=R.data.thiz,O=A(P);O.each(function(){var S=y(this);if(!S.is(":checked")){S.cbCheck().trigger("change",[])}});J.didSetCcDefaultSett=true;return false}catch(N){WPCAGLOBAL.log(N.message,"exc",N)}};J.handlerCcClickSaveSett=function(T){try{T.preventDefault();var R=y(this),S=T.data.thiz,O=A(R),P=s(O),U,Q;S.hasChangedCat=L(P,S.clientCc);if(S.hasChangedCat){S.needConsent=true}if(!S.hasChangedCat){return}U=e("cc_save_sett",S.hasChangedCat);Q=(U)?S.currentUri:false;if(!l(P)){P=wpcaData.requiredCc;WPCAGLOBAL.alert("not all required categories found. Required: "+wpcaData.requiredCc.join())}v(R,P);y(window).on("wpca.cc:saved",function(W,V){w(U,Q,R,V)});return false}catch(N){WPCAGLOBAL.log(N.message,"exc",N)}};J.animate=function(){var O=this,N={};if("top"===this.yPos){N=(this.el.hasClass("wpca-show"))?{top:"-"+this.posIn+"px"}:{top:this.posOut+"px"}}if("bottom"===this.yPos){N=(this.el.hasClass("wpca-show"))?{bottom:"-"+this.posIn+"px"}:{bottom:this.posOut+"px"}}if(O.doLayer){O.layer.hide().remove();y("html").css("overflow","initial")}this.el.animate(N,200,function(){var P=parseInt(O.el.css(O.yPos));if(O.posOut===P){O.setStateClasses(satusShow)}else{O.setStateClasses(E)}})};J.setStateClasses=function(O){var N=("undefined"===typeof O||false==O)?"show":O;switch(N){case"hide":this.el.removeClass(m);this.el.addClass(r);break;case"show":default:this.el.removeClass(r);this.el.addClass(m);break}};J.initPosParams=function(N){this.yPos=(this.el.hasClass("wpca-top"))?"top":"bottom";this.posIn=this.el.innerHeight();if("box"===this.layout){if(this.isCenteredBox){this.yPos="top";y("body").css("position","relative")}var O=parseInt(this.el.data("space"));this.posIn=(0<O)?this.posIn+O:this.posIn}if(this.hasWPadminbar&&"show"===N&&("top"===this.yPos||this.isCenteredBox)){if(600<y(window).width()){this.posIn=Math.abs(this.wpadminbar.innerHeight()-this.posIn);this.posOut=this.wpadminbar.innerHeight()}else{y("body").css("position","");if(window.pageYOffset<=this.wpadminbar.innerHeight()){this.posOut=Math.abs(this.wpadminbar.innerHeight()-window.pageYOffset)}else{this.posOut=0}}}else{this.posOut=0}};J.initStatus=function(N){if(null!==N){var O={};this.setStateClasses(N);if("show"===N){if(this.isCenteredBox&&640<y(window).width()){O={top:""}}else{if("top"===this.yPos){O={top:this.posOut+"px"}}if("bottom"===this.yPos){O={bottom:this.posOut+"px"}}}}else{if("top"===this.yPos){O={top:"-"+this.posIn+"px"}}if("bottom"===this.yPos){O={bottom:"-"+this.posIn+"px"}}}this.el.css(O)}};J.handlerScrollWindow=function(N){if(J.hasWPadminbar&&"top"===J.yPos&&"show"===J.showHideStatus&&600>=y(window).width()){var O=null;if(window.pageYOffset<J.wpadminbar.innerHeight()){O=J.wpadminbar.innerHeight()-window.pageYOffset}else{if(J.wpadminbar.innerHeight()<=window.pageYOffset){O=0}}if(null!==O){J.el.css("top",O+"px")}}};J.events=function(){var N=this;if(-1===[5,6,7].indexOf(this.consentMethod)){this.acceptBtns.on("click",{thiz:this},this.handlerConsentClickAccept)}this.declineBtns.on("click",{thiz:this},this.handlerConsentClickDecline);this.resetConsentBtns.on("click",{thiz:this},this.handlerConsentClickResetConsent);t(J.handlerScrollWindow,{});if(this.hasCloseEl){this.closeEl.on("click",{thiz:this},this.handlerClickClose)}if(this.consentMethod&&!this.didConsent&&!this.didDeclined){if(7===this.consentMethod){y(window).on("click",{thiz:this},this.handlerConsentClickWindow)}else{if(6===this.consentMethod&&!this.didConsent){t(J.handlerConsentscrollWindow,{url:J.currentUri,thiz:this})}else{if(5===this.consentMethod&&!this.didConsent){y(window).on("click",{thiz:this},this.handlerConsentClickWindow);t(J.handlerConsentscrollWindow,{url:J.currentUri,thiz:this})}else{if(4===this.consentMethod&&!this.didConsent){y(window).on("click",{thiz:this},this.handlerConsentClickWindow);t(J.handlerConsentscrollWindow,{url:J.currentUri,thiz:this})}else{if(3===this.consentMethod&&!this.didConsent){y(window).on("click",{thiz:this},this.handlerConsentClickWindow)}else{if(2===this.consentMethod&&!this.didConsent){t(J.handlerConsentscrollWindow,{url:J.currentUri,thiz:this})}}}}}}}y(window).on("wpca.consent:after",{thiz:N},H);y(window).on("wpca.decline:after",{thiz:N},o);this.elCcBox.find("."+j+" input").on("click change",{thiz:N},N.handlerCcClickInput);this.elCcBox.find("."+x).on("click",{thiz:N},N.handlerCcClickDefaultSett);this.elCcBox.find("."+d).on("click",{thiz:N},N.handlerCcClickSaveSett);y(window).resize(function(){N.initPosParams(N.showHideStatus);N.initStatus(N.showHideStatus)})};J.init=function(){try{if(this.done){return}var O=["layout","cookiePolicyCssClass","currenturl","wpurl","queryVarBypass","queryVarReset","cookieValueConsent","cookieNameConsent","cookieNameCc","mspath","nonce","ajaxurl","cookiesBeforeConsent","consentMethod","doLayer","hasClose","useXAsDismiss","minScrollTop","resettedConsent","ssl","allowedCc","requiredCc","clientCc","firstVisit"];if(null==wpcaData){throw new Error("Missing global param: wpcaData")}for(var P=0;P<O.length;P++){if(null==wpcaData[O[P]]){throw new Error("Missing global param: "+O[P])}}this.layout=wpcaData.layout;this.el=y("#wpca-"+this.layout);this.wpadminbar=y("#wpadminbar");this.hasWPadminbar=(null!=this.wpadminbar[0])?true:false;this.privacyBtns=y("."+wpcaData.cookiePolicyCssClass);this.privacyBtn=this.el.find("."+wpcaData.cookiePolicyCssClass);this.acceptBtns=y(".wpca-btn-accept");this.acceptBtn=this.el.find(".wpca-btn-accept");this.declineBtns=y(".wpca-btn-decline");this.declineBtn=this.el.find(".wpca-btn-decline");this.resetConsentBtns=y(".wpca-btn-reset-consent");this.resetConsentBtn=this.el.find(".wpca-btn-reset-consent");this.elCcBox=y("."+I);this.cookieExpire=(wpcaData.cookieExpire)?wpcaData.cookieExpire:this.cookieExpire;this.currentUri=("undefined"!==typeof wpcaData.currenturl)?wpcaData.currenturl:wpcaData.wpurl;this.links=this.el.find("a").not(this.privacyBtn);this.doLayer=wpcaData.doLayer;this.layer=y("#wpca-trans-layer");this.isCenteredBox=this.el.hasClass("wpca-ct");this.hasClose=wpcaData.hasClose;this.useXAsDismiss=wpcaData.useXAsDismiss;this.minScrollTop=(0<=wpcaData.minScrollTop)?wpcaData.minScrollTop:this.minScrollTop;this.consentMethod=parseInt(wpcaData.consentMethod);this.hasBtnAccept=(0<this.acceptBtns.length);this.hasBtnDecline=(0<this.declineBtns.length);this.resettedConsent=wpcaData.resettedConsent;this.didConsent=("1"===wpcaData.cookieValueConsent);this.didDeclined=("0"===wpcaData.cookieValueConsent);this.hasBtnResetConsent=(0<this.resetConsentBtns.length);this.hasClientCc=(0<wpcaData.clientCc.length);if(this.hasClose){this.closeEl=this.el.find("#"+F);this.hasCloseEl=(0<this.closeEl.length)}this.clientCc=wpcaData.clientCc;
1if(wpcaData.firstVisit&&null!=D(wpcaData.cookieNameCc)){M(wpcaData.cookieNameCc)}this.currentUri=this.currentUri.replace("?"+wpcaData.queryVarBypass+"=1","");this.currentUri=this.currentUri.replace(wpcaData.queryVarBypass+"=1","");this.currentUri=this.currentUri.replace("?"+wpcaData.queryVarReset+"=1","");this.currentUri=this.currentUri.replace(wpcaData.queryVarReset+"=1","");if("1"===D(wpcaData.cookieNameConsent)&&!this.didConsent){this.didConsent=true}if("0"===D(wpcaData.cookieNameConsent)&&!this.didDeclined){this.didDeclined=true}this.showHideStatus=(this.didConsent)?"hide":"show";if("show"===this.showHideStatus&&this.doLayer&&1===y("#"+C).length){y("html").css("overflow","hidden")}y.fn.extend(k);this.initPosParams(this.showHideStatus);this.initStatus(this.showHideStatus);this.events();this.done=true}catch(N){WPCAGLOBAL.log(N.message,"exc",N)}};return J})(jQuery||{},WPCAFR||{});jQuery(function(a){if(WPCAFR.done){return}WPCAFR.init()});
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.