/*! 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. */!function(t){function e(e){for(var n,o,i=e[0],a=e[1],u=0,c=[];u{try{const{GeoUploadWizard:e,importerFactory:o,IndexNameForm:i}=await n.e(1).then(n.bind(null,219));t({GeoUploadWizard:e,importerFactory:o,getHttp:r.c,IndexNameForm:i})}catch(t){e(t)}}))),o}var a=n(2),u=n.n(a),s=n(5),c=n.n(s),d=n(6),p=n(3);class geo_upload_wizard_async_wrapper_GeoUploadWizardAsyncWrapper extends c.a.Component{constructor(...t){super(...t),u()(this,"state",{GeoUploadWizard:null}),u()(this,"_isMounted",!1)}componentDidMount(){this._isMounted=!0,i().then((t=>{this._isMounted&&this.setState({GeoUploadWizard:t.GeoUploadWizard})}))}componentWillUnmount(){this._isMounted=!1}render(){const{GeoUploadWizard:t}=this.state;return t?Object(p.jsx)(t,this.props):Object(p.jsx)(d.EuiSkeletonText,{lines:3})}}class index_name_form_async_wrapper_IndexNameFormAsyncWrapper extends c.a.Component{constructor(...t){super(...t),u()(this,"state",{IndexNameForm:null}),u()(this,"_isMounted",!1)}componentWillUnmount(){this._isMounted=!1}componentDidMount(){this._isMounted=!0,i().then((t=>{this._isMounted&&this.setState({IndexNameForm:t.IndexNameForm})}))}render(){const{IndexNameForm:t}=this.state;return t?Object(p.jsx)(t,this.props):Object(p.jsx)(d.EuiSkeletonText,{lines:3})}}const l=geo_upload_wizard_async_wrapper_GeoUploadWizardAsyncWrapper,f=index_name_form_async_wrapper_IndexNameFormAsyncWrapper;async function _(t,e){return(await i()).importerFactory(t,e)}async function m(t,e={}){const{getHttp:n}=await i(),r=JSON.stringify(t);return await n().fetch({path:"/internal/file_upload/analyze_file",method:"POST",version:"1",body:r,query:e})}async function h(t){const e=await i();try{return(await e.getHttp().fetch({path:"/internal/file_upload/has_import_permission",method:"GET",version:"1",query:{...t}})).hasImportPermission}catch(t){return!1}}async function b(t,e={}){const n=JSON.stringify({index:t}),r=await i();try{const{exists:t}=await r.getHttp().fetch({path:"/internal/file_upload/index_exists",method:"POST",version:"1",body:n,query:e});return t}catch(t){return!1}}async function y(t,e,n){const r=JSON.stringify({index:t,timeFieldName:n,query:e}),o=await i();return await o.getHttp().fetch({path:"/internal/file_upload/time_field_range",method:"POST",version:"1",body:r})}},function(t,e,n){t.exports=n(9)(1465)},function(t,e){t.exports=__kbnSharedDeps__.EmotionReact},function(t,e,n){"use strict";let r,o;function i(t,e){r=t,o=e}n.d(e,"g",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return c})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return p}));const a=()=>r.docLinks,u=()=>o.data.dataViews,s=()=>r.http,c=()=>r.settings.client,d=()=>r.settings,p=()=>r.theme},function(t,e){t.exports=__kbnSharedDeps__.React},function(t,e){t.exports=__kbnSharedDeps__.ElasticEui},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s}));var r=n(8),o=n.n(r),i=n(0),a=n(4);function u(){const t=Object(a.f)().get(i.g,i.d),e=o()(t.toUpperCase()).value();return e