/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.timelines_bundle_jsonpfunction=window.timelines_bundle_jsonpfunction||[]).push([[6],{60:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(4),a=n(54),i=n(0),l=n.n(i);const r=a.i18n.translate("xpack.timelines.hoverActions.tooltipWithKeyboardShortcut.pressTooltipLabel",{defaultMessage:"Press"}),s=({additionalScreenReaderOnlyContext:e="",content:t,shortcut:n,showShortcut:a})=>l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{"data-test-subj":"content"},t),""!==e&&l.a.createElement(o.EuiScreenReaderOnly,{"data-test-subj":"additionalScreenReaderOnlyContext"},l.a.createElement("p",null,e)),a&&l.a.createElement(o.EuiText,{color:"subdued","data-test-subj":"shortcut",size:"s",textAlign:"center"},l.a.createElement("span",null,r)," ",l.a.createElement(o.EuiBadge,{color:"hollow"},n))),u=l.a.memo(s);u.displayName="TooltipWithKeyboardShortcut"},61:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));const o=({field:e,value:t})=>null==t?e:Array.isArray(t)?`${e} ${t.join(" ")}`:`${e} ${t}`,a=(e,t,n=!1)=>{const o=null!=t?Array.isArray(t)?t[0]:t:null;return null!=o?{meta:{alias:null,negate:n,disabled:!1,type:"phrase",key:e,value:o,params:{query:o}},query:{match:{[e]:{query:o,type:"phrase"}}}}:{exists:{field:e},meta:{alias:null,disabled:!1,key:e,negate:void 0===t,type:"exists",value:"exists"}}}},70:function(e,t,n){"use strict";n.r(t),n.d(t,"MORE_ACTIONS",(function(){return m})),n.d(t,"FILTER_OUT_VALUE_KEYBOARD_SHORTCUT",(function(){return p})),n.d(t,"default",(function(){return f}));var o=n(0),a=n.n(o),i=n(54),l=n(4),r=n(56),s=n.n(r),u=n(1),c=n(60),d=n(61);const m=i.i18n.translate("xpack.timelines.hoverActions.moreActions",{defaultMessage:"More actions"}),p="m",b=s()(l.EuiContextMenuPanel).withConfig({displayName:"StyledEuiContextMenuPanel",componentId:"sc-29u5qj-0"})(["visibility:inherit;"]),f=a.a.memo((({closePopOver:e,Component:t,defaultFocusedButtonRef:n,field:i,items:r,isOverflowPopoverOpen:s,keyboardEvent:f,ownFocus:y,onClick:E,showTooltip:h=!1,value:v})=>{Object(o.useEffect)((()=>{y&&(null==f?void 0:f.key)===p&&(Object(u.t)(f),null!=E&&E())}),[f,E,y]);const O=Object(o.useMemo)((()=>a.a.createElement(l.EuiPopover,{button:t?a.a.createElement(t,{"aria-label":m,buttonRef:n,"data-test-subj":`more-actions-${i}`,icon:"boxesHorizontal",iconType:"boxesHorizontal",onClick:E,title:m},m):a.a.createElement(l.EuiButtonIcon,{"aria-label":m,buttonRef:n,className:"timelines__hoverActionButton","data-test-subj":`more-actions-${i}`,iconSize:"s",iconType:"boxesHorizontal",onClick:E}),isOpen:s,closePopover:e,panelPaddingSize:"none",panelClassName:"withHoverActions__popover",repositionOnScroll:!0,anchorPosition:"downLeft"},a.a.createElement(b,{items:r}))),[t,n,i,E,s,e,r]);return h?a.a.createElement(l.EuiToolTip,{content:a.a.createElement(c.a,{additionalScreenReaderOnlyContext:Object(d.b)({field:i,value:v}),content:m,shortcut:p,showShortcut:y})},O):O}));f.displayName="OverflowButton"}}]);