/*!
  * Bootstrap util.js v4.3.1 (https://getbootstrap.com/)
  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?module.exports=a(require("jquery")):typeof define==="function"&&define.amd?define(["jquery"],a):(b=b||self,b.Util=a(b.jQuery))}(this,function(f){f=f&&f.hasOwnProperty("default")?f["default"]:f;var e="transitionend";var d=1000000;var q=1000;function b(s){return{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase()}function i(){return{bindType:e,delegateType:e,handle:function s(t){if(f(t.target).is(this)){return t.handleObj.handler.apply(this,arguments)}return undefined}}}function o(t){var u=this;var s=false;f(this).one(g.TRANSITION_END,function(){s=true});setTimeout(function(){if(!s){g.triggerTransitionEnd(u)}},t);return this}function m(){f.fn.emulateTransitionEnd=o;f.event.special[g.TRANSITION_END]=i()}var g={TRANSITION_END:"bsTransitionEnd",getUID:function l(s){do{s+=~~(Math.random()*d)}while(document.getElementById(s));return s},getSelectorFromElement:function h(u){var t=u.getAttribute("data-target");if(!t||t==="#"){var s=u.getAttribute("href");t=s&&s!=="#"?s.trim():""}try{return document.querySelector(t)?t:null}catch(v){return null}},getTransitionDurationFromElement:function k(v){if(!v){return 0}var s=f(v).css("transition-duration");var t=f(v).css("transition-delay");var u=parseFloat(s);var w=parseFloat(t);if(!u&&!w){return 0}s=s.split(",")[0];t=t.split(",")[0];return(parseFloat(s)+parseFloat(t))*q},reflow:function j(s){return s.offsetHeight},triggerTransitionEnd:function p(s){f(s).trigger(e)},supportsTransitionEnd:function c(){return Boolean(e)},isElement:function n(s){return(s[0]||s).nodeType},typeCheckConfig:function a(s,t,w){for(var v in w){if(Object.prototype.hasOwnProperty.call(w,v)){var y=w[v];var u=t[v];var x=u&&g.isElement(u)?"element":b(u);if(!new RegExp(y).test(x)){throw new Error(s.toUpperCase()+": "+('Option "'+v+'" provided type "'+x+'" ')+('but expected type "'+y+'".'))}}}},findShadowRoot:function r(t){if(!document.documentElement.attachShadow){return null}if(typeof t.getRootNode==="function"){var s=t.getRootNode();return s instanceof ShadowRoot?s:null}if(t instanceof ShadowRoot){return t}if(!t.parentNode){return null}return g.findShadowRoot(t.parentNode)}};m();return g}));