-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathclientside.min.js.map
1 lines (1 loc) · 182 KB
/
clientside.min.js.map
1
{"version":3,"names":["DashboardPowerups","OPENKIT_URL","OPENKIT_APPID","GRID_SELECTOR","VIEWPORT_SELECTOR","TITLE_SELECTOR","VAL_SELECTOR","TILE_SELECTOR","LEGEND_SELECTOR","MARKDOWN_SELECTOR","BIGNUM_SELECTOR","VLOOKUP_BIGNUM_SELECTOR","TREND_SELECTOR","MAP_SELECTOR","MAPTITLE_SELECTOR","TABLE_SELECTOR","TABLE_COL_SELECTOR","BANNER_SELECTOR","TAG_SELECTOR","FUNNEL_SELECTOR","SVT_PANEL_SELECTOR","SVT_METRIC_SELECTOR","SVT_UNITS_SELECTOR","COLUMN_SELECTOR","MENU_ICON_SELECTOR","MENU_POPUP_SELECTOR","TOPLIST_SELECTOR","TOPLIST_BAR_SELECTOR","NO_DATA_SELECTOR","TILE_CONTENT_SELECTOR","TILE_NOCONTENT_SELECTOR","DASHBOARD_MENU_SELECTOR","USQL_SELECTOR","START_DATE_SELECTOR","END_DATE_SELECTOR","HEADER_SELECTOR","SELECTORS","PU_COLOR","PU_SVG","PU_MAP","PU_LINK","PU_BANNER","PU_LINE","PU_USQLSTACK","PU_USQLCOLOR","PU_HEATMAP","PU_SANKEY","PU_FUNNEL","PU_MATH","PU_DATE","PU_GAUGE","PU_COMPARE","PU_MCOMPARE","PU_VLOOKUP","PU_STDEV","PU_100STACK","PU_TABLE","PU_BACKGROUND","PU_IMAGE","PU_FUNNELCOLORS","PU_FORECAST","PU_TILECSS","PU_GRID","PU_MENU","PU_TOPCOLOR","PU_HONEYCOMB","PU_AUTOHIDE","PU_TREEMAP","PU_TIMEONPAGE","PU_CUMULATIVE","PU_ELLIPSIS","PU_MARKY","PU_RAGECLICK","PU_GRAPH","USQL_URL","MARKERS","COLOR_RED","COLOR_GRAY","COLOR_YELLOW","COLOR_GREEN","CHART_OPTS","SERIES_OPTS","animation","allowPointSelect","cursor","enableMouseTracking","stickyTracking","states","hover","enabled","halo","opacity","size","TOOLTIP_OPTS","outside","useHTML","hideDelay","shared","formatter","this","points","reduce","s","point","n","series","name","i","indexOf","length","sn","substring","$container","$","chart","container","color","$legend","parents","find","series_index","index","series_name","text","y","Number","isNaN","toLocaleString","undefined","maximumFractionDigits","tip","contrast","Highcharts","dateFormat","x","PIE_TOOLTIP_OPTS","pointFormat","PIE_SERIES_OPTS","AXIS_OPTS","crosshair","width","CREDITS_OFF","credits","DATALABELS","format","crop","overflow","style","fontSize","fontWeight","textOutline","UNITS","unit","conversions","factor","MO_CONFIG","attributes","childList","subtree","waits","observers","targets","dataTables","D3MutexBlocking","openKit","powerupsFired","uniqId","debounce","func","wait","timeout","executedFunction","args","later","clearTimeout","setTimeout","debounceMutex","fn","mutex","time","functionCall","p","apply","arguments","blocking","c","d3","rgb","L","r","g","b","clearPowerup","e","pub","PUHighchartsMutex","blocked","target","poweredup","cleanupOldChartsInTile","tile","selector","oldcharts","charts","filter","forEach","$parent","parent","$tile","is","console","log","destroy","remove","waitForHCmod","mod","retries","error","errorBeacon","seriesTypes","argsplit","str","pu","splitByPU","split","shift","count","argObjs","argstring","trim","map","push","arg","key","hasOwnProperty","includes","url","match","readTableData","tabletile","forceLastColumnNumber","getColors","getLinks","$tabletile","dataTable","normalTable","keys","colors","links","$table","$newTable","replace","each","el","$el","children","j","el2","$el2","css","$a","attr","numKeys","numRows","obj","num","link","parseUSQLField","row","colName","tryJSON","re","arr","substr","JSON","parse","Array","isArray","join","warn","columnSorterAsc","a","a0","b0","toLowerCase","columnSorterDesc","startBeacon","config","Powerups","BeaconOptOut","debug","email","internalUser","location","href","dtVersion","dbName","configuratorTag","envName","vals","tenantId","host","dashboardID","hash","libLocation","uuid","window","postMessage","OpenKit","action","beaconOptOut","applicationVersion","VERSION","operatingSystem","navigator","userAgent","manufacturer","modelId","screenResolution","innerWidth","innerHeight","crashBeacon","message","stack","err","context","endBeacon","download","filename","element","document","createElement","setAttribute","encodeURIComponent","display","body","appendChild","click","removeChild","downloadExcel","sheetname","json","wb","XLSX","utils","book_new","ws","json_to_sheet","book_append_sheet","wbout","writeFile","deprecatePU","$menuicon","$depicon","prev","addClass","html","SVGLib","insertBefore","$tooltip","on","offset","appendTo","detach","POWERUP_EXT_URL","encodeURI","PUHighchartsStatus","SVGInject","attempts","PUHighcharts","wrapExporting","wrap","Chart","prototype","proceed","slice","call","exportContextMenu","pos","defaultPadding","top","parseInt","left","chartWidth","exportMenuWidth","padding","originalTop","doc","startsWith","PUcount","promises","mainPromise","Deferred","PowerUpCreated","options","type","PUHighchart","when","done","val","then","resolve","removeEvent","EXPORT_OPTS","fallbackToExportServer","libURL","buttons","contextButton","menuItems","compare","optsNew","optsCurrent","toString","enableExporting","exporting","update","off","removeClass","restoreHandlers","pointer","onContainerTouchStart","stopImmediatePropagation","onContainerTouchMove","lineChartPU","tooltip","userOptions","xAxis","yAxis","pieChartPU","PU100stack","title","pad","opts","stacking","pointPadding","groupPadding","borderWidth","shadow","setExtremes","$title","PULine","PUUsqlStack","PUHeatmap","newContainer","PUforecast","PUcumulative","PUUsqlColor","tooltipPU","Object","colorAxis","redraw","data","runningTotal","$oldContainer","cast","limit","castcolor","limcolor","warncolor","critcolor","analysis","Math","round","$newContainer","insertAfter","newData","d","stringify","showInLegend","renderTo","k","id","legend","newChart","forecastTitle","plotLines","value","breach","label","Date","verticalAlign","align","IDs","dataSet","legendList","zIndex","showRange","groups","group","hide","seriesName","eq","itemStyle","itemHoverStyle","nextColor","lastColor","simpleMovingAverage","sma","smaPoint","sum","start","max","end","len","avg","addSeries","visible","expontialMovingAverage","ema","h","EMA","mean","m","standardDeviation","deltas","stdevs","acc","curr","stdev","sqrt","get","linkedTo","bands","stdPoint","linearRegression","x_sum","y_sum","xy_sum","xx_sum","line","linearTrendLine","projection","linear","l","newLine","linearProjection","dashStyle","axes","isXAxis","rangeProjection","highs","lows","highLR","lowLR","highLine","lowLine","range","updateYAxis","axis","yaxis","min","concat","tick","tickInterval","linePU","thld","hcol","lcol","series_opts","threshold","negativeColor","addPlotLine","usqlstackPU","dataLabels","idx","findIndex","p0","d0","splittings","newSeries","newCategories","Set","category","nameArr","newName","newSerie","seriesNum","setCategories","ns","usqlcolorPU","pt","highlightPointsInOtherCharts","currentTarget","chartIndex","event","normalize","originalEvent","searchPoint","drawCrosshair","removeHighlightPointsInOtherCharts","hideCrosshair","loadChartSync","cleanMarkup","marker","newTitle","$tag","bannerPowerUp","bannerPU","powerupFound","$md","txt","colorPowerUp","colorPU","class_norm","class_warn","animateWarning","class_crit","animateCritical","$bignum","base","crit","nan","$target","colorPUTarget","NaN","abs","$trend","trend","$markdown","markdown","ci","child","$child","childtext","$header","PUTopListColor","sorted","item","getColor","v","$toplist","$bignums","first","$bars","last","bignum","$bar","svgPowerUp","svgPU","$svgcontainer","icons","numBool","argObj","icon","findLinkedVal","multiIcon","iconIdx","imgURL","fetch","response","svgtext","empty","$svg","tc","tm","innerHTML","childNodes","height","addEventListener","tips","getElementsByClassName","parentNode","once","updateSVGPowerUp","hasClass","findLinkedElement","from","link_text","RegExp","i_link","el_link","$linktitle","test","$linktile","$linkmd","num_val","date_val","getTime","comma_val","last_val","findLinkedUnit","$sib","siblings","findLinkedTile","findLinkedMarkdown","sankeyPowerUp","sankeyPU","HARDMAX","H","sankey","nodes","Series","Point","destroyElements","props","prop","connectors","connector","table","params","filteredTable","touples","goals","apdexList","actionDetailList","UAPs","strings","doubles","longs","dates","buildNormalTable","validateNormalTable","filterTable","buildTouples","buildGoals","buildactionDetailList","addEntryActionsToList","addExitActionsToList","addUAPStringToList","addUAPDoubleToList","addUAPLongToList","addUAPDateToList","addDurationToList","addErrorsToList","addCrashesInApdexList","addApdexStylesToList","addGoalsToList","addDrillDownLinksToList","sortTouples","filteredOut","findFilteredActions","rows","crashes","hasCrash","applicationTypes","applicationType","totalSessions","colIdx","col","$rows","rowCount","rowIdx","rowEl","displayError","actions","aIdx","app","errors","filtered","convHack","unshift","f","fromIdx","to","fromApp","toApp","flat","crashgroupid","exclude","ex","include","inc","aapp","filteredApp","touplesInRow","touple","t","weight","actionName","goalsIdx","svg","goalName","appid","kuaid","apdexIdx","apdexObj","satisfied","tolerating","frustrated","entryAction","entryActionSVG","exitAction","exitActionSVG","uapCol","uapColIdx","uapVal","uapValIdx","uapIdx","uapObj","uap","durations","crash","lookbackIdx","apdex","goal","gtf","gf","drilldown","sort","ad","foIdx","fo","mobile","slicedTouples","actionsShown","marginLeft","marginBottom","marginRight","marginTop","clip","nodeFormat","nodeFormatter","tooltipNodeFormatter","pointFormatter","tooltipPointFormatter","headerFormat","backgroundColor","className","tt","nonEntryActions","linksFrom","toNode","nonExitActions","linksTo","fromNode","apdexSum","selfActions","apdexSatisfied","apdexTolerating","apdexFrustrated","avgDuration","conversionGoal","kpi","uc","graphic","charAt","toUpperCase","node","rotation","agg","cv","toupleTotal","fmt","Intl","NumberFormat","locale","language","rev","kpicurr","currency","anyCrashes","renderer","button","stopPropagation","newLimit","add","linksPopup","actionsPopup","sessionPopup","crashPopup","fidx","splice","$dropdown","$select","setColorMode","space","dropdownRight","$savebutton","$button","saveJSON","async","alertTxt","clipboard","writeText","alert","$txtarea","txtarea","focus","select","res","execCommand","activeElement","setSize","dataLabel","filterPopup","filterSankey","filterProp","div","currFmt","fmter","sublink","lastKey","list","$popup","session","hasSessionReplay","userExperienceScore","userId","userSessionId","crashGroups","crashGroupId","cg","filtersDirty","$colHeaders","cols","insertRows","entries","exits","other","notShown","header","vis","$tr","$col0","$col05","$col1","$col2","$col3","$hideCheck","$col4","$excludeCheck","$col5","$includeCheck","initCheck","innerAddRemoveFilter","checked","closePopup","shownTouples","notShownTouples","st","fromDrilldown","toDrilldown","$col6","$col7","findContainer","$containers","oldChart","$c","destroyChartsAndContainers","destory","chartTitle","flink","filterMD","filtertxt","filterJSON","mapPowerUp","worldmapPU","callback","mutationsList","observer","disconnect","transformMap","o","d3Target","valKey","scale","scaleLog","domain","zoom","scaleExtent","zoomed","selectAll","clicked","reset","transform","observe","bb","getBBox","transition","duration","zoomIdentity","translate","mouse","zoomTransform","invert","$path","country","code","countryData","flag","char","String","fromCodePoint","charCodeAt","$geoText","$valueText","pathColor","hsl","$maptile","$maptitle","maptitle","$tabletitle","tabletitle","titletokens","MutationObserver","heatmapPU","txtColor","ms","dataClasses","names","minColor","maxColor","oldContainer","endsWith","yNames","categories","oldCategories","categoryMap","Map","has","newCategory","dateFns","set","values","getPointCategoryName","dimension","isY","sIdx","$colorMatches","newCat","newCatIdx","date","toLocaleDateString","cIdx","total","newChartOpts","reversed","PUfunnel","funnelPU","$funnels","always","curve","bottomPinch","block","minHeight","dynamicHeight","dynamicSlope","barOverlay","fill","$funnelpanel","mode","small","big","$linkstile","mdtext","linkRE","linkList","matchAll","$steps","numSteps","steps","stepEl","$stepEl","step","percent","dPercent","dTime","customFormattedValue","$funnelContainer","D3Funnel","draw","tries","updateLabels","path","pathBBox","$label","cp","position","$grad","shade","c1","converted","sideColor","updateGradients","c2","stopI","stopEl","$back","hColor","hSideColor","checkForDoneDrawing","funnelLen","PUMath","mathPU","mathTiles","prio","$para","paratxt","exp","scopeStr","timeunit","full","dig","scope","tmpdate","tmptime","convertable","sourceUnit","u","conv","tokens","token","show","pairs","mexp","eval","sVal","$h1","PUCompare","comparePU","lt","gt","linkval","PUmCompare","$titleormd","low","high","linkvals","interpolateHsl","puDate","datePU","matches","subtext","gtss","gtse","dtDate","dtDateMath","dateMs","formattedDate","$wrapper","$sub","puGauge","gaugePU","$panel","stops","stop","digits","metric","units","positions","gaugeOptions","pane","center","startAngle","endAngle","background","innerRadius","outerRadius","shape","borderColor","lineWidth","tickWidth","minorTickInterval","tickPositioner","tickPosition","labels","endOnTick","valueSuffix","gaugeChart","extDisclaimer","DISC_HEIGHT","DISC_TEXT","moveTilesUp","sunburnMode","fixPublicDashboards","PUvlookup","notfound","string","as","firstColName","vlookupVal","sUnit","stripped","compareLink","compareVal","compareCol","compareTable","comparetabletile","$comparetabletile","compareFirstColName","compareRowIdx","compareColName","compareVlookupVal","asSwap","p_i","$p","clone","replaceAll","oldhtml","newhtml","search","searchEncoded","searchValEncoded","searchEncodedValEncoded","sessionQueryEncoded","PUtable","scroll","prependTo","$menu","$ellipsis","$list","$csv","$xls","toggle","toggleClass","csvContent","replacement","$span","$anchor","$newAnchor","replaceWith","trigger","PUstdev","output","sumsqdeltas","delta","quantile","q","floor","rest","PUhoneycomb","red","green","yellow","gray","orange","drill","colname","linkedTile","linkedTable","xt","yt","events","assign","usqlTile","N","plotOptions","PUtreemap","levels","numlevels","tree","sub","root","valkey","addSubsToData","skip","sub_v","layoutAlgorithm","alternateStartingDirection","levelIsConstant","allowDrillToNode","interactByLeaf","level","colorByPoint","hideEarlyAdopter","PUbackground","backgrounded","PowerUp","targetSelector","PUimage","out","PUfunnelColors","$paths","PUtilecss","reTitle","reCSS","reURL","$text","cssText","oldstyle","cssItems","PUmenu","argsArr","menu_icon_click_handler","a_class","child_idx","$icon","ti","targettitle","$targettile","PUHideShow","$tilecontent","$tilenocontent","newname","addHideShow","PUgrid","hor","ver","wid","margin","$grid","lineLeft","lineTop","$line","puTimeOnPage","timeOnPagePerName","starts","ends","loaded","next","onpage","pv","var","outputCol","numCols","$col","$head","$div","cleanupArtifacts","artifactClasses","artifacts","addReportButton","addEllipsisButton","PowerupReporting","openReportGenerator","$buttonContainer","$buttons","$ellipsisButton","PUellipsis","newTab","open","PUMarkyFlag","PUMarky","leftPosArrRow1","leftPosArrRow2","timer","timerRow1","timerRow2","tileNum","counterRow1","counterRow2","cycleTicker1","cycleTicker2","setInterval","PUGraph","graphLineColor","graphThresholdValue","graphThresholdColor","graphType","dataPoints","graphThreshold","completedElements","querySelectorAll","regex","innerText","hasPMath","parentElement","classList","contains","nextElementSibling","leg","querySelector","chartdata","gridLineColor","connectorAllowed","column","graphChart","PURageClick","rageActions","temp","UserEvent","ev","rageUA","UserAction","act","ActionTime","EventTime","ref","sortedRageActions","sortedScores","highscore","player","fireAllPowerUps","GridObserver","GO","firstRunRaceTime","mutationHappening","obs","mutationsDone","observeGrid","launchGridObserver","grid","$titles"],"sources":["clientside.js"],"mappings":"AAQA,IAAIA,kBAAoB,WACpB,MAAMC,YAAc,yDACpB,MAAMC,cAAgB,uCACtB,MAAMC,cAAgB,kBACtB,MAAMC,kBAAoB,iBAC1B,MAAMC,eAAiB,+BACvB,MAAMC,aAAe,0FACf,yDACA,8EACA,yEACA,+CACA,4CACA,yCACN,MAAMC,cAAgB,aACtB,MAAMC,gBAAkB,kCAClB,yCACN,MAAMC,kBAAoB,sEAC1B,MAAMC,gBAAkB,0EAClB,yCACA,8DACN,MAAMC,wBAA0B,qBAChC,MAAMC,eAAiB,oCACvB,MAAMC,aAAe,6BACrB,MAAMC,kBAAoB,0CAC1B,MAAMC,eAAiB,oCACvB,MAAMC,mBAAqB,gDAC3B,MAAMC,gBAAkB,4CACxB,MAAMC,aAAe,gDACrB,MAAMC,gBAAkB,qCACxB,MAAMC,mBAAqB,sCACrB,kEACA,+EACN,MAAMC,oBAAsB,yDAC5B,MAAMC,mBAAqB,2FACrB,0DACA,oGACN,MAAMC,gBAAkB,wDACxB,MAAMC,mBAAqB,kDAC3B,MAAMC,oBAAsB,mDAC5B,MAAMC,iBAAmB,yGACnB,gDACN,MAAMC,qBAAuB,0BAC7B,MAAMC,iBAAmB,yEACnB,wEACN,MAAMC,sBAAwB,4DAC9B,MAAMC,wBAA0B,6DAChC,MAAMC,wBAA0B,yCAChC,MAAMC,cAAgB,mCACtB,MAAMC,oBAAsB,mDAC5B,MAAMC,kBAAoB,iDAC1B,MAAMC,gBAAkB,+EAExB,MAAMC,UAAY,CACdjC,cAAeA,cAAeC,kBAAmBA,kBAAmBC,eAAgBA,eAAgBC,aAAcA,aAClHC,cAAeA,cAAeC,gBAAiBA,gBAAiBC,kBAAmBA,kBAAmBC,gBAAiBA,gBACvHC,wBAAyBA,wBAAyBC,eAAgBA,eAAgBC,aAAcA,aAChGC,kBAAmBA,kBAAmBC,eAAg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