(window.eventAnnotation_bundle_jsonpfunction=window.eventAnnotation_bundle_jsonpfunction||[]).push([[3],{110:function(e,n,i){switch(window.__kbnThemeTag__){case"v8dark":return i(111);case"v8light":return i(113)}},111:function(e,n,i){var t=i(34),a=i(112);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);t(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},112:function(e,n,i){(n=i(35)(!1)).push([e.i,".kbnFieldButton{align-items:flex-start;border-radius:6px;display:flex;font-size:14px;font-size:1rem;line-height:1.71429rem;margin-bottom:4px;padding:0 8px;transition:box-shadow .15s cubic-bezier(.694,.0482,.335,1),background-color .15s cubic-bezier(.694,.0482,.335,1)}.kbnFieldButton-isActive,.kbnFieldButton:focus-within{outline:2px solid currentColor}.kbnFieldButton-isActive:focus-visible,.kbnFieldButton:focus-within:focus-visible{outline-style:auto}.kbnFieldButton-isActive:not(:focus-visible),.kbnFieldButton:focus-within:not(:focus-visible){outline:none}.kbnFieldButton__button{align-items:flex-start;display:flex;flex-grow:1;line-height:normal;padding:8px 0;text-align:left}.kbnFieldButton__fieldIcon{flex-shrink:0;line-height:0}.kbnFieldButton__name{flex-grow:1;padding:0 8px;word-break:break-word}.kbnFieldButton__infoIcon{align-items:center;display:flex;flex-shrink:0;justify-content:center;line-height:0;min-height:16px}.kbnFieldButton__fieldAction{margin-left:8px}.kbnFieldButton__dragHandle{margin-right:8px}.kbnFieldButton__dragHandle,.kbnFieldButton__fieldAction{line-height:32px}.kbnFieldButton--xs{font-size:12px}.kbnFieldButton--xs .kbnFieldButton__button{padding:4px 0}.kbnFieldButton--xs .kbnFieldButton__fieldAction{margin-left:4px}.kbnFieldButton--xs .kbnFieldButton__dragHandle,.kbnFieldButton--xs .kbnFieldButton__fieldAction{line-height:24px}.kbnFieldButton--flushBoth{padding-left:0;padding-right:0}",""]),e.exports=n},113:function(e,n,i){var t=i(34),a=i(114);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);t(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},114:function(e,n,i){(n=i(35)(!1)).push([e.i,".kbnFieldButton{align-items:flex-start;border-radius:6px;display:flex;font-size:14px;font-size:1rem;line-height:1.71429rem;margin-bottom:4px;padding:0 8px;transition:box-shadow .15s cubic-bezier(.694,.0482,.335,1),background-color .15s cubic-bezier(.694,.0482,.335,1)}.kbnFieldButton-isActive,.kbnFieldButton:focus-within{outline:2px solid currentColor}.kbnFieldButton-isActive:focus-visible,.kbnFieldButton:focus-within:focus-visible{outline-style:auto}.kbnFieldButton-isActive:not(:focus-visible),.kbnFieldButton:focus-within:not(:focus-visible){outline:none}.kbnFieldButton__button{align-items:flex-start;display:flex;flex-grow:1;line-height:normal;padding:8px 0;text-align:left}.kbnFieldButton__fieldIcon{flex-shrink:0;line-height:0}.kbnFieldButton__name{flex-grow:1;padding:0 8px;word-break:break-word}.kbnFieldButton__infoIcon{align-items:center;display:flex;flex-shrink:0;justify-content:center;line-height:0;min-height:16px}.kbnFieldButton__fieldAction{margin-left:8px}.kbnFieldButton__dragHandle{margin-right:8px}.kbnFieldButton__dragHandle,.kbnFieldButton__fieldAction{line-height:32px}.kbnFieldButton--xs{font-size:12px}.kbnFieldButton--xs .kbnFieldButton__button{padding:4px 0}.kbnFieldButton--xs .kbnFieldButton__fieldAction{margin-left:4px}.kbnFieldButton--xs .kbnFieldButton__dragHandle,.kbnFieldButton--xs .kbnFieldButton__fieldAction{line-height:24px}.kbnFieldButton--flushBoth{padding-left:0;padding-right:0}",""]),e.exports=n},124:function(e,n,i){"use strict";i.r(n);var t=i(33),a=i.n(t),l=i(19),s=i.n(l),o=i(21),d=i.n(o),r=i(20),u=i(18);const _={iconType:"questionInCircle",color:"gray"},f={binary:{iconType:"tokenBinary"},boolean:{iconType:"tokenBoolean"},conflict:{iconType:"warning",color:"euiColorVis9",shape:"square"},date:{iconType:"tokenDate"},date_range:{iconType:"tokenDate"},dense_vector:{iconType:"tokenDenseVector"},geo_point:{iconType:"tokenGeo"},geo_shape:{iconType:"tokenGeo"},ip:{iconType:"tokenIP"},ip_range:{iconType:"tokenIP"},flattened:{iconType:"tokenFlattened"},match_only_text:{iconType:"tokenString"},murmur3:{iconType:"tokenSearchType"},number:{iconType:"tokenNumber"},number_range:{iconType:"tokenNumber"},rank_feature:{iconType:"tokenRankFeature"},rank_features:{iconType:"tokenRankFeatures"},histogram:{iconType:"tokenHistogram"},_source:{iconType:"editorCodeBlock",color:"gray"},point:{iconType:"tokenShape"},shape:{iconType:"tokenShape"},string:{iconType:"tokenString"},text:{iconType:"tokenString"},keyword:{iconType:"tokenKeyword"},gauge:{iconType:"tokenMetricGauge"},counter:{iconType:"tokenMetricCounter"},nested:{iconType:"tokenNested"},version:{iconType:"tokenTag"}};function c({type:e,label:n,size:i="s",scripted:t,className:l,...s}){const o=f[e]||_;return Object(u.jsx)(r.EuiToken,a()({},o,{className:d()("kbnFieldIcon",l),"aria-label":n||e,title:n||e,size:i,fill:t?"dark":void 0},s))}i(110);Object.keys({xs:"kbnFieldButton--xs",s:"kbnFieldButton--s"});var b=i(0),T=i(8),p=i.n(T);let E,g;!function(e){e._ID="_id",e._INDEX="_index",e._SOURCE="_source",e._TYPE="_type",e.STRING="string",e.TEXT="text",e.MATCH_ONLY_TEXT="match_only_text",e.KEYWORD="keyword",e.VERSION="version",e.BOOLEAN="boolean",e.OBJECT="object",e.DATE="date",e.DATE_NANOS="date_nanos",e.DATE_RANGE="date_range",e.GEO_POINT="geo_point",e.GEO_SHAPE="geo_shape",e.FLOAT="float",e.HALF_FLOAT="half_float",e.SCALED_FLOAT="scaled_float",e.DOUBLE="double",e.INTEGER="integer",e.LONG="long",e.SHORT="short",e.UNSIGNED_LONG="unsigned_long",e.AGGREGATE_METRIC_DOUBLE="aggregate_metric_double",e.FLOAT_RANGE="float_range",e.DOUBLE_RANGE="double_range",e.INTEGER_RANGE="integer_range",e.LONG_RANGE="long_range",e.NESTED="nested",e.BYTE="byte",e.IP="ip",e.IP_RANGE="ip_range",e.ATTACHMENT="attachment",e.TOKEN_COUNT="token_count",e.MURMUR3="murmur3",e.HISTOGRAM="histogram"}(E||(E={})),function(e){e._SOURCE="_source",e.ATTACHMENT="attachment",e.BOOLEAN="boolean",e.DATE="date",e.DATE_RANGE="date_range",e.GEO_POINT="geo_point",e.GEO_SHAPE="geo_shape",e.IP="ip",e.IP_RANGE="ip_range",e.MURMUR3="murmur3",e.NUMBER="number",e.NUMBER_RANGE="number_range",e.STRING="string",e.UNKNOWN="unknown",e.CONFLICT="conflict",e.OBJECT="object",e.NESTED="nested",e.HISTOGRAM="histogram",e.MISSING="missing"}(g||(g={}));class kbn_field_type_KbnFieldType{constructor(e={}){p()(this,"name",void 0),p()(this,"sortable",void 0),p()(this,"filterable",void 0),p()(this,"esTypes",void 0),this.name=e.name||g.UNKNOWN,this.sortable=e.sortable||!1,this.filterable=e.filterable||!1,this.esTypes=Object.freeze((e.esTypes||[]).slice())}}new kbn_field_type_KbnFieldType({name:g.UNKNOWN});let N;new kbn_field_type_KbnFieldType({name:g.STRING,sortable:!0,filterable:!0,esTypes:[E.STRING,E.TEXT,E.MATCH_ONLY_TEXT,E.KEYWORD,E.VERSION,E._TYPE,E._ID]}),new kbn_field_type_KbnFieldType({name:g.NUMBER,sortable:!0,filterable:!0,esTypes:[E.FLOAT,E.HALF_FLOAT,E.SCALED_FLOAT,E.DOUBLE,E.INTEGER,E.LONG,E.UNSIGNED_LONG,E.SHORT,E.BYTE,E.TOKEN_COUNT,E.AGGREGATE_METRIC_DOUBLE]}),new kbn_field_type_KbnFieldType({name:g.NUMBER_RANGE,sortable:!0,filterable:!0,esTypes:[E.FLOAT_RANGE,E.DOUBLE_RANGE,E.INTEGER_RANGE,E.LONG_RANGE]}),new kbn_field_type_KbnFieldType({name:g.DATE,sortable:!0,filterable:!0,esTypes:[E.DATE,E.DATE_NANOS]}),new kbn_field_type_KbnFieldType({name:g.DATE_RANGE,sortable:!0,filterable:!0,esTypes:[E.DATE_RANGE]}),new kbn_field_type_KbnFieldType({name:g.IP,sortable:!0,filterable:!0,esTypes:[E.IP]}),new kbn_field_type_KbnFieldType({name:g.IP_RANGE,sortable:!0,filterable:!0,esTypes:[E.IP_RANGE]}),new kbn_field_type_KbnFieldType({name:g.BOOLEAN,sortable:!0,filterable:!0,esTypes:[E.BOOLEAN]}),new kbn_field_type_KbnFieldType({name:g.OBJECT,esTypes:[E.OBJECT]}),new kbn_field_type_KbnFieldType({name:g.NESTED,esTypes:[E.NESTED]}),new kbn_field_type_KbnFieldType({name:g.GEO_POINT,esTypes:[E.GEO_POINT]}),new kbn_field_type_KbnFieldType({name:g.GEO_SHAPE,esTypes:[E.GEO_SHAPE]}),new kbn_field_type_KbnFieldType({name:g.ATTACHMENT,esTypes:[E.ATTACHMENT]}),new kbn_field_type_KbnFieldType({name:g.MURMUR3,esTypes:[E.MURMUR3]}),new kbn_field_type_KbnFieldType({name:g._SOURCE,esTypes:[E._SOURCE]}),new kbn_field_type_KbnFieldType({name:g.HISTOGRAM,filterable:!0,esTypes:[E.HISTOGRAM]}),new kbn_field_type_KbnFieldType({name:g.CONFLICT}),function(e){e.DOCUMENT="document",e.BINARY="binary",e.BOOLEAN="boolean",e.CONFLICT="conflict",e.COUNTER="counter",e.DATE="date",e.DATE_RANGE="date_range",e.DENSE_VECTOR="dense_vector",e.GAUGE="gauge",e.GEO_POINT="geo_point",e.GEO_SHAPE="geo_shape",e.HISTOGRAM="histogram",e.IP="ip",e.IP_RANGE="ip_range",e.FLATTENED="flattened",e.KEYWORD="keyword",e.MURMUR3="murmur3",e.NUMBER="number",e.NESTED="nested",e.RANK_FEATURE="rank_feature",e.RANK_FEATURES="rank_features",e.POINT="point",e.SHAPE="shape",e.STRING="string",e.TEXT="text",e.VERSION="version"}(N||(N={})),Object.values(N);const F=b.i18n.translate("unifiedFieldList.fieldNameIcons.unknownFieldAriaLabel",{defaultMessage:"Unknown field"});function A(e){if(!e||e===g.UNKNOWN)return F;if("source"===e)return b.i18n.translate("unifiedFieldList.fieldNameIcons.sourceFieldAriaLabel",{defaultMessage:"Source field"});const n=e;switch(n){case N.DOCUMENT:return b.i18n.translate("unifiedFieldList.fieldNameIcons.recordAriaLabel",{defaultMessage:"Records"});case N.BINARY:return b.i18n.translate("unifiedFieldList.fieldNameIcons.binaryAriaLabel",{defaultMessage:"Binary"});case N.BOOLEAN:return b.i18n.translate("unifiedFieldList.fieldNameIcons.booleanAriaLabel",{defaultMessage:"Boolean"});case N.CONFLICT:return b.i18n.translate("unifiedFieldList.fieldNameIcons.conflictFieldAriaLabel",{defaultMessage:"Conflict"});case N.COUNTER:return b.i18n.translate("unifiedFieldList.fieldNameIcons.counterFieldAriaLabel",{defaultMessage:"Counter metric"});case N.DATE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.dateFieldAriaLabel",{defaultMessage:"Date"});case N.DATE_RANGE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.dateRangeFieldAriaLabel",{defaultMessage:"Date range"});case N.DENSE_VECTOR:return b.i18n.translate("unifiedFieldList.fieldNameIcons.denseVectorFieldAriaLabel",{defaultMessage:"Dense vector"});case N.GAUGE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.gaugeFieldAriaLabel",{defaultMessage:"Gauge metric"});case N.GEO_POINT:return b.i18n.translate("unifiedFieldList.fieldNameIcons.geoPointFieldAriaLabel",{defaultMessage:"Geo point"});case N.GEO_SHAPE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.geoShapeFieldAriaLabel",{defaultMessage:"Geo shape"});case N.HISTOGRAM:return b.i18n.translate("unifiedFieldList.fieldNameIcons.histogramFieldAriaLabel",{defaultMessage:"Histogram"});case N.IP:return b.i18n.translate("unifiedFieldList.fieldNameIcons.ipAddressFieldAriaLabel",{defaultMessage:"IP address"});case N.IP_RANGE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.ipRangeFieldAriaLabel",{defaultMessage:"IP range"});case N.FLATTENED:return b.i18n.translate("unifiedFieldList.fieldNameIcons.flattenedFieldAriaLabel",{defaultMessage:"Flattened"});case N.MURMUR3:return b.i18n.translate("unifiedFieldList.fieldNameIcons.murmur3FieldAriaLabel",{defaultMessage:"Murmur3"});case N.NUMBER:return b.i18n.translate("unifiedFieldList.fieldNameIcons.numberFieldAriaLabel",{defaultMessage:"Number"});case N.RANK_FEATURE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.rankFeatureFieldAriaLabel",{defaultMessage:"Rank feature"});case N.RANK_FEATURES:return b.i18n.translate("unifiedFieldList.fieldNameIcons.rankFeaturesFieldAriaLabel",{defaultMessage:"Rank features"});case N.POINT:return b.i18n.translate("unifiedFieldList.fieldNameIcons.pointFieldAriaLabel",{defaultMessage:"Point"});case N.SHAPE:return b.i18n.translate("unifiedFieldList.fieldNameIcons.shapeFieldAriaLabel",{defaultMessage:"Shape"});case N.STRING:return b.i18n.translate("unifiedFieldList.fieldNameIcons.stringFieldAriaLabel",{defaultMessage:"String"});case N.TEXT:return b.i18n.translate("unifiedFieldList.fieldNameIcons.textFieldAriaLabel",{defaultMessage:"Text"});case N.KEYWORD:return b.i18n.translate("unifiedFieldList.fieldNameIcons.keywordFieldAriaLabel",{defaultMessage:"Keyword"});case N.NESTED:return b.i18n.translate("unifiedFieldList.fieldNameIcons.nestedFieldAriaLabel",{defaultMessage:"Nested"});case N.VERSION:return b.i18n.translate("unifiedFieldList.fieldNameIcons.versionFieldAriaLabel",{defaultMessage:"Version"});default:return n||n}}const k=({type:e,...n})=>Object(u.jsx)(c,a()({type:m(e),label:A(e)},n)),y=s.a.memo(k);function m(e){return"document"===e?"number":e}n.default=y}}]);