2025-12-15 10:39:00 -07:00
|
|
|
/******/ (() => { // webpackBootstrap
|
|
|
|
|
/******/ "use strict";
|
|
|
|
|
/******/ var __webpack_modules__ = ({
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/main.js":
|
|
|
|
|
/*!******************************!*\
|
|
|
|
|
!*** ./resources/js/main.js ***!
|
|
|
|
|
\******************************/
|
|
|
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony import */ var _modules_mobile_nav__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @modules/mobile-nav */ "./resources/js/modules/mobile-nav/index.js");
|
|
|
|
|
/* harmony import */ var _modules_lazyload__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @modules/lazyload */ "./resources/js/modules/lazyload/index.js");
|
|
|
|
|
// Import local modules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/modules/lazyload/index.js":
|
|
|
|
|
/*!************************************************!*\
|
|
|
|
|
!*** ./resources/js/modules/lazyload/index.js ***!
|
|
|
|
|
\************************************************/
|
|
|
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
|
|
|
/* harmony export */ });
|
|
|
|
|
/* harmony import */ var _utilities_selectors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @utilities/selectors */ "./resources/js/utilities/selectors/index.js");
|
|
|
|
|
/* harmony import */ var _utilities_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @utilities/helpers */ "./resources/js/utilities/helpers/index.js");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Lazyload = function Lazyload() {
|
|
|
|
|
// lazyload our images
|
|
|
|
|
var images = _utilities_selectors__WEBPACK_IMPORTED_MODULE_0__["default"].wrapper.querySelectorAll('[data-src]');
|
|
|
|
|
if ((0,_utilities_helpers__WEBPACK_IMPORTED_MODULE_1__.exists)(images)) {
|
|
|
|
|
// options
|
|
|
|
|
var options = {
|
|
|
|
|
threshold: 0.5
|
|
|
|
|
};
|
|
|
|
|
var preloadImage = function preloadImage(img) {
|
|
|
|
|
// find and store the image's data-load attribute
|
|
|
|
|
var src = img.dataset.src;
|
|
|
|
|
img.src = src;
|
|
|
|
|
|
|
|
|
|
// add a class of loaded
|
|
|
|
|
// we can then use this as a hook for fade-in animations etc
|
|
|
|
|
img.classList.add('loaded');
|
|
|
|
|
img.removeAttribute('data-src');
|
|
|
|
|
};
|
|
|
|
|
var lazyLoad = new IntersectionObserver(function (entries, lazyLoad) {
|
|
|
|
|
entries.forEach(function (entry) {
|
|
|
|
|
if (entry.isIntersecting) {
|
|
|
|
|
preloadImage(entry.target);
|
|
|
|
|
lazyLoad.unobserve(entry.target);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}, options);
|
|
|
|
|
images.forEach(function (image) {
|
|
|
|
|
lazyLoad.observe(image);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}();
|
|
|
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Lazyload);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/modules/mobile-nav/index.js":
|
|
|
|
|
/*!**************************************************!*\
|
|
|
|
|
!*** ./resources/js/modules/mobile-nav/index.js ***!
|
|
|
|
|
\**************************************************/
|
|
|
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
|
|
|
/* harmony export */ });
|
|
|
|
|
/* harmony import */ var _utilities_selectors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @utilities/selectors */ "./resources/js/utilities/selectors/index.js");
|
|
|
|
|
|
|
|
|
|
var MobileNav = function MobileNav() {
|
|
|
|
|
_utilities_selectors__WEBPACK_IMPORTED_MODULE_0__["default"].mobileNavToggle.addEventListener('click', function () {
|
|
|
|
|
this.classList.toggle('expanded');
|
|
|
|
|
_utilities_selectors__WEBPACK_IMPORTED_MODULE_0__["default"].mobileNav.classList.toggle('menu-visible');
|
|
|
|
|
|
|
|
|
|
// set aria-expanded attribute on menu toggle button
|
|
|
|
|
if (this.getAttribute('aria-expanded') === 'false') {
|
|
|
|
|
this.setAttribute('aria-expanded', 'true');
|
|
|
|
|
} else {
|
|
|
|
|
this.setAttribute('aria-expanded', 'false');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}();
|
|
|
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MobileNav);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/utilities/helpers/index.js":
|
|
|
|
|
/*!*************************************************!*\
|
|
|
|
|
!*** ./resources/js/utilities/helpers/index.js ***!
|
|
|
|
|
\*************************************************/
|
|
|
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
/* harmony export */ "exists": () => (/* binding */ exists),
|
|
|
|
|
/* harmony export */ "page": () => (/* binding */ page)
|
|
|
|
|
/* harmony export */ });
|
|
|
|
|
/* harmony import */ var _utilities_selectors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @utilities/selectors */ "./resources/js/utilities/selectors/index.js");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description Test if the body id is something
|
|
|
|
|
* @param {string}
|
|
|
|
|
* @return {bool}
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
var page = function page(name) {
|
|
|
|
|
if (!name) {
|
|
|
|
|
return _utilities_selectors__WEBPACK_IMPORTED_MODULE_0__["default"].body.getAttribute('id');
|
|
|
|
|
}
|
|
|
|
|
return _utilities_selectors__WEBPACK_IMPORTED_MODULE_0__["default"].body.getAttribute('id') == name;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description Check if element exists the page
|
|
|
|
|
* @param {string} Element selector
|
|
|
|
|
* @param {string} Minimum number of elements
|
|
|
|
|
* @return {bool}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
var exists = function exists(el, limit) {
|
|
|
|
|
return el.length > 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/utilities/selectors/index.js":
|
|
|
|
|
/*!***************************************************!*\
|
|
|
|
|
!*** ./resources/js/utilities/selectors/index.js ***!
|
|
|
|
|
\***************************************************/
|
|
|
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
|
|
|
/* harmony export */ });
|
|
|
|
|
var $$ = {
|
|
|
|
|
body: document.querySelector('body'),
|
|
|
|
|
wrapper: document.getElementById('wrapper'),
|
|
|
|
|
header: document.getElementById('header'),
|
|
|
|
|
nav: document.getElementById('nav'),
|
|
|
|
|
hero: document.getElementById('hero'),
|
|
|
|
|
main: document.getElementById('main'),
|
|
|
|
|
containerCentre: document.getElementById('container-centre'),
|
|
|
|
|
containerRight: document.getElementById('container-right'),
|
|
|
|
|
preFooter: document.getElementById('pre-footer'),
|
|
|
|
|
footer: document.getElementById('footer'),
|
|
|
|
|
mobileNav: document.getElementById('mobile-nav'),
|
|
|
|
|
mobileNavToggle: document.getElementById('mobile-nav-toggle')
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($$);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/scss/main.scss":
|
|
|
|
|
/*!**********************************!*\
|
|
|
|
|
!*** ./resources/scss/main.scss ***!
|
|
|
|
|
\**********************************/
|
|
|
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
|
|
/******/ });
|
|
|
|
|
/************************************************************************/
|
|
|
|
|
/******/ // The module cache
|
|
|
|
|
/******/ var __webpack_module_cache__ = {};
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // The require function
|
|
|
|
|
/******/ function __webpack_require__(moduleId) {
|
|
|
|
|
/******/ // Check if module is in cache
|
|
|
|
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
|
|
|
/******/ if (cachedModule !== undefined) {
|
|
|
|
|
/******/ return cachedModule.exports;
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ // Create a new module (and put it into the cache)
|
|
|
|
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
|
|
|
/******/ // no module.id needed
|
|
|
|
|
/******/ // no module.loaded needed
|
|
|
|
|
/******/ exports: {}
|
|
|
|
|
/******/ };
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // Execute the module function
|
|
|
|
|
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // Return the exports of the module
|
|
|
|
|
/******/ return module.exports;
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // expose the modules object (__webpack_modules__)
|
|
|
|
|
/******/ __webpack_require__.m = __webpack_modules__;
|
|
|
|
|
/******/
|
|
|
|
|
/************************************************************************/
|
|
|
|
|
/******/ /* webpack/runtime/chunk loaded */
|
|
|
|
|
/******/ (() => {
|
|
|
|
|
/******/ var deferred = [];
|
|
|
|
|
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
|
|
|
/******/ if(chunkIds) {
|
|
|
|
|
/******/ priority = priority || 0;
|
|
|
|
|
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
|
|
|
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
|
|
|
/******/ return;
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ var notFulfilled = Infinity;
|
|
|
|
|
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
|
|
|
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
|
|
|
/******/ var fulfilled = true;
|
|
|
|
|
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
|
|
|
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
|
|
|
/******/ chunkIds.splice(j--, 1);
|
|
|
|
|
/******/ } else {
|
|
|
|
|
/******/ fulfilled = false;
|
|
|
|
|
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ if(fulfilled) {
|
|
|
|
|
/******/ deferred.splice(i--, 1)
|
|
|
|
|
/******/ var r = fn();
|
|
|
|
|
/******/ if (r !== undefined) result = r;
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ return result;
|
|
|
|
|
/******/ };
|
|
|
|
|
/******/ })();
|
|
|
|
|
/******/
|
|
|
|
|
/******/ /* webpack/runtime/define property getters */
|
|
|
|
|
/******/ (() => {
|
|
|
|
|
/******/ // define getter functions for harmony exports
|
|
|
|
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
|
|
|
/******/ for(var key in definition) {
|
|
|
|
|
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
|
|
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ };
|
|
|
|
|
/******/ })();
|
|
|
|
|
/******/
|
|
|
|
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
|
|
|
/******/ (() => {
|
|
|
|
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
|
|
|
/******/ })();
|
|
|
|
|
/******/
|
|
|
|
|
/******/ /* webpack/runtime/make namespace object */
|
|
|
|
|
/******/ (() => {
|
|
|
|
|
/******/ // define __esModule on exports
|
|
|
|
|
/******/ __webpack_require__.r = (exports) => {
|
|
|
|
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
|
|
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
|
/******/ };
|
|
|
|
|
/******/ })();
|
|
|
|
|
/******/
|
|
|
|
|
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
|
|
|
/******/ (() => {
|
|
|
|
|
/******/ // no baseURI
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // object to store loaded and loading chunks
|
|
|
|
|
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
|
|
|
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
|
|
|
/******/ var installedChunks = {
|
|
|
|
|
/******/ "/js/main": 0,
|
|
|
|
|
/******/ "css/main": 0
|
|
|
|
|
/******/ };
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // no chunk on demand loading
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // no prefetching
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // no preloaded
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // no HMR
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // no HMR manifest
|
|
|
|
|
/******/
|
|
|
|
|
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // install a JSONP callback for chunk loading
|
|
|
|
|
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
|
|
|
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
|
|
|
/******/ // add "moreModules" to the modules object,
|
|
|
|
|
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
|
|
|
/******/ var moduleId, chunkId, i = 0;
|
|
|
|
|
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
|
|
|
/******/ for(moduleId in moreModules) {
|
|
|
|
|
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
|
|
|
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
|
|
|
/******/ for(;i < chunkIds.length; i++) {
|
|
|
|
|
/******/ chunkId = chunkIds[i];
|
|
|
|
|
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
|
|
|
/******/ installedChunks[chunkId][0]();
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ installedChunks[chunkId] = 0;
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/ return __webpack_require__.O(result);
|
|
|
|
|
/******/ }
|
|
|
|
|
/******/
|
|
|
|
|
/******/ var chunkLoadingGlobal = self["webpackChunkskeleventy"] = self["webpackChunkskeleventy"] || [];
|
|
|
|
|
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
|
|
|
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
|
|
|
/******/ })();
|
|
|
|
|
/******/
|
|
|
|
|
/************************************************************************/
|
|
|
|
|
/******/
|
|
|
|
|
/******/ // startup
|
|
|
|
|
/******/ // Load entry module and return exports
|
|
|
|
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
|
|
|
/******/ __webpack_require__.O(undefined, ["css/main"], () => (__webpack_require__("./resources/js/main.js")))
|
|
|
|
|
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["css/main"], () => (__webpack_require__("./resources/scss/main.scss")))
|
|
|
|
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
|
|
|
/******/
|
|
|
|
|
/******/ })()
|
|
|
|
|
;
|