1(()=>{var t={184(){document.addEventListener("DOMContentLoaded",function(){document.addEventListener("click",function(t){if(t.target.matches("ul.convertkit-broadcasts-pagination a")){t.preventDefault();const e=t.target.closest("div.convertkit-broadcasts");!function(t,e){convertkit_broadcasts.debug&&(console.log("convertKitBroadcastsRender()"),console.log(e)),t.classList.add("convertkit-broadcasts-loading");const n=new URLSearchParams(e),o=`${convertkit_broadcasts.ajax_url}?${n.toString()}`;fetch(o).then(function(t){return convertkit_broadcasts.debug&&console.log(t),t.json()}).then(function(e){convertkit_broadcasts.debug&&console.log(e),t.classList.remove("convertkit-broadcasts-loading"),t.innerHTML=e}).catch(function(e){convertkit.debug&&console.error(e),t.classList.remove("convertkit-broadcasts-loading")})}(e,{display_date:e.dataset.displayDate,date_format:e.dataset.dateFormat,display_image:e.dataset.displayImage,display_description:e.dataset.displayDescription,display_read_more:e.dataset.displayReadMore,read_more_label:e.dataset.readMoreLabel,limit:e.dataset.limit,paginate:e.dataset.paginate,paginate_label_prev:e.dataset.paginateLabelPrev,paginate_label_next:e.dataset.paginateLabelNext,link_color:e.dataset.linkColor,page:t.target.dataset.page})}})})},509(){window.convertKitRecaptchaFormSubmit=function(t){document.querySelector('[type="submit"][data-callback="convertKitRecaptchaFormSubmit"]').closest("form").submit()},"undefined"!=typeof convertkit&&document.addEventListener("DOMContentLoaded",function(){(function(t){const e=new URL(t),n=e.searchParams.get("ck_subscriber_id");if(null===n)return;e.searchParams.delete("ck_subscriber_id");const o=document.getElementsByTagName("title")[0].innerHTML;let r=e.searchParams.toString();r.length>0&&(r="?"+r),window.history.replaceState(null,o,e.pathname+r+e.hash),function(t,e){const n=new CustomEvent("kit_subscriber_id_removed_from_url",{detail:e});document.dispatchEvent(n)}(0,{id:n})})(window.location.href),document.querySelectorAll('script[data-kit-limit-per-session="1"]').length>0&&(document.cookie="ck_non_inline_form_displayed=1; path=/",convertkit.debug&&console.log("Set `ck_non_inline_form_displayed` cookie for non-inline form limit"))})},688(){function t(){const t=document.querySelector("#convertkit-subscriber-code");null!==t&&t.addEventListener("input",function(){t.style.setProperty("--_otp-digit",t.value.length),6===t.value.length&&(t.setSelectionRange(0,0),t.blur(),document.querySelector("#convertkit-restrict-content-form").requestSubmit())})}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".convertkit-restrict-content-modal-open").forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),document.querySelector("#convertkit-restrict-content-modal-background").style.display="block",document.querySelector("#convertkit-restrict-content-modal").style.display="block"})}),document.addEventListener("submit",function(e){e.target.matches("form#convertkit-restrict-content-form")&&(e.preventDefault(),function(e){if(document.querySelectorAll('input[type="text"], input[type="email"], input[type="submit"]').forEach(function(t){t.setAttribute("disabled","disabled")}),document.querySelector("#convertkit-restrict-content-modal-loading").style.display="block",null!==document.querySelector("input#convertkit-subscriber-code"))return n=convertkit_restrict_content.nonce,o=e.target.querySelector('input[name="subscriber_code"]').value,r=e.target.querySelector('input[name="token"]').value,c=e.target.querySelector('input[name="convertkit_post_id"]').value,fetch(convertkit_restrict_content.subscriber_verification_url,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":n},body:JSON.stringify({subscriber_code:o,token:r,convertkit_post_id:c})}).then(function(t){return convertkit_restrict_content.debug&&console.log(t),t.json()}).then(function(e){if(convertkit_restrict_content.debug&&console.log(e),!e.success)return document.querySelector("#convertkit-restrict-content-modal-content").innerHTML=e.data,document.querySelector("#convertkit-restrict-content-modal-loading").style.display="none",void t();window.location=e.url}).catch(function(t){convertkit_restrict_content.debug&&console.error(t)}),!1;var n,o,r,c;!function(e,n,o,r,c){fetch(convertkit_restrict_content.subscriber_authentication_url,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":e},body:JSON.stringify({convertkit_email:n,convertkit_resource_type:o,convertkit_resource_id:r,convertkit_post_id:c})}).then(function(t){return convertkit_restrict_content.debug&&console.log(t),t.json()}).then(function(e){convertkit_restrict_content.debug&&console.log(e),void 0!==e.code?document.querySelector("#convertkit-restrict-content-modal-content").innerHTML=e.message:document.querySelector("#convertkit-restrict-content-modal-content").innerHTML=e.data,document.querySelector("#convertkit-restrict-content-modal-loading").style.display="none",t()}).catch(function(t){convertkit_restrict_content.debug&&console.error(t)})}(convertkit_restrict_content.nonce,e.target.querySelector('input[name="convertkit_email"]').value,e.target.querySelector('input[name="convertkit_resource_type"]').value,e.target.querySelector('input[name="convertkit_resource_id"]').value,e.target.querySelector('input[name="convertkit_post_id"]').value)}(e))});const e=document.querySelector("#convertkit-restrict-content-modal-close");null!==e&&e.addEventListener("click",function(t){t.preventDefault(),document.querySelector("#convertkit-restrict-content-modal-background").style.display="none",document.querySelector("#convertkit-restrict-content-modal-loading").style.display="none",document.querySelector("#convertkit-restrict-content-modal").style.display="none"})})}};const e={};function n(o){const r=e[o];
1if(void 0!==r)return r.exports;const c=e[o]={exports:{}};return t[o](c,c.exports,n),c.exports}n.n=t=>{const e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var r=e[o++],c=e[o++];n.o(t,r)?0===c&&o++:0===c?Object.defineProperty(t,r,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,r,{enumerable:!0,get:c})}else for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.hasOwn(t,e),(()=>{"use strict";n(184),n(509),n(688)})()})(); 2(function($){$(document).ready(function(){$(document).on('click','a.gofollow',function(){$.post(click_object.ajax_url,{'action':'adrotate_click','track':$(this).attr("data-track")})})})}(jQuery)); 3/*! 4 * imagesLoaded PACKAGED v3.1.8 5 * JavaScript is all like "You images are done yet or what?" 6 * MIT License 7 */ 8 9/*! 10 * EventEmitter v4.2.6 - git.io/ee 11 * Oliver Caldwell 12 * MIT license 13 * @preserve 14 */ 15(function(){function EventEmitter(){} 16var proto=EventEmitter.prototype;var exports=this;var originalGlobalValue=exports.EventEmitter;function indexOfListener(listeners,listener){var i=listeners.length;while(i--){if(listeners[i].listener===listener){return i}} 17return-1} 18function alias(name){return function aliasClosure(){return this[name].apply(this,arguments)}} 19proto.getListeners=function getListeners(evt){var events=this._getEvents();var response;var key;if(typeof evt==='object'){response={};for(key in events){if(events.hasOwnProperty(key)&&evt.test(key)){response[key]=events[key]}}}else{response=events[evt]||(events[evt]=[])} 20return response};proto.flattenListeners=function flattenListeners(listeners){var flatListeners=[];var i;for(i=0;i<listeners.length;i+=1){flatListeners.push(listeners[i].listener)} 21return flatListeners};proto.getListenersAsObject=function getListenersAsObject(evt){var listeners=this.getListeners(evt);var response;if(listeners instanceof Array){response={};response[evt]=listeners} 22return response||listeners};proto.addListener=function addListener(evt,listener){var listeners=this.getListenersAsObject(evt);var listenerIsWrapped=typeof listener==='object';var key;for(key in listeners){if(listeners.hasOwnProperty(key)&&indexOfListener(listeners[key],listener)===-1){listeners[key].push(listenerIsWrapped?listener:{listener:listener,once:!1})}} 23return this};proto.on=alias('addListener');proto.addOnceListener=function addOnceListener(evt,listener){return this.addListener(evt,{listener:listener,once:!0})};proto.once=alias('addOnceListener');proto.defineEvent=function defineEvent(evt){this.getListeners(evt);return this};proto.defineEvents=function defineEvents(evts){for(var i=0;i<evts.length;i+=1){this.defineEvent(evts[i])} 24return this};proto.removeListener=function removeListener(evt,listener){var listeners=this.getListenersAsObject(evt);var index;var key;for(key in listeners){if(listeners.hasOwnProperty(key)){index=indexOfListener(listeners[key],listener);if(index!==-1){listeners[key].splice(index,1)}}} 25return this};proto.off=alias('removeListener');proto.addListeners=function addListeners(evt,listeners){return this.manipulateListeners(!1,evt,listeners)};proto.removeListeners=function removeListeners(evt,listeners){return this.manipulateListeners(!0,evt,listeners)};proto.manipulateListeners=function manipulateListeners(remove,evt,listeners){var i;var value;var single=remove?this.removeListener:this.addListener;var multiple=remove?this.removeListeners:this.addListeners;if(typeof evt==='object'&&!(evt instanceof RegExp)){for(i in evt){if(evt.hasOwnProperty(i)&&(value=evt[i])){if(typeof value==='function'){single.call(this,i,value)}else{multiple.call(this,i,value)}}}}else{i=listeners.length;while(i--){single.call(this,evt,listeners[i])}} 26return this};proto.removeEvent=function removeEvent(evt){var type=typeof evt;var events=this._getEvents();var key;if(type==='string'){delete events[evt]}else if(type==='object'){for(key in events){if(events.hasOwnProperty(key)&&evt.test(key)){delete events[key]}}}else{delete this._events} 27return this};proto.removeAllListeners=alias('removeEvent');proto.emitEvent=function emitEvent(evt,args){var listeners=this.getListenersAsObject(evt);var listener;var i;var key;var response;for(key in listeners){if(listeners.hasOwnProperty(key)){i=listeners[key].length;while(i--){listener=listeners[key][i];if(listener.once===!0){this.removeListener(evt,listener.listener)} 28response=listener.listener.apply(this,args||[]);if(response===this._getOnceReturnValue()){this.removeListener(evt,listener.listener)}}}} 29return this};proto.trigger=alias('emitEvent');proto.emit=function emit(evt){var args=Array.prototype.slice.call(arguments,1
29);return this.emitEvent(evt,args)};proto.setOnceReturnValue=function setOnceReturnValue(value){this._onceReturnValue=value;return this};proto._getOnceReturnValue=function _getOnceReturnValue(){if(this.hasOwnProperty('_onceReturnValue')){return this._onceReturnValue}else{return!0}};proto._getEvents=function _getEvents(){return this._events||(this._events={})};EventEmitter.noConflict=function noConflict(){exports.EventEmitter=originalGlobalValue;return EventEmitter};if(typeof define==='function'&&define.amd){define('eventEmitter/EventEmitter',[],function(){return EventEmitter})}else if(typeof module==='object'&&module.exports){module.exports=EventEmitter}else{this.EventEmitter=EventEmitter}}.call(this)); 30/*! 31 * eventie v1.0.4 32 * event binding helper 33 * eventie.bind( elem, 'click', myFn ) 34 * eventie.unbind( elem, 'click', myFn ) 35 */ 36(function(window){var docElem=document.documentElement;var bind=function(){};function getIEEvent(obj){var event=window.event;event.target=event.target||event.srcElement||obj;return event} 37if(docElem.addEventListener){bind=function(obj,type,fn){obj.addEventListener(type,fn,!1)}}else if(docElem.attachEvent){bind=function(obj,type,fn){obj[type+fn]=fn.handleEvent?function(){var event=getIEEvent(obj);fn.handleEvent.call(fn,event)}:function(){var event=getIEEvent(obj);fn.call(obj,event)};obj.attachEvent("on"+type,obj[type+fn])}} 38var unbind=function(){};if(docElem.removeEventListener){unbind=function(obj,type,fn){obj.removeEventListener(type,fn,!1)}}else if(docElem.detachEvent){unbind=function(obj,type,fn){obj.detachEvent("on"+type,obj[type+fn]);try{delete obj[type+fn]}catch(err){obj[type+fn]=undefined}}} 39var eventie={bind:bind,unbind:unbind};if(typeof define==='function'&&define.amd){define('eventie/eventie',eventie)}else{window.eventie=eventie}})(this); 40/*! 41 * imagesLoaded v3.1.8 42 * JavaScript is all like "You images are done yet or what?" 43 * MIT License 44 */ 45(function(window,factory){if(typeof define==='function'&&define.amd){define(['eventEmitter/EventEmitter','eventie/eventie'],function(EventEmitter,eventie){return factory(window,EventEmitter,eventie)})}else if(typeof exports==='object'){module.exports=factory(window,require('wolfy87-eventemitter'),require('eventie'))}else{window.imagesLoaded=factory(window,window.EventEmitter,window.eventie)}})(window,function factory(window,EventEmitter,eventie){var $=window.jQuery;var console=window.console;var hasConsole=typeof console!=='undefined';function extend(a,b){for(var prop in b){a[prop]=b[prop]} 46return a} 47var objToString=Object.prototype.toString;function isArray(obj){return objToString.call(obj)==='[object Array]'} 48function makeArray(obj){var ary=[];if(isArray(obj)){ary=obj}else if(typeof obj.length==='number'){for(var i=0,len=obj.length;i<len;i++){ary.push(obj[i])}}else{ary.push(obj)} 49return ary} 50function ImagesLoaded(elem,options,onAlways){if(!(this instanceof ImagesLoaded)){return new ImagesLoaded(elem,options)} 51if(typeof elem==='string'){elem=document.querySelectorAll(elem)} 52this.elements=makeArray(elem);this.options=extend({},this.options);if(typeof options==='function'){onAlways=options}else{extend(this.options,options)} 53if(onAlways){this.on('always',onAlways)} 54this.getImages();if($){this.jqDeferred=new $.Deferred()} 55var _this=this;setTimeout(function(){_this.check()})} 56ImagesLoaded.prototype=new EventEmitter();ImagesLoaded.prototype.options={};ImagesLoaded.prototype.getImages=function(){this.images=[];for(var i=0,len=this.elements.length;i<len;i++){var elem=this.elements[i];if(elem.nodeName==='IMG'){this.addImage(elem)} 57var nodeType=elem.nodeType;if(!nodeType||!(nodeType===1||nodeType===9||nodeType===11)){continue} 58var childElems=elem.querySelectorAll('img');for(var j=0,jLen=childElems.length;j<jLen;j++){var img=childElems[j];this.addImage(img)}}};ImagesLoaded.prototype.addImage=function(img){var loadingImage=new LoadingImage(img);this.images.push(loadingImage)};ImagesLoaded.prototype.check=function(){var _this=this;var checkedCount=0;var length=this.images.length;this.hasAnyBroken=!1;if(!length){this.complete();return} 59function onConfirm(image,message){if(_this.options.debug&&hasConsole){console.log('confirm',image,message)} 60_this.progress(image);checkedCount++;
60if(checkedCount===length){_this.complete()} 61return!0} 62for(var i=0;i<length;i++){var loadingImage=this.images[i];loadingImage.on('confirm',onConfirm);loadingImage.check()}};ImagesLoaded.prototype.progress=function(image){this.hasAnyBroken=this.hasAnyBroken||!image.isLoaded;var _this=this;setTimeout(function(){_this.emit('progress',_this,image);if(_this.jqDeferred&&_this.jqDeferred.notify){_this.jqDeferred.notify(_this,image)}})};ImagesLoaded.prototype.complete=function(){var eventName=this.hasAnyBroken?'fail':'done';this.isComplete=!0;var _this=this;setTimeout(function(){_this.emit(eventName,_this);_this.emit('always',_this);if(_this.jqDeferred){var jqMethod=_this.hasAnyBroken?'reject':'resolve';_this.jqDeferred[jqMethod](_this)}})};if($){$.fn.imagesLoaded=function(options,callback){var instance=new ImagesLoaded(this,options,callback);return instance.jqDeferred.promise($(this))}} 63function LoadingImage(img){this.img=img} 64LoadingImage.prototype=new EventEmitter();LoadingImage.prototype.check=function(){var resource=cache[this.img.src]||new Resource(this.img.src);if(resource.isConfirmed){this.confirm(resource.isLoaded,'cached was confirmed');return} 65if(this.img.complete&&this.img.naturalWidth!==undefined){this.confirm(this.img.naturalWidth!==0,'naturalWidth');return} 66var _this=this;resource.on('confirm',function(resrc,message){_this.confirm(resrc.isLoaded,message);return!0});resource.check()};LoadingImage.prototype.confirm=function(isLoaded,message){this.isLoaded=isLoaded;this.emit('confirm',this,message)};var cache={};function Resource(src){this.src=src;cache[src]=this} 67Resource.prototype=new EventEmitter();Resource.prototype.check=function(){if(this.isChecked){return} 68var proxyImage=new Image();eventie.bind(proxyImage,'load',this);eventie.bind(proxyImage,'error',this);proxyImage.src=this.src;this.isChecked=!0};Resource.prototype.handleEvent=function(event){var method='on'+event.type;if(this[method]){this[method](event)}};Resource.prototype.onload=function(event){this.confirm(!0,'onload');this.unbindProxyEvents(event)};Resource.prototype.onerror=function(event){this.confirm(!1,'onerror');this.unbindProxyEvents(event)};Resource.prototype.confirm=function(isLoaded,message){this.isConfirmed=!0;this.isLoaded=isLoaded;this.emit('confirm',this,message)};Resource.prototype.unbindProxyEvents=function(event){eventie.unbind(event.target,'load',this);eventie.unbind(event.target,'error',this)};return ImagesLoaded}); 69/*! 70 * wow.js v1.1.2 - Reveal CSS animation as you scroll down a page. 71 * Copyright (C) 2014; Matthieu Aussaguel 72 * License: MIT 73 */ 74(function(){var MutationObserver,Util,WeakMap,getComputedStyle,getComputedStyleRX,bind=function(fn,me){return function(){return fn.apply(me,arguments)}},indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i<l;i++){if(i in this&&this[i]===item)return i}return-1};Util=(function(){function Util(){} 75Util.prototype.extend=function(custom,defaults){var key,value;for(key in defaults){value=defaults[key];if(custom[key]==null){custom[key]=value}} 76return custom};Util.prototype.isMobile=function(agent){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent)};Util.prototype.createEvent=function(event,bubble,cancel,detail){var customEvent;if(bubble==null){bubble=!1} 77if(cancel==null){cancel=!1} 78if(detail==null){detail=null} 79if(document.createEvent!=null){customEvent=document.createEvent('CustomEvent');customEvent.initCustomEvent(event,bubble,cancel,detail)}else if(document.createEventObject!=null){customEvent=document.createEventObject();customEvent.eventType=event}else{customEvent.eventName=event} 80return customEvent};Util.prototype.emitEvent=function(elem,event){if(elem.dispatchEvent!=null){return elem.dispatchEvent(event)}else if(event in(elem!=null)){return elem[event]()}else if(("on"+event)in(elem!=null)){return elem["on"+event]()}};Util.prototype.addEvent=function(elem,event,fn){if(elem.addEventListener!=null){return elem.addEventListener(event,fn,!1)}else if(elem.attachEvent!=null){return elem.attachEvent("on"+event,fn)}else{return elem[event]=fn}};Util.prototype.removeEvent=function(elem,event,fn){if(elem.removeEventListener!=null){return elem.removeEventListener(event,fn,!1)}else if(elem.detachEvent!=null){return elem.detachEvent("on"+event,fn)}else{return delete elem[event]}};
80Util.prototype.innerHeight=function(){if('innerHeight' in window){return window.innerHeight}else{return document.documentElement.clientHeight}};return Util})();WeakMap=this.WeakMap||this.MozWeakMap||(WeakMap=(function(){function WeakMap(){this.keys=[];this.values=[]} 81WeakMap.prototype.get=function(key){var i,item,j,len,ref;ref=this.keys;for(i=j=0,len=ref.length;j<len;i=++j){item=ref[i];if(item===key){return this.values[i]}}};WeakMap.prototype.set=function(key,value){var i,item,j,len,ref;ref=this.keys;for(i=j=0,len=ref.length;j<len;i=++j){item=ref[i];if(item===key){this.values[i]=value;return}} 82this.keys.push(key);return this.values.push(value)};return WeakMap})());MutationObserver=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(MutationObserver=(function(){function MutationObserver(){if(typeof console!=="undefined"&&console!==null){console.warn('MutationObserver is not supported by your browser.')} 83if(typeof console!=="undefined"&&console!==null){console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.')}} 84MutationObserver.notSupported=!0;MutationObserver.prototype.observe=function(){};return MutationObserver})());getComputedStyle=this.getComputedStyle||function(el,pseudo){this.getPropertyValue=function(prop){var ref;if(prop==='float'){prop='styleFloat'} 85if(getComputedStyleRX.test(prop)){prop.replace(getComputedStyleRX,function(_,_char){return _char.toUpperCase()})} 86return((ref=el.currentStyle)!=null?ref[prop]:void 0)||null};return this};getComputedStyleRX=/(\-([a-z]){1})/g;this.WOW=(function(){WOW.prototype.defaults={boxClass:'wow',animateClass:'animated',offset:0,mobile:!0,live:!0,callback:null};function WOW(options){if(options==null){options={}} 87this.scrollCallback=bind(this.scrollCallback,this);this.scrollHandler=bind(this.scrollHandler,this);this.resetAnimation=bind(this.resetAnimation,this);this.start=bind(this.start,this);this.scrolled=!0;this.config=this.util().extend(options,this.defaults);this.animationNameCache=new WeakMap();this.wowEvent=this.util().createEvent(this.config.boxClass)} 88WOW.prototype.init=function(){var ref;this.element=window.document.documentElement;if((ref=document.readyState)==="interactive"||ref==="complete"){this.start()}else{this.util().addEvent(document,'DOMContentLoaded',this.start)} 89return this.finished=[]};WOW.prototype.start=function(){var box,j,len,ref;this.stopped=!1;this.boxes=(function(){var j,len,ref,results;ref=this.element.querySelectorAll("."+this.config.boxClass);results=[];for(j=0,len=ref.length;j<len;j++){box=ref[j];results.push(box)} 90return results}).call(this);this.all=(function(){var j,len,ref,results;ref=this.boxes;results=[];for(j=0,len=ref.length;j<len;j++){box=ref[j];results.push(box)} 91return results}).call(this);if(this.boxes.length){if(this.disabled()){this.resetStyle()}else{ref=this.boxes;for(j=0,len=ref.length;j<len;j++){box=ref[j];this.applyStyle(box,!0)}}} 92if(!this.disabled()){this.util().addEvent(window,'scroll',this.scrollHandler);this.util().addEvent(window,'resize',this.scrollHandler);this.interval=setInterval(this.scrollCallback,50)} 93if(this.config.live){return new MutationObserver((function(_this){return function(records){var k,len1,node,record,results;results=[];for(k=0,len1=records.length;k<len1;k++){record=records[k];results.push((function(){var l,len2,ref1,results1;ref1=record.addedNodes||[];results1=[];for(l=0,len2=ref1.length;l<len2;l++){node=ref1[l];results1.push(this.doSync(node))} 94return results1}).call(_this))} 95return results}})(this)).observe(document.body,{childList:!0,subtree:!0})}};WOW.prototype.stop=function(){this.stopped=!0;this.util().removeEvent(window,'scroll',this.scrollHandler);this.util().removeEvent(window,'resize',this.scrollHandler);if(this.interval!=null){return clearInterval(this.interval)}};WOW.prototype.sync=function(element){if(MutationObserver.notSupported){return this.doSync(this.element)}};WOW.prototype.doSync=function(element){var box,j,len,ref,results;if(element==null){element=this.element} 96if(element.nodeType!==1){return} 97element=element.parentNode||element;ref=element.querySelectorAll("."+this.config.boxClass);results=[];for(j=0,len=ref.length;j<len;j++){box=ref[j];if(indexOf.call(this.all,box)<0){this.boxes.push(box);this.all.push(box);if(this.stopped||this.disabled()){this.resetStyle()}else{this.applyStyle(box,!0)} 98results.push(this.scrolled=!0)}else{results.push(void 0)}} 99return results};WOW.prototype.show=function(box){this.applyStyle(box);box.className=box.className+" "+this.config.animateClass;if(this.config.callback!=null){this.config.callback(box)} 100this.util().emitEvent(box,this.wowEvent);this.util().addEvent(box,'animationend',this.resetAnimation);this.util().addEvent(box,'oanimationend',this.resetAnimation);this.util().addEvent(box,'webkitAnimationEnd',this.resetAnimation);this.util().addEvent(box,'MSAnimationEnd',this.resetAnimation);return box};WOW.prototype.applyStyle=function(box,hidden){var delay,duration,iteration;duration=box.getAttribute('data-wow-duration');delay=box.getAttribute('data-wow-delay');iteration=box.getAttribute('data-wow-iteration');return this.animate((function(_this){return function(){return _this.customStyle(box,hidden,duration,delay,iteration)}})(this))};WOW.prototype.animate=(function(){if('requestAnimationFrame' in window){return function(callback){return window.requestAnimationFrame(callback)}}else{return function(callback){return callback()}}})();WOW.prototype.resetStyle=function(){var box,j,len,ref,results;ref=this.boxes;results=[];for(j=0,len=ref.length;j<len;j++){box=ref[j];results.push(box.style.visibility='visible')} 101return results};WOW.prototype.resetAnimation=function(event){var target;if(event.type.toLowerCase().indexOf('animationend')>=0){target=event.target||event.srcElement;return target.className=target.className.replace(this.config.animateClass,'').trim()}};WOW.prototype.customStyle=function(box,hidden,duration,delay,iteration){if(hidden){this.cacheAnimationName(box)} 102box.style.visibility=hidden?'hidden':'visible';if(duration){this.vendorSet(box.style,{animationDuration:duration})} 103if(delay){this.vendorSet(box.style,{animationDelay:delay})} 104if(iteration){this.vendorSet(box.style,{animationIterationCount:iteration})} 105this.vendorSet(box.style,{animationName:hidden?'none':this.cachedAnimationName(box)});return box};
105WOW.prototype.vendors=["moz","webkit"];WOW.prototype.vendorSet=function(elem,properties){var name,results,value,vendor;results=[];for(name in properties){value=properties[name];elem[""+name]=value;results.push((function(){var j,len,ref,results1;ref=this.vendors;results1=[];for(j=0,len=ref.length;j<len;j++){vendor=ref[j];results1.push(elem[""+vendor+(name.charAt(0).toUpperCase())+(name.substr(1))]=value)} 106return results1}).call(this))} 107return results};WOW.prototype.vendorCSS=function(elem,property){var j,len,ref,result,style,vendor;style=getComputedStyle(elem);result=style.getPropertyCSSValue(property);ref=this.vendors;for(j=0,len=ref.length;j<len;j++){vendor=ref[j];result=result||style.getPropertyCSSValue("-"+vendor+"-"+property)} 108return result};WOW.prototype.animationName=function(box){var animationName;try{animationName=this.vendorCSS(box,'animation-name').cssText}catch(_error){animationName=getComputedStyle(box).getPropertyValue('animation-name')} 109if(animationName==='none'){return''}else{return animationName}};WOW.prototype.cacheAnimationName=function(box){return this.animationNameCache.set(box,this.animationName(box))};WOW.prototype.cachedAnimationName=function(box){return this.animationNameCache.get(box)};WOW.prototype.scrollHandler=function(){return this.scrolled=!0};WOW.prototype.scrollCallback=function(){var box;if(this.scrolled){this.scrolled=!1;this.boxes=(function(){var j,len,ref,results;ref=this.boxes;results=[];for(j=0,len=ref.length;j<len;j++){box=ref[j];if(!(box)){continue} 110if(this.isVisible(box)){this.show(box);continue} 111results.push(box)} 112return results}).call(this);if(!(this.boxes.length||this.config.live)){return this.stop()}}};WOW.prototype.offsetTop=function(element){var top;while(element.offsetTop===void 0){element=element.parentNode} 113top=element.offsetTop;while(element=element.offsetParent){top+=element.offsetTop} 114return top};WOW.prototype.isVisible=function(box){var bottom,offset,top,viewBottom,viewTop;offset=box.getAttribute('data-wow-offset')||this.config.offset;viewTop=window.pageYOffset;viewBottom=viewTop+Math.min(this.element.clientHeight,this.util().innerHeight())-offset;top=this.offsetTop(box);bottom=top+box.clientHeight;return top<=viewBottom&&bottom>=viewTop};WOW.prototype.util=function(){return this._util!=null?this._util:this._util=new Util()};WOW.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)};return WOW})()}).call(this); 115/*! 116 * WOW Animation Handlers to animate the different site areas 117 * e.g. Sidebar & Footer Widgets, Post Blocks 118 * 119 * Copyright (c) 2013-2016 Wisteria.com 120 * License: GNU General Public License v2 or later 121 * http://www.gnu.org/licenses/gpl-2.0.html 122 */ 123(function($){$(document).ready(function(){new WOW({boxClass:'wow',animateClass:'animated',offset:0,mobile:!0,live:!0}).init()})})(jQuery); 124/*! 125 * scrollup v2.4.0 126 * Url: http://markgoodyear.com/labs/scrollup/ 127 * Copyright (c) Mark Goodyear @markgdyr http://markgoodyear.com 128 * License: MIT 129 */ 130(function($,window,document){'use strict';$.fn.scrollUp=function(options){if(!$.data(document.body,'scrollUp')){$.data(document.body,'scrollUp',!0);$.fn.scrollUp.init(options)}};$.fn.scrollUp.init=function(options){var o=$.fn.scrollUp.settings=$.extend({},$.fn.scrollUp.defaults,options),triggerVisible=!1,animIn,animOut,animSpeed,scrollDis,scrollEvent,scrollTarget,$self;if(o.scrollTrigger){$self=$(o.scrollTrigger)}else{$self=$('<a/>',{id:o.scrollName,href:'#top'})} 131if(o.scrollTitle){$self.attr('title',o.scrollTitle)} 132$self.appendTo('body');if(!(o.scrollImg||o.scrollTrigger)){$self.html(o.scrollText)} 133$self.css({display:'none',position:'fixed',zIndex:o.zIndex});if(o.activeOverlay){$('<div/>',{id:o.scrollName+'-active'}).css({position:'absolute','top':o.scrollDistance+'px',width:'100%',borderTop:'1px dotted'+o.activeOverlay,zIndex:o.zIndex}).appendTo('body')} 134switch(o.animation){case 'fade':animIn='fadeIn';animOut='fadeOut';animSpeed=o.animationSpeed;break;case 'slide':animIn='slideDown';animOut='slideUp';animSpeed=o.animationSpeed;break;default:animIn='show';animOut='hide';animSpeed=0} 135if(o.scrollFrom==='top'){scrollDis=o.scrollDistance}else{scrollDis=$(document).height()-$(window).height()-o.scrollDistance} 136scrollEvent=$(window).scroll(function(){if($(window).scrollTop()>scrollDis){if(!triggerVisible){$self[animIn](animSpeed);triggerVisible=!0}}else{if(triggerVisible){$self[animOut](animSpeed);triggerVisible=!1}}});if(o.scrollTarget){if(typeof o.scrollTarget==='number'){scrollTarget=o.scrollTarget}else if(typeof o.scrollTarget==='string'){scrollTarget=Math.floor($(o.scrollTarget).offset().top)}}else{scrollTarget=0} 137$self.click(function(e){e.preventDefault();$('html, body').animate({scrollTop:scrollTarget},o.scrollSpeed,o.easingType)})};$.fn.scrollUp.defaults={scrollName:'scrollUp',scrollDistance:300,scrollFrom:'top',scrollSpeed:300,easingType:'linear',animation:'fade',animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:'Scroll to top',scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647};$.fn.scrollUp.destroy=function(scrollEvent){$.removeData(document.body,'scrollUp');$('#'+$.fn.scrollUp.settings.scrollName).remove();$('#'+$.fn.scrollUp.settings.scrollName+'-active').remove();if($.fn.jquery.split('.')[1]>=7){$(window).off('scroll',scrollEvent)}else{$(window).unbind('scroll',scrollEvent)}};$.scrollUp=$.fn.scrollUp})(jQuery,window,document); 138/*! 139 * ScrollUp Handlers for back to top 140 * 141 * Copyright (c) 2013-2015 Wisteria.com
142 * License: GNU General Public License v2 or later 143 * http://www.gnu.org/licenses/gpl-2.0.html 144 */ 145(function($){$(document).ready(function(){$.scrollUp({scrollDistance:1000,scrollFrom:'bottom',scrollSpeed:1500,animation:'slide',scrollText:'<span></span>',zIndex:99950})})})(jQuery); 146/*! 147 * enquire.js v2.1.2 - Awesome Media Queries in JavaScript 148 * Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/enquire.js 149 * License: MIT (http://www.opensource.org/licenses/mit-license.php) 150 */ 151;(function(name,context,factory){var matchMedia=window.matchMedia;if(typeof module!=='undefined'&&module.exports){module.exports=factory(matchMedia)}else if(typeof define==='function'&&define.amd){define(function(){return(context[name]=factory(matchMedia))})}else{context[name]=factory(matchMedia)}}('enquire',this,function(matchMedia){'use strict';function each(collection,fn){var i=0,length=collection.length,cont;for(i;i<length;i++){cont=fn(collection[i],i);if(cont===!1){break}}} 152function isArray(target){return Object.prototype.toString.apply(target)==='[object Array]'} 153function isFunction(target){return typeof target==='function'} 154function QueryHandler(options){this.options=options;!options.deferSetup&&this.setup()} 155QueryHandler.prototype={setup:function(){if(this.options.setup){this.options.setup()} 156this.initialised=!0},on:function(){!this.initialised&&this.setup();this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(target){return this.options===target||this.options.match===target}};function MediaQuery(query,isUnconditional){this.query=query;this.isUnconditional=isUnconditional;this.handlers=[];this.mql=matchMedia(query);var self=this;this.listener=function(mql){self.mql=mql;self.assess()};this.mql.addListener(this.listener)} 157MediaQuery.prototype={addHandler:function(handler){var qh=new QueryHandler(handler);this.handlers.push(qh);this.matches()&&qh.on()},removeHandler:function(handler){var handlers=this.handlers;each(handlers,function(h,i){if(h.equals(handler)){h.destroy();return!handlers.splice(i,1)}})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){each(this.handlers,function(handler){handler.destroy()});this.mql.removeListener(this.listener);this.handlers.length=0},assess:function(){var action=this.matches()?'on':'off';each(this.handlers,function(handler){handler[action]()})}};function MediaQueryDispatch(){if(!matchMedia){throw new Error('matchMedia n
157ot present, legacy browsers require a polyfill')} 158this.queries={};this.browserIsIncapable=!matchMedia('only all').matches} 159MediaQueryDispatch.prototype={register:function(q,options,shouldDegrade){var queries=this.queries,isUnconditional=shouldDegrade&&this.browserIsIncapable;if(!queries[q]){queries[q]=new MediaQuery(q,isUnconditional)} 160if(isFunction(options)){options={match:options}} 161if(!isArray(options)){options=[options]} 162each(options,function(handler){if(isFunction(handler)){handler={match:handler}} 163queries[q].addHandler(handler)});return this},unregister:function(q,handler){var query=this.queries[q];if(query){if(handler){query.removeHandler(handler)}else{query.clear();delete this.queries[q]}} 164return this}};return new MediaQueryDispatch()})); 165(function($){$.fn.hoverIntent=function(handlerIn,handlerOut,selector){var cfg={interval:100,sensitivity:7,timeout:0};if(typeof handlerIn==="object"){cfg=$.extend(cfg,handlerIn)}else if($.isFunction(handlerOut)){cfg=$.extend(cfg,{over:handlerIn,out:handlerOut,selector:selector})}else{cfg=$.extend(cfg,{over:handlerIn,out:handlerIn,selector:handlerOut})} 166var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).off("mousemove.hoverIntent",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev])}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])};var handleHover=function(e){var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t)} 167if(e.type=="mouseenter"){pX=ev.pageX;pY=ev.pageY;$(ob).on("mousemove.hoverIntent",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}}else{$(ob).off("mousemove.hoverIntent",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob)},cfg.timeout)}}};return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover},cfg.selector)}})(jQuery); 168(function($,w){"use strict";var methods=(function(){var c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',menuArrowClass:'sf-arrows'},ios=(function(){var ios=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);if(ios){$('html').css('cursor','pointer').on('click',$.noop)} 169return ios})(),wp7=(function(){var style=document.documentElement.style;return('behavior' in style&&'fill' in style&&/iemobile/i.test(navigator.userAgent))})(),unprefixedPointerEvents=(function(){return(!!w.PointerEvent)})(),toggleMenuClasses=function($menu,o,add){var classes=c.menuClass,method;if(o.cssArrows){classes+=' '+c.menuArrowClass} 170method=(add)?'addClass':'removeClass';$menu[method](classes)},setPathToCurrent=function($menu,o){return $menu.find('li.'+o.pathClass).slice(0,o.pathLevels).addClass(o.hoverClass+' '+c.bcClass).filter(function(){return($(this).children(o.popUpSelector).hide().show().length)}).removeClass(o.pathClass)},toggleAnchorClass=function($li,add){var method=(add)?'addClass':'removeClass';
170$li.children('a')[method](c.anchorClass)},toggleTouchAction=function($menu){var msTouchAction=$menu.css('ms-touch-action');var touchAction=$menu.css('touch-action');touchAction=touchAction||msTouchAction;touchAction=(touchAction==='pan-y')?'auto':'pan-y';$menu.css({'ms-touch-action':touchAction,'touch-action':touchAction})},getMenu=function($el){return $el.closest('.'+c.menuClass)},getOptions=function($el){return getMenu($el).data('sfOptions')},over=function(){var $this=$(this),o=getOptions($this);clearTimeout(o.sfTimer);$this.siblings().superfish('hide').end().superfish('show')},close=function(o){o.retainPath=($.inArray(this[0],o.$path)>-1);this.superfish('hide');if(!this.parents('.'+o.hoverClass).length){o.onIdle.call(getMenu(this));if(o.$path.length){$.proxy(over,o.$path)()}}},out=function(){var $this=$(this),o=getOptions($this);if(ios){$.proxy(close,$this,o)()}else{clearTimeout(o.sfTimer);o.sfTimer=setTimeout($.proxy(close,$this,o),o.delay)}},touchHandler=function(e){var $this=$(this),o=getOptions($this),$ul=$this.siblings(e.data.popUpSelector);if(o.onHandleTouch.call($ul)===!1){return this} 171if($ul.length>0&&$ul.is(':hidden')){$this.one('click.superfish',!1);if(e.type==='MSPointerDown'||e.type==='pointerdown'){$this.trigger('focus')}else{$.proxy(over,$this.parent('li'))()}}},applyHandlers=function($menu,o){var targets='li:has('+o.popUpSelector+')';if($.fn.hoverIntent&&!o.disableHI){$menu.hoverIntent(over,out,targets)}else{$menu.on('mouseenter.superfish',targets,over).on('mouseleave.superfish',targets,out)} 172var touchevent='MSPointerDown.superfish';if(unprefixedPointerEvents){touchevent='pointerdown.superfish'} 173if(!ios){touchevent+=' touchend.superfish'} 174if(wp7){touchevent+=' mousedown.superfish'} 175$menu.on('focusin.superfish','li',over).on('focusout.superfish','li',out).on(touchevent,'a',o,touchHandler)};return{hide:function(instant){if(this.length){var $this=this,o=getOptions($this);if(!o){return this} 176var not=(o.retainPath===!0)?o.$path:'',$ul=$this.find('li.'+o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),speed=o.speedOut;if(instant){$ul.show();speed=0} 177o.retainPath=!1;if(o.onBeforeHide.call($ul)===!1){return this} 178$ul.stop(!0,!0).animate(o.animationOut,speed,function(){var $this=$(this);o.onHide.call($this)})} 179return this},show:function(){var o=getOptions(this);if(!o){return this} 180var $this=this.addClass(o.hoverClass),$ul=$this.children(o.popUpSelector);if(o.onBeforeShow.call($ul)===!1){return this} 181$ul.stop(!0,!0).animate(o.animation,o.speed,function(){o.onShow.call($ul)});return this},destroy:function(){return this.each(function(){var $this=$(this),o=$this.data('sfOptions'),$hasPopUp;if(!o){return!1} 182$hasPopUp=$this.find(o.popUpSelector).parent('li');clearTimeout(o.sfTimer);toggleMenuClasses($this,o);toggleAnchorClass($hasPopUp);toggleTouchAction($this);$this.off('.superfish').off('.hoverIntent');$hasPopUp.children(o.popUpSelector).attr('style',function(i,style){return style.replace(/display[^;]+;?/g,'')});o.$path.removeClass(o.hoverClass+' '+c.bcClass).addClass(o.pathClass);$this.find('.'+o.hoverClass).removeClass(o.hoverClass);o.onDestroy.call($this);$this.removeData('sfOptions')})},init:function(op){return this.each(function(){var $this=$(this);if($this.data('sfOptions')){return!1} 183var o=$.extend({},$.fn.superfish.defaults,op),$hasPopUp=$this.find(o.popUpSelector).parent('li');o.$path=setPathToCurrent($this,o);$this.data('sfOptions',o);toggleMenuClasses($this,o,!0);toggleAnchorClass($hasPopUp,!0);toggleTouchAction($this);applyHandlers($this,o);$hasPopUp.not('.'+c.bcClass).superfish('hide',!0);o.onInit.call(this)})}}})();$.fn.superfish=function(method,args){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof method==='object'||!method){return methods.init.apply(this,arguments)}else{return $.error('Method '+method+' does not exist on jQuery.fn.superfish')}};$.fn.superfish.defaults={popUpSelector:'ul,.sf-mega',hoverClass:'sfHover',pathClass:'overrideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},animationOut:{opacity:'hide'},speed:'normal',speedOut:'fast',cssArrows:!0,disableHI:!1,onInit:$.noop,onBeforeShow:$.noop,onShow:$.noop,onBeforeHide:$.noop,onHide:$.noop,onIdle:$.noop,onDestroy:$.noop,onHandleTouch:$.noop}})(jQuery,window); 184/*! 185 * Custom v1.0 186 * Contains handlers for the different site functions 187 * 188 * Copyright (c) 2013-2016 Wisteria.com
189 * License: GNU General Public License v2 or later 190 * http://www.gnu.org/licenses/gpl-2.0.html 191 */ 192(function($){var wisteria={menuInit:function(){$('ul.sf-menu').superfish({delay:1500,animation:{opacity:'show',height:'show'},speed:'fast',autoArrows:!1,cssArrows:!0})},searchCurtainInit:function(){var scw=$('.search-curtain-wrapper');var sc=$('.search-curtain');$('.search-control').off('click').on('click',function(e){e.preventDefault();e.stopPropagation();scw.toggleClass('show');setTimeout(function(){sc.addClass('show');$('.search-curtain .search-field').focus()},300);if(scw.hasClass('show')){$('body').addClass('has-search-curtain')}});$('.search-curtain-close').off('click').on('click',function(e){e.preventDefault();e.stopPropagation();wisteria.searchCurtainCloseInit()})},searchCurtainCloseInit:function(){var scw=$('.search-curtain-wrapper');var sc=$('.search-curtain');if(scw.hasClass('show')){$('body').removeClass('has-search-curtain');sc.addClass('hide');setTimeout(function(){sc.removeClass('show hide');scw.toggleClass('show')},300)}},responsiveMenuInit:function(){var $headerMenuClone=$('.header-menu').clone().removeAttr('class').addClass('header-menu-responsive');$headerMenuClone.removeAttr('style').find('*').each(function(i,e){$(e).removeAttr('style')});var $responsiveMenuClose=$('<div class="header-menu-responsive-close">×</div>');$('<div class="site-header-menu-responsive" />').insertBefore('.site-content');$headerMenuClone.appendTo('.site-header-menu-responsive');$responsiveMenuClose.appendTo('.site-header-menu-responsive');$('.site-header-menu-responsive .page_item_has_children > a, .site-header-menu-responsive .menu-item-has-children > a').append('<button class="dropdown-toggle" aria-expanded="false"/>');$('.site-header-menu-responsive .dropdown-toggle').off('click').on('click',function(e){e.preventDefault();$(this).toggleClass('toggle-on');$(this).parent().next('.children, .sub-menu').toggleClass('toggle-on');$(this).attr('aria-expanded',$(this).attr('aria-expanded')==='false'?'true':'false')})},slidePanelInit:function(){var menuResponsive=$('.site-header-menu-responsive');var overlayEffect=$('.overlay-effect');var menuResponsiveClose=$('.header-menu-responsive-close');$('.toggle-menu-control').off('click').on('click',function(e){e.preventDefault();e.stopPropagation();menuResponsive.toggleClass('show');overlayEffect.toggleClass('open');if(overlayEffect.hasClass('open')){$('body').addClass('has-responsive-menu')}});menuResponsiveClose.off('click').on('click',function(){wisteria.slidePanelCloseInit()});overlayEffect.off('click').on('click',function(){wisteria.slidePanelCloseInit()})},slidePanelCloseInit:function(){var menuResponsive=$('.site-header-menu-responsive');var overlayEffect=$('.overlay-effect');if(overlayEffect.hasClass('open')){$('body').removeClass('has-responsive-menu');if(menuResponsive.hasClass('show')){menuResponsive.toggleClass('show')} 193overlayEffect.toggleClass('open')}},widgetLogicInit:function(){$('.widget_nav_menu > div[class^="menu-social-"] > ul > li > a').wrapInner('<span class="screen-reader-text"></span>');$('.widget_nav_menu .menu-item-has-children > a').append('<span class="custom-menu-toggle" aria-expanded="false"></span>');$('.widget_nav_menu .custom-menu-toggle').off('click').on('click',function(e){e.preventDefault();$(this).toggleClass('toggle-on');$(this).parent().next('.sub-menu').toggleClass('toggle-on');$(this).attr('aria-expanded',$(this).attr('aria-expanded')==='false'?'true':'false')});$('.widget_pages .page_item_has_children > a').append('<span class="page-toggle" aria-expanded="false"></span>');$('.widget_pages .page-toggle').off('click').on('click',function(e){e.preventDefault();$(this).toggleClass('toggle-on');$(this).parent().next('.children').toggleClass('toggle-on');$(this).attr('aria-expanded',$(this).attr('aria-expanded')==='false'?'true':'false')});$('.widget_categories').find('.children').parent().addClass('category_item_has_children');$('.widget_categories .category_item_has_children > a').append('<span class="category-toggle" aria-expanded="false"></span>');$('.widget_categories .category-toggle').off('click').on('click',function(e){e.preventDefault();$(this).toggleClass('toggle-on');$(this).parent().next('.children').toggleClass('toggle-on');$(this).attr('aria-expanded',$(this).attr('aria-expanded')==='false'?'true':'false')})},mqInit:function(){enquire.register('screen and ( max-width: 767px )',{deferSetup:!0,setup:function(){wisteria.responsiveMenuInit()},match:function(){wisteria.slidePanelInit();$('.entry-content, .sidebar, .footer-sidebar').find('table').wrap('<div class="table-responsive"></div>')},unmatch:function(){wisteria.slidePanelCloseInit();$('.entry-content, .sidebar, .footer-sidebar').find('table').unwrap('<div class="table-responsive"></div>')}})}};$(document).ready(function(){wisteria.menuInit();wisteria.searchCurtainInit();wisteria.slidePanelInit();wisteria.widgetLogicInit();wisteria.mqInit()});$(document).keyup(function(e){if(e.keyCode===27){wisteria.searchCurtainCloseInit();wisteria.slidePanelCloseInit()}})})(jQuery); 194/*! This file is auto-generated */ 195window.edButtons=[],window.edAddTag=function(){},window.edCheckOpenTags=function(){},window.edCloseAllTags=function(){},window.edInsertImage=function(){},window.edInsertLink=function(){},window.edInsertTag=function(){},window.edLink=function(){},window.edQuickLink=function(){},window.edRemoveTag=function(){},window.edShowButton=function(){},window.edShowLinks=function(){},window.edSpell=function(){},window.edToolbar=function(){},function(){function u(t){var e,n,o,a;"undefined"!=typeof jQuery?jQuery(t):((e=u).funcs=[],e.ready=function(){if(!e.isReady)for(e.isReady=!0,n=0;n<e.funcs.length;n++)e.funcs[n]()},e.isReady?t():e.funcs.push(t),e.eventAttached||(document.addEventListener?(o=function(){document.removeEventListener("DOMContentLoaded",o,!1),e.ready()},document.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",e.ready,!1)):document.attachEvent&&(o=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",o),e.ready())},document.attachEvent("onreadystatechange",o),window.attachEvent("onload",e.ready),(a=function(){try{document.documentElement.doScroll("left")}catch(t){return void setTimeout(a,50)}e.ready()})()),e.eventAttached=!0))}t=new Date,e=function(t){t=t.toString();return t=t.length<2?"0"+t:t};var t,e=t.getUTCFullYear()+"-"+e(t.getUTCMonth()+1)+"-"+e(t.getUTCDate())+"T"+e(t.getUTCHours())+":"+e(t.getUTCMinutes())+":"+e(t.getUTCSeconds())+"+00:00",r=window.QTags=function(t){if("string"==typeof t)t={id:t};else if("object"!=typeof t)return!1;var e,n,o,a=this,i=t.id,s=document.getElementById(i),l="qt_"+i;if(!i||!s)return!1;a.name=l,a.id=i,a.canvas=s,a.settings=t,t="content"!==i||"string"!=typeof adminpage||"post-new-php"!==adminpage&&"post-php"!==adminpage?l+"_toolbar":(window.edCanvas=s,"ed_toolbar"),(e=document.getElementById(t))||((e=document.createElement("div")).id=t,e.className="quicktags-toolbar"),s.parentNode.insertBefore(e,s),a.toolbar=e,t=function(t){var e,t=(t=t||window.event).target||t.srcElement;(t.clientWidth||t.offsetWidth)&&/ ed_button /.test(" "+t.className+" ")&&(a.c
195anvas=s=document.getElementById(i),e=t.id.replace(l+"_",""),a.theButtons[e])&&a.theButtons[e].callback.call(a.theButtons[e],t,s,a)},o=function(){window.wpActiveEditor=i},n=document.getElementById("wp-"+i+"-wrap"),e.addEventListener?(e.addEventListener("click",t,!1),n&&n.addEventListener("click",o,!1)):e.attachEvent&&(e.attachEvent("onclick",t),n)&&n.attachEvent("onclick",o),a.getButton=function(t){return a.theButtons[t]},a.getButtonElement=function(t){return document.getElementById(l+"_"+t)},a.init=function(){u(function(){r._buttonsInit(i)})},a.remove=function(){delete r.instances[i],e&&e.parentNode&&e.parentNode.removeChild(e)},(r.instances[i]=a).init()};function s(t){return(t=(t=t||"").replace(/&([^#])(?![a-z1-4]{1,8};)/gi,"&$1")).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}r.instances={},r.getInstance=function(t){return r.instances[t]},r._buttonsInit=function(t){var c=this;function e(t){var e,n,o=c.instances[t],a=(o.canvas,o.name),i=o.settings,s="",l={},u="";for(n in i.buttons&&(u=","+i.buttons+","),edButtons)edButtons[n]&&(e=edButtons[n].id,u&&-1!==",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,".indexOf(","+e+",")&&-1===u.indexOf(","+e+",")||edButtons[n].instance&&edButtons[n].instance!==t||(l[e]=edButtons[n],edButtons[n].html&&(s+=edButtons[n].html(a+"_"))));u&&-1!==u.indexOf(",dfw,")&&(l.dfw=new r.DFWButton,s+=l.dfw.html(a+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(l.textdirection=new r.TextDirectionButton,s+=l.textdirection.html(a+"_")),o.toolbar.innerHTML=s,o.theButtons=l,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[o])}if(t)e(t);else for(t in c.instances)e(t);c.buttonsInitDone=!0},r.addButton=function(t,e,n,o,a,i,s,l,u){var c;if(t&&e){if(s=s||0,o=o||"",u=u||{},"function"==typeof n)(c=new r.Button(t,e,a,i,l,u)).callback=n;else{if("string"!=typeof n)return;c=new r.TagButton(t,e,n,o,a,i,l,u)}if(-1===s)return c;if(0<s){for(;void 0!==edButtons[s];)s++;edButtons[s]=c}else edButtons[edButtons.length]=c;this.buttonsInitDone&&this._buttonsInit()}},r.insertContent=function(t){var e,n,o,a,i=document.getElementById(wpActiveEditor);return!!i&&(document.selection?(i.focus(),document.selection.createRange().text=t):i.selectionStart||0===i.selectionStart?(o=i.value,e=i.selectionStart,a=i.selectionEnd,n=i.scrollTop,i.value=o.substring(0,e)+t+o.substring(a,o.length),i.selectionStart=e+t.length,i.selectionEnd=e+t.length,i.scrollTop=n):i.value+=t,i.focus(),document.createEvent?((a=document.createEvent("HTMLEvents")).initEvent("change",!1,!0),i.dispatchEvent(a)):i.fireEvent&&i.fireEvent("onchange"),!0)},r.Button=function(t,e,n,o,a,i){this.id=t,this.display=e,this.access="",this.title=o||"",this.instance=a||"",this.attr=i||{}},r.Button.prototype.html=function(t){var e,n=this.title?' title="'+s(this.title)+'"':"",o=this.attr&&this.attr.ariaLabel?' aria-label="'+s(this.attr.ariaLabel)+'"':"",a=this.display?' value="'+s(this.display)+'"':"",t=this.id?' id="'+s(t+this.id)+'"':"",i=(i=window.wp)&&i.editor&&i.editor.dfw;return"fullscreen"===this.id?'<button type="button"'+t+' class="ed_button qt-dfw qt-fullscreen"'+n+o+"></button>":"dfw"===this.id?(e=i&&i.isActive()?"":' disabled="disabled"','<button type="button"'+t+' class="ed_button qt-dfw'+(i&&i.isOn()?" active":"")+'"'+n+o+e+"></button>"):'<input type="button"'+t+' class="ed_button button button-small"'+n+o+a+" />"},r.Button.prototype.callback=function(){},r.TagButton=function(t,e,n,o,a,i,s,l){r.Button.call(this,t,e,a,i,s,l),this.tagStart=n,this.tagEnd=o},r.TagButton.prototype=new r.Button,r.TagButton.prototype.openTag=function(t,e){e.openTags||(e.openTags=[]),this.tagEnd&&(e.openTags.push(this.id),t.value="/"+t.value,this.attr.ariaLabelClose)&&t.setAttribute("aria-label",this.attr.ariaLabelClose)},r.TagButton.prototype.closeTag=function(t,e){var n=this.isOpen(e);!1!==n&&e.openTags.splice(n,1),t.value=this.display,this.attr.ariaLabel&&t.setAttribute("aria-label",this.attr.ariaLabel)},r.TagButton.prototype.isOpen=function(t){var e=0,n=!1;if(t.openTags)for(;!1===n&&e<t.openTags.length;)n=t.openTags[e]===this.id&&e,e++;else n=!1;return n},r.TagButton.prototype.callback=function(t,e,n){var o,a,i,s,l,u,c=this,r=e.value,d=r?c.tagEnd:"";
195document.selection?(e.focus(),0<(l=document.selection.createRange()).text.length?c.tagEnd?l.text=c.tagStart+l.text+d:l.text=l.text+c.tagStart:c.tagEnd?!1===c.isOpen(n)?(l.text=c.tagStart,c.openTag(t,n)):(l.text=d,c.closeTag(t,n)):l.text=c.tagStart):e.selectionStart||0===e.selectionStart?((l=e.selectionStart)<(u=e.selectionEnd)&&"\n"===r.charAt(u-1)&&--u,o=u,a=e.scrollTop,i=r.substring(0,l),s=r.substring(u,r.length),r=r.substring(l,u),l!==u?c.tagEnd?(e.value=i+c.tagStart+r+d+s,o+=c.tagStart.length+d.length):(e.value=i+r+c.tagStart+s,o+=c.tagStart.length):c.tagEnd?!1===c.isOpen(n)?(e.value=i+c.tagStart+s,c.openTag(t,n),o=l+c.tagStart.length):(e.value=i+d+s,o=l+d.length,c.closeTag(t,n)):(e.value=i+c.tagStart+s,o=l+c.tagStart.length),e.selectionStart=o,e.selectionEnd=o,e.scrollTop=a):d?!1!==c.isOpen(n)?(e.value+=c.tagStart,c.openTag(t,n)):(e.value+=d,c.closeTag(t,n)):e.value+=c.tagStart,e.focus(),document.createEvent?((u=document.createEvent("HTMLEvents")).initEvent("change",!1,!0),e.dispatchEvent(u)):e.fireEvent&&e.fireEvent("onchange")},r.SpellButton=function(){},r.CloseButton=function(){r.Button.call(this,"close",quicktagsL10n.closeTags,"",quicktagsL10n.closeAllOpenTags)},r.CloseButton.prototype=new r.Button,r._close=function(t,e,n){var o,a,i=n.openTags;if(i)for(;0<i.length;)o=n.getButton(i[i.length-1]),a=document.getElementById(n.name+"_"+o.id),t?o.callback.call(o,a,e,n):o.closeTag(a,n)},r.CloseButton.prototype.callback=r._close,r.closeAllTags=function(t){t=this.getInstance(t);t&&r._close("",t.canvas,t)},r.LinkButton=function(){var t={ariaLabel:quicktagsL10n.link};r.TagButton.call(this,"link","link","","</a>","","","",t)},r.LinkButton.prototype=new r.TagButton,r.LinkButton.prototype.callback=function(t,e,n,o){"undefined"!=typeof wpLink?wpLink.open(n.id):(o=o||"http://",!1===this.isOpen(n)?(o=prompt(quicktagsL10n.enterURL,o))&&(this.tagStart='<a href="'+o+'">',r.TagButton.prototype.callback.call(this,t,e,n)):r.TagButton.prototype.callback.call(this,t,e,n))},r.ImgButton=function(){var t={ariaLabel:quicktagsL10n.image};r.TagButton.call(this,"img","img","","","","","",t)},r.ImgButton.prototype=new r.TagButton,r.ImgButton.prototype.callback=function(t,e,n,o){o=o||"http://";var a,o=prompt(quicktagsL10n.enterImageURL,o);o&&(a=prompt(quicktagsL10n.enterImageDescription,""),this.tagStart='<img src="'+o+'" alt="'+a+'" />',r.TagButton.prototype.callback.call(this,t,e,n))},r.DFWButton=function(){r.Button.call(this,"dfw","","f",quicktagsL10n.dfw)},r.DFWButton.prototype=new r.Button,r.DFWButton.prototype.callback=function(){var t;(t=window.wp)&&t.editor&&t.editor.dfw&&window.wp.editor.dfw.toggle()},r.TextDirectionButton=function(){r.Button.call(this,"textdirection",quicktagsL10n.textdirection,"",quicktagsL10n.toggleTextdirection)},r.TextDirectionButton.prototype=new r.Button,r.TextDirectionButton.prototype.callback=function(t,e){var n="rtl"===document.getElementsByTagName("html")[0].dir,o=(o=e.style.direction)||(n?"rtl":"ltr");e.style.direction="rtl"===o?"ltr":"rtl",e.focus()},edButtons[10]=new r.TagButton("strong","b","<strong>","</strong>","","","",{ariaLabel:quicktagsL10n.strong,ariaLabelClose:quicktagsL10n.strongClose}),edButtons[20]=new r.TagButton("em","i","<em>","</em>","","","",{ariaLabel:quicktagsL10n.em,ariaLabelClose:quicktagsL10n.emClose}),edButtons[30]=new r.LinkButton,edButtons[40]=new r.TagButton("block","b-quote","\n\n<blockquote>","</blockquote>\n\n","","","",{ariaLabel:quicktagsL10n.blockquote,ariaLabelClose:quicktagsL10n.blockquoteClose}),edButtons[50]=new r.TagButton("del","del",'<del datetime="'+e+'">',"</del>","","","",{ariaLabel:quicktagsL10n.del,ariaLabelClose:quicktagsL10n.delClose}),edButtons[60]=new r.TagButton("ins","ins",'<ins datetime="'+e+'">',"</ins>","","","",{ariaLabel:quicktagsL10n.ins,ariaLabelClose:quicktagsL10n.insClose}),edButtons[70]=new r.ImgButton,edButtons[80]=new r.TagButton("ul","ul","<ul>\n","</ul>\n\n","","","",{ariaLabel:quicktagsL10n.ul,ariaLabelClose:quicktagsL10n.ulClose}),edButtons[90]=new r.TagButton("ol","ol","<ol>\n","</ol>\n\n","","","",{ariaLabel:quicktagsL10n.ol,ariaLabelClose:quicktagsL10n.olClose}),edButtons[100]=new r.TagButton("li","li","\t<li>","</li>\n","","","",{ariaLabel:quicktagsL10n.li,ariaLabelClose:quicktagsL10n.liClose}),edButtons[110]=new r.TagButton("code","code","<code>","</code>","","","",{ariaLabel:quicktagsL10n.code,ariaLabelClose:quicktagsL10n.codeClose}),edButtons[120]=new r.TagButton("more","more","\x3c!--more--\x3e\n\n","","","","",{ariaLabel:quicktagsL10n.more}),edButtons[140]=new r.CloseButton}(),window.quicktags=function(t){return new window.QTags(t)},window.edInsertContent=function(t,e){return window.QTags.insertContent(e)},window.edButton=function(t,e,n,o,a){return window.QTags.addButton(t,e,n,o,a,"",-1)}; 196for(const block in convertkit_quicktags){convertKitQuickTagRegister(convertkit_quicktags[block])} 197function convertKitQuickTagRegister(block){QTags.addButton('convertkit-'+block.name,block.title,function(){fetch(convertkit_admin_tinymce.ajaxurl+'/'+block.name+'/'+'quicktags',{method:'GET',headers:{'X-WP-Nonce':convertkit_admin_tinymce.nonce,},}).then(function(response){return response.json()}).then(function(result){convertKitQuickTagsModal.open();const quicktagsModal=document.querySelector('div.convertkit-quicktags-modal div.media-modal.wp-core-ui'),quicktagsModalHeader=quicktagsModal.querySelector('div.media-frame-title'),quicktagsModalFooter=quicktagsModal.querySelector('div.media-frame-toolbar div.media-toolbar');quicktagsModal.style.width=block.modal.width+'px';quicktagsModal.style.height=block.modal.height+quicktagsModalHeader.offsetHeight+quicktagsModalFooter.offsetHeight+'px';document.querySelector('#convertkit-quicktags-modal .media-frame-title h1').textContent=block.title;document.querySelector('#convertkit-quicktags-modal .media-frame-content').innerHTML=result;
197convertKitTabsInit();convertKitColorInputInit();convertKitConditionallyDisplayTinyMCEModalFields();convertKitConditionalFieldsInit();convertKitRefreshResourcesInitEventListeners()}).catch(function(error){console.error(error)})})}; 198function powerpress_show_embed(b){document.getElementById("powerpress_embed_"+b)&&("block"==document.getElementById("powerpress_embed_"+b).style.display?document.getElementById("powerpress_embed_"+b).style.display="none":(document.getElementById("powerpress_embed_"+b).style.display="block",document.getElementById("powerpress_embed_"+b+"_t").select()));return!1} 199function powerpress_embed_html5v(b,a,g,e,d){if(document.getElementById("powerpress_player_"+b)){var h="";if(document.getElementById("powerpress_player_"+b).getElementsByTagName){var c=document.getElementById("powerpress_player_"+b).getElementsByTagName("img");c.length&&c[0].src&&(h=c[0].src)}var l="video/mp4";-1<a.indexOf(".webm")&&(l="video/webm");if(-1<a.indexOf(".ogg")||-1<a.indexOf(".ogv"))l="video/ogg";c=document.createElement("video");var f=!1;if(c.canPlayType){var k=c.canPlayType(l);"probably"== 200k||"maybe"==k?f=!0:d&&(k=c.canPlayType("video/webm"),"probably"==k||"maybe"==k)&&(f=!0)}if(f)return f=document.createElement("source"),c.width=g,c.height=e,c.controls=!0,h&&(c.poster=h),f.src=a,f.type=l,c.appendChild(f),d&&(a=document.createElement("source"),a.src=d,a.type='video/webm; codecs="vp8, vorbis"',c.appendChild(a)),document.getElementById("powerpress_player_"+b).innerHTML="",document.getElementById("powerpress_player_"+b).appendChild(c),c.play(),window.powerpress_resize_player&&powerpress_resize_player(), 201!1}return!0} 202function powerpress_embed_html5a(b,a){if(document.getElementById("powerpress_player_"+b)){document.getElementById("powerpress_player_"+b).getElementsByTagName&&document.getElementById("powerpress_player_"+b).getElementsByTagName("img");var g="audio/mpeg";-1<a.indexOf(".m4a")&&(g="audio/x-m4a");if(-1<a.indexOf(".ogg")||-1<a.indexOf(".oga"))g="audio/ogg";var e=document.createElement("audio"),d=!1;if(e.canPlayType){var h=e.canPlayType(g);if("probably"==h||"maybe"==h)d=!0}if(d)return d=document.createElement("source"),e.controls= 203!0,d.src=a,d.type=g,e.appendChild(d),document.getElementById("powerpress_player_"+b).innerHTML="",document.getElementById("powerpress_player_"+b).appendChild(e),e.play(),!1}return!0} 204function powerpress_onload(){var b=document.getElementsByTagName("audio");for(i in b)b[i].addEventListener("play",function(a){a=this.src.match(/media.(blubrry|rawvoice).(net|biz|com)\/[a-zA-Z_]{3,30}\/p\//i);0<a.length&&(this.pause(),this.src=this.src.replace(a[0],a[0].replace("/p/","/e/")),this.load(),this.play())},!0)}null!==window.navigator.userAgent.match(/(MSIE|Edge|Trident)\//i)&&window.addEventListener&&window.addEventListener("load",powerpress_onload,!1); 205function powerpress_stp(b){b.preventDefault();var a=b.currentTarget;b=a.hasAttribute("data-pp-stp")?a.getAttribute("data-pp-stp"):0;a=a.hasAttribute("data-pp-player")?a.getAttribute("data-pp-player"):"";if(""!=a&&(a=document.getElementById(a),null!==a))return"AUDIO"==a.tagName||"MEDIAELEMENTWRAPPER"==a.tagName?(a.currentTime=b,a.play()):"IFRAME"==a.tagName&&a.contentWindow.postMessage(b,"*"),!1};
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.