1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { 40/******/ configurable: false, 41/******/ enumerable: true, 42/******/ get: getter 43/******/ }); 44/******/ } 45/******/ }; 46/******/ 47/******/ // getDefaultExport function for compatibility with non-harmony modules 48/******/ __webpack_require__.n = function(module) { 49/******/ var getter = module && module.__esModule ? 50/******/ function getDefault() { return module['default']; } : 51/******/ function getModuleExports() { return module; }; 52/******/ __webpack_require__.d(getter, 'a', getter); 53/******/ return getter; 54/******/ }; 55/******/ 56/******/ // Object.prototype.hasOwnProperty.call 57/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 58/******/ 59/******/ // __webpack_public_path__ 60/******/ __webpack_require__.p = "/wp-content/themes/alps-v3/dist/"; 61/******/ 62/******/ // Load entry module and return exports 63/******/ return __webpack_require__(__webpack_require__.s = 1); 64/******/ }) 65/************************************************************************/ 66/******/ ([ 67/* 0 */ 68/***/ (function(module, exports) { 69 70module.exports = jQuery; 71 72/***/ }), 73/* 1 */ 74/***/ (function(module, exports, __webpack_require__) { 75 76__webpack_require__(2); 77module.exports = __webpack_require__(3); 78 79 80/***/ }), 81/* 2 */ 82/***/ (function(module, exports, __webpack_require__) { 83 84/* WEBPACK VAR INJECTION */(function(jQuery) {/* eslint-disable */ 85 86/* ======================================================================== 87 * DOM-based Routing 88 * Based on http://goo.gl/EUTi53 by Paul Irish 89 * 90 * Only fires on body classes that match. If a body class contains a dash, 91 * replace the dash with an underscore when adding it to the object below. 92 * 93 * .noConflict() 94 * The routing is enclosed within an anonymous function so that you can 95 * always reference jQuery with $, even when in .noConflict() mode. 96 * ======================================================================== */ 97 98(function($) { 99 100 // Use this variable to set up the common and page specific functions. If you 101 // rename this variable, you will also need to rename the namespace below. 102 var alps = { 103 // All pages 104 'common': { 105 init: function() { 106 $('.wp-block-button .wp-block-button__link').addClass('o-button o-button--primary'); 107 $('.wp-block-button.is-style-outline .wp-block-button__link').addClass('o-button--outline').removeClass('o-button--primary'); 108 $('.wp-block-button.is-style-squared .wp-block-button__link').addClass('o-button--square').removeClass('o-button--primary'); 109 }, 110 finalize: function() { 111 // JavaScript to be fired on all pages, after page specific JS is fired 112 }, 113 }, 114 }; 115 116 // The routing fires all common scripts, followed by the page specific scripts. 117 // Add additional events for more control over timing e.g. a finalize event 118 var UTIL = { 119 fire: function(func, funcname, args) { 120 var fire; 121 var namespace = alps; 122 funcname = (funcname === undefined) ? 'init' : funcname; 123 fire = func !== ''; 124 fire = fire && namespace[func]; 125 fire = fire && typeof namespace[func][funcname] === 'function'; 126 127 if (fire) { 128 namespace[func][funcname](args); 129 } 130 }, 131 loadEvents: function() { 132 // Fire common init JS 133 UTIL.fire('common'); 134 135 // Fire page-specific init JS, and then finalize JS 136 $.each(document.body.className.replace(/-/g, '_').split(/\s+/), function(i, classnm) { 137 UTIL.fire(classnm); 138 UTIL.fire(classnm, 'finalize'); 139 }); 140 141 // Fire common finalize JS 142 UTIL.fire('common', 'finalize'); 143 }, 144 }; 145 146 // Load Events 147 $(document).ready(UTIL.loadEvents); 148 149})(jQuery); // Fully reference jQuery after this point. 150 151/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0))) 152 153/***/ }), 154/* 3 */
155/***/ (function(module, exports) { 156 157// removed by extract-text-webpack-plugin 158 159/***/ }) 160/******/ ]); 161//# sourceMappingURL=main.js.map
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.