(window.eventAnnotation_bundle_jsonpfunction=window.eventAnnotation_bundle_jsonpfunction||[]).push([[2],{100:function(e,t,n){var a=n(34),i=n(101);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},101:function(e,t,n){(t=n(35)(!1)).push([e.i,".filterQueryInput__popoverButton{font-size:14px;font-size:1rem;line-height:1.71429rem;min-height:32px;overflow-wrap:break-word!important;width:100%;word-break:break-word}.filterQueryInput__popover{width:960px}",""]),e.exports=t},102:function(e,t,n){var a=n(34),i=n(103);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},103:function(e,t,n){(t=n(35)(!1)).push([e.i,".filterQueryInput__popoverButton{font-size:14px;font-size:1rem;line-height:1.71429rem;min-height:32px;overflow-wrap:break-word!important;width:100%;word-break:break-word}.filterQueryInput__popover{width:960px}",""]),e.exports=t},104:function(e,t,n){switch(window.__kbnThemeTag__){case"v8dark":return n(105);case"v8light":return n(107)}},105:function(e,t,n){var a=n(34),i=n(106);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},106:function(e,t,n){(t=n(35)(!1)).push([e.i,".lnFieldPicker__option--incompatible{color:#343741}.lnFieldPicker__option--nonExistant{background-color:#25262e}",""]),e.exports=t},107:function(e,t,n){var a=n(34),i=n(108);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},108:function(e,t,n){(t=n(35)(!1)).push([e.i,".lnFieldPicker__option--incompatible{color:#d3dae6}.lnFieldPicker__option--nonExistant{background-color:#f5f7fa}",""]),e.exports=t},109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(19);t.default=function(e){a.useEffect(e,[])}},123:function(e,t,n){"use strict";n.r(t),n.d(t,"idPrefix",(function(){return Me})),n(89);var a=n(26);const i=e=>!(Object(a.isNestedField)(e)||!e.aggregatable&&!e.scripted);var l=n(19),o=n.n(l),s=n(0),r=n(20),u=(n(94),n(18));const d=({children:e,title:t})=>Object(u.jsx)("div",{className:"lnsDimensionEditorSection"},Object(u.jsx)("div",{className:"lnsDimensionEditorSection__border"}),t&&Object(u.jsx)(r.EuiTitle,{size:"xxs",className:"lnsDimensionEditorSection__heading"},Object(u.jsx)("h3",null,t)),e);var c=n(33),p=n.n(c),b=n(4);const m=({onChange:e,value:t,defaultValue:n},{allowFalsyValue:a}={})=>{const[i,o]=Object(l.useState)(t),s=Object(l.useRef)(!1),r=Boolean(a),u=Object(l.useRef)(null!=n?n:t),d=Object(l.useRef)(),c=Object(l.useMemo)((()=>{const t=Object(b.debounce)((t=>{e(t),d.current=setTimeout((()=>{s.current=!1}),256)}),256);return e=>{d.current&&clearTimeout(d.current),s.current=!0,t(e)}}),[e]);return Object(l.useEffect)((()=>{s.current||t===i||o(t)}),[t,i]),{inputValue:i,handleInputChange:e=>{o(e);const t=r?null!=e?e:u.current:e||u.current;c(t)},initialValue:u.current}},g=({onChange:e,value:t,defaultValue:n,allowFalsyValue:a,...i})=>{const{inputValue:l,handleInputChange:o,initialValue:s}=m({onChange:e,value:t,defaultValue:n},{allowFalsyValue:a});return Object(u.jsx)(r.EuiFieldText,p()({},i,{value:l,onChange:e=>{o(e.target.value)},placeholder:s}))},j=e=>Object(u.jsx)(g,p()({},e,{key:e.defaultValue})),f=({value:e,onChange:t,defaultValue:n})=>Object(u.jsx)(r.EuiFormRow,{label:s.i18n.translate("visualizationUiComponents.nameInput.columnLabel",{defaultMessage:"Name",description:"Name of a column of data"}),display:"columnCompressed",fullWidth:!0},Object(u.jsx)(j,{fullWidth:!0,compressed:!0,"data-test-subj":"name-input",value:e,onChange:t,defaultValue:n})),x=e=>{var t;return e.value?Object(u.jsx)(r.EuiFlexGroup,{gutterSize:"s",alignItems:"center"},Object(u.jsx)(r.EuiFlexItem,{grow:!1},Object(u.jsx)(r.EuiIcon,{type:null!==(t=e.icon)&&void 0!==t?t:e.value})),Object(u.jsx)(r.EuiFlexItem,null,e.label)):null};function h({value:e,onChange:t,customIconSet:n,defaultIcon:a="empty"}){var i;const l=n.find((t=>e===t.value))||n.find((e=>e.value===a));return Object(u.jsx)(r.EuiComboBox,{fullWidth:!0,"data-test-subj":"lns-icon-select",isClearable:!1,options:n,selectedOptions:[{label:l.label,value:l.value}],onChange:e=>{t(e[0].value)},singleSelection:{asPlainText:!0},renderOption:x,compressed:!0,prepend:(o=l.value,null!=o&&"empty"!==o?Object(u.jsx)(r.EuiIcon,{type:null!==(i=l.icon)&&void 0!==i?i:l.value}):void 0)});var o}function y({currentIcon:e,setIcon:t,customIconSet:n,defaultIcon:a="empty"}){return Object(u.jsx)(r.EuiFormRow,{display:"columnCompressed",fullWidth:!0,label:s.i18n.translate("visualizationUiComponents.iconSelect.label",{defaultMessage:"Icon decoration"})},Object(u.jsx)(h,{defaultIcon:a,customIconSet:n,value:e,onChange:t}))}function C({idPrefix:e,currentConfig:t,setConfig:n,isQueryBased:a,children:i}){const[o,d]=Object(l.useState)(function({textField:e,textVisibility:t}={},n){return t?n&&e?"field":"name":"none"}(t,a)),c=[{id:`${e}none`,label:s.i18n.translate("visualizationUiComponents.xyChart.lineMarker.textVisibility.none",{defaultMessage:"None"}),"data-test-subj":"lnsXY_textVisibility_none"},{id:`${e}name`,label:s.i18n.translate("visualizationUiComponents.xyChart.lineMarker.textVisibility.name",{defaultMessage:"Name"}),"data-test-subj":"lnsXY_textVisibility_name"}];return a&&c.push({id:`${e}field`,label:s.i18n.translate("visualizationUiComponents.xyChart.lineMarker.textVisibility.field",{defaultMessage:"Field"}),"data-test-subj":"lnsXY_textVisibility_field"}),Object(u.jsx)(r.EuiFormRow,{label:s.i18n.translate("visualizationUiComponents.lineMarker.textVisibility",{defaultMessage:"Text decoration"}),display:"columnCompressed",fullWidth:!0},Object(u.jsx)("div",null,Object(u.jsx)(r.EuiButtonGroup,{legend:s.i18n.translate("visualizationUiComponents.lineMarker.textVisibility",{defaultMessage:"Text decoration"}),"data-test-subj":"lns-lineMarker-text-visibility",name:"textVisibilityStyle",buttonSize:"compressed",options:c,idSelected:o?`${e}${o}`:`${e}none`,onChange:a=>{const i=a.replace(e,"");"none"===i?n({textVisibility:!1,textField:void 0}):"name"===i?n({textVisibility:!0,textField:void 0}):"field"===i&&n({textVisibility:Boolean(null==t?void 0:t.textField)}),d(i)},isFullWidth:!0}),null==i?void 0:i(o)))}n(104);var v=n(109),O=n.n(v);const _=()=>Object(u.jsx)(l.Fragment,null),E=o.a.lazy((()=>n.e(3).then(n.bind(null,124)))),S=function(e){return Object(u.jsx)(o.a.Suspense,{fallback:Object(u.jsx)(_,null)},Object(u.jsx)(E,e))};var F=n(21),I=n.n(F);const k=()=>document.createElement("canvas").getContext("2d"),w=k(),T=(e,t)=>{const n=null!=w?w:k();return n.font=t,n.measureText(e).width},M=o.a.memo((function({label:e,width:t,search:n,font:a}){const i=Object(l.useMemo)((()=>T(e,a)),[e,a]);if(i`${e.substr(0,t)}${d}`:s>e.length-o?c=(e,t)=>`${d}${e.substr(e.length-t)}`:(c=(e,t)=>`${d}${e.substr(o,t)}${d}`,p=2*d.length):c=(e,t)=>`${e.substr(0,8)}${d}${e.substr(e.length-(t-8))}`;const b=((e,t,n,a,i)=>{let l=i(n,a);for(;T(l,t)>e;)l=i(n,a-=1);return l})(t,a,e,s,c);return n.lengthn.options?{...n,options:n.options.map((({exists:e,...t})=>({...t,className:I()({"lnFieldPicker__option--incompatible":!t.compatible,"lnFieldPicker__option--nonExistant":!e})})))}:{...n,compatible:e,className:I()({"lnFieldPicker__option--incompatible":!e,"lnFieldPicker__option--nonExistant":!t})})),m=Object(l.useRef)(null),[g,j]=o.a.useState({width:R-A,font:D}),f=(e,t=!1)=>{if(m.current){var n;const e={...g,width:(null===(n=m.current)||void 0===n?void 0:n.clientWidth)-A};t&&(e.font=window.getComputedStyle(m.current).font),j(e)}};return O()((()=>{m.current&&f(0,!0),window.addEventListener("resize",f)})),Object(u.jsx)("div",{ref:m},Object(u.jsx)(r.EuiComboBox,p()({fullWidth:!0,compressed:!0,isClearable:!1,"data-test-subj":null!=d?d:"indexPattern-dimension-field",placeholder:s.i18n.translate("visualizationUiComponents.fieldPicker.fieldPlaceholder",{defaultMessage:"Select a field"}),options:b,isInvalid:i,selectedOptions:e,singleSelection:{asPlainText:!0},onChange:e=>{0!==e.length?n(e[0].value):null==a||a()},renderOption:(e,t)=>Object(u.jsx)(r.EuiFlexGroup,{gutterSize:"s",alignItems:"center",responsive:!1},Object(u.jsx)(r.EuiFlexItem,{grow:null},Object(u.jsx)(S,{type:e.value.dataType,fill:"none"})),Object(u.jsx)(r.EuiFlexItem,null,Object(u.jsx)(M,p()({},g,{label:e.label,search:t}))))},c)))}const P=({currentConfig:e,setConfig:t,idPrefix:n})=>Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(r.EuiFormRow,{display:"columnCompressed",fullWidth:!0,label:s.i18n.translate("visualizationUiComponents.xyChart.lineStyle.label",{defaultMessage:"Line"})},Object(u.jsx)(r.EuiFlexGroup,{gutterSize:"s",justifyContent:"spaceBetween",responsive:!1},Object(u.jsx)(r.EuiFlexItem,null,Object(u.jsx)(V,{value:(null==e?void 0:e.lineWidth)||1,onChange:e=>{t({lineWidth:e})}})),Object(u.jsx)(r.EuiFlexItem,{grow:!1},Object(u.jsx)(r.EuiButtonGroup,{legend:s.i18n.translate("visualizationUiComponents.xyChart.lineStyle.label",{defaultMessage:"Line"}),"data-test-subj":"lnsXY_line_style",name:"lineStyle",buttonSize:"compressed",options:[{id:`${n}solid`,label:s.i18n.translate("visualizationUiComponents.xyChart.lineStyle.solid",{defaultMessage:"Solid"}),"data-test-subj":"lnsXY_line_style_solid",iconType:"lineSolid"},{id:`${n}dashed`,label:s.i18n.translate("visualizationUiComponents.xyChart.lineStyle.dashed",{defaultMessage:"Dashed"}),"data-test-subj":"lnsXY_line_style_dashed",iconType:"lineDashed"},{id:`${n}dotted`,label:s.i18n.translate("visualizationUiComponents.xyChart.lineStyle.dotted",{defaultMessage:"Dotted"}),"data-test-subj":"lnsXY_line_style_dotted",iconType:"lineDotted"}],idSelected:`${n}${(null==e?void 0:e.lineStyle)||"solid"}`,onChange:e=>{const a=e.replace(n,"");t({lineStyle:a})},isIconOnly:!0}))))),z=1,B=10;function U(e,t,n,a){return""===e?t:Math.max(z,Math.min(e,B))}const V=({value:e,onChange:t})=>{const[n,a]=Object(l.useState)(String(e));return Object(u.jsx)(r.EuiFieldNumber,{"data-test-subj":"lnsXYThickness",value:n,fullWidth:!0,min:z,max:B,step:1,append:"px",compressed:!0,onChange:({currentTarget:{value:e}})=>{a(e);const n=""===e?"":Number(e),i=U(Number(e),Number(e));n===i&&t(i)},onBlur:()=>{if(n!==String(e)){const i=U(""===n?n:Number(n),e);t(i),a(String(i))}}})};var q=n(44),L=n.n(q);const W=e=>{var t,n;return e&&null!=(n=e)&&""!==n&&/^#/.test(n)&&L.a.valid(n)&&(null===(t=L()(e))||void 0===t?void 0:t.alpha())||1},$=({children:e,condition:t,tooltipContent:n,...a})=>Object(u.jsx)(o.a.Fragment,null,t?Object(u.jsx)(r.EuiToolTip,p()({content:n,delay:"long"},a),Object(u.jsx)(o.a.Fragment,null,e)):e),H={auto:s.i18n.translate("visualizationUiComponents.colorPicker.tooltip.auto",{defaultMessage:"Lens automatically picks colors for you unless you specify a custom color."}),custom:s.i18n.translate("visualizationUiComponents.colorPicker.tooltip.custom",{defaultMessage:"Clear the custom color to return to “Auto” mode."})},Y=({overwriteColor:e,defaultColor:t,setConfig:n,label:a,disableHelpTooltip:i,disabledMessage:d,showAlpha:c})=>{const[p,b]=Object(l.useState)(e||t),[m,g]=Object(l.useState)(e||t),[j,f]=Object(l.useState)(W(p)),x=Object(l.useRef)(!1),h=Boolean(d);Object(l.useEffect)((()=>{x.current||e&&m&&e.toUpperCase()!==m.toUpperCase()&&(b(e),g(e.toUpperCase()),f(W(e))),x.current=!1}),[m,e,t]);const y=null!=a?a:s.i18n.translate("visualizationUiComponents.colorPicker.seriesColor.label",{defaultMessage:"Series color"}),C=Object(u.jsx)(r.EuiColorPicker,{fullWidth:!0,"data-test-subj":"indexPattern-dimension-colorPicker",compressed:!0,isClearable:Boolean(e),onChange:(e,t)=>{b(e),x.current=!0,t.isValid&&(g(t.hex.toUpperCase()),f(W(t.hex)),n({color:t.hex})),""===e&&n({color:void 0})},color:h?"":p,disabled:h,placeholder:(null==t?void 0:t.toUpperCase())||s.i18n.translate("visualizationUiComponents.colorPicker.seriesColor.auto",{defaultMessage:"Auto"}),"aria-label":y,showAlpha:c,swatches:1===j?Object(r.euiPaletteColorBlind)():Object(r.euiPaletteColorBlind)().map((e=>{return(t=e,n=j,L()(t).alpha(n)).hex();var t,n}))});return Object(u.jsx)(r.EuiFormRow,{display:"columnCompressed",fullWidth:!0,label:Object(u.jsx)($,{delay:"long",position:"top",tooltipContent:p&&!h?H.custom:H.auto,condition:!i},Object(u.jsx)("span",null,y,!i&&Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(r.EuiIcon,{type:"questionInCircle",color:"subdued",size:"s",className:"eui-alignTop"}))))},h?Object(u.jsx)(r.EuiToolTip,{position:"top",content:d,delay:"long",anchorClassName:"eui-displayBlock"},C):C)};var G=n(10);let X,Q;n(43),function(e){e.failed="failed",e.succeeded="succeeded",e.unknown="unknown"}(X||(X={})),function(e){e.SpecialFields="SpecialFields",e.SelectedFields="SelectedFields",e.PopularFields="PopularFields",e.AvailableFields="AvailableFields",e.EmptyFields="EmptyFields",e.MetaFields="MetaFields",e.UnmappedFields="UnmappedFields"}(Q||(Q={})),Object(r.htmlIdGenerator)();const K={fetchStatus:X.unknown,existingFieldsByFieldNameMap:{},numberOfFetches:0},Z=new G.BehaviorSubject({}),J=()=>{const e=Object(l.useRef)(!0),[t,n]=Object(l.useState)(Z.getValue());Object(l.useEffect)((()=>{const t=Z.subscribe((t=>{e.current&&Object.keys(t).length>0&&n((e=>({...e,...t})))}));return()=>{t.unsubscribe()}}),[n,e]);const a=Object(l.useCallback)(((e,n)=>{const a=t[e];return(null==a?void 0:a.fetchStatus)!==X.succeeded||(null==a?void 0:a.hasDataViewRestrictions)||Boolean(null==a?void 0:a.existingFieldsByFieldNameMap[n])}),[t]),i=Object(l.useCallback)((e=>e?t[e]:K),[t]),o=Object(l.useCallback)((e=>{var t;return(null===(t=i(e))||void 0===t?void 0:t.fetchStatus)||X.unknown}),[i]),s=Object(l.useCallback)((e=>{const t=i(e);return Boolean((null==t?void 0:t.fetchStatus)===X.failed||(null==t?void 0:t.hasDataViewRestrictions))}),[i]);return Object(l.useEffect)((()=>()=>{e.current=!1}),[e]),Object(l.useMemo)((()=>({hasFieldData:a,getFieldsExistenceStatus:o,isFieldsExistenceInfoUnavailable:s})),[a,o,s])};var ee=n(2),te=n.n(ee),ne=n(1);const ae=n(23).euiLightVars.euiColorAccent,ie="#F04E981A",le=s.i18n.translate("eventAnnotationComponents.xyChart.defaultAnnotationLabel",{defaultMessage:"Event"}),oe=s.i18n.translate("eventAnnotationComponents.xyChart.defaultRangeAnnotationLabel",{defaultMessage:"Event range"}),se=(e=ae)=>L()(Object(r.transparentize)(e,.1)).hex().toUpperCase(),re=(e=ie)=>L()(Object(r.transparentize)(e,1)).hex().toUpperCase();var ue=n(38);const de=({label:e,onClick:t,isDisabled:n,className:a,"data-test-subj":i="lns-newBucket-add"})=>Object(u.jsx)(r.EuiButtonEmpty,{"data-test-subj":i,size:"xs",iconType:"plusInCircle",onClick:t,isDisabled:n,flush:"left",className:a},e),ce=({idx:e,isInvalid:t,invalidMessage:n,onRemoveClick:a,removeTitle:i,children:l,draggableProvided:o,isNotRemovable:d,isNotDraggable:c,"data-test-subj":b="lns-customBucketContainer"})=>{var m;const{euiTheme:g}=Object(r.useEuiTheme)();return Object(u.jsx)(r.EuiPanel,{paddingSize:"none",hasShadow:!1,hasBorder:!0,"data-test-subj":b,style:{padding:"0 "+g.size.xs}},Object(u.jsx)(r.EuiFlexGroup,{gutterSize:"s",alignItems:"center",responsive:!1},Object(u.jsx)(r.EuiFlexItem,p()({grow:!1},null!==(m=null==o?void 0:o.dragHandleProps)&&void 0!==m?m:{}),Object(u.jsx)($,{tooltipContent:s.i18n.translate("visualizationUiComponents.fieldsBucketContainer.dragHandleDisabled",{defaultMessage:"Reordering requires more than one item."}),condition:null==c||c},Object(u.jsx)(r.EuiIcon,{size:"s",color:g.colors[t?"danger":c?"disabled":"subduedText"],type:t?"warning":"grab","aria-label":t?n:s.i18n.translate("visualizationUiComponents.customBucketContainer.dragToReorder",{defaultMessage:"Drag to reorder"}),"data-test-subj":`${b}-dragToReorder-${e}`}))),Object(u.jsx)(r.EuiFlexItem,{grow:!0},l),Object(u.jsx)(r.EuiFlexItem,{grow:!1},Object(u.jsx)($,{tooltipContent:s.i18n.translate("visualizationUiComponents.fieldsBucketContainer.deleteButtonDisabled",{defaultMessage:"A minimum of one item is required."}),condition:null!=d&&d},Object(u.jsx)(r.EuiButtonIcon,{iconSize:"s",iconType:"trash",color:"danger",onClick:a,"aria-label":i,disabled:d,"data-test-subj":`${b}-remove-${e}`})))))},pe=({id:e,children:t,isInsidePanel:n,Container:a=ce,...i})=>{const{euiTheme:l}=Object(r.useEuiTheme)();return Object(u.jsx)(r.EuiDraggable,{draggableId:e,customDragHandle:!0,index:i.idx,isDragDisabled:i.isNotDraggable,style:n?{}:{marginBottom:l.size.xs},spacing:"none",hasInteractiveChildren:!0,disableInteractiveElementBlocking:!0},((e,n)=>{var l;return Object(u.jsx)(a,p()({draggableProvided:e,isDragging:null!==(l=null==n?void 0:n.isDragging)&&void 0!==l&&l},i),t)}))};function be({items:e,onDragStart:t,onDragEnd:n,droppableId:a,children:i,bgColor:o}){const[s,d]=Object(l.useState)(!1),c=Object(l.useCallback)((({source:t,destination:a})=>{d(!1),t&&a&&(null==n||n(Object(r.euiDragDropReorder)(e,t.index,a.index)))}),[e,n]),p=Object(l.useCallback)((()=>{d(!0),null==t||t()}),[t]);return Object(u.jsx)(r.EuiDragDropContext,{onDragEnd:c,onDragStart:p},Object(u.jsx)(r.EuiPanel,{paddingSize:"none",color:s?"success":o,hasShadow:!1,hasBorder:!1},Object(u.jsx)(r.EuiDroppable,{droppableId:a,spacing:o?"m":"none",style:{backgroundColor:"transparent"}},i)))}const me=({idx:e,onRemoveClick:t,removeTitle:n,children:a,draggableProvided:i,isNotRemovable:l,isNotDraggable:o,isDragging:d,"data-test-subj":c="lns-fieldsBucketContainer"})=>{var b;const{euiTheme:m}=Object(r.useEuiTheme)();return Object(u.jsx)(r.EuiPanel,{paddingSize:"xs",hasShadow:d,color:d?"plain":"transparent","data-test-subj":c},Object(u.jsx)(r.EuiFlexGroup,{direction:"row",gutterSize:"s",alignItems:"center",responsive:!1},Object(u.jsx)(r.EuiFlexItem,p()({grow:!1},null!==(b=null==i?void 0:i.dragHandleProps)&&void 0!==b?b:{}),Object(u.jsx)($,{tooltipContent:s.i18n.translate("visualizationUiComponents.fieldsBucketContainer.dragHandleDisabled",{defaultMessage:"Reordering requires more than one item."}),condition:null==o||o},Object(u.jsx)(r.EuiIcon,{size:"s",color:m.colors[o?"disabled":"text"],type:"grab","aria-label":s.i18n.translate("visualizationUiComponents.fieldsBucketContainer.dragToReorder",{defaultMessage:"Drag to reorder"}),"data-test-subj":`${c}-dragToReorder-${e}`}))),Object(u.jsx)(r.EuiFlexItem,{grow:!0,style:{minWidth:0}},a),Object(u.jsx)(r.EuiFlexItem,{grow:!1},Object(u.jsx)($,{tooltipContent:s.i18n.translate("visualizationUiComponents.fieldsBucketContainer.deleteButtonDisabled",{defaultMessage:"A minimum of one item is required."}),condition:null!=l&&l},Object(u.jsx)(r.EuiButtonIcon,{iconType:"trash",color:"danger","aria-label":n,onClick:t,"data-test-subj":`${c}-removeField-${e}`,isDisabled:l})))))},ge=2,je=Object(r.htmlIdGenerator)(),fe=new Set(["string","boolean","number","ip","date"]);function xe(e){return null!=e.value}function he({currentConfig:e,setConfig:t,dataView:n,invalidFields:a}){const{hasFieldData:d}=J(),c=Object(l.useCallback)((n=>{t({...e,extraFields:n.filter(xe).map((({value:e})=>e))})}),[t,e]),{wrappedValues:p,rawValuesLookup:b}=Object(l.useMemo)((()=>{var t;const n=null!==(t=e.extraFields)&&void 0!==t?t:[];return{wrappedValues:n.map((e=>({id:je(),value:e}))),rawValuesLookup:new Set(n)}}),[e]),{inputValue:g,handleInputChange:j}=m({onChange:c,value:p}),f=Object(l.useCallback)(((e,t=0)=>{const a=[...g];n.getFieldByName(e.field)&&(a[t]={id:je(),value:e.field},j(a))}),[g,n,j]),x=Object(u.jsx)(de,{className:"lnsConfigPanelAnnotations__addButton","data-test-subj":"lnsXY-annotation-tooltip-add_field",onClick:()=>{j([...g,{id:je(),value:void 0,isNew:!0}])},label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.tooltip.addField",{defaultMessage:"Add field"}),isDisabled:g.length>ge});if(0===g.length)return Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(r.EuiFlexItem,{grow:!0},Object(u.jsx)(r.EuiPanel,{color:"subdued",paddingSize:"s",className:"lnsConfigPanelAnnotations__noFieldsPrompt"},Object(u.jsx)(r.EuiText,{color:"subdued",size:"s",textAlign:"center"},s.i18n.translate("eventAnnotationComponents.xyChart.annotation.tooltip.noFields",{defaultMessage:"None selected"})))),x);const h=n.fields.filter(i).filter((({displayName:e,type:t})=>e&&!b.has(e)&&fe.has(t))).map((e=>({label:e.displayName,value:{type:"field",field:e.name,dataType:e.type},exists:!!n.id&&d(n.id,e.name),compatible:!0,"data-test-subj":`lnsXY-annotation-tooltip-fieldOption-${e.name}`}))).sort(((e,t)=>e.label.localeCompare(t.label)));return Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(be,{onDragEnd:e=>{j(e)},droppableId:"ANNOTATION_TOOLTIP_DROPPABLE_AREA",items:g,bgColor:"subdued"},g.map((({id:e,value:t,isNew:a},i,l)=>{const o=!t||Boolean(n.getFieldByName(t));return Object(u.jsx)(pe,{id:(null!=t?t:"newField")+e,key:(null!=t?t:"newField")+e,idx:i,onRemoveClick:()=>{j(l.filter(((e,t)=>t!==i)))},removeTitle:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.tooltip.deleteButtonLabel",{defaultMessage:"Delete"}),isNotDraggable:l.length<2,Container:me,isInsidePanel:!0,"data-test-subj":`lnsXY-annotation-tooltip-${i}`},Object(u.jsx)(N,{selectedOptions:t?[{label:t,value:{type:"field",field:t}}]:[],options:h,onChoose:e=>{f(e,i)},fieldIsInvalid:!o,className:"lnsConfigPanelAnnotations__fieldPicker","data-test-subj":`lnsXY-annotation-tooltip-field-picker--${i}`,autoFocus:a&&null==t}))}))),x)}const ye=({annotation:e,onChange:t,getDefaultRangeEnd:n})=>{const a=Object(ne.f)(e);return Object(u.jsx)(r.EuiFormRow,{display:"columnCompressed",className:"lnsRowCompressedMargin"},Object(u.jsx)(r.EuiSwitch,{"data-test-subj":"lns-xyAnnotation-rangeSwitch",label:Object(u.jsx)(r.EuiText,{size:"xs"},s.i18n.translate("eventAnnotationComponents.xyChart.applyAsRange",{defaultMessage:"Apply as range"})),checked:a,onChange:()=>{if(a){const n={type:"manual",key:{type:"point_in_time",timestamp:e.key.timestamp},id:e.id,label:e.label===oe?le:e.label,color:re(e.color),isHidden:e.isHidden};t(n)}else if(e){const a={type:"manual",key:{type:"range",timestamp:e.key.timestamp,endTimestamp:n(e.key.timestamp)},id:e.id,label:e.label===le?oe:e.label,color:se(e.color),isHidden:e.isHidden};t(a)}},compressed:!0}))},Ce=({value:e,label:t,prependLabel:n,onChange:a,calendarClassName:i,dataTestSubj:l="lnsXY_annotation_date_picker"})=>Object(u.jsx)(r.EuiFormRow,{display:"rowCompressed",fullWidth:!0,label:t,className:"lnsRowCompressedMargin"},n?Object(u.jsx)(r.EuiFormControlLayout,{fullWidth:!0,className:"lnsConfigPanelNoPadding",prepend:Object(u.jsx)(r.EuiFormLabel,{className:"lnsConfigPanelDate__label"},n)},Object(u.jsx)(r.EuiDatePicker,{calendarClassName:i,fullWidth:!0,showTimeSelect:!0,selected:e,onChange:a,dateFormat:"MMM D, YYYY @ HH:mm:ss.SSS","data-test-subj":l})):Object(u.jsx)(r.EuiDatePicker,{calendarClassName:i,fullWidth:!0,showTimeSelect:!0,selected:e,onChange:a,dateFormat:"MMM D, YYYY @ HH:mm:ss.SSS","data-test-subj":l})),ve=({annotation:e,onChange:t,getDefaultRangeEnd:n,calendarClassName:a})=>{const i=Object(ne.f)(e);return Object(u.jsx)(o.a.Fragment,null,i?Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(Ce,{dataTestSubj:"lns-xyAnnotation-fromTime",calendarClassName:a,prependLabel:s.i18n.translate("eventAnnotationComponents.xyChart.annotationDate.from",{defaultMessage:"From"}),value:te()(null==e?void 0:e.key.timestamp),onChange:n=>{if(n){const a=te()(null==e?void 0:e.key.endTimestamp).valueOf();if(a{if(n){const a=te()(null==e?void 0:e.key.timestamp).valueOf();if(a>n.valueOf()){const i=te()(null==e?void 0:e.key.endTimestamp).valueOf()-a;t({key:{...(null==e?void 0:e.key)||{type:"range"},endTimestamp:n.toISOString(),timestamp:te()(n.valueOf()-i).toISOString()}})}else t({key:{...(null==e?void 0:e.key)||{type:"range"},endTimestamp:n.toISOString()}})}}})):Object(u.jsx)(Ce,{dataTestSubj:"lns-xyAnnotation-time",calendarClassName:a,label:s.i18n.translate("eventAnnotationComponents.xyChart.annotationDate",{defaultMessage:"Annotation date"}),value:te()(null==e?void 0:e.key.timestamp),onChange:n=>{n&&t({key:{...(null==e?void 0:e.key)||{type:"point_in_time"},timestamp:n.toISOString()}})}}),Object(u.jsx)(ye,{annotation:e,onChange:t,getDefaultRangeEnd:n}))};var Oe=n(31);const _e=(e,t)=>{let n,a=!0;try{e&&("kuery"===e.language?Object(Oe.toElasticsearchQuery)(Object(Oe.fromKueryExpression)(e.query),t):Object(Oe.luceneStringToDsl)(e.query))}catch(e){a=!1,n=e.message}return{isValid:a,error:n}};var Ee=n(32);const Se=({value:e,onChange:t,dataView:n,isInvalid:a,onSubmit:i,disableAutoFocus:l,"data-test-subj":o,placeholder:r,appName:d,services:{data:c,uiSettings:p,http:g,notifications:j,docLinks:f,storage:x,unifiedSearch:h,dataViews:y}})=>{const{inputValue:C,handleInputChange:v}=m({value:e,onChange:t});return Object(u.jsx)(Ee.QueryStringInput,{dataTestSubj:null!=o?o:"indexPattern-filters-queryStringInput",size:"s",disableAutoFocus:l,isInvalid:a,bubbleSubmitEvent:!1,indexPatterns:[n],query:C,onChange:e=>{Object(b.isEqual)(e,C)||v(e)},onSubmit:()=>{C.query&&i()},placeholder:null!=r?r:"kuery"===C.language?s.i18n.translate("visualizationUiComponents.queryInput.queryPlaceholderKql",{defaultMessage:"{example}",values:{example:'method : "GET" or status : "404"'}}):s.i18n.translate("visualizationUiComponents.queryInput.queryPlaceholderLucene",{defaultMessage:"{example}",values:{example:"method:GET OR status:404"}}),languageSwitcherPopoverAnchorPosition:"rightDown",appName:d,deps:{unifiedSearch:h,notifications:j,http:g,docLinks:f,uiSettings:p,data:c,storage:x,dataViews:y}})};n(99);const Fe=s.i18n.translate("visualizationUiComponents.filterQueryInput.label",{defaultMessage:"Filter by"}),Ie={query:"",language:"kuery"};function ke({inputFilter:e,onChange:t,dataView:n,helpMessage:a,label:i=Fe,initiallyOpen:d,"data-test-subj":c,queryInputServices:p,appName:b}){const[g,j]=Object(l.useState)(Boolean(d)),{inputValue:f,handleInputChange:x}=m({value:null!=e?e:Ie,onChange:t}),h=Object(l.useCallback)((()=>{j(!1)}),[]),{isValid:y}=_e(e,n),{isValid:C,error:v}=_e(f,n);return Object(u.jsx)(r.EuiFormRow,{display:"rowCompressed",label:a?Object(u.jsx)(o.a.Fragment,null,i," ",Object(u.jsx)(r.EuiIconTip,{color:"subdued",content:a,iconProps:{className:"eui-alignTop"},position:"top",size:"s",type:"questionInCircle"})):i,fullWidth:!0,isInvalid:!y},Object(u.jsx)(r.EuiFlexGroup,{gutterSize:"s",alignItems:"center"},Object(u.jsx)(r.EuiFlexItem,null,Object(u.jsx)(r.EuiPopover,{isOpen:g,closePopover:h,anchorClassName:"eui-fullWidth",panelClassName:"filterQueryInput__popover",initialFocus:c?`textarea[data-test-subj='${c}']`:void 0,button:Object(u.jsx)(r.EuiPanel,{paddingSize:"none",hasShadow:!1,hasBorder:!0},Object(u.jsx)(r.EuiFlexGroup,{gutterSize:"s",alignItems:"center",responsive:!1},Object(u.jsx)(r.EuiFlexItem,{grow:!1}),Object(u.jsx)(r.EuiFlexItem,{grow:!0},Object(u.jsx)(r.EuiLink,{className:"filterQueryInput__popoverButton","data-test-subj":"indexPattern-filters-existingFilterTrigger",onClick:()=>{j(!g)},color:y?"text":"danger",title:s.i18n.translate("visualizationUiComponents.filterQueryInput.clickToEdit",{defaultMessage:"Click to edit"})},(null==e?void 0:e.query)||s.i18n.translate("visualizationUiComponents.filterQueryInput.emptyFilterQuery",{defaultMessage:"(empty)"})))))},Object(u.jsx)(r.EuiFormRow,{label:i,isInvalid:!C,error:v,fullWidth:!0,"data-test-subj":"indexPattern-filter-by-input"},Object(u.jsx)(Se,{dataView:n.id?{type:"id",value:n.id}:{type:"title",value:n.title},disableAutoFocus:!0,value:f,onChange:x,isInvalid:!C,onSubmit:()=>{},"data-test-subj":c,appName:b,services:p}))))))}const we={query:"",language:"kuery"},Te=({annotation:e,dataView:t,onChange:n,queryInputShouldOpen:a,queryInputServices:l,appName:d})=>{var c,p;const{hasFieldData:b}=J(),m=t.fields.filter(i).filter((e=>"date"===e.type&&e.displayName)).map((e=>({label:e.displayName,value:{type:"field",field:e.name,dataType:e.type},exists:!!t.id&&b(t.id,e.name),compatible:!0,"data-test-subj":`lns-fieldOption-${e.name}`}))),g=(null==e?void 0:e.timeField)||t.timeFieldName||(null===(c=m[0])||void 0===c?void 0:c.value.field),j=!g||Boolean(t.getFieldByName(g));return Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(r.EuiFormRow,{hasChildLabel:!0,display:"rowCompressed",className:"lnsRowCompressedMargin",fullWidth:!0,label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.queryInput",{defaultMessage:"Annotation query"})},Object(u.jsx)(ke,{"data-test-subj":"annotation-query-based-query-input",initiallyOpen:a,label:"",inputFilter:null!==(p=null==e?void 0:e.filter)&&void 0!==p?p:we,onChange:e=>{n({filter:{type:"kibana_query",...e}})},dataView:t,appName:d,queryInputServices:l})),Object(u.jsx)(r.EuiFormRow,{display:"rowCompressed",fullWidth:!0,label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.queryField",{defaultMessage:"Target date field"})},Object(u.jsx)(N,{options:m,selectedOptions:g?[{label:g,value:{type:"field",field:g}}]:[],onChoose:function(e){e&&n({timeField:e.field})},fieldIsInvalid:!j,"data-test-subj":"lnsXY-annotation-query-based-field-picker"})))},Me=Object(r.htmlIdGenerator)()(),Re=({label:e,"data-test-subj":t,value:n,onChange:a})=>Object(u.jsx)(r.EuiFormRow,{label:e,display:"columnCompressedSwitch",fullWidth:!0},Object(u.jsx)(r.EuiSwitch,{compressed:!0,label:e,showLabel:!1,"data-test-subj":t,checked:n,onChange:a}));t.default=({annotation:e,onAnnotationChange:t,dataView:n,getDefaultRangeEnd:a,calendarClassName:c,queryInputServices:p,appName:m})=>{const{hasFieldData:g}=J(),j=Object(ne.e)(e),x=Object(ne.f)(e),[h,v]=o.a.useState(!1);Object(l.useEffect)((()=>{v(!j)}),[j]);const O=Object(l.useCallback)((n=>{return n&&t((a={...e,...n},Object(ne.f)(a)?Object(b.pick)(a,["type","label","key","id","isHidden","color","outside"]):Object(ne.e)(a)?Object(b.pick)(a,["type","id","label","key","timeField","isHidden","lineStyle","lineWidth","color","icon","textVisibility","textField","filter","extraFields"]):Object(b.pick)(a,["type","id","label","key","isHidden","lineStyle","lineWidth","color","icon","textVisibility"])));var a}),[e,t]);return Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(d,{title:s.i18n.translate("eventAnnotationComponents.xyChart.placement",{defaultMessage:"Placement"})},Object(u.jsx)(r.EuiFormRow,{label:s.i18n.translate("eventAnnotationComponents.xyChart.annotationDate.placementType",{defaultMessage:"Placement type"}),display:"rowCompressed",fullWidth:!0},Object(u.jsx)(r.EuiButtonGroup,{legend:s.i18n.translate("eventAnnotationComponents.xyChart.annotationDate.placementType",{defaultMessage:"Placement type"}),"data-test-subj":"lns-xyAnnotation-placementType",name:"placementType",buttonSize:"compressed",options:[{id:"lens_xyChart_annotation_manual",label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.manual",{defaultMessage:"Static date"}),"data-test-subj":"lnsXY_annotation_manual"},{id:"lens_xyChart_annotation_query",label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.query",{defaultMessage:"Custom query"}),"data-test-subj":"lnsXY_annotation_query"}],idSelected:`lens_xyChart_annotation_${null==e?void 0:e.type}`,onChange:t=>{const a=t.replace("lens_xyChart_annotation_","");if((null==e?void 0:e.type)!==a){if("query"===a){var l,o;const t=Object(ne.f)(e)?{label:e.label===oe?le:e.label,color:re(e.color)}:{};return O({type:a,timeField:null!==(l=n.timeFieldName||(null===(o=n.fields.filter(i).find((({type:e})=>"date"===e)))||void 0===o?void 0:o.displayName))&&void 0!==l?l:"",key:{type:"point_in_time"},...t})}return O({type:a,key:{type:"point_in_time",timestamp:te()().toISOString()}})}},isFullWidth:!0})),j?Object(u.jsx)(Te,{annotation:e,onChange:O,dataView:n,queryInputShouldOpen:h,queryInputServices:p,appName:m}):Object(u.jsx)(ve,{annotation:e,onChange:O,getDefaultRangeEnd:a,calendarClassName:c})),Object(u.jsx)(d,{title:s.i18n.translate("eventAnnotationComponents.xyChart.appearance",{defaultMessage:"Appearance"})},Object(u.jsx)(f,{value:(null==e?void 0:e.label)||le,defaultValue:le,onChange:e=>{O({label:e})}}),!x&&Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(y,{currentIcon:e.icon,setIcon:e=>O({icon:e}),defaultIcon:"triangle",customIconSet:ue.a}),Object(u.jsx)(C,{idPrefix:Me,setConfig:O,currentConfig:e,isQueryBased:j},(t=>{if("field"!==t)return null;const a=n.fields.filter(i).filter((({displayName:e,type:t})=>e&&"document"!==t)).map((e=>({label:e.displayName,value:{type:"field",field:e.name,dataType:e.type},exists:g(n.id,e.name),compatible:!0,"data-test-subj":`lnsXY-annotation-fieldOption-${e.name}`}))),l=e.textField,s=!l||Boolean(n.getFieldByName(l));return Object(u.jsx)(o.a.Fragment,null,Object(u.jsx)(r.EuiSpacer,{size:"xs"}),Object(u.jsx)(N,{selectedOptions:l?[{label:l,value:{type:"field",field:l}}]:[],options:a,onChoose:function(e){e&&O({textField:e.field,textVisibility:!0})},fieldIsInvalid:!s,"data-test-subj":"lnsXY-annotation-query-based-text-decoration-field-picker",autoFocus:!l}))})),Object(u.jsx)(P,{idPrefix:Me,setConfig:O,currentConfig:{lineStyle:e.lineStyle,lineWidth:e.lineWidth}})),x&&Object(u.jsx)(r.EuiFormRow,{label:s.i18n.translate("eventAnnotationComponents.xyChart.fillStyle",{defaultMessage:"Fill"}),display:"columnCompressed",fullWidth:!0},Object(u.jsx)(r.EuiButtonGroup,{legend:s.i18n.translate("eventAnnotationComponents.xyChart.fillStyle",{defaultMessage:"Fill"}),"data-test-subj":"lns-xyAnnotation-fillStyle",name:"fillStyle",buttonSize:"compressed",options:[{id:"lens_xyChart_fillStyle_inside",label:s.i18n.translate("eventAnnotationComponents.xyChart.fillStyle.inside",{defaultMessage:"Inside"}),"data-test-subj":"lnsXY_fillStyle_inside"},{id:"lens_xyChart_fillStyle_outside",label:s.i18n.translate("eventAnnotationComponents.xyChart.fillStyle.outside",{defaultMessage:"Outside"}),"data-test-subj":"lnsXY_fillStyle_inside"}],idSelected:"lens_xyChart_fillStyle_"+(Boolean(null==e?void 0:e.outside)?"outside":"inside"),onChange:e=>{O({outside:"lens_xyChart_fillStyle_outside"===e})},isFullWidth:!0})),Object(u.jsx)(Y,{overwriteColor:e.color,defaultColor:x?ie:ae,showAlpha:x,setConfig:O,disableHelpTooltip:!0,label:s.i18n.translate("eventAnnotationComponents.xyChart.lineColor.label",{defaultMessage:"Color"})}),Object(u.jsx)(Re,{label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.hide",{defaultMessage:"Hide annotation"}),"data-test-subj":"lns-annotations-hide-annotation",value:Boolean(e.isHidden),onChange:e=>O({isHidden:e.target.checked})})),j&&e&&Object(u.jsx)(d,{title:s.i18n.translate("eventAnnotationComponents.xyChart.tooltip",{defaultMessage:"Tooltip"})},Object(u.jsx)(r.EuiFormRow,{display:"rowCompressed",className:"lnsRowCompressedMargin",fullWidth:!0,label:s.i18n.translate("eventAnnotationComponents.xyChart.annotation.tooltip",{defaultMessage:"Show additional fields"})},Object(u.jsx)(he,{currentConfig:e,setConfig:O,dataView:n}))))}},43:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));const a={META_FIELDS:"metaFields",DOC_HIGHLIGHT:"doc_table:highlight",QUERY_STRING_OPTIONS:"query:queryString:options",QUERY_ALLOW_LEADING_WILDCARDS:"query:allowLeadingWildcards",SEARCH_QUERY_LANGUAGE:"search:queryLanguage",SORT_OPTIONS:"sort:options",COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX:"courier:ignoreFilterIfFieldNotInIndex",COURIER_SET_REQUEST_PREFERENCE:"courier:setRequestPreference",COURIER_CUSTOM_REQUEST_PREFERENCE:"courier:customRequestPreference",COURIER_MAX_CONCURRENT_SHARD_REQUESTS:"courier:maxConcurrentShardRequests",SEARCH_INCLUDE_FROZEN:"search:includeFrozen",SEARCH_TIMEOUT:"search:timeout",HISTOGRAM_BAR_TARGET:"histogram:barTarget",HISTOGRAM_MAX_BARS:"histogram:maxBars",HISTORY_LIMIT:"history:limit",TIMEPICKER_REFRESH_INTERVAL_DEFAULTS:"timepicker:refreshIntervalDefaults",TIMEPICKER_QUICK_RANGES:"timepicker:quickRanges",TIMEPICKER_TIME_DEFAULTS:"timepicker:timeDefaults",FILTERS_PINNED_BY_DEFAULT:"filters:pinnedByDefault",FILTERS_EDITOR_SUGGEST_VALUES:"filterEditor:suggestValues",AUTOCOMPLETE_USE_TIMERANGE:"autocomplete:useTimeRange",AUTOCOMPLETE_VALUE_SUGGESTION_METHOD:"autocomplete:valueSuggestionMethod",DATE_FORMAT:"dateFormat",DATEFORMAT_TZ:"dateFormat:tz"}},44:function(e,t,n){e.exports=n(14)(68)},89:function(e,t,n){switch(window.__kbnThemeTag__){case"v8dark":return n(90);case"v8light":return n(92)}},90:function(e,t,n){var a=n(34),i=n(91);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},91:function(e,t,n){(t=n(35)(!1)).push([e.i,".lnsRowCompressedMargin+.lnsRowCompressedMargin{margin-top:8px}.lnsConfigPanelNoPadding{padding:0}.lnsConfigPanelDate__label{min-width:56px}.lnsConfigPanelAnnotations__addButton{margin-top:4px}.lnsConfigPanelAnnotations__fieldPicker{cursor:pointer}",""]),e.exports=t},92:function(e,t,n){var a=n(34),i=n(93);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},93:function(e,t,n){(t=n(35)(!1)).push([e.i,".lnsRowCompressedMargin+.lnsRowCompressedMargin{margin-top:8px}.lnsConfigPanelNoPadding{padding:0}.lnsConfigPanelDate__label{min-width:56px}.lnsConfigPanelAnnotations__addButton{margin-top:4px}.lnsConfigPanelAnnotations__fieldPicker{cursor:pointer}",""]),e.exports=t},94:function(e,t,n){switch(window.__kbnThemeTag__){case"v8dark":return n(95);case"v8light":return n(97)}},95:function(e,t,n){var a=n(34),i=n(96);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},96:function(e,t,n){(t=n(35)(!1)).push([e.i,'.lnsDimensionEditorSection{padding-bottom:16px;padding-top:16px}.lnsDimensionEditorSection:first-child{padding-top:0}.lnsDimensionEditorSection:first-child .lnsDimensionEditorSection__border{display:none}.lnsDimensionEditorSection__border{position:relative}.lnsDimensionEditorSection__border:before{border-top:1px solid #343741;content:"";left:-16px;position:absolute;right:-16px;top:-16px}.lnsDimensionEditorSection__heading{padding-bottom:16px}',""]),e.exports=t},97:function(e,t,n){var a=n(34),i=n(98);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);a(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},98:function(e,t,n){(t=n(35)(!1)).push([e.i,'.lnsDimensionEditorSection{padding-bottom:16px;padding-top:16px}.lnsDimensionEditorSection:first-child{padding-top:0}.lnsDimensionEditorSection:first-child .lnsDimensionEditorSection__border{display:none}.lnsDimensionEditorSection__border{position:relative}.lnsDimensionEditorSection__border:before{border-top:1px solid #d3dae6;content:"";left:-16px;position:absolute;right:-16px;top:-16px}.lnsDimensionEditorSection__heading{padding-bottom:16px}',""]),e.exports=t},99:function(e,t,n){switch(window.__kbnThemeTag__){case"v8dark":return n(100);case"v8light":return n(102)}}}]);