text: /*!
   * WPBakery Page Builder v6.0.0 (https://wpbakery.com)
   * Copyright 2011-2021 Michael M, WPBakery
   * License: Commercial. More details: http://go.wpbakery.com/licensing
   */
  
  // jscs:disable
  // jshint ignore: start
  
  !function($){"use strict";function Tooltip(element,options){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",element,options)}Tooltip.VERSION="3.1.1",Tooltip.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},Tooltip.prototype.init=function(type,element,options){this.enabled=!0,this.type=type,this.$element=$(element),this.options=this.getOptions(options),this.$viewport=this.options.viewport&&$(this.options.viewport.selector||this.options.viewport);for(var triggers=this.options.trigger.split(" "),i=triggers.length;i--;){var eventIn,eventOut=triggers[i];"click"==eventOut?this.$element.on("click."+this.type,this.options.selector,$.proxy(this.toggle,this)):"manual"!=eventOut&&(eventIn="hover"==eventOut?"mouseenter":"focusin",eventOut="hover"==eventOut?"mouseleave":"focusout",this.$element.on(eventIn+"."+this.type,this.options.selector,$.proxy(this.enter,this)),this.$element.on(eventOut+"."+this.type,this.options.selector,$.proxy(this.leave,this)))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},Tooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS},Tooltip.prototype.getOptions=function(options){return(options=$.extend({},this.getDefaults(),this.$element.data(),options)).delay&&"number"==typeof options.delay&&(options.delay={show:options.delay,hide:options.delay}),options},Tooltip.prototype.getDelegateOptions=function(){var options={},defaults=this.getDefaults();return this._options&&$.each(this._options,function(key,value){defaults[key]!=value&&(options[key]=value)}),options},Tooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data("bs."+this.type);if(self||(self=new this.constructor(obj.currentTarget,this.getDelegateOptions()),$(obj.currentTarget).data("bs."+this.type,self)),clearTimeout(self.timeout),self.hoverState="in",!self.options.delay||!self.options.delay.show)return self.show();self.timeout=setTimeout(function(){"in"==self.hoverState&&self.show()},self.options.delay.show)},Tooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data("bs."+this.type);if(self||(self=new this.constructor(obj.currentTarget,this.getDelegateOptions()),$(obj.currentTarget).data("bs."+this.type,self)),clearTimeout(self.timeout),self.hoverState="out",!self.options.delay||!self.options.delay.hide)return self.hide();self.timeout=setTimeout(function(){"out"==self.hoverState&&self.hide()},self.options.delay.hide)},Tooltip.prototype.show=function(){var that,$tip,pos,actualWidth,orgPlacement,parentDim,complete,calculatedOffset=$.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(calculatedOffset),calculatedOffset.isDefaultPrevented()||($tip=(that=this).tip(),this.setContent(),this.options.animation&&$tip.addClass("fade"),complete="function"==typeof this.options.placement?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement,(parentDim=(orgPlacement=/\s?auto?\s?/i).test(complete))&&(complete=complete.replace(orgPlacement,"")||"top"),$tip.detach().css({top:0,left:0,display:"block"}).addClass(complete),this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element),pos=this.getPosition(),actualWidth=$tip[0].offsetWidth,calculatedOffset=$tip[0].offsetHeight,parentDim&&(orgPlacement=complete,parentDim=this.$element.parent(),parentDim=this.getPosition(parentDim),complete="bottom"==complete&&pos.top+pos.height+calculatedOffset-parentDim.scroll>parentDim.height?"top":"top"==complete&&pos.top-parentDim.scroll-calculatedOffset<0?"bottom":"right"==complete&&pos.right+actualWidth>parentDim.width?"left":"left"==complete&&pos.left-actualWidth<parentDim.left?"right":complete,$tip.removeClass(orgPlacement).addClass(complete)),calculatedOffset=this.getCalculatedOffset(complete,pos,actualWidth,calculatedOffset),this.applyPlacement(calculatedOffset,complete),this.hoverState=null,complete=function(){that.$element.trigger("shown.bs."+that.type)},$.support.transition&&this.$tip.hasClass("fade")?$tip.one($.support.transition.end,complete).emulateTransitionEnd(150):complete()))},Tooltip.prototype.applyPlacement=function(offset,arrowOffsetPosition){var $tip=this.tip(),width=$tip[0].offsetWidth,arrowDelta=$tip[0].offsetHeight,actualWidth=parseInt($tip.css("margin-top"),10),arrowPosition=parseInt($tip.css("margin-left"),10);isNaN(actualWidth)&&(actualWidth=0),isNaN(arrowPosition)&&(arrowPosition=0),offset.top=offset.top+actualWidth,offset.left=offset.left+arrowPosition,$.offset.setOffset($tip[0],$.extend({using:function(props){$tip.css({top:Math.round(props.top),left:Math.round(props.left)})}},offset),0),$tip.addClass("in");actualWidth=$tip[0].offsetWidth,arrowPosition=$tip[0].offsetHeight;"top"==arrowOffsetPosition&&arrowPosition!=arrowDelta&&(offset.top=offset.top+arrowDelta-arrowPosition);arrowOffsetPosition=this.getViewportAdjustedDelta(arrowOffsetPosition,offset,actualWidth,arrowPosition);arrowOffsetPosition.left?offset.left+=arrowOffsetPosition.left:offset.top+=arrowOffsetPosition.top;arrowDelta=arrowOffsetPosition.left?2*arrowOffsetPosition.left-width+actualWidth:2*arrowOffsetPosition.top-arrowDelta+arrowPosition,arrowPosition=arrowOffsetPosition.left?"left":"top",arrowOffsetPosition=arrowOffsetPosition.left?"offsetWidth":"offsetHeight";$tip.offset(offset),this.replaceArrow(arrowDelta,$tip[0][arrowOffsetPosition],arrowPosition)},Tooltip.prototype.replaceArrow=function(delta,dimension,position){this.arrow().css(position,delta?50*(1-delta/dimension)+"%":"")},Tooltip.prototype.setContent=function(){var $tip=this.tip(),title=this.getTitle();$tip.find(".tooltip-inner")[this.options.html?"html":"text"](title),$tip.removeClass("fade in top bottom left right")},Tooltip.prototype.hide=function(){var that=this,$tip=this.tip(),e=$.Event("hide.bs."+this.type);function complete(){"in"!=that.hoverState&&$tip.detach(),that.$element.trigger("hidden.bs."+that.type)}if(this.$element.trigger(e),!e.isDefaultPrevented())return $tip.removeClass("in"),$.support.transition&&this.$tip.hasClass("fade")?$tip.one($.support.transition.end,complete).emulateTransitionEnd(150):complete(),this.hoverState=null,this},Tooltip.prototype.fixTitle=function(){var $e=this.$element;!$e.attr("title")&&"string"==typeof $e.attr("data-original-title")||$e.attr("data-original-title",$e.attr("title")||"").attr("title","")},Tooltip.prototype.hasContent=function(){return this.getTitle()},Tooltip.prototype.getPosition=function($element){var el=($element=$element||this.$element)[0],isBody="BODY"==el.tagName;return $.extend({},"function"==typeof el.getBoundingClientRect?el.getBoundingClientRect():null,{scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop(),width:isBody?$(window).width():$element.outerWidth(),height:isBody?$(window).height():$element.outerHeight()},isBody?{top:0,left:0}:$element.offset())},Tooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return"bottom"==placement?{top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}:"top"==placement?{top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}:"left"==placement?{top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}:{top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}},Tooltip.prototype.getViewportAdjustedDelta=function(topEdgeOffset,pos,rightEdgeOffset,actualHeight){var delta={top:0,left:0};if(!this.$viewport)return delta;var leftEdgeOffset,viewportPadding=this.options.viewport&&this.options.viewport.padding||0,viewportDimensions=this.getPosition(this.$viewport);return/right|left/.test(topEdgeOffset)?(topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll,leftEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight,topEdgeOffset<viewportDimensions.top?delta.top=viewportDimensions.top-topEdgeOffset:leftEdgeOffset>viewportDimensions.top+viewportDimensions.height&&(delta.top=viewportDimensions.top+viewportDimensions.height-leftEdgeOffset)):(leftEdgeOffset=pos.left-viewportPadding,rightEdgeOffset=pos.left+viewportPadding+rightEdgeOffset,leftEdgeOffset<viewportDimensions.left?delta.left=viewportDimensions.left-leftEdgeOffset:rightEdgeOffset>viewportDimensions.width&&(delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset)),delta},Tooltip.prototype.getTitle=function(){var $e=this.$element,o=this.options;return $e.attr("data-original-title")||("function"==typeof o.title?o.title.call($e[0]):o.title)},Tooltip.prototype.tip=function(){return this.$tip=this.$tip||$(this.options.template)},Tooltip.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},Tooltip.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},Tooltip.prototype.enable=function(){this.enabled=!0},Tooltip.prototype.disable=function(){this.enabled=!1},Tooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled},Tooltip.prototype.toggle=function(e){var self=this;e&&((self=$(e.currentTarget).data("bs."+this.type))||(self=new this.constructor(e.currentTarget,this.getDelegateOptions()),$(e.currentTarget).data("bs."+this.type,self))),self.tip().hasClass("in")?self.leave(self):self.enter(self)},Tooltip.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var old=$.fn.tooltip;$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data("bs.tooltip"),options="object"==typeof option&&option;!data&&"destroy"==option||(data||$this.data("bs.tooltip",data=new Tooltip(this,options)),"string"==typeof option&&data[option]())})},$.fn.tooltip.Constructor=Tooltip,$.fn.tooltip.noConflict=function(){return $.fn.tooltip=old,this}}(jQuery);