text: /*!
    * Bootstrap Vertical Menu v0.0.3 (https://iqbalfn.github.io/bootstrap-vertical-menu/)
    * Copyright 2019 Iqbal Fauzi
    * Licensed under MIT (https://github.com/iqbalfn/bootstrap-vertical-menu/blob/master/LICENSE)
    */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e=e||self)["bootstrap-vertical-menu"]={},e.jQuery)}(this,function(e,f){"use strict";function i(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(r){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.forEach(function(e){var t,n,i;t=r,i=a[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return r}f=f&&f.hasOwnProperty("default")?f.default:f;var t="transitionend";function n(e){var t=this,n=!1;return f(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(t)},e),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=f(e).css("transition-duration"),n=f(e).css("transition-delay"),i=parseFloat(t),r=parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){f(e).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],a=t[i],o=a&&l.isElement(a)?"element":(s=a,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(o))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+o+'" but expected type "'+r+'".')}var s},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null}};f.fn.emulateTransitionEnd=n,f.event.special[l.TRANSITION_END]={bindType:t,delegateType:t,handle:function(e){if(f(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var o="vertmenu",s="bs.vertmenu",r="."+s,c=".data-api",u=f.fn[o],d={toggle:!1},g={toggle:"boolean"},h={SHOW:"show"+r,SHOWN:"shown"+r,HIDE:"hide"+r,HIDDEN:"hidden"+r,CLICK_DATA_API:"click"+r+c,KEYDOWN_DATA_API:"keydown"+r+c},p="collapse",m="collapsing",_="vertical-menu",v="vertical-menu-parent",y="show",N={DATA_TOGGLE:'[data-toggle="vertical-menu"]',MENU:"."+_},E=function(){function r(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._parent=e.parentNode,this._config.toggle&&this.toggle()}var e=r.prototype;return e.toggle=function(){f(this._parent).hasClass(y)?this.hide():this.show()},e.show=function(){var e=this;if(!this._isTransitioning&&!f(this._element).hasClass(y)){var t=f.Event(h.SHOW);if(f(this._element).trigger(t),!t.isDefaultPrevented()){var n="height";f(this._element).removeClass(p).addClass(m),this._element.style[n]=0,f(this._parent).addClass(y),this._isTransitioning=!0;var i="scroll"+(n[0].toUpperCase()+n.slice(1)),r=l.getTransitionDurationFromElement(this._element);f(this._element).one(l.TRANSITION_END,function(){f(e._element).removeClass(m).addClass(p),e._element.style[n]="",e._isTransitioning=!1,f(e._element).trigger(h.SHOWN)}).emulateTransitionEnd(r),this._element.style[n]=this._element[i]+"px"}}},e.hide=function(){var e=this;if(!this._isTransitioning&&f(this._parent).hasClass(y)){var t=f.Event(h.HIDE);if(f(this._element).trigger(t),!t.isDefaultPrevented()){var n="height";this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",l.reflow(this._element),f(this._element).addClass(m).removeClass(p),this._isTransitioning=!0;this._element.style[n]="";var i=l.getTransitionDurationFromElement(this._element);f(this._element).one(l.TRANSITION_END,function(){e._isTransitioning=!1,f(e._parent).removeClass(y),f(e._element).trigger(h.HIDDEN)}).emulateTransitionEnd(i)}}},e.dispose=function(){f.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._isTransitioning=null},e._getConfig=function(e){return(e=a({},d,e)).toggle=Boolean(e.toggle),l.typeCheckConfig(o,e,g),e},r._handleDownKey=function(e){var t,n=e.target,i=n.parentNode,r=n.nextElementSibling,a=i.classList.contains(y);if(r&&a&&(t=f(i).find("> ul >li:first-child > a").get(0)),!t)for(var o=n;;){var s=o.parentNode,l=s.nextElementSibling;if(l){t=f(l).children("a").get(0);break}var c=s.parentNode.parentNode;if("LI"!=c.tagName||c.classList.contains(_))break;if(!(o=f(c).children("a").get(0)))break}return t&&t.focus(),!0},r._handleLeftKey=function(e){var t=e.target,n=t.parentNode,i=t.nextElementSibling,r=n.classList.contains(y);if(i&&r)t.click();else{var a=n.parentNode.parentNode;a.classList.contains(v)&&f(a).children("a").focus()}return!0},r._handleRightKey=function(e){var t=e.target,n=t.parentNode,i=t.nextElementSibling,r=n.classList.contains(y);return i&&!r&&t.click(),!0},r._handleUpKey=function(e){var t,n=e.target.parentNode,i=n.previousElementSibling;if(i){var r=i.classList.contains(v),a=i.classList.contains(y);if(r&&a)for(var o=i;;){var s=f(o).children("ul").get(0).lastElementChild;if(!s)break;var l=s.classList.contains(v),c=s.classList.contains(y);if(!l||!c){t=f(s).children("a").get(0);break}o=s}else t=f(i).children("a").get(0)}else{var u=n.parentNode.parentNode;"LI"!==u.tagName||u.classList.contains(_)||(t=f(u).children("a"))}return t&&t.focus(),!0},r._dataApiKeydownHandler=function(e){var t=!1;switch(e.keyCode){case 40:t=r._handleDownKey(e);break;case 37:t=r._handleLeftKey(e);break;case 39:t=r._handleRightKey(e);break;case 38:t=r._handleUpKey(e)}t&&(e.preventDefault(),e.stopPropagation())},r._jQueryInterface=function(i){return this.each(function(){var e=f(this),t=e.data(s),n=a({},d,e.data(),"object"==typeof i&&i?i:{});if(n.toggle&&"vertical-menu"===n.toggle&&(n.toggle=!1),!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new r(this,n),e.data(s,t)),"string"==typeof i){if("undefined"==typeof t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},function(e,t,n){t&&i(e.prototype,t),n&&i(e,n)}(r,null,[{key:"VERSION",get:function(){return"0.0.3"}},{key:"Default",get:function(){return d}}]),r}();f(document).on(h.CLICK_DATA_API,N.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=f(this).next("ul");E._jQueryInterface.call(t,"toggle")}),f(document).on(h.KEYDOWN_DATA_API,N.MENU,E._dataApiKeydownHandler),f.fn[o]=E._jQueryInterface,f.fn[o].Constructor=E,f.fn[o].noConflict=function(){return f.fn[o]=u,E._jQueryInterface},e.VerticalMenu=E,Object.defineProperty(e,"__esModule",{value:!0})});
  //# sourceMappingURL=bootstrap-vertical-menu.min.js.map