(window["webpackJsonpLIS"] = window["webpackJsonpLIS"] || []).push([[3],{

/***/ "./node_modules/@nimius/target-enhancement/src/plugins/toggle-aria-expanded.js":
/*!*************************************************************************************!*\
  !*** ./node_modules/@nimius/target-enhancement/src/plugins/toggle-aria-expanded.js ***!
  \*************************************************************************************/
/*! exports provided: default */
/***/ (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 TargetEnhancementToggleAriaExpandedPlugin; });\n/* harmony import */ var _abstract_target_enhancement_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract-target-enhancement.plugin */ \"./node_modules/@nimius/target-enhancement/src/abstract-target-enhancement.plugin.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 _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\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\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 _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n/**\n * @description Plugin/Extension for target enhancement that toggles the `aria-expanded` attribute\n * on the toggling element.\n *\n * @example <caption>Initializes toggling of `aria-expanded` attribute for every [data-target-enhancement]\n * element which has this plugin configured.</caption>\n * // <a href=\"#element\" data-target-enhancement data-target-enhancement-plugins.0.name=\"toggle-aria-expanded\">show</a>\n * // <div id=\"element\">content</div>\n */\n\nvar attribute = 'aria-expanded';\n\nvar TargetEnhancementToggleAriaExpandedPlugin = /*#__PURE__*/function (_AbstractTargetEnhanc) {\n  _inherits(TargetEnhancementToggleAriaExpandedPlugin, _AbstractTargetEnhanc);\n\n  var _super = _createSuper(TargetEnhancementToggleAriaExpandedPlugin);\n\n  function TargetEnhancementToggleAriaExpandedPlugin() {\n    _classCallCheck(this, TargetEnhancementToggleAriaExpandedPlugin);\n\n    return _super.apply(this, arguments);\n  }\n\n  _createClass(TargetEnhancementToggleAriaExpandedPlugin, [{\n    key: \"initialize\",\n    // eslint-disable-next-line no-unused-vars\n    value: function initialize(element, targets) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      if (!element.hasAttribute(attribute)) {\n        element.setAttribute(attribute, 'false');\n      }\n\n      element.addEventListener('target-enhancement.open', function () {\n        return element.setAttribute(attribute, 'true');\n      });\n      element.addEventListener('target-enhancement.close', function () {\n        return element.setAttribute(attribute, 'false');\n      });\n    }\n  }]);\n\n  return TargetEnhancementToggleAriaExpandedPlugin;\n}(_abstract_target_enhancement_plugin__WEBPACK_IMPORTED_MODULE_0__[\"AbstractTargetEnhancementPlugin\"]);\n\n\n\n//# sourceURL=webpack://LIS/./node_modules/@nimius/target-enhancement/src/plugins/toggle-aria-expanded.js?");

/***/ })

}]);