/******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/foundation-sites/dist/js/foundation.js": /*!*************************************************************!*\ !*** ./node_modules/foundation-sites/dist/js/foundation.js ***! \*************************************************************/ /***/ (function(module, exports, __webpack_require__) { /* module decorator */ module = __webpack_require__.nmd(module); var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof2(o) { "@babel/helpers - typeof"; return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof2(o); } (function webpackUniversalModuleDefinition(root, factory) { if (( false ? 0 : _typeof2(exports)) === 'object' && ( false ? 0 : _typeof2(module)) === 'object') module.exports = factory(__webpack_require__(/*! jquery */ "jquery"));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! jquery */ "jquery")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else { var i, a; } })(window, function (__WEBPACK_EXTERNAL_MODULE_jquery__) { return /******/function (modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __nested_webpack_require_1230__(moduleId) { /******/ /******/ // Check if module is in cache /******/if (installedModules[moduleId]) { /******/return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/i: moduleId, /******/l: false, /******/exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1230__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __nested_webpack_require_1230__.m = modules; /******/ /******/ // expose the module cache /******/ __nested_webpack_require_1230__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __nested_webpack_require_1230__.d = function (exports, name, getter) { /******/if (!__nested_webpack_require_1230__.o(exports, name)) { /******/Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __nested_webpack_require_1230__.r = function (exports) { /******/if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __nested_webpack_require_1230__.t = function (value, mode) { /******/if (mode & 1) value = __nested_webpack_require_1230__(value); /******/ if (mode & 8) return value; /******/ if (mode & 4 && _typeof2(value) === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __nested_webpack_require_1230__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if (mode & 2 && typeof value != 'string') for (var key in value) __nested_webpack_require_1230__.d(ns, key, function (key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __nested_webpack_require_1230__.n = function (module) { /******/var getter = module && module.__esModule ? /******/function getDefault() { return module['default']; } : /******/function getModuleExports() { return module; }; /******/ __nested_webpack_require_1230__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __nested_webpack_require_1230__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __nested_webpack_require_1230__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __nested_webpack_require_1230__(__nested_webpack_require_1230__.s = 0); /******/ } /************************************************************************/ /******/({ /***/"./js/entries/foundation.js": ( /*!**********************************!*\ !*** ./js/entries/foundation.js ***! \**********************************/ /*! exports provided: Foundation, CoreUtils, Box, onImagesLoaded, Keyboard, MediaQuery, Motion, Nest, Timer, Touch, Triggers, Abide, Accordion, AccordionMenu, Drilldown, Dropdown, DropdownMenu, Equalizer, Interchange, Magellan, OffCanvas, Orbit, ResponsiveMenu, ResponsiveToggle, Reveal, Slider, SmoothScroll, Sticky, Tabs, Toggler, Tooltip, ResponsiveAccordionTabs, default */ /***/ function jsEntriesFoundationJs(module, __nested_webpack_exports__, __nested_webpack_require_5892__) { "use strict"; __nested_webpack_require_5892__.r(__nested_webpack_exports__); /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_5892__( /*! jquery */"jquery"); /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_5892__.n(jquery__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _foundation_core__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_5892__( /*! ../foundation.core */"./js/foundation.core.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Foundation", function () { return _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"]; }); /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_5892__( /*! ../foundation.core.utils */"./js/foundation.core.utils.js"); /* harmony reexport (module object) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "CoreUtils", function () { return _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__; }); /* harmony import */ var _foundation_util_box__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_5892__( /*! ../foundation.util.box */"./js/foundation.util.box.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Box", function () { return _foundation_util_box__WEBPACK_IMPORTED_MODULE_3__["Box"]; }); /* harmony import */ var _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_5892__( /*! ../foundation.util.imageLoader */"./js/foundation.util.imageLoader.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "onImagesLoaded", function () { return _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4__["onImagesLoaded"]; }); /* harmony import */ var _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_5__ = __nested_webpack_require_5892__( /*! ../foundation.util.keyboard */"./js/foundation.util.keyboard.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Keyboard", function () { return _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_5__["Keyboard"]; }); /* harmony import */ var _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_6__ = __nested_webpack_require_5892__( /*! ../foundation.util.mediaQuery */"./js/foundation.util.mediaQuery.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "MediaQuery", function () { return _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_6__["MediaQuery"]; }); /* harmony import */ var _foundation_util_motion__WEBPACK_IMPORTED_MODULE_7__ = __nested_webpack_require_5892__( /*! ../foundation.util.motion */"./js/foundation.util.motion.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Motion", function () { return _foundation_util_motion__WEBPACK_IMPORTED_MODULE_7__["Motion"]; }); /* harmony import */ var _foundation_util_nest__WEBPACK_IMPORTED_MODULE_8__ = __nested_webpack_require_5892__( /*! ../foundation.util.nest */"./js/foundation.util.nest.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Nest", function () { return _foundation_util_nest__WEBPACK_IMPORTED_MODULE_8__["Nest"]; }); /* harmony import */ var _foundation_util_timer__WEBPACK_IMPORTED_MODULE_9__ = __nested_webpack_require_5892__( /*! ../foundation.util.timer */"./js/foundation.util.timer.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Timer", function () { return _foundation_util_timer__WEBPACK_IMPORTED_MODULE_9__["Timer"]; }); /* harmony import */ var _foundation_util_touch__WEBPACK_IMPORTED_MODULE_10__ = __nested_webpack_require_5892__( /*! ../foundation.util.touch */"./js/foundation.util.touch.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Touch", function () { return _foundation_util_touch__WEBPACK_IMPORTED_MODULE_10__["Touch"]; }); /* harmony import */ var _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_11__ = __nested_webpack_require_5892__( /*! ../foundation.util.triggers */"./js/foundation.util.triggers.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Triggers", function () { return _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_11__["Triggers"]; }); /* harmony import */ var _foundation_abide__WEBPACK_IMPORTED_MODULE_12__ = __nested_webpack_require_5892__( /*! ../foundation.abide */"./js/foundation.abide.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Abide", function () { return _foundation_abide__WEBPACK_IMPORTED_MODULE_12__["Abide"]; }); /* harmony import */ var _foundation_accordion__WEBPACK_IMPORTED_MODULE_13__ = __nested_webpack_require_5892__( /*! ../foundation.accordion */"./js/foundation.accordion.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Accordion", function () { return _foundation_accordion__WEBPACK_IMPORTED_MODULE_13__["Accordion"]; }); /* harmony import */ var _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_14__ = __nested_webpack_require_5892__( /*! ../foundation.accordionMenu */"./js/foundation.accordionMenu.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "AccordionMenu", function () { return _foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_14__["AccordionMenu"]; }); /* harmony import */ var _foundation_drilldown__WEBPACK_IMPORTED_MODULE_15__ = __nested_webpack_require_5892__( /*! ../foundation.drilldown */"./js/foundation.drilldown.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Drilldown", function () { return _foundation_drilldown__WEBPACK_IMPORTED_MODULE_15__["Drilldown"]; }); /* harmony import */ var _foundation_dropdown__WEBPACK_IMPORTED_MODULE_16__ = __nested_webpack_require_5892__( /*! ../foundation.dropdown */"./js/foundation.dropdown.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Dropdown", function () { return _foundation_dropdown__WEBPACK_IMPORTED_MODULE_16__["Dropdown"]; }); /* harmony import */ var _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_17__ = __nested_webpack_require_5892__( /*! ../foundation.dropdownMenu */"./js/foundation.dropdownMenu.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "DropdownMenu", function () { return _foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_17__["DropdownMenu"]; }); /* harmony import */ var _foundation_equalizer__WEBPACK_IMPORTED_MODULE_18__ = __nested_webpack_require_5892__( /*! ../foundation.equalizer */"./js/foundation.equalizer.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Equalizer", function () { return _foundation_equalizer__WEBPACK_IMPORTED_MODULE_18__["Equalizer"]; }); /* harmony import */ var _foundation_interchange__WEBPACK_IMPORTED_MODULE_19__ = __nested_webpack_require_5892__( /*! ../foundation.interchange */"./js/foundation.interchange.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Interchange", function () { return _foundation_interchange__WEBPACK_IMPORTED_MODULE_19__["Interchange"]; }); /* harmony import */ var _foundation_magellan__WEBPACK_IMPORTED_MODULE_20__ = __nested_webpack_require_5892__( /*! ../foundation.magellan */"./js/foundation.magellan.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Magellan", function () { return _foundation_magellan__WEBPACK_IMPORTED_MODULE_20__["Magellan"]; }); /* harmony import */ var _foundation_offcanvas__WEBPACK_IMPORTED_MODULE_21__ = __nested_webpack_require_5892__( /*! ../foundation.offcanvas */"./js/foundation.offcanvas.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "OffCanvas", function () { return _foundation_offcanvas__WEBPACK_IMPORTED_MODULE_21__["OffCanvas"]; }); /* harmony import */ var _foundation_orbit__WEBPACK_IMPORTED_MODULE_22__ = __nested_webpack_require_5892__( /*! ../foundation.orbit */"./js/foundation.orbit.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Orbit", function () { return _foundation_orbit__WEBPACK_IMPORTED_MODULE_22__["Orbit"]; }); /* harmony import */ var _foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_23__ = __nested_webpack_require_5892__( /*! ../foundation.responsiveMenu */"./js/foundation.responsiveMenu.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "ResponsiveMenu", function () { return _foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_23__["ResponsiveMenu"]; }); /* harmony import */ var _foundation_responsiveToggle__WEBPACK_IMPORTED_MODULE_24__ = __nested_webpack_require_5892__( /*! ../foundation.responsiveToggle */"./js/foundation.responsiveToggle.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "ResponsiveToggle", function () { return _foundation_responsiveToggle__WEBPACK_IMPORTED_MODULE_24__["ResponsiveToggle"]; }); /* harmony import */ var _foundation_reveal__WEBPACK_IMPORTED_MODULE_25__ = __nested_webpack_require_5892__( /*! ../foundation.reveal */"./js/foundation.reveal.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Reveal", function () { return _foundation_reveal__WEBPACK_IMPORTED_MODULE_25__["Reveal"]; }); /* harmony import */ var _foundation_slider__WEBPACK_IMPORTED_MODULE_26__ = __nested_webpack_require_5892__( /*! ../foundation.slider */"./js/foundation.slider.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Slider", function () { return _foundation_slider__WEBPACK_IMPORTED_MODULE_26__["Slider"]; }); /* harmony import */ var _foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_27__ = __nested_webpack_require_5892__( /*! ../foundation.smoothScroll */"./js/foundation.smoothScroll.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "SmoothScroll", function () { return _foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_27__["SmoothScroll"]; }); /* harmony import */ var _foundation_sticky__WEBPACK_IMPORTED_MODULE_28__ = __nested_webpack_require_5892__( /*! ../foundation.sticky */"./js/foundation.sticky.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Sticky", function () { return _foundation_sticky__WEBPACK_IMPORTED_MODULE_28__["Sticky"]; }); /* harmony import */ var _foundation_tabs__WEBPACK_IMPORTED_MODULE_29__ = __nested_webpack_require_5892__( /*! ../foundation.tabs */"./js/foundation.tabs.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Tabs", function () { return _foundation_tabs__WEBPACK_IMPORTED_MODULE_29__["Tabs"]; }); /* harmony import */ var _foundation_toggler__WEBPACK_IMPORTED_MODULE_30__ = __nested_webpack_require_5892__( /*! ../foundation.toggler */"./js/foundation.toggler.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Toggler", function () { return _foundation_toggler__WEBPACK_IMPORTED_MODULE_30__["Toggler"]; }); /* harmony import */ var _foundation_tooltip__WEBPACK_IMPORTED_MODULE_31__ = __nested_webpack_require_5892__( /*! ../foundation.tooltip */"./js/foundation.tooltip.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "Tooltip", function () { return _foundation_tooltip__WEBPACK_IMPORTED_MODULE_31__["Tooltip"]; }); /* harmony import */ var _foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_32__ = __nested_webpack_require_5892__( /*! ../foundation.responsiveAccordionTabs */"./js/foundation.responsiveAccordionTabs.js"); /* harmony reexport (safe) */ __nested_webpack_require_5892__.d(__nested_webpack_exports__, "ResponsiveAccordionTabs", function () { return _foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_32__["ResponsiveAccordionTabs"]; }); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].addToJquery(jquery__WEBPACK_IMPORTED_MODULE_0___default.a); // Add Foundation Utils to Foundation global namespace for backwards // compatibility. _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].rtl = _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["rtl"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].GetYoDigits = _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["GetYoDigits"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].transitionend = _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["transitionend"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].RegExpEscape = _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["RegExpEscape"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].onLoad = _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__["onLoad"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].Box = _foundation_util_box__WEBPACK_IMPORTED_MODULE_3__["Box"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].onImagesLoaded = _foundation_util_imageLoader__WEBPACK_IMPORTED_MODULE_4__["onImagesLoaded"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].Keyboard = _foundation_util_keyboard__WEBPACK_IMPORTED_MODULE_5__["Keyboard"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].MediaQuery = _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_6__["MediaQuery"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].Motion = _foundation_util_motion__WEBPACK_IMPORTED_MODULE_7__["Motion"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].Move = _foundation_util_motion__WEBPACK_IMPORTED_MODULE_7__["Move"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].Nest = _foundation_util_nest__WEBPACK_IMPORTED_MODULE_8__["Nest"]; _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].Timer = _foundation_util_timer__WEBPACK_IMPORTED_MODULE_9__["Timer"]; // Touch and Triggers previously were almost purely sede effect driven, // so no need to add it to Foundation, just init them. _foundation_util_touch__WEBPACK_IMPORTED_MODULE_10__["Touch"].init(jquery__WEBPACK_IMPORTED_MODULE_0___default.a); _foundation_util_triggers__WEBPACK_IMPORTED_MODULE_11__["Triggers"].init(jquery__WEBPACK_IMPORTED_MODULE_0___default.a, _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"]); _foundation_util_mediaQuery__WEBPACK_IMPORTED_MODULE_6__["MediaQuery"]._init(); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_abide__WEBPACK_IMPORTED_MODULE_12__["Abide"], 'Abide'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_accordion__WEBPACK_IMPORTED_MODULE_13__["Accordion"], 'Accordion'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_accordionMenu__WEBPACK_IMPORTED_MODULE_14__["AccordionMenu"], 'AccordionMenu'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_drilldown__WEBPACK_IMPORTED_MODULE_15__["Drilldown"], 'Drilldown'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_dropdown__WEBPACK_IMPORTED_MODULE_16__["Dropdown"], 'Dropdown'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_dropdownMenu__WEBPACK_IMPORTED_MODULE_17__["DropdownMenu"], 'DropdownMenu'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_equalizer__WEBPACK_IMPORTED_MODULE_18__["Equalizer"], 'Equalizer'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_interchange__WEBPACK_IMPORTED_MODULE_19__["Interchange"], 'Interchange'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_magellan__WEBPACK_IMPORTED_MODULE_20__["Magellan"], 'Magellan'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_offcanvas__WEBPACK_IMPORTED_MODULE_21__["OffCanvas"], 'OffCanvas'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_orbit__WEBPACK_IMPORTED_MODULE_22__["Orbit"], 'Orbit'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_responsiveMenu__WEBPACK_IMPORTED_MODULE_23__["ResponsiveMenu"], 'ResponsiveMenu'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_responsiveToggle__WEBPACK_IMPORTED_MODULE_24__["ResponsiveToggle"], 'ResponsiveToggle'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_reveal__WEBPACK_IMPORTED_MODULE_25__["Reveal"], 'Reveal'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_slider__WEBPACK_IMPORTED_MODULE_26__["Slider"], 'Slider'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_smoothScroll__WEBPACK_IMPORTED_MODULE_27__["SmoothScroll"], 'SmoothScroll'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_sticky__WEBPACK_IMPORTED_MODULE_28__["Sticky"], 'Sticky'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_tabs__WEBPACK_IMPORTED_MODULE_29__["Tabs"], 'Tabs'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_toggler__WEBPACK_IMPORTED_MODULE_30__["Toggler"], 'Toggler'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_tooltip__WEBPACK_IMPORTED_MODULE_31__["Tooltip"], 'Tooltip'); _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"].plugin(_foundation_responsiveAccordionTabs__WEBPACK_IMPORTED_MODULE_32__["ResponsiveAccordionTabs"], 'ResponsiveAccordionTabs'); /* harmony default export */ __nested_webpack_exports__["default"] = _foundation_core__WEBPACK_IMPORTED_MODULE_1__["Foundation"]; /***/ }), /***/"./js/foundation.abide.js": ( /*!********************************!*\ !*** ./js/foundation.abide.js ***! \********************************/ /*! exports provided: Abide */ /***/ function jsFoundationAbideJs(module, __nested_webpack_exports__, __nested_webpack_require_24741__) { "use strict"; __nested_webpack_require_24741__.r(__nested_webpack_exports__); /* harmony export (binding) */ __nested_webpack_require_24741__.d(__nested_webpack_exports__, "Abide", function () { return Abide; }); /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_24741__( /*! jquery */"jquery"); /* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_24741__.n(jquery__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _foundation_core_plugin__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_24741__( /*! ./foundation.core.plugin */"./js/foundation.core.plugin.js"); /* harmony import */ var _foundation_core_utils__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_24741__( /*! ./foundation.core.utils */"./js/foundation.core.utils.js"); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /** * Abide module. * @module foundation.abide */ var Abide = /*#__PURE__*/function (_Plugin) { _inherits(Abide, _Plugin); var _super = _createSuper(Abide); function Abide() { _classCallCheck(this, Abide); return _super.apply(this, arguments); } _createClass(Abide, [{ key: "_setup", value: /** * Creates a new instance of Abide. * @class * @name Abide * @fires Abide#init * @param {Object} element - jQuery object to add the trigger to. * @param {Object} options - Overrides to the default plugin settings. */ function _setup(element) { var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; this.$element = element; this.options = jquery__WEBPACK_IMPORTED_MODULE_0___default.a.extend(true, {}, Abide.defaults, this.$element.data(), options); this.isEnabled = true; this.formnovalidate = null; this.className = 'Abide'; // ie9 back compat this._init(); } /** * Initializes the Abide plugin and calls functions to get Abide functioning on load. * @private */ }, { key: "_init", value: function _init() { var _this2 = this; this.$inputs = jquery__WEBPACK_IMPORTED_MODULE_0___default.a.merge( // Consider as input to validate: this.$element.find('input').not('[type="submit"]'), // * all input fields expect submit this.$element.find('textarea, select') // * all textareas and select fields ); this.$submits = this.$element.find('[type="submit"]'); var $globalErrors = this.$element.find('[data-abide-error]'); // Add a11y attributes to all fields if (this.options.a11yAttributes) { this.$inputs.each(function (i, input) { return _this2.addA11yAttributes(jquery__WEBPACK_IMPORTED_MODULE_0___default()(input)); }); $globalErrors.each(function (i, error) { return _this2.addGlobalErrorA11yAttributes(jquery__WEBPACK_IMPORTED_MODULE_0___default()(error)); }); } this._events(); } /** * Initializes events for Abide. * @private */ }, { key: "_events", value: function _events() { var _this3 = this; this.$element.off('.abide').on('reset.zf.abide', function () { _this3.resetForm(); }).on('submit.zf.abide', function () { return _this3.validateForm(); }); this.$submits.off('click.zf.abide keydown.zf.abide').on('click.zf.abide keydown.zf.abide', function (e) { if (!e.key || e.key === ' ' || e.key === 'Enter') { e.preventDefault(); _this3.formnovalidate = e.target.getAttribute('formnovalidate') !== null; _this3.$element.submit(); } }); if (this.options.validateOn === 'fieldChange') { this.$inputs.off('change.zf.abide').on('change.zf.abide', function (e) { _this3.validateInput(jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target)); }); } if (this.options.liveValidate) { this.$inputs.off('input.zf.abide').on('input.zf.abide', function (e) { _this3.validateInput(jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target)); }); } if (this.options.validateOnBlur) { this.$inputs.off('blur.zf.abide').on('blur.zf.abide', function (e) { _this3.validateInput(jquery__WEBPACK_IMPORTED_MODULE_0___default()(e.target)); }); } } /** * Calls necessary functions to update Abide upon DOM change * @private */ }, { key: "_reflow", value: function _reflow() { this._init(); } /** * Checks whether the submitted form should be validated or not, consodering formnovalidate and isEnabled * @returns {Boolean} * @private */ }, { key: "_validationIsDisabled", value: function _validationIsDisabled() { if (this.isEnabled === false) { // whole validation disabled return true; } else if (typeof this.formnovalidate === 'boolean') { // triggered by $submit return this.formnovalidate; } // triggered by Enter in non-submit input return this.$submits.length ? this.$submits[0].getAttribute('formnovalidate') !== null : false; } /** * Enables the whole validation */ }, { key: "enableValidation", value: function enableValidation() { this.isEnabled = true; } /** * Disables the whole validation */ }, { key: "disableValidation", value: function disableValidation() { this.isEnabled = false; } /** * Checks whether or not a form element has the required attribute and if it's checked or not * @param {Object} element - jQuery object to check for required attribute * @returns {Boolean} Boolean value depends on whether or not attribute is checked or empty */ }, { key: "requiredCheck", value: function requiredCheck($el) { if (!$el.attr('required')) return true; var isGood = true; switch ($el[0].type) { case 'checkbox': isGood = $el[0].checked; break; case 'select': case 'select-one': case 'select-multiple': var opt = $el.find('option:selected'); if (!opt.length || !opt.val()) isGood = false; break; default: if (!$el.val() || !$el.val().length) isGood = false; } return isGood; } /** * Get: * - Based on $el, the first element(s) corresponding to `formErrorSelector` in this order: * 1. The element's direct sibling('s). * 2. The element's parent's children. * - Element(s) with the attribute `[data-form-error-for]` set with the element's id. * * This allows for multiple form errors per input, though if none are found, no form errors will be shown. * * @param {Object} $el - jQuery object to use as reference to find the form error selector. * @param {String[]} [failedValidators] - List of failed validators. * @returns {Object} jQuery object with the selector. */ }, { key: "findFormError", value: function findFormError($el, failedValidators) { var _this4 = this; var id = $el.length ? $el[0].id : ''; var $error = $el.siblings(this.options.formErrorSelector); if (!$error.length) { $error = $el.parent().find(this.options.formErrorSelector); } if (id) { $error = $error.add(this.$element.find("[data-form-error-for=\"".concat(id, "\"]"))); } if (!!failedValidators) { $error = $error.not('[data-form-error-on]'); failedValidators.forEach(function (v) { $error = $error.add($el.siblings("[data-form-error-on=\"".concat(v, "\"]"))); $error = $error.add(_this4.$element.find("[data-form-error-for=\"".concat(id, "\"][data-form-error-on=\"").concat(v, "\"]"))); }); } return $error; } /** * Get the first element in this order: * 2. The