(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[10],{607:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return l}));var i=n(1);function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"node",void 0),a(this,"labelOpen",void 0),a(this,"labelClose",void 0),a(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,l;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(i.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)}}])&&o(t.prototype,n),l&&o(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}]);