text: "use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){"function"==typeof define&&define.amd?define([],e(t)):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=e(t):t.Smacc=e(t)}("undefined"!=typeof global?global:window||(void 0).window||(void 0).global,function(t){function e(t){if("string"==typeof t)if("."===t.charAt(0))this.smacc=document.getElementsByClassName(t.slice(1))[0];else{if("#"!==t.charAt(0))throw new Error("Check the selector.");this.smacc=document.getElementById(t.slice(1))}(function(){this.smacc.classList.add(n.smacc);var t=this.smacc.nextElementSibling;t.classList.add(n.content),t.style.overflow="hidden",t.style.maxHeight=0,t.style.transition=".3s",function(){this.smacc.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation();var e=this.nextElementSibling.scrollHeight;this.className.indexOf("_open")>1?(this.classList.remove(n.contentOpen),this.nextElementSibling.style.maxHeight=0):(this.classList.add(n.contentOpen),this.nextElementSibling.style.maxHeight=e+"px")})}.call(this)}).call(this)}window.Smacc=e||{};var n={smacc:"smacc",content:"smacc-content",contentOpen:"smacc_open"};return e});