PageSourceSearch

https://expenseincms.netlify.app/assets/vendor/hs-header/dist/hs-header.min.js

js expenseincms.netlify.app collected 2026-10-03 10:43:47 UTC 79,358 bytes, 1 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.HSHeader=t():e.HSHeader=t()}(window,function(){return d={
1"./src/js/hs-header.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return HSHeader; });\n/* harmony import */ var _observers_sticky__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observers/sticky */ \"./src/js/observers/sticky.js\");\n/* harmony import */ var _observers_moment_show_hide__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observers/moment-show-hide */ \"./src/js/observers/moment-show-hide.js\");\n/* harmony import */ var _observers_show_hide__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observers/show-hide */ \"./src/js/observers/show-hide.js\");\n/* harmony import */ var _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./observers/change-logo */ \"./src/js/observers/change-logo.js\");\n/* harmony import */ var _observers_hide_section__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./observers/hide-section */ \"./src/js/observers/hide-section.js\");\n/* harmony import */ var _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./observers/change-appearance */ \"./src/js/observers/change-appearance.js\");\n/* harmony import */ var _observers_has_hidden_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observers/has-hidden-element */ \"./src/js/observers/has-hidden-element.js\");\n/* harmony import */ var _observers_floating__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./observers/floating */ \"./src/js/observers/floating.js\");\n/* harmony import */ var _observers_without_behavior__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./observers/without-behavior */ \"./src/js/observers/without-behavior.js\");\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/*\n* HSHeader Plugin\n* @version: 2.0.0 (Mon, 25 Nov 2019)\n* @requires: jQuery v3.0 or later\n* @author: HtmlStream\n* @event-namespace: .HSHeader\n* @license: Htmlstream Libraries (https://htmlstream.com/)\n* Copyright 2019 Htmlstream\n*/\n// Sticky\n // Moment Show / Hide\n\n // Show / Hide\n\n // Change Logo\n\n // Hide Section\n\n // Change Appearance\n\n // Has Hidden Element\n\n // Floating\n\n // Without Behavior\n\n\n\nvar HSHeader = /*#__PURE__*/function () {\n  function HSHeader(element, config, observers) {\n    _classCallCheck(this, HSHeader);\n\n    this.element = element;\n    this.config = config;\n    this.observers = observers && $.isPlainObject(observers) ? observers : {};\n    this.viewport = 'xs';\n    this.defaults = {\n      fixMoment: 0,\n      fixMomentClasses: null,\n      fixMomentExclude: null,\n      fixEffect: 'slide',\n      breakpoint: 'lg',\n      breakpointsMap: {\n        'md': 768,\n        'sm': 576,\n        'lg': 992,\n        'xl': 1200\n      },\n      effectCompensation: false,\n      effectCompensationStartClass: false,\n      effectCompensationEndClass: fal
1se\n    };\n  }\n\n  _createClass(HSHeader, [{\n    key: \"init\",\n    value: function init() {\n      var self = this,\n          element = this.element;\n      var dataSettings = element.attr('data-hs-header-options') ? JSON.parse(element.attr('data-hs-header-options')) : {};\n      if (!element || element.length !== 1 || element.data('HSHeader')) return;\n      this.config = $.extend(true, {}, this.defaults, dataSettings);\n\n      this._detectObservers();\n\n      this.fixMediaDifference(this.element);\n      this.checkViewport();\n      $(window).on('scroll.uHeader', function (e) {\n        window.HSHeader = null;\n\n        if ($(window).scrollTop() < self.config.fixMoment - 100 && self.config.effectCompensation === true) {\n          $(element).css({\n            top: -$(window).scrollTop()\n          }).addClass(self.config.effectCompensationStartClass).removeClass(self.config.effectCompensationEndClass);\n        } else if (self.config.effectCompensation === true) {\n          $(element).css({\n            top: 0\n          }).addClass(self.config.effectCompensationEndClass).removeClass(self.config.effectCompensationStartClass);\n        }\n\n        if ($(window).scrollTop() > 5 && !$(element).hasClass('scrolled')) {\n          $(element).addClass('scrolled');\n        }\n\n        if ($(window).scrollTop() < 5) {\n          $(element).removeClass('scrolled');\n        }\n\n        if (element.data('HSHeader')) {\n          self.notify();\n        }\n\n        element.data('HSHeader', this);\n      }).on('resize.uHeader', function (e) {\n        if (self.resizeTimeOutId) clearTimeout(self.resizeTimeOutId);\n        self.resizeTimeOutId = setTimeout(function () {\n          // self.checkViewport();\n          self.update();\n        }, 100);\n      }).trigger('scroll.uHeader');\n      return this.element;\n    }\n  }, {\n    key: \"header\",\n    value: function header(element, config, observers) {\n      if (!element || !element.length) return;\n      this.element = element;\n      this.config = config;\n      this.observers = observers && $.isPlainObject(observers) ? observers : {};\n      this.viewport = 'xs';\n      this.checkViewport();\n    }\n  }, {\n    key: \"_detectObservers\",\n    value: function _detectObservers() {\n      if (!this.element || !this.element.length) return;\n      var observers = this.observers = {\n        'xs': [],\n        'sm': [],\n        'md': [],\n        'lg': [],\n        'xl': []\n      };\n      /* ------------------------ xs -------------------------*/\n      // Has Hidden Element\n\n      if (this.element.hasClass('header-has-hidden-element')) {\n        observers['xs'].push(new _observers_has_hidden_element__WEBPACK_IMPORTED_MODULE_6__[\"default\"](this.element).init());\n      } // Sticky top\n\n\n      if (this.element.hasClass('header-sticky-top')) {\n        if (this.element.hasClass('header-show-hide')) {\n          observers['xs'].push(new _observers_moment_show_hide__WEBPACK_IMPORTED_MODULE_1__[\"default\"](this.element).init());\n        } else if (this.element.hasClass('header-toggle-section')) {\n          observers['xs'].push(new _observers_hide_section__WEBPACK_IMPORTED_MODULE_4__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo')) {\n          observers['xs'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance')) {\n          observers['xs'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Floating\n\n\n      if (this.element.hasClass('header-floating')) {\n        observers['xs'].push(new _observers_floating__WEBPACK_IMPORTED_MODULE_7__[\"default\"](this.element).init());\n      }\n\n      if (this.element.hasClass('header-invulnerable')) {\n        observers['xs'].push(new _observers_without_behavior__WEBPACK_IMPORTED_MODULE_8__[\"default\"](this.element).init());\n      } // Sticky bottom\n\n\n      if (this.element.hasClass('header-sticky-bottom')) {\n        if (this.element.hasClass('header-change-appearance')) {\n          observers['xs'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo')) {\n          observers['xs'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n      } // Abs top & Static\n\n\n      if (this.element.hasClass('header-abs-top') || this.element.hasClass('header-static')) {\n        if (this.element.hasClass('header-show-hide')) {\n          observers['xs'].push(new _observers_show_hide__WEBPACK_IMPORTED_MODULE_2__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo')) {\n          observers['xs'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance')) {\n          observers['xs'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Abs bottom & Abs top 2nd screen\n\n\n      if (this.element.hasClass('header-abs-bottom') || this.element.hasClass('header-abs-top-2nd-screen')) {\n        observers['xs'].push(new _observers_sticky__WEBPACK_IMPORTED_MODULE_0__[\"default\"](this.element).init());\n\n        if (this.element.hasClass('header-change-appearance')) {\n          observers['xs'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n\n        if (this.element.hasClass('header-change-logo')) {\n          observers['xs'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n      }\n      /* ------------------------ sm -------------------------*/\n      // Sticky top\n      // Has Hidden Element\n\n\n      if (this.element.hasClass('header-has-hidden-element-sm')) {\n        observers['sm'].push(new _observers_has_hidden_element__WEBPACK_IMPORTED_MODULE_6__[\"default\"](this.element).init());\n      }\n\n      if (this.element.hasClass('header-sticky-top-sm')) {\n        if (this.element.hasClass('header-show-hide-sm')) {\n          observers['sm'].push(new _observers_moment_show_hide__WEBPACK_IMPORTED_MODULE_1__[\"default\"](this.element).init());\n        } else if (this.element.hasClass('header-toggle-section-sm')) {\n          observers['sm'].push(new _observers_hide_section__WEBPACK_IMPORTED_MODULE_4__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-sm')) {\n          observers['sm'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-sm')) {\n          observers['sm'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Floating\n\n\n      if (this.element.hasClass('header-floating-sm')) {\n        observers['sm'].push(new _observers_floating__WEBPACK_IMPORTED_MODULE_7__[\"default\"](this.element).init());\n      }\n\n      if (this.element.hasClass('header-invulnerable-sm')) {\n        observers['sm'].push(new _observers_without_behavior__WEBPACK_IMPORTED_MODULE_8__[\"default\"](this.element).init());\n      } // Sticky bottom\n\n\n      if (this.element.hasClass('header-sticky-bottom-sm')) {\n        if (this.element.hasClass('header-change-appearance-sm')) {\n          observers['sm'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-sm')) {\n          observers['sm'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n      } // Abs top & Static\n\n\n      if (this.element.hasClass('header-abs-top-sm') || this.element.hasClass('header-static-sm')) {\n        if (this.element.hasClass('header-show-hide-sm')) {\n          observers['sm'].push(new _observers_show_hide__WEBPACK_IMPORTED_MODULE_2__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-sm')) {\n          observers['sm'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-sm')) {\n          observers['sm'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Abs bottom & Abs top 2nd screen\n\n\n      if (this.element.hasClass('header-abs-bottom-sm') || this.element.hasClass('header-abs-top-2nd-screen-sm')) {\n        observers['sm'].push(new _observers_sticky__WEBPACK_IMPORTED_MODULE_0__[\"default\"](this.element).init());\n\n        if (this.element.hasClass('header-change-appearance-sm')) {\n          observers['sm'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-sm')) {\n          observers['sm'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n      }\n      /* ------------------------ md -------------------------*/\n      // Has Hidden Element\n\n\n      if (this.element.hasClass('header-has-hidden-element-md')) {\n        observers['md'].push(new _observers_has_hidden_element__WEBPACK_IMPORTED_MODULE_6__[\"default\"](this.element).init());\n      } // Sticky top\n\n\n      if (this.element.hasClass('header-sticky-top-md')) {\n        if (this.element.hasClass('header-show-hide-md')) {\n          observers['md'].push(new _observers_moment_show_hide__WEBPACK_IMPORTED_MODULE_1__[\"default\"](this.element).init());\n        } else if (this.element.hasClass('header-toggle-section-md')) {\n          observers['md'].push(new _observers_hide_section__WEBPACK_IMPORTED_MODULE_4__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-md')) {\n          observers['md'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-md')) {\n          observers['md'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Floating\n\n\n      if (this.element.hasClass('header-floating-md')) {\n        observers['md'].push(new _observers_floating__WEBPACK_IMPORTED_MODULE_7__[\"default\"](this.element).init());\n      }\n\n      if (this.element.hasClass('header-invulnerable-md')) {\n        observers['md'].push(new _observers_without_behavior__WEBPACK_IMPORTED_MODULE_8__[\"default\"](this.element).init());\n      } // Sticky bottom\n\n\n      if (this.element.hasClass('header-sticky-bottom-md')) {\n        if (this.element.hasClass('header-change-appearance-md')) {\n          observers['md'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-md')) {\n          observers['md'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n      } // Abs top & Static\n\n\n      if (this.element.hasClass('header-abs-top-md') || this.element.hasClass('header-static-md')) {\n        if (this.element.hasClass('header-show-hide-md')) {\n          observers['md'].push(new _observers_show_hide__WEBPACK_IMPORTED_MODULE_2__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-md')) {\n          observers['md'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-md')) {\n          observers['md'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Abs bottom & Abs top 2nd screen\n\n\n      if (this.element.hasClass('header-abs-bottom-md') || this.element.hasClass('header-abs-top-2nd-screen-md')) {\n        observers['md'].push(new _observers_sticky__WEBPACK_IMPORTED_MODULE_0__[\"default\"](this.element).init());\n\n        if (this.element.hasClass('header-change-appearance-md')) {\n          observers['md'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-md')) {\n          observers['md'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n      }\n      /* ------------------------ lg -------------------------*/\n      // Has Hidden Element\n\n\n      if (this.element.hasClass('header-has-hidden-element-lg')) {\n        observers['lg'].push(new _observers_has_hidden_element__WEBPACK_IMPORTED_MODULE_6__[\"default\"](this.element).init());\n      } // Sticky top\n\n\n      if (this.element.hasClass('header-sticky-top-lg')) {\n        if (this.element.hasClass('header-show-hide-lg')) {\n          observers['lg'].push(new _observers_moment_show_hide__WEBPACK_IMPORTED_MODULE_1__[\"default\"](this.element).init());\n        } else if (this.element.hasClass('header-toggle-section-lg')) {\n          observers['lg'].push(new _observers_hide_section__WEBPACK_IMPORTED_MODULE_4__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-lg')) {\n          observers['lg'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-lg')) {\n          observers['lg'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Floating\n\n\n      if (this.element.hasClass('header-floating-lg')) {\n        observers['lg'].push(new _observers_floating__WEBPACK_IMPORTED_MODULE_7__[\"default\"](this.element).init());\n      }\n\n      if (this.element.hasClass('header-invulnerable-lg')) {\n        observers['lg'].push(new _observers_without_behavior__WEBPACK_IMPORTED_MODULE_8__[\"default\"](this.element).init());\n      } // Sticky bottom\n\n\n      if (this.element.hasClass('header-sticky-bottom-lg')) {\n        if (this.element.hasClass('header-change-appearance-lg')) {\n          observers['lg'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-lg')) {\n          observers['lg'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n      } // Abs top & Static\n\n\n      if (this.element.hasClass('header-abs-top-lg') || this.element.hasClass('header-static-lg')) {\n        if (this.element.hasClass('header-show-hide-lg')) {\n          observers['lg'].push(new _observers_show_hide__WEBPACK_IMPORTED_MODULE_2__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-lg')) {\n          observers['lg'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-lg')) {\n          observers['lg'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Abs bottom & Abs top 2nd screen\n\n\n      if (this.element.hasClass('header-abs-bottom-lg') || this.element.hasClass('header-abs-top-2nd-screen-lg')) {\n        observers['lg'].push(new _o
1bservers_sticky__WEBPACK_IMPORTED_MODULE_0__[\"default\"](this.element).init());\n\n        if (this.element.hasClass('header-change-appearance-lg')) {\n          observers['lg'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-lg')) {\n          observers['lg'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n      }\n      /* ------------------------ xl -------------------------*/\n      // Has Hidden Element\n\n\n      if (this.element.hasClass('header-has-hidden-element-xl')) {\n        observers['xl'].push(new _observers_has_hidden_element__WEBPACK_IMPORTED_MODULE_6__[\"default\"](this.element).init());\n      } // Sticky top\n\n\n      if (this.element.hasClass('header-sticky-top-xl')) {\n        if (this.element.hasClass('header-show-hide-xl')) {\n          observers['xl'].push(new _observers_moment_show_hide__WEBPACK_IMPORTED_MODULE_1__[\"default\"](this.element).init());\n        } else if (this.element.hasClass('header-toggle-section-xl')) {\n          observers['xl'].push(new _observers_hide_section__WEBPACK_IMPORTED_MODULE_4__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-xl')) {\n          observers['xl'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-xl')) {\n          observers['xl'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Floating\n\n\n      if (this.element.hasClass('header-floating-xl')) {\n        observers['xl'].push(new _observers_floating__WEBPACK_IMPORTED_MODULE_7__[\"default\"](this.element).init());\n      } // Sticky bottom\n\n\n      if (this.element.hasClass('header-invulnerable-xl')) {\n        observers['xl'].push(new _observers_without_behavior__WEBPACK_IMPORTED_MODULE_8__[\"default\"](this.element).init());\n      } // Sticky bottom\n\n\n      if (this.element.hasClass('header-sticky-bottom-xl')) {\n        if (this.element.hasClass('header-change-appearance-xl')) {\n          observers['xl'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-xl')) {\n          observers['xl'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n      } // Abs top & Static\n\n\n      if (this.element.hasClass('header-abs-top-xl') || this.element.hasClass('header-static-xl')) {\n        if (this.element.hasClass('header-show-hide-xl')) {\n          observers['xl'].push(new _observers_show_hide__WEBPACK_IMPORTED_MODULE_2__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-xl')) {\n          observers['xl'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element).init());\n        }\n\n        if (this.element.hasClass('header-change-appearance-xl')) {\n          observers['xl'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element).init());\n        }\n      } // Abs bottom & Abs top 2nd screen\n\n\n      if (this.element.hasClass('header-abs-bottom-xl') || this.element.hasClass('header-abs-top-2nd-screen-xl')) {\n        observers['xl'].push(new _observers_sticky__WEBPACK_IMPORTED_MODULE_0__[\"default\"](this.element).init());\n\n        if (this.element.hasClass('header-change-appearance-xl')) {\n          observers['xl'].push(new _observers_change_appearance__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n\n        if (this.element.hasClass('header-change-logo-xl')) {\n          observers['xl'].push(new _observers_change_logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"](this.element, {\n            fixPointSelf: true\n          }).init());\n        }\n      }\n\n      return observers;\n    }\n  }, {\n    key: \"fixMediaDifference\",\n    value: function fixMediaDifference(element) {\n      if (!element || !element.length || !element.filter('[class*=\"header-side\"]').length) return;\n      var toggleable;\n\n      if (element.hasClass('header-side-left-xl') || element.hasClass('header-side-right-xl')) {\n        toggleable = element.find('.navbar-expand-xl');\n\n        if (toggleable.length) {\n          toggleable.removeClass('navbar-expand-xl').addClass('navbar-expand-lg');\n        }\n      } else if (element.hasClass('header-side-left-lg') || element.hasClass('header-side-right-lg')) {\n        toggleable = element.find('.navbar-expand-lg');\n\n        if (toggleable.length) {\n          toggleable.removeClass('navbar-expand-lg').addClass('navbar-expand-md');\n        }\n      } else if (element.hasClass('header-side-left-md') || element.hasClass('header-side-right-md')) {\n        toggleable = element.find('.navbar-expand-md');\n\n        if (toggleable.length) {\n          toggleable.removeClass('navbar-expand-md').addClass('navbar-expand-sm');\n        }\n      } else if (element.hasClass('header-side-left-sm') || element.hasClass('header-side-right-sm')) {\n        toggleable = element.find('.navbar-expand-sm');\n\n        if (toggleable.length) {\n          toggleable.removeClass('navbar-expand-sm').addClass('navbar-expand');\n        }\n      }\n    }\n  }, {\n    key: \"checkViewport\",\n    value: function checkViewport() {\n      var $w = $(window);\n\n      if ($w.width() > this.config.breakpointsMap['sm'] && this.observers['sm'].length) {\n        this.prevViewport = this.viewport;\n        this.viewport = 'sm';\n\n        if (this.config.fixMoment && $w.scrollTop() > this.config.fixMoment) {\n          if (typeof this.config.breakpointsMap['sm'] === 'undefined') {\n            this.element.removeClass('js-header-fix-moment');\n          } else {\n            this.element.addClass('js-header-fix-moment');\n          }\n        }\n\n        return this;\n      }\n\n      if ($w.width() > this.config.breakpointsMap['md'] && this.observers['md'].length) {\n        this.prevViewport = this.viewport;\n        this.viewport = 'md';\n\n        if (this.config.fixMoment && $w.scrollTop() > this.config.fixMoment) {\n          if (typeof this.config.breakpointsMap['md'] === 'undefined') {\n            this.element.removeClass('js-header-fix-moment');\n          } else {\n            this.element.addClass('js-header-fix-moment');\n          }\n        }\n\n        return this;\n      }\n\n      if ($w.width() > this.config.breakpointsMap['lg'] && this.observers['lg'].length) {\n        this.prevViewport = this.viewport;\n        this.viewport = 'lg';\n\n        if (this.config.fixMoment && $w.scrollTop() > this.config.fixMoment) {\n          if (typeof this.config.breakpointsMap['lg'] === 'undefined') {\n            this.element.removeClass('js-header-fix-moment');\n          } else {\n            this.element.addClass('js-header-fix-moment');\n          }\n        }\n\n        return this;\n      }\n\n      if ($w.width() > this.config.breakpointsMap['xl'] && this.observers['xl'].length) {\n        this.prevViewport = this.viewport;\n        this.viewport = 'xl';\n\n        if (this.config.fixMoment && $w.scrollTop() > this.config.fixMoment) {\n          if (typeof this.config.breakpointsMap['xl'] === 'undefined') {\n            this.element.removeClass('js-header-fix-moment');\n          } else {\n            this.element.addClass('js-header-fix-moment');\n          }\n        }\n\n        return this;\n      }\n\n      if (this.prevViewport) this.prevViewport = this.viewport;\n\n      if (this.config.fixMoment && $w.scrollTop() > this.config.fixMoment) {\n        if (typeof this.config.breakpointsMap['xs'] === 'undefined') {\n          this.element.removeClass('js-header-fix-moment');\n        } else {\n          this.element.addClass('js-header-fix-moment');\n        }\n      }\n\n      this.viewport = 'xs';\n      return this;\n    }\n  }, {\n    key: \"notify\",\n    value: function notify() {\n      if (this.prevViewport) {\n        this.observers[this.prevViewport].forEach(function (observer) {\n          observer.destroy();\n        });\n        this.prevViewport = null;\n      }\n\n      this.observers[this.viewport].forEach(function (observer) {\n        observer.check();\n      });\n      return this;\n    }\n  }
1, {\n    key: \"update\",\n    value: function update() {\n      for (var viewport in this.observers) {\n        this.observers[viewport].forEach(function (observer) {\n          observer.destroy();\n        });\n      }\n\n      this.prevViewport = null;\n      this.observers[this.viewport].forEach(function (observer) {\n        observer.reinit();\n      });\n      return this;\n    }\n  }]);\n\n  return HSHeader;\n}();\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/hs-header.js?")},
1"./src/js/observers/abstract.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSAbstractObserver; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar HSAbstractObserver = /*#__PURE__*/function () {\n  function HSAbstractObserver(element) {\n    _classCallCheck(this, HSAbstractObserver);\n\n    this.element = element;\n    this.defaultState = true;\n  }\n\n  _createClass(HSAbstractObserver, [{\n    key: "reinit",\n    value: function reinit() {\n      this.destroy().init().check();\n    }\n  }]);\n\n  return HSAbstractObserver;\n}();\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/abstract.js?')},
1"./src/js/observers/change-appearance.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderChangeAppearanceObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderChangeAppearanceObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderChangeAppearanceObserver, _HSAbstractObserver);\n\n  function HSHeaderChangeAppearanceObserver(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderChangeAppearanceObserver);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderChangeAppearanceObserver).call(this, element));\n    _this.config = {\n      fixPointSelf: false\n    };\n    _this.dataSettings = _this.element.attr(\'data-hs-header-options\') ? JSON.parse(_this.element.attr(\'data-hs-header-options\')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderChangeAppearanceObserver, [{\n    key: "init",\n    value: function init() {\n      if (this.element.hasClass(\'js-header-fix-moment\')) {\n        this.hasFixedClass = true;\n        this.element.removeClass(\'js-header-fix-moment\');\n      }\n\n      if (this.config.fixPointSelf) {\n        this.offset = this.element.offset().top;\n      } else {\n        this.offset = isFinite(this.dataSettings.fixMoment) ? this.dataSettings.fixMoment : 5;\n      }\n\n      if (this.hasFixedClass) {\n        this.hasFixedClass = false;\n        this.element.addClass(\'js-header-fix-moment\');\n      }\n\n      this.sections = this.element.find(\'[data-hs-header-item-options]\');\n      this.defaultState = true;\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      this.toDefaultState();\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      if (!this.sections.length) return this;\n      var $w = $(window),\n          docScrolled = $w.scrollTop();\n\n      if (docScrolled > this.offset && this.defaultState) {\n        this.changeState();\n      } else if (docScrolled <= this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      this.sections.each(function (i, el) {\n        var $this = $(el),\n            dataSettings = $this.attr(\'data-hs-header-item-options\') ? JSON.parse($this.attr(\'data-hs-header-item-options\')) : {}
1,\n            classes = dataSettings.fixMomentClasses,\n            exclude = dataSettings.fixMomentExclude;\n        if (!classes && !exclude) return;\n        $this.addClass(classes + \' js-header-change-moment\');\n        $this.removeClass(exclude);\n      });\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      this.sections.each(function (i, el) {\n        var $this = $(el),\n            dataSettings = $this.attr(\'data-hs-header-item-options\') ? JSON.parse($this.attr(\'data-hs-header-item-options\')) : {},\n            classes = dataSettings.fixMomentClasses,\n            exclude = dataSettings.fixMomentExclude;\n        if (!classes && !exclude) return;\n        $this.removeClass(classes + \' js-header-change-moment\');\n        $this.addClass(exclude);\n      });\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }]);\n\n  return HSHeaderChangeAppearanceObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/change-appearance.js?')},
1"./src/js/observers/change-logo.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderChangeLogoObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderChangeLogoObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderChangeLogoObserver, _HSAbstractObserver);\n\n  function HSHeaderChangeLogoObserver(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderChangeLogoObserver);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderChangeLogoObserver).call(this, element));\n    _this.config = {\n      fixPointSelf: false\n    };\n    _this.dataSettings = _this.element.attr(\'data-hs-header-options\') ? JSON.parse(_this.element.attr(\'data-hs-header-options\')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderChangeLogoObserver, [{\n    key: "init",\n    value: function init() {\n      if (this.element.hasClass(\'js-header-fix-moment\')) {\n        this.hasFixedClass = true;\n        this.element.removeClass(\'js-header-fix-moment\');\n      }\n\n      if (this.config.fixPointSelf) {\n        this.offset = this.element.offset().top;\n      } else {\n        this.offset = isFinite(this.dataSettings.fixMoment) ? this.dataSettings.fixMoment : 0;\n      }\n\n      if (this.hasFixedClass) {\n        this.hasFixedClass = false;\n        this.element.addClass(\'js-header-fix-moment\');\n      }\n\n      this.imgs = this.element.find(\'.header-logo-img\');\n      this.defaultState = true;\n      this.mainLogo = this.imgs.filter(\'.header-logo-img-main\');\n      this.additionalLogo = this.imgs.not(\'.header-logo-img-main\');\n      if (!this.imgs.length) return this;\n      return this;\n    }\n  }
1, {\n    key: "destroy",\n    value: function destroy() {\n      this.toDefaultState();\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      var $w = $(window);\n      if (!this.imgs.length) return this;\n\n      if ($w.scrollTop() > this.offset && this.defaultState) {\n        this.changeState();\n      } else if ($w.scrollTop() <= this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      if (this.mainLogo.length) {\n        this.mainLogo.removeClass(\'header-logo-img-main\');\n      }\n\n      if (this.additionalLogo.length) {\n        this.additionalLogo.addClass(\'header-logo-img-main\');\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      if (this.mainLogo.length) {\n        this.mainLogo.addClass(\'header-logo-img-main\');\n      }\n\n      if (this.additionalLogo.length) {\n        this.additionalLogo.removeClass(\'header-logo-img-main\');\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }]);\n\n  return HSHeaderChangeLogoObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/change-logo.js?')},
1"./src/js/observers/floating.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderFloatingObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1\n\n\n\nvar HSHeaderFloatingObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderFloatingObserver, _HSAbstractObserver);\n\n  function HSHeaderFloatingObserver(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderFloatingObserver);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderFloatingObserver).call(this, element));\n    _this.dataSettings = _this.element.attr(\'data-hs-header-options\') ? JSON.parse(_this.element.attr(\'data-hs-header-options\')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderFloatingObserver, [{\n    key: "init",\n    value: function init() {\n      this.offset = this.element.offset().top;\n      this.sections = this.element.find(\'.header-section\');\n      this.defaultState = true;\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      this.toDefaultState();\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      var $w = $(window),\n          docScrolled = $w.scrollTop();\n\n      if (docScrolled > this.offset && this.defaultState) {\n        this.changeState();\n      } else if (docScrolled <= this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      this.element.addClass(\'js-header-fix-moment\').addClass(this.dataSettings.fixMomentClasses).removeClass(this.dataSettings.fixMomentExclude);\n\n      if (this.sections.length) {\n        this.sections.each(function (i, el) {\n          var $section = $(el),\n              dataSettings = $section.attr(\'data-hs-header-item-options\') ? JSON.parse($section.attr(\'data-hs-header-item-options\')) : {};\n          $section.addClass(dataSettings.fixMomentClasses).removeClass(dataSettings.fixMomentExclude);\n        });\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      this.element.removeClass(\'js-header-fix-moment\').removeClass(this.dataSettings.fixMomentClasses).addClass(this.dataSettings.fixMomentExclude);\n\n      if (this.sections.length) {\n        this.sections.each(function (i, el) {\n          var $section = $(el),\n              dataSettings = $section.attr(\'data-hs-header-item-options\') ? JSON.parse($section.attr(\'data-hs-header-item-options\')) : {};\n          $section.addClass(dataSettings.fixMomentClasses).removeClass(dataSettings.fixMomentExclude);\n        });\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }]);
1\n\n  return HSHeaderFloatingObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/floating.js?')},
1"./src/js/observers/has-hidden-element.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderHasHiddenElement; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderHasHiddenElement = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderHasHiddenElement, _HSAbstractObserver);\n\n  function HSHeaderHasHiddenElement(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderHasHiddenElement);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderHasHiddenElement).call(this, element));\n    _this.config = {\n      animated: true\n    };\n    _this.dataSettings = _this.element.attr(\'data-hs-header-options\') ? JSON.parse(_this.element.attr(\'data-hs-header-options\')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderHasHiddenElement, [{\n    key: "init",\n    value: function init() {\n      this.offset = isFinite(this.dataSettings.fixMoment) ? this.dataSettings.fixMoment : 5;\n      this.elements = this.element.find(\'.header-hidden-element\');\n      this.defaultState = true;\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      this.toDefaultState();\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      if (!this.elements.length) return this;\n      var $w = $(window),\n          docScrolled = $w.scrollTop();\n\n      if (docScrolled > this.offset && this.defaultState) {\n        this.changeState();\n      } else if (docScrolled <= this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      if (this.config.animated) {\n        this.elements.stop().slideUp();\n      } else {\n        this.elements.hide();\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      if (this.config.animated) {\n        this.elements.stop().slideDown();\n      } else {\n        this.elements.show();\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }]);\n\n  return HSHeaderHasHiddenElement;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/has-hidden-element.js?')},
1"./src/js/observers/hide-section.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderHideSectionObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderHideSectionObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderHideSectionObserver, _HSAbstractObserver);\n\n  function HSHeaderHideSectionObserver(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderHideSectionObserver);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderHideSectionObserver).call(this, element));\n    _this.dataSettings = _this.element.attr(\'data-hs-header-options\') ? JSON.parse(_this.element.attr(\'data-hs-header-options\')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderHideSectionObserver, [{\n    key: "init",\n    value: function init() {\n      this.offset = isFinite(this.dataSettings.fixMoment) ? this.dataSettings.fixMoment : 5;\n      this.section = this.element.find(\'.header-section-hidden\');\n      this.defaultState = true;\n      this.sectionHeight = this.section.length ? this.section.outerHeight() : 0;\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      if (this.section.length) {\n        this.element.css({\n          \'margin-top\': 0\n        });\n      }\n\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      if (!this.section.length) return this;\n      var $w = $(window),\n          docScrolled = $w.scrollTop();\n\n      if (docScrolled > this.offset && this.defaultState) {\n        this.changeState();\n      } else if (docScrolled <= this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      var self = this;\n      this.element.stop().animate({\n        \'margin-top\': self.sectionHeight * -1 - 1 // last \'-1\' is a small fix\n\n      });\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      this.element.stop().animate({\n        \'margin-top\': 0\n      });\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }]);\n\n  return HSHeaderHideSectionObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/hide-section.js?')},
1"./src/js/observers/moment-show-hide.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderMomentShowHideObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderMomentShowHideObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderMomentShowHideObserver, _HSAbstractObserver);\n\n  function HSHeaderMomentShowHideObserver(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderMomentShowHideObserver);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderMomentShowHideObserver).call(this, element));\n    _this.dataSettings = _this.element.attr(\'data-hs-header-options\') ? JSON.parse(_this.element.attr(\'data-hs-header-options\')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderMomentShowHideObserver, [{\n    key: "init",\n    value: function init() {\n      this.direction = \'down\';\n      this.delta = 0;\n      this.defaultState = true;\n      this.offset = isFinite(this.dataSettings.fixMoment) && this.dataSettings.fixMoment !== 0 ? this.dataSettings.fixMoment : 5;\n      this.effect = this.dataSettings.fixEffect ? this.dataSettings.fixEffect : \'show-hide\';\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      this.toDefaultState();\n      return this;\n    }\n  }, {\n    key: "checkDirection",\n    value: function checkDirection() {\n      if ($(window).scrollTop() > this.delta) {\n        this.direction = \'down\';\n      } else {\n        this.direction = \'up\';\n      }\n\n      this.delta = $(window).scrollTop();\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      switch (this.effect) {\n        case \'slide\':\n          this.element.removeClass(\'header-moved-up\');\n          break;\n\n        case \'fade\':\n          this.element.removeClass(\'header-faded\');\n          break;\n\n        default:\n          this.element.removeClass(\'header-invisible\');\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      switch (this.effect) {\n        case \'slide\':\n          this.element.addClass(\'header-moved-up\');\n          break;\n\n        case \'fade\':\n          this.element.addClass(\'header-faded\');\n          break;\n\n        default:\n          this.element.addClass(\'header-invisible\');\n      }\n\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      var docScrolled = $(window).scrollTop();\n      this.checkDirection();\n\n      if (docScrolled >= this.offset && this.defaultState && this.direction === \'down\') {\n        this.changeState();\n      } else if (!this.defaultState && this.direction === \'up\') {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }]);\n\n  return HSHeaderMomentShowHideObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/moment-show-hide.js?')},
1"./src/js/observers/show-hide.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return HSHeaderShowHideObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ \"./src/js/observers/abstract.js\");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderShowHideObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderShowHideObserver, _HSAbstractObserver);\n\n  function HSHeaderShowHideObserver(element) {\n    var _this;\n\n    _classCallCheck(this, HSHeaderShowHideObserver);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderShowHideObserver).call(this, element));\n    _this.dataSettings = _this.element.attr('data-hs-header-options') ? JSON.parse(_this.element.attr('data-hs-header-options')) : {};\n    return _this;\n  }\n\n  _createClass(HSHeaderShowHideObserver, [{\n    key: \"init\",\n    value: function init() {\n      if (!this.defaultState && $(window).scrollTop() > this.offset) return this;\n      this.defaultState = true;\n      this.transitionDuration = parseFloat(getComputedStyle(this.element.get(0))['transition-duration'], 10) * 1000;\n      this.offset = isFinite(this.dataSettings.fixMoment) && this.dataSettings.fixMoment > this.element.outerHeight() ? this.dataSettings.fixMoment : this.element.outerHeight() + 100;\n      this.effect = this.dataSettings.fixEffect ? this.dataSettings.fixEffect : 'show-
1hide';\n      return this;\n    }\n  }, {\n    key: \"destroy\",\n    value: function destroy() {\n      if (!this.defaultState && $(window).scrollTop() > this.offset) return this;\n      this.element.removeClass('header-untransitioned');\n\n      this._removeCap();\n\n      return this;\n    }\n  }, {\n    key: \"check\",\n    value: function check() {\n      var $w = $(window);\n\n      if ($w.scrollTop() > this.element.outerHeight() && !this.capInserted) {\n        this._insertCap();\n      } else if ($w.scrollTop() <= this.element.outerHeight() && this.capInserted) {\n        this._removeCap();\n      }\n\n      if ($w.scrollTop() > this.offset && this.defaultState) {\n        this.changeState();\n      } else if ($w.scrollTop() <= this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n    }\n  }, {\n    key: \"changeState\",\n    value: function changeState() {\n      this.element.removeClass('header-untransitioned');\n      if (this.animationTimeoutId) clearTimeout(this.animationTimeoutId);\n\n      switch (this.effect) {\n        case 'fade':\n          this.element.removeClass('header-faded');\n          break;\n\n        case 'slide':\n          this.element.removeClass('header-moved-up');\n          break;\n\n        default:\n          this.element.removeClass('header-invisible');\n      }\n\n      this.defaultState = !this.defaultState;\n    }\n  }, {\n    key: \"toDefaultState\",\n    value: function toDefaultState() {\n      var self = this;\n      this.animationTimeoutId = setTimeout(function () {\n        self.element.addClass('header-untransitioned');\n      }, this.transitionDuration);\n\n      switch (this.effect) {\n        case 'fade':\n          this.element.addClass('header-faded');\n          break;\n\n        case 'slide':\n          this.element.addClass('header-moved-up');\n          break;\n\n        default:\n          this.element.addClass('header-invisible');\n      }\n\n      this.defaultState = !this.defaultState;\n    }\n  }, {\n    key: \"_insertCap\",\n    value: function _insertCap() {\n      this.element.addClass('js-header-fix-moment header-untransitioned');\n\n      if (this.element.hasClass('header-static')) {\n        $('html').css('padding-top', this.element.outerHeight());\n      }\n\n      switch (this.effect) {\n        case 'fade':\n          this.element.addClass('header-faded');\n          break;\n\n        case 'slide':\n          this.element.addClass('header-moved-up');\n          break;\n\n        default:\n          this.element.addClass('header-invisible');\n      }\n\n      this.capInserted = true;\n    }\n  }, {\n    key: \"_removeCap\",\n    value: function _removeCap() {\n      var self = this;\n      this.element.removeClass('js-header-fix-moment');\n\n      if (this.element.hasClass('header-static')) {\n        $('html').css('padding-top', 0);\n      }\n\n      if (this.removeCapTimeOutId) clearTimeout(this.removeCapTimeOutId);\n      this.removeCapTimeOutId = setTimeout(function () {\n        self.element.removeClass('header-moved-up header-faded header-invisible');\n      }, 10);\n      this.capInserted = false;\n    }\n  }]);\n\n  return HSHeaderShowHideObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/show-hide.js?")},
1"./src/js/observers/sticky.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderStickObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderStickObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderStickObserver, _HSAbstractObserver);\n\n  function HSHeaderStickObserver(element) {\n    _classCallCheck(this, HSHeaderStickObserver);\n\n    return _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderStickObserver).call(this, element));\n  }\n\n  _createClass(HSHeaderStickObserver, [{\n    key: "init",\n    value: function init() {\n      this.defaultState = true;\n      this.offset = this.element.offset().top;\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      this.toDefaultState();\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      var $w = $(window),\n          docScrolled = $w.scrollTop();\n\n      if (docScrolled > this.offset && this.defaultState) {\n        this.changeState();\n      } else if (docScrolled < this.offset && !this.defaultState) {\n        this.toDefaultState();\n      }\n\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      this.element.addClass(\'js-header-fix-moment\');\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      this.element.removeClass(\'js-header-fix-moment\');\n      this.defaultState = !this.defaultState;\n      return this;\n    }\n  }]);\n\n  return HSHeaderStickObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/sticky.js?')},
1"./src/js/observers/without-behavior.js":function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return HSHeaderWithoutBehaviorObserver; });\n/* harmony import */ var _abstract__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./abstract */ "./src/js/observers/abstract.js");\nfunction _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); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\nvar HSHeaderWithoutBehaviorObserver = /*#__PURE__*/function (_HSAbstractObserver) {\n  _inherits(HSHeaderWithoutBehaviorObserver, _HSAbstractObserver);\n\n  function HSHeaderWithoutBehaviorObserver(element) {\n    _classCallCheck(this, HSHeaderWithoutBehaviorObserver);\n\n    return _possibleConstructorReturn(this, _getPrototypeOf(HSHeaderWithoutBehaviorObserver).call(this, element));\n  }\n\n  _createClass(HSHeaderWithoutBehaviorObserver, [{\n    key: "init",\n    value: function init() {\n      return this;\n    }\n  }, {\n    key: "check",\n    value: function check() {\n      return this;\n    }\n  }, {\n    key: "destroy",\n    value: function destroy() {\n      return this;\n    }\n  }, {\n    key: "changeState",\n    value: function changeState() {\n      return this;\n    }\n  }, {\n    key: "toDefaultState",\n    value: function toDefaultState() {\n      return this;\n    }\n  }]);\n\n  return HSHeaderWithoutBehaviorObserver;\n}(_abstract__WEBPACK_IMPORTED_MODULE_0__["default"]);\n\n\n\n//# sourceURL=webpack://HSHeader/./src/js/observers/without-behavior.js?')}
1},e={},f.m=d,f.c=e,f.d=function(e,t,n){f.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(t,e){if(1&e&&(t=f(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(f.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)f.d(n,s,function(e){return t[e]}.bind(null,s));return n},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f(f.s="./src/js/hs-header.js").default;function f(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return d[t].call(n.exports,n,n.exports,f),n.l=!0,n.exports}var d,e});

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.