!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function O(t,e){for(var n=0;n=n.clientWidth&&t>=n.clientHeight}),e=(0i[t]&&!o.escapeWithReference&&(n=Math.min(r[e],i[t]-("right"===t?r.width:r.height))),y({},e,n)}};return e.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";r=E({},r,n[e](t))}),t.offsets.popper=r,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=(n=t.offsets).popper,n=n.reference,o=t.placement.split("-")[0],i=Math.floor,r=(o=-1!==["top","bottom"].indexOf(o))?"right":"bottom",s=o?"left":"top",o=o?"width":"height";return e[r]i(n[r])&&(t.offsets.popper[s]=i(n[r])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){if(!$(t.instance.modifiers,"arrow","keepTogether"))return t;if("string"==typeof(e=e.element)){if(!(e=t.instance.popper.querySelector(e)))return t}else if(!t.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var n=t.placement.split("-")[0],o=(i=t.offsets).popper,i=i.reference,r=(n=-1!==["left","right"].indexOf(n))?"height":"width",s=(c=n?"Top":"Left").toLowerCase(),a=n?"left":"top",n=n?"bottom":"right",l=K(e)[r],n=(i[n]-lo[n]&&(t.offsets.popper[s]+=i[s]+l-o[n]),t.offsets.popper=w(t.offsets.popper),i[s]+i[r]/2-l/2),i=u(t.instance.popper),f=parseFloat(i["margin"+c],10),i=parseFloat(i["border"+c+"Width"],10),c=n-t.offsets.popper[s]-f-i,c=Math.max(Math.min(o[r]-l,c),0);return t.arrowElement=e,t.offsets.arrow=(y(n={},s,Math.round(c)),y(n,a,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,f){if(z(l.instance.modifiers,"inner"))return l;if(l.flipped&&l.placement===l.originalPlacement)return l;var c=D(l.instance.popper,l.instance.reference,f.padding,f.boundariesElement),u=l.placement.split("-")[0],p=N(u),h=l.placement.split("-")[1]||"",d=[];switch(f.behavior){case et:d=[u,p];break;case nt:d=tt(u);break;case ot:d=tt(u,!0);break;default:d=f.behavior}return d.forEach(function(t,e){if(u!==t||d.length===e+1)return l;u=l.placement.split("-")[0],p=N(u);var t=l.offsets.popper,n=l.offsets.reference,o=Math.floor,n="left"===u&&o(t.right)>o(n.left)||"right"===u&&o(t.left)o(n.top)||"bottom"===u&&o(t.top)o(c.right),s=o(t.top)o(c.bottom),o="left"===u&&i||"right"===u&&r||"top"===u&&s||"bottom"===u&&t,a=-1!==["top","bottom"].indexOf(u),i=!!f.flipVariations&&(a&&"start"===h&&i||a&&"end"===h&&r||!a&&"start"===h&&s||!a&&"end"===h&&t);(n||o||i)&&(l.flipped=!0,(n||o)&&(u=d[e+1]),i&&(h="end"===(r=h)?"start":"start"===r?"end":r),l.placement=u+(h?"-"+h:""),l.offsets.popper=E({},l.offsets.popper,V(l.instance.popper,l.offsets.reference,l.placement)),l=Q(l.instance.modifiers,l,"flip"))}),l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],o=(i=t.offsets).popper,i=i.reference,r=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[r?"left":"top"]=i[n]-(s?o[r?"width":"height"]:0),t.placement=N(e),t.offsets.popper=w(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=S(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},h="show",d="out",m={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},g="fade",v="show",b=".tooltip-inner",y=".arrow",E="hover",w="focus",T="click",_="manual",e=function(){function i(t,e){if(void 0===P)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t,e,n=i.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){var e,n;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(n=r(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):r(this.getTipElement()).hasClass(v)?this._leave(null,this):this._enter(null,this))},n.dispose=function(){clearTimeout(this._timeout),r.removeData(this.element,this.constructor.DATA_KEY),r(this.element).off(this.constructor.EVENT_KEY),r(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&r(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var e=this;if("none"===r(this.element).css("display"))throw new Error("Please use show on visible elements");var t,n,o=r.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(r(this.element).trigger(o),t=r.contains(this.element.ownerDocument.documentElement,this.element),!o.isDefaultPrevented()&&t&&(o=this.getTipElement(),t=A.getUID(this.constructor.NAME),o.setAttribute("id",t),this.element.setAttribute("aria-describedby",t),this.setContent(),this.config.animation&&r(o).addClass(g),t="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,t=this._getAttachment(t),this.addAttachmentClass(t),n=!1===this.config.container?document.body:r(this.config.container),r(o).data(this.constructor.DATA_KEY,this),r.contains(this.element.ownerDocument.documentElement,this.tip)||r(o).appendTo(n),r(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new P(this.element,o,{placement:t,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:y},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),r(o).addClass(v),"ontouchstart"in document.documentElement&&r("body").children().on("mouseover",null,r.noop),n=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,r(e.element).trigger(e.constructor.Event.SHOWN),t===d&&e._leave(null,e)},A.supportsTransitionEnd()&&r(this.tip).hasClass(g)?r(this.tip).one(A.TRANSITION_END,n).emulateTransitionEnd(i._TRANSITION_DURATION):n()))},n.hide=function(t){function e(){n._hoverState!==h&&o.parentNode&&o.parentNode.removeChild(o),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),r(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()}var n=this,o=this.getTipElement(),i=r.Event(this.constructor.Event.HIDE);r(this.element).trigger(i),i.isDefaultPrevented()||(r(o).removeClass(v),"ontouchstart"in document.documentElement&&r("body").children().off("mouseover",null,r.noop),this._activeTrigger[T]=!1,this._activeTrigger[w]=!1,this._activeTrigger[E]=!1,A.supportsTransitionEnd()&&r(this.tip).hasClass(g)?r(o).one(A.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){r(this.getTipElement()).addClass(l+"-"+t)},n.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0],this.tip},n.setContent=function(){var t=r(this.getTipElement());this.setElementContent(t.find(b),this.getTitle()),t.removeClass(g+" "+v)},n.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?r(e).parent().is(t)||t.empty().append(e):t.text(r(e).text()):t[n?"html":"text"](e)},n.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},n._getAttachment=function(t){return u[t.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?r(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):t!==_&&(e=t===E?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===E?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,r(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(t,n.config.selector,function(t){return n._leave(t)})),r(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=C({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||r(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?w:E]=!0),r(e.getTipElement()).hasClass(v)||e._hoverState===h?e._hoverState=h:(clearTimeout(e._timeout),e._hoverState=h,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===h&&e.show()},e.config.delay.show):e.show())},n._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||r(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?w:E]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=d,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===d&&e.hide()},e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){return"number"==typeof(t=C({},this.constructor.Default,r(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),A.typeCheckConfig(o,t,this.constructor.DefaultType),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=r(this.getTipElement()),e=t.attr("class").match(f);null!==e&&0