(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[10],{635:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var o=n(1);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}function l(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"node",void 0),l(this,"labelOpen",void 0),l(this,"labelClose",void 0),l(this,"labelNode",void 0),this.node=t,this.labelOpen=t.getAttribute("data-toubiz-expandable-text-label-open"),this.labelClose=t.getAttribute("data-toubiz-expandable-text-label-close"),this.labelNode=t.querySelector("[data-toubiz-expandable-text-label]"),this.init()}var t,n,i;return t=e,(n=[{key:"init",value:function(){var e=this;if(this.labelNode&&this.labelOpen&&this.labelClose&&(this.onToggle(),this.node.addEventListener("click",(function(){return e.onToggle()}),!1),this.node.hasAttribute("href"))){var t=this.node.getAttribute("href").substring(1),n=document.getElementById(t);n.offsetHeight===n.scrollHeight&&setTimeout((function(){Object(o.a)(e.node,"target-enhancement.open"),e.node.classList.add("hidden")}),0)}}},{key:"onToggle",value:function(){var e=this;setTimeout((function(){var t=e.node.getAttribute("aria-expanded");e.labelNode.innerHTML="true"===t?e.labelClose:e.labelOpen}),0)}}])&&r(t.prototype,n),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}]);