Introduction In recent years, California has faced an escalating crisis that affects individuals, families, and communities alike—the drug addiction and overdose epidemic. This crisis has not only poses significant public health challenges but has also highlighted the urgent need for comprehensive addiction recovery solutions. While California is working to prevent and educate from their end,…
(function () {
// forEach polyfill
if (!NodeList.prototype.forEach) {
NodeList.prototype.forEach = function (callback) {
for (var i = 0; i < this.length; i++) {
callback.call(this, this.item(i));
}
}
}
var navigation = document.querySelector('[data-colibri-navigation-overlap="true"], .h-navigation_overlap');
if (navigation) {
var els = document
.querySelectorAll('.h-navigation-padding');
if (els.length) {
els.forEach(function (item) {
item.style.paddingTop = navigation.offsetHeight + "px";
});
}
}
})();
( function() {
var skipLinkTarget = document.querySelector( 'main' ),
sibling,
skipLinkTargetID,
skipLink;
// Early exit if a skip-link target can't be located.
if ( ! skipLinkTarget ) {
return;
}
/*
* Get the site wrapper.
* The skip-link will be injected in the beginning of it.
*/
sibling = document.querySelector( '.wp-site-blocks' );
// Early exit if the root element was not found.
if ( ! sibling ) {
return;
}
// Get the skip-link target's ID, and generate one if it doesn't exist.
skipLinkTargetID = skipLinkTarget.id;
if ( ! skipLinkTargetID ) {
skipLinkTargetID = 'wp--skip-link--target';
skipLinkTarget.id = skipLinkTargetID;
}
// Create the skip link.
skipLink = document.createElement( 'a' );
skipLink.classList.add( 'skip-link', 'screen-reader-text' );
skipLink.id = 'wp-skip-link';
skipLink.href = '#' + skipLinkTargetID;
skipLink.innerText = 'Skip to content';
// Inject the skip link.
sibling.parentElement.insertBefore( skipLink, sibling );
}() );