text: /**
   * Minified by jsDelivr using Terser v5.3.5.
   * Original file: /npm/bootstrap@4.6.0/js/src/popover.js
   *
   * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
   */
  import $ from"jquery";import Tooltip from"./tooltip";const NAME="popover",VERSION="4.6.0",DATA_KEY="bs.popover",EVENT_KEY=".bs.popover",JQUERY_NO_CONFLICT=$.fn[NAME],CLASS_PREFIX="bs-popover",BSCLS_PREFIX_REGEX=new RegExp("(^|\\s)bs-popover\\S+","g"),Default={...Tooltip.Default,placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},DefaultType={...Tooltip.DefaultType,content:"(string|element|function)"},CLASS_NAME_FADE="fade",CLASS_NAME_SHOW="show",SELECTOR_TITLE=".popover-header",SELECTOR_CONTENT=".popover-body",Event={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Popover extends Tooltip{static get VERSION(){return"4.6.0"}static get Default(){return Default}static get NAME(){return NAME}static get DATA_KEY(){return DATA_KEY}static get Event(){return Event}static get EVENT_KEY(){return EVENT_KEY}static get DefaultType(){return DefaultType}isWithContent(){return this.getTitle()||this._getContent()}addAttachmentClass(t){$(this.getTipElement()).addClass("bs-popover-"+t)}getTipElement(){return this.tip=this.tip||$(this.config.template)[0],this.tip}setContent(){const t=$(this.getTipElement());this.setElementContent(t.find(SELECTOR_TITLE),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")}_getContent(){return this.element.getAttribute("data-content")||this.config.content}_cleanTipClass(){const t=$(this.getTipElement()),e=t.attr("class").match(BSCLS_PREFIX_REGEX);null!==e&&e.length>0&&t.removeClass(e.join(""))}static _jQueryInterface(t){return this.each((function(){let e=$(this).data(DATA_KEY);const o="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new Popover(this,o),$(this).data(DATA_KEY,e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}$.fn[NAME]=Popover._jQueryInterface,$.fn[NAME].Constructor=Popover,$.fn[NAME].noConflict=()=>($.fn[NAME]=JQUERY_NO_CONFLICT,Popover._jQueryInterface);export default Popover;
  //# sourceMappingURL=/sm/bd1fcde3b50f9682a6f115404014ae7bc4a555448a10731877c6c1f27cb0f8e8.map