PageSourceSearch

https://bakercreekcommunity.org/children-youth.c6511346.js

js bakercreekcommunity.org collected 2026-10-02 01:06:20 UTC 19,128 bytes, 1 lines download raw bytes

1!function n(o,r,a){function s(t,e){if(!r[t]){if(!o[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(l)return l(t,!0);throw(i=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",i}i=r[t]={exports:{}},o[t][0].call(i.exports,function(e){return s(o[t][1][e]||e)},i,i.exports,n,o,r,a)}return r[t].exports}for(var l="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,i){"use strict";function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(i="Object"===i&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function r(e,t){for(var i,n=0;n<t.length;n++)(i=t[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var s,l,u,d=(s=c,(l=[{key:"registerWindowEvent",value:function(){}},{key:"unregisterWindowEvent",value:function(){var e;"undefined"==typeof window||!window._zoomUpdateEvents||0<=(e=window._zoomUpdateEvents.indexOf(this.triggerWindowEvent))&&window._zoomUpdateEvents.splice(e,1)}},{key:"dispose",value:function(){this.recheckMode=null,this.unregisterWindowEvent()}},{key:"afterRender",value:function(e,t){var i,n,o=this;!t.parentElement||((n=(i=t.parentElement.parentElement).querySelectorAll("li"))||n.length)&&(this.builderApi.isInOnboarding()?i.classList.add("kv-ee-no-animation"):i.classList.remove("kv-ee-no-animation"),this.settings.isCarouselSection?setTimeout(function(){o.checkMobileMode(i),o.setHeaderHeight(e,t)},300):!this.builderApi.isInOnboarding()||t.offsetHeight?(this.checkMobileMode(i),this.setHeaderHeight(e,t),window.addEventListener("resize",function(){o.__resizeTimeout&&window.clearTimeout(o.__resizeTimeout),o.__resizeTimeout=window.setTimeout(function(){o.checkMobileMode(i),o.setHeaderHeight(e,t)},o.resizeWaitTimeout)}),this.recheckMode=this.builderApi.debounce(function(){o.checkMobileMode(i),o.setHeaderHeight(e,t)},300)):setTimeout(function(){o.checkMobileMode(i),o.setHeaderHeight(e,t)},2e3))}},{key:"setSectionPadding",value:function(e,t){e.nextElementSibling.querySelector(".kv-background").style.top=-t+"px"}},{key:"setHeaderHeightInternal",value:function(e,t){var i="navigation"===this.builderApi.controller.parentController.model.category&&this.isRuntimeSite;if(0<e.offsetHeight||i){i=this.builderApi.controller.parentController.model.layout.section.id;if("dubemo66"===i)return n=e.querySelector("header"),void(t.style.height=n.offsetHeight+"px");var n=(n=e.querySelector(".kv-ee-navigation")||e.querySelector("header")).offsetHeight,e=this.isPreviewOrPublishedWebsite&&"navigation-1"===i&&!this.settings.model._toggle["global.logo"]?Math.ceil(n+e.offsetHeight):Math.max(n,e.offsetHeight);t.style.height=e+"px",document.documentElement.style.setProperty("--navigation-height",e+"px")}}},{key:"setHeaderHeight",value:function(e,r){var a=this,e=e.model.isFloatingSection||!1===e.model.cover&&!0===e.model.fixedNavigation;r.parentElement&&e&&!this.settings.isCarouselSection&&function(){for(var e=r.parentElement.parentElement,t=r.querySelectorAll("img"),i=0;i<t.length;i++){var n=t[i].src,o=new window.Image;o.onload=function(){setTimeout(function(){a.setHeaderHeightInternal(r,e)})},o.src=n}a.setHeaderHeightInternal(r,e),setTimeout(function(){r.classList.contains("kv-scrolled")||a.setHeaderHeightInternal(r,e)},1e3)}()}},{key:"getNavigationWidth",value:function(e){var t=0;return e.forEach(function(e){t+=e.offsetWidth}),t+40}},{key:"determineContainerWidth",value:function(e,t){var i=e.querySelector("nav")||e,
1n=e.querySelector('[data-dynamic-navigation-element="logo"]'),o=e.querySelector('[data-dynamic-navigation-element="calltoactionbutton"]'),o=o?o.offsetWidth:0,n=n?n.offsetWidth:0,i=i.offsetWidth-o;return{containerSize:i,logoWidth:n,ctaWidth:o,headerWith:e.offsetWidth,navigationToWide:t+n+o>=e.offsetWidth-20,headerToWide:i+n>=e.offsetWidth}}},{key:"shouldMinimizeMenu",value:function(e){if(((null==e?void 0:e.clientWidth)||window.innerWidth)<this.mobileBreakpoint)return!0;var t=e.querySelectorAll(".kv-ee-menu-item-wrapper > li");this.currentElementWidth=this.getNavigationWidth(t);var i=this.determineContainerWidth(e,this.currentElementWidth),t=i.containerSize,e=i.headerToWide,i=i.navigationToWide;return t<100&&!this.builderApi.controller.getSiteController().hasSectionBasedNavigation()||e||i}},{key:"checkMobileMode",value:function(e){var t=(t=e.querySelector(".kv-ee-check-mobile"))||e;window.innerWidth<this.mobileBreakpoint?t.classList.contains("kv-ee-mobile")||t.classList.add("kv-ee-mobile"):(t.classList.remove("kv-ee-mobile"),e=this.shouldMinimizeMenu(e),t=t.classList,e&&t.add("kv-ee-mobile"),e||t.remove("kv-ee-mobile"))}},{key:"updateProperty",value:function(e,t,i){var n;"layout.section.id"!==t||(t=o((n=document.querySelector(".kv-page-content")).classList).find(function(e){return e.includes("with-navigation")}))&&(n.classList.remove(t),n.classList.add("kv-ee-with-"+i))}}])&&r(s.prototype,l),u&&r(s,u),c);function c(e,t){var i=this;(function(e){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")})(this),a(this,"getRenderModel",function(){return{}}),a(this,"triggerWindowEvent",function(){i.recheckMode&&i.recheckMode()}),this.isRuntimeSite=t.isRuntimeSite,this.builderApi=e,this.currentElementWidth=0,this.checkTimeout=0,this.settings=t;e=!this.editor&&window.self!==window.top;this.isPreviewOrPublishedWebsite=t.isRuntimeSite,this.mobileBreakpoint=991,this.resizeWaitTimeout=e?0:300,"undefined"!=typeof window&&(window._zoomUpdateEvents=window._zoomUpdateEvents||[],window._zoomUpdateEvents.push(this.triggerWindowEvent))}window.__features=window.__features||{},window.__features.navigation=d},{}]},{},[1]);;!function n(r,l,a){function o(t,e){if(!l[t]){if(!r[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(s)return s(t,!0);throw(i=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",i}i=l[t]={exports:{}},r[t][0].call(i.exports,function(e){return o(r[t][1][e]||e)},i,i.exports,n,r,l,a)}return l[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)o(a[e]);return o}({1:[function(e,t,i){"use strict";var r=e("./throttle");function l(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(i="Object"===i&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function a(e,t){for(var i,n=0;n<t.length;n++)(i=t[n]).enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}e("./swiped-events");var s,d,u,c=2,h=7,e=(s=v,(d=[{key:"startOrStopInterval",value:function(e){e?this.startAutoPlayInterval():this.clearAutoPlayInterval()}},{key:"startAutoplay",value:function(e){e.currentSlideIndex>=this.slides.length-1&&(e.currentSlideIndex=-1);var t=this.searchRadioButtonIndex(e.currentSlideIndex+1);t&&!t.checked&&(t.checked=!0,e.currentSlideIndex+=1,this.moveCarousel(e.currentSlideIndex))}},{key:"onListItemsChanged",value:function(){this.view.requestRender()}},{key:"onListItemChanged",value:function(){this.rerenderCarousel()}},{key:"afterRender",value:function(e,t){this.element=t,this.rerenderCarousel()}},{key:"initializeCarousel",value:function(){var e=this;
1this.loadCarousel(),this.setCarouselStyling(),this.config.isThumbnail||(this.addLinkedDeleteButton(),this.disableAddOrDeleteButtonCheck()),this.setPossibleArrowNavigation(),this.addSwipeEventHandlersForMobile(),window.addEventListener("resize",(0,r.throttle)(function(){e.setCarouselStyling()},400),!1)}},{key:"moveCarousel",value:function(e){var t=this;!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1]&&this.dataTypeList&&(this.dataTypeList.classList.add("kv-ee-disable-animation"),setTimeout(function(){t.dataTypeList.style.transform="translateX(calc(".concat(t.carouselPercentageWidth," * ").concat(t.currentSlideIndex," * -1))"),t.dataTypeList.classList.remove("kv-ee-disable-animation")},0));var i=this.searchRadioButtonIndex(e);i&&!i.checked&&(i.checked=!0),this.images&&this.images.forEach(function(e){e.style.transform="translateX(0%)"}),this.dataTypeList&&(this.dataTypeList.style.transform="translateX(calc(".concat(this.carouselPercentageWidth," * ").concat(e," * -1))")),this.currentSlideIndex=e}},{key:"updateProperty",value:function(e,t,i){if(this.isPreviewOrPublishedWebsite&&("autoPlayToggle"===t&&this.startOrStopInterval(i),"sliderTiming"===t))return this.clearAutoPlayInterval(),this.startAutoPlayInterval(),!0}},{key:"dispose",value:function(){this.clearAutoPlayInterval()}}])&&a(s.prototype,d),u&&a(s,u),v);function v(e,t){var n=this;(function(e){if(!(e instanceof v))throw new TypeError("Cannot call a class as a function")})(this),o(this,"mount",function(){n.isPreviewOrPublishedWebsite&&n.startAutoPlayInterval()}),o(this,"startAutoPlayInterval",function(){n.model.autoPlayToggle&&(n.clearAutoPlayInterval(),n.sliderTiming=parseInt(n.model.sliderTiming)||n.defaultRepeatTime,n.autoPlayInterval=setInterval(function(){return n.startAutoplay(n)},n.sliderTiming))}),o(this,"clearAutoPlayInterval",function(){n.autoPlayInterval&&(clearInterval(n.autoPlayInterval),n.autoPlayInterval=null)}),o(this,"rerenderCarousel",function(){setTimeout(function(){n.element&&(n.sliderContainer=n.element.querySelector(".kv-ee-slider"),n.slidesList=n.element.querySelector(".kv-ee-slider >div:first-child"),n.slides=n.element.querySelectorAll(".kv-ee-slide"),n.slideInfo=n.element.querySelectorAll(".kv-ee-info"),n.buttons=n.element.querySelectorAll(".manual-btn"),n.images=n.element.querySelectorAll(".kv-ee-carousel-image"),n.dataTypeList=n.element.querySelector('div[data-type="list"]'),n.dataIsControlList=n.element.querySelector(".kv-ee-section >div:first-child"),n.carouselListItem=n.element.querySelectorAll(".kv-ee-carousel-list-item"),n.initializeCarousel(),n.currentSlideIndex!==n.initializeSlideIndex&&n.moveCarousel(n.currentSlideIndex,!0))},0)}),o(this,"loadCarousel",function(){n.buttons.forEach(function(e,t){var i;return t!==n.currentSlideIndex||(i=n.searchRadioButtonIndex(n.initializeSlideIndex))&&!i.checked&&(i.checked=!0),e.addEventListener("click",function(){n.currentSlideIndex=t,n.isPreviewOrPublishedWebsite&&n.model.autoPlayToggle&&(n.clearAutoPlayInterval(),n.startAutoPlayInterval()),n.moveCarousel(t)}),e}),n.isRuntimeSite&&n.images&&n.images.forEach(function(e){var t,i=/(%[0-9]{1}[A-Z]{1})600/g,n=e.style.backgroundImage,r=i.exec(n);r&&"undefined"!=typeof window&&(t=Math.min(2e3,window.innerWidth-window.innerWidth%200),(t=e.style.backgroundImage.replace(i,"".concat(n.substring(r.index,r.index+3)).concat(t)))&&(e.style.backgroundImage=t))})}),o(this,"setCarouselStyling",function(){var e,t;0<n.model.list.length&&(n.carouselListItem&&(n.carouselPercentageWidth=100/n.model.list.length+"%",n.carouselListItem.forEach(function(e){e.style.width=n.carouselPercentageWidth})),0<n.slides.length&&(n.slides[0].classList.add("first"),n.setAnimation()),n.dataIsControlList&&(n.dataIsControlList.style.height="100%",n.dataIsControlList.style.width="100%",n.dataIsControlList.style.display="flex"),e=(t=function(e){return Array.prototype.map.call(e,function(e){return e.offsetHeight})})(n.slides),t=t(n.slideInfo),Math.max.apply(Math,l(e))<(t=Math.max.apply(Math,l(t)))&&(n.sliderContainer.style.height="".concat(t+n.defaultSlidesOffset,"px")))}),o(this,"setPossibleArrowNavigation",function(){n.model.autoPlayToggle||(n.prev=n.element.querySelector(".kv-ee-prev"),n.prev.removeEventListener("click",n.handlePreviousArrowClick),n.prev.addEventListener("click",n.handlePreviousArrowClick),n.next=n.element.querySelector(".kv-ee-next"),n.next.removeEventListener("click",n.handleNextArrowClick),n.next.addEventListener("click",n.handleNextArrowClick))}),o(this,"addSwipeEventHandlersForMobile",function(){n.isPreviewOrPublishedWebsite&&window.innerWidth<n.mobileBreakpoint&&(n.sliderContainer.removeEventListener("swiped-left",n.handleNextArrowClick),n.sliderContainer.addEventListener("swiped-left",n.handleNextArrowClick),n.sliderContainer.removeEventListener("swiped-right",n.handlePreviousArrowSwipe),n.sliderContainer.addEventListener("swiped-right",n.handleNextArrowSwipe))}),o(this,"handlePreviousArrowSwipe",function(){n.clearAutoPlayInterval(),n.startAutoPlayInterval(),n.handlePreviousArrowClick()}),o(this,"handleNextArrowSwipe",function(){n.clearAutoPlayInterval(),n.startAutoPlayInterval(),n.handleNextArrowClick()}),o(this,"handlePreviousArrowClick",function(){return(0,r.throttle)(n.handleArrowClick(-1),400)}),o(this,"handleNextArrowClick",function(){return(0,r.throttle)(n.handleArrowClick(1),400)}),o(this,"addLinkedDeleteButton",function(){var e=n.element.querySelector(".kv-add-item-btn");!e||(t=e.querySelector("span"))&&"Add item"===t.innerText&&(t.textContent=n.builderApi.localize("editorTemplates.features.carousel.addButtonText"));var t,i=n.element.querySelector(".kv-delete-item-btn");e&&!i&&(e.addEventListener("click",function(){n.addSlide()}),(t=document.createElement("div")).classList.add("kv-divider"),i=document.createElement("button"),(e=document.createElement("span")).textContent=n.builderApi.localize("editorTemplates.features.carousel.deleteButtonText"),i.classList.add("kv-delete-item-btn","kv-editor-button","kv-ee-large"),i.appendChild(e),i.addEventListener("click",function(){n.deleteSlide()}),(e=n.element.querySelector(".add-container"))&&(e.appendChild(t),e.appendChild(i)))}),o(this,"disableAddOrDeleteButtonCheck",function(){var e=n.element.querySelector(".kv-add-item-btn"),t=n.element.querySelector(".kv-delete-item-btn");n.slides.length<=c?t&&(t.disabled=!0,t.classList.add("kv-item-btn-disabled"),t.setAttribute("aria-label",n.builderApi.localize("editorTemplates.features.carousel.disabledDeleteButton")),t.setAttribute("data-balloon-pos","down")):n.slides.length>=h?e&&(e.disabled=!0,e.classList.add("kv-item-btn-disabled"),e.setAttribute("aria-label",n.builderApi.localize("editorTemplates.features.carousel.disabledAddButton")),e.setAttribute("data-balloon-pos","down-left")):(e&&e.disabled&&(e.disabled=!1,e.classList.remove("kv-item-btn-disabled"),e.removeAttribute("data-balloon"),e.removeAttribute("data-balloon-pos")),t&&t.disabled&&(t.disabled=!1,t.classList.remove("kv-item-btn-disabled"),t.removeAttribute("data-balloon"),t.removeAttribute("data-balloon-pos")))}),o(this,"addSlide",function(){n.currentSlideIndex=n.slides.length}),o(this,"deleteSlide",function(){var e=n.element.querySelectorAll(".kv-remove")[n.currentSlideIndex];e&&(e.click(),n.currentSlideIndex>=n.slides.length-1&&--n.currentSlideIndex)}),o(this,"setAnimation",function(){var e;n.dataTypeList&&(e="calc(".concat(n.model.list.length," * 100%)"),n.dataTypeList.style.width=e,(e=n.dataTypeList.classList).remove.apply(e,["kv-ee-animate","kv-ee-bouncy","kv-ee-smooth","kv-ee-overshoot"]),n.dataTypeList.classList.add("kv-ee-animate",n.model.animationStyle))}),o(this,"handleArrowClick",function(e){e=(n.currentSlideIndex+e+n.slides.length)%n.slides.length;n.moveCarousel(e)}
1),o(this,"searchRadioButtonIndex",function(e){e="radio"+e;return(n.element||document).querySelector("[id*=".concat(e,"]"))}),this.model=t.model,this.builderApi=e,this.isRuntimeSite=t.isRuntimeSite,this.config=t,this.initializeSlideIndex=0,this.currentSlideIndex=0,this.defaultRepeatTime=3e3,this.defaultSlidesOffset=50,this.mobileBreakpoint=991,this.slides=[],this.buttons=[],this.view=t.view,this.isPreviewOrPublishedWebsite=t.isRuntimeSite,this.isPreviewOrPublishedWebsite&&this.startOrStopInterval(this.model.autoPlayToggle)}window.__features=window.__features||{},window.__features.carousel=e},{"./swiped-events":2,"./throttle":3}],2:[function(e,t,i){"use strict";!function(l,r){function a(e,t,i){for(;e&&e!==r.documentElement;){var n=e.getAttribute(t);if(n)return n;e=e.parentNode}return i}"function"!=typeof l.CustomEvent&&(l.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=r.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i},l.CustomEvent.prototype=l.Event.prototype),r.addEventListener("touchstart",function(e){"true"===e.target.getAttribute("data-swipe-ignore")||(h=e.target,c=Date.now(),o=e.touches[0].clientX,s=e.touches[0].clientY,u=d=0)},!1),r.addEventListener("touchmove",function(e){var t;o&&s&&(t=e.touches[0].clientX,e=e.touches[0].clientY,d=o-t,u=s-e)},!1),r.addEventListener("touchend",function(e){var t,i,n,r;h===e.target&&(e.stopPropagation(),t=parseInt(a(h,"data-swipe-threshold","20"),10),i=parseInt(a(h,"data-swipe-timeout","500"),10),n=Date.now()-c,r="",e=e.changedTouches||e.touches||[],Math.abs(d)>Math.abs(u)?Math.abs(d)>t&&n<i&&(r=0<d?"swiped-left":"swiped-right"):Math.abs(u)>t&&n<i&&(r=0<u?"swiped-up":"swiped-down"),""!==r&&(e={dir:r.replace(/swiped-/,""),xStart:parseInt(o,10),xEnd:parseInt((e[0]||{}).clientX||-1,10),yStart:parseInt(s,10),yEnd:parseInt((e[0]||{}).clientY||-1,10)},h.dispatchEvent(new l.CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:e})),h.dispatchEvent(new l.CustomEvent(r,{bubbles:!0,cancelable:!0,detail:e}))),c=s=o=null)},!1);var o=null,s=null,d=null,u=null,c=null,h=null}(window,document)},{}],3:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.throttle=void 0;i.throttle=function(t,i){var n;return function(){var e=arguments;n||(t.apply(this,e),n=!0,setTimeout(function(){return n=!1},i))}}},{}]},{},[1]);; window._featureSettings={"navigation":{"settings":{}},"carousel":{"settings":{}},"translations":{"editorTemplates.features.carousel.addButtonText":"Add slide","editorTemplates.features.carousel.deleteButtonText":"Remove slide","editorTemplates.features.carousel.disabledAddButton":"Your carousel can't have more than 7 slides.","editorTemplates.features.carousel.disabledDeleteButton":"Your carousel can't have less than 2 slides."}};

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.