1(()=>{var __webpack_modules__={8903:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__.p=window.__osdPublicPath__["visualize"];__webpack_require__.nc=window.__webpack_nonce__||""},2586:function(module){module.exports=__osdBundles__.get("entry/core/public")},5476:function(module){module.exports=__osdBundles__.get("plugin/data/public")},2285:function(module){module.exports=__osdBundles__.get("plugin/home/public")},6342:function(module){module.exports=__osdBundles__.get("plugin/opensearchDashboardsUtils/public")},3250:function(module){module.exports=__osdBundles__.get("plugin/uiActions/public")},9284:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>APP_NAME,y:()=>VisualizeConstants});var APP_NAME="visualize";var VisualizeConstants={LANDING_PAGE_PATH:"/",WIZARD_STEP_1_PAGE_PATH:"/new",WIZARD_STEP_2_PAGE_PATH:"/new/configure",CREATE_PATH:"/create",EDIT_PATH:"/edit",EDIT_BY_VALUE_PATH:"/edit_by_value"}},6300:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{EditorRenderProps:()=>types_namespaceObject.EditorRenderProps,VisualizeConstants:()=>visualize_constants.y,plugin:()=>public_plugin});var types_namespaceObject={};__webpack_require__.r(types_namespaceObject);var _async_to_generator=__webpack_require__(5194);function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")};function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}var _define_property=__webpack_require__(9623);var _object_spread=__webpack_require__(2961);var _object_spread_props=__webpack_require__(5548);var _sliced_to_array=__webpack_require__(8289);var external_osdSharedDeps_TsLib_=__webpack_require__(2790);const external_osdSharedDeps_Rxjs_namespaceObject=__osdSharedDeps__.Rxjs;var external_osdSharedDeps_OsdI18n_=__webpack_require__(7528);var external_osdSharedDeps_RxjsOperators_=__webpack_require__(1988);function extends_extends(){return extends_extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},extends_extends.apply(null,arguments)};function isAbsolute(pathname){return pathname.charAt(0)==="/"}function spliceOne(list,index){for(var i=index,k=i+1,n=list.length;k<n;i+=1,k+=1){list[i]=list[k]}list.pop()}function resolvePathname(to,from){if(from===undefined)from="";var toParts=to&&to.split("/")||[];var fromParts=from&&from.split("/")||[];var isToAbs=to&&isAbsolute(to);var isFromAbs=from&&isAbsolute(from);var mustEndAbs=isToAbs||isFromAbs;if(to&&isAbsolute(to)){fromParts=toParts}else if(toParts.length){fromParts.pop();fromParts=fromParts.concat(toParts)}if(!fromParts.length)return"/";var hasTrailingSlash;if(fromParts.length){var last=fromParts[fromParts.length-1];hasTrailingSlash=last==="."||last===".."||last===""}else{hasTrailingSlash=false}var up=0;for(var i=fromParts.length;i>=0;i--){var part=fromParts[i];if(part==="."){spliceOne(fromParts,i)}else if(part===".."){spliceOne(fromParts,i);up++}else if(up){spliceOne(fromParts,i);up--}}if(!mustEndAbs)for(;up--;up)fromParts.unshift("..");if(mustEndAbs&&fromParts[0]!==""&&(!fromParts[0]||!isAbsolute(fromParts[0])))fromParts.unshift("");var result=fromParts.join("/");if(hasTrailingSlash&&result.substr(-1)!=="/")result+="/";return result}const resolve_pathname=resolvePathname;var isProduction="production"==="production";var tiny_invariant_esm_prefix="Invariant failed";function tiny_invariant_esm_invariant(condition,message){if(condition){return}if(isProduction){throw new Error(tiny_invariant_esm_prefix)}var provided=typeof message==="function"?message():message;var value=provided?tiny_invariant_esm_prefix+": "+provided:tiny_invariant_esm_prefix;throw new Error(value)};function addLeadingSlash(path){return path.charAt(0)==="/"?path:"/"+path}function stripLeadingSlash(path){return path.charAt(0)==="/"?path.substr(1):path}function hasBasename(path,prefix){return path.toLowerCase().indexOf(prefix.toLowerCase())===0&&"/?#".indexOf(path.charAt(prefix.length))!==-1}function stripBasename(path,prefix){return hasBasename(path,prefix)?path.substr(prefix.length):path}function stripTrailingSlash(path){return path.charAt(path.length-1)==="/"?path.slice(0,-1):path}function parsePath(path){var pathname=path||"/";var search="";var hash="";var hashIndex=pathname.indexOf("#");if(hashIndex!==-1){hash=pathname.substr(hashIndex);pathname=pathname.substr(0,hashIndex)}var searchIndex=pathname.indexOf("?");if(searchIndex!==-1){search=pathname.substr(searchIndex);pathname=pathname.substr(0,searchIndex)}return{pathname:pathname,search:search==="?"?"":search,hash:hash==="#"?"":hash}}function createPath(location){var pathname=location.pathname,search=location.search,hash=location.hash;var path=pathname||"/";if(search&&search!=="?")path+=search.charAt(0)==="?"?search:"?"+search;if(hash&&hash!=="#")path+=hash.charAt(0)==="#"?hash:"#"+hash;return path}function createLocation(path,state,key,currentLocation){var location;if(typeof path==="string"){location=parsePath(path);location.state=state}else{location=extends_extends({},path);if(location.pathname===undefined)location.pathname="";if(location.search){if(location.search.charAt(0)!=="?")location.search="?"+location.search}else{location.search=""}if(location.hash){if(location.hash.charAt(0)!=="#")location.hash="#"+location.hash}else{location.hash=""}if(state!==undefined&&location.state===undefined)location.state=state}try{location.pathname=decodeURI(location.pathname)}catch(e){if(e instanceof URIError){throw new URIError('Pathname "'+location.pathname+'" could not be decoded. '+"This is likely caused by an invali
1d percent-encoding.")}else{throw e}}if(key)location.key=key;if(currentLocation){if(!location.pathname){location.pathname=currentLocation.pathname}else if(location.pathname.charAt(0)!=="/"){location.pathname=resolve_pathname(location.pathname,currentLocation.pathname)}}else{if(!location.pathname){location.pathname="/"}}return location}function locationsAreEqual(a,b){return a.pathname===b.pathname&&a.search===b.search&&a.hash===b.hash&&a.key===b.key&&valueEqual(a.state,b.state)}function createTransitionManager(){var prompt=null;function setPrompt(nextPrompt){false?0:void 0;prompt=nextPrompt;return function(){if(prompt===nextPrompt)prompt=null}}function confirmTransitionTo(location,action,getUserConfirmation,callback){if(prompt!=null){var result=typeof prompt==="function"?prompt(location,action):prompt;if(typeof result==="string"){if(typeof getUserConfirmation==="function"){getUserConfirmation(result,callback)}else{false?0:void 0;callback(true)}}else{callback(result!==false)}}else{callback(true)}}var listeners=[];function appendListener(fn){var isActive=true;function listener(){if(isActive)fn.apply(void 0,arguments)}listeners.push(listener);return function(){isActive=false;listeners=listeners.filter(function(item){return item!==listener})}}function notifyListeners(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}listeners.forEach(function(listener){return listener.apply(void 0,args)})}return{setPrompt:setPrompt,confirmTransitionTo:confirmTransitionTo,appendListener:appendListener,notifyListeners:notifyListeners}}var canUseDOM=!!(typeof window!=="undefined"&&window.document&&window.document.createElement);function getConfirmation(message,callback){callback(window.confirm(message))}function supportsHistory(){var ua=window.navigator.userAgent;if((ua.indexOf("Android 2.")!==-1||ua.indexOf("Android 4.0")!==-1)&&ua.indexOf("Mobile Safari")!==-1&&ua.indexOf("Chrome")===-1&&ua.indexOf("Windows Phone")===-1)return false;return window.history&&"pushState"in window.history}function supportsPopStateOnHashChange(){return window.navigator.userAgent.indexOf("Trident")===-1}function supportsGoWithoutReloadUsingHash(){return window.navigator.userAgent.indexOf("Firefox")===-1}function isExtraneousPopstateEvent(event){return event.state===undefined&&navigator.userAgent.indexOf("CriOS")===-1}var PopStateEvent="popstate";var history_HashChangeEvent="hashchange";function getHistoryState(){try{return window.history.state||{}}catch(e){return{}}}function createBrowserHistory(props){if(props===void 0){props={}}!canUseDOM?false?0:invariant(false):void 0;var globalHistory=window.history;var canUseHistory=supportsHistory();var needsHashChangeListener=!supportsPopStateOnHashChange();var _props=props,_props$forceRefresh=_props.forceRefresh,forceRefresh=_props$forceRefresh===void 0?false:_props$forceRefresh,_props$getUserConfirm=_props.getUserConfirmation,getUserConfirmation=_props$getUserConfirm===void 0?getConfirmation:_props$getUserConfirm,_props$keyLength=_props.keyLength,keyLength=_props$keyLength===void 0?6:_props$keyLength;var basename=props.basename?stripTrailingSlash(addLeadingSlash(props.basename)):"";function getDOMLocation(historyState){var _ref=historyState||{},key=_ref.key,state=_ref.state;var _window$location=window.location,pathname=_window$location.pathname,search=_window$location.search,hash=_window$location.hash;var path=pathname+search+hash;false?0:void 0;if(basename)path=stripBasename(path,basename);return createLocation(path,state,key)}function createKey(){return Math.random().toString(36).substr(2,keyLength)}var transitionManager=createTransitionManager();function setState(nextState){_extends(history,nextState);history.length=globalHistory.length;transitionManager.notifyListeners(history.location,history.action)}function handlePopState(event){if(isExtraneousPopstateEvent(event))return;handlePop(getDOMLocation(event.state))}function handleHashChange(){handlePop(getDOMLocation(getHistoryState()))}var forceNextPop=false;function handlePop(location){if(forceNextPop){forceNextPop=false;setState()}else{var action="POP";transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(ok){setState({action:action,location:location})}else{revertPop(location)}})}}function revertPop(fromLocation){var toLocation=history.location;var toIndex=allKeys.indexOf(toLocation.key);if(toIndex===-1)toIndex=0;var fromIndex=allKeys.indexOf(fromLocation.key);if(fromIndex===-1)fromIndex=0;var delta=toIndex-fromIndex;if(delta){forceNextPop=true;go(delta)}}var initialLocation=getDOMLocation(getHistoryState());var allKeys=[initialLocation.key];function createHref(location){return basename+createPath(location)}function push(path,state){false?0:void 0;var action="PUSH";var location=createLocation(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var href=createHref(location);var key=location.key,state=location.state;if(canUseHistory){globalHistory.pushState({key:key,state:state},null,href);if(forceRefresh){window.location.href=href}else{var prevIndex=allKeys.indexOf(history.location.key);var nextKeys=allKeys.slice(0,prevIndex+1);nextKeys.push(location.key);
1allKeys=nextKeys;setState({action:action,location:location})}}else{false?0:void 0;window.location.href=href}})}function replace(path,state){false?0:void 0;var action="REPLACE";var location=createLocation(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var href=createHref(location);var key=location.key,state=location.state;if(canUseHistory){globalHistory.replaceState({key:key,state:state},null,href);if(forceRefresh){window.location.replace(href)}else{var prevIndex=allKeys.indexOf(history.location.key);if(prevIndex!==-1)allKeys[prevIndex]=location.key;setState({action:action,location:location})}}else{false?0:void 0;window.location.replace(href)}})}function go(n){globalHistory.go(n)}function goBack(){go(-1)}function goForward(){go(1)}var listenerCount=0;function checkDOMListeners(delta){listenerCount+=delta;if(listenerCount===1&&delta===1){window.addEventListener(PopStateEvent,handlePopState);if(needsHashChangeListener)window.addEventListener(history_HashChangeEvent,handleHashChange)}else if(listenerCount===0){window.removeEventListener(PopStateEvent,handlePopState);if(needsHashChangeListener)window.removeEventListener(history_HashChangeEvent,handleHashChange)}}var isBlocked=false;function block(prompt){if(prompt===void 0){prompt=false}var unblock=transitionManager.setPrompt(prompt);if(!isBlocked){checkDOMListeners(1);isBlocked=true}return function(){if(isBlocked){isBlocked=false;checkDOMListeners(-1)}return unblock()}}function listen(listener){var unlisten=transitionManager.appendListener(listener);checkDOMListeners(1);return function(){checkDOMListeners(-1);unlisten()}}var history={length:globalHistory.length,action:"POP",location:initialLocation,createHref:createHref,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,block:block,listen:listen};return history}var HashChangeEvent$1="hashchange";var HashPathCoders={hashbang:{encodePath:function encodePath(path){return path.charAt(0)==="!"?path:"!/"+stripLeadingSlash(path)},decodePath:function decodePath(path){return path.charAt(0)==="!"?path.substr(1):path}},noslash:{encodePath:stripLeadingSlash,decodePath:addLeadingSlash},slash:{encodePath:addLeadingSlash,decodePath:addLeadingSlash}};function stripHash(url){var hashIndex=url.indexOf("#");return hashIndex===-1?url:url.slice(0,hashIndex)}function getHashPath(){var href=window.location.href;var hashIndex=href.indexOf("#");return hashIndex===-1?"":href.substring(hashIndex+1)}function pushHashPath(path){window.location.hash=path}function replaceHashPath(path){window.location.replace(stripHash(window.location.href)+"#"+path)}function createHashHistory(props){if(props===void 0){props={}}!canUseDOM?false?0:tiny_invariant_esm_invariant(false):void 0;var globalHistory=window.history;var canGoWithoutReload=supportsGoWithoutReloadUsingHash();var _props=props,_props$getUserConfirm=_props.getUserConfirmation,getUserConfirmation=_props$getUserConfirm===void 0?getConfirmation:_props$getUserConfirm,_props$hashType=_props.hashType,hashType=_props$hashType===void 0?"slash":_props$hashType;var basename=props.basename?stripTrailingSlash(addLeadingSlash(props.basename)):"";var _HashPathCoders$hashT=HashPathCoders[hashType],encodePath=_HashPathCoders$hashT.encodePath,decodePath=_HashPathCoders$hashT.decodePath;function getDOMLocation(){var path=decodePath(getHashPath());false?0:void 0;if(basename)path=stripBasename(path,basename);return createLocation(path)}var transitionManager=createTransitionManager();function setState(nextState){extends_extends(history,nextState);history.length=globalHistory.length;transitionManager.notifyListeners(history.location,history.action)}var forceNextPop=false;var ignorePath=null;function locationsAreEqual$$1(a,b){return a.pathname===b.pathname&&a.search===b.search&&a.hash===b.hash}function handleHashChange(){var path=getHashPath();var encodedPath=encodePath(path);if(path!==encodedPath){replaceHashPath(encodedPath)}else{var location=getDOMLocation();var prevLocation=history.location;if(!forceNextPop&&locationsAreEqual$$1(prevLocation,location))return;if(ignorePath===createPath(location))return;ignorePath=null;handlePop(location)}}function handlePop(location){if(forceNextPop){forceNextPop=false;setState()}else{var action="POP";transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(ok){setState({action:action,location:location})}else{revertPop(location)}})}}function revertPop(fromLocation){var toLocation=history.location;var toIndex=allPaths.lastIndexOf(createPath(toLocation));if(toIndex===-1)toIndex=0;var fromIndex=allPaths.lastIndexOf(createPath(fromLocation));if(fromIndex===-1)fromIndex=0;var delta=toIndex-fromIndex;if(delta){forceNextPop=true;go(delta)}}var path=getHashPath();var encodedPath=encodePath(path);if(path!==encodedPath)replaceHashPath(encodedPath);var initialLocation=getDOMLocation();var allPaths=[createPath(initialLocation)];function createHref(location){var baseTag=document.querySelector("base");var href="";if(baseTag&&baseTag.getAttribute("href")){href=stripHash(window.location.href)}return href+"#"+encodePath(basename+createPath(location))}function push(path,state){false?0:void 0;var action="PUSH";var location=createLocation(path,undefined,undefined,history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var path=createPath(location);var encodedPath=encodePath(basename+path);var hashChanged=getHashPath()!==encodedPath;if(hashChanged){ignorePath=path;pushHashPath(encodedPath);var prevIndex=allPaths.lastIndexOf(createPath(history.location));var nextPaths=allPaths.slice(0,prevIndex+1);nextPaths.push(path);allPaths=nextPaths;setState({action:action,location:location})}else{false?0:void 0;setState()}})}function replace(path,state){false?0:void 0;var action="REPLACE";var location=createLocation(path,undefined,undefined,history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var path=createPath(location);var encodedPath=encodePath(basename+path);var hashChanged=getHashPath()!==encodedPath;if(hashChanged){ignorePath=path;replaceHashPath(encodedPath)}var prevIndex=allPaths.indexOf(createPath(history.location));if(prevIndex!==-1)allPaths[prevIndex]=path;setState({action:action,location:location})})}function go(n){false?0:void 0;globalHistory.go(n)}function goBack(){go(-1)}function goForward(){go(1)}var listenerCount=0;function checkDOMListeners(delta){listenerCount+=delta;if(listenerCount===1&&delta===1){window.addEventListener(HashChangeEvent$1,handleHashChange)}else if(listenerCount===0){window.removeEventListener(HashChangeEvent$1,handleHashChange)}}var isBlocked=false;function block(prompt){if(prompt===void 0){prompt=false}var unblock=transitionManager.setPrompt(prompt);
1if(!isBlocked){checkDOMListeners(1);isBlocked=true}return function(){if(isBlocked){isBlocked=false;checkDOMListeners(-1)}return unblock()}}function listen(listener){var unlisten=transitionManager.appendListener(listener);checkDOMListeners(1);return function(){checkDOMListeners(-1);unlisten()}}var history={length:globalHistory.length,action:"POP",location:initialLocation,createHref:createHref,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,block:block,listen:listen};return history}function clamp(n,lowerBound,upperBound){return Math.min(Math.max(n,lowerBound),upperBound)}function createMemoryHistory(props){if(props===void 0){props={}}var _props=props,getUserConfirmation=_props.getUserConfirmation,_props$initialEntries=_props.initialEntries,initialEntries=_props$initialEntries===void 0?["/"]:_props$initialEntries,_props$initialIndex=_props.initialIndex,initialIndex=_props$initialIndex===void 0?0:_props$initialIndex,_props$keyLength=_props.keyLength,keyLength=_props$keyLength===void 0?6:_props$keyLength;var transitionManager=createTransitionManager();function setState(nextState){_extends(history,nextState);history.length=history.entries.length;transitionManager.notifyListeners(history.location,history.action)}function createKey(){return Math.random().toString(36).substr(2,keyLength)}var index=clamp(initialIndex,0,initialEntries.length-1);var entries=initialEntries.map(function(entry){return typeof entry==="string"?createLocation(entry,undefined,createKey()):createLocation(entry,undefined,entry.key||createKey())});var createHref=createPath;function push(path,state){false?0:void 0;var action="PUSH";var location=createLocation(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var prevIndex=history.index;var nextIndex=prevIndex+1;var nextEntries=history.entries.slice(0);if(nextEntries.length>nextIndex){nextEntries.splice(nextIndex,nextEntries.length-nextIndex,location)}else{nextEntries.push(location)}setState({action:action,location:location,index:nextIndex,entries:nextEntries})})}function replace(path,state){false?0:void 0;var action="REPLACE";var location=createLocation(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;history.entries[history.index]=location;setState({action:action,location:location})})}function go(n){var nextIndex=clamp(history.index+n,0,history.entries.length-1);var action="POP";var location=history.entries[nextIndex];transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(ok){setState({action:action,location:location,index:nextIndex})}else{setState()}})}function goBack(){go(-1)}function goForward(){go(1)}function canGo(n){var nextIndex=history.index+n;return nextIndex>=0&&nextIndex<history.entries.length}function block(prompt){if(prompt===void 0){prompt=false}return transitionManager.setPrompt(prompt)}function listen(listener){return transitionManager.appendListener(listener)}var history={length:entries.length,action:"POP",location:entries[index],index:index,entries:entries,createHref:createHref,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,canGo:canGo,block:block,listen:listen};return history}var core_public=__webpack_require__(2586);var opensearch_dashboards_utils_public=__webpack_require__(6342);var data_public=__webpack_require__(5476);var visualize_constants=__webpack_require__(9284);var home_public=__webpack_require__(2285);var ui_actions_public=__webpack_require__(3250);var public_services=__webpack_require__(3233);var STATE_STORAGE_KEY="_a";var GLOBAL_STATE_STORAGE_KEY="_g";var VISUALIZE_APP_URL_GENERATOR="VISUALIZE_APP_URL_GENERATOR";var createVisualizeUrlGenerator=function(getStartServices){return{id:VISUALIZE_APP_URL_GENERATOR,createUrl:function(param){var visualizationId=param.visualizationId,filters=param.filters,indexPatternId=param.indexPatternId,query=param.query,refreshInterval=param.refreshInterval,vis=param.vis,type=param.type,timeRange=param.timeRange,hash=param.hash;return(0,_async_to_generator._)(function(){var startServices,useHash,appBasePath,mode,appState,queryState,url;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){switch(_state.label){case 0:return[4,getStartServices()];
1case 1:startServices=_state.sent();useHash=hash!==null&&hash!==void 0?hash:startServices.useHashedUrl;appBasePath=startServices.appBasePath;mode=visualizationId?"edit/".concat(visualizationId):"create";appState={};queryState={};if(query)appState.query=query;if(filters&&filters.length)appState.filters=filters===null||filters===void 0?void 0:filters.filter(function(f){return!data_public.opensearchFilters.isFilterPinned(f)});if(vis)appState.vis=vis;if(timeRange)queryState.time=timeRange;if(filters&&filters.length)queryState.filters=filters===null||filters===void 0?void 0:filters.filter(function(f){return data_public.opensearchFilters.isFilterPinned(f)});if(refreshInterval)queryState.refreshInterval=refreshInterval;url="".concat(appBasePath,"#/").concat(mode);url=(0,opensearch_dashboards_utils_public.setStateToOsdUrl)(GLOBAL_STATE_STORAGE_KEY,queryState,{useHash:useHash},url);url=(0,opensearch_dashboards_utils_public.setStateToOsdUrl)(STATE_STORAGE_KEY,appState,{useHash:useHash},url);if(indexPatternId){url="".concat(url,"&indexPattern=").concat(indexPatternId)}if(type){url="".concat(url,"&type=").concat(type)}return[2,url]}})})()}}};var AGGS_TERMS_SIZE_SETTING="discover:aggs:terms:size";var visualizeFieldAction=(0,ui_actions_public.createAction)({type:ui_actions_public.ACTION_VISUALIZE_FIELD,id:ui_actions_public.ACTION_VISUALIZE_FIELD,getDisplayName:function(){return external_osdSharedDeps_OsdI18n_.i18n.translate("visualize.discover.visualizeFieldLabel",{defaultMessage:"Visualize field"})},isCompatible:function(){return(0,_async_to_generator._)(function(){return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){return[2,!!(0,public_services.Di)().capabilities.visualize.show]})})()},getHref:function(context){return(0,_async_to_generator._)(function(){var url;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){switch(_state.label){case 0:return[4,getVisualizeUrl(context)];case 1:url=_state.sent();return[2,url]}})})()},execute:function(context){return(0,_async_to_generator._)(function(){var url,hash;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){switch(_state.label){case 0:return[4,getVisualizeUrl(context)];case 1:url=_state.sent();hash=url.split("#")[1];(0,public_services.Di)().navigateToApp("visualize",{path:"/#".concat(hash)});return[2]}})})()}});var getVisualizeUrl=function(context){return(0,_async_to_generator._)(function(){var indexPattern,field,aggsTermSize,agg,generator,urlState;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){switch(_state.label){case 0:return[4,(0,public_services.CX)().get(context.indexPatternId)];case 1:indexPattern=_state.sent();field=indexPattern.fields.find(function(fld){return fld.name===context.fieldName});aggsTermSize=(0,public_services.qG)().get(AGGS_TERMS_SIZE_SETTING);if((field===null||field===void 0?void 0:field.type)==="date"&&indexPattern.timeFieldName===context.fieldName){agg={type:"date_histogram",schema:"segment",params:{field:context.fieldName,interval:"auto"}}}else{agg={type:"terms",schema:"segment",params:{field:context.fieldName,size:parseInt(aggsTermSize,10),orderBy:"1"}}}generator=(0,public_services.Rg)().urlGenerators.getUrlGenerator(VISUALIZE_APP_URL_GENERATOR);urlState={filters:(0,public_services.ob)().filterManager.getFilters(),query:(0,public_services.ob)().queryString.getQuery(),timeRange:(0,public_services.ob)().timefilter.timefilter.getTime(),indexPatternId:context.indexPatternId,type:"histogram",vis:{type:"histogram",aggs:[{schema:"metric",type:"count",id:"1"},agg]}};return[2,generator.createUrl(urlState)]}})})()};var plugin_VisualizePlugin=function(){"use strict";function VisualizePlugin(initializerContext){_class_call_check(this,VisualizePlugin);(0,_define_property._)(this,"initializerContext",void 0);(0,_define_property._)(this,"appStateUpdater",void 0);(0,_define_property._)(this,"stopUrlTracking",void 0);(0,_define_property._)(this,"currentHistory",void 0);this.initializerContext=initializerContext;this.appStateUpdater=new external_osdSharedDeps_Rxjs_namespaceObject.BehaviorSubject(function(){return{}});this.stopUrlTracking=undefined;this.currentHistory=undefined}_create_class(VisualizePlugin,[{key:"setup",value:function setup(_0,_1){return(0,_async_to_generator._)(function(core,param){var _this,home,urlForwarding,data,share,uiActions,_createOsdUrlTracker,appMounted,appUnMounted,stopUrlTracker,setActiveUrl,restorePreviousUrl,visualizeAppId,titleInLeftNav;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){_this=this;home=param.home,urlForwarding=param.urlForwarding,data=param.data,share=param.share,uiActions=param.uiActions;_createOsdUrlTracker=(0,opensearch_dashboards_utils_public.createOsdUrlTracker)({baseUrl:core.http.basePath.prepend("/app/visualize"),defaultSubUrl:"#/",storageKey:"lastUrl:".concat(core.http.basePath.get(),":visualize"),navLinkUpdater$:this.appStateUpdater,toastNotifications:core.notifications.toasts,stateParams:[{osdUrlKey:"_g",stateUpdate$:data.query.state$.pipe((0,external_osdSharedDeps_RxjsOperators_.filter)(function(param){var changes=param.changes;return!!(changes.globalFilters||changes.time||changes.refreshInterval)}
1),(0,external_osdSharedDeps_RxjsOperators_.map)(function(param){var state=param.state;var _state_filters;return(0,_object_spread_props._)((0,_object_spread._)({},state),{filters:(_state_filters=state.filters)===null||_state_filters===void 0?void 0:_state_filters.filter(data_public.opensearchFilters.isFilterPinned)})}))}],getHistory:function(){return _this.currentHistory}}),appMounted=_createOsdUrlTracker.appMounted,appUnMounted=_createOsdUrlTracker.appUnMounted,stopUrlTracker=_createOsdUrlTracker.stop,setActiveUrl=_createOsdUrlTracker.setActiveUrl,restorePreviousUrl=_createOsdUrlTracker.restorePreviousUrl;this.stopUrlTracking=function(){stopUrlTracker()};if(share){share.urlGenerators.registerUrlGenerator(createVisualizeUrlGenerator(function(){return(0,_async_to_generator._)(function(){var _ref,coreStart;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){switch(_state.label){case 0:return[4,core.getStartServices()];case 1:_ref=_sliced_to_array._.apply(void 0,[_state.sent(),1]),coreStart=_ref[0];return[2,{appBasePath:coreStart.application.getUrlForApp("visualize"),useHashedUrl:coreStart.uiSettings.get("state:storeInSessionStorage")}]}})})()}))}(0,public_services.Ur)(core.uiSettings);uiActions.addTriggerAction(ui_actions_public.VISUALIZE_FIELD_TRIGGER,visualizeFieldAction);visualizeAppId="visualize";core.application.register({id:visualizeAppId,title:"Visualize",order:8e3,euiIconType:"inputOutput",workspaceAvailability:core_public.WorkspaceAvailability.insideWorkspace,defaultPath:"#/",category:core_public.DEFAULT_APP_CATEGORIES.opensearchDashboards,updater$:this.appStateUpdater.asObservable(),mount:function(params){return(0,_async_to_generator._)(function(){var _ref,coreStart,pluginsStart,unlistenParentHistory,history,services,renderApp,unmount;return(0,external_osdSharedDeps_TsLib_.__generator)(this,function(_state){switch(_state.label){case 0:return[4,core.getStartServices()];case 1:_ref=_sliced_to_array._.apply(void 0,[_state.sent(),2]),coreStart=_ref[0],pluginsStart=_ref[1];this.currentHistory=params.history;pluginsStart.data.indexPatterns.clearCache();return[4,pluginsStart.data.indexPatterns.ensureDefaultIndexPattern()];case 2:_state.sent();appMounted();unlistenParentHistory=params.history.listen(function(){window.dispatchEvent(new HashChangeEvent("hashchange"))});history=createHashHistory();services=(0,_object_spread_props._)((0,_object_spread._)({},coreStart),{history:history,osdUrlStateStorage:(0,opensearch_dashboards_utils_public.createOsdUrlStateStorage)((0,_object_spread._)({history:history,useHash:coreStart.uiSettings.get("state:storeInSessionStorage")},(0,opensearch_dashboards_utils_public.withNotifyOnErrors)(coreStart.notifications.toasts))),urlForwarding:pluginsStart.urlForwarding,pluginInitializerContext:this.initializerContext,chrome:coreStart.chrome,data:pluginsStart.data,localStorage:new opensearch_dashboards_utils_public.Storage(localStorage),navigation:pluginsStart.navigation,savedVisualizations:pluginsStart.visualizations.savedVisualizationsLoader,share:pluginsStart.share,toastNotifications:coreStart.notifications.toasts,visualizeCapabilities:coreStart.application.capabilities.visualize,visualizations:pluginsStart.visualizations,embeddable:pluginsStart.embeddable,setActiveUrl:setActiveUrl,createVisEmbeddableFromObject:pluginsStart.visualizations.__LEGACY.createVisEmbeddableFromObject,savedObjectsPublic:pluginsStart.savedObjects,scopedHistory:params.history,restorePreviousUrl:restorePreviousUrl,dashboard:pluginsStart.dashboard,setHeaderActionMenu:params.setHeaderActionMenu});params.element.classList.add("visAppWrapper");return[4,Promise.all([__webpack_require__.e("1"),__webpack_require__.e("0")]).then(__webpack_require__.bind(__webpack_require__,8964))];case 3:renderApp=_state.sent().renderApp;unmount=renderApp(params,services);return[2,function(){params.element.classList.remove("visAppWrapper");unlistenParentHistory();unmount();appUnMounted()}]}})}).call(_this)}});titleInLeftNav=external_osdSharedDeps_OsdI18n_.i18n.translate("visualize.leftNav.visualizeTitle",{defaultMessage:"Visualizations"});core.chrome.navGroup.addNavLinksToGroup(core_public.DEFAULT_NAV_GROUPS.observability,[{id:visualizeAppId,category:core_public.DEFAULT_APP_CATEGORIES.visualizeAndReport,order:100,title:titleInLeftNav}]);core.chrome.navGroup.addNavLinksToGroup(core_public.DEFAULT_NAV_GROUPS["security-analytics"],[{id:visualizeAppId,category:core_public.DEFAULT_APP_CATEGORIES.visualizeAndReport,order:100,title:titleInLeftNav}]);core.chrome.navGroup.addNavLinksToGroup(core_public.DEFAULT_NAV_GROUPS.essentials,[{id:visualizeAppId,category:undefined,order:400,title:titleInLeftNav}]);core.chrome.navGroup.addNavLinksToGroup(core_public.DEFAULT_NAV_GROUPS.search,[{id:visualizeAppId,category:core_public.DEFAULT_APP_CATEGORIES.visualizeAndReport,order:100,title:titleInLeftNav}]);core.chrome.navGroup.addNavLinksToGroup(core_public.DEFAULT_NAV_GROUPS.all,[{id:visualizeAppId,category:core_public.DEFAULT_APP_CATEGORIES.visualizeAndReport,order:100,title:titleInLeftNav}]);urlForwarding.forwardApp("visualize","visualize");if(home){home.featureCatalogue.register({id:"visualize",title:"Visualize",description:external_osdSharedDeps_OsdI18n_.i18n.translate("visualize.visualizeDescription",{defaultMessage:"Create visualizations and aggregate data stores in your OpenSearch indices."}),icon:"visualizeApp",path:"/app/visualize#".concat(visualize_constants.y.LANDING_PAGE_PATH),showOnHomePage:false,category:home_public.FeatureCatalogueCategory.DATA})}return[2]})}).apply(this,arguments)}},{key:"start",value:function start(core,plugins){(0,public_services.Vx)(core.application);(0,public_services.Ov)(plugins.data.indexPatterns);(0,public_services.YT)(plugins.data.query);if(core.keyboardShortcut){var isInitialized=core.workspaces.initialized$.getValue();var currentWorkspace=core.workspaces.currentWorkspace$.getValue();if(isInitialized&¤tWorkspace){core.keyboardShortcut.register({id:"nav.visualization",name:external_osdSharedDeps_OsdI18n_.i18n.translate("visualize.keyboardShortcut.goToVisualization.name",{defaultMessage:"Go to visualization"}),pluginId:"visualize",category:external_osdSharedDeps_OsdI18n_.i18n.translate("visualize.keyboardShortcut.category.navigation",{defaultMessage:"Navigation"}),keys:"g v",execute:function(){core.application.navigateToApp("visualize")}})}}if(plugins.share){(0,public_services.xc)(plugins.share)}(0,public_services.EZ)(plugins.uiActions)}},{key:"stop",value:function stop(){if(this.stopUrlTracking){this.stopUrlTracking()}}}]);return VisualizePlugin}();;var public_plugin=function(context){return new plugin_VisualizePlugin(context)}},3233:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{CX:()=>getIndexPatterns,Di:()=>getApplication,EZ:()=>setUiActions,Ov:()=>setIndexPatterns,Rg:()=>getShareService,Ur:()=>setUISettings,Vx:()=>setApplication,YT:()=>setQueryService,aM:()=>getUiActions,ob:()=>getQueryService,qG:()=>getUISettings,xc:()=>setShareService});var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8289);var _plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6342);var _plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__);var _createGetterSetter=(0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__._)((0,_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__.createGetterSetter)("UISettings"),2);var getUISettings=_createGetterSetter[0],setUISettings=_createGetterSetter[1];var _createGetterSetter1=(0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__._)((0,_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__.createGetterSetter)("Application"),2);var getApplication=_createGetterSetter1[0],setApplication=_createGetterSetter1[1];var _createGetterSetter2=(0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__._)((0,_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__.createGetterSetter)("Share"),2);var getShareService=_createGetterSetter2[0],setShareService=_createGetterSetter2[1];var _createGetterSetter3=(0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__._)((0,_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__.createGetterSetter)("IndexPatterns"),2);var getIndexPatterns=_createGetterSetter3[0],setIndexPatterns=_createGetterSetter3[1];var _createGetterSetter4=(0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__._)((0,_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__.createGetterSetter)("Query"),2);var getQueryService=_createGetterSetter4[0],setQueryService=_createGetterSetter4[1];var _createGetterSetter5=(0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_1__._)((0,_plugins_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__.createGetterSetter)("UIActions"),2);var getUiActions=_createGetterSetter5[0],setUiActions=_createGetterSetter5[1]},1350:function(module){"use strict";module.exports=__osdSharedDeps__.ElasticEui},1731:function(module){"use strict";module.exports=__osdSharedDeps__.Lodash},7518:function(module){"use strict";module.exports=__osdSharedDeps__.Moment},7528:function(module){"use strict";module.exports=__osdSharedDeps__.OsdI18n},1679:function(module){"use strict";module.exports=__osdSharedDeps__.OsdI18nReact},6933:function(module){"use strict";module.exports=__osdSharedDeps__.React},4239:function(module){"use strict";module.exports=__osdSharedDeps__.ReactDom},636:function(module){"use strict";module.exports=__osdSharedDeps__.ReactRouterDom},1988:function(module){"use strict";module.exports=__osdSharedDeps__.RxjsOperators},2790:function(module){"use strict";module.exports=__osdSharedDeps__.TsLib},9071:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_array_like_to_array});function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}},5194:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_async_to_generator});function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}if(info.done)resolve(value);else Promise.resolve(value).then(_next,_throw)}function _async_to_generator(fn){return function(){var self1=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self1,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(undefined)})}}},9623:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_define_property});function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else obj[key]=value;return obj}},2961:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_object_spread});var _define_property_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9623);function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};var ownKeys=Object.keys(source);if(typeof Object.getOwnPropertySymbols==="function"){ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))}ownKeys.forEach(function(key){(0,_define_property_js__WEBPACK_IMPORTED_MODULE_0__._)(target,key,source[key])})}return target}},5548:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_object_spread_props});function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);
1if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})}keys.push.apply(keys,symbols)}return keys}function _object_spread_props(target,source){source=source!=null?source:{};if(Object.getOwnPropertyDescriptors)Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}},8289:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_sliced_to_array});function _array_with_holes(arr){if(Array.isArray(arr))return arr};function _iterable_to_array_limit(arr,i){var _i=arr==null?null:typeof Symbol!=="undefined"&&arr[Symbol.iterator]||arr["@@iterator"];if(_i==null)return;var _arr=[];var _n=true;var _d=false;var _s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{if(!_n&&_i["return"]!=null)_i["return"]()}finally{if(_d)throw _e}}return _arr};function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _unsupported_iterable_to_array=__webpack_require__(4986);function _sliced_to_array(arr,i){return _array_with_holes(arr)||_iterable_to_array_limit(arr,i)||(0,_unsupported_iterable_to_array._)(arr,i)||_non_iterable_rest()}},4986:function(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{_:()=>_unsupported_iterable_to_array});var _array_like_to_array_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9071);function _unsupported_iterable_to_array(o,minLen){if(!o)return;if(typeof o==="string")return(0,_array_like_to_array_js__WEBPACK_IMPORTED_MODULE_0__._)(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,_array_like_to_array_js__WEBPACK_IMPORTED_MODULE_0__._)(o,minLen)}}};var __webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(cachedModule!==undefined){return cachedModule.exports}var module=__webpack_module_cache__[moduleId]={id:moduleId,exports:{}};__webpack_modules__[moduleId](module,module.exports,__webpack_require__);return module.exports}__webpack_require__.m=__webpack_modules__;(()=>{__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module["default"]:()=>module;__webpack_require__.d(getter,{a:getter});return getter}})();(()=>{__webpack_require__.d=(exports,definition)=>{for(var key in definition){if(__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)){Object.defineProperty(exports,key,{enumerable:true,get:definition[key]})}}}})();(()=>{__webpack_require__.f={};__webpack_require__.e=chunkId=>{return Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>{__webpack_require__.f[key](chunkId,promises);return promises},[]))}})();(()=>{__webpack_require__.u=chunkId=>{return"visualize.chunk."+chunkId+".js"}})();(()=>{__webpack_require__.g=(()=>{if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(e){if(typeof window==="object")return window}})()})();(()=>{__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop)})();(()=>{var inProgress={};null;__webpack_require__.l=function(url,done,key,chunkId){if(inProgress[url]){inProgress[url].push(done);return}var script,needAttach;if(key!==undefined){var scripts=document.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url){script=s;break}}}if(!script){needAttach=true;script=document.createElement("script");script.timeout=120;if(__webpack_require__.nc){script.setAttribute("nonce",__webpack_require__.nc)}script.src=url}inProgress[url]=[done];var onScriptComplete=function(prev,event){script.onerror=script.onload=null;clearTimeout(timeout);var doneFns=inProgress[url];delete inProgress[url];script.parentNode&&script.parentNode.removeChild(script);doneFns&&doneFns.forEach(function(fn){return fn(event)});if(prev)return prev(event)};var timeout=setTimeout(onScriptComplete.bind(null,undefined,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror);script.onload=onScriptComplete.bind(null,script.onload);needAttach&&document.head.appendChild(script)}})();(()=>{__webpack_require__.r=exports=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(exports,"__esModule",{value:true})}})();(()=>{__webpack_require__.nc=undefined})();(()=>{__webpack_require__.rv=()=>"1.6.4"})();(()=>{var scriptUrl;if(__webpack_require__.g.importScripts)scriptUrl=__webpack_require__.g.location+"";var document1=__webpack_require__.g.document;if(!scriptUrl&&document1){if(document1.currentScript&&document1.currentScript.tagName.toUpperCase()==="SCRIPT")scriptUrl=document1.currentScript.src;if(!scriptUrl){var scripts=document1.getElementsByTagName("script");
1if(scripts.length){var i=scripts.length-1;while(i>-1&&(!scriptUrl||!/^http(s?):/.test(scriptUrl)))scriptUrl=scripts[i--].src}}}if(!scriptUrl)throw new Error("Automatic publicPath is not supported in this browser");scriptUrl=scriptUrl.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");__webpack_require__.p=scriptUrl})();(()=>{var installedChunks={"2":0};__webpack_require__.f.j=function(chunkId,promises){var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:undefined;if(installedChunkData!==0){if(installedChunkData){promises.push(installedChunkData[2])}else{if(true){var promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId);var error=new Error;var loadingEnded=function(event){if(__webpack_require__.o(installedChunks,chunkId)){installedChunkData=installedChunks[chunkId];if(installedChunkData!==0)installedChunks[chunkId]=undefined;if(installedChunkData){var errorType=event&&(event.type==="load"?"missing":event.type);var realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")";error.name="ChunkLoadError";error.type=errorType;error.request=realSrc;installedChunkData[1](error)}}};__webpack_require__.l(url,loadingEnded,"chunk-"+chunkId,chunkId)}}}};var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var chunkIds=data[0];var moreModules=data[1];var runtime=data[2];var moduleId,chunkId,i=0;if(chunkIds.some(id=>installedChunks[id]!==0)){for(moduleId in moreModules){if(__webpack_require__.o(moreModules,moduleId)){__webpack_require__.m[moduleId]=moreModules[moduleId]}}if(runtime)var result=runtime(__webpack_require__)}if(parentChunkLoadingFunction)parentChunkLoadingFunction(data);for(;i<chunkIds.length;i++){chunkId=chunkIds[i];if(__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]){installedChunks[chunkId][0]()}installedChunks[chunkId]=0}};var chunkLoadingGlobal=self["visualize_bundle_jsonpfunction"]=self["visualize_bundle_jsonpfunction"]||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0));chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})();(()=>{__webpack_require__.ruid="[email protected]"})();var __webpack_exports__={};(()=>{"use strict";var _node_modules_val_loader_dist_cjs_js_key_visualize_osd_ui_shared_deps_public_path_module_creator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8903);var _node_modules_val_loader_dist_cjs_js_key_visualize_osd_ui_shared_deps_public_path_module_creator_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_val_loader_dist_cjs_js_key_visualize_osd_ui_shared_deps_public_path_module_creator_js__WEBPACK_IMPORTED_MODULE_0__);__osdBundles__.define("plugin/visualize/public",()=>{return __webpack_require__(6300)})})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.