(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[10],{534:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return l}));var i=n(1);function a(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 o(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),o(this,"node",void 0),o(this,"labelOpen",void 0),o(this,"labelClose",void 0),o(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)}}])&&a(t.prototype,n),l&&a(t,l),e}()}}]);