/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(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, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.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 /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 2); /******/ }) /************************************************************************/ /******/ ({ /***/ "./resources/assets/js/jquery.twbsPagination.min.js": /*!**********************************************************!*\ !*** ./resources/assets/js/jquery.twbsPagination.min.js ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { 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); } /* * jQuery Bootstrap Pagination v1.4.1 * https://github.com/esimakin/twbs-pagination * * Copyright 2014-2016, Eugene Simakin * Released under Apache-2.0 license * http://apache.org/licenses/LICENSE-2.0.html */ !function (a, b, c, d) { "use strict"; var e = a.fn.twbsPagination, f = function f(b, c) { if (this.$element = a(b), this.options = a.extend({}, a.fn.twbsPagination.defaults, c), this.options.startPage < 1 || this.options.startPage > this.options.totalPages) throw new Error("Start page option is incorrect"); if (this.options.totalPages = parseInt(this.options.totalPages), isNaN(this.options.totalPages)) throw new Error("Total pages option is not correct!"); if (this.options.visiblePages = parseInt(this.options.visiblePages), isNaN(this.options.visiblePages)) throw new Error("Visible pages option is not correct!"); if (this.options.onPageClick instanceof Function && this.$element.first().on("page", this.options.onPageClick), this.options.hideOnlyOnePage && 1 == this.options.totalPages) return this.$element.trigger("page", 1), this; this.options.totalPages < this.options.visiblePages && (this.options.visiblePages = this.options.totalPages), this.options.href && (this.options.startPage = this.getPageFromQueryString(), this.options.startPage || (this.options.startPage = 1)); var d = "function" == typeof this.$element.prop ? this.$element.prop("tagName") : this.$element.attr("tagName"); return "UL" === d ? this.$listContainer = this.$element : this.$listContainer = a(""), this.$listContainer.addClass(this.options.paginationClass), "UL" !== d && this.$element.append(this.$listContainer), this.options.initiateStartPageClick ? this.show(this.options.startPage) : (this.currentPage = this.options.startPage, this.render(this.getPages(this.options.startPage)), this.setupEvents()), this; }; f.prototype = { constructor: f, destroy: function destroy() { return this.$element.empty(), this.$element.removeData("twbs-pagination"), this.$element.off("page"), this; }, show: function show(a) { if (a < 1 || a > this.options.totalPages) throw new Error("Page is incorrect."); return this.currentPage = a, this.render(this.getPages(a)), this.setupEvents(), this.$element.trigger("page", a), this; }, enable: function enable() { this.show(this.currentPage); }, disable: function disable() { var b = this; this.$listContainer.off("click").on("click", "li", function (a) { a.preventDefault(); }), this.$listContainer.children().each(function () { var c = a(this); c.hasClass(b.options.activeClass) || a(this).addClass(b.options.disabledClass); }); }, buildListItems: function buildListItems(a) { var b = []; if (this.options.first && b.push(this.buildItem("first", 1)), this.options.prev) { var c = a.currentPage > 1 ? a.currentPage - 1 : this.options.loop ? this.options.totalPages : 1; b.push(this.buildItem("prev", c)); } for (var d = 0; d < a.numeric.length; d++) { b.push(this.buildItem("page", a.numeric[d])); } if (this.options.next) { var e = a.currentPage < this.options.totalPages ? a.currentPage + 1 : this.options.loop ? 1 : this.options.totalPages; b.push(this.buildItem("next", e)); } return this.options.last && b.push(this.buildItem("last", this.options.totalPages)), b; }, buildItem: function buildItem(b, c) { var d = a("
  • "), e = a(""), f = this.options[b] ? this.makeText(this.options[b], c) : c; return d.addClass(this.options[b + "Class"]), d.data("page", c), d.data("page-type", b), d.append(e.attr("href", this.makeHref(c)).addClass(this.options.anchorClass).html(f)), d; }, getPages: function getPages(a) { var b = [], c = Math.floor(this.options.visiblePages / 2), d = a - c + 1 - this.options.visiblePages % 2, e = a + c; d <= 0 && (d = 1, e = this.options.visiblePages), e > this.options.totalPages && (d = this.options.totalPages - this.options.visiblePages + 1, e = this.options.totalPages); for (var f = d; f <= e;) { b.push(f), f++; } return { currentPage: a, numeric: b }; }, render: function render(b) { var c = this; this.$listContainer.children().remove(); var d = this.buildListItems(b); a.each(d, function (a, b) { c.$listContainer.append(b); }), this.$listContainer.children().each(function () { var d = a(this), e = d.data("page-type"); switch (e) { case "page": d.data("page") === b.currentPage && d.addClass(c.options.activeClass); break; case "first": d.toggleClass(c.options.disabledClass, 1 === b.currentPage); break; case "last": d.toggleClass(c.options.disabledClass, b.currentPage === c.options.totalPages); break; case "prev": d.toggleClass(c.options.disabledClass, !c.options.loop && 1 === b.currentPage); break; case "next": d.toggleClass(c.options.disabledClass, !c.options.loop && b.currentPage === c.options.totalPages); } }); }, setupEvents: function setupEvents() { var b = this; this.$listContainer.off("click").on("click", "li", function (c) { var d = a(this); return !d.hasClass(b.options.disabledClass) && !d.hasClass(b.options.activeClass) && (!b.options.href && c.preventDefault(), void b.show(parseInt(d.data("page")))); }); }, makeHref: function makeHref(a) { return this.options.href ? this.generateQueryString(a) : "#"; }, makeText: function makeText(a, b) { return a.replace(this.options.pageVariable, b).replace(this.options.totalPagesVariable, this.options.totalPages); }, getPageFromQueryString: function getPageFromQueryString(a) { var b = this.getSearchString(a), c = new RegExp(this.options.pageVariable + "(=([^&#]*)|&|#|$)"), d = c.exec(b); return d && d[2] ? (d = decodeURIComponent(d[2]), d = parseInt(d), isNaN(d) ? null : d) : null; }, generateQueryString: function generateQueryString(a, b) { var c = this.getSearchString(b), d = new RegExp(this.options.pageVariable + "=*[^&#]*"); return c ? "?" + c.replace(d, this.options.pageVariable + "=" + a) : ""; }, getSearchString: function getSearchString(a) { var c = a || b.location.search; return "" === c ? null : (0 === c.indexOf("?") && (c = c.substr(1)), c); }, getCurrentPage: function getCurrentPage() { return this.currentPage; } }, a.fn.twbsPagination = function (b) { var c, e = Array.prototype.slice.call(arguments, 1), g = a(this), h = g.data("twbs-pagination"), i = "object" == _typeof(b) ? b : {}; return h || g.data("twbs-pagination", h = new f(this, i)), "string" == typeof b && (c = h[b].apply(h, e)), c === d ? g : c; }, a.fn.twbsPagination.defaults = { totalPages: 1, startPage: 1, visiblePages: 5, initiateStartPageClick: !0, hideOnlyOnePage: !1, href: !1, pageVariable: "{{page}}", totalPagesVariable: "{{total_pages}}", page: null, first: "First", prev: "Previous", next: "Next", last: "Last", loop: !1, onPageClick: null, paginationClass: "pagination", nextClass: "page-item next", prevClass: "page-item prev", lastClass: "page-item last", firstClass: "page-item first", pageClass: "page-item", activeClass: "active", disabledClass: "disabled", anchorClass: "page-link" }, a.fn.twbsPagination.Constructor = f, a.fn.twbsPagination.noConflict = function () { return a.fn.twbsPagination = e, this; }, a.fn.twbsPagination.version = "1.4.1"; }(window.jQuery, window, document); /***/ }), /***/ 2: /*!****************************************************************!*\ !*** multi ./resources/assets/js/jquery.twbsPagination.min.js ***! \****************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(/*! /Users/marcoglietsch/Projekte/Homepages/Feuerwehr Eppingen/ffw_laravel/resources/assets/js/jquery.twbsPagination.min.js */"./resources/assets/js/jquery.twbsPagination.min.js"); /***/ }) /******/ });