(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.KadenceAccordion=b()})(this,function(){"use strict";function a(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function b(a,b){for(let c=0;c{window.KadenceBlocksAccordion.scrollToElement(d)},600)))}}},init(){const a=document.querySelectorAll(".kt-accordion-inner-wrap"),c=Array.from(a);for(let a=0,b=c.length;a{window.KadenceBlocksAccordion.init()})}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.KadenceBlocksAccordion.init):window.KadenceBlocksAccordion.init()}();;
var wpslAddons=wpslAddons||{};function wpslWidget(){wpslAddons.widget.init()}wpslAddons.widget={init:function(){jQuery("#wpsl-widget-search").length&&"undefined"!=typeof wpslWidgetSettings&&(1==wpslWidgetSettings.autoComplete&&wpslAddons.widget.api.autoComplete(),1!=wpslWidgetSettings.autoLocate||jQuery(".wpsl-search").hasClass("wpsl-widget")||wpslAddons.widget.api.geoLocationRequest()),jQuery(".wpsl-icon-direction").on("click",function(){wpslAddons.widget.api.geoLocationRequest()}),jQuery("#wpsl-widget-submit").bind("click",function(e){return jQuery.trim(jQuery("#wpsl-widget-search").val()).length?void jQuery("#wpsl-widget-search").removeClass("wpsl-error"):(jQuery("#wpsl-widget-search").addClass("wpsl-error").focus(),!1)})},api:{autoComplete:function(){var e,t={};if(void 0===wpslWidgetSettings.geocodeComponents||jQuery.isEmptyObject(wpslWidgetSettings.geocodeComponents)||(t.componentRestrictions=wpslWidgetSettings.geocodeComponents),void 0!==wpslWidgetSettings.autoCompleteOptions&&!jQuery.isEmptyObject(wpslWidgetSettings.autoCompleteOptions))for(var o in wpslWidgetSettings.autoCompleteOptions)wpslWidgetSettings.autoCompleteOptions.hasOwnProperty(o)&&(t[o]=wpslWidgetSettings.autoCompleteOptions[o]);e=document.getElementById("wpsl-widget-search"),new google.maps.places.Autocomplete(e,t)},geoLocationRequest:function(){var t,o,e=Number(wpslWidgetSettings.geoLocationTimout);navigator.geolocation&&(t=setInterval(function(){jQuery(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),navigator.geolocation.getCurrentPosition(function(e){void 0!==e&&(o=new google.maps.LatLng(e.coords.latitude,e.coords.longitude),clearInterval(t),wpslAddons.widget.api.geocode.reverse(o))},function(e){switch(e.code){case e.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case e.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case e.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}clearInterval(t),jQuery(".wpsl-icon-direction").removeClass("wpsl-active-icon")},{maximumAge:6e4,timeout:e,enableHighAccuracy:!0}))},geocode:{reverse:function(e){(new google.maps.Geocoder).geocode({latLng:e},function(e,t){e=wpslAddons.widget.api.geocode.filterResponse(e),t==google.maps.GeocoderStatus.OK&&jQuery("#wpsl-widget-search").val(e)})},filterResponse:function(e){var t,o,s,i,n=wpslWidgetSettings.filterPattern;if("formatted_address"==n)s=e[0].formatted_address;else{for(i=e[0].address_components.length,o=0;o 0) {
var filterOption = jQuery(".filter-option");
filterOption.css("display", "none");
var providers = [
[
"Company ID",
"Provider Name",
"Address 1",
"Address 2",
"City",
"State/Province",
"Zip",
"Country",
"Phone",
"Web Site",
"Accreditation Area",
"Federal Tax ID",
"Program",
"Program Focus",
"Age Group/Special Population",
"Outcome",
"Expiration Date",
"Survey End Date",
"Temporary Expiration Date"
],
];
// Loop over the returned locations.
jQuery.each(response, function (index) {
provider = response[index];
var filterOptions =
provider.program +
"," +
provider.program_focus +
"," +
provider.age_group;
const filterOptionsArray = filterOptions.split(",");
// Properly display the filter option if it is available in the provider information
filterOptionsArray.forEach((filterOptionStr) => {
jQuery(".filter-option").each(function () {
if (filterOptionStr && jQuery(this).text().trim() == filterOptionStr.trim()) {
jQuery(this).css("display", "block");
}
});
});
// hide or display the filter titles if no filter option is displayed in it's category
jQuery(".filter-title-option").each(function () {
var shouldHide = true;
jQuery(this)
.next()
.find(".filter-option")
.each(function () {
if (jQuery(this).css("display") !== "none") {
shouldHide = false;
}
});
jQuery(this).css("display", shouldHide ? "none" : "flex");
});
provider.programList.forEach((program) => {
providers.push([
provider.companyNumber,
provider.store,
provider.address,
provider.address2,
provider.city,
provider.state,
provider.zip,
provider.country,
provider.phone,
provider.website,
provider.accredArea,
provider.federalTaxID,
program.program ? program.program[0] : "",
program.programFocus ? program.programFocus[0] : "",
program.ageGroupSpecialPop ? program.ageGroupSpecialPop[0] : "",
program.decision ? program.decision[0] : "",
program.expirationDate ? program.expirationDate[0] : "",
program.surveyEndDate ? program.surveyEndDate[0] : "",
program.tempExpirationDate ? program.tempExpirationDate[0] : ""
]);
});
});
if (providers.length > 0) {
jQuery("#export-providers").on("click", function () {
exportToCsv("export.csv", providers);
});
}
}
}
});
// Update the filter button to display the proper number of applied terms
function updateFilterAppliedCount() {
var filtersAppliedCount = 0;
jQuery(".filter-option").each(function() {
if (jQuery(this).children().children("input").is(":checked")){
filtersAppliedCount++;
}
});
if (filtersAppliedCount > 0){
jQuery(".filter-button-count").text("("+filtersAppliedCount+")");
} else {
jQuery(".filter-button-count").text("");
}
}
// Function to uncheck all of the currently aplied filter options
function clearFilters(e) {
jQuery(".filter-option").each(function() {
if (jQuery(this).children().children("input").is(":checked")){
jQuery(this).children().children("input").prop('checked', false);
}
});
updateFilterAppliedCount();
e.preventDefault();
}
// Function to open or close the panel
function openPanel() {
const providerSearchInput = document.getElementById("wpsl-search-input").value
const providerSearchInputError = document.querySelector("#enter-location-error");
window.scroll({
top: 300,
behavior: "smooth"
});
if (providerSearchInput === '') {
providerSearchInputError.innerHTML = 'Please enter a location first
'
providerSearchInputError.style.display="block";
}
else if (providerSearchInput.match(/[|;$%'"@<>()\\+]+/) ) {
providerSearchInputError.innerHTML = 'The following characters are not allowed | ; $ % " < > ( ) + \ @';
providerSearchInputError.style.display="block";
} else {
providerSearchInputError.style.display="none";
var panel = document.getElementById("filterProviderPanel");
var header = document.getElementById("mobile-header");
if (panel.style.bottom === "-300px") {
panel.style.bottom = "0px";
panel.style.height = "100%";
header.style.display = "none";
} else {
panel.style.bottom = "-300px";
panel.style.height = "0px";
header.style.display = "block";
}
}
updateFilterAppliedCount();
}
// Export a list of providers in a csv file
function exportToCsv(filename, rows) {
var processRow = function (row) {
var finalVal = "";
for (var j = 0; j < row.length; j++) {
var innerValue = row[j] === null ? "" : row[j].toString();
if (row[j] instanceof Date) {
innerValue = row[j].toLocaleString();
}
var result = innerValue.replace(/"/g, '""');
if (result.search(/("|,|\n)/g) >= 0) result = '"' + result + '"';
if (j > 0) finalVal += ",";
finalVal += result;
}
return finalVal + "\n";
};
var csvFile = "";
for (var i = 0; i < rows.length; i++) {
csvFile += processRow(rows[i]);
}
var blob = new Blob([csvFile], { type: "text/csv;charset=utf-8;" });
if (navigator.msSaveBlob) {
// IE 10+
navigator.msSaveBlob(blob, filename);
} else {
var link = document.createElement("a");
if (link.download !== undefined) {
// feature detection
// Browsers that support HTML5 download attribute
var url = URL.createObjectURL(blob);
link.setAttribute("href", url);
link.setAttribute("download", filename);
link.style.visibility = "hidden";
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
}
}
;
// Function to open or close locations accordion
function toggleAllLocations() {
var allLocations = document.getElementById("location-expand-hidden");
var isDisplayed = allLocations.style.display === "none";
allLocations.style.display = isDisplayed ? "block" : "none";
var expandLocationsBtn = document.getElementById("expand-locations");
expandLocationsBtn.textContent = isDisplayed ? "Collapse all locations" : "Reveal all locations";
}
// Function to open or close the programs accordion
function toggleAllPrograms() {
var allPrograms = document.getElementById("program-expand-hidden");
var isDisplayed = allPrograms.style.display === "none";
allPrograms.style.display = isDisplayed ? "block" : "none";
var expandProgramsBtn = document.getElementById("expand-programs");
expandProgramsBtn.textContent = isDisplayed ? "Collapse all programs" : "Reveal all programs";
}
// Add aria label to reads the newletter's title
jQuery( document ).ready(function() {
jQuery(".newsletter-button").each(function () {
var text = jQuery(this).closest(".kt-blocks-post-grid-item-inner").find(".entry-title").text();
jQuery(this).attr("aria-label", text);
});
});
// add collapsible behavior to the filter options
jQuery( document ).ready(function() {
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
var icon = this.childNodes[3];
if (content.style.display === "block") {
content.style.display = "none";
icon.classList.remove("dashicons-arrow-up-alt2");
icon.classList.add("dashicons-arrow-down-alt2");
} else {
content.style.display = "block";
icon.classList.remove("dashicons-arrow-down-alt2");
icon.classList.add("dashicons-arrow-up-alt2");
}
});
coll[i].addEventListener("keypress", function(event) {
if (event.key === "Enter") {
event.preventDefault();
this.click();
}
});
}
});
// set Radius dropdown tabindex and behaviours
jQuery( document ).ready(function() {
var drowpdownIcon = jQuery(".provider-dropdown-icon");
jQuery("#wpsl-radius-dropdown").focus(function() {
if (drowpdownIcon) {
drowpdownIcon.addClass("dashicons-arrow-up");
drowpdownIcon.removeClass("dashicons-arrow-down");
}
});
jQuery("#wpsl-radius-dropdown").change(function() {
if (drowpdownIcon) {
drowpdownIcon.removeClass("dashicons-arrow-up");
drowpdownIcon.addClass("dashicons-arrow-down");
}
});
jQuery("#wpsl-radius-dropdown-group").blur(function() {
if (drowpdownIcon) {
drowpdownIcon.removeClass("dashicons-arrow-up");
drowpdownIcon.addClass("dashicons-arrow-down");
}
});
jQuery("#wpsl-radius-dropdown").blur(function() {
if (drowpdownIcon) {
drowpdownIcon.removeClass("dashicons-arrow-up");
drowpdownIcon.addClass("dashicons-arrow-down");
}
});
jQuery("#wpsl-search-btn").focus(function() {
jQuery(".wpsl-dropdown").removeClass("wpsl-active");
jQuery(".wpsl-selected-item").next().find("li").attr( 'tabIndex', -1 )
});
jQuery("#wpsl-search-provider").focus(function() {
jQuery(".wpsl-dropdown").removeClass("wpsl-active");
jQuery(".wpsl-selected-item").next().find("li").attr( 'tabIndex', -1 )
});
jQuery(".wpsl-selected-item").next().find("ul").blur(function() {
jQuery(".wpsl-selected-item").next().find("li").attr( 'tabIndex', -1 )
});
if (document.getElementById("wpsl-radius-dropdown-group")) {
document.getElementById("wpsl-radius-dropdown-group").addEventListener("keypress", function(event) {
if (event.key === "Enter") {
if (jQuery(this).children().hasClass("wpsl-active")){
jQuery("#wpsl-radius-dropdown").click();
jQuery(".wpsl-selected-item").next().find("li").attr( 'tabIndex', -1 )
} else {
jQuery(".wpsl-selected-item").next().find("li").attr( 'tabIndex', 0 )
jQuery("#wpsl-radius-dropdown").click();
jQuery(".wpsl-selected-item").next().find("li").each(function() {
this.addEventListener("keypress", function(event) {
if (event.key === "Enter") {
jQuery(".wpsl-selected-item").next().find("li").attr( 'tabIndex', -1 )
jQuery(this).click();
jQuery("#wpsl-search-provider").focus();
jQuery("#wpsl-radius-dropdown").click();
}
});
});
}
}
});
}
});
/* Sets the mega-menu behaviours */
jQuery( document ).ready(function() {
jQuery(document).click(function(event) {
//Hide the menus if visible
if (!jQuery(event.target).hasClass("nav-drop-title-wrap") && !jQuery(event.target).hasClass("kadence-svg-icon")) {
jQuery(".kadence-menu-mega-enabled").find(".kadence-svg-iconset").removeClass("menu-icon-active");
jQuery(".kadence-menu-mega-enabled").removeClass("menu-item--toggled-on");
}
});
jQuery(".kadence-menu-mega-enabled").on( "mouseenter", function(event) {
jQuery(this).find("ul").first().css( "display", "none" );
});
var SUBMENUS = document.querySelectorAll( '.menu ul' );
for ( let i = 0; i < SUBMENUS.length; i++ ) {
var parentMenuItem = SUBMENUS[ i ].parentNode;
parentMenuItem.addEventListener( 'mouseleave', function( e ) {
e.preventDefault();
e.stopPropagation();
}, true);
parentMenuItem.addEventListener( 'mouseout', function( e ) {
e.preventDefault();
e.stopPropagation();
}, true);
parentMenuItem.addEventListener( 'mouseenter', function( e ) {
e.preventDefault();
e.stopPropagation();
}, true);
parentMenuItem.addEventListener( 'mouseover', function( e ) {
if ( this.classList.contains("menu-item--toggled-on")) {
e.preventDefault();
e.stopPropagation();
}
}, true);
}
jQuery(".kadence-menu-mega-enabled").on("click", function(event) {
if (jQuery(event.target).hasClass("nav-drop-title-wrap") || jQuery(event.target).hasClass("kadence-svg-icon")) {
var submenu = jQuery(this)
var menuDisplay = submenu.find("ul").first().css('display');
submenu.find("ul").first().css( "display", menuDisplay === "none" ? "grid" : "none");
if (jQuery(this).find(".kadence-svg-iconset").hasClass("menu-icon-active")) {
jQuery(this).find(".kadence-svg-iconset").removeClass("menu-icon-active");
jQuery(this).removeClass("menu-item--toggled-on");
} else {
jQuery(".kadence-menu-mega-enabled").find(".kadence-svg-iconset").removeClass("menu-icon-active");
jQuery(".kadence-menu-mega-enabled").removeClass("menu-item--toggled-on");
jQuery(this).find(".kadence-svg-iconset").addClass("menu-icon-active");
jQuery(this).addClass("menu-item--toggled-on");
}
} else {
event.stopPropagation()
}
});
});
jQuery( document ).ready(function() {
jQuery("#user_pass0").attr("autocomplete", "off");
jQuery("#user_login0").attr("autocomplete", "off");
});;
!function(){"use strict";window.kadence={initOutlineToggle:function(){document.body.addEventListener("keydown",(function(){document.body.classList.remove("hide-focus-outline")})),document.body.addEventListener("mousedown",(function(){document.body.classList.add("hide-focus-outline")}))},getOffset:function(e){if(e instanceof HTMLElement){var t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}}return{top:null,left:null}},findParents:function(e,t){var n=[];return function e(o){var a=o.parentNode;a instanceof HTMLElement&&(a.matches(t)&&n.push(a),e(a))}(e),n},toggleAttribute:function(e,t,n,o){void 0===n&&(n=!0),void 0===o&&(o=!1),e.getAttribute(t)!==n?e.setAttribute(t,n):e.setAttribute(t,o)},initNavToggleSubmenus:function(){var e=document.querySelectorAll(".nav--toggle-sub");if(e.length)for(let t=0;t=q||0>b||H&&c>=x}function c(){var b=j();return a(b)?f(b):void(D=setTimeout(c,r(b)))}function f(a){return D=void 0,I&&m?n(a):(m=s=void 0,z)}function d(){void 0!==D&&clearTimeout(D),F=0,m=E=s=D=void 0}function l(){return void 0===D?z:f(j())}function p(){var b=j(),d=a(b);if(m=arguments,s=this,E=b,d){if(void 0===D)return o(E);if(H)return D=setTimeout(c,q),n(E)}return void 0===D&&(D=setTimeout(c,q)),z}var m,s,x,z,D,E,F=0,G=!1,H=!1,I=!0;if("function"!=typeof i)throw new TypeError(u);return q=B(q)||0,A(e)&&(G=!!e.leading,H="maxWait"in e,x=H?C(B(e.maxWait)||0,q):x,I="trailing"in e?!!e.trailing:I),p.cancel=d,p.flush=l,p}function n(b,c,d){var e=!0,f=!0;if("function"!=typeof b)throw new TypeError(u);return A(d)&&(e="leading"in d?!!d.leading:e,f="trailing"in d?!!d.trailing:f),z(b,c,{leading:e,maxWait:c,trailing:f})}function A(b){var c="undefined"==typeof b?"undefined":a(b);return!!b&&("object"==c||"function"==c)}function i(b){return!!b&&"object"==("undefined"==typeof b?"undefined":a(b))}function o(b){return"symbol"==("undefined"==typeof b?"undefined":a(b))||i(b)&&t.call(b)==f}function B(a){if("number"==typeof a)return a;if(o(a))return c;if(A(a)){var f="function"==typeof a.valueOf?a.valueOf():a;a=A(f)?f+"":f}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(d,"");var g=p.test(a);return g||m.test(a)?b(a.slice(2),g?2:8):l.test(a)?c:+a}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},u="Expected a function",c=NaN,f="[object Symbol]",d=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,b=parseInt,r="object"==("undefined"==typeof e?"undefined":a(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,g=r||s||Function("return this")(),h=Object.prototype,t=h.toString,C=Math.max,v=Math.min,j=function(){return g.Date.now()};q.exports=n}).call(a,function(){return this}())},function(q,a){(function(e){"use strict";function t(a,c,e){function j(b){var c=m,d=s;return m=s=void 0,E=b,x=a.apply(d,c)}function i(a){return E=a,C=setTimeout(r,c),F?j(a):x}function n(a){var b=a-D,d=a-E,e=c-b;return G?k(e,u-d):e}function q(a){var b=a-D,d=a-E;return void 0===D||b>=c||0>b||G&&d>=u}function r(){var a=v();return q(a)?f(a):void(C=setTimeout(r,n(a)))}function f(a){return C=void 0,H&&m?j(a):(m=s=void 0,x)}function d(){void 0!==C&&clearTimeout(C),E=0,m=D=s=C=void 0}function l(){return void 0===C?x:f(v())}function p(){var a=v(),b=q(a);if(m=arguments,s=this,D=a,b){if(void 0===C)return i(D);if(G)return C=setTimeout(r,c),j(D)}return void 0===C&&(C=setTimeout(r,c)),x}var m,s,u,x,C,D,E=0,F=!1,G=!1,H=!0;if("function"!=typeof a)throw new TypeError(A);return c=o(c)||0,z(e)&&(F=!!e.leading,G="maxWait"in e,u=G?B(o(e.maxWait)||0,c):u,H="trailing"in e?!!e.trailing:H),p.cancel=d,p.flush=l,p}function z(b){var c="undefined"==typeof b?"undefined":a(b);return!!b&&("object"==c||"function"==c)}function n(b){return!!b&&"object"==("undefined"==typeof b?"undefined":a(b))}function i(b){return"symbol"==("undefined"==typeof b?"undefined":a(b))||n(b)&&h.call(b)==r}function o(a){if("number"==typeof a)return a;if(i(a))return c;if(z(a)){var b="function"==typeof a.valueOf?a.valueOf():a;a=z(b)?b+"":b}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(f,"");var g=l.test(a);return g||p.test(a)?m(a.slice(2),g?2:8):d.test(a)?c:+a}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},A="Expected a function",c=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,p=/^0o[0-7]+$/i,m=parseInt,b="object"==("undefined"==typeof e?"undefined":a(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,u=b||s||Function("return this")(),g=Object.prototype,h=g.toString,B=Math.max,k=Math.min,v=function(){return u.Date.now()};q.exports=t}).call(a,function(){return this}())},function(b,c){"use strict";function d(a){var b,c,e;for(b=0;ba.position?a.node.classList.add("aos-animate"):"undefined"!=typeof d&&("false"===d||!c&&"true"!==d)&&a.node.classList.remove("aos-animate")},d=function(a,b){var d=window.pageYOffset,f=window.innerHeight;a.forEach(function(a,e){c(a,f+d,b)})};b.default=d},function(b,c,d){"use strict";function e(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=d(12),g=e(f),h=function(a,b){return a.forEach(function(a,c){a.node.classList.add("aos-init"),a.position=(0,g.default)(a.node,b.offset)}),a};c.default=h},function(b,c,d){"use strict";function e(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=d(13),g=e(f),h=function(b,c){var d=0,f=0,h=window.innerHeight,i={offset:b.getAttribute("data-aos-offset"),anchor:b.getAttribute("data-aos-anchor"),anchorPlacement:b.getAttribute("data-aos-anchor-placement")};switch(i.offset&&!isNaN(i.offset)&&(f=parseInt(i.offset)),i.anchor&&document.querySelectorAll(i.anchor)&&(b=document.querySelectorAll(i.anchor)[0]),d=(0,g.default)(b).top,i.anchorPlacement){case"top-bottom":break;case"center-bottom":d+=b.offsetHeight/2;break;case"bottom-bottom":d+=b.offsetHeight;break;case"top-center":d+=h/2;break;case"bottom-center":d+=h/2+b.offsetHeight;break;case"center-center":d+=h/2+b.offsetHeight/2;break;case"top-top":d+=h;break;case"bottom-top":d+=b.offsetHeight+h;break;case"center-top":d+=b.offsetHeight/2+h;}return i.anchorPlacement||i.offset||isNaN(c)||(f=c),d+f};c.default=h},function(a,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var c=function(a){for(var b=0,c=0;a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)b+=a.offsetLeft-("BODY"==a.tagName?0:a.scrollLeft),c+=a.offsetTop-("BODY"==a.tagName?0:a.scrollTop),a=a.offsetParent;return{top:c,left:b}};b.default=c},function(a,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var c=function(a){return a=a||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(a,function(a){return{node:a}})};b.default=c}])}),function(){"use strict";window.kadenceBlocksAOS={initRefresh(){AOS.refresh()},initAOS(){AOS.init({offset:parseInt(kadence_aos_params.offset),duration:parseInt(kadence_aos_params.duration),easing:kadence_aos_params.easing,delay:parseInt(kadence_aos_params.delay),once:kadence_aos_params.once}),window.addEventListener("load",a=>{window.kadenceBlocksAOS.initRefresh(),setTimeout(window.kadenceBlocksAOS.initRefresh(),500)})},initRefreshMasonryListeners(){var a=document.querySelectorAll(".kb-masonry-init");if(a.length)for(let b=0;b