BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
CTR
/
wp-content
/
plugins
/
porto-functionality
/
shortcodes
/
assets
/
js
📤 Upload
📝 New File
📁 New Folder
Close
Editing: bootstrap-popover.min.js
!function(t){"use strict";if(void 0===bootstrap.Popover){const e=t.Tooltip,o=t.SelectorEngine,n="popover",i=`.${"bs.popover"}`,s="bs-popover",r=new RegExp(`(^|\\s)${s}\\S+`,"g"),a={...e.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},l={...e.DefaultType,content:"(string|element|function)"},p={HIDE:`hide${i}`,HIDDEN:`hidden${i}`,SHOW:`show${i}`,SHOWN:`shown${i}`,INSERTED:`inserted${i}`,CLICK:`click${i}`,FOCUSIN:`focusin${i}`,FOCUSOUT:`focusout${i}`,MOUSEENTER:`mouseenter${i}`,MOUSELEAVE:`mouseleave${i}`},c="fade",d="show",g=".popover-header",h=".popover-body";class u extends e{static get Default(){return a}static get NAME(){return n}static get Event(){return p}static get DefaultType(){return l}isWithContent(){return this.getTitle()||this._getContent()}getTipElement(){return this.tip||(this.tip=super.getTipElement(),this.getTitle()||o.findOne(g,this.tip).remove(),this._getContent()||o.findOne(h,this.tip).remove()),this.tip}setContent(){const t=this.getTipElement();this.setElementContent(o.findOne(g,t),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(o.findOne(h,t),e),t.classList.remove(c,d)}_addAttachmentClass(t){this.getTipElement().classList.add(`${s}-${this.updateAttachment(t)}`)}_getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(r);null!==e&&e.length>0&&e.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}}bootstrap.Popover=u}if(void 0!==window.theme&&window.theme.isReady){var e=[].slice.call(document.querySelectorAll("[data-toggle='popover']"));e.length&&e.map((function(t){if(void 0===t.uidEvent){var e=jQuery(t),o={};e.data("bs-placement")&&(o.placement=e.data("bs-placement")),e.data("trigger")&&(o.trigger=e.data("trigger")),new bootstrap.Popover(t,o)}}))}jQuery(document.body).on("porto_init",(function(t,e){var o=[].slice.call(e.get(0).querySelectorAll("[data-toggle='popover']"));o.length&&o.map((function(t){if(void 0===t.uidEvent){var e=jQuery(t),o={};e.data("bs-placement")&&(o.placement=e.data("bs-placement")),e.data("trigger")&&(o.trigger=e.data("trigger")),new bootstrap.Popover(t,o)}}))}))}(bootstrap);
Save
Cancel