@kong-ui-public/analytics-utilities 12.35.0 → 12.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"dashboardSchema.v2.d.ts","sourceRoot":"","sources":["../../src/dashboardSchema.v2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAuB/D,KAAK,qBAAqB,CAAC,CAAC,SAAS,UAAU,IAAI,UAAU,CAAC,CAAC,EAAE;IAAE,+BAA+B,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAI3G,eAAO,MAAM,kBAAkB,uLAarB,CAAA;AACV,MAAM,MAAM,iBAAiB,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAA;AAqCjE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAelB,CAAA;AAEV;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAA;AAE5E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBI,CAAA;AAE/B,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,OAAO,cAAc,CAAC,CAAA;AAE1E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;CAoBG,CAAA;AAE/B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBH,CAAA;AAE/B,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAExF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBE,CAAA;AAE/B,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE9E,eAAO,MAAM,gBAAgB;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCH,CAAA;AAE/B,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ce="kapture:prepare",Ie="kapture:restore";async function di(){const e=[];window.dispatchEvent(new CustomEvent(Ce,{detail:{waitUntil:t=>e.push(t)}})),await Promise.allSettled(e)}function mi(){window.dispatchEvent(new CustomEvent(Ie))}function Rn(e){let t;const n=()=>{t?.(),t=void 0},a=i=>{i.detail?.waitUntil((async()=>{t=await e()})())};return window.addEventListener(Ce,a),window.addEventListener(Ie,n),()=>{window.removeEventListener(Ce,a),window.removeEventListener(Ie,n),n()}}function fi(e,t={}){return Rn(async()=>{const n=e();if(!n)return;t.redraw?.();const a=new Image;return a.src=n.toDataURL("image/png"),await a.decode(),a.style.cssText=`position:absolute;top:0;left:0;width:${n.clientWidth}px;height:${n.clientHeight}px;`,n.parentElement?.appendChild(a),n.style.visibility="hidden",()=>{a.remove(),n.style.visibility=""}})}const hi=30*1e3,pi=1e3,yi="analytics-query-provider";var d=(e=>(e.FIFTEEN_MIN="15m",e.ONE_HOUR="1h",e.SIX_HOUR="6h",e.TWELVE_HOUR="12h",e.ONE_DAY="24h",e.SEVEN_DAY="7d",e.THIRTY_DAY="30d",e.NINETY_DAY="90d",e.ONE_HUNDRED_EIGHTY_DAY="180d",e.ONE_YEAR="365d",e.CURRENT_WEEK="current_week",e.CURRENT_MONTH="current_month",e.CURRENT_QUARTER="current_quarter",e.CURRENT_YEAR="current_year",e.PREVIOUS_WEEK="previous_week",e.PREVIOUS_MONTH="previous_month",e.PREVIOUS_QUARTER="previous_quarter",e.PREVIOUS_YEAR="previous_year",e))(d||{});const gi=["90d","180d","365d","current_quarter","previous_quarter","current_year","previous_year"],_i=["horizontal_bar","vertical_bar","timeseries_line","choropleth_map","timeseries_bar","donut","single_value","top_n","table","scatter"],Nn=["in","not_in","selector"],wi=["=","!="],bi=["=","!=","<",">","<=",">="],Pn=["empty","not_empty"],Ti=["starts_with","ends_with"],Di=["absolute","relative"],Si=["15m","1h","6h","12h","24h","7d","current_week","previous_week","30d","current_month","previous_month"],lt=["secondly","tenSecondly","thirtySecondly","minutely","fiveMinutely","tenMinutely","thirtyMinutely","hourly","twoHourly","twelveHourly","daily","weekly","trend"],V=e=>e.filter(t=>t!=="time"),Ye=["api","api_package","api_product","api_product_version","control_plane","control_plane_group","data_plane_node","gateway_service","portal","route","status_code","status_code_grouped","time"],he=V(Ye),dt=["active_services","error_rate","request_count","request_per_minute","response_latency_average"],Fe=[...Ye,"ai_gateway","ai_gateway_consumer","ai_gateway_data_plane_node","application","bot_info_action","bot_info_detection_reason","bot_info_ban_type","cache_status","consumer","consumer_group","country_code","oidc_credential","upstream_status_code","upstream_status_code_grouped","response_source","data_plane_node_version","realm","portal_api","principal"],pe=V(Fe),mt=[...dt,"cache_hit_rate","response_latency_p99","response_latency_p95","response_latency_p50","upstream_latency_p99","upstream_latency_p95","upstream_latency_p50","upstream_latency_average","kong_latency_p99","kong_latency_p95","kong_latency_p50","kong_latency_average","kong_internal_latency_p99","kong_internal_latency_p95","kong_internal_latency_p50","kong_internal_latency_average","response_size_p99","response_size_p95","response_size_p50","response_size_average","response_size_sum","request_size_p99","request_size_p95","request_size_p50","request_size_average","request_size_sum"],ft=["control_plane","control_plane_group","ai_gateway","gateway_service","consumer","ai_gateway_consumer","ai_gateway_consumer_group","application","oidc_credential","route","ai_provider","ai_response_model","ai_request_model","llm_cache_status","llm_embeddings_provider","llm_embeddings_model","time","realm","status_code","status_code_grouped","ai_plugin","principal","cache_status","ai_gateway_mcp_server","ai_gateway_model","ai_gateway_agent","ai_gateway_data_plane_node"],ye=V(ft),xn=["total_tokens","total_tokens_per_minute","prompt_tokens","completion_tokens","cached_tokens","ai_request_count","error_rate","cost","llm_cache_embeddings_latency_average","llm_cache_fetch_latency_average","llm_latency_average","llm_embeddings_tokens","llm_embeddings_cost","time_to_first_token_average","time_to_first_token_p99","time_to_first_token_p95","time_to_first_token_p50","time_per_token_average","time_per_token_p99","time_per_token_p95","time_per_token_p50"],Cn=["a2a_context_id","a2a_error","a2a_method","a2a_task_id","api","api_package","api_product","api_product_version","application","auth_type","bot_info_action","bot_info_detection_reason","bot_info_ja4_fingerprint","bot_info_ban_type","bot_info_header_names","cache_status","client_ip","consumer","ai_gateway_consumer","consumer_group","ai_gateway_consumer_group","control_plane","control_plane_group","ai_gateway","country_code","data_plane_node","data_plane_node_version","ai_gateway_data_plane_node","gateway_service","header_host","header_user_agent","http_method","mcp_error","mcp_method","mcp_session_id","mcp_tool_name","oidc_credential","portal","principal","realm","request_id","request_uri","response_header_content_type","response_source","route","service_port","service_protocol","sse","status_code_grouped","time","trace_id","upstream_uri","upstream_status_code_grouped","websocket"],In=V(Cn),An=["auth_type","cache_status","client_ip","data_plane_node_version","header_host","header_user_agent","http_method","oidc_credential","request_id","request_uri","response_header_content_type","response_source","service_port","service_protocol","trace_id","upstream_uri"],Mi=An,kn=["ai_count","latencies_response_ms","latencies_upstream_ms","latencies_kong_gateway_ms","latencies_kong_internal_ms","request_body_size","response_body_size","response_header_content_length","status_code","upstream_status_code"],Gn=V(kn),Ei=["15M","1H","6H","12H","24H","7D"],ot=1e3,Yn=["platform","platform_usage"],Oi=e=>Yn.includes(e),ht=[...Fe,"a2a_context_id","a2a_error","a2a_method","a2a_task_id","ai_gateway_agent","ai_gateway_mcp_server","mcp_error","mcp_method","mcp_session_id","mcp_tool_name"],ge=V(ht),Fn=[...mt,"a2a_latency_average","a2a_response_size_sum","mcp_latency_average","mcp_latency_p99","mcp_latency_p95","mcp_latency_p50","mcp_response_size_sum"],pt=["control_plane","data_plane_group","managed_cache","network","provider","provider_region","time"],Ue=V(pt),Un=["cache_eviction_rate","cache_expiration_rate","cache_items_average","cache_memory_utilization_max"],vi=["basic","api_usage","llm_usage","agentic_usage","platform","platform_usage","managed_cache_usage"],qn={basic:new Set(he),api_usage:new Set(pe),llm_usage:new Set(ye),agentic_usage:new Set(ge),platform:new Set,platform_usage:new Set,managed_cache_usage:new Set(Ue)},Ri=(e,t)=>e.startsWith("goap")||e==="platform"||e==="platform_usage"?t:t.filter(n=>qn[e].has(n.field)),yt=[{code:"AF",name:"Afghanistan"},{code:"AX",name:"Aland Islands"},{code:"AL",name:"Albania"},{code:"DZ",name:"Algeria"},{code:"AS",name:"American Samoa"},{code:"AD",name:"Andorra"},{code:"AO",name:"Angola"},{code:"AI",name:"Anguilla"},{code:"AQ",name:"Antarctica"},{code:"AG",name:"Antigua and Barbuda"},{code:"AR",name:"Argentina"},{code:"AM",name:"Armenia"},{code:"AW",name:"Aruba"},{code:"AU",name:"Australia"},{code:"AT",name:"Austria"},{code:"AZ",name:"Azerbaijan"},{code:"BS",name:"Bahamas"},{code:"BH",name:"Bahrain"},{code:"BD",name:"Bangladesh"},{code:"BB",name:"Barbados"},{code:"BY",name:"Belarus"},{code:"BE",name:"Belgium"},{code:"BZ",name:"Belize"},{code:"BJ",name:"Benin"},{code:"BM",name:"Bermuda"},{code:"BT",name:"Bhutan"},{code:"BO",name:"Bolivia"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BW",name:"Botswana"},{code:"BV",name:"Bouvet Island"},{code:"BR",name:"Brazil"},{code:"IO",name:"British Indian Ocean Territory"},{code:"BN",name:"Brunei Darussalam"},{code:"BG",name:"Bulgaria"},{code:"BF",name:"Burkina Faso"},{code:"BI",name:"Burundi"},{code:"KH",name:"Cambodia"},{code:"CM",name:"Cameroon"},{code:"CA",name:"Canada"},{code:"CV",name:"Cape Verde"},{code:"KY",name:"Cayman Islands"},{code:"CF",name:"Central African Republic"},{code:"TD",name:"Chad"},{code:"CL",name:"Chile"},{code:"CN",name:"China"},{code:"CX",name:"Christmas Island"},{code:"CC",name:"Cocos (Keeling) Islands"},{code:"CO",name:"Colombia"},{code:"KM",name:"Comoros"},{code:"CG",name:"Congo"},{code:"CD",name:"Democratic Republic of the Congo"},{code:"CK",name:"Cook Islands"},{code:"CR",name:"Costa Rica"},{code:"CI",name:"Cote d'Ivoire"},{code:"HR",name:"Croatia"},{code:"CU",name:"Cuba"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czech Republic"},{code:"DK",name:"Denmark"},{code:"DJ",name:"Djibouti"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic"},{code:"EC",name:"Ecuador"},{code:"EG",name:"Egypt"},{code:"SV",name:"El Salvador"},{code:"GQ",name:"Equatorial Guinea"},{code:"ER",name:"Eritrea"},{code:"EE",name:"Estonia"},{code:"ET",name:"Ethiopia"},{code:"FK",name:"Falkland Islands (Malvinas)"},{code:"FO",name:"Faroe Islands"},{code:"FJ",name:"Fiji"},{code:"FI",name:"Finland"},{code:"FR",name:"France"},{code:"GF",name:"French Guiana"},{code:"PF",name:"French Polynesia"},{code:"TF",name:"French Southern Territories"},{code:"GA",name:"Gabon"},{code:"GM",name:"Gambia"},{code:"GE",name:"Georgia"},{code:"DE",name:"Germany"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GR",name:"Greece"},{code:"GL",name:"Greenland"},{code:"GD",name:"Grenada"},{code:"GP",name:"Guadeloupe"},{code:"GU",name:"Guam"},{code:"GT",name:"Guatemala"},{code:"GG",name:"Guernsey"},{code:"GN",name:"Guinea"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HT",name:"Haiti"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"VA",name:"The Vatican"},{code:"HN",name:"Honduras"},{code:"HK",name:"Hong Kong"},{code:"HU",name:"Hungary"},{code:"IS",name:"Iceland"},{code:"IN",name:"India"},{code:"ID",name:"Indonesia"},{code:"IR",name:"Iran"},{code:"IQ",name:"Iraq"},{code:"IE",name:"Ireland"},{code:"IM",name:"Isle of Man"},{code:"IL",name:"Israel"},{code:"IT",name:"Italy"},{code:"JM",name:"Jamaica"},{code:"JP",name:"Japan"},{code:"JE",name:"Jersey"},{code:"JO",name:"Jordan"},{code:"KZ",name:"Kazakhstan"},{code:"KE",name:"Kenya"},{code:"KI",name:"Kiribati"},{code:"KP",name:"North Korea"},{code:"KR",name:"South Korea"},{code:"KW",name:"Kuwait"},{code:"KG",name:"Kyrgyzstan"},{code:"LA",name:"Laos"},{code:"LV",name:"Latvia"},{code:"LB",name:"Lebanon"},{code:"LS",name:"Lesotho"},{code:"LR",name:"Liberia"},{code:"LY",name:"Libya"},{code:"LI",name:"Liechtenstein"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"MO",name:"Macao"},{code:"MK",name:"Macedonia"},{code:"MG",name:"Madagascar"},{code:"MW",name:"Malawi"},{code:"MY",name:"Malaysia"},{code:"MV",name:"Maldives"},{code:"ML",name:"Mali"},{code:"MT",name:"Malta"},{code:"MH",name:"Marshall Islands"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MU",name:"Mauritius"},{code:"YT",name:"Mayotte"},{code:"MX",name:"Mexico"},{code:"FM",name:"Micronesia, "},{code:"MD",name:"Moldova,"},{code:"MC",name:"Monaco"},{code:"MN",name:"Mongolia"},{code:"ME",name:"Montenegro"},{code:"MS",name:"Montserrat"},{code:"MA",name:"Morocco"},{code:"MZ",name:"Mozambique"},{code:"MM",name:"Myanmar"},{code:"NA",name:"Namibia"},{code:"NR",name:"Nauru"},{code:"NP",name:"Nepal"},{code:"NL",name:"Netherlands"},{code:"NC",name:"New Caledonia"},{code:"NZ",name:"New Zealand"},{code:"NI",name:"Nicaragua"},{code:"NE",name:"Niger"},{code:"NG",name:"Nigeria"},{code:"NU",name:"Niue"},{code:"NF",name:"Norfolk Island"},{code:"MP",name:"Northern Mariana Islands"},{code:"NO",name:"Norway"},{code:"OM",name:"Oman"},{code:"PK",name:"Pakistan"},{code:"PW",name:"Palau"},{code:"PA",name:"Panama"},{code:"PG",name:"Papua New Guinea"},{code:"PY",name:"Paraguay"},{code:"PE",name:"Peru"},{code:"PH",name:"Philippines"},{code:"PN",name:"Pitcairn"},{code:"PL",name:"Poland"},{code:"PT",name:"Portugal"},{code:"PR",name:"Puerto Rico"},{code:"QA",name:"Qatar"},{code:"RE",name:"Reunion"},{code:"RO",name:"Romania"},{code:"RU",name:"Russia"},{code:"RW",name:"Rwanda"},{code:"BL",name:"Saint Barthelemy"},{code:"SH",name:"Saint Helena"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"LC",name:"Saint Lucia"},{code:"MF",name:"Saint Martin"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"WS",name:"Samoa"},{code:"SM",name:"San Marino"},{code:"ST",name:"Sao Tome and Principe"},{code:"SA",name:"Saudi Arabia"},{code:"SN",name:"Senegal"},{code:"RS",name:"Serbia"},{code:"SC",name:"Seychelles"},{code:"SL",name:"Sierra Leone"},{code:"SG",name:"Singapore"},{code:"SX",name:"Sint Maarten"},{code:"SK",name:"Slovakia"},{code:"SI",name:"Slovenia"},{code:"SB",name:"Solomon Islands"},{code:"SO",name:"Somalia"},{code:"ZA",name:"South Africa"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"SS",name:"South Sudan"},{code:"ES",name:"Spain"},{code:"LK",name:"Sri Lanka"},{code:"SD",name:"Sudan"},{code:"SR",name:"Suriname"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SZ",name:"Swaziland"},{code:"SE",name:"Sweden"},{code:"CH",name:"Switzerland"},{code:"SY",name:"Syria"},{code:"TW",name:"Taiwan"},{code:"TJ",name:"Tajikistan"},{code:"TZ",name:"Tanzania"},{code:"TH",name:"Thailand"},{code:"TL",name:"Timor-Leste"},{code:"TG",name:"Togo"},{code:"TK",name:"Tokelau"},{code:"TO",name:"Tonga"},{code:"TT",name:"Trinidad and Tobago"},{code:"TN",name:"Tunisia"},{code:"TR",name:"Turkey"},{code:"TM",name:"Turkmenistan"},{code:"TC",name:"Turks and Caicos Islands"},{code:"TV",name:"Tuvalu"},{code:"UG",name:"Uganda"},{code:"UA",name:"Ukraine"},{code:"AE",name:"United Arab Emirates"},{code:"GB",name:"United Kingdom"},{code:"US",name:"United States"},{code:"UM",name:"United States Minor Outlying Islands"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VU",name:"Vanuatu"},{code:"VE",name:"Venezuela"},{code:"VN",name:"Vietnam"},{code:"VG",name:"British Virgin Islands"},{code:"VI",name:"U.S. Virgin Islands"},{code:"WF",name:"Wallis and Futuna"},{code:"EH",name:"Western Sahara"},{code:"YE",name:"Yemen"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}],Ni=["horizontal_bar","vertical_bar","gauge","donut","timeseries_line","timeseries_bar","golden_signals","top_n","table","slottable","single_value","choropleth_map"],_e={type:"string"},Y={type:"string"},Hn={type:"boolean"},Ln={type:"string",description:"Text rendered in the tile header. Supports the {timeframe} token, "},Pi={type:"object",additionalProperties:{type:"string"}},Wn={type:["object","array"],items:{type:"string"},additionalProperties:{type:"string"}},jn={type:"object",deprecated:!0,description:"Deprecated: use the top-level tile shape { type: 'slottable', id, layout } instead of a chart-level 'slottable' definition.",properties:{type:{type:"string",enum:["slottable"]},id:{type:"string"}},required:["type","id"],additionalProperties:!1},Vn={type:"object",properties:{type:{type:"string",enum:["horizontal_bar","vertical_bar"]},stacked:{type:"boolean"},chart_dataset_colors:Wn,synthetics_data_key:_e,chart_title:Y,allow_csv_export:Hn},required:["type"],additionalProperties:!1},$n={type:"object",properties:{type:{type:"string",enum:["warning","error","neutral"]},value:{type:"number"},label:{type:"string"},highlightIntersections:{type:"boolean",default:!1}},required:["type","value"],additionalProperties:!1},zn={type:"object",properties:{type:{type:"string",enum:["timeseries_line","timeseries_bar"]},stacked:{type:"boolean"},threshold:{type:"object",additionalProperties:{type:"array",items:$n}},chart_dataset_colors:Wn,synthetics_data_key:_e,chart_title:Y,allow_csv_export:Hn},required:["type"],additionalProperties:!1},Bn={type:"object",properties:{type:{type:"string",enum:["gauge"]},metric_display:{type:"string",enum:["hidden","single","full"]},reverse_dataset:{type:"boolean"},numerator:{type:"number"},synthetics_data_key:_e,chart_title:Y},required:["type"],additionalProperties:!1},Qn={type:"object",properties:{type:{type:"string",enum:["donut"]},synthetics_data_key:_e,chart_title:Y},required:["type"],additionalProperties:!1},Xn={type:"object",properties:{chart_title:Y,synthetics_data_key:_e,type:{type:"string",enum:["top_n"]},description:{type:"string",deprecated:!0,description:"Deprecated: use `header_description` on the tile definition."},entity_link:{type:"string"},entity_links:Pi},required:["type"],additionalProperties:!1},Zn={type:"object",properties:{type:{type:"string",enum:["table"]},chart_title:Y},required:["type"],additionalProperties:!1},Kn={type:"object",properties:{chart_title:Y,type:{type:"string",enum:["golden_signals"]},long_card_titles:{type:"boolean"},percentile_latency:{type:"boolean"}},required:["type"],additionalProperties:!1},Jn={type:"object",properties:{type:{type:"string",enum:["single_value"]},decimal_points:{type:"number"},chart_title:Y},required:["type"],additionalProperties:!1},ea={type:"object",properties:{type:{type:"string",enum:["choropleth_map"]},chart_title:Y,fit_to_country:{type:"string",enum:yt.map(e=>e.code)},legend:{type:"boolean",default:!1},bounds:{type:"array",minItems:2,maxItems:2,items:{type:"array",minItems:2,maxItems:2,items:[{type:"number",minimum:-180,maximum:180},{type:"number",minimum:-90,maximum:90}]}}},required:["type"],additionalProperties:!1},xi={type:"object",properties:{tz:{type:"string",default:"Etc/UTC"},type:{type:"string",enum:["relative"]},time_range:{type:"string"}},required:["type","time_range"],additionalProperties:!1},Ci={type:"object",description:"A duration representing an exact start and end time.",properties:{tz:{type:"string"},type:{type:"string",enum:["absolute"]},start:{type:"string"},end:{type:"string"}},required:["type","start","end"],additionalProperties:!1},ae={granularity:{type:"string",description:'Force time grouping into buckets of this duration. Only has an effect if "time" is in the "dimensions" list.',enum:lt},time_range:{type:"object",description:"The time range to query.",anyOf:[xi,Ci],default:{type:"relative",time_range:"1h"}},limit:{type:"number"},meta:{type:"object"}},re=e=>({type:"array",description:"List of aggregated metrics to collect across the requested time span.",items:{type:"string",...e?{enum:e}:{}}}),ie=e=>({type:"array",description:"List of attributes or entity types to group by.",minItems:0,maxItems:3,items:{type:"string",...e?{enum:e}:{}}}),oe=e=>({type:"array",description:"A list of filters to apply to the query",items:{oneOf:[{type:"object",description:"In filter",properties:{field:{type:"string",...e?{enum:e}:{}},operator:{type:"string",enum:Nn},value:{type:"array",items:{type:["string","number","null"]}}},required:["field","operator","value"],additionalProperties:!1},{type:"object",description:"Empty filter",properties:{field:{type:"string",...e?{enum:e}:{}},operator:{type:"string",enum:Pn}},required:["field","operator"],additionalProperties:!1}]}}),ta=["control_plane","gateway_service","realm","route","plugin","plugin_name","plugin_scope","data_plane_node_version","env","team","region","hostname"],na=()=>({type:"array",description:"A list of filters to apply to the platform query",items:{oneOf:[{type:"object",description:"In filter",properties:{field:{type:"string"},operator:{type:"string"},value:{type:"array",items:{type:["string","number","null"]}}},required:["field","operator","value"],additionalProperties:!1},{type:"object",description:"Empty filter",properties:{field:{type:"string"},operator:{type:"string"}},required:["field","operator"],additionalProperties:!1}]}}),aa={type:"object",description:"A query to launch at the advanced explore API",properties:{datasource:{type:"string",enum:["api_usage"]},metrics:re(mt),dimensions:ie(Fe),filters:oe(pe),...ae},required:["datasource"],additionalProperties:!1},ra={type:"object",description:"A query to launch at the basic explore API",properties:{datasource:{type:"string",enum:["basic"]},metrics:re(dt),dimensions:ie(Ye),filters:oe(he),...ae},required:["datasource"],additionalProperties:!1},ia={type:"object",description:"A query to launch at the AI explore API",properties:{datasource:{type:"string",enum:["llm_usage"]},metrics:re(xn),dimensions:ie(ft),filters:oe(ye),...ae},required:["datasource"],additionalProperties:!1},oa={type:"object",description:"A query to launch at the Agentic explore API",properties:{datasource:{type:"string",enum:["agentic_usage"]},metrics:re(Fn),dimensions:ie(ht),filters:oe(ge),...ae},required:["datasource"],additionalProperties:!1},sa={type:"object",description:"A query to launch at the Managed Cache explore API",properties:{datasource:{type:"string",enum:["managed_cache_usage"]},metrics:re(Un),dimensions:ie(pt),filters:oe(Ue),...ae},required:["datasource"],additionalProperties:!1},ca={oneOf:[{const:"platform_usage"},{const:"platform",deprecated:!0,description:"Deprecated: use 'platform_usage'."}]},ua={type:"object",description:"A query to launch at the platform dashboard API. Use datasource 'platform_usage'; 'platform' is accepted for backward compatibility but deprecated.",properties:{datasource:ca,metrics:re(),dimensions:ie(),filters:na(),...ae},required:["datasource"],additionalProperties:!1},la={type:"object",description:"A query to launch at the platform tabular explore API. Use datasource 'platform_usage'; 'platform' is accepted for backward compatibility but deprecated.",properties:{datasource:ca,entity:{type:"string"},columns:{type:"array",minItems:1,items:{type:"string"}},filters:na(),cursor:{type:"string"},page_size:{type:"number"}},required:["datasource"],additionalProperties:!1},da=[aa,ra,ia,oa,sa,ua],ma={anyOf:da},fa=[la],ha={anyOf:fa},Ii={anyOf:[...da,...fa]},Ai={anyOf:[Vn,Bn,Qn,zn,Kn,Xn,jn,Jn,ea]},ki={type:"object",properties:{query:ma,chart:Ai,header_description:Ln},required:["query","chart"],additionalProperties:!1},Gi={type:"object",properties:{query:ha,chart:Zn,header_description:Ln},required:["query","chart"],additionalProperties:!1},pa={anyOf:[ki,Gi]},gt={type:"object",properties:{position:{type:"object",properties:{col:{type:"number"},row:{type:"number"}},description:"Position of the tile in the grid.",required:["col","row"],additionalProperties:!1},size:{type:"object",properties:{cols:{type:"number"},rows:{type:"number"},fit_to_content:{type:"boolean"}},description:"Number of columns and rows the tile occupies. If fitToContent is true for every tile in a row, and each tile only occupies 1 row, then the row will auto-fit to its content.",required:["cols","rows"],additionalProperties:!1}},required:["position","size"],additionalProperties:!1},ya={type:"object",properties:{type:{type:"string",enum:["chart"]},definition:pa,layout:gt,id:{type:"string",description:"Unique identifier for the tile. If not provided, one will be generated."}},required:["type","definition","layout"],additionalProperties:!1},ga={type:"object",description:"A tile that renders arbitrary content into a named slot instead of a chart. The slot name is the tile `id`.",properties:{type:{type:"string",enum:["slottable"]},id:{type:"string",description:"Unique identifier for the tile, and the name of the slot the host application should supply."},layout:gt},required:["type","id","layout"],additionalProperties:!1},_a={anyOf:[ya,ga]},Yi={type:"object",properties:{tiles:{type:"array",items:_a},tile_height:{type:"number",description:"Height of each tile in pixels."},columns:{type:"number",description:"Number of columns in the dashboard grid."},preset_filters:oe([...new Set([...pe,...he,...ye,...ge,...ta,...Ue])]),template_id:{type:["string","null"],description:"Template id which was used to instantiate this dashboard."}},required:["tiles"],additionalProperties:!1},Fi=e=>{const t=[];return he.includes(e)&&t.push("basic"),pe.includes(e)&&t.push("api_usage"),ye.includes(e)&&t.push("llm_usage"),ge.includes(e)&&t.push("agentic_usage"),(In.includes(e)||Gn.includes(e))&&t.push("requests"),t},Ui={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},qi=(e,t,n)=>{let a;const i=Ui[e];return typeof i=="string"?a=i:t===1?a=i.one:a=i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function et(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Hi={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Li={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wi={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ji={date:et({formats:Hi,defaultWidth:"full"}),time:et({formats:Li,defaultWidth:"full"}),dateTime:et({formats:Wi,defaultWidth:"full"})},Vi={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$i=(e,t,n,a)=>Vi[e];function ue(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let i;if(a==="formatting"&&e.formattingValues){const c=e.defaultFormattingWidth||e.defaultWidth,l=n?.width?String(n.width):c;i=e.formattingValues[l]||e.formattingValues[c]}else{const c=e.defaultWidth,l=n?.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[c]}const o=e.argumentCallback?e.argumentCallback(t):t;return i[o]}}const zi={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bi={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qi={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Xi={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Zi={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ki={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ji=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},eo={ordinalNumber:Ji,era:ue({values:zi,defaultWidth:"wide"}),quarter:ue({values:Bi,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ue({values:Qi,defaultWidth:"wide"}),day:ue({values:Xi,defaultWidth:"wide"}),dayPeriod:ue({values:Zi,defaultWidth:"wide",formattingValues:Ki,defaultFormattingWidth:"wide"})};function le(e){return(t,n={})=>{const a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const c=o[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(l)?no(l,y=>y.test(c)):to(l,y=>y.test(c));let h;h=e.valueCallback?e.valueCallback(f):f,h=n.valueCallback?n.valueCallback(h):h;const p=t.slice(c.length);return{value:h,rest:p}}}function to(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function no(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function ao(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const i=a[0],o=t.match(e.parsePattern);if(!o)return null;let c=e.valueCallback?e.valueCallback(o[0]):o[0];c=n.valueCallback?n.valueCallback(c):c;const l=t.slice(i.length);return{value:c,rest:l}}}const ro=/^(\d+)(th|st|nd|rd)?/i,io=/\d+/i,oo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},so={any:[/^b/i,/^(a|c)/i]},co={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},uo={any:[/1/i,/2/i,/3/i,/4/i]},lo={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},mo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},fo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ho={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},po={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},yo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},go={ordinalNumber:ao({matchPattern:ro,parsePattern:io,valueCallback:e=>parseInt(e,10)}),era:le({matchPatterns:oo,defaultMatchWidth:"wide",parsePatterns:so,defaultParseWidth:"any"}),quarter:le({matchPatterns:co,defaultMatchWidth:"wide",parsePatterns:uo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:le({matchPatterns:lo,defaultMatchWidth:"wide",parsePatterns:mo,defaultParseWidth:"any"}),day:le({matchPatterns:fo,defaultMatchWidth:"wide",parsePatterns:ho,defaultParseWidth:"any"}),dayPeriod:le({matchPatterns:po,defaultMatchWidth:"any",parsePatterns:yo,defaultParseWidth:"any"})},_o={code:"en-US",formatDistance:qi,formatLong:ji,formatRelative:$i,localize:eo,match:go,options:{weekStartsOn:0,firstWeekContainsDate:1}};let wo={};function we(){return wo}const wa=6048e5,bo=864e5,To=60,Do=3600,nn=Symbol.for("constructDateFrom");function N(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&nn in e?e[nn](t):e instanceof Date?new e.constructor(t):new Date(t)}function S(e,t){return N(t||e,e)}function an(e){const t=S(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function So(e,...t){const n=N.bind(null,t.find(a=>typeof a=="object"));return t.map(n)}function ee(e,t){const n=S(e,t?.in);return n.setHours(0,0,0,0),n}function Mo(e,t,n){const[a,i]=So(n?.in,e,t),o=ee(a),c=ee(i),l=+o-an(o),f=+c-an(c);return Math.round((l-f)/bo)}function Eo(e,t){const n=S(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Oo(e,t){const n=S(e,t?.in);return Mo(n,Eo(n))+1}function G(e,t){const n=we(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=S(e,t?.in),o=i.getDay(),c=(o<a?7:0)+o-a;return i.setDate(i.getDate()-c),i.setHours(0,0,0,0),i}function Ae(e,t){return G(e,{...t,weekStartsOn:1})}function ba(e,t){const n=S(e,t?.in),a=n.getFullYear(),i=N(n,0);i.setFullYear(a+1,0,4),i.setHours(0,0,0,0);const o=Ae(i),c=N(n,0);c.setFullYear(a,0,4),c.setHours(0,0,0,0);const l=Ae(c);return n.getTime()>=o.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}function vo(e,t){const n=ba(e,t),a=N(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Ae(a)}function Ro(e,t){const n=S(e,t?.in),a=+Ae(n)-+vo(n);return Math.round(a/wa)+1}function Ta(e,t){const n=S(e,t?.in),a=n.getFullYear(),i=we(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,c=N(t?.in||e,0);c.setFullYear(a+1,0,o),c.setHours(0,0,0,0);const l=G(c,t),f=N(t?.in||e,0);f.setFullYear(a,0,o),f.setHours(0,0,0,0);const h=G(f,t);return+n>=+l?a+1:+n>=+h?a:a-1}function No(e,t){const n=we(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=Ta(e,t),o=N(t?.in||e,0);return o.setFullYear(i,0,a),o.setHours(0,0,0,0),G(o,t)}function Po(e,t){const n=S(e,t?.in),a=+G(n,t)-+No(n,t);return Math.round(a/wa)+1}function w(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const U={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return w(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):w(n+1,2)},d(e,t){return w(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return w(e.getHours()%12||12,t.length)},H(e,t){return w(e.getHours(),t.length)},m(e,t){return w(e.getMinutes(),t.length)},s(e,t){return w(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),i=Math.trunc(a*Math.pow(10,n-3));return w(i,t.length)}},Z={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},rn={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return U.y(e,t)},Y:function(e,t,n,a){const i=Ta(e,a),o=i>0?i:1-i;if(t==="YY"){const c=o%100;return w(c,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):w(o,t.length)},R:function(e,t){const n=ba(e);return w(n,t.length)},u:function(e,t){const n=e.getFullYear();return w(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return w(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return w(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return U.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return w(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const i=Po(e,a);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):w(i,t.length)},I:function(e,t,n){const a=Ro(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):w(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):U.d(e,t)},D:function(e,t,n){const a=Oo(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):w(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const i=e.getDay(),o=(i-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return w(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const i=e.getDay(),o=(i-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return w(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),i=a===0?7:a;switch(t){case"i":return String(i);case"ii":return w(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let i;switch(a===12?i=Z.noon:a===0?i=Z.midnight:i=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let i;switch(a>=17?i=Z.evening:a>=12?i=Z.afternoon:a>=4?i=Z.morning:i=Z.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return U.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):U.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):w(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):w(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):U.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):U.s(e,t)},S:function(e,t){return U.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return sn(a);case"XXXX":case"XX":return j(a);default:return j(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return sn(a);case"xxxx":case"xx":return j(a);default:return j(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+on(a,":");default:return"GMT"+j(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+on(a,":");default:return"GMT"+j(a,":")}},t:function(e,t,n){const a=Math.trunc(+e/1e3);return w(a,t.length)},T:function(e,t,n){return w(+e,t.length)}};function on(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),i=Math.trunc(a/60),o=a%60;return o===0?n+String(i):n+String(i)+t+w(o,2)}function sn(e,t){return e%60===0?(e>0?"-":"+")+w(Math.abs(e)/60,2):j(e,t)}function j(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),i=w(Math.trunc(a/60),2),o=w(a%60,2);return n+i+t+o}const cn=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Da=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},xo=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return cn(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",cn(a,t)).replace("{{time}}",Da(i,t))},Co={p:Da,P:xo},Io=/^D+$/,Ao=/^Y+$/,ko=["D","DD","YY","YYYY"];function Go(e){return Io.test(e)}function Yo(e){return Ao.test(e)}function Fo(e,t,n){const a=Uo(e,t,n);if(console.warn(a),ko.includes(e))throw new RangeError(a)}function Uo(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function qo(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ho(e){return!(!qo(e)&&typeof e!="number"||isNaN(+S(e)))}const Lo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jo=/^'([^]*?)'?$/,Vo=/''/g,$o=/[a-zA-Z]/;function zo(e,t,n){const a=we(),i=n?.locale??a.locale??_o,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=S(e,n?.in);if(!Ho(l))throw new RangeError("Invalid time value");let f=t.match(Wo).map(p=>{const y=p[0];if(y==="p"||y==="P"){const g=Co[y];return g(p,i.formatLong)}return p}).join("").match(Lo).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const y=p[0];if(y==="'")return{isToken:!1,value:Bo(p)};if(rn[y])return{isToken:!0,value:p};if(y.match($o))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:p}});i.localize.preprocessor&&(f=i.localize.preprocessor(l,f));const h={firstWeekContainsDate:o,weekStartsOn:c,locale:i};return f.map(p=>{if(!p.isToken)return p.value;const y=p.value;(!n?.useAdditionalWeekYearTokens&&Yo(y)||!n?.useAdditionalDayOfYearTokens&&Go(y))&&Fo(y,t,String(e));const g=rn[y[0]];return g(l,y,i.localize,h)}).join("")}function Bo(e){const t=e.match(jo);return t?t[1].replace(Vo,"'"):e}function Re(e,t,n){const a=S(e,n?.in);return isNaN(t)?N(e,NaN):(a.setDate(a.getDate()+t),a)}function Sa(e,t,n){const a=S(e,n?.in);if(isNaN(t))return N(e,NaN);if(!t)return a;const i=a.getDate(),o=N(e,a.getTime());o.setMonth(a.getMonth()+t+1,0);const c=o.getDate();return i>=c?o:(a.setFullYear(o.getFullYear(),o.getMonth(),i),a)}function Qo(e,t,n){return Sa(e,t*3,n)}function te(e,t){const n=S(e,t?.in),a=n.getMonth(),i=a-a%3;return n.setMonth(i,1),n.setHours(0,0,0,0),n}function ne(e,t){const n=S(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Xo(e,t){const n=S(e,t?.in),a=n.getFullYear(),i=n.getMonth(),o=N(n,0);return o.setFullYear(a,i+1,0),o.setHours(0,0,0,0),o.getDate()}function Zo(){return Object.assign({},we())}function un(e){return+S(e)}function ln(e){return Math.trunc(+S(e)/1e3)}function dn(e){return Math.trunc(e*Do)}function Ko(e){const t=e/To;return Math.trunc(t)}function Ma(e,t,n){return Sa(e,-1,n)}function Ea(e,t,n){return Qo(e,-1,n)}function mn(e,t,n){const a=Zo(),i=ts(e,n.timeZone,n.locale??a.locale);return"formatToParts"in i?Jo(i,t):es(i,t)}function Jo(e,t){const n=e.formatToParts(t);for(let a=n.length-1;a>=0;--a)if(n[a].type==="timeZoneName")return n[a].value}function es(e,t){const n=e.format(t).replace(/\u200E/g,""),a=/ [\w-+ ]+$/.exec(n);return a?a[0].substr(1):""}function ts(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function ns(e,t){const n=ss(t);return"formatToParts"in n?rs(n,e):is(n,e)}const as={year:0,month:1,day:2,hour:3,minute:4,second:5};function rs(e,t){try{const n=e.formatToParts(t),a=[];for(let i=0;i<n.length;i++){const o=as[n[i].type];o!==void 0&&(a[o]=parseInt(n[i].value,10))}return a}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function is(e,t){const n=e.format(t),a=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(a[3],10),parseInt(a[1],10),parseInt(a[2],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10)]}const tt={},fn=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),os=fn==="06/25/2014, 00:00:00"||fn==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function ss(e){return tt[e]||(tt[e]=os?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),tt[e]}function _t(e,t,n,a,i,o,c){const l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(a,i,o,c),l}const hn=36e5,cs=6e4,nt={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function be(e,t,n){if(!e)return 0;let a=nt.timezoneZ.exec(e);if(a)return 0;let i,o;if(a=nt.timezoneHH.exec(e),a)return i=parseInt(a[1],10),pn(i)?-(i*hn):NaN;if(a=nt.timezoneHHMM.exec(e),a){i=parseInt(a[2],10);const c=parseInt(a[3],10);return pn(i,c)?(o=Math.abs(i)*hn+c*cs,a[1]==="+"?-o:o):NaN}if(ds(e)){t=new Date(t||Date.now());const c=n?t:us(t),l=st(c,e);return-(n?l:ls(t,l,e))}return NaN}function us(e){return _t(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function st(e,t){const n=ns(e,t),a=_t(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime();let i=e.getTime();const o=i%1e3;return i-=o>=0?o:1e3+o,a-i}function ls(e,t,n){let i=e.getTime()-t;const o=st(new Date(i),n);if(t===o)return t;i-=o-t;const c=st(new Date(i),n);return o===c?o:Math.max(o,c)}function pn(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}const yn={};function ds(e){if(yn[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),yn[e]=!0,!0}catch{return!1}}const ms=60*1e3,fs={X:function(e,t,n){const a=at(n.timeZone,e);if(a===0)return"Z";switch(t){case"X":return gn(a);case"XXXX":case"XX":return J(a);default:return J(a,":")}},x:function(e,t,n){const a=at(n.timeZone,e);switch(t){case"x":return gn(a);case"xxxx":case"xx":return J(a);default:return J(a,":")}},O:function(e,t,n){const a=at(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+hs(a,":");default:return"GMT"+J(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return mn("short",e,n);default:return mn("long",e,n)}}};function at(e,t){const n=e?be(e,t,!0)/ms:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function ke(e,t){const n=e<0?"-":"";let a=Math.abs(e).toString();for(;a.length<t;)a="0"+a;return n+a}function J(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),i=ke(Math.floor(a/60),2),o=ke(Math.floor(a%60),2);return n+i+t+o}function gn(e,t){return e%60===0?(e>0?"-":"+")+ke(Math.abs(e)/60,2):J(e,t)}function hs(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),i=Math.floor(a/60),o=a%60;return o===0?n+String(i):n+String(i)+t+ke(o,2)}function _n(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const Oa=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,rt=36e5,wn=6e4,ps=2,E={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Oa};function Ge(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);const n=t.additionalDigits==null?ps:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);const a=ys(e),{year:i,restDateString:o}=gs(a.date,n),c=_s(o,i);if(c===null||isNaN(c.getTime()))return new Date(NaN);if(c){const l=c.getTime();let f=0,h;if(a.time&&(f=ws(a.time),f===null||isNaN(f)))return new Date(NaN);if(a.timeZone||t.timeZone){if(h=be(a.timeZone||t.timeZone,new Date(l+f)),isNaN(h))return new Date(NaN)}else h=_n(new Date(l+f)),h=_n(new Date(l+f+h));return new Date(l+f+h)}else return new Date(NaN)}function ys(e){const t={};let n=E.dateTimePattern.exec(e),a;if(n?(t.date=n[1],a=n[3]):(n=E.datePattern.exec(e),n?(t.date=n[1],a=n[2]):(t.date=null,a=e)),a){const i=E.timeZone.exec(a);i?(t.time=a.replace(i[1],""),t.timeZone=i[1].trim()):t.time=a}return t}function gs(e,t){if(e){const n=E.YYY[t],a=E.YYYYY[t];let i=E.YYYY.exec(e)||a.exec(e);if(i){const o=i[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(i=E.YY.exec(e)||n.exec(e),i){const o=i[1];return{year:parseInt(o,10)*100,restDateString:e.slice(o.length)}}}return{year:null}}function _s(e,t){if(t===null)return null;let n,a,i;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let o=E.MM.exec(e);if(o)return n=new Date(0),a=parseInt(o[1],10)-1,Tn(t,a)?(n.setUTCFullYear(t,a),n):new Date(NaN);if(o=E.DDD.exec(e),o){n=new Date(0);const c=parseInt(o[1],10);return Ds(t,c)?(n.setUTCFullYear(t,0,c),n):new Date(NaN)}if(o=E.MMDD.exec(e),o){n=new Date(0),a=parseInt(o[1],10)-1;const c=parseInt(o[2],10);return Tn(t,a,c)?(n.setUTCFullYear(t,a,c),n):new Date(NaN)}if(o=E.Www.exec(e),o)return i=parseInt(o[1],10)-1,Dn(i)?bn(t,i):new Date(NaN);if(o=E.WwwD.exec(e),o){i=parseInt(o[1],10)-1;const c=parseInt(o[2],10)-1;return Dn(i,c)?bn(t,i,c):new Date(NaN)}return null}function ws(e){let t,n,a=E.HH.exec(e);if(a)return t=parseFloat(a[1].replace(",",".")),it(t)?t%24*rt:NaN;if(a=E.HHMM.exec(e),a)return t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")),it(t,n)?t%24*rt+n*wn:NaN;if(a=E.HHMMSS.exec(e),a){t=parseInt(a[1],10),n=parseInt(a[2],10);const i=parseFloat(a[3].replace(",","."));return it(t,n,i)?t%24*rt+n*wn+i*1e3:NaN}return null}function bn(e,t,n){t=t||0,n=n||0;const a=new Date(0);a.setUTCFullYear(e,0,4);const i=a.getUTCDay()||7,o=t*7+n+1-i;return a.setUTCDate(a.getUTCDate()+o),a}const bs=[31,28,31,30,31,30,31,31,30,31,30,31],Ts=[31,29,31,30,31,30,31,31,30,31,30,31];function va(e){return e%400===0||e%4===0&&e%100!==0}function Tn(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;const a=va(e);if(a&&n>Ts[t]||!a&&n>bs[t])return!1}return!0}function Ds(e,t){if(t<1)return!1;const n=va(e);return!(n&&t>366||!n&&t>365)}function Dn(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function it(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}const Ss=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Ms(e,t,n={}){t=String(t);const a=t.match(Ss);if(a){const i=Ge(n.originalDate||e,n);t=a.reduce(function(o,c){if(c[0]==="'")return o;const l=o.indexOf(c),f=o[l-1]==="'",h=o.replace(c,"'"+fs[c[0]](i,c,n)+"'");return f?h.substring(0,l-1)+h.substring(l+1):h},t)}return zo(e,t,n)}function Ra(e,t,n){e=Ge(e,n);const a=be(t,e,!0),i=new Date(e.getTime()-a),o=new Date(0);return o.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),o.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),o}function Na(e,t,n,a){return a={...a,timeZone:t,originalDate:e},Ms(Ra(e,t,{timeZone:a.timeZone}),n,a)}function Es(e,t,n){if(typeof e=="string"&&!e.match(Oa))return Ge(e,{...n,timeZone:t});e=Ge(e,n);const a=_t(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),i=be(t,new Date(a));return new Date(a+i)}function Pa(e,t){return-be(e,t)}function Os(e,t={}){const n=t?.tz||Intl.DateTimeFormat().resolvedOptions().timeZone;let a="MMM dd, yyy hh:mm a";switch(t.format){case"short":a="MMM dd, yyyy";break;case"default":a="MMM dd, yyyy hh:mm a";break;case"full":a="MMM dd, yyyy hh:mm:ss.SSS a";break}return t.includeTZ&&(a+=" (z)"),Na(e,n,a)}function ct(e,t={}){if(!e)return e;const n=t.tz||Intl.DateTimeFormat().resolvedOptions().timeZone;try{let a="MMM dd, yyy hh:mm a";t.short&&(a="MMM dd, yyy"),t.includeTZ&&(a+=" (z)");const i=new Date(e);return Na(i,n,a)}catch{return console.error("Invalid value passed to formatTime",e),"(invalid date)"}}function vs(e,t){return`${ct(e.getTime())} - ${ct(t.getTime(),{includeTZ:!0})}`}const fe={secondly:1e3,tenSecondly:10*1e3,thirtySecondly:30*1e3,minutely:60*1e3,fiveMinutely:300*1e3,tenMinutely:600*1e3,thirtyMinutely:1800*1e3,hourly:3600*1e3,twoHourly:7200*1e3,twelveHourly:720*60*1e3,daily:3600*24*1e3,weekly:3600*24*7*1e3,trend:0};function Rs(e,t){return e.map(n=>({value:n,label:t.t(`configuration.vitals.reports.granularity.${n}`)}))}function xa(e,t){return{duration:e,type:"duration",origin:t}}function Ns(e){return e&&lt.find(n=>e<=fe[n])||null}function Ca(e,t,n,a){const i=fe[n];let o=0;return i>=fe.daily&&(a?o=-Pa(a,t):o=t.getTimezoneOffset()*60*1e3),new Date(e((t.getTime()-o)/i)*i+o)}function Ia(e,t,n){return Ca(Math.floor,e,t,n)}function wt(e,t,n){return Ca(Math.ceil,e,t,n)}class qe{timeframe;tz;dataGranularity;constructor(t,n,a){if(this.constructor===qe)throw new Error("BaseQueryTime is not meant to be used directly.");this.timeframe=t,this.tz=n,this.dataGranularity=a??t.dataGranularity}calculateStartDate(t,n,a=1){if(t)return new Date(this.endDate().getTime()-this.timeframe.timeframeLengthMs()*a);{const i=this.endDate(),o=this.timeframe.rawStart(this.tz),c=Ia(o,n,this.tz),f=(i.getTime()-c.getTime())*(a-1);return new Date(c.getTime()-f)}}granularitySeconds(){return Math.floor(this.granularityMs()/1e3)}granularityDruid(){return xa(this.granularityMs(),this.startDate().toISOString())}startSeconds(){return ln(this.startDate())}endSeconds(){return ln(this.endDate())}startMs(){return un(this.startDate())}endMs(){return un(this.endDate())}}class Ps extends qe{granularity;constructor(t,n,a,i,o){super(t,a,i),n&&t.allowedGranularities(o).has(n)?this.granularity=n:o?this.granularity=t.fineGrainedDefaultGranularity??t.defaultResponseGranularity:this.granularity=t.defaultResponseGranularity}startDate(){return this.calculateStartDate(this.timeframe.isRelative,this.granularity)}endDate(){return wt(this.timeframe.rawEnd(),this.granularity,this.tz)}granularityMs(){return fe[this.granularity]}}class Aa extends qe{startDate(){return this.calculateStartDate(this.timeframe.isRelative,this.dataGranularity)}endDate(){return wt(this.timeframe.rawEnd(this.tz),this.dataGranularity,this.tz)}granularityMs(){return this.endDate().getTime()-this.startDate().getTime()}}class xs extends Aa{startDate(){return this.calculateStartDate(this.timeframe.isRelative,this.dataGranularity,2)}granularityMs(){return this.endDate().getTime()-super.startDate().getTime()}}var Ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var de={exports:{}};de.exports;var Sn;function Is(){return Sn||(Sn=1,(function(e,t){var n=200,a="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",c="[object Array]",l="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Function]",y="[object GeneratorFunction]",g="[object Map]",O="[object Number]",_="[object Object]",T="[object Promise]",q="[object RegExp]",x="[object Set]",C="[object String]",$="[object Symbol]",Le="[object WeakMap]",Tt="[object ArrayBuffer]",Te="[object DataView]",Dt="[object Float32Array]",St="[object Float64Array]",Mt="[object Int8Array]",Et="[object Int16Array]",Ot="[object Int32Array]",vt="[object Uint8Array]",Rt="[object Uint8ClampedArray]",Nt="[object Uint16Array]",Pt="[object Uint32Array]",Ha=/[\\^$.*+?()[\]{}|]/g,La=/\w*$/,Wa=/^\[object .+?Constructor\]$/,ja=/^(?:0|[1-9]\d*)$/,b={};b[o]=b[c]=b[Tt]=b[Te]=b[l]=b[f]=b[Dt]=b[St]=b[Mt]=b[Et]=b[Ot]=b[g]=b[O]=b[_]=b[q]=b[x]=b[C]=b[$]=b[vt]=b[Rt]=b[Nt]=b[Pt]=!0,b[h]=b[p]=b[Le]=!1;var Va=typeof Ne=="object"&&Ne&&Ne.Object===Object&&Ne,$a=typeof self=="object"&&self&&self.Object===Object&&self,I=Va||$a||Function("return this")(),xt=t&&!t.nodeType&&t,Ct=xt&&!0&&e&&!e.nodeType&&e,za=Ct&&Ct.exports===xt;function Ba(r,s){return r.set(s[0],s[1]),r}function Qa(r,s){return r.add(s),r}function Xa(r,s){for(var u=-1,m=r?r.length:0;++u<m&&s(r[u],u,r)!==!1;);return r}function Za(r,s){for(var u=-1,m=s.length,M=r.length;++u<m;)r[M+u]=s[u];return r}function It(r,s,u,m){for(var M=-1,v=r?r.length:0;++M<v;)u=s(u,r[M],M,r);return u}function Ka(r,s){for(var u=-1,m=Array(r);++u<r;)m[u]=s(u);return m}function Ja(r,s){return r?.[s]}function At(r){var s=!1;if(r!=null&&typeof r.toString!="function")try{s=!!(r+"")}catch{}return s}function kt(r){var s=-1,u=Array(r.size);return r.forEach(function(m,M){u[++s]=[M,m]}),u}function We(r,s){return function(u){return r(s(u))}}function Gt(r){var s=-1,u=Array(r.size);return r.forEach(function(m){u[++s]=m}),u}var er=Array.prototype,tr=Function.prototype,De=Object.prototype,je=I["__core-js_shared__"],Yt=(function(){var r=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})(),Ft=tr.toString,F=De.hasOwnProperty,Se=De.toString,nr=RegExp("^"+Ft.call(F).replace(Ha,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ut=za?I.Buffer:void 0,qt=I.Symbol,Ht=I.Uint8Array,ar=We(Object.getPrototypeOf,Object),rr=Object.create,ir=De.propertyIsEnumerable,or=er.splice,Lt=Object.getOwnPropertySymbols,sr=Ut?Ut.isBuffer:void 0,cr=We(Object.keys,Object),Ve=Q(I,"DataView"),se=Q(I,"Map"),$e=Q(I,"Promise"),ze=Q(I,"Set"),Be=Q(I,"WeakMap"),ce=Q(Object,"create"),ur=W(Ve),lr=W(se),dr=W($e),mr=W(ze),fr=W(Be),Wt=qt?qt.prototype:void 0,jt=Wt?Wt.valueOf:void 0;function H(r){var s=-1,u=r?r.length:0;for(this.clear();++s<u;){var m=r[s];this.set(m[0],m[1])}}function hr(){this.__data__=ce?ce(null):{}}function pr(r){return this.has(r)&&delete this.__data__[r]}function yr(r){var s=this.__data__;if(ce){var u=s[r];return u===a?void 0:u}return F.call(s,r)?s[r]:void 0}function gr(r){var s=this.__data__;return ce?s[r]!==void 0:F.call(s,r)}function _r(r,s){var u=this.__data__;return u[r]=ce&&s===void 0?a:s,this}H.prototype.clear=hr,H.prototype.delete=pr,H.prototype.get=yr,H.prototype.has=gr,H.prototype.set=_r;function A(r){var s=-1,u=r?r.length:0;for(this.clear();++s<u;){var m=r[s];this.set(m[0],m[1])}}function wr(){this.__data__=[]}function br(r){var s=this.__data__,u=Me(s,r);if(u<0)return!1;var m=s.length-1;return u==m?s.pop():or.call(s,u,1),!0}function Tr(r){var s=this.__data__,u=Me(s,r);return u<0?void 0:s[u][1]}function Dr(r){return Me(this.__data__,r)>-1}function Sr(r,s){var u=this.__data__,m=Me(u,r);return m<0?u.push([r,s]):u[m][1]=s,this}A.prototype.clear=wr,A.prototype.delete=br,A.prototype.get=Tr,A.prototype.has=Dr,A.prototype.set=Sr;function z(r){var s=-1,u=r?r.length:0;for(this.clear();++s<u;){var m=r[s];this.set(m[0],m[1])}}function Mr(){this.__data__={hash:new H,map:new(se||A),string:new H}}function Er(r){return Ee(this,r).delete(r)}function Or(r){return Ee(this,r).get(r)}function vr(r){return Ee(this,r).has(r)}function Rr(r,s){return Ee(this,r).set(r,s),this}z.prototype.clear=Mr,z.prototype.delete=Er,z.prototype.get=Or,z.prototype.has=vr,z.prototype.set=Rr;function B(r){this.__data__=new A(r)}function Nr(){this.__data__=new A}function Pr(r){return this.__data__.delete(r)}function xr(r){return this.__data__.get(r)}function Cr(r){return this.__data__.has(r)}function Ir(r,s){var u=this.__data__;if(u instanceof A){var m=u.__data__;if(!se||m.length<n-1)return m.push([r,s]),this;u=this.__data__=new z(m)}return u.set(r,s),this}B.prototype.clear=Nr,B.prototype.delete=Pr,B.prototype.get=xr,B.prototype.has=Cr,B.prototype.set=Ir;function Ar(r,s){var u=Ze(r)||ri(r)?Ka(r.length,String):[],m=u.length,M=!!m;for(var v in r)F.call(r,v)&&!(M&&(v=="length"||ei(v,m)))&&u.push(v);return u}function Vt(r,s,u){var m=r[s];(!(F.call(r,s)&&Qt(m,u))||u===void 0&&!(s in r))&&(r[s]=u)}function Me(r,s){for(var u=r.length;u--;)if(Qt(r[u][0],s))return u;return-1}function kr(r,s){return r&&$t(s,Ke(s),r)}function Qe(r,s,u,m,M,v,k){var R;if(m&&(R=v?m(r,M,v,k):m(r)),R!==void 0)return R;if(!Oe(r))return r;var Kt=Ze(r);if(Kt){if(R=Zr(r),!s)return Br(r,R)}else{var X=L(r),Jt=X==p||X==y;if(oi(r))return Hr(r,s);if(X==_||X==o||Jt&&!v){if(At(r))return v?r:{};if(R=Kr(Jt?{}:r),!s)return Qr(r,kr(R,r))}else{if(!b[X])return v?r:{};R=Jr(r,X,Qe,s)}}k||(k=new B);var en=k.get(r);if(en)return en;if(k.set(r,R),!Kt)var tn=u?Xr(r):Ke(r);return Xa(tn||r,function(Je,ve){tn&&(ve=Je,Je=r[ve]),Vt(R,ve,Qe(Je,s,u,m,ve,r,k))}),R}function Gr(r){return Oe(r)?rr(r):{}}function Yr(r,s,u){var m=s(r);return Ze(r)?m:Za(m,u(r))}function Fr(r){return Se.call(r)}function Ur(r){if(!Oe(r)||ni(r))return!1;var s=Zt(r)||At(r)?nr:Wa;return s.test(W(r))}function qr(r){if(!Bt(r))return cr(r);var s=[];for(var u in Object(r))F.call(r,u)&&u!="constructor"&&s.push(u);return s}function Hr(r,s){if(s)return r.slice();var u=new r.constructor(r.length);return r.copy(u),u}function Xe(r){var s=new r.constructor(r.byteLength);return new Ht(s).set(new Ht(r)),s}function Lr(r,s){var u=s?Xe(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.byteLength)}function Wr(r,s,u){var m=s?u(kt(r),!0):kt(r);return It(m,Ba,new r.constructor)}function jr(r){var s=new r.constructor(r.source,La.exec(r));return s.lastIndex=r.lastIndex,s}function Vr(r,s,u){var m=s?u(Gt(r),!0):Gt(r);return It(m,Qa,new r.constructor)}function $r(r){return jt?Object(jt.call(r)):{}}function zr(r,s){var u=s?Xe(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}function Br(r,s){var u=-1,m=r.length;for(s||(s=Array(m));++u<m;)s[u]=r[u];return s}function $t(r,s,u,m){u||(u={});for(var M=-1,v=s.length;++M<v;){var k=s[M],R=void 0;Vt(u,k,R===void 0?r[k]:R)}return u}function Qr(r,s){return $t(r,zt(r),s)}function Xr(r){return Yr(r,Ke,zt)}function Ee(r,s){var u=r.__data__;return ti(s)?u[typeof s=="string"?"string":"hash"]:u.map}function Q(r,s){var u=Ja(r,s);return Ur(u)?u:void 0}var zt=Lt?We(Lt,Object):ui,L=Fr;(Ve&&L(new Ve(new ArrayBuffer(1)))!=Te||se&&L(new se)!=g||$e&&L($e.resolve())!=T||ze&&L(new ze)!=x||Be&&L(new Be)!=Le)&&(L=function(r){var s=Se.call(r),u=s==_?r.constructor:void 0,m=u?W(u):void 0;if(m)switch(m){case ur:return Te;case lr:return g;case dr:return T;case mr:return x;case fr:return Le}return s});function Zr(r){var s=r.length,u=r.constructor(s);return s&&typeof r[0]=="string"&&F.call(r,"index")&&(u.index=r.index,u.input=r.input),u}function Kr(r){return typeof r.constructor=="function"&&!Bt(r)?Gr(ar(r)):{}}function Jr(r,s,u,m){var M=r.constructor;switch(s){case Tt:return Xe(r);case l:case f:return new M(+r);case Te:return Lr(r,m);case Dt:case St:case Mt:case Et:case Ot:case vt:case Rt:case Nt:case Pt:return zr(r,m);case g:return Wr(r,m,u);case O:case C:return new M(r);case q:return jr(r);case x:return Vr(r,m,u);case $:return $r(r)}}function ei(r,s){return s=s??i,!!s&&(typeof r=="number"||ja.test(r))&&r>-1&&r%1==0&&r<s}function ti(r){var s=typeof r;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?r!=="__proto__":r===null}function ni(r){return!!Yt&&Yt in r}function Bt(r){var s=r&&r.constructor,u=typeof s=="function"&&s.prototype||De;return r===u}function W(r){if(r!=null){try{return Ft.call(r)}catch{}try{return r+""}catch{}}return""}function ai(r){return Qe(r,!0,!0)}function Qt(r,s){return r===s||r!==r&&s!==s}function ri(r){return ii(r)&&F.call(r,"callee")&&(!ir.call(r,"callee")||Se.call(r)==o)}var Ze=Array.isArray;function Xt(r){return r!=null&&si(r.length)&&!Zt(r)}function ii(r){return ci(r)&&Xt(r)}var oi=sr||li;function Zt(r){var s=Oe(r)?Se.call(r):"";return s==p||s==y}function si(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=i}function Oe(r){var s=typeof r;return!!r&&(s=="object"||s=="function")}function ci(r){return!!r&&typeof r=="object"}function Ke(r){return Xt(r)?Ar(r):qr(r)}function ui(){return[]}function li(){return!1}e.exports=ai})(de,de.exports)),de.exports}var As=Is();const ks=Cs(As),P=(e,t)=>new Date(e.getTime()-Pa(t,e));class D{timeframeText;key;display;timeframeLength;allowedTiers;defaultResponseGranularity;dataGranularity;isRelative;fineGrainedDefaultGranularity;_startCustom;_endCustom;_allowedGranularitiesOverride;constructor(t){this.display=t.display,this.timeframeText=t.timeframeText,this.key=t.key,this.timeframeLength=t.timeframeLength,this.allowedTiers=t.allowedTiers,this.defaultResponseGranularity=t.defaultResponseGranularity,this.dataGranularity=t.dataGranularity,this.isRelative=t.isRelative,this._startCustom=t.startCustom,this._endCustom=t.endCustom,this._allowedGranularitiesOverride=t.allowedGranularitiesOverride,this.fineGrainedDefaultGranularity=t.fineGrainedDefaultGranularity}rawEnd(t){return this._endCustom||new Date}rawStart(t){return this._startCustom||new Date(this.rawEnd().getTime()-this.timeframeLengthMs())}timeframeLengthMs(){return this.timeframeLength()*1e3}maximumTimeframeLength(){return this.timeframeLength()}allowedGranularities(t){if(this._allowedGranularitiesOverride&&t)return new Set(this._allowedGranularitiesOverride);const n=new Set,a=this.maximumTimeframeLength()/3600;return a<=6&&n.add("minutely"),a>=2&&a<=168&&n.add("hourly"),a>=48&&n.add("daily"),a>=672&&n.add("weekly"),n}cacheKey(){return this.key!=="custom"?this.key:`${this.rawStart().toISOString()}-${this.rawEnd().toISOString()}`}v4Query(t){return this.key==="custom"?{type:"absolute",start:this.rawStart(),end:this.rawEnd(),tz:t}:{type:"relative",time_range:this.key,tz:t}}tzAdjustedDate(t){if(!t)return new Date;const n=Es(new Date,new Intl.DateTimeFormat().resolvedOptions().timeZone);return Ra(n,t)}}class Gs extends D{rawStart(t){let n=G(this.tzAdjustedDate(t),{weekStartsOn:1});return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*7}}class Ys extends D{rawStart(t){let n=ne(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*31}}class Fs extends D{rawStart(t){let n=te(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*92}}class Us extends D{rawStart(t){let n=new Date(this.tzAdjustedDate(t).getFullYear(),0,1);return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*366}}class qs extends D{rawEnd(t){let n=G(this.tzAdjustedDate(t),{weekStartsOn:1});return t&&(n=P(n,t)),n}rawStart(t){const n=this.tzAdjustedDate(t);let a=G(n.setDate(n.getDate()-7),{weekStartsOn:1});return t&&(a=P(a,t)),a}}class Hs extends D{rawEnd(t){let n=te(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}rawStart(t){let n=te(Ea(this.tzAdjustedDate(t)));return t&&(n=P(n,t)),n}}class Ls extends D{rawEnd(t){let n=ne(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}rawStart(t){let n=ne(Ma(this.tzAdjustedDate(t)));return t&&(n=P(n,t)),n}}class Ws extends D{rawEnd(t){let n=new Date(this.tzAdjustedDate(t).getFullYear(),0,1);return t&&(n=P(n,t)),n}rawStart(t){let n=new Date(this.tzAdjustedDate(t).getFullYear()-1,0,1);return t&&(n=P(n,t)),n}}const ka=new Map([[d.FIFTEEN_MIN,new D({key:d.FIFTEEN_MIN,display:"Last 15 minutes",timeframeText:"15 minutes",timeframeLength:()=>900,defaultResponseGranularity:"minutely",dataGranularity:"minutely",isRelative:!0,fineGrainedDefaultGranularity:"thirtySecondly",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["tenSecondly","thirtySecondly","minutely"]})],[d.ONE_HOUR,new D({key:d.ONE_HOUR,display:"Last hour",timeframeText:"One hour",timeframeLength:()=>3600*1,defaultResponseGranularity:"minutely",dataGranularity:"minutely",isRelative:!0,fineGrainedDefaultGranularity:"minutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["tenSecondly","thirtySecondly","minutely","fiveMinutely","tenMinutely"]})],[d.SIX_HOUR,new D({key:d.SIX_HOUR,display:"Last 6 hours",timeframeText:"6 hours",timeframeLength:()=>3600*6,defaultResponseGranularity:"hourly",dataGranularity:"hourly",isRelative:!0,fineGrainedDefaultGranularity:"fiveMinutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["thirtySecondly","minutely","fiveMinutely","tenMinutely","thirtyMinutely","hourly"]})],[d.TWELVE_HOUR,new D({key:d.TWELVE_HOUR,display:"Last 12 hours",timeframeText:"12 hours",timeframeLength:()=>3600*12,defaultResponseGranularity:"hourly",dataGranularity:"hourly",isRelative:!0,fineGrainedDefaultGranularity:"tenMinutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["minutely","fiveMinutely","tenMinutely","thirtyMinutely","hourly"]})],[d.ONE_DAY,new D({key:d.ONE_DAY,display:"Last 24 hours",timeframeText:"24 hours",timeframeLength:()=>3600*24,defaultResponseGranularity:"hourly",dataGranularity:"hourly",isRelative:!0,fineGrainedDefaultGranularity:"thirtyMinutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["fiveMinutely","tenMinutely","thirtyMinutely","hourly"]})],[d.SEVEN_DAY,new D({key:d.SEVEN_DAY,display:"Last 7 days",timeframeText:"7 days",timeframeLength:()=>3600*24*7,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"twoHourly",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["thirtyMinutely","hourly","twoHourly","twelveHourly","daily"]})],[d.THIRTY_DAY,new D({key:d.THIRTY_DAY,display:"Last 30 days",timeframeText:"30 days",timeframeLength:()=>3600*24*30,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"twelveHourly",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.NINETY_DAY,new D({key:d.NINETY_DAY,display:"Last 90 days",timeframeText:"90 days",timeframeLength:()=>3600*24*90,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"daily",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.ONE_HUNDRED_EIGHTY_DAY,new D({key:d.ONE_HUNDRED_EIGHTY_DAY,display:"Last 180 days",timeframeText:"180 days",timeframeLength:()=>3600*24*180,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"daily",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.ONE_YEAR,new D({key:d.ONE_YEAR,display:"Last 365 days",timeframeText:"365 days",timeframeLength:()=>3600*24*365,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"daily",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.CURRENT_WEEK,new Gs({key:d.CURRENT_WEEK,display:"This week",timeframeText:"Week",timeframeLength:()=>{const e=G(new Date,{weekStartsOn:1});return(ee(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,fineGrainedDefaultGranularity:"twoHourly",allowedTiers:["plus","enterprise"],allowedGranularitiesOverride:["thirtyMinutely","hourly","twoHourly","twelveHourly","daily"]})],[d.CURRENT_MONTH,new Ys({key:d.CURRENT_MONTH,display:"This month",timeframeText:"Month",timeframeLength:()=>{const e=ne(new Date);return(ee(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.CURRENT_QUARTER,new Fs({key:d.CURRENT_QUARTER,display:"This quarter",timeframeText:"Quarter",timeframeLength:()=>{const e=te(new Date);return(ee(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.CURRENT_YEAR,new Us({key:d.CURRENT_YEAR,display:"This year",timeframeText:"Year",timeframeLength:()=>{const e=new Date(new Date().getFullYear(),0,1);return(ee(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.PREVIOUS_WEEK,new qs({key:d.PREVIOUS_WEEK,display:"Previous week",timeframeText:"Week",timeframeLength:()=>3600*24*7,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,fineGrainedDefaultGranularity:"twoHourly",allowedTiers:["plus","enterprise"],allowedGranularitiesOverride:["thirtyMinutely","hourly","twoHourly","twelveHourly","daily"]})],[d.PREVIOUS_MONTH,new Ls({key:d.PREVIOUS_MONTH,display:"Previous month",timeframeText:"Month",timeframeLength:()=>{let e=0;const t=ne(new Date),n=ne(Ma(new Date));return t.getTimezoneOffset()!==n.getTimezoneOffset()&&(e=ut(t,n)),3600*24*Xo(new Date().setMonth(new Date().getMonth()-1))+dn(e)},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.PREVIOUS_QUARTER,new Hs({key:d.PREVIOUS_QUARTER,display:"Previous quarter",timeframeText:"Quarter",timeframeLength:()=>{const e=te(new Date),t=te(Ea(new Date));return(e.getTime()-t.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.PREVIOUS_YEAR,new Ws({key:d.PREVIOUS_YEAR,display:"Previous year",timeframeText:"Year",timeframeLength:()=>{const e=new Date(new Date().getFullYear(),0,1),t=new Date(new Date().getFullYear()-1,0,1);let n=0;return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(n=ut(e,t)),3600*24*(365+(t.getFullYear()%4===0?1:0))+dn(n)},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})]]);function js(e){const t=new Date(e.start),n=new Date(e.end),a=(n.getTime()-t.getTime())/1e3;return e.timePeriodsKey&&ks(ka.get(e.timePeriodsKey))||new D({key:"custom",timeframeText:"custom",display:"custom",startCustom:t,endCustom:n,timeframeLength:()=>a,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["free","plus","enterprise"]})}function Vs(e){return{...e.key!=="custom"&&{timePeriodsKey:e.key},start:e.rawStart(),end:e.rawEnd()}}function $s(e){return{key:e.key,display:e.display,timeframeText:e.timeframeText,timeframeLength:()=>e.key,start:()=>e.rawStart(),end:()=>e.rawEnd()}}function ut(e,t){return Ko(e.getTimezoneOffset()-t.getTimezoneOffset())}const zs={"15M":d.FIFTEEN_MIN,"1H":d.ONE_HOUR,"6H":d.SIX_HOUR,"12H":d.TWELVE_HOUR,"24H":d.ONE_DAY,"7D":d.SEVEN_DAY,"15m":d.FIFTEEN_MIN,"1h":d.ONE_HOUR,"6h":d.SIX_HOUR,"12h":d.TWELVE_HOUR,"24h":d.ONE_DAY,"7d":d.SEVEN_DAY,"30d":d.THIRTY_DAY,"90d":d.NINETY_DAY,"180d":d.ONE_HUNDRED_EIGHTY_DAY,"365d":d.ONE_YEAR,current_week:d.CURRENT_WEEK,current_month:d.CURRENT_MONTH,current_quarter:d.CURRENT_QUARTER,current_year:d.CURRENT_YEAR,previous_week:d.PREVIOUS_WEEK,previous_month:d.PREVIOUS_MONTH,previous_quarter:d.PREVIOUS_QUARTER,previous_year:d.PREVIOUS_YEAR};class He{_seed;constructor(t){this._seed=t}next(t,n){const a=Math.sin(this._seed++)*1e4,i=a-Math.floor(a);return Math.floor(i*(n-t+1))+t}}const Bs=({metrics:e,dimensionMap:t,metaOverrides:n,valueRange:a=[50,500],timeSeries:i=!1})=>i?e.length===1?Ga(e[0],t,n,a):Ya(e,n,a):Fa(e,t,n,a),Ga=(e,t,n,a)=>{const i=bt(10,1e4),o=new He(i),[c,l]=a||[50,500],f=Date.now()-360*60*1e3,h=Date.now(),p=[];let y=0;for(let _=f;_<=h;_+=3600*1e3)if(t)for(const T in t)t[T].forEach(q=>{y+=o.next(c,l);const x={[T]:q,[e.name]:y},C={version:"1.0",timestamp:new Date(_).toISOString(),event:x};p.push(C)});else{y+=o.next(c,l);const T={version:"1.0",timestamp:new Date(_).toISOString(),event:{[e.name]:y}};p.push(T)}const g={};if(t)for(const _ in t)g[_]={},t[_].forEach(T=>{g[_][T]={name:T,deleted:!1}});const O={start:new Date(f).toISOString(),end:new Date(h).toISOString(),query_id:"12345",metric_names:[e.name],metric_units:{[e.name]:e.unit},granularity_ms:3600*1e3,display:g,...n??{}};return{data:p,meta:O}},Ya=(e,t,n)=>{const a=bt(10,1e4),i=new He(a),[o,c]=n||[50,500],l=Date.now()-360*60*1e3,f=Date.now(),h=[],p={};e.forEach(g=>{p[g.name]=0});for(let g=l;g<=f;g+=3600*1e3){const O={};e.forEach(T=>{p[T.name]+=i.next(o,c),O[T.name]=p[T.name]});const _={version:"1.0",timestamp:new Date(g).toISOString(),event:O};h.push(_)}const y={start:new Date(l).toISOString(),end:new Date(f).toISOString(),query_id:"12345",metric_names:e.map(g=>g.name),metric_units:e.reduce((g,O)=>(g[O.name]=O.unit,g),{}),granularity_ms:3600*1e3,display:{},...t??{}};return{data:h,meta:y}},Fa=(e,t,n,a)=>{const i=Math.floor(Math.random()*9991)+10,o=new He(i),[c,l]=a||[50,500],f=Date.now()-360*60*1e3,h=Date.now(),p=new Date((f+h)/2).toISOString(),y=[];if(t){const _=Object.keys(t),T=Object.values(t),q=(x,C)=>{if(C===_.length){e.forEach($=>{x[$.name]=o.next(c,l)}),y.push({version:"1.0",timestamp:new Date().toISOString(),event:{...x}});return}T[C].forEach($=>{q({...x,[_[C]]:$},C+1)})};q({},0)}else{const _={};e.forEach(T=>{_[T.name]=o.next(c,l)}),y.push({version:"1.0",timestamp:p,event:_})}const g={};if(t)for(const _ in t)g[_]={},t[_].forEach(T=>{g[_][T]={name:T,deleted:!1}});const O={start:new Date(f).toISOString(),end:new Date(h).toISOString(),query_id:"12345",metric_names:e.map(_=>_.name),metric_units:e.reduce((_,T)=>(_[T.name]=T.unit,_),{}),truncated:!1,limit:50,display:g,granularity_ms:h-f,...n??{}};return{data:y,meta:O}};function bt(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1)+e)}const Ua=new Map(yt.map(e=>[e.code,{code:e.code,name:e.name}])),Qs=e=>Ua.get(e)?.name||e,Mn=1e3,Xs=1e4,En=1e6,On=1e9,vn=1e12,me=(e,t)=>{if(t.separator===!1||e<1e3)return e.toString();const n=typeof t.separator=="string"?t.separator:",",a=[];return Math.round(e).toString().split("").reverse().forEach((o,c)=>{c&&c%3===0&&a.push(n),a.push(o)}),a.reverse().join("")},K=(e,t,n)=>{const a=e/t,i=n.round?"round":"floor";if(n.decimal===!1)return Math[i](a).toString();let o;n.precision?o=a:o=a<10?Math[i](a*10)/10:Math[i](a);let c=o.toString();return typeof n.decimal=="string"&&(c=c.replace(".",n.decimal)),c};function Pe(e,t={}){let n;const a=e<0;a&&(e=Math.abs(e)),t.precision&&(e=parseFloat(e.toPrecision(t.precision)));const i=t.min10k?Xs:Mn;return e<i||t.precision&&t.precision>Math.log10(e)?n=me(K(e,1,t),t):e<En?n=`${K(e,Mn,t)}k`:e<On?n=`${K(e,En,t)}m`:e<vn?n=`${me(K(e,On,t),t)}b`:n=`${me(K(e,vn,t),t)}t`,a&&(n=`-${n}`),t.capital&&(n=n.toUpperCase()),t.prefix&&(n=`${t.prefix}${n}`),t.suffix&&(n=`${n}${t.suffix}`),n}Pe.addCommas=me;const Zs=typeof document<"u"&&document.documentElement?.lang||"en-US",xe=new Intl.NumberFormat(Zs);function Ks({i18n:e}){const t=(o,c)=>{if(isNaN(o))return"0 B";const l=c?Math.pow(2,50):1e15,f=c?Math.pow(2,40):1e12,h=c?Math.pow(2,30):1e9,p=c?Math.pow(2,20):1e6,y=c?Math.pow(2,10):1e3;let g;return o>=l?g=e.formatNumber(Number.parseFloat((o/l).toPrecision(3)),{style:"unit",unit:"petabyte",unitDisplay:"narrow"}):o>=f?g=e.formatNumber(Number.parseFloat((o/f).toPrecision(3)),{style:"unit",unit:"terabyte",unitDisplay:"narrow"}):o>=h?g=e.formatNumber(Number.parseFloat((o/h).toPrecision(3)),{style:"unit",unit:"gigabyte",unitDisplay:"narrow"}):o>=p?g=e.formatNumber(Number.parseFloat((o/p).toPrecision(3)),{style:"unit",unit:"megabyte",unitDisplay:"narrow"}):o>=y?g=e.formatNumber(Number.parseFloat((o/y).toPrecision(3)),{style:"unit",unit:"kilobyte",unitDisplay:"narrow"}):g=e.formatNumber(Number.parseFloat(o.toPrecision(3)),{style:"unit",unit:"byte",unitDisplay:"narrow"}),g.replace(/([a-zA-Z]*)$/," $1")},n=(o,c="USD")=>isNaN(o)?c==="USD"?"$0.00":`${o}`:o>=.01||c!=="USD"?e.formatNumber(o,{style:"currency",currency:c}):o<1e-4?"< $0.0001":`$${Number.parseFloat(o.toPrecision(4))}`;return{formatUnit:(o,c,{isBytes1024:l=!1,currency:f="USD",approximate:h=!1,translateUnit:p=y=>y}={})=>{const y=p(c,o);switch(c){case"bytes":return t(o,l);case"usd":return n(o,f);default:return isNaN(o)?`${o}`:h?`${Pe(o,{capital:!0})} ${y}`:o>=.01?`${xe.format(Number.parseFloat(o.toFixed(2)))} ${y}`:`${Number.parseFloat(o.toPrecision(4))} ${y}`}},formatBytes:t,formatCost:n,formatRange:(o,c,l,{isBytes1024:f=!1,currency:h="USD",approximate:p=!1,translateUnit:y=g=>g}={})=>{const g=y(l,c);switch(l){case"bytes":return`${t(o,f)} - ${t(c,f)}`;case"usd":return`${n(o,h)} - ${n(c,h)}`;default:if(isNaN(o)||isNaN(c))return`${o} - ${c}`;if(p)return`${Pe(o,{capital:!0})} - ${Pe(c,{capital:!0})} ${g}`}const O=o>=.01?`${xe.format(Number.parseFloat(o.toFixed(2)))}`:`${Number.parseFloat(o.toPrecision(4))}`,_=c>=.01?`${xe.format(Number.parseFloat(c.toFixed(2)))}`:`${Number.parseFloat(c.toPrecision(4))}`;return`${O} - ${_} ${g}`}}}const qa=1e4,Js=async(e,t,n,a={})=>{const i=Math.max(0,a.maxRecords??qa),o=Math.min(ot,Math.max(1,a.pageSize??ot)),c=[];let l=t.query.cursor,f;for(;c.length<i;){const h=Math.min(o,i-c.length),p=await e({datasource:t.datasource,query:{...t.query,size:h,...l?{cursor:l}:{}}},n);if(f=p,c.push(...p.results??[]),a.onPage?.(c.length,p),l=p.meta?.cursor,!l||!p.results?.length||p.results.length<h)break}return{results:c,meta:{...f?.meta??{query_id:"",time_range:{start:"",end:""},size:0},size:c.length},truncated:!!l&&c.length>=i,limit:i}};exports.API_REQUESTS_MAX_PAGE_SIZE=ot;exports.CAPTURE_PREPARE_EVENT=Ce;exports.CAPTURE_RESTORE_EVENT=Ie;exports.COUNTRIES=yt;exports.DEFAULT_MAX_REQUEST_RECORDS=qa;exports.DeltaQueryTime=xs;exports.EXPORT_RECORD_LIMIT=pi;exports.Granularities=fe;exports.INJECT_QUERY_PROVIDER=yi;exports.PLATFORM_DATASOURCES=Yn;exports.REFRESH_INTERVAL_MS=hi;exports.SeededRandom=He;exports.TIMEFRAME_LOOKUP=zs;exports.TimePeriods=ka;exports.Timeframe=D;exports.TimeframeKeys=d;exports.TimeseriesQueryTime=Ps;exports.UnaryQueryTime=Aa;exports.agenticExploreAggregations=Fn;exports.agenticUsageSchema=oa;exports.aiExploreAggregations=xn;exports.apiUsageQuerySchema=aa;exports.barChartSchema=Vn;exports.basicExploreAggregations=dt;exports.basicQuerySchema=ra;exports.ceilToNearestTimeGrain=wt;exports.chartTileConfigSchema=ya;exports.choroplethMapSchema=ea;exports.countries=Ua;exports.dashboardConfigSchema=Yi;exports.dashboardTileTypes=Ni;exports.datasourceToFilterableDimensions=qn;exports.datePickerSelectionToTimeframe=js;exports.donutChartSchema=Qn;exports.dstOffsetHours=ut;exports.exploreAggregations=mt;exports.exploreFilterTypesV2=Nn;exports.extendedRelativeTimeRangeValues=gi;exports.fetchAllRequests=Js;exports.filterableAgenticExploreDimensions=ge;exports.filterableAiExploreDimensions=ye;exports.filterableBasicExploreDimensions=he;exports.filterableExploreDimensions=pe;exports.filterableManagedCacheExploreDimensions=Ue;exports.filterablePlatformPresetFilterDimensions=ta;exports.filterableRequestDimensions=In;exports.filterableRequestMetrics=Gn;exports.filterableRequestWildcardDimensions=Mi;exports.floorToNearestTimeGrain=Ia;exports.formatTime=ct;exports.formatTimeRange=vs;exports.formatTimestamp=Os;exports.gaugeChartSchema=Bn;exports.generateCrossSectionalData=Fa;exports.generateData=Bs;exports.generateMultipleMetricTimeSeriesData=Ya;exports.generateSingleMetricTimeSeriesData=Ga;exports.getCountryName=Qs;exports.getFieldDataSources=Fi;exports.granularitiesToOptions=Rs;exports.granularityMsToQuery=xa;exports.granularityValues=lt;exports.isPlatformDatasource=Oi;exports.llmUsageSchema=ia;exports.managedCacheExploreAggregations=Un;exports.managedCacheUsageQuerySchema=sa;exports.metricCardSchema=Kn;exports.msToGranularity=Ns;exports.numberFormatter=xe;exports.platformQuerySchema=ua;exports.platformTabularQuerySchema=la;exports.prepareForCapture=di;exports.queryDatasources=vi;exports.queryableAgenticExploreDimensions=ht;exports.queryableAiExploreDimensions=ft;exports.queryableBasicExploreDimensions=Ye;exports.queryableExploreDimensions=Fe;exports.queryableManagedCacheExploreDimensions=pt;exports.queryableRequestDimensions=Cn;exports.queryableRequestMetrics=kn;exports.queryableRequestWildcardDimensions=An;exports.rand=bt;exports.registerCapture=Rn;exports.registerWebglCapture=fi;exports.relativeTimeRangeValuesRequestV2=Ei;exports.relativeTimeRangeValuesV4=Si;exports.reportChartTypes=_i;exports.requestFilterTypeEmptyV2=Pn;exports.requestFilterTypeEqualsV2=wi;exports.requestFilterTypeMetricV2=bi;exports.requestFilterTypeWildcardV2=Ti;exports.restoreAfterCapture=mi;exports.singleValueSchema=Jn;exports.slottableSchema=jn;exports.slottableTileConfigSchema=ga;exports.stripUnknownFilters=Ri;exports.tableChartSchema=Zn;exports.thresholdSchema=$n;exports.tileConfigSchema=_a;exports.tileDefinitionSchema=pa;exports.tileLayoutSchema=gt;exports.timeRangeTypeV2=Di;exports.timeframeToDatepickerSelection=Vs;exports.timeframeToDatepickerTimeperiod=$s;exports.timeseriesChartSchema=zn;exports.topNTableSchema=Xn;exports.unitFormatter=Ks;exports.validDashboardChartQuery=ma;exports.validDashboardQuery=Ii;exports.validDashboardTableQuery=ha;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ce="kapture:prepare",Ie="kapture:restore";async function hi(){const e=[];window.dispatchEvent(new CustomEvent(Ce,{detail:{waitUntil:t=>e.push(t)}})),await Promise.allSettled(e)}function pi(){window.dispatchEvent(new CustomEvent(Ie))}function Cn(e){let t;const n=()=>{t?.(),t=void 0},r=i=>{i.detail?.waitUntil((async()=>{t=await e()})())};return window.addEventListener(Ce,r),window.addEventListener(Ie,n),()=>{window.removeEventListener(Ce,r),window.removeEventListener(Ie,n),n()}}function yi(e,t={}){return Cn(async()=>{const n=e();if(!n)return;t.redraw?.();const r=new Image;return r.src=n.toDataURL("image/png"),await r.decode(),r.style.cssText=`position:absolute;top:0;left:0;width:${n.clientWidth}px;height:${n.clientHeight}px;`,n.parentElement?.appendChild(r),n.style.visibility="hidden",()=>{r.remove(),n.style.visibility=""}})}const gi=30*1e3,_i=1e3,wi="analytics-query-provider";var d=(e=>(e.FIFTEEN_MIN="15m",e.ONE_HOUR="1h",e.SIX_HOUR="6h",e.TWELVE_HOUR="12h",e.ONE_DAY="24h",e.SEVEN_DAY="7d",e.THIRTY_DAY="30d",e.NINETY_DAY="90d",e.ONE_HUNDRED_EIGHTY_DAY="180d",e.ONE_YEAR="365d",e.CURRENT_WEEK="current_week",e.CURRENT_MONTH="current_month",e.CURRENT_QUARTER="current_quarter",e.CURRENT_YEAR="current_year",e.PREVIOUS_WEEK="previous_week",e.PREVIOUS_MONTH="previous_month",e.PREVIOUS_QUARTER="previous_quarter",e.PREVIOUS_YEAR="previous_year",e))(d||{});const bi=["90d","180d","365d","current_quarter","previous_quarter","current_year","previous_year"],Ti=["horizontal_bar","vertical_bar","timeseries_line","choropleth_map","timeseries_bar","donut","single_value","top_n","table","scatter"],In=["in","not_in","selector"],Di=["=","!="],Si=["=","!=","<",">","<=",">="],An=["empty","not_empty"],Mi=["starts_with","ends_with"],Ei=["absolute","relative"],Oi=["15m","1h","6h","12h","24h","7d","current_week","previous_week","30d","current_month","previous_month"],lt=["secondly","tenSecondly","thirtySecondly","minutely","fiveMinutely","tenMinutely","thirtyMinutely","hourly","twoHourly","twelveHourly","daily","weekly","trend"],V=e=>e.filter(t=>t!=="time"),Ye=["api","api_package","api_product","api_product_version","control_plane","control_plane_group","data_plane_node","gateway_service","portal","route","status_code","status_code_grouped","time"],pe=V(Ye),dt=["active_services","error_rate","request_count","request_per_minute","response_latency_average"],Fe=[...Ye,"ai_gateway","ai_gateway_consumer","ai_gateway_data_plane_node","application","bot_info_action","bot_info_detection_reason","bot_info_ban_type","cache_status","consumer","consumer_group","country_code","oidc_credential","upstream_status_code","upstream_status_code_grouped","response_source","data_plane_node_version","realm","portal_api","principal"],ye=V(Fe),mt=[...dt,"cache_hit_rate","response_latency_p99","response_latency_p95","response_latency_p50","upstream_latency_p99","upstream_latency_p95","upstream_latency_p50","upstream_latency_average","kong_latency_p99","kong_latency_p95","kong_latency_p50","kong_latency_average","kong_internal_latency_p99","kong_internal_latency_p95","kong_internal_latency_p50","kong_internal_latency_average","response_size_p99","response_size_p95","response_size_p50","response_size_average","response_size_sum","request_size_p99","request_size_p95","request_size_p50","request_size_average","request_size_sum"],ft=["control_plane","control_plane_group","ai_gateway","gateway_service","consumer","ai_gateway_consumer","ai_gateway_consumer_group","application","oidc_credential","route","ai_provider","ai_response_model","ai_request_model","llm_cache_status","llm_embeddings_provider","llm_embeddings_model","time","realm","status_code","status_code_grouped","ai_plugin","principal","cache_status","ai_gateway_mcp_server","ai_gateway_model","ai_gateway_agent","ai_gateway_data_plane_node"],ge=V(ft),kn=["total_tokens","total_tokens_per_minute","prompt_tokens","completion_tokens","cached_tokens","ai_request_count","error_rate","cost","llm_cache_embeddings_latency_average","llm_cache_fetch_latency_average","llm_latency_average","llm_embeddings_tokens","llm_embeddings_cost","time_to_first_token_average","time_to_first_token_p99","time_to_first_token_p95","time_to_first_token_p50","time_per_token_average","time_per_token_p99","time_per_token_p95","time_per_token_p50"],Gn=["a2a_context_id","a2a_error","a2a_method","a2a_task_id","api","api_package","api_product","api_product_version","application","auth_type","bot_info_action","bot_info_detection_reason","bot_info_ja4_fingerprint","bot_info_ban_type","bot_info_header_names","cache_status","client_ip","consumer","ai_gateway_consumer","consumer_group","ai_gateway_consumer_group","control_plane","control_plane_group","ai_gateway","country_code","data_plane_node","data_plane_node_version","ai_gateway_data_plane_node","gateway_service","header_host","header_user_agent","http_method","mcp_error","mcp_method","mcp_session_id","mcp_tool_name","oidc_credential","portal","principal","realm","request_id","request_uri","response_header_content_type","response_source","route","service_port","service_protocol","sse","status_code_grouped","time","trace_id","upstream_uri","upstream_status_code_grouped","websocket"],ht=V(Gn),Yn=["auth_type","cache_status","client_ip","data_plane_node_version","header_host","header_user_agent","http_method","oidc_credential","request_id","request_uri","response_header_content_type","response_source","service_port","service_protocol","trace_id","upstream_uri"],Fn=Yn,Un=["ai_count","latencies_response_ms","latencies_upstream_ms","latencies_kong_gateway_ms","latencies_kong_internal_ms","request_body_size","response_body_size","response_header_content_length","status_code","upstream_status_code"],pt=V(Un),vi=["15M","1H","6H","12H","24H","7D"],ot=1e3,qn=["platform","platform_usage"],Ri=e=>qn.includes(e),yt=[...Fe,"a2a_context_id","a2a_error","a2a_method","a2a_task_id","ai_gateway_agent","ai_gateway_mcp_server","mcp_error","mcp_method","mcp_session_id","mcp_tool_name"],_e=V(yt),Hn=[...mt,"a2a_latency_average","a2a_response_size_sum","mcp_latency_average","mcp_latency_p99","mcp_latency_p95","mcp_latency_p50","mcp_response_size_sum"],gt=["control_plane","data_plane_group","managed_cache","network","provider","provider_region","time"],Ue=V(gt),Ln=["cache_eviction_rate","cache_expiration_rate","cache_items_average","cache_memory_utilization_max"],Ni=["basic","api_usage","llm_usage","agentic_usage","platform","platform_usage","managed_cache_usage"],Wn={basic:new Set(pe),api_usage:new Set(ye),llm_usage:new Set(ge),agentic_usage:new Set(_e),platform:new Set,platform_usage:new Set,managed_cache_usage:new Set(Ue)},Pi=(e,t)=>e.startsWith("goap")||e==="platform"||e==="platform_usage"?t:t.filter(n=>Wn[e].has(n.field)),_t=[{code:"AF",name:"Afghanistan"},{code:"AX",name:"Aland Islands"},{code:"AL",name:"Albania"},{code:"DZ",name:"Algeria"},{code:"AS",name:"American Samoa"},{code:"AD",name:"Andorra"},{code:"AO",name:"Angola"},{code:"AI",name:"Anguilla"},{code:"AQ",name:"Antarctica"},{code:"AG",name:"Antigua and Barbuda"},{code:"AR",name:"Argentina"},{code:"AM",name:"Armenia"},{code:"AW",name:"Aruba"},{code:"AU",name:"Australia"},{code:"AT",name:"Austria"},{code:"AZ",name:"Azerbaijan"},{code:"BS",name:"Bahamas"},{code:"BH",name:"Bahrain"},{code:"BD",name:"Bangladesh"},{code:"BB",name:"Barbados"},{code:"BY",name:"Belarus"},{code:"BE",name:"Belgium"},{code:"BZ",name:"Belize"},{code:"BJ",name:"Benin"},{code:"BM",name:"Bermuda"},{code:"BT",name:"Bhutan"},{code:"BO",name:"Bolivia"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BW",name:"Botswana"},{code:"BV",name:"Bouvet Island"},{code:"BR",name:"Brazil"},{code:"IO",name:"British Indian Ocean Territory"},{code:"BN",name:"Brunei Darussalam"},{code:"BG",name:"Bulgaria"},{code:"BF",name:"Burkina Faso"},{code:"BI",name:"Burundi"},{code:"KH",name:"Cambodia"},{code:"CM",name:"Cameroon"},{code:"CA",name:"Canada"},{code:"CV",name:"Cape Verde"},{code:"KY",name:"Cayman Islands"},{code:"CF",name:"Central African Republic"},{code:"TD",name:"Chad"},{code:"CL",name:"Chile"},{code:"CN",name:"China"},{code:"CX",name:"Christmas Island"},{code:"CC",name:"Cocos (Keeling) Islands"},{code:"CO",name:"Colombia"},{code:"KM",name:"Comoros"},{code:"CG",name:"Congo"},{code:"CD",name:"Democratic Republic of the Congo"},{code:"CK",name:"Cook Islands"},{code:"CR",name:"Costa Rica"},{code:"CI",name:"Cote d'Ivoire"},{code:"HR",name:"Croatia"},{code:"CU",name:"Cuba"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czech Republic"},{code:"DK",name:"Denmark"},{code:"DJ",name:"Djibouti"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic"},{code:"EC",name:"Ecuador"},{code:"EG",name:"Egypt"},{code:"SV",name:"El Salvador"},{code:"GQ",name:"Equatorial Guinea"},{code:"ER",name:"Eritrea"},{code:"EE",name:"Estonia"},{code:"ET",name:"Ethiopia"},{code:"FK",name:"Falkland Islands (Malvinas)"},{code:"FO",name:"Faroe Islands"},{code:"FJ",name:"Fiji"},{code:"FI",name:"Finland"},{code:"FR",name:"France"},{code:"GF",name:"French Guiana"},{code:"PF",name:"French Polynesia"},{code:"TF",name:"French Southern Territories"},{code:"GA",name:"Gabon"},{code:"GM",name:"Gambia"},{code:"GE",name:"Georgia"},{code:"DE",name:"Germany"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GR",name:"Greece"},{code:"GL",name:"Greenland"},{code:"GD",name:"Grenada"},{code:"GP",name:"Guadeloupe"},{code:"GU",name:"Guam"},{code:"GT",name:"Guatemala"},{code:"GG",name:"Guernsey"},{code:"GN",name:"Guinea"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HT",name:"Haiti"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"VA",name:"The Vatican"},{code:"HN",name:"Honduras"},{code:"HK",name:"Hong Kong"},{code:"HU",name:"Hungary"},{code:"IS",name:"Iceland"},{code:"IN",name:"India"},{code:"ID",name:"Indonesia"},{code:"IR",name:"Iran"},{code:"IQ",name:"Iraq"},{code:"IE",name:"Ireland"},{code:"IM",name:"Isle of Man"},{code:"IL",name:"Israel"},{code:"IT",name:"Italy"},{code:"JM",name:"Jamaica"},{code:"JP",name:"Japan"},{code:"JE",name:"Jersey"},{code:"JO",name:"Jordan"},{code:"KZ",name:"Kazakhstan"},{code:"KE",name:"Kenya"},{code:"KI",name:"Kiribati"},{code:"KP",name:"North Korea"},{code:"KR",name:"South Korea"},{code:"KW",name:"Kuwait"},{code:"KG",name:"Kyrgyzstan"},{code:"LA",name:"Laos"},{code:"LV",name:"Latvia"},{code:"LB",name:"Lebanon"},{code:"LS",name:"Lesotho"},{code:"LR",name:"Liberia"},{code:"LY",name:"Libya"},{code:"LI",name:"Liechtenstein"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"MO",name:"Macao"},{code:"MK",name:"Macedonia"},{code:"MG",name:"Madagascar"},{code:"MW",name:"Malawi"},{code:"MY",name:"Malaysia"},{code:"MV",name:"Maldives"},{code:"ML",name:"Mali"},{code:"MT",name:"Malta"},{code:"MH",name:"Marshall Islands"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MU",name:"Mauritius"},{code:"YT",name:"Mayotte"},{code:"MX",name:"Mexico"},{code:"FM",name:"Micronesia, "},{code:"MD",name:"Moldova,"},{code:"MC",name:"Monaco"},{code:"MN",name:"Mongolia"},{code:"ME",name:"Montenegro"},{code:"MS",name:"Montserrat"},{code:"MA",name:"Morocco"},{code:"MZ",name:"Mozambique"},{code:"MM",name:"Myanmar"},{code:"NA",name:"Namibia"},{code:"NR",name:"Nauru"},{code:"NP",name:"Nepal"},{code:"NL",name:"Netherlands"},{code:"NC",name:"New Caledonia"},{code:"NZ",name:"New Zealand"},{code:"NI",name:"Nicaragua"},{code:"NE",name:"Niger"},{code:"NG",name:"Nigeria"},{code:"NU",name:"Niue"},{code:"NF",name:"Norfolk Island"},{code:"MP",name:"Northern Mariana Islands"},{code:"NO",name:"Norway"},{code:"OM",name:"Oman"},{code:"PK",name:"Pakistan"},{code:"PW",name:"Palau"},{code:"PA",name:"Panama"},{code:"PG",name:"Papua New Guinea"},{code:"PY",name:"Paraguay"},{code:"PE",name:"Peru"},{code:"PH",name:"Philippines"},{code:"PN",name:"Pitcairn"},{code:"PL",name:"Poland"},{code:"PT",name:"Portugal"},{code:"PR",name:"Puerto Rico"},{code:"QA",name:"Qatar"},{code:"RE",name:"Reunion"},{code:"RO",name:"Romania"},{code:"RU",name:"Russia"},{code:"RW",name:"Rwanda"},{code:"BL",name:"Saint Barthelemy"},{code:"SH",name:"Saint Helena"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"LC",name:"Saint Lucia"},{code:"MF",name:"Saint Martin"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"WS",name:"Samoa"},{code:"SM",name:"San Marino"},{code:"ST",name:"Sao Tome and Principe"},{code:"SA",name:"Saudi Arabia"},{code:"SN",name:"Senegal"},{code:"RS",name:"Serbia"},{code:"SC",name:"Seychelles"},{code:"SL",name:"Sierra Leone"},{code:"SG",name:"Singapore"},{code:"SX",name:"Sint Maarten"},{code:"SK",name:"Slovakia"},{code:"SI",name:"Slovenia"},{code:"SB",name:"Solomon Islands"},{code:"SO",name:"Somalia"},{code:"ZA",name:"South Africa"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"SS",name:"South Sudan"},{code:"ES",name:"Spain"},{code:"LK",name:"Sri Lanka"},{code:"SD",name:"Sudan"},{code:"SR",name:"Suriname"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SZ",name:"Swaziland"},{code:"SE",name:"Sweden"},{code:"CH",name:"Switzerland"},{code:"SY",name:"Syria"},{code:"TW",name:"Taiwan"},{code:"TJ",name:"Tajikistan"},{code:"TZ",name:"Tanzania"},{code:"TH",name:"Thailand"},{code:"TL",name:"Timor-Leste"},{code:"TG",name:"Togo"},{code:"TK",name:"Tokelau"},{code:"TO",name:"Tonga"},{code:"TT",name:"Trinidad and Tobago"},{code:"TN",name:"Tunisia"},{code:"TR",name:"Turkey"},{code:"TM",name:"Turkmenistan"},{code:"TC",name:"Turks and Caicos Islands"},{code:"TV",name:"Tuvalu"},{code:"UG",name:"Uganda"},{code:"UA",name:"Ukraine"},{code:"AE",name:"United Arab Emirates"},{code:"GB",name:"United Kingdom"},{code:"US",name:"United States"},{code:"UM",name:"United States Minor Outlying Islands"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VU",name:"Vanuatu"},{code:"VE",name:"Venezuela"},{code:"VN",name:"Vietnam"},{code:"VG",name:"British Virgin Islands"},{code:"VI",name:"U.S. Virgin Islands"},{code:"WF",name:"Wallis and Futuna"},{code:"EH",name:"Western Sahara"},{code:"YE",name:"Yemen"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}],xi=["horizontal_bar","vertical_bar","gauge","donut","timeseries_line","timeseries_bar","scatter","golden_signals","top_n","table","slottable","single_value","choropleth_map"],ie={type:"string"},C={type:"string"},wt={type:"boolean"},jn={type:"string",description:"Text rendered in the tile header. Supports the {timeframe} token, "},Ci={type:"object",additionalProperties:{type:"string"}},bt={type:["object","array"],items:{type:"string"},additionalProperties:{type:"string"}},Vn={type:"object",deprecated:!0,description:"Deprecated: use the top-level tile shape { type: 'slottable', id, layout } instead of a chart-level 'slottable' definition.",properties:{type:{type:"string",enum:["slottable"]},id:{type:"string"}},required:["type","id"],additionalProperties:!1},zn={type:"object",properties:{type:{type:"string",enum:["horizontal_bar","vertical_bar"]},stacked:{type:"boolean"},chart_dataset_colors:bt,synthetics_data_key:ie,chart_title:C,allow_csv_export:wt},required:["type"],additionalProperties:!1},$n={type:"object",properties:{type:{type:"string",enum:["warning","error","neutral"]},value:{type:"number"},label:{type:"string"},highlightIntersections:{type:"boolean",default:!1}},required:["type","value"],additionalProperties:!1},Qn={type:"object",properties:{type:{type:"string",enum:["timeseries_line","timeseries_bar"]},stacked:{type:"boolean"},threshold:{type:"object",additionalProperties:{type:"array",items:$n}},chart_dataset_colors:bt,synthetics_data_key:ie,chart_title:C,allow_csv_export:wt},required:["type"],additionalProperties:!1},Bn={type:"object",properties:{percentile:{type:"number",minimum:0,maximum:100},label:{type:"string",description:"Overrides the default label."},border_dash:{type:"array",description:"Dash pattern for the line.",items:{type:"number"}},color:{type:"string"}},required:["percentile"],additionalProperties:!1},Xn={type:"object",description:"Plots one point per record, percentiles are computed from the records returned.",properties:{type:{type:"string",enum:["scatter"]},percentile_lines:{type:"array",description:"Reference lines derived from the plotted values.",items:Bn},outlier_percentile:{type:"number",description:"Percentile above which points are split into a highlighted outlier series.",minimum:0,maximum:100},shade_outlier_region:{type:"boolean",default:!1},jitter_ms:{type:"number",description:"Maximum horizontal jitter so records sharing a timestamp do not stack into one column.",minimum:0},point_radius:{type:"number",minimum:0},point_opacity:{type:"number",description:"Opacity of plotted points.",minimum:0,maximum:1},chart_dataset_colors:bt,synthetics_data_key:ie,chart_title:C,allow_csv_export:wt},required:["type"],additionalProperties:!1},Zn={type:"object",properties:{type:{type:"string",enum:["gauge"]},metric_display:{type:"string",enum:["hidden","single","full"]},reverse_dataset:{type:"boolean"},numerator:{type:"number"},synthetics_data_key:ie,chart_title:C},required:["type"],additionalProperties:!1},Kn={type:"object",properties:{type:{type:"string",enum:["donut"]},synthetics_data_key:ie,chart_title:C},required:["type"],additionalProperties:!1},Jn={type:"object",properties:{chart_title:C,synthetics_data_key:ie,type:{type:"string",enum:["top_n"]},description:{type:"string",deprecated:!0,description:"Deprecated: use `header_description` on the tile definition."},entity_link:{type:"string"},entity_links:Ci},required:["type"],additionalProperties:!1},er={type:"object",properties:{type:{type:"string",enum:["table"]},chart_title:C},required:["type"],additionalProperties:!1},tr={type:"object",properties:{chart_title:C,type:{type:"string",enum:["golden_signals"]},long_card_titles:{type:"boolean"},percentile_latency:{type:"boolean"}},required:["type"],additionalProperties:!1},nr={type:"object",properties:{type:{type:"string",enum:["single_value"]},decimal_points:{type:"number"},chart_title:C},required:["type"],additionalProperties:!1},rr={type:"object",properties:{type:{type:"string",enum:["choropleth_map"]},chart_title:C,fit_to_country:{type:"string",enum:_t.map(e=>e.code)},legend:{type:"boolean",default:!1},bounds:{type:"array",minItems:2,maxItems:2,items:{type:"array",minItems:2,maxItems:2,items:[{type:"number",minimum:-180,maximum:180},{type:"number",minimum:-90,maximum:90}]}}},required:["type"],additionalProperties:!1},Ii={type:"object",properties:{tz:{type:"string",default:"Etc/UTC"},type:{type:"string",enum:["relative"]},time_range:{type:"string"}},required:["type","time_range"],additionalProperties:!1},Ai={type:"object",description:"A duration representing an exact start and end time.",properties:{tz:{type:"string"},type:{type:"string",enum:["absolute"]},start:{type:"string"},end:{type:"string"}},required:["type","start","end"],additionalProperties:!1},z={granularity:{type:"string",description:'Force time grouping into buckets of this duration. Only has an effect if "time" is in the "dimensions" list.',enum:lt},time_range:{type:"object",description:"The time range to query.",anyOf:[Ii,Ai],default:{type:"relative",time_range:"1h"}},limit:{type:"number"},meta:{type:"object"}},oe=e=>({type:"array",description:"List of aggregated metrics to collect across the requested time span.",items:{type:"string",...e?{enum:e}:{}}}),se=e=>({type:"array",description:"List of attributes or entity types to group by.",minItems:0,maxItems:3,items:{type:"string",...e?{enum:e}:{}}}),$=e=>({type:"array",description:"A list of filters to apply to the query",items:{oneOf:[{type:"object",description:"In filter",properties:{field:{type:"string",...e?{enum:e}:{}},operator:{type:"string",enum:In},value:{type:"array",items:{type:["string","number","null"]}}},required:["field","operator","value"],additionalProperties:!1},{type:"object",description:"Empty filter",properties:{field:{type:"string",...e?{enum:e}:{}},operator:{type:"string",enum:An}},required:["field","operator"],additionalProperties:!1}]}}),ar=["control_plane","gateway_service","realm","route","plugin","plugin_name","plugin_scope","data_plane_node_version","env","team","region","hostname"],ir=()=>({type:"array",description:"A list of filters to apply to the platform query",items:{oneOf:[{type:"object",description:"In filter",properties:{field:{type:"string"},operator:{type:"string"},value:{type:"array",items:{type:["string","number","null"]}}},required:["field","operator","value"],additionalProperties:!1},{type:"object",description:"Empty filter",properties:{field:{type:"string"},operator:{type:"string"}},required:["field","operator"],additionalProperties:!1}]}}),or={type:"object",description:"A query to launch at the advanced explore API",properties:{datasource:{type:"string",enum:["api_usage"]},metrics:oe(mt),dimensions:se(Fe),filters:$(ye),...z},required:["datasource"],additionalProperties:!1},sr={type:"object",description:"A query to launch at the basic explore API",properties:{datasource:{type:"string",enum:["basic"]},metrics:oe(dt),dimensions:se(Ye),filters:$(pe),...z},required:["datasource"],additionalProperties:!1},cr={type:"object",description:"A query to launch at the AI explore API",properties:{datasource:{type:"string",enum:["llm_usage"]},metrics:oe(kn),dimensions:se(ft),filters:$(ge),...z},required:["datasource"],additionalProperties:!1},ur={type:"object",description:"A query to launch at the Agentic explore API",properties:{datasource:{type:"string",enum:["agentic_usage"]},metrics:oe(Hn),dimensions:se(yt),filters:$(_e),...z},required:["datasource"],additionalProperties:!1},lr={type:"object",description:"A query to launch at the Managed Cache explore API",properties:{datasource:{type:"string",enum:["managed_cache_usage"]},metrics:oe(Ln),dimensions:se(gt),filters:$(Ue),...z},required:["datasource"],additionalProperties:!1},dr={oneOf:[{const:"platform_usage"},{const:"platform",deprecated:!0,description:"Deprecated: use 'platform_usage'."}]},mr={type:"object",description:"A query to launch at the platform dashboard API. Use datasource 'platform_usage'; 'platform' is accepted for backward compatibility but deprecated.",properties:{datasource:dr,metrics:oe(),dimensions:se(),filters:ir(),...z},required:["datasource"],additionalProperties:!1},fr={type:"object",description:"A query to launch at the platform tabular explore API. Use datasource 'platform_usage'; 'platform' is accepted for backward compatibility but deprecated.",properties:{datasource:dr,entity:{type:"string"},columns:{type:"array",minItems:1,items:{type:"string"}},filters:ir(),cursor:{type:"string"},page_size:{type:"number"}},required:["datasource"],additionalProperties:!1},ki={type:"object",description:"A query for the api-requests endpoint.",properties:{datasource:{type:"string",enum:["requests"]},metric:{type:"string",description:"Field plotted on the y axis."},dimension:{type:"string",description:"Field used to split points into series."},filters:$(Array.from(new Set([...ht,...Fn,...pt]))),time_range:z.time_range,max_records:{type:"number",description:"Ceiling on records gathered across pages. The endpoint serves at most 1000 per page. Defaults to 10000.",minimum:1}},required:["datasource","metric"],additionalProperties:!1},hr=[or,sr,cr,ur,lr,mr],pr={anyOf:hr},yr=[fr],gr={anyOf:yr},Gi={anyOf:[...hr,...yr]},Yi={anyOf:[zn,Zn,Kn,Qn,Xn,tr,Jn,Vn,nr,rr]},Fi={type:"object",properties:{query:pr,chart:Yi,header_description:jn},required:["query","chart"],additionalProperties:!1},Ui={type:"object",properties:{query:gr,chart:er,header_description:jn},required:["query","chart"],additionalProperties:!1},_r={anyOf:[Fi,Ui]},Tt={type:"object",properties:{position:{type:"object",properties:{col:{type:"number"},row:{type:"number"}},description:"Position of the tile in the grid.",required:["col","row"],additionalProperties:!1},size:{type:"object",properties:{cols:{type:"number"},rows:{type:"number"},fit_to_content:{type:"boolean"}},description:"Number of columns and rows the tile occupies. If fitToContent is true for every tile in a row, and each tile only occupies 1 row, then the row will auto-fit to its content.",required:["cols","rows"],additionalProperties:!1}},required:["position","size"],additionalProperties:!1},wr={type:"object",properties:{type:{type:"string",enum:["chart"]},definition:_r,layout:Tt,id:{type:"string",description:"Unique identifier for the tile. If not provided, one will be generated."}},required:["type","definition","layout"],additionalProperties:!1},br={type:"object",description:"A tile that renders arbitrary content into a named slot instead of a chart. The slot name is the tile `id`.",properties:{type:{type:"string",enum:["slottable"]},id:{type:"string",description:"Unique identifier for the tile, and the name of the slot the host application should supply."},layout:Tt},required:["type","id","layout"],additionalProperties:!1},Tr={anyOf:[wr,br]},qi={type:"object",properties:{tiles:{type:"array",items:Tr},tile_height:{type:"number",description:"Height of each tile in pixels."},columns:{type:"number",description:"Number of columns in the dashboard grid."},preset_filters:$([...new Set([...ye,...pe,...ge,..._e,...ar,...Ue])]),template_id:{type:["string","null"],description:"Template id which was used to instantiate this dashboard."}},required:["tiles"],additionalProperties:!1},Hi=e=>{const t=[];return pe.includes(e)&&t.push("basic"),ye.includes(e)&&t.push("api_usage"),ge.includes(e)&&t.push("llm_usage"),_e.includes(e)&&t.push("agentic_usage"),(ht.includes(e)||pt.includes(e))&&t.push("requests"),t},Li={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Wi=(e,t,n)=>{let r;const i=Li[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function et(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const ji={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Vi={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zi={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$i={date:et({formats:ji,defaultWidth:"full"}),time:et({formats:Vi,defaultWidth:"full"}),dateTime:et({formats:zi,defaultWidth:"full"})},Qi={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Bi=(e,t,n,r)=>Qi[e];function le(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const c=e.defaultFormattingWidth||e.defaultWidth,l=n?.width?String(n.width):c;i=e.formattingValues[l]||e.formattingValues[c]}else{const c=e.defaultWidth,l=n?.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[c]}const o=e.argumentCallback?e.argumentCallback(t):t;return i[o]}}const Xi={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zi={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ki={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ji={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eo={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},to={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},no=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},ro={ordinalNumber:no,era:le({values:Xi,defaultWidth:"wide"}),quarter:le({values:Zi,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:Ki,defaultWidth:"wide"}),day:le({values:Ji,defaultWidth:"wide"}),dayPeriod:le({values:eo,defaultWidth:"wide",formattingValues:to,defaultFormattingWidth:"wide"})};function de(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const c=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(l)?io(l,y=>y.test(c)):ao(l,y=>y.test(c));let h;h=e.valueCallback?e.valueCallback(f):f,h=n.valueCallback?n.valueCallback(h):h;const p=t.slice(c.length);return{value:h,rest:p}}}function ao(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function io(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function oo(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],o=t.match(e.parsePattern);if(!o)return null;let c=e.valueCallback?e.valueCallback(o[0]):o[0];c=n.valueCallback?n.valueCallback(c):c;const l=t.slice(i.length);return{value:c,rest:l}}}const so=/^(\d+)(th|st|nd|rd)?/i,co=/\d+/i,uo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},lo={any:[/^b/i,/^(a|c)/i]},mo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},fo={any:[/1/i,/2/i,/3/i,/4/i]},ho={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},po={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},yo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},go={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_o={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},wo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},bo={ordinalNumber:oo({matchPattern:so,parsePattern:co,valueCallback:e=>parseInt(e,10)}),era:de({matchPatterns:uo,defaultMatchWidth:"wide",parsePatterns:lo,defaultParseWidth:"any"}),quarter:de({matchPatterns:mo,defaultMatchWidth:"wide",parsePatterns:fo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:de({matchPatterns:ho,defaultMatchWidth:"wide",parsePatterns:po,defaultParseWidth:"any"}),day:de({matchPatterns:yo,defaultMatchWidth:"wide",parsePatterns:go,defaultParseWidth:"any"}),dayPeriod:de({matchPatterns:_o,defaultMatchWidth:"any",parsePatterns:wo,defaultParseWidth:"any"})},To={code:"en-US",formatDistance:Wi,formatLong:$i,formatRelative:Bi,localize:ro,match:bo,options:{weekStartsOn:0,firstWeekContainsDate:1}};let Do={};function we(){return Do}const Dr=6048e5,So=864e5,Mo=60,Eo=3600,sn=Symbol.for("constructDateFrom");function N(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&sn in e?e[sn](t):e instanceof Date?new e.constructor(t):new Date(t)}function S(e,t){return N(t||e,e)}function cn(e){const t=S(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Oo(e,...t){const n=N.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function ne(e,t){const n=S(e,t?.in);return n.setHours(0,0,0,0),n}function vo(e,t,n){const[r,i]=Oo(n?.in,e,t),o=ne(r),c=ne(i),l=+o-cn(o),f=+c-cn(c);return Math.round((l-f)/So)}function Ro(e,t){const n=S(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function No(e,t){const n=S(e,t?.in);return vo(n,Ro(n))+1}function Y(e,t){const n=we(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=S(e,t?.in),o=i.getDay(),c=(o<r?7:0)+o-r;return i.setDate(i.getDate()-c),i.setHours(0,0,0,0),i}function Ae(e,t){return Y(e,{...t,weekStartsOn:1})}function Sr(e,t){const n=S(e,t?.in),r=n.getFullYear(),i=N(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const o=Ae(i),c=N(n,0);c.setFullYear(r,0,4),c.setHours(0,0,0,0);const l=Ae(c);return n.getTime()>=o.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function Po(e,t){const n=Sr(e,t),r=N(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Ae(r)}function xo(e,t){const n=S(e,t?.in),r=+Ae(n)-+Po(n);return Math.round(r/Dr)+1}function Mr(e,t){const n=S(e,t?.in),r=n.getFullYear(),i=we(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,c=N(t?.in||e,0);c.setFullYear(r+1,0,o),c.setHours(0,0,0,0);const l=Y(c,t),f=N(t?.in||e,0);f.setFullYear(r,0,o),f.setHours(0,0,0,0);const h=Y(f,t);return+n>=+l?r+1:+n>=+h?r:r-1}function Co(e,t){const n=we(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=Mr(e,t),o=N(t?.in||e,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),Y(o,t)}function Io(e,t){const n=S(e,t?.in),r=+Y(n,t)-+Co(n,t);return Math.round(r/Dr)+1}function w(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const U={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return w(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):w(n+1,2)},d(e,t){return w(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return w(e.getHours()%12||12,t.length)},H(e,t){return w(e.getHours(),t.length)},m(e,t){return w(e.getMinutes(),t.length)},s(e,t){return w(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return w(i,t.length)}},J={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},un={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return U.y(e,t)},Y:function(e,t,n,r){const i=Mr(e,r),o=i>0?i:1-i;if(t==="YY"){const c=o%100;return w(c,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):w(o,t.length)},R:function(e,t){const n=Sr(e);return w(n,t.length)},u:function(e,t){const n=e.getFullYear();return w(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return w(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return w(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return U.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return w(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=Io(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):w(i,t.length)},I:function(e,t,n){const r=xo(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):w(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):U.d(e,t)},D:function(e,t,n){const r=No(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):w(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return w(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return w(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return w(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=J.noon:r===0?i=J.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=J.evening:r>=12?i=J.afternoon:r>=4?i=J.morning:i=J.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return U.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):U.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):w(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):w(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):U.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):U.s(e,t)},S:function(e,t){return U.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return dn(r);case"XXXX":case"XX":return j(r);default:return j(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return dn(r);case"xxxx":case"xx":return j(r);default:return j(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ln(r,":");default:return"GMT"+j(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ln(r,":");default:return"GMT"+j(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return w(r,t.length)},T:function(e,t,n){return w(+e,t.length)}};function ln(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+t+w(o,2)}function dn(e,t){return e%60===0?(e>0?"-":"+")+w(Math.abs(e)/60,2):j(e,t)}function j(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=w(Math.trunc(r/60),2),o=w(r%60,2);return n+i+t+o}const mn=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Er=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Ao=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return mn(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",mn(r,t)).replace("{{time}}",Er(i,t))},ko={p:Er,P:Ao},Go=/^D+$/,Yo=/^Y+$/,Fo=["D","DD","YY","YYYY"];function Uo(e){return Go.test(e)}function qo(e){return Yo.test(e)}function Ho(e,t,n){const r=Lo(e,t,n);if(console.warn(r),Fo.includes(e))throw new RangeError(r)}function Lo(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Wo(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function jo(e){return!(!Wo(e)&&typeof e!="number"||isNaN(+S(e)))}const Vo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$o=/^'([^]*?)'?$/,Qo=/''/g,Bo=/[a-zA-Z]/;function Xo(e,t,n){const r=we(),i=n?.locale??r.locale??To,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=S(e,n?.in);if(!jo(l))throw new RangeError("Invalid time value");let f=t.match(zo).map(p=>{const y=p[0];if(y==="p"||y==="P"){const g=ko[y];return g(p,i.formatLong)}return p}).join("").match(Vo).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const y=p[0];if(y==="'")return{isToken:!1,value:Zo(p)};if(un[y])return{isToken:!0,value:p};if(y.match(Bo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:p}});i.localize.preprocessor&&(f=i.localize.preprocessor(l,f));const h={firstWeekContainsDate:o,weekStartsOn:c,locale:i};return f.map(p=>{if(!p.isToken)return p.value;const y=p.value;(!n?.useAdditionalWeekYearTokens&&qo(y)||!n?.useAdditionalDayOfYearTokens&&Uo(y))&&Ho(y,t,String(e));const g=un[y[0]];return g(l,y,i.localize,h)}).join("")}function Zo(e){const t=e.match($o);return t?t[1].replace(Qo,"'"):e}function Re(e,t,n){const r=S(e,n?.in);return isNaN(t)?N(e,NaN):(r.setDate(r.getDate()+t),r)}function Or(e,t,n){const r=S(e,n?.in);if(isNaN(t))return N(e,NaN);if(!t)return r;const i=r.getDate(),o=N(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const c=o.getDate();return i>=c?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function Ko(e,t,n){return Or(e,t*3,n)}function re(e,t){const n=S(e,t?.in),r=n.getMonth(),i=r-r%3;return n.setMonth(i,1),n.setHours(0,0,0,0),n}function ae(e,t){const n=S(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Jo(e,t){const n=S(e,t?.in),r=n.getFullYear(),i=n.getMonth(),o=N(n,0);return o.setFullYear(r,i+1,0),o.setHours(0,0,0,0),o.getDate()}function es(){return Object.assign({},we())}function fn(e){return+S(e)}function hn(e){return Math.trunc(+S(e)/1e3)}function pn(e){return Math.trunc(e*Eo)}function ts(e){const t=e/Mo;return Math.trunc(t)}function vr(e,t,n){return Or(e,-1,n)}function Rr(e,t,n){return Ko(e,-1,n)}function yn(e,t,n){const r=es(),i=as(e,n.timeZone,n.locale??r.locale);return"formatToParts"in i?ns(i,t):rs(i,t)}function ns(e,t){const n=e.formatToParts(t);for(let r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function rs(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function as(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function is(e,t){const n=ls(t);return"formatToParts"in n?ss(n,e):cs(n,e)}const os={year:0,month:1,day:2,hour:3,minute:4,second:5};function ss(e,t){try{const n=e.formatToParts(t),r=[];for(let i=0;i<n.length;i++){const o=os[n[i].type];o!==void 0&&(r[o]=parseInt(n[i].value,10))}return r}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function cs(e,t){const n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}const tt={},gn=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),us=gn==="06/25/2014, 00:00:00"||gn==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function ls(e){return tt[e]||(tt[e]=us?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),tt[e]}function Dt(e,t,n,r,i,o,c){const l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(r,i,o,c),l}const _n=36e5,ds=6e4,nt={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function be(e,t,n){if(!e)return 0;let r=nt.timezoneZ.exec(e);if(r)return 0;let i,o;if(r=nt.timezoneHH.exec(e),r)return i=parseInt(r[1],10),wn(i)?-(i*_n):NaN;if(r=nt.timezoneHHMM.exec(e),r){i=parseInt(r[2],10);const c=parseInt(r[3],10);return wn(i,c)?(o=Math.abs(i)*_n+c*ds,r[1]==="+"?-o:o):NaN}if(hs(e)){t=new Date(t||Date.now());const c=n?t:ms(t),l=st(c,e);return-(n?l:fs(t,l,e))}return NaN}function ms(e){return Dt(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function st(e,t){const n=is(e,t),r=Dt(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime();let i=e.getTime();const o=i%1e3;return i-=o>=0?o:1e3+o,r-i}function fs(e,t,n){let i=e.getTime()-t;const o=st(new Date(i),n);if(t===o)return t;i-=o-t;const c=st(new Date(i),n);return o===c?o:Math.max(o,c)}function wn(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}const bn={};function hs(e){if(bn[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),bn[e]=!0,!0}catch{return!1}}const ps=60*1e3,ys={X:function(e,t,n){const r=rt(n.timeZone,e);if(r===0)return"Z";switch(t){case"X":return Tn(r);case"XXXX":case"XX":return te(r);default:return te(r,":")}},x:function(e,t,n){const r=rt(n.timeZone,e);switch(t){case"x":return Tn(r);case"xxxx":case"xx":return te(r);default:return te(r,":")}},O:function(e,t,n){const r=rt(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+gs(r,":");default:return"GMT"+te(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return yn("short",e,n);default:return yn("long",e,n)}}};function rt(e,t){const n=e?be(e,t,!0)/ps:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function ke(e,t){const n=e<0?"-":"";let r=Math.abs(e).toString();for(;r.length<t;)r="0"+r;return n+r}function te(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=ke(Math.floor(r/60),2),o=ke(Math.floor(r%60),2);return n+i+t+o}function Tn(e,t){return e%60===0?(e>0?"-":"+")+ke(Math.abs(e)/60,2):te(e,t)}function gs(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;return o===0?n+String(i):n+String(i)+t+ke(o,2)}function Dn(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const Nr=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,at=36e5,Sn=6e4,_s=2,E={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Nr};function Ge(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);const n=t.additionalDigits==null?_s:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);const r=ws(e),{year:i,restDateString:o}=bs(r.date,n),c=Ts(o,i);if(c===null||isNaN(c.getTime()))return new Date(NaN);if(c){const l=c.getTime();let f=0,h;if(r.time&&(f=Ds(r.time),f===null||isNaN(f)))return new Date(NaN);if(r.timeZone||t.timeZone){if(h=be(r.timeZone||t.timeZone,new Date(l+f)),isNaN(h))return new Date(NaN)}else h=Dn(new Date(l+f)),h=Dn(new Date(l+f+h));return new Date(l+f+h)}else return new Date(NaN)}function ws(e){const t={};let n=E.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=E.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){const i=E.timeZone.exec(r);i?(t.time=r.replace(i[1],""),t.timeZone=i[1].trim()):t.time=r}return t}function bs(e,t){if(e){const n=E.YYY[t],r=E.YYYYY[t];let i=E.YYYY.exec(e)||r.exec(e);if(i){const o=i[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(i=E.YY.exec(e)||n.exec(e),i){const o=i[1];return{year:parseInt(o,10)*100,restDateString:e.slice(o.length)}}}return{year:null}}function Ts(e,t){if(t===null)return null;let n,r,i;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let o=E.MM.exec(e);if(o)return n=new Date(0),r=parseInt(o[1],10)-1,En(t,r)?(n.setUTCFullYear(t,r),n):new Date(NaN);if(o=E.DDD.exec(e),o){n=new Date(0);const c=parseInt(o[1],10);return Es(t,c)?(n.setUTCFullYear(t,0,c),n):new Date(NaN)}if(o=E.MMDD.exec(e),o){n=new Date(0),r=parseInt(o[1],10)-1;const c=parseInt(o[2],10);return En(t,r,c)?(n.setUTCFullYear(t,r,c),n):new Date(NaN)}if(o=E.Www.exec(e),o)return i=parseInt(o[1],10)-1,On(i)?Mn(t,i):new Date(NaN);if(o=E.WwwD.exec(e),o){i=parseInt(o[1],10)-1;const c=parseInt(o[2],10)-1;return On(i,c)?Mn(t,i,c):new Date(NaN)}return null}function Ds(e){let t,n,r=E.HH.exec(e);if(r)return t=parseFloat(r[1].replace(",",".")),it(t)?t%24*at:NaN;if(r=E.HHMM.exec(e),r)return t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")),it(t,n)?t%24*at+n*Sn:NaN;if(r=E.HHMMSS.exec(e),r){t=parseInt(r[1],10),n=parseInt(r[2],10);const i=parseFloat(r[3].replace(",","."));return it(t,n,i)?t%24*at+n*Sn+i*1e3:NaN}return null}function Mn(e,t,n){t=t||0,n=n||0;const r=new Date(0);r.setUTCFullYear(e,0,4);const i=r.getUTCDay()||7,o=t*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}const Ss=[31,28,31,30,31,30,31,31,30,31,30,31],Ms=[31,29,31,30,31,30,31,31,30,31,30,31];function Pr(e){return e%400===0||e%4===0&&e%100!==0}function En(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;const r=Pr(e);if(r&&n>Ms[t]||!r&&n>Ss[t])return!1}return!0}function Es(e,t){if(t<1)return!1;const n=Pr(e);return!(n&&t>366||!n&&t>365)}function On(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function it(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}const Os=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function vs(e,t,n={}){t=String(t);const r=t.match(Os);if(r){const i=Ge(n.originalDate||e,n);t=r.reduce(function(o,c){if(c[0]==="'")return o;const l=o.indexOf(c),f=o[l-1]==="'",h=o.replace(c,"'"+ys[c[0]](i,c,n)+"'");return f?h.substring(0,l-1)+h.substring(l+1):h},t)}return Xo(e,t,n)}function xr(e,t,n){e=Ge(e,n);const r=be(t,e,!0),i=new Date(e.getTime()-r),o=new Date(0);return o.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),o.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),o}function Cr(e,t,n,r){return r={...r,timeZone:t,originalDate:e},vs(xr(e,t,{timeZone:r.timeZone}),n,r)}function Rs(e,t,n){if(typeof e=="string"&&!e.match(Nr))return Ge(e,{...n,timeZone:t});e=Ge(e,n);const r=Dt(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),i=be(t,new Date(r));return new Date(r+i)}function Ir(e,t){return-be(e,t)}function Ns(e,t={}){const n=t?.tz||Intl.DateTimeFormat().resolvedOptions().timeZone;let r="MMM dd, yyy hh:mm a";switch(t.format){case"short":r="MMM dd, yyyy";break;case"default":r="MMM dd, yyyy hh:mm a";break;case"full":r="MMM dd, yyyy hh:mm:ss.SSS a";break}return t.includeTZ&&(r+=" (z)"),Cr(e,n,r)}function ct(e,t={}){if(!e)return e;const n=t.tz||Intl.DateTimeFormat().resolvedOptions().timeZone;try{let r="MMM dd, yyy hh:mm a";t.short&&(r="MMM dd, yyy"),t.includeTZ&&(r+=" (z)");const i=new Date(e);return Cr(i,n,r)}catch{return console.error("Invalid value passed to formatTime",e),"(invalid date)"}}function Ps(e,t){return`${ct(e.getTime())} - ${ct(t.getTime(),{includeTZ:!0})}`}const he={secondly:1e3,tenSecondly:10*1e3,thirtySecondly:30*1e3,minutely:60*1e3,fiveMinutely:300*1e3,tenMinutely:600*1e3,thirtyMinutely:1800*1e3,hourly:3600*1e3,twoHourly:7200*1e3,twelveHourly:720*60*1e3,daily:3600*24*1e3,weekly:3600*24*7*1e3,trend:0};function xs(e,t){return e.map(n=>({value:n,label:t.t(`configuration.vitals.reports.granularity.${n}`)}))}function Ar(e,t){return{duration:e,type:"duration",origin:t}}function Cs(e){return e&&lt.find(n=>e<=he[n])||null}function kr(e,t,n,r){const i=he[n];let o=0;return i>=he.daily&&(r?o=-Ir(r,t):o=t.getTimezoneOffset()*60*1e3),new Date(e((t.getTime()-o)/i)*i+o)}function Gr(e,t,n){return kr(Math.floor,e,t,n)}function St(e,t,n){return kr(Math.ceil,e,t,n)}class qe{timeframe;tz;dataGranularity;constructor(t,n,r){if(this.constructor===qe)throw new Error("BaseQueryTime is not meant to be used directly.");this.timeframe=t,this.tz=n,this.dataGranularity=r??t.dataGranularity}calculateStartDate(t,n,r=1){if(t)return new Date(this.endDate().getTime()-this.timeframe.timeframeLengthMs()*r);{const i=this.endDate(),o=this.timeframe.rawStart(this.tz),c=Gr(o,n,this.tz),f=(i.getTime()-c.getTime())*(r-1);return new Date(c.getTime()-f)}}granularitySeconds(){return Math.floor(this.granularityMs()/1e3)}granularityDruid(){return Ar(this.granularityMs(),this.startDate().toISOString())}startSeconds(){return hn(this.startDate())}endSeconds(){return hn(this.endDate())}startMs(){return fn(this.startDate())}endMs(){return fn(this.endDate())}}class Is extends qe{granularity;constructor(t,n,r,i,o){super(t,r,i),n&&t.allowedGranularities(o).has(n)?this.granularity=n:o?this.granularity=t.fineGrainedDefaultGranularity??t.defaultResponseGranularity:this.granularity=t.defaultResponseGranularity}startDate(){return this.calculateStartDate(this.timeframe.isRelative,this.granularity)}endDate(){return St(this.timeframe.rawEnd(),this.granularity,this.tz)}granularityMs(){return he[this.granularity]}}class Yr extends qe{startDate(){return this.calculateStartDate(this.timeframe.isRelative,this.dataGranularity)}endDate(){return St(this.timeframe.rawEnd(this.tz),this.dataGranularity,this.tz)}granularityMs(){return this.endDate().getTime()-this.startDate().getTime()}}class As extends Yr{startDate(){return this.calculateStartDate(this.timeframe.isRelative,this.dataGranularity,2)}granularityMs(){return this.endDate().getTime()-super.startDate().getTime()}}var Ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ks(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var me={exports:{}};me.exports;var vn;function Gs(){return vn||(vn=1,(function(e,t){var n=200,r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",c="[object Array]",l="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Function]",y="[object GeneratorFunction]",g="[object Map]",O="[object Number]",_="[object Object]",T="[object Promise]",q="[object RegExp]",x="[object Set]",I="[object String]",Q="[object Symbol]",Le="[object WeakMap]",Et="[object ArrayBuffer]",Te="[object DataView]",Ot="[object Float32Array]",vt="[object Float64Array]",Rt="[object Int8Array]",Nt="[object Int16Array]",Pt="[object Int32Array]",xt="[object Uint8Array]",Ct="[object Uint8ClampedArray]",It="[object Uint16Array]",At="[object Uint32Array]",jr=/[\\^$.*+?()[\]{}|]/g,Vr=/\w*$/,zr=/^\[object .+?Constructor\]$/,$r=/^(?:0|[1-9]\d*)$/,b={};b[o]=b[c]=b[Et]=b[Te]=b[l]=b[f]=b[Ot]=b[vt]=b[Rt]=b[Nt]=b[Pt]=b[g]=b[O]=b[_]=b[q]=b[x]=b[I]=b[Q]=b[xt]=b[Ct]=b[It]=b[At]=!0,b[h]=b[p]=b[Le]=!1;var Qr=typeof Ne=="object"&&Ne&&Ne.Object===Object&&Ne,Br=typeof self=="object"&&self&&self.Object===Object&&self,A=Qr||Br||Function("return this")(),kt=t&&!t.nodeType&&t,Gt=kt&&!0&&e&&!e.nodeType&&e,Xr=Gt&&Gt.exports===kt;function Zr(a,s){return a.set(s[0],s[1]),a}function Kr(a,s){return a.add(s),a}function Jr(a,s){for(var u=-1,m=a?a.length:0;++u<m&&s(a[u],u,a)!==!1;);return a}function ea(a,s){for(var u=-1,m=s.length,M=a.length;++u<m;)a[M+u]=s[u];return a}function Yt(a,s,u,m){for(var M=-1,v=a?a.length:0;++M<v;)u=s(u,a[M],M,a);return u}function ta(a,s){for(var u=-1,m=Array(a);++u<a;)m[u]=s(u);return m}function na(a,s){return a?.[s]}function Ft(a){var s=!1;if(a!=null&&typeof a.toString!="function")try{s=!!(a+"")}catch{}return s}function Ut(a){var s=-1,u=Array(a.size);return a.forEach(function(m,M){u[++s]=[M,m]}),u}function We(a,s){return function(u){return a(s(u))}}function qt(a){var s=-1,u=Array(a.size);return a.forEach(function(m){u[++s]=m}),u}var ra=Array.prototype,aa=Function.prototype,De=Object.prototype,je=A["__core-js_shared__"],Ht=(function(){var a=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})(),Lt=aa.toString,F=De.hasOwnProperty,Se=De.toString,ia=RegExp("^"+Lt.call(F).replace(jr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wt=Xr?A.Buffer:void 0,jt=A.Symbol,Vt=A.Uint8Array,oa=We(Object.getPrototypeOf,Object),sa=Object.create,ca=De.propertyIsEnumerable,ua=ra.splice,zt=Object.getOwnPropertySymbols,la=Wt?Wt.isBuffer:void 0,da=We(Object.keys,Object),Ve=Z(A,"DataView"),ce=Z(A,"Map"),ze=Z(A,"Promise"),$e=Z(A,"Set"),Qe=Z(A,"WeakMap"),ue=Z(Object,"create"),ma=W(Ve),fa=W(ce),ha=W(ze),pa=W($e),ya=W(Qe),$t=jt?jt.prototype:void 0,Qt=$t?$t.valueOf:void 0;function H(a){var s=-1,u=a?a.length:0;for(this.clear();++s<u;){var m=a[s];this.set(m[0],m[1])}}function ga(){this.__data__=ue?ue(null):{}}function _a(a){return this.has(a)&&delete this.__data__[a]}function wa(a){var s=this.__data__;if(ue){var u=s[a];return u===r?void 0:u}return F.call(s,a)?s[a]:void 0}function ba(a){var s=this.__data__;return ue?s[a]!==void 0:F.call(s,a)}function Ta(a,s){var u=this.__data__;return u[a]=ue&&s===void 0?r:s,this}H.prototype.clear=ga,H.prototype.delete=_a,H.prototype.get=wa,H.prototype.has=ba,H.prototype.set=Ta;function k(a){var s=-1,u=a?a.length:0;for(this.clear();++s<u;){var m=a[s];this.set(m[0],m[1])}}function Da(){this.__data__=[]}function Sa(a){var s=this.__data__,u=Me(s,a);if(u<0)return!1;var m=s.length-1;return u==m?s.pop():ua.call(s,u,1),!0}function Ma(a){var s=this.__data__,u=Me(s,a);return u<0?void 0:s[u][1]}function Ea(a){return Me(this.__data__,a)>-1}function Oa(a,s){var u=this.__data__,m=Me(u,a);return m<0?u.push([a,s]):u[m][1]=s,this}k.prototype.clear=Da,k.prototype.delete=Sa,k.prototype.get=Ma,k.prototype.has=Ea,k.prototype.set=Oa;function B(a){var s=-1,u=a?a.length:0;for(this.clear();++s<u;){var m=a[s];this.set(m[0],m[1])}}function va(){this.__data__={hash:new H,map:new(ce||k),string:new H}}function Ra(a){return Ee(this,a).delete(a)}function Na(a){return Ee(this,a).get(a)}function Pa(a){return Ee(this,a).has(a)}function xa(a,s){return Ee(this,a).set(a,s),this}B.prototype.clear=va,B.prototype.delete=Ra,B.prototype.get=Na,B.prototype.has=Pa,B.prototype.set=xa;function X(a){this.__data__=new k(a)}function Ca(){this.__data__=new k}function Ia(a){return this.__data__.delete(a)}function Aa(a){return this.__data__.get(a)}function ka(a){return this.__data__.has(a)}function Ga(a,s){var u=this.__data__;if(u instanceof k){var m=u.__data__;if(!ce||m.length<n-1)return m.push([a,s]),this;u=this.__data__=new B(m)}return u.set(a,s),this}X.prototype.clear=Ca,X.prototype.delete=Ia,X.prototype.get=Aa,X.prototype.has=ka,X.prototype.set=Ga;function Ya(a,s){var u=Ze(a)||si(a)?ta(a.length,String):[],m=u.length,M=!!m;for(var v in a)F.call(a,v)&&!(M&&(v=="length"||ri(v,m)))&&u.push(v);return u}function Bt(a,s,u){var m=a[s];(!(F.call(a,s)&&Jt(m,u))||u===void 0&&!(s in a))&&(a[s]=u)}function Me(a,s){for(var u=a.length;u--;)if(Jt(a[u][0],s))return u;return-1}function Fa(a,s){return a&&Xt(s,Ke(s),a)}function Be(a,s,u,m,M,v,G){var R;if(m&&(R=v?m(a,M,v,G):m(a)),R!==void 0)return R;if(!Oe(a))return a;var nn=Ze(a);if(nn){if(R=ei(a),!s)return Za(a,R)}else{var K=L(a),rn=K==p||K==y;if(ui(a))return ja(a,s);if(K==_||K==o||rn&&!v){if(Ft(a))return v?a:{};if(R=ti(rn?{}:a),!s)return Ka(a,Fa(R,a))}else{if(!b[K])return v?a:{};R=ni(a,K,Be,s)}}G||(G=new X);var an=G.get(a);if(an)return an;if(G.set(a,R),!nn)var on=u?Ja(a):Ke(a);return Jr(on||a,function(Je,ve){on&&(ve=Je,Je=a[ve]),Bt(R,ve,Be(Je,s,u,m,ve,a,G))}),R}function Ua(a){return Oe(a)?sa(a):{}}function qa(a,s,u){var m=s(a);return Ze(a)?m:ea(m,u(a))}function Ha(a){return Se.call(a)}function La(a){if(!Oe(a)||ii(a))return!1;var s=tn(a)||Ft(a)?ia:zr;return s.test(W(a))}function Wa(a){if(!Kt(a))return da(a);var s=[];for(var u in Object(a))F.call(a,u)&&u!="constructor"&&s.push(u);return s}function ja(a,s){if(s)return a.slice();var u=new a.constructor(a.length);return a.copy(u),u}function Xe(a){var s=new a.constructor(a.byteLength);return new Vt(s).set(new Vt(a)),s}function Va(a,s){var u=s?Xe(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.byteLength)}function za(a,s,u){var m=s?u(Ut(a),!0):Ut(a);return Yt(m,Zr,new a.constructor)}function $a(a){var s=new a.constructor(a.source,Vr.exec(a));return s.lastIndex=a.lastIndex,s}function Qa(a,s,u){var m=s?u(qt(a),!0):qt(a);return Yt(m,Kr,new a.constructor)}function Ba(a){return Qt?Object(Qt.call(a)):{}}function Xa(a,s){var u=s?Xe(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.length)}function Za(a,s){var u=-1,m=a.length;for(s||(s=Array(m));++u<m;)s[u]=a[u];return s}function Xt(a,s,u,m){u||(u={});for(var M=-1,v=s.length;++M<v;){var G=s[M],R=void 0;Bt(u,G,R===void 0?a[G]:R)}return u}function Ka(a,s){return Xt(a,Zt(a),s)}function Ja(a){return qa(a,Ke,Zt)}function Ee(a,s){var u=a.__data__;return ai(s)?u[typeof s=="string"?"string":"hash"]:u.map}function Z(a,s){var u=na(a,s);return La(u)?u:void 0}var Zt=zt?We(zt,Object):mi,L=Ha;(Ve&&L(new Ve(new ArrayBuffer(1)))!=Te||ce&&L(new ce)!=g||ze&&L(ze.resolve())!=T||$e&&L(new $e)!=x||Qe&&L(new Qe)!=Le)&&(L=function(a){var s=Se.call(a),u=s==_?a.constructor:void 0,m=u?W(u):void 0;if(m)switch(m){case ma:return Te;case fa:return g;case ha:return T;case pa:return x;case ya:return Le}return s});function ei(a){var s=a.length,u=a.constructor(s);return s&&typeof a[0]=="string"&&F.call(a,"index")&&(u.index=a.index,u.input=a.input),u}function ti(a){return typeof a.constructor=="function"&&!Kt(a)?Ua(oa(a)):{}}function ni(a,s,u,m){var M=a.constructor;switch(s){case Et:return Xe(a);case l:case f:return new M(+a);case Te:return Va(a,m);case Ot:case vt:case Rt:case Nt:case Pt:case xt:case Ct:case It:case At:return Xa(a,m);case g:return za(a,m,u);case O:case I:return new M(a);case q:return $a(a);case x:return Qa(a,m,u);case Q:return Ba(a)}}function ri(a,s){return s=s??i,!!s&&(typeof a=="number"||$r.test(a))&&a>-1&&a%1==0&&a<s}function ai(a){var s=typeof a;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?a!=="__proto__":a===null}function ii(a){return!!Ht&&Ht in a}function Kt(a){var s=a&&a.constructor,u=typeof s=="function"&&s.prototype||De;return a===u}function W(a){if(a!=null){try{return Lt.call(a)}catch{}try{return a+""}catch{}}return""}function oi(a){return Be(a,!0,!0)}function Jt(a,s){return a===s||a!==a&&s!==s}function si(a){return ci(a)&&F.call(a,"callee")&&(!ca.call(a,"callee")||Se.call(a)==o)}var Ze=Array.isArray;function en(a){return a!=null&&li(a.length)&&!tn(a)}function ci(a){return di(a)&&en(a)}var ui=la||fi;function tn(a){var s=Oe(a)?Se.call(a):"";return s==p||s==y}function li(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=i}function Oe(a){var s=typeof a;return!!a&&(s=="object"||s=="function")}function di(a){return!!a&&typeof a=="object"}function Ke(a){return en(a)?Ya(a):Wa(a)}function mi(){return[]}function fi(){return!1}e.exports=oi})(me,me.exports)),me.exports}var Ys=Gs();const Fs=ks(Ys),P=(e,t)=>new Date(e.getTime()-Ir(t,e));class D{timeframeText;key;display;timeframeLength;allowedTiers;defaultResponseGranularity;dataGranularity;isRelative;fineGrainedDefaultGranularity;_startCustom;_endCustom;_allowedGranularitiesOverride;constructor(t){this.display=t.display,this.timeframeText=t.timeframeText,this.key=t.key,this.timeframeLength=t.timeframeLength,this.allowedTiers=t.allowedTiers,this.defaultResponseGranularity=t.defaultResponseGranularity,this.dataGranularity=t.dataGranularity,this.isRelative=t.isRelative,this._startCustom=t.startCustom,this._endCustom=t.endCustom,this._allowedGranularitiesOverride=t.allowedGranularitiesOverride,this.fineGrainedDefaultGranularity=t.fineGrainedDefaultGranularity}rawEnd(t){return this._endCustom||new Date}rawStart(t){return this._startCustom||new Date(this.rawEnd().getTime()-this.timeframeLengthMs())}timeframeLengthMs(){return this.timeframeLength()*1e3}maximumTimeframeLength(){return this.timeframeLength()}allowedGranularities(t){if(this._allowedGranularitiesOverride&&t)return new Set(this._allowedGranularitiesOverride);const n=new Set,r=this.maximumTimeframeLength()/3600;return r<=6&&n.add("minutely"),r>=2&&r<=168&&n.add("hourly"),r>=48&&n.add("daily"),r>=672&&n.add("weekly"),n}cacheKey(){return this.key!=="custom"?this.key:`${this.rawStart().toISOString()}-${this.rawEnd().toISOString()}`}v4Query(t){return this.key==="custom"?{type:"absolute",start:this.rawStart(),end:this.rawEnd(),tz:t}:{type:"relative",time_range:this.key,tz:t}}tzAdjustedDate(t){if(!t)return new Date;const n=Rs(new Date,new Intl.DateTimeFormat().resolvedOptions().timeZone);return xr(n,t)}}class Us extends D{rawStart(t){let n=Y(this.tzAdjustedDate(t),{weekStartsOn:1});return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*7}}class qs extends D{rawStart(t){let n=ae(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*31}}class Hs extends D{rawStart(t){let n=re(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*92}}class Ls extends D{rawStart(t){let n=new Date(this.tzAdjustedDate(t).getFullYear(),0,1);return t&&(n=P(n,t)),n}maximumTimeframeLength(){return 3600*24*366}}class Ws extends D{rawEnd(t){let n=Y(this.tzAdjustedDate(t),{weekStartsOn:1});return t&&(n=P(n,t)),n}rawStart(t){const n=this.tzAdjustedDate(t);let r=Y(n.setDate(n.getDate()-7),{weekStartsOn:1});return t&&(r=P(r,t)),r}}class js extends D{rawEnd(t){let n=re(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}rawStart(t){let n=re(Rr(this.tzAdjustedDate(t)));return t&&(n=P(n,t)),n}}class Vs extends D{rawEnd(t){let n=ae(this.tzAdjustedDate(t));return t&&(n=P(n,t)),n}rawStart(t){let n=ae(vr(this.tzAdjustedDate(t)));return t&&(n=P(n,t)),n}}class zs extends D{rawEnd(t){let n=new Date(this.tzAdjustedDate(t).getFullYear(),0,1);return t&&(n=P(n,t)),n}rawStart(t){let n=new Date(this.tzAdjustedDate(t).getFullYear()-1,0,1);return t&&(n=P(n,t)),n}}const Fr=new Map([[d.FIFTEEN_MIN,new D({key:d.FIFTEEN_MIN,display:"Last 15 minutes",timeframeText:"15 minutes",timeframeLength:()=>900,defaultResponseGranularity:"minutely",dataGranularity:"minutely",isRelative:!0,fineGrainedDefaultGranularity:"thirtySecondly",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["tenSecondly","thirtySecondly","minutely"]})],[d.ONE_HOUR,new D({key:d.ONE_HOUR,display:"Last hour",timeframeText:"One hour",timeframeLength:()=>3600*1,defaultResponseGranularity:"minutely",dataGranularity:"minutely",isRelative:!0,fineGrainedDefaultGranularity:"minutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["tenSecondly","thirtySecondly","minutely","fiveMinutely","tenMinutely"]})],[d.SIX_HOUR,new D({key:d.SIX_HOUR,display:"Last 6 hours",timeframeText:"6 hours",timeframeLength:()=>3600*6,defaultResponseGranularity:"hourly",dataGranularity:"hourly",isRelative:!0,fineGrainedDefaultGranularity:"fiveMinutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["thirtySecondly","minutely","fiveMinutely","tenMinutely","thirtyMinutely","hourly"]})],[d.TWELVE_HOUR,new D({key:d.TWELVE_HOUR,display:"Last 12 hours",timeframeText:"12 hours",timeframeLength:()=>3600*12,defaultResponseGranularity:"hourly",dataGranularity:"hourly",isRelative:!0,fineGrainedDefaultGranularity:"tenMinutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["minutely","fiveMinutely","tenMinutely","thirtyMinutely","hourly"]})],[d.ONE_DAY,new D({key:d.ONE_DAY,display:"Last 24 hours",timeframeText:"24 hours",timeframeLength:()=>3600*24,defaultResponseGranularity:"hourly",dataGranularity:"hourly",isRelative:!0,fineGrainedDefaultGranularity:"thirtyMinutely",allowedTiers:["free","trial","plus","enterprise"],allowedGranularitiesOverride:["fiveMinutely","tenMinutely","thirtyMinutely","hourly"]})],[d.SEVEN_DAY,new D({key:d.SEVEN_DAY,display:"Last 7 days",timeframeText:"7 days",timeframeLength:()=>3600*24*7,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"twoHourly",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["thirtyMinutely","hourly","twoHourly","twelveHourly","daily"]})],[d.THIRTY_DAY,new D({key:d.THIRTY_DAY,display:"Last 30 days",timeframeText:"30 days",timeframeLength:()=>3600*24*30,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"twelveHourly",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.NINETY_DAY,new D({key:d.NINETY_DAY,display:"Last 90 days",timeframeText:"90 days",timeframeLength:()=>3600*24*90,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"daily",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.ONE_HUNDRED_EIGHTY_DAY,new D({key:d.ONE_HUNDRED_EIGHTY_DAY,display:"Last 180 days",timeframeText:"180 days",timeframeLength:()=>3600*24*180,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"daily",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.ONE_YEAR,new D({key:d.ONE_YEAR,display:"Last 365 days",timeframeText:"365 days",timeframeLength:()=>3600*24*365,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!0,fineGrainedDefaultGranularity:"daily",allowedTiers:["trial","plus","enterprise"],allowedGranularitiesOverride:["hourly","twoHourly","twelveHourly","daily","weekly"]})],[d.CURRENT_WEEK,new Us({key:d.CURRENT_WEEK,display:"This week",timeframeText:"Week",timeframeLength:()=>{const e=Y(new Date,{weekStartsOn:1});return(ne(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,fineGrainedDefaultGranularity:"twoHourly",allowedTiers:["plus","enterprise"],allowedGranularitiesOverride:["thirtyMinutely","hourly","twoHourly","twelveHourly","daily"]})],[d.CURRENT_MONTH,new qs({key:d.CURRENT_MONTH,display:"This month",timeframeText:"Month",timeframeLength:()=>{const e=ae(new Date);return(ne(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.CURRENT_QUARTER,new Hs({key:d.CURRENT_QUARTER,display:"This quarter",timeframeText:"Quarter",timeframeLength:()=>{const e=re(new Date);return(ne(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.CURRENT_YEAR,new Ls({key:d.CURRENT_YEAR,display:"This year",timeframeText:"Year",timeframeLength:()=>{const e=new Date(new Date().getFullYear(),0,1);return(ne(Re(new Date,1)).getTime()-e.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.PREVIOUS_WEEK,new Ws({key:d.PREVIOUS_WEEK,display:"Previous week",timeframeText:"Week",timeframeLength:()=>3600*24*7,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,fineGrainedDefaultGranularity:"twoHourly",allowedTiers:["plus","enterprise"],allowedGranularitiesOverride:["thirtyMinutely","hourly","twoHourly","twelveHourly","daily"]})],[d.PREVIOUS_MONTH,new Vs({key:d.PREVIOUS_MONTH,display:"Previous month",timeframeText:"Month",timeframeLength:()=>{let e=0;const t=ae(new Date),n=ae(vr(new Date));return t.getTimezoneOffset()!==n.getTimezoneOffset()&&(e=ut(t,n)),3600*24*Jo(new Date().setMonth(new Date().getMonth()-1))+pn(e)},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.PREVIOUS_QUARTER,new js({key:d.PREVIOUS_QUARTER,display:"Previous quarter",timeframeText:"Quarter",timeframeLength:()=>{const e=re(new Date),t=re(Rr(new Date));return(e.getTime()-t.getTime())/1e3},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})],[d.PREVIOUS_YEAR,new zs({key:d.PREVIOUS_YEAR,display:"Previous year",timeframeText:"Year",timeframeLength:()=>{const e=new Date(new Date().getFullYear(),0,1),t=new Date(new Date().getFullYear()-1,0,1);let n=0;return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(n=ut(e,t)),3600*24*(365+(t.getFullYear()%4===0?1:0))+pn(n)},defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["plus","enterprise"]})]]);function $s(e){const t=new Date(e.start),n=new Date(e.end),r=(n.getTime()-t.getTime())/1e3;return e.timePeriodsKey&&Fs(Fr.get(e.timePeriodsKey))||new D({key:"custom",timeframeText:"custom",display:"custom",startCustom:t,endCustom:n,timeframeLength:()=>r,defaultResponseGranularity:"daily",dataGranularity:"daily",isRelative:!1,allowedTiers:["free","plus","enterprise"]})}function Qs(e){return{...e.key!=="custom"&&{timePeriodsKey:e.key},start:e.rawStart(),end:e.rawEnd()}}function Bs(e){return{key:e.key,display:e.display,timeframeText:e.timeframeText,timeframeLength:()=>e.key,start:()=>e.rawStart(),end:()=>e.rawEnd()}}function ut(e,t){return ts(e.getTimezoneOffset()-t.getTimezoneOffset())}const Xs={"15M":d.FIFTEEN_MIN,"1H":d.ONE_HOUR,"6H":d.SIX_HOUR,"12H":d.TWELVE_HOUR,"24H":d.ONE_DAY,"7D":d.SEVEN_DAY,"15m":d.FIFTEEN_MIN,"1h":d.ONE_HOUR,"6h":d.SIX_HOUR,"12h":d.TWELVE_HOUR,"24h":d.ONE_DAY,"7d":d.SEVEN_DAY,"30d":d.THIRTY_DAY,"90d":d.NINETY_DAY,"180d":d.ONE_HUNDRED_EIGHTY_DAY,"365d":d.ONE_YEAR,current_week:d.CURRENT_WEEK,current_month:d.CURRENT_MONTH,current_quarter:d.CURRENT_QUARTER,current_year:d.CURRENT_YEAR,previous_week:d.PREVIOUS_WEEK,previous_month:d.PREVIOUS_MONTH,previous_quarter:d.PREVIOUS_QUARTER,previous_year:d.PREVIOUS_YEAR};class He{_seed;constructor(t){this._seed=t}next(t,n){const r=Math.sin(this._seed++)*1e4,i=r-Math.floor(r);return Math.floor(i*(n-t+1))+t}}const Zs=({metrics:e,dimensionMap:t,metaOverrides:n,valueRange:r=[50,500],timeSeries:i=!1})=>i?e.length===1?Ur(e[0],t,n,r):qr(e,n,r):Hr(e,t,n,r),Ur=(e,t,n,r)=>{const i=Mt(10,1e4),o=new He(i),[c,l]=r||[50,500],f=Date.now()-360*60*1e3,h=Date.now(),p=[];let y=0;for(let _=f;_<=h;_+=3600*1e3)if(t)for(const T in t)t[T].forEach(q=>{y+=o.next(c,l);const x={[T]:q,[e.name]:y},I={version:"1.0",timestamp:new Date(_).toISOString(),event:x};p.push(I)});else{y+=o.next(c,l);const T={version:"1.0",timestamp:new Date(_).toISOString(),event:{[e.name]:y}};p.push(T)}const g={};if(t)for(const _ in t)g[_]={},t[_].forEach(T=>{g[_][T]={name:T,deleted:!1}});const O={start:new Date(f).toISOString(),end:new Date(h).toISOString(),query_id:"12345",metric_names:[e.name],metric_units:{[e.name]:e.unit},granularity_ms:3600*1e3,display:g,...n??{}};return{data:p,meta:O}},qr=(e,t,n)=>{const r=Mt(10,1e4),i=new He(r),[o,c]=n||[50,500],l=Date.now()-360*60*1e3,f=Date.now(),h=[],p={};e.forEach(g=>{p[g.name]=0});for(let g=l;g<=f;g+=3600*1e3){const O={};e.forEach(T=>{p[T.name]+=i.next(o,c),O[T.name]=p[T.name]});const _={version:"1.0",timestamp:new Date(g).toISOString(),event:O};h.push(_)}const y={start:new Date(l).toISOString(),end:new Date(f).toISOString(),query_id:"12345",metric_names:e.map(g=>g.name),metric_units:e.reduce((g,O)=>(g[O.name]=O.unit,g),{}),granularity_ms:3600*1e3,display:{},...t??{}};return{data:h,meta:y}},Hr=(e,t,n,r)=>{const i=Math.floor(Math.random()*9991)+10,o=new He(i),[c,l]=r||[50,500],f=Date.now()-360*60*1e3,h=Date.now(),p=new Date((f+h)/2).toISOString(),y=[];if(t){const _=Object.keys(t),T=Object.values(t),q=(x,I)=>{if(I===_.length){e.forEach(Q=>{x[Q.name]=o.next(c,l)}),y.push({version:"1.0",timestamp:new Date().toISOString(),event:{...x}});return}T[I].forEach(Q=>{q({...x,[_[I]]:Q},I+1)})};q({},0)}else{const _={};e.forEach(T=>{_[T.name]=o.next(c,l)}),y.push({version:"1.0",timestamp:p,event:_})}const g={};if(t)for(const _ in t)g[_]={},t[_].forEach(T=>{g[_][T]={name:T,deleted:!1}});const O={start:new Date(f).toISOString(),end:new Date(h).toISOString(),query_id:"12345",metric_names:e.map(_=>_.name),metric_units:e.reduce((_,T)=>(_[T.name]=T.unit,_),{}),truncated:!1,limit:50,display:g,granularity_ms:h-f,...n??{}};return{data:y,meta:O}};function Mt(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1)+e)}const Lr=new Map(_t.map(e=>[e.code,{code:e.code,name:e.name}])),Ks=e=>Lr.get(e)?.name||e,Rn=1e3,Js=1e4,Nn=1e6,Pn=1e9,xn=1e12,fe=(e,t)=>{if(t.separator===!1||e<1e3)return e.toString();const n=typeof t.separator=="string"?t.separator:",",r=[];return Math.round(e).toString().split("").reverse().forEach((o,c)=>{c&&c%3===0&&r.push(n),r.push(o)}),r.reverse().join("")},ee=(e,t,n)=>{const r=e/t,i=n.round?"round":"floor";if(n.decimal===!1)return Math[i](r).toString();let o;n.precision?o=r:o=r<10?Math[i](r*10)/10:Math[i](r);let c=o.toString();return typeof n.decimal=="string"&&(c=c.replace(".",n.decimal)),c};function Pe(e,t={}){let n;const r=e<0;r&&(e=Math.abs(e)),t.precision&&(e=parseFloat(e.toPrecision(t.precision)));const i=t.min10k?Js:Rn;return e<i||t.precision&&t.precision>Math.log10(e)?n=fe(ee(e,1,t),t):e<Nn?n=`${ee(e,Rn,t)}k`:e<Pn?n=`${ee(e,Nn,t)}m`:e<xn?n=`${fe(ee(e,Pn,t),t)}b`:n=`${fe(ee(e,xn,t),t)}t`,r&&(n=`-${n}`),t.capital&&(n=n.toUpperCase()),t.prefix&&(n=`${t.prefix}${n}`),t.suffix&&(n=`${n}${t.suffix}`),n}Pe.addCommas=fe;const ec=typeof document<"u"&&document.documentElement?.lang||"en-US",xe=new Intl.NumberFormat(ec);function tc({i18n:e}){const t=(o,c)=>{if(isNaN(o))return"0 B";const l=c?Math.pow(2,50):1e15,f=c?Math.pow(2,40):1e12,h=c?Math.pow(2,30):1e9,p=c?Math.pow(2,20):1e6,y=c?Math.pow(2,10):1e3;let g;return o>=l?g=e.formatNumber(Number.parseFloat((o/l).toPrecision(3)),{style:"unit",unit:"petabyte",unitDisplay:"narrow"}):o>=f?g=e.formatNumber(Number.parseFloat((o/f).toPrecision(3)),{style:"unit",unit:"terabyte",unitDisplay:"narrow"}):o>=h?g=e.formatNumber(Number.parseFloat((o/h).toPrecision(3)),{style:"unit",unit:"gigabyte",unitDisplay:"narrow"}):o>=p?g=e.formatNumber(Number.parseFloat((o/p).toPrecision(3)),{style:"unit",unit:"megabyte",unitDisplay:"narrow"}):o>=y?g=e.formatNumber(Number.parseFloat((o/y).toPrecision(3)),{style:"unit",unit:"kilobyte",unitDisplay:"narrow"}):g=e.formatNumber(Number.parseFloat(o.toPrecision(3)),{style:"unit",unit:"byte",unitDisplay:"narrow"}),g.replace(/([a-zA-Z]*)$/," $1")},n=(o,c="USD")=>isNaN(o)?c==="USD"?"$0.00":`${o}`:o>=.01||c!=="USD"?e.formatNumber(o,{style:"currency",currency:c}):o<1e-4?"< $0.0001":`$${Number.parseFloat(o.toPrecision(4))}`;return{formatUnit:(o,c,{isBytes1024:l=!1,currency:f="USD",approximate:h=!1,translateUnit:p=y=>y}={})=>{const y=p(c,o);switch(c){case"bytes":return t(o,l);case"usd":return n(o,f);default:return isNaN(o)?`${o}`:h?`${Pe(o,{capital:!0})} ${y}`:o>=.01?`${xe.format(Number.parseFloat(o.toFixed(2)))} ${y}`:`${Number.parseFloat(o.toPrecision(4))} ${y}`}},formatBytes:t,formatCost:n,formatRange:(o,c,l,{isBytes1024:f=!1,currency:h="USD",approximate:p=!1,translateUnit:y=g=>g}={})=>{const g=y(l,c);switch(l){case"bytes":return`${t(o,f)} - ${t(c,f)}`;case"usd":return`${n(o,h)} - ${n(c,h)}`;default:if(isNaN(o)||isNaN(c))return`${o} - ${c}`;if(p)return`${Pe(o,{capital:!0})} - ${Pe(c,{capital:!0})} ${g}`}const O=o>=.01?`${xe.format(Number.parseFloat(o.toFixed(2)))}`:`${Number.parseFloat(o.toPrecision(4))}`,_=c>=.01?`${xe.format(Number.parseFloat(c.toFixed(2)))}`:`${Number.parseFloat(c.toPrecision(4))}`;return`${O} - ${_} ${g}`}}}const Wr=1e4,nc=async(e,t,n,r={})=>{const i=Math.max(0,r.maxRecords??Wr),o=Math.min(ot,Math.max(1,r.pageSize??ot)),c=[];let l=t.query.cursor,f;for(;c.length<i;){const h=Math.min(o,i-c.length),p=await e({datasource:t.datasource,query:{...t.query,size:h,...l?{cursor:l}:{}}},n);if(f=p,c.push(...p.results??[]),r.onPage?.(c.length,p),l=p.meta?.cursor,!l||!p.results?.length||p.results.length<h)break}return{results:c,meta:{...f?.meta??{query_id:"",time_range:{start:"",end:""},size:0},size:c.length},truncated:!!l&&c.length>=i,limit:i}};exports.API_REQUESTS_MAX_PAGE_SIZE=ot;exports.CAPTURE_PREPARE_EVENT=Ce;exports.CAPTURE_RESTORE_EVENT=Ie;exports.COUNTRIES=_t;exports.DEFAULT_MAX_REQUEST_RECORDS=Wr;exports.DeltaQueryTime=As;exports.EXPORT_RECORD_LIMIT=_i;exports.Granularities=he;exports.INJECT_QUERY_PROVIDER=wi;exports.PLATFORM_DATASOURCES=qn;exports.REFRESH_INTERVAL_MS=gi;exports.SeededRandom=He;exports.TIMEFRAME_LOOKUP=Xs;exports.TimePeriods=Fr;exports.Timeframe=D;exports.TimeframeKeys=d;exports.TimeseriesQueryTime=Is;exports.UnaryQueryTime=Yr;exports.agenticExploreAggregations=Hn;exports.agenticUsageSchema=ur;exports.aiExploreAggregations=kn;exports.apiRequestsQuerySchema=ki;exports.apiUsageQuerySchema=or;exports.barChartSchema=zn;exports.basicExploreAggregations=dt;exports.basicQuerySchema=sr;exports.ceilToNearestTimeGrain=St;exports.chartTileConfigSchema=wr;exports.choroplethMapSchema=rr;exports.countries=Lr;exports.dashboardConfigSchema=qi;exports.dashboardTileTypes=xi;exports.datasourceToFilterableDimensions=Wn;exports.datePickerSelectionToTimeframe=$s;exports.donutChartSchema=Kn;exports.dstOffsetHours=ut;exports.exploreAggregations=mt;exports.exploreFilterTypesV2=In;exports.extendedRelativeTimeRangeValues=bi;exports.fetchAllRequests=nc;exports.filterableAgenticExploreDimensions=_e;exports.filterableAiExploreDimensions=ge;exports.filterableBasicExploreDimensions=pe;exports.filterableExploreDimensions=ye;exports.filterableManagedCacheExploreDimensions=Ue;exports.filterablePlatformPresetFilterDimensions=ar;exports.filterableRequestDimensions=ht;exports.filterableRequestMetrics=pt;exports.filterableRequestWildcardDimensions=Fn;exports.floorToNearestTimeGrain=Gr;exports.formatTime=ct;exports.formatTimeRange=Ps;exports.formatTimestamp=Ns;exports.gaugeChartSchema=Zn;exports.generateCrossSectionalData=Hr;exports.generateData=Zs;exports.generateMultipleMetricTimeSeriesData=qr;exports.generateSingleMetricTimeSeriesData=Ur;exports.getCountryName=Ks;exports.getFieldDataSources=Hi;exports.granularitiesToOptions=xs;exports.granularityMsToQuery=Ar;exports.granularityValues=lt;exports.isPlatformDatasource=Ri;exports.llmUsageSchema=cr;exports.managedCacheExploreAggregations=Ln;exports.managedCacheUsageQuerySchema=lr;exports.metricCardSchema=tr;exports.msToGranularity=Cs;exports.numberFormatter=xe;exports.platformQuerySchema=mr;exports.platformTabularQuerySchema=fr;exports.prepareForCapture=hi;exports.queryDatasources=Ni;exports.queryableAgenticExploreDimensions=yt;exports.queryableAiExploreDimensions=ft;exports.queryableBasicExploreDimensions=Ye;exports.queryableExploreDimensions=Fe;exports.queryableManagedCacheExploreDimensions=gt;exports.queryableRequestDimensions=Gn;exports.queryableRequestMetrics=Un;exports.queryableRequestWildcardDimensions=Yn;exports.rand=Mt;exports.registerCapture=Cn;exports.registerWebglCapture=yi;exports.relativeTimeRangeValuesRequestV2=vi;exports.relativeTimeRangeValuesV4=Oi;exports.reportChartTypes=Ti;exports.requestFilterTypeEmptyV2=An;exports.requestFilterTypeEqualsV2=Di;exports.requestFilterTypeMetricV2=Si;exports.requestFilterTypeWildcardV2=Mi;exports.restoreAfterCapture=pi;exports.scatterChartSchema=Xn;exports.scatterPercentileLineSchema=Bn;exports.singleValueSchema=nr;exports.slottableSchema=Vn;exports.slottableTileConfigSchema=br;exports.stripUnknownFilters=Pi;exports.tableChartSchema=er;exports.thresholdSchema=$n;exports.tileConfigSchema=Tr;exports.tileDefinitionSchema=_r;exports.tileLayoutSchema=Tt;exports.timeRangeTypeV2=Ei;exports.timeframeToDatepickerSelection=Qs;exports.timeframeToDatepickerTimeperiod=Bs;exports.timeseriesChartSchema=Qn;exports.topNTableSchema=Jn;exports.unitFormatter=tc;exports.validDashboardChartQuery=pr;exports.validDashboardQuery=Gi;exports.validDashboardTableQuery=gr;
2
2
  //# sourceMappingURL=vitals-utilities.cjs.map