@europeana/portal
Version:
Europeana Portal
2 lines • 20.5 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1019:function(t,e,r){"use strict";r.d(e,"a",(function(){return D}));var o=r(6),n=r(8),c=r(2),l=r(9),h=r(1),d=r(7),v=r(0),m=r(182),O=r(238),f=r(92),T=r(3),j=r(26),y=r(118),$={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},w={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},_={arrowPadding:Object(v.c)(h.l,6),boundary:Object(v.c)([f.c,h.q],"scrollParent"),boundaryPadding:Object(v.c)(h.l,5),fallbackPlacement:Object(v.c)(h.f,"flip"),offset:Object(v.c)(h.l,0),placement:Object(v.c)(h.q,"top"),target:Object(v.c)([f.c,f.d])},E=n.default.extend({name:c.pb,props:_,data(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:()=>"unknown",popperConfig(){var{placement:t}=this;return{placement:this.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:data=>{data.originalPlacement!==data.placement&&this.popperPlacementChange(data)},onUpdate:data=>{this.popperPlacementChange(data)}}}},created(){this.$_popper=null,this.localShow=!0,this.$on(l.N,(t=>{this.popperCreate(t)}));var t=()=>{this.$nextTick((()=>{Object(T.B)((()=>{this.$destroy()}))}))};this.$parent.$once(l.W,t),this.$once(l.u,t)},beforeMount(){this.attachment=this.getAttachment(this.placement)},updated(){this.updatePopper()},beforeDestroy(){this.destroyPopper()},destroyed(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide(){this.localShow=!1},getAttachment:t=>$[String(t).toUpperCase()]||"auto",getOffset(t){if(!this.offset){var e=this.$refs.arrow||Object(T.C)(".arrow",this.$el),r=Object(j.a)(Object(T.k)(e).width,0)+Object(j.a)(this.arrowPadding,0);switch(w[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(r,"px");case-1:return"-50%p + ".concat(r,"px");default:return 0}}return this.offset},popperCreate(t){this.destroyPopper(),this.$_popper=new O.a(this.target,t,this.popperConfig)},destroyPopper(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange(data){this.attachment=this.getAttachment(data.placement)},renderTemplate:t=>t("div")},render(t){var{noFade:e}=this;return t(y.a,{props:{appear:!0,noFade:e},on:{beforeEnter:t=>this.$emit(l.N,t),afterEnter:t=>this.$emit(l.O,t),beforeLeave:t=>this.$emit(l.v,t),afterLeave:t=>this.$emit(l.u,t)}},[this.localShow?this.renderTemplate(t):t()])}});function P(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function S(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?P(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):P(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var I={html:Object(v.c)(h.g,!1),id:Object(v.c)(h.q)},D=n.default.extend({name:c.Gb,extends:E,mixins:[m.a],props:I,data:()=>({title:"",content:"",variant:null,customClass:null,interactive:!0}),computed:{templateType:()=>"tooltip",templateClasses(){var{variant:t,attachment:e,templateType:r}=this;return[{noninteractive:!this.interactive,["b-".concat(r,"-").concat(t)]:t,["bs-".concat(r,"-").concat(e)]:e},this.customClass]},templateAttributes(){var{id:t}=this;return S(S({},this.$parent.$parent.$attrs),{},{id:t,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners(){return{mouseenter:t=>{this.$emit(l.y,t)},mouseleave:t=>{this.$emit(l.z,t)},focusin:t=>{this.$emit(l.r,t)},focusout:t=>{this.$emit(l.s,t)}}}},methods:{renderTemplate(t){var{title:title}=this,e=Object(d.e)(title)?title({}):title,r=this.html&&!Object(d.e)(title)?{innerHTML:title}:{};return t("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[t("div",{staticClass:"arrow",ref:"arrow"}),t("div",{staticClass:"tooltip-inner",domProps:r},[e])])}}})},1020:function(t,e,r){"use strict";r.d(e,"a",(function(){return B}));var o=r(6),n=(r(14),r(38),r(107),r(2)),c=r(17),l=r(9),h=r(19),d=r(60),v=r(263),m=r(33),O=r(7),f=r(50),T=r(26),j=r(4),y=r(918);function $(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function w(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?$(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):$(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _="__BV_Tooltip__",E={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},P=/^html$/i,S=/^noninteractive$/i,I=/^nofade$/i,D=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,L=/^(window|viewport|scrollParent)$/i,k=/^d\d+$/i,C=/^ds\d+$/i,H=/^dh\d+$/i,x=/^o-?\d+$/i,A=/^v-.+$/i,F=/\s+/,M=(t,e,r)=>{if(c.g){var o=((t,e)=>{var r={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:Object(d.c)(n.Eb,"delay",50),boundary:String(Object(d.c)(n.Eb,"boundary","scrollParent")),boundaryPadding:Object(T.b)(Object(d.c)(n.Eb,"boundaryPadding",5),0),variant:Object(d.c)(n.Eb,"variant"),customClass:Object(d.c)(n.Eb,"customClass")};if(Object(O.m)(t.value)||Object(O.g)(t.value)||Object(O.e)(t.value)?r.title=t.value:Object(O.j)(t.value)&&(r=w(w({},r),t.value)),Object(O.n)(r.title)){var data=e.data||{};r.title=data.attrs&&!Object(O.o)(data.attrs.title)?data.attrs.title:void 0}Object(O.j)(r.delay)||(r.delay={show:Object(T.b)(r.delay,0),hide:Object(T.b)(r.delay,0)}),t.arg&&(r.container="#".concat(t.arg)),Object(j.h)(t.modifiers).forEach((t=>{if(P.test(t))r.html=!0;else if(S.test(t))r.interactive=!1;else if(I.test(t))r.animation=!1;else if(D.test(t))r.placement=t;else if(L.test(t))t="scrollparent"===t?"scrollParent":t,r.boundary=t;else if(k.test(t)){var e=Object(T.b)(t.slice(1),0);r.delay.show=e,r.delay.hide=e}else C.test(t)?r.delay.show=Object(T.b)(t.slice(2),0):H.test(t)?r.delay.hide=Object(T.b)(t.slice(2),0):x.test(t)?r.offset=Object(T.b)(t.slice(1),0):A.test(t)&&(r.variant=t.slice(2)||null)}));var o={};return Object(h.b)(r.trigger||"").filter(m.a).join(" ").trim().toLowerCase().split(F).forEach((t=>{E[t]&&(o[t]=!0)})),Object(j.h)(t.modifiers).forEach((t=>{t=t.toLowerCase(),E[t]&&(o[t]=!0)})),r.trigger=Object(j.h)(o).join(" "),"blur"===r.trigger&&(r.trigger="focus"),r.trigger||(r.trigger="hover focus"),r})(e,r);if(!t[_]){var $=r.context;t[_]=new y.a({parent:$,_scopeId:Object(v.a)($,void 0)}),t[_].__bv_prev_data__={},t[_].$on(l.N,(()=>{Object(O.e)(o.title)&&t[_].updateData({title:o.title(t)})}))}var data={title:o.title,triggers:o.trigger,placement:o.placement,fallbackPlacement:o.fallbackPlacement,variant:o.variant,customClass:o.customClass,container:o.container,boundary:o.boundary,delay:o.delay,offset:o.offset,noFade:!o.animation,id:o.id,interactive:o.interactive,disabled:o.disabled,html:o.html},M=t[_].__bv_prev_data__;if(t[_].__bv_prev_data__=data,!Object(f.a)(data,M)){var B={target:t};Object(j.h)(data).forEach((e=>{data[e]!==M[e]&&(B[e]="title"===e&&Object(O.e)(data[e])?data[e](t):data[e])})),t[_].updateData(B)}}},B={bind(t,e,r){M(t,e,r)},componentUpdated(t,e,r){r.context.$nextTick((()=>{M(t,e,r)}))},unbind(t){(t=>{t[_]&&(t[_].$destroy(),t[_]=null),delete t[_]})(t)}}},748:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var o=()=>{}},918:function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var o=r(6),n=(r(253),r(14),r(38),r(107),r(28),r(8)),c=r(11),l=r(2),h=r(9),d=r(19),v=r(3),m=r(10),O=r(263),f=r(33),T=r(7),j=r(50),y=r(59),$=r(748),w=r(26),_=r(4),E=r(47),P=r(127),S=r(56),I=r(1019);function D(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function L(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?D(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):D(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var k=".modal-content",C=Object(m.e)(l.eb,h.u),H=[k,".b-sidebar"].join(", "),x="data-original-title",A={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},F=n.default.extend({name:l.Fb,mixins:[S.a],data:()=>L(L({},A),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1}),computed:{templateType:()=>"tooltip",computedId(){return this.id||"__bv_".concat(this.templateType,"_").concat(this[c.a],"__")},computedDelay(){var t={show:0,hide:0};return Object(T.j)(this.delay)?(t.show=Object(y.b)(Object(w.b)(this.delay.show,0),0),t.hide=Object(y.b)(Object(w.b)(this.delay.hide,0),0)):(Object(T.g)(this.delay)||Object(T.m)(this.delay))&&(t.show=t.hide=Object(y.b)(Object(w.b)(this.delay,0),0)),t},computedTriggers(){return Object(d.b)(this.triggers).filter(f.a).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger(){for(var t in this.activeTrigger)if(this.activeTrigger[t])return!0;return!1},computedTemplateData(){var{title:title,content:content,variant:t,customClass:e,noFade:r,interactive:o}=this;return{title:title,content:content,variant:t,customClass:e,noFade:r,interactive:o}}},watch:{computedTriggers(t,e){Object(j.a)(t,e)||this.$nextTick((()=>{this.unListen(),e.forEach((e=>{Object(d.a)(t,e)||this.activeTrigger[e]&&(this.activeTrigger[e]=!1)})),this.listen()}))},computedTemplateData(){this.handleTemplateUpdate()},title(t,e){t===e||t||this.hide()},disabled(t){t?this.disable():this.enable()}},created(){this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=$.a.bind(this),this.$parent&&this.$parent.$once(h.V,(()=>{this.$nextTick((()=>{Object(v.B)((()=>{this.$destroy()}))}))})),this.$nextTick((()=>{var t=this.getTarget();t&&Object(v.f)(document.body,t)?(this.scopeId=Object(O.a)(this.$parent),this.listen()):Object(E.a)(Object(T.m)(this.target)?'Unable to find target element by ID "#'.concat(this.target,'" in document.'):"The provided target is no valid HTML element.",this.templateType)}))},updated(){this.$nextTick(this.handleTemplateUpdate)},deactivated(){this.forceHide()},beforeDestroy(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:()=>I.a,updateData(){var data=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;Object(_.h)(A).forEach((e=>{Object(T.n)(data[e])||this[e]===data[e]||(this[e]=data[e],"title"===e&&(t=!0))})),t&&this.localShow&&this.fixTitle()},createTemplateAndShow(){var t=this.getContainer(),e=this.getTemplate(),r=this.$_tip=new e({parent:this,propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:Object(w.b)(this.offset,0),arrowPadding:Object(w.b)(this.arrowPadding,0),boundaryPadding:Object(w.b)(this.boundaryPadding,0)}});this.handleTemplateUpdate(),r.$once(h.N,this.onTemplateShow),r.$once(h.O,this.onTemplateShown),r.$once(h.v,this.onTemplateHide),r.$once(h.u,this.onTemplateHidden),r.$once(h.W,this.destroyTemplate),r.$on(h.r,this.handleEvent),r.$on(h.s,this.handleEvent),r.$on(h.y,this.handleEvent),r.$on(h.z,this.handleEvent),r.$mount(t.appendChild(document.createElement("div")))},hideTemplate(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate(){var t=this.$_tip;if(t){["title","content","variant","customClass","noFade","interactive"].forEach((e=>{t[e]!==this[e]&&(t[e]=this[e])}))}},show(){var t=this.getTarget();if(t&&Object(v.f)(document.body,t)&&Object(v.u)(t)&&!this.dropdownOpen()&&(!Object(T.o)(this.title)&&""!==this.title||!Object(T.o)(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent(h.N,{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.getTemplateElement()&&this.localShow){var e=this.buildEvent(h.v,{cancelable:!t});this.emitEvent(e),e.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable(){this.$_enabled=!0,this.emitEvent(this.buildEvent(h.o))},disable(){this.$_enabled=!1,this.emitEvent(this.buildEvent(h.k))},onTemplateShow(){this.setWhileOpenListeners(!0)},onTemplateShown(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent(h.O))},onTemplateHide(){this.setWhileOpenListeners(!1)},onTemplateHidden(){this.destroyTemplate(),this.emitEvent(this.buildEvent(h.u))},getTarget(){var{target:t}=this;return Object(T.m)(t)?t=Object(v.j)(t.replace(/^#/,"")):Object(T.e)(t)?t=t():t&&(t=t.$el||t),Object(v.s)(t)?t:null},getPlacementTarget(){return this.getTarget()},getTargetId(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer(){var t=!!this.container&&(this.container.$el||this.container),body=document.body,e=this.getTarget();return!1===t?Object(v.e)(H,e)||body:Object(T.m)(t)&&Object(v.j)(t.replace(/^#/,""))||body},getBoundary(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal(){var t=this.getTarget();return t&&Object(v.e)(k,t)},isDropdown(){var t=this.getTarget();return t&&Object(v.p)(t,"dropdown")},dropdownOpen(){var t=this.getTarget();return this.isDropdown()&&t&&Object(v.C)(".dropdown-menu.show",t)},clearHoverTimeout(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby(){var t=this.getTarget(),desc=Object(v.h)(t,"aria-describedby")||"";desc=desc.split(/\s+/).concat(this.computedId).join(" ").trim(),Object(v.E)(t,"aria-describedby",desc)},removeAriaDescribedby(){var t=this.getTarget(),desc=Object(v.h)(t,"aria-describedby")||"";(desc=desc.split(/\s+/).filter((t=>t!==this.computedId)).join(" ").trim())?Object(v.E)(t,"aria-describedby",desc):Object(v.x)(t,"aria-describedby")},fixTitle(){var t=this.getTarget();if(Object(v.o)(t,"title")){var title=Object(v.h)(t,"title");Object(v.E)(t,"title",""),title&&Object(v.E)(t,x,title)}},restoreTitle(){var t=this.getTarget();if(Object(v.o)(t,x)){var title=Object(v.h)(t,x);Object(v.x)(t,x),title&&Object(v.E)(t,"title",title)}},buildEvent(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new P.a(t,L({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent(t){var{type:e}=t;this.emitOnRoot(Object(m.e)(this.templateType,e),t),this.$emit(e,t)},listen(){var t=this.getTarget();t&&(this.setRootListener(!0),this.computedTriggers.forEach((e=>{"click"===e?Object(m.b)(t,"click",this.handleEvent,h.T):"focus"===e?(Object(m.b)(t,"focusin",this.handleEvent,h.T),Object(m.b)(t,"focusout",this.handleEvent,h.T)):"blur"===e?Object(m.b)(t,"focusout",this.handleEvent,h.T):"hover"===e&&(Object(m.b)(t,"mouseenter",this.handleEvent,h.T),Object(m.b)(t,"mouseleave",this.handleEvent,h.T))}),this))},unListen(){var t=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((e=>{t&&Object(m.a)(t,e,this.handleEvent,h.T)}),this)},setRootListener(t){var e=this.$root;if(e){var r=t?"$on":"$off",o=this.templateType;e[r](Object(m.d)(o,h.v),this.doHide),e[r](Object(m.d)(o,h.N),this.doShow),e[r](Object(m.d)(o,h.j),this.doDisable),e[r](Object(m.d)(o,h.n),this.doEnable)}},setWhileOpenListeners(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck(t){this.clearVisibilityInterval();var e=this.getTarget(),r=this.getTemplateElement();t&&(this.$_visibleInterval=setInterval((()=>{!r||!this.localShow||e.parentNode&&Object(v.u)(e)||this.forceHide()}),100))},setModalListener(t){this.isInModal()&&this.$root[t?"$on":"$off"](C,this.forceHide)},setOnTouchStartListener(t){"ontouchstart"in document.documentElement&&Object(d.d)(document.body.children).forEach((e=>{Object(m.c)(t,e,"mouseover",this.$_noop)}))},setDropdownListener(t){var e=this.getTarget();e&&this.$root&&this.isDropdown&&e.__vue__&&e.__vue__[t?"$on":"$off"](h.O,this.forceHide)},handleEvent(t){var e=this.getTarget();if(e&&!Object(v.r)(e)&&this.$_enabled&&!this.dropdownOpen()){var r=t.type,o=this.computedTriggers;if("click"===r&&Object(d.a)(o,"click"))this.click(t);else if("mouseenter"===r&&Object(d.a)(o,"hover"))this.enter(t);else if("focusin"===r&&Object(d.a)(o,"focus"))this.enter(t);else if("focusout"===r&&(Object(d.a)(o,"focus")||Object(d.a)(o,"blur"))||"mouseleave"===r&&Object(d.a)(o,"hover")){var n=this.getTemplateElement(),c=t.target,l=t.relatedTarget;if(n&&Object(v.f)(n,c)&&Object(v.f)(e,l)||n&&Object(v.f)(e,c)&&Object(v.f)(n,l)||n&&Object(v.f)(n,c)&&Object(v.f)(n,l)||Object(v.f)(e,c)&&Object(v.f)(e,l))return;this.leave(t)}}},doHide(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click(t){this.$_enabled&&!this.dropdownOpen()&&(Object(v.d)(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.activeTrigger["focusin"===t.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((()=>{"in"===this.$_hoverState?this.show():this.localShow||this.restoreTitle()}),this.computedDelay.show)):this.show())},leave(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&Object(d.a)(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((()=>{"out"===this.$_hoverState&&this.hide()}),this.computedDelay.hide):this.hide())}}})}}]);
//# sourceMappingURL=991685a.modern.js.map