!function(v){function webpackJsonpCallback(m){for(var z,N,W=m[0],U=m[1],q=m[2],G=0,ee=[];G0&&void 0!==arguments[0]&&arguments[0];this.searchJob&&this.trigger("search:cancelled"),(0,ae.cleanSearchJobSubscriptions)(this.searchJob,this.searchJobSubscription,this.searchJobProgressSubscription,this.searchJobPreviewSubscription),this._searchTiming.start=Date.now(),this._isJobDone=!1,this.get("keepUpdated")||this.set({data:[],fields:[]}),this.trigger("search:start");var m=v?this._refreshLookback:this.get("earliestTime"),b=m instanceof String&&-1!==m.indexOf("rt");this.get("search")&&(this.searchJob=ie.default.create({id:b?(0,ae.createUniqueSearchId)("rt_deep-dive-".concat(this.id,"-manager")):(0,ae.createUniqueSearchId)("deep-dive-".concat(this.id,"-manager")),search:this.get("search"),earliest_time:v?this._refreshLookback:this.get("earliestTime"),latest_time:v?"now":this.get("latestTime"),time_format:this.searchTimeFormat},{app:(0,ne.getShortAppName)(!0),cache:!v&&this.get("searchCache")}),this.searchJobSubscription=this.searchJob.getResults({offset:0,count:0}).subscribe({error:v=>{this.trigger("search:error",v)},complete:()=>{this._isJobDone=!0}}),this.searchJobProgressSubscription=this.searchJob.getProgress().subscribe(v=>{this._onSearchProgress(v)}),this.searchJobPreviewSubscription=this.searchJob.getResultsPreview({count:0,output_mode:"json_rows"}).subscribe(v=>{var m;if(null!=v&&null!==(m=v.rows)&&void 0!==m&&m.length){var b=this.get("data");(!b||!b.length||b[0].length&&v.rows[0].length&&b[0][0]!==v.rows[0][0])&&this._onDataChanged(v)}}))},dispose:function dispose(){this._teardownDataRefresh(),this.stopListening(this)},windowTimeRange:function windowTimeRange(v,m){if(!((0,q.default)(v)||(0,q.default)(m)||v===this._timeWindow.minTime&&m===this._timeWindow.maxTime))if(null===v||null===m)this._timeWindow.dataCache instanceof Array&&this.set("data",this._timeWindow.dataCache),this._timeWindow.minTime=null,this._timeWindow.maxTime=null,this._timeWindow.dataCache=null,this.set({earliestTime:this._timeWindow.originalMinTime,latestTime:this._timeWindow.originalMaxTime});else{this._timeWindow.minTime=v,this._timeWindow.maxTime=m;var b=this.get("fields"),M=this.get("data");if(b instanceof Array&&M instanceof Array){var N=(0,U.default)(b,"_time"),W=(0,z.sortedIndex)(M,v,(function(v){return Number(v instanceof Array?v[N]:v)})),$=(0,z.sortedIndex)(M,m,(function(v){return Number(v instanceof Array?v[N]:v)}));this.set("data",M.slice(W,$))}null===this._timeWindow.dataCache&&(this._timeWindow.originalMinTime=this.get("earliestTime"),this._timeWindow.originalMaxTime=this.get("latestTime"),this._timeWindow.dataCache=M),this.set({earliestTime:v,latestTime:m})}},_handleSearchAutoStartChange:function _handleSearchAutoStartChange(){this.get("searchAutoStart")&&this.createSearchJob()},_onSearchPropertyChange:function _onSearchPropertyChange(){Object.prototype.hasOwnProperty.call(this.changed,"search")&&this.set({data:[],fields:[]}),this.get("searchAutoStart")&&this.createSearchJob(),this._onKeepUpdatedChange()},_onKeepUpdatedChange:function _onKeepUpdatedChange(){if(this.get("keepUpdated")){if("now"!==this.get("latestTime"))throw"Data Manager: "+this.id+" cannot be set keepUpdated=true since latestTime is not now (it is "+this.get("latestTime")+")";0===this.get("data").length?this.once("change:data",this._setupDataRefresh,this):this._setupDataRefresh()}else this._teardownDataRefresh()},_setupDataRefresh:function _setupDataRefresh(){this._teardownDataRefresh();var v=this.get("data"),m=this.get("fields");if(v&&m){var b=(0,U.default)(m,"_time"),M=(0,U.default)(m,"_span"),z=null;if(-1===b)console.warn("Data Manager:",this.id,"cannot keep search updated efficiently without _time in the fields (search is",this.get("search"),")"),z=-1;else if(-1===M)if(v.length>1){var N=(0,G.default)(v,2);z=Math.abs(Number(N[0][b])-Number(N[1][b]))}else console.warn("Data Manager:",this.id,"cannot keep search updated without _span in the fields nor multiple rows of data (search is",this.get("search"),")"),z=-1;else z=Number(v[0][M])||-1;var W=function calculateTimeout(v,m){var b=1e3*v;return b1&&(ee=Math.abs(Number((0,$.default)(v)[b])-Number((0,G.default)(v)[b]))),1200>ee||z>ee?this._refreshTimerVariable=setTimeout(this._refreshAllData.bind(this),W(z,q)):(this._refreshLookback=z>1200?"-"+(2*z).toString()+"s":"-"+(z+1200).toString()+"s",this._refreshTimerVariable=setTimeout(this._refreshPartialData.bind(this),W(z,q)))}}else this.once("change:data",this._setupDataRefresh,this)},_teardownDataRefresh:function _teardownDataRefresh(){null!==this._refreshTimerVariable&&(clearTimeout(this._refreshTimerVariable),this._refreshTimerVariable=null)},_refreshAllData:function _refreshAllData(){this.createSearchJob(),this.trigger("dataupdate:full:start"),this.once("dataupdate:partial:complete dataupdate:full:complete",this._setupDataRefresh,this)},_refreshPartialData:function _refreshPartialData(){this.createSearchJob(!0),this.trigger("dataupdate:partial:start"),this.once("dataupdate:partial:complete dataupdate:full:complete",this._setupDataRefresh,this)},_onDataChanged:function _onDataChanged(v){this._searchTiming.finish=Date.now();var m={fields:[],rows:[]},b={fields:this.get("fields")||[],rows:this.get("data")||[]},M=(0,U.default)(b.fields,"_time");if(this.unset("data",{silent:!0}),this.get("keepUpdated")&&b.fields.length>0&&b.rows.length>0&&-1!==M){var z,$,q,G=this.getChronologicalFunctions(b.rows,M);if(this.areArraysIdentical(b.fields,v.fields))m.fields=b.fields;else{console.warn("Data Manager:",this.id,"fields from update do not match current fields exactly (search is",this.get("search"),")");var te=(0,N.default)(b.fields,v.fields);if(te.length>0)throw"fresh data field set is missing base data fields: "+te.toString();var ie=function baseFieldSort(m,M){var z=v.fields[M],N=(0,U.default)(b.fields,z);return-1===N&&(N=v.fields.length+M),N};m.fields=(0,ee.default)(v.fields,ie),(0,W.default)(v.rows,(function(v){v=(0,ee.default)(v,ie)}))}var ne=Number(G.earliest(v.rows)[M]);if("chronological"===G.order){for(z=b.rows.length;z>0;z--)if($=b.rows[z-1],ne>Number($[M])){q=z;break}}else for(z=0;zNumber($[M])){q=z;break}var ae,re=Math.abs(Number(G.latest(v.rows)[M])-Number(G.latest(b.rows)[M])),se=Number(G.earliest(b.rows)[M])+re;if("chronological"===G.order){for(z=0;z0;z--)if($=b.rows[z-1],se=b.rows.length&&(q=void 0),m.rows=b.rows.slice(ae,q).concat(v.rows)):(ae>=b.rows.length&&(ae=void 0),m.rows=v.rows.concat(b.rows.slice(q,ae))),this.set({fields:m.fields,data:m.rows}),this.trigger("dataupdate:partial:complete")}else m=v,this.set({fields:m.fields,data:m.rows}),this.trigger("dataupdate:full:complete")},_onSearchProgress:function _onSearchProgress(v){var m=v.content;this._isJobDone=m.isDone||!1,this.trigger("search:progress",v)},getChronologicalFunctions:function getChronologicalFunctions(v,m){if(v.length<1||!isFinite(m)||(0,q.default)(m))throw"DataManager:"+this.id+" cannot determine chronological ordering of data without both rows and a timeIndex";return Number((0,$.default)(v)[m])>Number((0,G.default)(v)[m])?{order:"reverse_chronological",earliest:G.default,latest:$.default}:{order:"chronological",earliest:$.default,latest:G.default}},areArraysIdentical:function areArraysIdentical(v,m){if(v.length!==m.length)return!1;for(var b=0;b=0)if(m instanceof Array&&v instanceof Array&&v.length>0&&m.length>0&&M.length>0){var z=this.getTimeExtent(v,m);this.timeExtent=z;var N=this.getYExtent(v,m);if(this.yExtent=N,this.chartController.renderGraphs(!0),"yes"===this.laneSettings.get("isEnabled")&&"dynamic"===this.laneSettings.get("selectionMode")){var W=[];M.forEach((function(m){var b=v[m].split(": ");b.shift(),b.length>1?W.push(b.join(": ")):W.push(b[0])})),this.chartController.laneOverlaySettings.set("selectedEntities",W)}}else this.laneSettings.get("isAccessDenied")?this.displayMessage("permission-denied"):this._renderNoData(v,m,M);else m instanceof Array&&v instanceof Array&&v.length>0&&m.length>0&&M.length>0?this.displayMessage("no-time"):this._renderNoData(v,m,M)}this.laneSettings.get("isAccessDenied")&&this.displayMessage("permission-denied")},renderNoResults:function renderNoResults(){if(this.laneSettings.get("isAccessDenied"))this.displayMessage("permission-denied");else{var v=this.getTimeExtent();this.timeExtent=v,this.chartController.updateTimeScale(),this.clear(),"alert"===this.laneSettings.get("graphType")?this.displayMessage("empty"):this.displayMessage("no-results")}},renderProgress:function renderProgress(){this.laneSettings.get("isAccessDenied")?this.displayMessage("permission-denied"):"alert"===this.laneSettings.get("graphType")?this.displayMessage("empty"):this.displayMessage("waiting")},displayMessage:function displayMessage(v){return v instanceof Object&&(v=(0,$.default)(v,{compact:!0})),this.isTwin()?this.chartController.displayTwinMessage(v):this.chartController.displayMessage(v)},chartController:null,laneSettings:null,timeExtent:null,yExtent:null,updateGraph:function updateGraph(){if(this.dataManager){var v=this.dataManager.get("fields"),m=this.dataManager.get("data"),b=this.getYIndices(v);if(m instanceof Array&&v instanceof Array&&v.length>0&&m.length>0&&null!==this.timeExtent&&null!==this.yExtent&&b.length>0){this.displayMessage("empty"),z.select(this.$el.get(0)).attr("opacity","1"),"yes"===this.laneSettings.get("hideGraph")&&this.chartController.hideGraph();var M=this.isTwin()?this.chartController.twinTimeScale:this.chartController.timeScale,N=this.isTwin()?this.chartController.twinYScale:this.chartController.yScale;this.renderGraph(v,m,M,N)}else this._renderNoData(v,m,b)}},getTimeExtent:function getTimeExtent(v,m){var b=[];if(this.timeExtentIso=[],v&&m.length){var M=(0,U.default)(v,"_time");b=z.extent(m,function(v){return(0,ie.toJsDateNumeric)(v[M],this.getTimeInIso)}.bind(this)),this.timeExtentIso=z.extent(m,(function(v){return v[M]}));var N=(0,re.getSpan)(v,m);b[1]=b[1]+N,(0,G.default)(this.timeExtentIso[0])&&(0,G.default)(this.timeExtentIso[1])?(this.timeExtentIso[0]=(0,ie.convertDateToSplunkIsostring)(new Date(1e3*b[0]),this.userTzOffsetSec,this.getTimeInIso),this.timeExtentIso[1]=(0,ie.convertDateToSplunkIsostring)(new Date(1e3*b[1]),this.userTzOffsetSec,this.getTimeInIso)):this.timeExtentIso[1]=(0,ie.addSpanToIso)(this.timeExtentIso[1],N)}else{var W,$,q,ee,ne=this.chartController.laneController;if(ne)if(ne.controllerState.get("maxWindowedPlotDomain")&&ne.controllerState.get("minWindowedPlotDomain"))this.getTimeInIso?(W=this.isTwin()?ne.controllerState.get("twinMinWindowedPlotDomain"):ne.controllerState.get("minWindowedPlotDomain"),q=(0,ie.convertDateToSplunkIsostring)(new Date(1e3*W),this.userTzOffsetSec,this.getTimeInIso),$=this.isTwin()?ne.controllerState.get("twinMaxWindowedPlotDomain"):ne.controllerState.get("maxWindowedPlotDomain"),ee=(0,ie.convertDateToSplunkIsostring)(new Date(1e3*$),this.userTzOffsetSec,this.getTimeInIso)):(W=this.isTwin()?ne.controllerState.get("twinMinWindowedPlotDomain"):ne.controllerState.get("minWindowedPlotDomain"),$=this.isTwin()?ne.controllerState.get("twinMaxWindowedPlotDomain"):ne.controllerState.get("maxWindowedPlotDomain")),(0,te.isNumeric)(W)&&(0,te.isNumeric)($)&&(b=[W,$],this.timeExtentIso=[q,ee]);else if(this._deepDiveTimeRangePicker&&this._deepDiveTimeRangePicker.timepicker&&ne._deepDiveTimeRangePicker.timepicker.model){var ae=ne._deepDiveTimeRangePicker.timepicker.model.timeRange;this.getTimeInIso?(W=this.isTwin()?ne._twinsiesTimeSpec.earliestTime:(0,ie.toJsDateNumeric)(ae.get("earliest_iso"),this.getTimeInIso),$=this.isTwin()?ne._twinsiesTimeSpec.latestTime:(0,ie.toJsDateNumeric)(ae.get("latest_iso"),this.getTimeInIso),q=(0,ie.convertDateToSplunkIsostring)(new Date(1e3*W),this.userTzOffsetSec,this.getTimeInIso),ee=(0,ie.convertDateToSplunkIsostring)(new Date(1e3*$),this.userTzOffsetSec,this.getTimeInIso),(0,te.isNumeric)(W)&&(0,te.isNumeric)($)&&!this.isTwin()&&(b=[W,$],this.timeExtentIso=[q,ee])):(W=this.isTwin()?ne._twinsiesTimeSpec.earliestTime:ae.get("earliest_epoch"),$=this.isTwin()?ne._twinsiesTimeSpec.latestTime:ae.get("latest_epoch"),(0,te.isNumeric)(W)&&(0,te.isNumeric)($)&&(b=[W,$]))}}return b},getYExtent:function getYExtent(v,m){var b=this.getYIndices(v),M=function validateY(v,m){return(0,N.contains)(b,m)&&(0,te.isNumeric)(v)?Number(v):void 0},W=z.max(m,(function(v){return z.max(v,M)}));return[z.min(m,(function(v){return z.min(v,M)})),W]},getYIndices:function getYIndices(v){var m=this.laneSettings.get("graphSeries"),b=-1,M=[],z=this.laneSettings.get("kpiId"),$=this.laneSettings.get("excludeFields")||[];return null!=m&&("distributionStream"===this.laneSettings.get("graphType")?(0,W.default)(v,(function(v,m){0!==v.indexOf("_")&&v.indexOf(z)>-1&&!(0,N.contains)($,v)&&v.indexOf("VALUE_")<0&&M.push(m)})):-1!==(b=(0,U.default)(v,m))&&M.push(b)),-1===b&&"distributionStream"!==this.laneSettings.get("graphType")&&"yes"!==this.laneSettings.get("kpiAddToSummary")&&(0,W.default)(v,(function(v,m){0!==v.indexOf("_")&&!(0,N.contains)($,v)&&v.indexOf("VALUE_")<0&&M.push(m)})),M},calculateYInfo:function calculateYInfo(v,m){var b={},M=this.dataManager.get("fields"),z=this.dataManager.get("data");if(z instanceof Array){var W,$=(0,U.default)(M,"_time"),q=(0,N.sortedIndex)(z,v,function(v){return v instanceof Array?(0,ie.toJsDateNumeric)(v[$],this.getTimeInIso):Number(v)}.bind(this))-1;if(-1===q)W=[];else{var G=z[q];W=(0,ee.default)(this.getYIndices(M),(function(v){return{value:G[v],label:M[v]}}))}b.yValue=W,b.yScale=m,b.yExtent=m.domain(),b.canRender=!0}else b.yValue=[],b.Scale=void 0,b.yExtent=[void 0,void 0],b.canRender=!1;return b},getTimeBucketForTimeValue:function getTimeBucketForTimeValue(v){var m=this.dataManager.get("fields"),b=this.dataManager.get("data"),M=[null,null];if(b instanceof Array&&b.length>0){var z=(0,U.default)(m,"_time"),W=(0,N.sortedIndex)(b,v,function(v){return v instanceof Array?(0,ie.toJsDateNumeric)(v[z],this.getTimeInIso):Number(v)}.bind(this))-1;if(W>-1&&z>-1){var $=(0,ie.toJsDateNumeric)(b[W][z],this.getTimeInIso);M=[$,$+(0,re.getSpan)(m,b)]}}return M},renderGraph:function renderGraph(){throw"BaseGraphView:"+this.id+" renderGraph not implemented"},_renderNoData:function _renderNoData(v,m,b){var M=this.getTimeExtent(v,m);this.timeExtent=M,this.chartController.updateTimeScale(),z.select(this.$el.get(0)).attr("opacity","1e-6"),this.dataManager._isJobDone||(0,q.default)(b)?this.renderNoResults():this.renderProgress()},destroy:function destroy(){this.unsetDataManager(),this.chartController.deregisterGraph(this.id),this.stopListening(),this.chartController=null,this.laneSettings=null,this.clear()},clear:function clear(){this.$el.children().remove()},getColor:function getColor(v){var m=this.laneSettings.get("graphColor");if("AUTO"===m)if((0,te.isNumeric)(v)){var b=v%ne.COLORS_ARRAY.length;m=ne.COLORS_ARRAY[b]}else m=this.chartController.getColor();return this.isTwin()?z.rgb(m).darker().toString():m},isTwin:function isTwin(){return this._isTwin}});m.default=se;v.exports=m.default},1059:function(v,m,b){(m=b(36)(!1)).push([v.i,".application-page-sub-header {\n\tbackground: #f2f4f5; /* theme.backgroundColorHover */\n\tmin-height: 40px;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tborder-bottom: 1px solid #c3cbd4; /* theme.borderColor */\n\tpadding-left: 20px;\n\tposition: relative;\n}\n\n.application-page-sub-header-container {\n\tcolor: #006eaa; /* theme.linkColor */\n}\n\n",""]),v.exports=m},1060:function(v,m,b){(m=b(36)(!1)).push([v.i,".deep-dive-kpi-listing-container .severity-tiles-body {\n\tpadding-top: 0;\n}\n\n.deep-dive-kpi-listing-container .severity-tiles-title {\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\twhite-space: nowrap;\n\tdisplay: inline-block;\n\tmax-width: 100%;\n\tvertical-align: middle;\n}\n\n.deep-dive-severity-tile-view {\n\tmargin: 10px;\n\tmargin-left: 0;\n\tdisplay: inline-block;\n\tborder: 1px solid #c3cbd4; /* theme.borderColor */\n\theight: 70px;\n\twidth: 318px;\n\twhite-space: nowrap;\n}\n\n.deep-dive-severity-tile-add-container {\n\tfloat: left;\n\tdisplay: block;\n\tmargin-left: 1px;\n\tmargin-top: 1px;\n\tborder-right: 1px solid #c3cbd4; /* theme.borderColor */\n\theight: 70px;\n\twidth: 30px;\n}\n\n.deep-dive-severity-tile-selector-container {\n\tmargin-left: 3px;\n\tmargin-top: 1px;\n\tmargin-right: 6px;\n\tfloat: left;\n}\n.deep-dive-severity-tile-delete-container {\n\tdisplay: inline;\n\tpadding-left: 5px;\n}\n.deep-dive-severity-tile-delete-container-ellipsis {\n\tfloat: right;\n\tmargin-right: 5px;\n}\n.deep-dive-severity-tile-header {\n\tfloat: left;\n\tfont-weight: 200;\n\twidth: 231px;\n\theight: 20px;\n\tdisplay: block;\n\tpadding-top: 5px;\n\tpadding-bottom: 5px;\n}\n\n.deep-dive-severity-tile-title {\n\tmargin-left: 18px;\n\tfont-size: 12px;\n\tfont-weight: 400;\n\twhite-space: nowrap;\n}\n\n.deep-dive-severity-tile-text{\n\tdisplay: inline-block;\n\twidth: 55px;\n\theight: 70px;\n\twhite-space: normal;\n}\n\n.deep-dive-severity-tile-value {\n\tmargin-top: 22px;\n\tmargin-left: 15px;\n\tdisplay: inline-block;\n\tfont-size: 14px;\n\tfont-weight: 400;\n}\n\n.deep-dive-severity-tile-suffix {\n\tdisplay: inline-block;\n\tpadding-left: 10px;\n}\n\n.deep-dive-severity-tile-unit-text {\n\twidth: 30px;\n\tfont-size: 11px;\n\tdisplay: inline;\n}\n\n.deep-dive-severity-tile-sparkline-container {\n\tdisplay: block;\n\tfloat: left;\n\twidth: 231px;\n\theight: 40px;\n}\n\n.deep-dive-severity-tile-sparkline-stage {\n\twidth: 220px;\n\theight: 30px;\n\tmargin: 5px;\n}\n\n.deep-dive-severity-tile-truncate-ellipsis {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twidth: 190px;\n\tdisplay: inline-block;\n}\n\n.dark.deep-dive-severity-tile-view .deep-dive-severity-tile-title,\n.dark.deep-dive-severity-tile-view. deep-dive-severity-tile-value,\n.dark.deep-dive-severity-tile-view .deep-dive-severity-tile-suffix,\n.dark.deep-dive-severity-tile-view .deep-dive-severity-tile-unit-text {\n\tcolor: #3c444d; /* theme.textColor */\n}\n\n.light-contrasted.deep-dive-severity-tile-view .deep-dive-severity-tile-title,\n.light-contrasted.deep-dive-severity-tile-view .deep-dive-severity-tile-value,\n.light-contrasted.deep-dive-severity-tile-view .deep-dive-severity-tile-suffix,\n.light-contrasted.deep-dive-severity-tile-view .deep-dive-severity-tile-unit-text {\n\tcolor: #000000;\n}\n\n.light.deep-dive-severity-tile-view .deep-dive-severity-tile-title,\n.light.deep-dive-severity-tile-view .deep-dive-severity-tile-value,\n.light.deep-dive-severity-tile-view .deep-dive-severity-tile-suffix,\n.light.deep-dive-severity-tile-view .deep-dive-severity-tile-unit-text {\n\tcolor: #FFFFFF; /* theme.backgroundColor */\n}\n\n",""]),v.exports=m},1061:function(v,m,b){(m=b(36)(!1)).push([v.i,".severity-tiles-header {\n\tpadding-left: 20px;\n}\n\n.severity-tiles-body {\n\tpadding: 20px;\n}\n\n.severity-tiles-selection-controls {\n\tfont-size: 14px;\n\tfloat: right;\n\tpadding-right: 10px;\n}\n\n.severity-tiles-selection-drilldown {\n\tmargin-right: 15px;\n}\n",""]),v.exports=m},1591:function(v,m,b){(()=>{"use strict";var m={n:v=>{var b=v&&v.__esModule?()=>v.default:()=>v;return m.d(b,{a:b}),b},d:(v,b)=>{for(var M in b)m.o(b,M)&&!m.o(v,M)&&Object.defineProperty(v,M,{enumerable:!0,get:b[M]})},o:(v,m)=>Object.prototype.hasOwnProperty.call(v,m),r:v=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})}},M={};m.r(M),m.d(M,{default:()=>te});const z=b(0);var N=m.n(z);const W=b(104);var $=m.n(W);const U=b(106);function u(v,m){if(null==v)return{};var b,M,z=function i(v,m){if(null==v)return{};var b,M,z={},N=Object.keys(v);for(M=0;M=0||(z[b]=v[b]);return z}(v,m);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(v);for(M=0;M=0||Object.prototype.propertyIsEnumerable.call(v,b)&&(z[b]=v[b])}return z}var q=new Map;q.set("outlined",(function(){return N().createElement(N().Fragment,null,N().createElement("path",{d:"M10.5858 14L9.2929 15.2929C8.90237 15.6834 8.90237 16.3166 9.2929 16.7071C9.68342 17.0976 10.3166 17.0976 10.7071 16.7071L12 15.4142L13.2929 16.7071C13.6834 17.0976 14.3166 17.0976 14.7071 16.7071C15.0976 16.3166 15.0976 15.6834 14.7071 15.2929L13.4142 14L14.7071 12.7071C15.0976 12.3166 15.0976 11.6834 14.7071 11.2929C14.3166 10.9024 13.6834 10.9024 13.2929 11.2929L12 12.5858L10.7071 11.2929C10.3166 10.9024 9.68342 10.9024 9.29289 11.2929C8.90237 11.6834 8.90237 12.3166 9.29289 12.7071L10.5858 14Z"}),N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6H20C20.5523 6 21 6.44772 21 7C21 7.55228 20.5523 8 20 8H19V20.5C19 21.3284 18.3284 22 17.5 22H6.5C5.67157 22 5 21.3284 5 20.5V8H4C3.44772 8 3 7.55228 3 7C3 6.44772 3.44772 6 4 6H8V3.5C8 2.67157 8.67157 2 9.5 2H14.5C15.3284 2 16 2.67157 16 3.5V6ZM10 4V6H14V4H10ZM7 8V20H17V8H7Z"}))})),q.set("filled",(function(){return N().createElement(N().Fragment,null,N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 6V3.5C16 2.67157 15.3284 2 14.5 2H9.5C8.67157 2 8 2.67157 8 3.5V6H4C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8H5V20.5C5 21.3284 5.67157 22 6.5 22H17.5C18.3284 22 19 21.3284 19 20.5V8H20C20.5523 8 21 7.55228 21 7C21 6.44772 20.5523 6 20 6H16ZM10 6V4H14V6H10ZM12 12.5859L10.7071 11.293C10.3166 10.9025 9.68342 10.9025 9.29289 11.293C8.90237 11.6835 8.90237 12.3167 9.29289 12.7072L10.5858 14.0001L9.2929 15.293C8.90237 15.6835 8.90237 16.3167 9.2929 16.7072C9.68342 17.0978 10.3166 17.0978 10.7071 16.7072L12 15.4143L13.2929 16.7072C13.6834 17.0978 14.3166 17.0978 14.7071 16.7072C15.0976 16.3167 15.0976 15.6835 14.7071 15.293L13.4142 14.0001L14.7071 12.7072C15.0976 12.3167 15.0976 11.6835 14.7071 11.293C14.3166 10.9025 13.6834 10.9025 13.2929 11.293L12 12.5859Z"}))}));var G=["default","outlined","filled"],ee=function e(v){return"default"===v||v&&!function e(v){return G.indexOf(v)>=0}(v)?"outlined":v};const te=function e(v){var m=v.children,b=v.variant,M=void 0===b?"default":b,W=u(v,["children","variant"]),G=ee(M),te="trashcancross-".concat(G),ie=(0,z.useContext)(U.IconContext),ne=q.get(G);if(ie&&ne){var ae=ie.toRender;if((0,ie.addIcon)(te,ne()),!ae)return null}return N().createElement($(),W,m,ie?N().createElement("use",{href:"#".concat(te)}):!!ne&&ne())};v.exports=M})()},1770:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15)).default.Model.extend({defaults:{title:"",description:"",earliest:"",latest:""}});m.default=z;v.exports=m.default},1771:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15)),N=b(4),W=z.default.View.extend({dataTestItsi:"deep-dive-action-placeholder",isExternal:!1,isAddLane:!1,label:(0,N.gettext)("Action"),initialize:function initialize(){},doAction:function doAction(){throw"DeepDiveBaseActionView instance doAction method must be overloaded!"}});m.default=W;v.exports=m.default},1772:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(7)),N=M(b(32));b(6795);var W,$=function _interopRequireWildcard(v,m){if(!m&&v&&v.__esModule)return v;if(null===v||"object"!=typeof v&&"function"!=typeof v)return{default:v};var b=_getRequireWildcardCache(m);if(b&&b.has(v))return b.get(v);var M={__proto__:null},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if("default"!==N&&{}.hasOwnProperty.call(v,N)){var W=z?Object.getOwnPropertyDescriptor(v,N):null;W&&(W.get||W.set)?Object.defineProperty(M,N,W):M[N]=v[N]}return M.default=v,b&&b.set(v,M),M}(b(166)),U=b(45),q=M(b(94)),G=M(b(37)),ee=M(b(273)),te=M(b(63)),ie=M(b(50)),ne=M(b(15)),ae=M(b(0)),re=M(b(35)),se=M(b(2)),le=b(4),oe=b(14),de=M(b(89)),ce=b(22),he=b(29),ue=b(78),pe=b(110),fe=b(67),ge=b(232),ve=b(527),me=M(b(3769)),_e=M(b(1034)),ye=b(188),be=M(b(88)),Se=M(b(111)),we=M(b(47)),xe=M(b(2446)),Te=M(b(2443)),ke=b(495),De=M(b(494)),Me=M(b(6798)),Ie=M(b(6799)),Ce=M(b(6800)),Oe=M(b(6801)),Ae=M(b(6802)),Ee=M(b(6803)),Pe=M(b(6804)),Le=M(b(6805)),Re=M(b(6806)),ze=M(b(6807)),Ne=M(b(6808)),je=M(b(6809)),Ve=M(b(6810)),Be=M(b(6818));function _getRequireWildcardCache(v){if("function"!=typeof WeakMap)return null;var m=new WeakMap,b=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?b:m})(v)}b(6819);var We=(0,se.default)(de.default)(W||(W=(0,z.default)(['\n\t& [data-test="toggle"] {\n\t\tcolor: ',";\n\t\ttext-overflow: ellipsis;\n\t\toverflow: hidden;\n\t\tfont-style: ",";\n\t\tfont-size: ",";\n\t\twidth: ",";\n\t\twhite-space: nowrap;\n\t}\n"])),v=>v.isTitle?ce.variables.gray22:ce.variables.textGray,v=>v.isTitle?"normal":"italic",v=>v.isTitle?"15px":"12px",v=>v.isTitle?"150px":"200px"),He={line:Pe.default,area:Le.default,column:Re.default,distributionStream:ze.default,heatMap:Ne.default},Fe={metric:Me.default,kpi:Me.default,event:Ie.default,entity:Me.default,distributionStream:Ce.default,alert:Ae.default},$e={small:"deep-dive-lane-size-small",medium:"deep-dive-lane-size-medium",large:"deep-dive-lane-size-large"},Ue=me.default.extend({initialize:function initialize(v){if(me.default.prototype.initialize.apply(this,arguments),this.getTimeInIso=!0,this.deepDiveCacheInstance=Te.default.getInstance(),v.laneSettings instanceof De.default?this.laneSettings=v.laneSettings:v.laneSettings instanceof Object?this.laneSettings=new De.default(v.laneSettings,{}):this.laneSettings=new De.default({},{}),this.laneOverlaySettings=this.laneSettings.get("laneOverlaySettingsModel"),this.listenTo(this.laneSettings,"change:verticalAxisScale change:verticalAxisBoundaryType change:verticalAxisStaticBounds change:dataGaps",this._onGraphRenderingOptionsChange),null!==v.laneController&&void 0!==v.laneController?(this.laneController=v.laneController,this.listenTo(this.laneController.controllerState,"change:minPlotDomain change:maxPlotDomain",this.renderGraphs)):this.laneController=null,!(v.subheaderView instanceof xe.default))throw"Should pass the reference to the sub header view";this.subHeaderView=v.subheaderView,this._ddDispatcher=v.ddDispatcher,this.yScale=null,this.timeScale=null,this._graphManifest={},this._bodySize={height:0,width:0},this.twinDataManager=null,this.overlayDataManager=null,this.twinOverlayDataManager=null,this._tipView=null,this._drilldownView=null,this.kpiFetchDfd=null,this.selectionModel||(this.selectionModel=new ne.default.Model,this.selectionModel.set("checked",!1)),this.listenTo(this.selectionModel,"change",this.onSelectionToggle)},render:function render(){this.$el.html(Be.default),this._$messageContainer=this.$(".deep-dive-lane-messages.deep-dive-lane-messages-primary"),this._$messageContainerTwin=this.$(".deep-dive-lane-messages.deep-dive-lane-messages-twin"),this.createGraph(),this.onResize(),this.laneController&&this._renderLaneSelectionControls(),this._detailsView=null;var v=(0,q.default)(this.onResize,150);(0,N.default)(window).resize(v.bind(this))},_renderLaneSelectionControls:function _renderLaneSelectionControls(){this.laneSettings.get("isAccessDenied")||(this.laneSelectionControl=new be.default({controlType:"SyntheticCheckbox",controlOptions:{dataTestItsi:"deep-dive-selection-switch",listenForModelChanges:!0,model:this.selectionModel,modelAttribute:"checked"},hasControlGroup:!1}),this.$(".deep-dive-lane-selection-container").append(this.laneSelectionControl.render().el));var v=!1;(0,G.default)(this.laneController._laneViewManifest,(function(m){m.selectionModel.get("checked")&&(v=!0)})),v&&(this.subHeaderView.subheaderBulkActionsModel.get("checked")&&this.selectionModel.set("checked",!0),this.$(".deep-dive-lane-selection-container").show())},events:{"mouseover .deep-dive-lane-header, .deep-dive-lane-handle":"onMouseoverTitle","mouseover .deep-dive-lane-messages":"onMouseoverMessages","mouseout .deep-dive-lane-header, .deep-dive-lane-handle":"onMouseoutTitle","click .deep-dive-lane-chart":"onLaneChartClick","click .deep-dive-lane-messages":"onLaneChartClick"},remove:function remove(){return this._clearDrilldownView(),me.default.prototype.remove.apply(this,arguments)},onMouseoverMessages:function onMouseoverMessages(v){v.stopPropagation()},onMouseoverTitle:function onMouseoverTitle(){this.$(".deep-dive-lane-actions-container").show(),this.$(".deep-dive-lane-handle").show(),this.$(".deep-dive-lane-selection-container").show()},onMouseoutTitle:function onMouseoutTitle(){document.querySelector('[data-test-itsi="deep-dive-lane-actions-dropdown-menu"]')||this.$(".deep-dive-lane-actions-container").hide(),this.$(".deep-dive-lane-handle").hide();var v=!1;(0,G.default)(this.laneController._laneViewManifest,(function(m){m.selectionModel.get("checked")&&(v=!0)})),this.selectionModel.get("checked")||v||this.$(".deep-dive-lane-selection-container").hide()},onLaneChartClick:function onLaneChartClick(v){if(!this.laneSettings.get("isAccessDenied")){var m,b,M=this.clearDrilldownHighlight(),z=$.pointer(v,v.currentTarget);(0,N.default)(v.currentTarget).attr("class").indexOf("deep-dive-lane-chart-primary")>-1||(0,N.default)(v.currentTarget).hasClass("deep-dive-lane-messages-primary")?(m=this._graphView,b=this.timeScale):(m=this._twinGraphView,b=this.twinTimeScale);var W=b.invert(z[0]),U=m.getTimeBucketForTimeValue(W),q={};"kpi"===this.laneSettings.get("laneType")&&"yes"===this.laneOverlaySettings.get("isEnabled")&&"anomaly"===this.laneOverlaySettings.get("overlayType")&&(q=this.getBucketData(U)),null!==U[0]&&null!==U[1]&&N.default.when(M).done(function(){this.userTimezoneOffsetSec=(0,fe.getUserTimezoneOffset)("sec");var v=this,M=m.isTwin()?this.$(".deep-dive-lane-chart.deep-dive-lane-chart-twin").get(0):this.$(".deep-dive-lane-chart.deep-dive-lane-chart-primary").get(0),z=[{xCoordinates:(0,ie.default)(U,function(v){return b(v)}.bind(this)),yCoordinates:this.yScale.range(),bucket_timerange:U,timerange:b.domain(),bucketData:q}],W=$.select(M).select("g.deep-dive-lane-drilldown-highlight-container").selectAll("rect.deep-dive-drilldown-highlight").data(z);W.enter().append("rect").attr("class","deep-dive-drilldown-highlight").merge(W).attr("data-test-itsi","deep-dive-drilldown-highlight").attr("fill",ye.linkColor).attr("stroke",ye.linkColorHover).attr("stroke-width",1).attr("opacity",.4).attr("height",0).attr("width",(function(v){return v.xCoordinates[1]-v.xCoordinates[0]})).attr("y",(function(v){return v.yCoordinates[1]})).attr("x",(function(v){return v.xCoordinates[0]})).transition().duration(100).attr("height",(function(v){return v.yCoordinates[0]-v.yCoordinates[1]})).on("end",(function(m){var b=JSON.parse(JSON.stringify(m)),M=(0,fe.convertDateToSplunkIsostring)(new Date(1e3*m.bucket_timerange[0]),v.userTimezoneOffsetSec,!0),z=(0,fe.convertDateToSplunkIsostring)(new Date(1e3*m.bucket_timerange[1]),v.userTimezoneOffsetSec,!0);b.bucket_timerange[0]=(0,fe.convertIsoStringToEpoch)(M,!0),b.bucket_timerange[1]=(0,fe.convertIsoStringToEpoch)(z,!0);var W=(0,fe.convertDateToSplunkIsostring)(new Date(1e3*m.timerange[0]),v.userTimezoneOffsetSec,!0),$=(0,fe.convertDateToSplunkIsostring)(new Date(1e3*m.timerange[1]),v.userTimezoneOffsetSec,!0);b.timerange[0]=(0,fe.convertIsoStringToEpoch)(W,!0),b.timerange[1]=(0,fe.convertIsoStringToEpoch)($,!0),v._drilldownView=new Ve.default({$target:(0,N.default)(this),lane:v,laneController:v.laneController,bucketInfo:b}),v._drilldownView.render()})),W.exit().remove()}.bind(this)).fail((function(){}))}},_clearDrilldownView:function _clearDrilldownView(){if(this._drilldownView instanceof Ve.default){var v=this._drilldownView;this._drilldownView=null,v.remove()}},clearDrilldownHighlight:function clearDrilldownHighlight(){var v=N.default.Deferred(),m=$.selectAll("rect.deep-dive-drilldown-highlight");return m.empty()?v.resolve():m.transition().duration(100).attr("height",0).remove().on("end",(function(){v.resolve()})),this._clearDrilldownView(),v},onSelectionToggle:function onSelectionToggle(){this._ddDispatcher.trigger("clickIndividualCheckbox","individual"),this.laneController&&this.laneController.onSelectionToggle("individual")},laneSettings:null,_graphView:null,_bodySize:{height:0,width:0},onResize:function onResize(){var v=this.$(".deep-dive-lane"),m=Math.floor(v.width()-(ge.BASE_LANE_HEADER_WIDTH+ge.BASE_LANE_HEADER_BORDER_WIDTH));this._bodySize.height=ge.SIZE_HEIGHT_BY_SETTING[this.laneSettings.get("laneSize")],this._bodySize.width=m,this.renderGraphs()},_onGraphRenderingOptionsChange:function _onGraphRenderingOptionsChange(){this.renderGraphs(!0)},_getThresholds:function _getThresholds(){var v=this,m=N.default.Deferred();return this.deepDiveCacheInstance.getServicePromise(this.laneSettings.get("kpiServiceId")).then(b=>{var M=v.laneSettings.get("kpiId"),z=b.get("kpis").get(M).clone();m.resolve(z)}).catch(()=>{m.reject()}),this.kpiFetchDfd=m,this.kpiFetchDfd},_displayLevelIndicationThresholds:function _displayLevelIndicationThresholds(v){var m;m="kpi"===this.laneSettings.get("laneType")&&"distributionStream"===this.laneSettings.get("graphType")||"entity"===this.laneSettings.get("laneType")?"entity_thresholds":"aggregate_thresholds";var b=v.get(m).getBucketData(),M=this,z=$.select(this.$el.get(0));z.selectAll("rect.deep-dive-lane-threshold-state-indication-rect").remove(),z.selectAll("g.deep-dive-lane-time-variant-level-indication").remove(),z.selectAll("rect.deep-dive-lane-time-variant-state-indication-rect").remove();var N=z.select("g.deep-dive-lane-threshold-level-indication").selectAll("rect.deep-dive-lane-threshold-level-indication-rect").data(b,(function(v){return v.cid}));if(N.enter().append("rect").attr("class","deep-dive-lane-threshold-level-indication-rect").merge(N).attr("data-test-itsi","deep-dive-lane-threshold-level-indication-rect").attr("fill",ye.backgroundColor).attr("width",Math.abs(M._bodySize.width)).attr("y",(function(v,m){var z=M.laneSettings.get("verticalAxisStaticBounds");return m=v.rangeMin&&z[0]<=v.rangeMax?0:M.yScale(v.rangeMax)||0:z[0]===z[1]&&0!==z[0]&&z[0]>=v.rangeMin&&z[0]<=v.rangeMax?0:"__BASE_BUCKET__"!==v.cid&&v.rangeMax>$.max(M.laneSettings.get("verticalAxisStaticBounds"))&&$.max(M.laneSettings.get("verticalAxisStaticBounds"))$.max(M.laneSettings.get("verticalAxisStaticBounds"))&&$.max(M.laneSettings.get("verticalAxisStaticBounds"))$.max(M.laneSettings.get("verticalAxisStaticBounds"))&&$.max(M.laneSettings.get("verticalAxisStaticBounds"))$.max(z.laneSettings.get("verticalAxisStaticBounds"))&&$.max(z.laneSettings.get("verticalAxisStaticBounds"))193&&(v.addClass("deep-dive-lane-truncate-ellipsis"),m&&v.height(20),re.default.unmountComponentAtNode(v.get(0)),re.default.render(ae.default.createElement(we.default,null,ae.default.createElement(We,{content:b,isTitle:m,"data-test-itsi":m?"deep-dive-lane-title-tooltip":"deep-dive-lane-subtitle-tooltip"},ae.default.createElement("span",null,b))),v.get(0)))}this.$(".deep-dive-lane-title > span").hasClass("deep-dive-lane-truncate-ellipsis")&&re.default.unmountComponentAtNode(this.$(".deep-dive-lane-title > span").get(0));var m=this.$(".deep-dive-lane-title > span").text(v).removeClass("deep-dive-lane-truncate-ellipsis");this.$(".deep-dive-lane-subtitle > span").hasClass("deep-dive-lane-truncate-ellipsis")&&re.default.unmountComponentAtNode(this.$(".deep-dive-lane-subtitle > span").get(0));var b=this.$(".deep-dive-lane-subtitle > span").text(this.laneSettings.get("subtitle")).removeClass("deep-dive-lane-truncate-ellipsis");this.$el.attr("aria-label",this.buildLaneAriaLabel()),checkTextWidth(m,!0,v),checkTextWidth(b,!1,this.laneSettings.get("subtitle")),this.updateLaneStyleAndRender()},buildLaneAriaLabel:function buildLaneAriaLabel(){var v=this.laneSettings.get("title"),m=this.laneSettings.get("subtitle"),b=null;switch(this.laneSettings.get("laneType")){case"entity":b=m?(0,oe.sprintf)((0,le.gettext)("Entity lane with title %(title)s and subtitle %(subTitle)s"),{title:v,subTitle:m}):(0,oe.sprintf)((0,le.gettext)("Entity lane with title %(title)s and no subtitle"),{title:v});break;case"kpi":b=(0,oe.sprintf)((0,le.gettext)("KPI lane for %(kpiTitle)s KPI of %(serviceName)s service"),{kpiTitle:this.laneSettings.get("kpiTitle"),serviceName:m});break;case"metric":b=m?(0,oe.sprintf)((0,le.gettext)("Metric lane with title %(title)s and subtitle %(subTitle)s"),{title:v,subTitle:m}):(0,oe.sprintf)((0,le.gettext)("Metric lane with title %(title)s and no subtitle"),{title:v});break;default:b=m?(0,oe.sprintf)((0,le.gettext)("Event lane with title %(title)s and subtitle %(subTitle)s"),{title:v,subTitle:m}):(0,oe.sprintf)((0,le.gettext)("Event lane with title %(title)s and no subtitle"),{title:v})}return b},updateLaneStyleAndRender:function updateLaneStyleAndRender(){var v,m=$e[this.laneSettings.get("laneSize")];this.$(".deep-dive-lane").hasClass($e.small)?v=$e.small:this.$(".deep-dive-lane").hasClass($e.medium)?v=$e.medium:this.$(".deep-dive-lane").hasClass($e.large)&&(v=$e.large),v!==m&&v&&m&&(this.$(".deep-dive-lane").switchClass(v,m,{duration:100,complete:function(){this.laneController&&this.laneController.lazyOnResize()}.bind(this)}),this.onResize(),this.renderGraphs())},createGraph:function createGraph(){var v=this.id,m=function createGraphForType(m,b){if(!Object.prototype.hasOwnProperty.call(He,m))throw"DeepDiveLane: "+v+" received an unknown/invalid graphType of "+m;return new He[m](b)};this._destroyGraphs();var b=this.laneSettings.get("graphType"),M={el:this.$(".deep-dive-lane-chart-primary .deep-dive-lane-graph"),laneSettings:this.laneSettings,dataManager:this.dataManager,chartController:this,isTwin:!1};if(this._graphView=m(b,M),this._graphView.render(),this.isTwinActive()){var z={el:this.$(".deep-dive-lane-chart-twin .deep-dive-lane-graph"),laneSettings:this.laneSettings,dataManager:this.twinDataManager,chartController:this,isTwin:!0};this._twinGraphView=m(b,z),this._twinGraphView.render()}this.laneSettings.get("isAccessDenied")||"yes"===this.laneOverlaySettings.get("isEnabled")&&"entity"!==this.laneSettings.get("laneType")&&this.laneController.renderOverlayGraphs(this.id)},_destroyGraphs:function _destroyGraphs(){var v=(0,te.default)(this._graphManifest);(0,G.default)(v,function(v){this._graphManifest[v].destroy()}.bind(this)),this._graphView=null,this._overlayGraphView=null,this._twinGraphView=null,this._twinOverlayGraphView=null},registerGraph:function registerGraph(v,m){"string"!=typeof v&&(v=(m=v).id),this._graphManifest[v]=m},deregisterGraph:function deregisterGraph(v){if(!Object.prototype.hasOwnProperty.call(this._graphManifest,v))throw"DeepDiveLane: "+this.id+" cannot deregister graph, graph is not registered graphId="+v;delete this._graphManifest[v]},renderGraphs:function renderGraphs(v){var m={domainChanged:!1,rangeChanged:!1,dataChanged:!1},b=this.timeScale||$.scaleLinear().domain([null,null]).range([null,null]),M=this.yScale||$.scaleLinear().domain([null,null]).range([null,null]);this.updateTimeScale(),this.updateYScale();var z=this;!0===v?m.dataChanged=!0:(m.domainChanged=!(0,ke.areArraysIdentical)(b.domain(),this.timeScale.domain())||!(0,ke.areArraysIdentical)(b.range(),this.timeScale.range()),m.rangeChanged=!(0,ke.areArraysIdentical)(M.domain(),this.yScale.domain())||!(0,ke.areArraysIdentical)(M.range(),this.yScale.range()));var N=(0,U.all)(this.timeScale.domain(),he.isNumeric)&&((0,U.all)(this.yScale.domain(),he.isNumeric)||(0,U.any)(this._graphManifest,(function(v){return v instanceof Ee.default})));"enabled"===this.laneSettings.get("thresholdIndicationEnabled")&&this.renderGraphDecorations(),(0,U.any)(m)&&N&&((0,G.default)(this._graphManifest,(function(v){"event"===v.laneSettings.get("laneType")&&m.dataChanged&&z.hideDetails(),v.updateGraph()})),this.clearDrilldownHighlight())},updateYScale:function updateYScale(){var v,m,b=[this._bodySize.height,0];if("staticValue"===this.laneSettings.get("verticalAxisBoundaryType"))v=this.laneSettings.get("verticalAxisStaticBounds");else{var M="zeroValue"===this.laneSettings.get("verticalAxisBoundaryType")?[0]:[];(0,G.default)(this._graphManifest,(function(v){"alert"!==v.laneSettings.get("graphType")&&v.yExtent instanceof Array&&(M=M.concat(v.yExtent))})),v=$.extent(M),this.laneSettings.set({verticalAxisStaticBounds:v},{silent:!0})}return m="log"===this.laneSettings.get("verticalAxisScale")?ke.logScale:$.scaleLinear,this.yScale=m().domain(v).range(b),this.twinYScale=m().domain(v).range(b),this.yScale},updateTimeScale:function updateTimeScale(){var v;return v=null===this.laneController?this.getTimeExtent():this.laneController.getTimeExtent(),this.timeScale=$.scaleLinear().domain(v.primaryTimeExtent).range([0,this._bodySize.width]),this.twinTimeScale=$.scaleLinear().domain(v.twinTimeExtent).range([0,this._bodySize.width]),this.timeScale},getTimeExtent:function getTimeExtent(){var v=[],m=[],b=[],M=[];return(0,G.default)(this._graphManifest,(function(z){z.isTwin()?(m=m.concat(z.timeExtent),M=M.concat(z.timeExtentIso)):(v=v.concat(z.timeExtent),b=b.concat(z.timeExtentIso))})),{primaryTimeExtent:$.extent(v),twinTimeExtent:$.extent(m),primaryTimeExtentIso:$.extent(b),twinTimeExtentIso:$.extent(M)}},getTipView:function getTipView(){return this._tipView&&this._tipView.remove(),"kpi"===this.laneSettings.get("laneType")&&"distributionStream"===this.laneSettings.get("graphType")&&"no"===this.laneOverlaySettings.get("isEnabled")?this._tipView=new Fe.distributionStream({lane:this}):"kpi"===this.laneSettings.get("laneType")&&"yes"===this.laneOverlaySettings.get("isEnabled")&&"entity"===this.laneOverlaySettings.get("overlayType")?this._tipView=new Oe.default({lane:this}):"kpi"===this.laneSettings.get("laneType")&&"yes"===this.laneOverlaySettings.get("isEnabled")&&"anomaly"===this.laneOverlaySettings.get("overlayType")?this._tipView=new Ae.default({lane:this}):this._tipView=new(Fe[this.laneSettings.get("laneType")])({lane:this}),this._tipView},getYInfoForTimePosition:function getYInfoForTimePosition(v){var m=[],b=this.timeScale.invert(v);return m.push(this._graphView.calculateYInfo(b,this.yScale)),this.isTwinActive()&&(b=this.twinTimeScale.invert(v),m.push(this._twinGraphView.calculateYInfo(b,this.twinYScale))),m},getOverlayYInfoForTimePosition:function getOverlayYInfoForTimePosition(v){var m=[],b=this.timeScale.invert(v);return m.push(this._graphView.calculateYInfo(b,this.yScale)),m.push(this._overlayGraphView.calculateYInfo(b,this.yScale)),this.isTwinActive()&&(b=this.twinTimeScale.invert(v),m.push(this._twinGraphView.calculateYInfo(b,this.twinYScale)),m.push(this._twinOverlayGraphView.calculateYInfo(b,this.twinYScale))),m},getColor:function getColor(){return null===this.laneController?ve.COLORS_ARRAY[0]:this.laneController.getColorForLane(this.id)},canRender:function canRender(){return this.yScale instanceof Object&&this.timeScale instanceof Object&&this.dataManager.get("data")instanceof Array&&this.dataManager.get("data").length>0},displayMessage:function displayMessage(v,m){null==m&&(m=this._$messageContainer),m.html("");if("empty"!==v){var{dataTestItsi:b,message:M,level:z}=(0,ue.getSearchProgressMessage)(v,{waiting:"deep-dive-base-lane-loading-message","no-results":"deep-dive-base-lane-no-results-message","unresolved-search":"deep-dive-base-lane-warning-sign-message","no-events":"deep-dive-base-lane-no-events-message","no-time":"deep-dive-base-lane-missing-time-field-message","no-search":"deep-dive-base-lane-no-search-message","no-stats":"deep-dive-base-lane-no-statistical-results-message","not-started":"deep-dive-base-lane-no-search-started-message","waiting-queued":"deep-dive-base-lane-job-queued-message","waiting-preparing":"deep-dive-base-lane-job-preparing-message","permission-denied":"deep-dive-base-lane-permissions-denied-message",error:"deep-dive-base-lane-error-message",cancelled:"deep-dive-base-lane-cancel-message"}),N=new Se.default({content:M,dataTestItsi:b,style:{marginLeft:40},type:z});m.html(N.render().$el)}return this},setDataManager:function setDataManager(v){me.default.prototype.setDataManager.apply(this,arguments);var m=(0,te.default)(this._graphManifest);(0,G.default)(m,function(m){this._graphManifest[m].setDataManager(v)}.bind(this))},unsetDataManager:function unsetDataManager(){me.default.prototype.unsetDataManager.apply(this,arguments);var v=(0,te.default)(this._graphManifest);(0,G.default)(v,function(v){this._graphManifest[v].unsetDataManager()}.bind(this))},renderData:function renderData(){return this},isTwinActive:function isTwinActive(){return null!==this.twinDataManager},activateTwin:function activateTwin(v){this.$(".deep-dive-lane").addClass("deep-dive-twinsies-active").attr("data-test-itsi","deep-dive-twinsies-active"),this.twinDataManager=v,this.listenTo(this.twinDataManager,"change:data",this.renderData),this.createGraph()},deactivateTwin:function deactivateTwin(){this.$(".deep-dive-lane").removeClass("deep-dive-twinsies-active").removeAttr("data-test-itsi"),this.twinDataManager instanceof _e.default&&(this.stopListening(this.twinDataManager),this.twinDataManager.dispose()),this.twinDataManager=null,this.twinOverlayDataManager instanceof _e.default&&(this.stopListening(this.twinOverlayDataManager),this.twinOverlayDataManager.dispose()),this.twinOverlayDataManager=null,this.createGraph()},displayTwinMessage:function displayTwinMessage(v){return this.displayMessage(v,this._$messageContainerTwin)},isOverlayActive:function isOverlayActive(){return this.overlayDataManager instanceof _e.default},activateLaneOverlays:function activateLaneOverlays(v){this.overlayDataManager instanceof _e.default&&(this.stopListening(this.overlayDataManager),this.overlayDataManager.dispose(),this.overlayDataManager=null),this.overlayDataManager=v,this.listenTo(this.overlayDataManager,"change:data",this.renderData);var m=this.laneSettings.get("laneOverlaySettingsModel"),b=m.get("graphType"),M={el:this.$(".deep-dive-lane-chart-primary .deep-dive-lane-overlay"),laneSettings:m,dataManager:this.overlayDataManager,chartController:this,isTwin:!1};this._overlayGraphView="alert"===b?new je.default(M):new Pe.default(M),this._overlayGraphView.render()},activateTwinLaneOverlay:function activateTwinLaneOverlay(v){this.twinOverlayDataManager instanceof _e.default&&(this.stopListening(this.twinOverlayDataManager),this.twinOverlayDataManager.dispose(),this.twinOverlayDataManager=null),this.twinOverlayDataManager=v,this.listenTo(this.twinOverlayDataManager,"change:data",this.renderData);var m=this.laneSettings.get("laneOverlaySettingsModel"),b=m.get("graphType"),M={el:this.$(".deep-dive-lane-chart-twin .deep-dive-lane-overlay"),laneSettings:m,dataManager:this.twinOverlayDataManager,chartController:this,isTwin:!0};this._twinOverlayGraphView="alert"===b?new je.default(M):new Pe.default(M),this._twinOverlayGraphView.render()},disableLaneOverlay:function disableLaneOverlay(){var v="overlay-"+this.id,m=this.laneController._overlayDataManagerManifest[v];m&&(m.dispose(),this.laneController._deregisterOverlayDataManager(v)),this.laneOverlaySettings.set({isEnabled:"no",selectedEntities:[]})},showDetails:function showDetails(v,m){this.laneController._hideLaneInspector(),this.$(".deep-dive-lane").addClass("deep-dive-lane-details-active"),this.$(".deep-dive-lane-details-event-viewer-container").hide(),this.$(".deep-dive-event-view-message-container").hide(),this._detailsView&&!m?(this.$(".deep-dive-lane-details-event-viewer-container").show(),this._detailsView.detailModel.set(v)):(this.$(".deep-dive-event-view-message-container").show(),this.displayMessage("no-events",this.$(".deep-dive-event-view-message-container"))),this.laneController.onResize()},hideDetails:function hideDetails(){this.laneController._hideLaneInspector(),this.$(".deep-dive-lane").removeClass("deep-dive-lane-details-active"),this.laneController.onResize()},isDetailsActive:function isDetailsActive(){return this.$(".deep-dive-lane").hasClass("deep-dive-lane-details-active")},hideGraph:function hideGraph(){this.$(".deep-dive-lane-graph").attr("opacity","1e-6")},showGraph:function showGraph(){this.$(".deep-dive-lane-graph").attr("opacity",1)}});m.default=Ue;v.exports=m.default},1773:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15)).default.View.extend({initValueIfNull:function initValueIfNull(v){return v||(v={value:"0.0"}),v}});m.default=z;v.exports=m.default},1774:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(1771)),N=z.default.extend({action:"drilldown-action",initialize:function initialize(v){this._lane=v.lane,this._laneController=v.laneController,this._bucketInfo=v.bucketInfo,z.default.prototype.initialize.apply(this,arguments)},canActivate:function canActivate(){throw"Drilldown Actions must overload canActivate."}});m.default=N;v.exports=m.default},1775:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z,N=M(b(7)),W=M(b(15)),$=function _interopRequireWildcard(v,m){if(!m&&v&&v.__esModule)return v;if(null===v||"object"!=typeof v&&"function"!=typeof v)return{default:v};var b=_getRequireWildcardCache(m);if(b&&b.has(v))return b.get(v);var M={__proto__:null},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if("default"!==N&&{}.hasOwnProperty.call(v,N)){var W=z?Object.getOwnPropertyDescriptor(v,N):null;W&&(W.get||W.set)?Object.defineProperty(M,N,W):M[N]=v[N]}return M.default=v,b&&b.set(v,M),M}(b(0)),U=M(b(35)),q=M(b(37)),G=M(b(2)),ee=b(4),te=M(b(2452)),ie=M(b(894)),ne=M(b(27)),ae=M(b(377)),re=M(b(47)),se=M(b(6821)),le=M(b(6823)),oe=M(b(6824));function _getRequireWildcardCache(v){if("function"!=typeof WeakMap)return null;var m=new WeakMap,b=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?b:m})(v)}var de=(0,G.default)(ie.default)(z||(z=(0,N.default)(["\n\tfont-size: 18px;\n"]))),ce=$.default.createElement(de,{"data-test-itsi":"deep-dive-lane-actions-icon-gear",variant:"filled",screenReaderText:(0,ee.gettext)("Deep dive lane action options")}),he=$.default.createElement(ne.default,{appearance:"pill","data-test-itsi":"deep-dive-lane-actions-dropdown-button",icon:ce,isMenu:!0}),ue=W.default.View.extend({initialize:function initialize(v){this._lane=v.lane,this.children=[];var m={lane:this._lane};this.children.push(new se.default(m)),v.customActions instanceof Array&&(0,q.default)(v.customActions,function(v){this.children.push(new v(m))}.bind(this)),this.children.push(new le.default(m)),this.children.push(new oe.default(m))},render:function render(){this.$el.html('
');var v=[];return(0,q.default)(this.children,function(m){var b=m.label;m.isExternal&&(b=$.default.createElement($.Fragment,null,"".concat(b," "),$.default.createElement(te.default,{"data-test-itsi":"deep-dive-lane-action-external"}))),v.push({dataTestItsi:m.dataTestItsi,label:b,handleClick:m.doAction.bind(m)})}.bind(this)),this.$(".deep-dive-lane-actions-dropdown-container").length>0&&U.default.render($.default.createElement(re.default,null,$.default.createElement(ae.default,{toggle:he,dataTestItsiDropdown:"deep-dive-lane-actions-dropdown",options:v})),this.$(".deep-dive-lane-actions-dropdown-container").get(0)),this}});m.default=ue;v.exports=m.default},1776:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(32)),N=b(45),W=M(b(94)),$=M(b(37)),U=M(b(95)),q=M(b(69)),G=M(b(56)),ee=M(b(86)),te=M(b(33)),ie=M(b(50)),ne=M(b(15)),ae=function _interopRequireWildcard(v,m){if(!m&&v&&v.__esModule)return v;if(null===v||"object"!=typeof v&&"function"!=typeof v)return{default:v};var b=_getRequireWildcardCache(m);if(b&&b.has(v))return b.get(v);var M={__proto__:null},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if("default"!==N&&{}.hasOwnProperty.call(v,N)){var W=z?Object.getOwnPropertyDescriptor(v,N):null;W&&(W.get||W.set)?Object.defineProperty(M,N,W):M[N]=v[N]}return M.default=v,b&&b.set(v,M),M}(b(166)),re=M(b(2456)),se=b(14),le=b(4),oe=b(192),de=M(b(77)),ce=M(b(111)),he=M(b(591)),ue=M(b(2457)),pe=M(b(2458)),fe=M(b(1430)),ge=M(b(2460)),ve=M(b(2463));function _getRequireWildcardCache(v){if("function"!=typeof WeakMap)return null;var m=new WeakMap,b=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(v){return v?b:m})(v)}b(2464);var me=(0,N.template)(ve.default,null,{variable:"vars"}),_e=ne.default.View.extend({initialize:function initialize(v){this._title=v.severityTilesTitle,this._titleString=v.severityTilesTitle,this._buildAriaLabel=v.buildAriaLabel,this.hideGearLink=v.hideGearLink||!1;var m=v.severityTilesConfig||{};if(this._eventDispatcher=null,v.saDispatcher&&v.saDispatcher instanceof ne.default.Events.constructor&&(this._eventDispatcher=v.saDispatcher),this._severityTilesConfigModel=new ue.default(m,{validate:!0}),this._severityTilesConfigModel.validationError&&(console.log("SeverityTilesView: Failed to parse configuration: "+this._severityTilesConfigModel.validationError),console.log("SeverityTilesView: Failed to parse configuration: "+JSON.stringify(m)),this._severityTilesConfigModel={}),(0,te.default)(this._severityTilesConfigModel)&&!v.severityTilesDataCollection)throw"SeverityTilesView cannot initialize without at least 1 valid severityTilesConfig object";(this._severityTileDataCollection=v.severityTilesDataCollection||new pe.default,this._highAndCriticalNotableEventsSearch=v.highAndCriticalNotableEventsSearch||null,this._highAndCriticalEntitiesSearch=v.highAndCriticalEntitiesSearch||null,this.sparklineDataById={},this.eventMap={},this.entitiesMap={},this._highAndCriticalNotableEventsSearch&&(this._notableEventsSearchSubscription=this._highAndCriticalNotableEventsSearch.getResults().subscribe({next:v=>{this.processNotableEvents(v)}})),this._highAndCriticalEntitiesSearch&&(this._entitiesSearchSubscription=this._highAndCriticalEntitiesSearch.getResults().subscribe({next:v=>{this.processDegradedEntities(v)}})),this.drilldownFunction=v.drilldownFunction||console.log.bind(console),this.addLaneFunction=v.addLaneFunction||console.log.bind(console),this.removeLaneFunction=v.removeLaneFunction||console.log.bind(console),this._firstRender=!0,this._tiles=[],this._selectedTiles=[],this._tileView=v.tileView,this.tileSize=v.tileSize||oe.TILE_SIZES.LARGE.value,this.serviceAllowedListIds=v.serviceAllowedListIds,this.serviceCollectionDfd=z.default.Deferred(),this.serviceByIdMap={},this.serviceAllowedListIds)?this.serviceCollectionDfd.resolve():(this.serviceAllowedListIds=[],(new he.default).getSpecifiedFields({},"_key,kpis._key").done(function(v){v.map(function(v){this.serviceAllowedListIds.push(v._key),this.serviceByIdMap[v._key]=v}.bind(this)),this.serviceCollectionDfd.resolve()}.bind(this)).fail(()=>{}));this.serviceTitle=v.serviceTitle,this.setSettingsModel(v.tilesSettingsModel),this.setSettingsModelInitialized=!0,this.renderModalFunction=v.renderModalFunction||console.log.bind(console),this._summaryContainerClass=v.summaryContainerClass||"",this._hasSublabel=!0,void 0!==v.hasSublabel&&(this._hasSublabel=v.hasSublabel),this.earliest=v.earliest||"-60m",this.latest=v.latest||"now",this.children={},this.hideGearLink||(this.children.optionsLink=new de.default({appearance:"pill",dataTestItsi:"severity-tiles-options-button",icon:"gear",onClick:this.optionsAction.bind(this),screenReaderText:(0,le.gettext)("Options"),style:{fontSize:20}})),this.children.drilldownLink=new de.default({appearance:"pill",dataTestItsi:"severity-tiles-selection-drilldown-link",isLink:!0,label:(0,le.gettext)("Drilldown to Deep Dive"),onClick:this.drilldownAction.bind(this)}),this.children.cancelSelectionLink=new de.default({appearance:"pill",dataTestItsi:"severity-tiles-selection-cancel-link",icon:"clear",isLink:!0,label:(0,le.gettext)("Cancel Selection (0)"),onClick:this.cancelSelectionAction.bind(this),style:{marginLeft:20}})},setTileScores:function setTileScores(v,m){var b,M={};null===(b=v.results)||void 0===b||b.forEach(v=>{var b={};this._severityTilesConfigModel.get("dataFields").forEach(m=>{b[m]=v[m]}),M[v[this._severityTilesConfigModel.get("idField")]]={color:v[this._severityTilesConfigModel.get("severityColorField")],dataFields:b,dataSource:m,id:v[this._severityTilesConfigModel.get("idField")],label:v[this._severityTilesConfigModel.get("labelField")],severityValue:v[this._severityTilesConfigModel.get("severityLevelField")],sparklineData:v[this._severityTilesConfigModel.get("sparklineField")],sublabel:v[this._severityTilesConfigModel.get("subLabelField")],value:v[this._severityTilesConfigModel.get("valueField")]}}),this._severityTileDataCollection.replaceDataFromSource(m,M),v.results&&v.results.length?this.displaySearchMessages(null):this.displaySearchMessages("no-results"),"service-health-tiles"===m?re.default.mark("itsi.homeview.renderServicesTilesView"):re.default.mark("itsi.homeview.renderKpiTilesView")},setSettingsModel:function setSettingsModel(v){void 0===v&&(v=new ne.default.Model({isFilterEnabled:!1,numTiles:50})),this._userTilesSettingsModel=v,this.updateTitle(),this.listenTo(this._userTilesSettingsModel,"change:isFilterEnabled",this.updateTitle),this.listenTo(this._userTilesSettingsModel,"change:numTiles",this._propagateUpdateTitle)},setKpiUnitMap:function setKpiUnitMap(v){this._kpiUnitMap=v},_propagateUpdateTitle:function _propagateUpdateTitle(){this.setSettingsModelInitialized=!1,this.updateTitle()},updateTitle:function updateTitle(){this._firstRender||this.setSettingsModelInitialized||!this._eventDispatcher||(this._eventDispatcher.trigger("enableSave"),this.setSettingsModelInitialized=!0),this._userTilesSettingsModel.get("isFilterEnabled"),this._tileView===oe.OBJECT_TYPE?(this._titleString=(0,se.sprintf)((0,le.gettext)("Top %(numberOfTiles)d %(tileTitle)s"),{numberOfTiles:this._userTilesSettingsModel.get("numTiles"),tileTitle:this._title}),(0,z.default)(".severity-tiles-title",this.$el).text(this._titleString)):(this._titleString=(0,se.sprintf)((0,le.gettext)("KPIs in %s"),this.serviceTitle),(0,z.default)(".severity-tiles-title",this.$el).text(this._titleString))},setKpiSelectionMap:function setKpiSelectionMap(v){this._kpiSelectionMap=v},cancelSelectionAction:function cancelSelectionAction(){this.deselectAllTiles()},drilldownAction:function drilldownAction(){this.drilldownFunction((0,ie.default)(this._selectedTiles,(function(v){return v.tile})),!0)},optionsAction:function optionsAction(){this.renderModalFunction()},events:{"click .severity-tile-view":function click_SeverityTileView(v){this.clearClickedTile();var m=(0,q.default)(this._tiles,(function(m){return m.tile.el===v.currentTarget}));this.drilldownFunction([m.tile],!1)}},processNotableEvents:function processNotableEvents(v){(null==v?void 0:v.results).forEach(v=>{var m=v.services;this.eventMap[m]=!0}),this._tiles.forEach(v=>{var m=v.model.get("dataFields");if(!m.itsi_kpi_id){var b=m.itsi_service_id in this.eventMap==!0;v.tile.setHasNotableEvents(b)}})},processDegradedEntities:function processDegradedEntities(v){(null==v?void 0:v.results).forEach(v=>{var m=v.itsi_service_id,b=this.entitiesMap[m]||{};((0,ee.default)(v.itsi_kpi_id)?v.itsi_kpi_id:[v.itsi_kpi_id]).forEach(v=>{(0,te.default)(v)||(b[v]=!0)}),this.entitiesMap[m]=b}),this._tiles.forEach(v=>{var m=v.model,b=m.get("dataFields").itsi_service_id,M=b in this.entitiesMap==!0,z=m.get("dataFields").itsi_kpi_id;z&&(M=M&&z in this.entitiesMap[b]==!0);var N=v.tile;N&&N.setHasDegradedEntities(M)})},setSparklineData:function setSparklineData(v){v&&v.results&&v.results.forEach(v=>{this.sparklineDataById[v.itsi_kpi_id]=v.spark}),this._tiles&&this._tiles.forEach(v=>{v.model.set("sparklineData",this.sparklineDataById[v.model.get("dataFields").itsi_kpi_id])})},render:function render(){z.default.when(this.serviceCollectionDfd).then(function(){if(this._firstRender){this.$el.html(me({title:this._titleString},{variable:"vars"})),this.hideGearLink||this.$el.find(".severity-tile-options-placeholder").replaceWith(this.children.optionsLink.render().$el),this.$el.find(".severity-tiles-selection-controls").append(this.children.drilldownLink.render().$el),this.$el.find(".severity-tiles-selection-controls").append(this.children.cancelSelectionLink.render().$el);var v=(0,W.default)(this.render,50).bind(this);this.listenTo(this._severityTileDataCollection,"add change remove reset",v),void 0!==this._summaryContainerClass&&""!==this._summaryContainerClass&&(0,z.default)(".severity-tiles-summary",this.$el).addClass(this._summaryContainerClass),void 0!==this._hasSublabel&&!1===this._hasSublabel&&(0,z.default)(".severity-tiles-container",this.$el).addClass("no-sublabel"),this._firstRender=!1}var m=this,b=this.$(".severity-tiles-container");this._severityTileDataCollection.sort();var M,N,$=this._severityTileDataCollection.models.filter(function(v){var m=v.get("dataFields").itsi_service_id,b=v.get("dataFields").itsi_kpi_id;if(-1===this.serviceAllowedListIds.indexOf(m))return!1;var M=this.serviceByIdMap[m];return!M||M.kpis.find((function(v){return v._key===b}))}.bind(this));if(this._tiles=$.map((function(v){return{model:v,tile:v.tile}})),void 0!==this._kpiUnitMap)for(var U=0;U{m.stopListening(v.tile),v.model.tile=void 0,v.tile.remove()};return this._tileView===oe.OBJECT_TYPE?(void 0!==this.prevTileSize&&this.prevTileSize!==this.tileSize&&(ae.select(b.get(0)).selectAll("div.severity-tile-view-"+this.prevTileSize).each(cleanUpTiles),ae.select(b.get(0)).selectAll("div.severity-tile-view-"+this.prevTileSize).remove()),(M=ae.select(b.get(0)).selectAll("div.severity-tile-view-"+this.tileSize).data(this._tiles,(function(v){return v.model.get("id")}))).enter().append("div").attr("class","severity-tile-view severity-tile-view-"+this.tileSize).merge(M).attr("data-test-itsi","severity-tile-view").each((function(v){N=m.createSeverityTileView(v.model),v.tile=N,v.model.tile=N,N.setElement(this),m.listenTo(N,"selected",m.onTileSelected),v.tile.render(),v.tile.fixLabels();var b=v.model.get("dataFields")?v.model.get("dataFields").itsi_service_id:"";(v.tile.hasDegradedEntities&&(0,G.default)(m.entitiesMap,b)&&!m.entitiesMap[b]||!v.tile.hasDegradedEntities&&(0,G.default)(m.entitiesMap,b)&&m.entitiesMap[b])&&v.tile.setHasDegradedEntities(b in m.entitiesMap),(v.tile.hasNotableEvents&&(0,G.default)(m.eventMap,b)&&!m.eventMap[b]||!v.tile.hasNotableEvents&&(0,G.default)(m.eventMap,b)&&m.eventMap[b])&&v.tile.setHasNotableEvents(b in m.eventMap)})).order()):(this._kpiSelectionMap&&this._tiles.forEach((function(v){m._kpiSelectionMap[v.model.id]?v.model.set({isAdded:!0},{silent:!0}):v.model.set({isAdded:!1},{silent:!0})})),(M=ae.select(b.get(0)).selectAll("div.deep-dive-severity-tile-view").data(this._tiles,(function(v){return v.model.get("id")}))).enter().append("div").attr("class","deep-dive-severity-tile-view").merge(M).attr("data-test-itsi","deep-dive-severity-tile-view").each((function(v){N=new ge.default({addLaneFunction:m.addLaneFunction,removeLaneFunction:m.removeLaneFunction,model:v.model}),v.tile=N,v.model.tile=N,N.setElement(this),v.tile.render(),v.tile.fixLabels()})).order()),M.exit().each(cleanUpTiles),this.onTileSelected(),this}.bind(this)).fail(()=>{})},createSeverityTileView:function createSeverityTileView(v){var m=v.get("dataFields")?v.get("dataFields").itsi_kpi_id:"";return(!v.get("sparklineData")||0===v.get("sparklineData").length&&this.sparklineDataById&&m&&this.sparklineDataById[m])&&v.set("sparklineData",this.sparklineDataById[m]),new fe.default({buildAriaLabel:this._buildAriaLabel,model:v,tileSize:this.tileSize})},displaySearchMessages:function displaySearchMessages(v,m){var b=this.$(".severity-tiles-adapter-messages");b.empty();var M=(0,z.default)('
').appendTo(b),N=this.$(".severity-tiles-container"),W=this.$(".severity-tiles-summary");if("waiting"===v||"no-results"===v||"cancelled"===v||"error"===v){var $,U;switch(v){case"cancelled":$=(0,le.gettext)("Search was cancelled."),U="severity-tiles-view-search-cancelled-message";break;case"no-results":$=(0,le.gettext)("No results found."),U="severity-tiles-view-no-results-message";break;case"waiting":$=(0,le.gettext)("Waiting for data..."),U="severity-tiles-view-loading-message";break;case"error":$=m,U="severity-tiles-view-error-message";break;default:$=v,U="severity-tiles-view-".concat(v,"-message")}M.show(),N.hide(),W.hide();var q=new ce.default({content:$,dataTestItsi:U,style:{display:"inline-flex"},type:"error"===v?"error":"info"});M.html(q.render().$el)}else N.show(),W.show()},onTileSelected:function onTileSelected(){this._selectedTiles=(0,U.default)(this._tiles,(function(v){return!!v.tile&&v.tile.selected})),this._selectedTiles.length>0?(this.children.cancelSelectionLink.render({label:(0,se.sprintf)((0,le.gettext)("Cancel Selection (%(count)s)"),{count:this._selectedTiles.length})}),this.$(".severity-tiles-selection-controls").show()):this.$(".severity-tiles-selection-controls").hide()},deselectAllTiles:function deselectAllTiles(){(0,$.default)(this._selectedTiles,(function(v){v.tile.deselect()})),this._selectedTiles=[],this.$(".severity-tiles-selection-controls").hide()},clearClickedTile:function clearClickedTile(){(0,z.default)(".severity-tile-clicked").removeClass("severity-tile-clicked")},remove:function remove(){return this._tiles.forEach(v=>{v.tile.remove()}),ne.default.View.prototype.remove.apply(this,arguments)}});m.default=_e;v.exports=m.default},2443:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(303)),N=M(b(16)),W=M(b(17)),$=M(b(8)),U=b(109),q=M(b(288)),G=function(){function DeepDiveCache(){(0,N.default)(this,DeepDiveCache),this.servicesCache={},this.servicesCountCache=null}return(0,W.default)(DeepDiveCache,[{key:"getServicePromise",value:(m=(0,z.default)((function*(v){if(Object.prototype.hasOwnProperty.call(this.servicesCache,v))return typeof this.servicesCache[v]!==q.default?this.servicesCache[v]:Promise.resolve(this.servicesCache[v]);var m=new q.default({_key:v}),b=new Promise((b,M)=>{m.fetch().done(m=>{this.servicesCache[v]=new q.default(m),b(this.servicesCache[v])}).fail(v=>{M(v)})});return this.servicesCache[v]=b,b})),function getServicePromise(v){return m.apply(this,arguments)})},{key:"getServicesCountPromise",value:(v=(0,z.default)((function*(){if("number"==typeof this.servicesCountCache)return Promise.resolve(this.servicesCountCache);if(this.servicesCountCache)return this.servicesCountCache;var v=new Promise((v,m)=>{(0,U.retrieveServicesCount)({count:0}).then(v=>v.data).then(m=>{this.servicesCountCache=m.count||0,v(this.servicesCountCache)}).catch(v=>{m(v)})});return this.servicesCountCache=v,v})),function getServicesCountPromise(){return v.apply(this,arguments)})}],[{key:"getInstance",value:function getInstance(){return null===DeepDiveCache.myInstance&&(DeepDiveCache.myInstance=new DeepDiveCache),this.myInstance}}]);var v,m}();(0,$.default)(G,"myInstance",null);m.default=G;v.exports=m.default},2445:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15)).default.Model.extend({defaults:function defaults(){return{isEnabled:"no",overlayType:"entity",graphColor:"AUTO",graphType:"line",entityCount:5,selectionMode:"static",metric:null,selectedEntities:[],search:"* | timechart count"}}});m.default=z;v.exports=m.default},2446:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15)),N=M(b(94)),W=b(4),$=M(b(88)),U=M(b(77)),q=M(b(6780)),G=M(b(6787)),ee=M(b(2449)),te=M(b(6788)),ie=M(b(695)),ne=M(b(6790));b(6793);var ae=ee.default.extend({initialize:function initialize(v){v=v||{},this.savedDeepDive=null,this._firstRender=!0,this._ddDispatcher=v.ddDispatcher;var m=q.default;this._individualLaneCheck=!1,this.children={},this.children._bulkActionsView=new ne.default({clickHandlers:{bulkDeleteAction:this._deleteSelectedLanes.bind(this),disableOverlays:this._disableOverlays.bind(this),hideThresholds:this._disableThresholdIndication.bind(this),showAnomalyOverlay:this._enableAnomalyOverlays.bind(this),showDrilldownMKA:this._showDrilldownMultiKpiAlerts.bind(this),showEntityOverlay:this._enableEntityOverlays.bind(this),showLevelThreshold:this._enableLevelThresholdIndication.bind(this),showStateThreshold:this._enableStateThresholdIndication.bind(this)}}),this.subheaderBulkActionsModel||(this.subheaderBulkActionsModel=new z.default.Model,this.subheaderBulkActionsModel.set("checked",!1)),this.children._bulkSelectionCheckbox=new $.default({controlType:"SyntheticCheckbox",controlOptions:{dataTestItsi:"deep-dive-bulk-switch",enabled:!1,listenForModelChanges:!0,model:this.subheaderBulkActionsModel,modelAttribute:"checked"},hasControlGroup:!1}),this.children._addLaneActionsView=new m({laneSettingsCollection:null}),this.children._kpiStatsOpActionsView=new G.default({laneSettingsCollection:null,updateKpiStatsOp:this._updateKpiStatsOp.bind(this)}),this.children.refreshButton=new U.default({dataTestItsi:"deep-dive-refresh-button",icon:"refresh",onClick:this._refreshAllSearches.bind(this),screenReaderText:(0,W.gettext)("Refresh"),style:{marginLeft:10}}),this.listenTo(this.subheaderBulkActionsModel,"change",this._updateBulkActionsModel),this.listenTo(this._ddDispatcher,"enableBulkCheckbox",this._enableBulkCheckbox),this.listenTo(this._ddDispatcher,"disableBulkCheckbox",this._disableBulkCheckbox),this.listenTo(this._ddDispatcher,"checkBulkActionsModel",this._checkBulkActionsModel),this.listenTo(this._ddDispatcher,"uncheckBulkActionsModel",this._uncheckBulkActionsModel),this.listenTo(this._ddDispatcher,"disableBulkActionLink",this._disableBulkActionLink),this.listenTo(this._ddDispatcher,"enableBulkActionLink",this._enableBulkActionLink),this.listenTo(this._ddDispatcher,"setLaneSettingsAddLaneView",this._setLaneSettingsAddLaneView),this.listenTo(this._ddDispatcher,"setLaneSettingsStatsOpView",this._setLaneSettingsStatsOpView),this.listenTo(this._ddDispatcher,"renderTwinTimePickerView",this._renderTwinTimePickerView),this.listenTo(this._ddDispatcher,"setTwinsiesInactive",this._setTwinsiesInactive),ee.default.prototype.initialize.apply(this,arguments)},setSavedDeepDive:function setSavedDeepDive(v){if(v instanceof ie.default){this.savedDeepDive instanceof ie.default&&(this.stopListening(this.savedDeepDive.get("lane_settings_collection")),this.stopListening(this.savedDeepDive)),this.savedDeepDive=v,this.savedDeepDive.isNew()||this._updateURL();var m=(0,N.default)(this._autosaveSavedDeepDive,1e3);this.listenTo(this.savedDeepDive.get("lane_settings_collection"),"change add remove",m),this.listenTo(this.savedDeepDive,"change",this._updateURL),this.listenTo(this.savedDeepDive,"replace",this._replaceSavedDeepDive),this._firstRender||this.render()}},render:function render(){return this._firstRender&&(ee.default.prototype.render.apply(this,arguments),this._firstRender=!1),this._addDeepDiveSubheaderViews(),this},_addDeepDiveSubheaderViews:function _addDeepDiveSubheaderViews(){this.$(".application-page-sub-header-right-container").html('
'),this.children._kpiStatsOpActionsView.setElement(this.$(".deep-dive-stats-op-container")),this.children._kpiStatsOpActionsView.render().el,this.children._addLaneActionsView.setElement(this.$(".deep-dive-add-lane-container")),this.children._addLaneActionsView.render().el,this.$(".application-page-sub-header-left-container").html(''),this.$(".deep-dive-bulk-selection-container").append(this.children._bulkSelectionCheckbox.render().el),this.$("label.checkbox").css({padding:"6px 0 0 22px"}),this.children._bulkActionsView.setElement(this.$(".deep-dive-bulk-actions-container")),this.children._bulkActionsView.render().el,this.$(".application-page-sub-header-right-container").append(this.children.refreshButton.render().$el)},_enableBulkCheckbox:function _enableBulkCheckbox(){this.children._bulkSelectionCheckbox.enable()},_enableBulkActionLink:function _enableBulkActionLink(){this.children._bulkActionsView.enableDropdown()},_disableBulkCheckbox:function _disableBulkCheckbox(){this.children._bulkSelectionCheckbox.disable()},_disableBulkActionLink:function _disableBulkActionLink(){this.children._bulkActionsView.disableDropdown()},_updateBulkActionsModel:function _updateBulkActionsModel(){"some"===this.subheaderBulkActionsModel.get("checked")?(this._individualLaneCheck=!1,this._enableBulkActionLink()):this.subheaderBulkActionsModel.get("checked")?(this._individualLaneCheck=!1,this._enableBulkActionLink(),this._ddDispatcher.trigger("checkAllLanes")):this._individualLaneCheck?(this._individualLaneCheck=!1,this._disableBulkActionLink()):(this._disableBulkActionLink(),this._ddDispatcher.trigger("uncheckAllLanes"))},_checkBulkActionsModel:function _checkBulkActionsModel(){this.subheaderBulkActionsModel.set("checked",!0)},_uncheckBulkActionsModel:function _uncheckBulkActionsModel(v,m){"individual"===v&&(this._individualLaneCheck=!0),this.subheaderBulkActionsModel.set("checked",!!m&&"some")},_showDrilldownMultiKpiAlerts:function _showDrilldownMultiKpiAlerts(v){v&&v.preventDefault(),this._ddDispatcher.trigger("bulkActionMultiKpiAlerts")},_enableStateThresholdIndication:function _enableStateThresholdIndication(v){v&&v.preventDefault(),this._ddDispatcher.trigger("enableStateThresholdIndication")},_enableLevelThresholdIndication:function _enableLevelThresholdIndication(v){v&&v.preventDefault(),this._ddDispatcher.trigger("enableLevelThresholdIndication")},_disableThresholdIndication:function _disableThresholdIndication(v){v&&v.preventDefault(),this._ddDispatcher.trigger("disableThresholdIndication")},_enableEntityOverlays:function _enableEntityOverlays(v){v&&v.preventDefault(),this._ddDispatcher.trigger("enableEntityOverlays")},_enableAnomalyOverlays:function _enableAnomalyOverlays(v){v&&v.preventDefault(),this._ddDispatcher.trigger("enableAnomalyOverlays")},_disableOverlays:function _disableOverlays(v){v&&v.preventDefault(),this._ddDispatcher.trigger("disableOverlays")},_deleteSelectedLanes:function _deleteSelectedLanes(){this._ddDispatcher.trigger("deleteSelectedLanes",this)},_setLaneSettingsAddLaneView:function _setLaneSettingsAddLaneView(v){this.children._addLaneActionsView.setLaneSettingsCollection(v)},_setLaneSettingsStatsOpView:function _setLaneSettingsStatsOpView(v){this.children._kpiStatsOpActionsView.setLaneSettingsCollection(v)},_renderTwinTimePickerView:function _renderTwinTimePickerView(v){this.children._twinTimePicker=new te.default({laneCollection:v,ddDispatcher:this._ddDispatcher}),this.children._twinTimePicker.setElement(this.$(".deep-dive-twin-time-picker-container")),this.children._twinTimePicker.render()},_setTwinsiesInactive:function _setTwinsiesInactive(){this.children._twinTimePicker.setTwinsiesInactive()},_refreshAllSearches:function _refreshAllSearches(){this._ddDispatcher.trigger("refreshAllSearches"),this.$(".span-twintimepicker-dd",this.$el).text((0,W.gettext)("Compare to")+" ")},_updateKpiStatsOp:function _updateKpiStatsOp(v){this._ddDispatcher.trigger("updateKpiStatsOp",v),this.children._kpiStatsOpActionsView.updateKpiStatsOpPickerText(v)}});m.default=ae;v.exports=m.default},2449:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15));b(2450);var N=z.default.View.extend({tagName:"div",className:"application-page-sub-header",render:function render(){return this.$el.html('
'),this}});m.default=N;v.exports=m.default},2450:function(v,m,b){"use strict";b.r(m);var M=b(12),z=b.n(M),N=b(1059),W=b.n(N),$={insert:"head",singleton:!1};z()(W.a,$);m.default=W.a.locals||{}},2451:function(v,m,b){"use strict";var M=b(1);Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var z=M(b(15)),N=b(4),W=M(b(6820)),$=z.default.View.extend({dataTestItsi:"deep-dive-graph-rendering-options-option",label:(0,N.gettext)("Graph Rendering Options"),initialize:function initialize(v){this._lane=v.lane},doAction:function doAction(){new W.default({laneSettings:this._lane.laneSettings,onHiddenRemove:!0}).render()}});m.default=$;v.exports=m.default},2452:function(v,m,b){(()=>{"use strict";var m={n:v=>{var b=v&&v.__esModule?()=>v.default:()=>v;return m.d(b,{a:b}),b},d:(v,b)=>{for(var M in b)m.o(b,M)&&!m.o(v,M)&&Object.defineProperty(v,M,{enumerable:!0,get:b[M]})},o:(v,m)=>Object.prototype.hasOwnProperty.call(v,m),r:v=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})}},M={};m.r(M),m.d(M,{default:()=>te});const z=b(0);var N=m.n(z);const W=b(104);var $=m.n(W);const U=b(106);function u(v,m){if(null==v)return{};var b,M,z=function i(v,m){if(null==v)return{};var b,M,z={},N=Object.keys(v);for(M=0;M=0||(z[b]=v[b]);return z}(v,m);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(v);for(M=0;M=0||Object.prototype.propertyIsEnumerable.call(v,b)&&(z[b]=v[b])}return z}var q=new Map;q.set("outlined",(function(){return N().createElement(N().Fragment,null,N().createElement("path",{d:"M3 4.10623C3 3.51257 3.47768 3.00623 4.09895 3.00623H7.49725C8.04954 3.00623 8.49725 3.45394 8.49725 4.00623C8.49725 4.55851 8.04954 5.00623 7.49725 5.00623H5V18.9937H18.9874V16.4964C18.9874 15.9441 19.4352 15.4964 19.9874 15.4964C20.5397 15.4964 20.9874 15.9441 20.9874 16.4964V19.8937C20.9874 20.5012 20.495 20.9937 19.8874 20.9937H4.1C3.49248 20.9937 3 20.5012 3 19.8937V4.10623Z"}),N().createElement("path",{d:"M19.0002 6.42035L10.6109 14.8096C10.2204 15.2002 9.58722 15.2002 9.1967 14.8096C8.80618 14.4191 8.80618 13.7859 9.1967 13.3954L17.5859 5.00623H13.6592C13.1069 5.00623 12.6592 4.55851 12.6592 4.00623C12.6592 3.45394 13.1069 3.00623 13.6592 3.00623H19.5002C20.3287 3.00623 21.0002 3.6778 21.0002 4.50623V10.3117C21.0002 10.864 20.5525 11.3117 20.0002 11.3117C19.4479 11.3117 19.0002 10.864 19.0002 10.3117V6.42035Z"}))})),q.set("filled",(function(){return N().createElement(N().Fragment,null,N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.5C3 3.67157 3.67157 3 4.5 3H19.5C20.3284 3 21 3.67157 21 4.5V19.5C21 20.3284 20.3284 21 19.5 21H4.5C3.67157 21 3 20.3284 3 19.5V4.5ZM11.5 5C10.9477 5 10.5 5.44772 10.5 6C10.5 6.55228 10.9477 7 11.5 7H15.5858L8.29289 14.2929C7.90237 14.6834 7.90237 15.3166 8.29289 15.7071C8.68342 16.0976 9.31658 16.0976 9.70711 15.7071L17 8.41421V12.5C17 13.0523 17.4477 13.5 18 13.5C18.5523 13.5 19 13.0523 19 12.5V6.5C19 5.67157 18.3284 5 17.5 5H11.5Z"}))}));var G=["default","outlined","filled"],ee=function e(v){return"default"===v||v&&!function e(v){return G.indexOf(v)>=0}(v)?"outlined":v};const te=function e(v){var m=v.children,b=v.variant,M=void 0===b?"default":b,W=u(v,["children","variant"]),G=ee(M),te="arrowsquaretoprightinset-".concat(G),ie=(0,z.useContext)(U.IconContext),ne=q.get(G);if(ie&&ne){var ae=ie.toRender;if((0,ie.addIcon)(te,ne()),!ae)return null}return N().createElement($(),W,m,ie?N().createElement("use",{href:"#".concat(te)}):!!ne&&ne())};v.exports=M})()},2453:function(v,m,b){var M,z,N; /*! * jQuery UI Resizable 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(W){"use strict";z=[b(32),b(2444),b(2454),b(2455),b(560),b(1769)],void 0===(N="function"==typeof(M=function(v){return v.widget("ui.resizable",v.ui.mouse,{version:"1.13.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(v){return parseFloat(v)||0},_isNumber:function(v){return!isNaN(parseFloat(v))},_hasScroll:function(m,b){if("hidden"===v(m).css("overflow"))return!1;var M=b&&"left"===b?"scrollLeft":"scrollTop",z=!1;if(m[M]>0)return!0;try{m[M]=1,z=m[M]>0,m[M]=0}catch(v){}return z},_create:function(){var m,b=this.options,M=this;this._addClass("ui-resizable"),v.extend(this,{_aspectRatio:!!b.aspectRatio,aspectRatio:b.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:b.helper||b.ghost||b.animate?b.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(v("
").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,m={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(m),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(m),this._proportionallyResize()),this._setupHandles(),b.autoHide&&v(this.element).on("mouseenter",(function(){b.disabled||(M._removeClass("ui-resizable-autohide"),M._handles.show())})).on("mouseleave",(function(){b.disabled||M.resizing||(M._addClass("ui-resizable-autohide"),M._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var m,_destroy=function(m){v(m).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(_destroy(this.element),m=this.element,this.originalElement.css({position:m.css("position"),width:m.outerWidth(),height:m.outerHeight(),top:m.css("top"),left:m.css("left")}).insertAfter(m),m.remove()),this.originalElement.css("resize",this.originalResizeStyle),_destroy(this.originalElement),this},_setOption:function(v,m){switch(this._super(v,m),v){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!m}},_setupHandles:function(){var m,b,M,z,N,W=this.options,$=this;if(this.handles=W.handles||(v(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=v(),this._addedHandles=v(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),M=this.handles.split(","),this.handles={},b=0;b"),this._addClass(N,"ui-resizable-handle "+z),N.css({zIndex:W.zIndex}),this.handles[m]=".ui-resizable-"+m,this.element.children(this.handles[m]).length||(this.element.append(N),this._addedHandles=this._addedHandles.add(N));this._renderAxis=function(m){var b,M,z,N;for(b in m=m||this.element,this.handles)this.handles[b].constructor===String?this.handles[b]=this.element.children(this.handles[b]).first().show():(this.handles[b].jquery||this.handles[b].nodeType)&&(this.handles[b]=v(this.handles[b]),this._on(this.handles[b],{mousedown:$._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(M=v(this.handles[b],this.element),N=/sw|ne|nw|se|n|s/.test(b)?M.outerHeight():M.outerWidth(),z=["padding",/ne|nw|n/.test(b)?"Top":/se|sw|s/.test(b)?"Bottom":/^e$/.test(b)?"Right":"Left"].join(""),m.css(z,N),this._proportionallyResize()),this._handles=this._handles.add(this.handles[b])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){$.resizing||(this.className&&(N=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),$.axis=N&&N[1]?N[1]:"se")})),W.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(m){var b,M,z=!1;for(b in this.handles)((M=v(this.handles[b])[0])===m.target||v.contains(M,m.target))&&(z=!0);return!this.options.disabled&&z},_mouseStart:function(m){var b,M,z,N=this.options,W=this.element;return this.resizing=!0,this._renderProxy(),b=this._num(this.helper.css("left")),M=this._num(this.helper.css("top")),N.containment&&(b+=v(N.containment).scrollLeft()||0,M+=v(N.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:b,top:M},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:W.width(),height:W.height()},this.originalSize=this._helper?{width:W.outerWidth(),height:W.outerHeight()}:{width:W.width(),height:W.height()},this.sizeDiff={width:W.outerWidth()-W.width(),height:W.outerHeight()-W.height()},this.originalPosition={left:b,top:M},this.originalMousePosition={left:m.pageX,top:m.pageY},this.aspectRatio="number"==typeof N.aspectRatio?N.aspectRatio:this.originalSize.width/this.originalSize.height||1,z=v(".ui-resizable-"+this.axis).css("cursor"),v("body").css("cursor","auto"===z?this.axis+"-resize":z),this._addClass("ui-resizable-resizing"),this._propagate("start",m),!0},_mouseDrag:function(m){var b,M,z=this.originalMousePosition,N=this.axis,W=m.pageX-z.left||0,$=m.pageY-z.top||0,U=this._change[N];return this._updatePrevProperties(),!!U&&(b=U.apply(this,[m,W,$]),this._updateVirtualBoundaries(m.shiftKey),(this._aspectRatio||m.shiftKey)&&(b=this._updateRatio(b,m)),b=this._respectSize(b,m),this._updateCache(b),this._propagate("resize",m),M=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),v.isEmptyObject(M)||(this._updatePrevProperties(),this._trigger("resize",m,this.ui()),this._applyChanges()),!1)},_mouseStop:function(m){this.resizing=!1;var b,M,z,N,W,$,U,q=this.options;return this._helper&&(z=(M=(b=this._proportionallyResizeElements).length&&/textarea/i.test(b[0].nodeName))&&this._hasScroll(b[0],"left")?0:this.sizeDiff.height,N=M?0:this.sizeDiff.width,W={width:this.helper.width()-N,height:this.helper.height()-z},$=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,U=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,q.animate||this.element.css(v.extend(W,{top:U,left:$})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!q.animate&&this._proportionallyResize()),v("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",m),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var v={};return this.position.top!==this.prevPosition.top&&(v.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(v.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(v.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(v.height=this.size.height+"px"),this.helper.css(v),v},_updateVirtualBoundaries:function(v){var m,b,M,z,N,W=this.options;N={minWidth:this._isNumber(W.minWidth)?W.minWidth:0,maxWidth:this._isNumber(W.maxWidth)?W.maxWidth:1/0,minHeight:this._isNumber(W.minHeight)?W.minHeight:0,maxHeight:this._isNumber(W.maxHeight)?W.maxHeight:1/0},(this._aspectRatio||v)&&(m=N.minHeight*this.aspectRatio,M=N.minWidth/this.aspectRatio,b=N.maxHeight*this.aspectRatio,z=N.maxWidth/this.aspectRatio,m>N.minWidth&&(N.minWidth=m),M>N.minHeight&&(N.minHeight=M),bv.width,W=this._isNumber(v.height)&&m.minHeight&&m.minHeight>v.height,$=this.originalPosition.left+this.originalSize.width,U=this.originalPosition.top+this.originalSize.height,q=/sw|nw|w/.test(b),G=/nw|ne|n/.test(b);return N&&(v.width=m.minWidth),W&&(v.height=m.minHeight),M&&(v.width=m.maxWidth),z&&(v.height=m.maxHeight),N&&q&&(v.left=$-m.minWidth),M&&q&&(v.left=$-m.maxWidth),W&&G&&(v.top=U-m.minHeight),z&&G&&(v.top=U-m.maxHeight),v.width||v.height||v.left||!v.top?v.width||v.height||v.top||!v.left||(v.left=null):v.top=null,v},_getPaddingPlusBorderDimensions:function(v){for(var m=0,b=[],M=[v.css("borderTopWidth"),v.css("borderRightWidth"),v.css("borderBottomWidth"),v.css("borderLeftWidth")],z=[v.css("paddingTop"),v.css("paddingRight"),v.css("paddingBottom"),v.css("paddingLeft")];m<4;m++)b[m]=parseFloat(M[m])||0,b[m]+=parseFloat(z[m])||0;return{height:b[0]+b[2],width:b[1]+b[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var v,m=0,b=this.helper||this.element;m").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++b.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(v,m){return{width:this.originalSize.width+m}},w:function(v,m){var b=this.originalSize;return{left:this.originalPosition.left+m,width:b.width-m}},n:function(v,m,b){var M=this.originalSize;return{top:this.originalPosition.top+b,height:M.height-b}},s:function(v,m,b){return{height:this.originalSize.height+b}},se:function(m,b,M){return v.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[m,b,M]))},sw:function(m,b,M){return v.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[m,b,M]))},ne:function(m,b,M){return v.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[m,b,M]))},nw:function(m,b,M){return v.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[m,b,M]))}},_propagate:function(m,b){v.ui.plugin.call(this,m,[b,this.ui()]),"resize"!==m&&this._trigger(m,b,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),v.ui.plugin.add("resizable","animate",{stop:function(m){var b=v(this).resizable("instance"),M=b.options,z=b._proportionallyResizeElements,N=z.length&&/textarea/i.test(z[0].nodeName),W=N&&b._hasScroll(z[0],"left")?0:b.sizeDiff.height,$=N?0:b.sizeDiff.width,U={width:b.size.width-$,height:b.size.height-W},q=parseFloat(b.element.css("left"))+(b.position.left-b.originalPosition.left)||null,G=parseFloat(b.element.css("top"))+(b.position.top-b.originalPosition.top)||null;b.element.animate(v.extend(U,G&&q?{top:G,left:q}:{}),{duration:M.animateDuration,easing:M.animateEasing,step:function(){var M={width:parseFloat(b.element.css("width")),height:parseFloat(b.element.css("height")),top:parseFloat(b.element.css("top")),left:parseFloat(b.element.css("left"))};z&&z.length&&v(z[0]).css({width:M.width,height:M.height}),b._updateCache(M),b._propagate("resize",m)}})}}),v.ui.plugin.add("resizable","containment",{start:function(){var m,b,M,z,N,W,$,U=v(this).resizable("instance"),q=U.options,G=U.element,ee=q.containment,te=ee instanceof v?ee.get(0):/parent/.test(ee)?G.parent().get(0):ee;te&&(U.containerElement=v(te),/document/.test(ee)||ee===document?(U.containerOffset={left:0,top:0},U.containerPosition={left:0,top:0},U.parentData={element:v(document),left:0,top:0,width:v(document).width(),height:v(document).height()||document.body.parentNode.scrollHeight}):(m=v(te),b=[],v(["Top","Right","Left","Bottom"]).each((function(v,M){b[v]=U._num(m.css("padding"+M))})),U.containerOffset=m.offset(),U.containerPosition=m.position(),U.containerSize={height:m.innerHeight()-b[3],width:m.innerWidth()-b[1]},M=U.containerOffset,z=U.containerSize.height,N=U.containerSize.width,W=U._hasScroll(te,"left")?te.scrollWidth:N,$=U._hasScroll(te)?te.scrollHeight:z,U.parentData={element:te,left:M.left,top:M.top,width:W,height:$}))},resize:function(m){var b,M,z,N,W=v(this).resizable("instance"),$=W.options,U=W.containerOffset,q=W.position,G=W._aspectRatio||m.shiftKey,ee={top:0,left:0},te=W.containerElement,ie=!0;te[0]!==document&&/static/.test(te.css("position"))&&(ee=U),q.left<(W._helper?U.left:0)&&(W.size.width=W.size.width+(W._helper?W.position.left-U.left:W.position.left-ee.left),G&&(W.size.height=W.size.width/W.aspectRatio,ie=!1),W.position.left=$.helper?U.left:0),q.top<(W._helper?U.top:0)&&(W.size.height=W.size.height+(W._helper?W.position.top-U.top:W.position.top),G&&(W.size.width=W.size.height*W.aspectRatio,ie=!1),W.position.top=W._helper?U.top:0),z=W.containerElement.get(0)===W.element.parent().get(0),N=/relative|absolute/.test(W.containerElement.css("position")),z&&N?(W.offset.left=W.parentData.left+W.position.left,W.offset.top=W.parentData.top+W.position.top):(W.offset.left=W.element.offset().left,W.offset.top=W.element.offset().top),b=Math.abs(W.sizeDiff.width+(W._helper?W.offset.left-ee.left:W.offset.left-U.left)),M=Math.abs(W.sizeDiff.height+(W._helper?W.offset.top-ee.top:W.offset.top-U.top)),b+W.size.width>=W.parentData.width&&(W.size.width=W.parentData.width-b,G&&(W.size.height=W.size.width/W.aspectRatio,ie=!1)),M+W.size.height>=W.parentData.height&&(W.size.height=W.parentData.height-M,G&&(W.size.width=W.size.height*W.aspectRatio,ie=!1)),ie||(W.position.left=W.prevPosition.left,W.position.top=W.prevPosition.top,W.size.width=W.prevSize.width,W.size.height=W.prevSize.height)},stop:function(){var m=v(this).resizable("instance"),b=m.options,M=m.containerOffset,z=m.containerPosition,N=m.containerElement,W=v(m.helper),$=W.offset(),U=W.outerWidth()-m.sizeDiff.width,q=W.outerHeight()-m.sizeDiff.height;m._helper&&!b.animate&&/relative/.test(N.css("position"))&&v(this).css({left:$.left-z.left-M.left,width:U,height:q}),m._helper&&!b.animate&&/static/.test(N.css("position"))&&v(this).css({left:$.left-z.left-M.left,width:U,height:q})}}),v.ui.plugin.add("resizable","alsoResize",{start:function(){var m=v(this).resizable("instance").options;v(m.alsoResize).each((function(){var m=v(this);m.data("ui-resizable-alsoresize",{width:parseFloat(m.width()),height:parseFloat(m.height()),left:parseFloat(m.css("left")),top:parseFloat(m.css("top"))})}))},resize:function(m,b){var M=v(this).resizable("instance"),z=M.options,N=M.originalSize,W=M.originalPosition,$={height:M.size.height-N.height||0,width:M.size.width-N.width||0,top:M.position.top-W.top||0,left:M.position.left-W.left||0};v(z.alsoResize).each((function(){var m=v(this),M=v(this).data("ui-resizable-alsoresize"),z={},N=m.parents(b.originalElement[0]).length?["width","height"]:["width","height","top","left"];v.each(N,(function(v,m){var b=(M[m]||0)+($[m]||0);b&&b>=0&&(z[m]=b||null)})),m.css(z)}))},stop:function(){v(this).removeData("ui-resizable-alsoresize")}}),v.ui.plugin.add("resizable","ghost",{start:function(){var m=v(this).resizable("instance"),b=m.size;m.ghost=m.originalElement.clone(),m.ghost.css({opacity:.25,display:"block",position:"relative",height:b.height,width:b.width,margin:0,left:0,top:0}),m._addClass(m.ghost,"ui-resizable-ghost"),!1!==v.uiBackCompat&&"string"==typeof m.options.ghost&&m.ghost.addClass(this.options.ghost),m.ghost.appendTo(m.helper)},resize:function(){var m=v(this).resizable("instance");m.ghost&&m.ghost.css({position:"relative",height:m.size.height,width:m.size.width})},stop:function(){var m=v(this).resizable("instance");m.ghost&&m.helper&&m.helper.get(0).removeChild(m.ghost.get(0))}}),v.ui.plugin.add("resizable","grid",{resize:function(){var m,b=v(this).resizable("instance"),M=b.options,z=b.size,N=b.originalSize,W=b.originalPosition,$=b.axis,U="number"==typeof M.grid?[M.grid,M.grid]:M.grid,q=U[0]||1,G=U[1]||1,ee=Math.round((z.width-N.width)/q)*q,te=Math.round((z.height-N.height)/G)*G,ie=N.width+ee,ne=N.height+te,ae=M.maxWidth&&M.maxWidthie,le=M.minHeight&&M.minHeight>ne;M.grid=U,se&&(ie+=q),le&&(ne+=G),ae&&(ie-=q),re&&(ne-=G),/^(se|s|e)$/.test($)?(b.size.width=ie,b.size.height=ne):/^(ne)$/.test($)?(b.size.width=ie,b.size.height=ne,b.position.top=W.top-te):/^(sw)$/.test($)?(b.size.width=ie,b.size.height=ne,b.position.left=W.left-ee):((ne-G<=0||ie-q<=0)&&(m=b._getPaddingPlusBorderDimensions(this)),ne-G>0?(b.size.height=ne,b.position.top=W.top-te):(ne=G-m.height,b.size.height=ne,b.position.top=W.top+N.height-ne),ie-q>0?(b.size.width=ie,b.position.left=W.left-ee):(ie=q-m.width,b.size.width=ie,b.position.left=W.left+N.width-ie))}}),v.ui.resizable})?M.apply(m,z):M)||(v.exports=N)}()},2454:function(v,m,b){var M,z,N; /*! * jQuery UI Disable Selection 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(W){"use strict";z=[b(32),b(560)],void 0===(N="function"==typeof(M=function(v){return v.fn.extend({disableSelection:(m="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(m+".ui-disableSelection",(function(v){v.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var m})?M.apply(m,z):M)||(v.exports=N)}()},2455:function(v,m,b){var M,z,N;!function(W){"use strict";z=[b(32),b(560)],void 0===(N="function"==typeof(M=function(v){return v.ui.plugin={add:function(m,b,M){var z,N=v.ui[m].prototype;for(z in M)N.plugins[z]=N.plugins[z]||[],N.plugins[z].push([b,M[z]])},call:function(v,m,b,M){var z,N=v.plugins[m];if(N&&(M||v.element[0].parentNode&&11!==v.element[0].parentNode.nodeType))for(z=0;z=0;--z){var N=this.tryEntries[z],W=N.completion;if("root"===N.tryLoc)return o("end");if(N.tryLoc<=this.prev){var $=M.call(N,"catchLoc"),U=M.call(N,"finallyLoc");if($&&U){if(this.prev=0;--b){var z=this.tryEntries[b];if(z.tryLoc<=this.prev&&M.call(z,"finallyLoc")&&this.prev=0;--m){var b=this.tryEntries[m];if(b.finallyLoc===v)return this.complete(b.completion,b.afterLoc),P(b),te}},catch:function(v){for(var m=this.tryEntries.length-1;m>=0;--m){var b=this.tryEntries[m];if(b.tryLoc===v){var M=b.completion;if("throw"===M.type){var z=M.arg;P(b)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(v,b,M){return this.delegate={iterator:E(v),resultName:b,nextLoc:M},"next"===this.method&&(this.arg=m),te}},v}(v.exports);try{regeneratorRuntime=M}catch(v){Function("r","regeneratorRuntime = r")(M)}},function(v,m,b){var M=b(48),z=b(188),N=b(189),W=M?M.toStringTag:void 0;v.exports=function(v){return null==v?void 0===v?"[object Undefined]":"[object Null]":W&&W in Object(v)?z(v):N(v)}},function(v,m){v.exports=function(v){return null!=v&&"object"==typeof v}},function(v,m,b){var M=b(196),z=b(199);v.exports=function(v,m){var b=z(v,m);return M(b)?b:void 0}},function(v,m){v.exports=function(v,m){return{enumerable:!(1&v),configurable:!(2&v),writable:!(4&v),value:m}}},function(v,m){v.exports=function(v){if(null==v)throw TypeError("Can't call method on "+v);return v}},function(v,m,b){var M=b(1),z=b(61),N=b(19),W=M["__core-js_shared__"]||z("__core-js_shared__",{});(v.exports=function(v,m){return W[v]||(W[v]=void 0!==m?m:{})})("versions",[]).push({version:"3.2.1",mode:N?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(v,m,b){var M=b(38),z=Math.min;v.exports=function(v){return v>0?z(M(v),9007199254740991):0}},function(v,m,b){var M=b(41);v.exports=function(v,m,b){if(M(v),void 0===m)return v;switch(b){case 0:return function(){return v.call(m)};case 1:return function(b){return v.call(m,b)};case 2:return function(b,M){return v.call(m,b,M)};case 3:return function(b,M,z){return v.call(m,b,M,z)}}return function(){return v.apply(m,arguments)}}},function(v,m,b){v.exports=b(21)},function(v,m){function r(v,m,b,M,z,N,W){try{var $=v[N](W),U=$.value}catch(v){return void b(v)}$.done?m(U):Promise.resolve(U).then(M,z)}v.exports=function(v){return function(){var m=this,b=arguments;return new Promise((function(M,z){var N=v.apply(m,b);function a(v){r(N,M,z,a,c,"next",v)}function c(v){r(N,M,z,a,c,"throw",v)}a(void 0)}))}}},function(v,m){v.exports={}},function(v,m,b){var M=b(5);v.exports=function(v,m){if(!M(v))return v;var b,z;if(m&&"function"==typeof(b=v.toString)&&!M(z=b.call(v)))return z;if("function"==typeof(b=v.valueOf)&&!M(z=b.call(v)))return z;if(!m&&"function"==typeof(b=v.toString)&&!M(z=b.call(v)))return z;throw TypeError("Can't convert object to primitive value")}},function(v,m,b){var M=b(27),z=b(62),N=M("keys");v.exports=function(v){return N[v]||(N[v]=z(v))}},function(v,m){v.exports={}},function(v,m,b){var M=b(63),z=b(1),i=function(v){return"function"==typeof v?v:void 0};v.exports=function(v,m){return arguments.length<2?i(M[v])||i(z[v]):M[v]&&M[v][m]||z[v]&&z[v][m]}},function(v,m,b){var M=b(86),z=b(64).concat("length","prototype");m.f=Object.getOwnPropertyNames||function(v){return M(v,z)}},function(v,m){var b=Math.ceil,M=Math.floor;v.exports=function(v){return isNaN(v=+v)?0:(v>0?M:b)(v)}},function(v,m,b){var M=b(86),z=b(64);v.exports=Object.keys||function(v){return M(v,z)}},function(v,m,b){var M=b(29),z=b(59),N=b(16),W=b(28),$=b(146),U=[].push,s=function(v){var m=1==v,b=2==v,q=3==v,G=4==v,ee=6==v,te=5==v||ee;return function(ie,ne,ae,re){for(var se,le,oe=N(ie),de=z(oe),ce=M(ne,ae,3),he=W(de.length),ue=0,pe=re||$,fe=m?pe(ie,he):b?pe(ie,0):void 0;he>ue;ue++)if((te||ue in de)&&(le=ce(se=de[ue],ue,oe),v))if(m)fe[ue]=le;else if(le)switch(v){case 3:return!0;case 5:return se;case 6:return ue;case 2:U.call(fe,se)}else if(G)return!1;return ee?-1:q||G?G:fe}};v.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(v,m){v.exports=function(v){if("function"!=typeof v)throw TypeError(String(v)+" is not a function");return v}},function(v,m){v.exports=function(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}},function(v,m){function r(v,m){for(var b=0;b=m.length?(v.target=void 0,{value:void 0,done:!0}):"keys"==b?{value:M,done:!1}:"values"==b?{value:m[M],done:!1}:{value:[M,m[M]],done:!1}}),"values"),N.Arguments=N.Array,z("keys"),z("values"),z("entries")},function(v,m,b){var M=b(101),z=b(32),N=b(0)("iterator");v.exports=function(v){if(null!=v)return v[N]||v["@@iterator"]||z[M(v)]}},function(v,m,b){"use strict";(function(v){Object.defineProperty(m,"__esModule",{value:!0}),m.extractAppName=f,m.versionLabel=m.username=m.splunkdPath=m.serverTimezoneInfo=m.rootPath=m.portNumber=m.locale=m.config=m.buildPushNumber=m.buildNumber=m.appBuild=m.app=m.isAvailable=m.CSRFToken=void 0;var M,z=(M=b(117))&&M.__esModule?M:{default:M},N=b(216),W="undefined"==typeof window?v:window;function a(v){return(0,z.default)(W,["$C",v])}var $=(0,N.getEntry)("splunkweb_csrf_token_".concat(a("MRSPARKLE_PORT_NUMBER")));m.CSRFToken=$;var U=!!a("SPLUNKD_PATH");function f(){var v=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,z.default)(W,["document","location","pathname"],"")).match(/\w\w.\w\w\/(app|manager)\/([^/]+)/);return v?v[2]:void 0}m.isAvailable=U;var q=f();m.app=q;var G=a("APP_BUILD");m.appBuild=G;var ee=a("BUILD_NUMBER");m.buildNumber=ee;var te=a("BUILD_PUSH_NUMBER");m.buildPushNumber=te;var ie=(0,z.default)(W,"$C");m.config=ie;var ne=a("LOCALE");m.locale=ne;var ae=a("MRSPARKLE_PORT_NUMBER");m.portNumber=ae;var re=a("MRSPARKLE_ROOT_PATH");m.rootPath=re;var se=a("SERVER_ZONEINFO");m.serverTimezoneInfo=se;var le=a("SPLUNKD_PATH");m.splunkdPath=le;var oe=a("USERNAME");m.username=oe;var de=a("VERSION_LABEL");m.versionLabel=de}).call(this,b(57))},function(v,m,b){var M=b(22),z=b(23);v.exports=function(v){return"symbol"==typeof v||z(v)&&"[object Symbol]"==M(v)}},function(v,m,b){var M=b(12).Symbol;v.exports=M},function(v,m,b){var M=b(24)(Object,"create");v.exports=M},function(v,m){v.exports=function(v){var m=typeof v;return null!=v&&("object"==m||"function"==m)}},function(v,m,b){var M=b(204),z=b(205),N=b(206),W=b(207),$=b(208);function c(v){var m=-1,b=null==v?0:v.length;for(this.clear();++mz;)M.push(arguments[z++]);if(b=m=M[1],(ee(m)||void 0!==v)&&!qe(v))return G(m)||(m=function(v,m){if("function"==typeof b&&(m=b.call(this,v,m)),!qe(m))return m}),M[1]=m,Pe.apply(Ee,M)}}),Ae.prototype[Me]||fe(Ae.prototype,Me,Ae.prototype.valueOf),xe(Ae,"Symbol"),_e[De]=!0},function(v,m){var b;b=function(){return this}();try{b=b||new Function("return this")()}catch(v){"object"==typeof window&&(b=window)}v.exports=b},function(v,m,b){"use strict";var M={}.propertyIsEnumerable,z=Object.getOwnPropertyDescriptor,N=z&&!M.call({1:2},1);m.f=N?function(v){var m=z(this,v);return!!m&&m.enumerable}:M},function(v,m,b){var M=b(2),z=b(14),N="".split;v.exports=M((function(){return!Object("z").propertyIsEnumerable(0)}))?function(v){return"String"==z(v)?N.call(v,""):Object(v)}:Object},function(v,m,b){var M=b(1),z=b(5),N=M.document,W=z(N)&&z(N.createElement);v.exports=function(v){return W?N.createElement(v):{}}},function(v,m,b){var M=b(1),z=b(7);v.exports=function(v,m){try{z(M,v,m)}catch(b){M[v]=m}return m}},function(v,m){var b=0,M=Math.random();v.exports=function(v){return"Symbol("+String(void 0===v?"":v)+")_"+(++b+M).toString(36)}},function(v,m,b){v.exports=b(1)},function(v,m){v.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(v,m){m.f=Object.getOwnPropertySymbols},function(v,m,b){var M=b(2),z=/#|\.prototype\./,i=function(v,m){var b=W[N(v)];return b==U||b!=$&&("function"==typeof m?M(m):!!m)},N=i.normalize=function(v){return String(v).replace(z,".").toLowerCase()},W=i.data={},$=i.NATIVE="N",U=i.POLYFILL="P";v.exports=i},function(v,m,b){var M=b(3),z=b(89),N=b(64),W=b(35),$=b(90),U=b(60),q=b(34)("IE_PROTO"),f=function(){},l=function(){var v,m=U("iframe"),b=N.length;for(m.style.display="none",$.appendChild(m),m.src=String("javascript:"),(v=m.contentWindow.document).open(),v.write("