diff --git a/CHANGELOG.md b/CHANGELOG.md
index 124425f..a19f4ec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,15 @@ All notable changes to this project are documented here. The project follows
## [Unreleased]
- From customer level 7, low-latency wholesale routes call: 1.6 or 3.2 Tbps between two of your cities with a strict latency limit, paying about three times what a hyperscaler pays per Gbps on the same route. Every day over the limit (after the first 15) you pay back a day's fee as an SLA credit and they lose patience twice as fast as a trading link over its limit, so keep a fast path and a fast backup. They never grow past 3.2 Tbps, so one contract cannot carry a whole level (#137).
+- From customer level 2, you can save up to three POP standards (micro POP, medium POP, regional hub), each a router model and a number of routers, and mark which POP is which. One button in a POP's Infra tab brings it up to its standard, and Utilities brings every POP of a kind up at once with the price shown first. A POP is never stepped down to a smaller model, and a busy POP with one router gets its second router before the swap, so the upgrade rolls instead of taking the POP down (#315).
+- Utilities can now install the redundancy kit at every POP still missing part of it in one go, at one price shown on the button, from customer level 2. With a NOC intern you can also put the kit in the intern's new-POP template from there (#317).
+- A customer asking for a backup generator, a second router or a second site at POPs you already have now shows what is missing and what it costs, with a button that buys exactly that and signs the deal. Nothing is bought unless you press it (#241).
+- The NOC intern's "Light more fiber" order can now leave new fiber dark, so a fiber handed over in the night no longer pulls in traffic before you are ready for it. Fiber you light yourself still gets more optics when it runs hot (#316).
+- The Transit and Peering tabs of a POP have a search box for a network's name or AS number and a "Connected only" switch, so you can find the one network you need in a long list, on phones too (#199).
+- Decommissioning one of several links between the same two cities keeps the link panel open on the next one, so you can hand back a row of waves without reopening it each time (#119).
- A link that a closed border has taken down, like Doha to Dubai or Abu Dhabi while the neighbours have fallen out, now says so in its panel, with the days until it comes back, instead of showing nothing wrong. Leasing a new wave or fiber pair across that border during the spat warns you first that it will stay dark (#329).
+- A customer asking for a discount at renewal now shows how much traffic they book and get, the price per Gbps now and asked, and any latency limit or path terms they signed for, each ticked or crossed as your network stands today (#292).
+- The two city names at the top of a wave, dark fiber or virtual circuit panel now open that city, for example to upgrade the router there before a bigger link (#196).
## [3.3.0] — 2026-11-09
diff --git a/scripts/lib/fuzz-page.js b/scripts/lib/fuzz-page.js
index 5b05a14..769b69c 100644
--- a/scripts/lib/fuzz-page.js
+++ b/scripts/lib/fuzz-page.js
@@ -56,7 +56,9 @@
const screen = (w) => {
if (w.where === 'modal') return btns($('modal'));
if (w.where === 'city') { UI.sel = { type: 'city', id: w.city }; UI.tab = w.tab; renderAll(); return btns($('panel')); }
- if (w.where === 'link') { if (!S.links.some((l) => l.id === w.id)) return []; UI.sel = { type: 'link', id: w.id }; renderAll(); return btns($('panel')); }
+ // The city names in a link panel's header open the city (#196); older pages have plain text there. They only change
+ // the view, so neither page offers them, and both stay in lockstep.
+ if (w.where === 'link') { if (!S.links.some((l) => l.id === w.id)) return []; UI.sel = { type: 'link', id: w.id }; renderAll(); const P = $('panel'); for (const h of P.querySelectorAll('.ph h2 [data-act]')) h.removeAttribute('data-act'); return btns(P); }
if (w.where === 'dash') { $('dash').hidden = false; UI.dtab = w.tab; renderDash(); const b = btns($('dash')); return b; }
if (w.where === 'left') {
UI.left = w.tab; UI.leftOpen = true; renderLeft(); let b = btns($('leftBody'));
diff --git a/site/i18n/de.js b/site/i18n/de.js
index b0339b6..525de47 100644
--- a/site/i18n/de.js
+++ b/site/i18n/de.js
@@ -2742,6 +2742,12 @@
"lifecycle.odd_wireguard":"Sie gehen komplett remote. Alle 40 Leute fahren WireGuard aus ihren Küchen, und die Büroleitung ist nur noch für die Pflanzen.",
"lifecycle.odd_wrong_blue":"Die neue Büroleitung will alle Kabel in derselben Farbe, und deins ist das falsche Blau.",
"lifecycle.referred_by":"Empfohlen von {name}, einem deiner zufriedensten Kunden.",
+"lifecycle.ren_diverse":"zwei getrennte Pfade",
+"lifecycle.ren_lat":"Latenz bis {max} ms (jetzt {now})",
+"lifecycle.ren_no_subsea":"kein Seekabel",
+"lifecycle.ren_per_g":"{was} → {price} pro Gbps",
+"lifecycle.ren_sites_traffic":{"one":"{n} Standort × {bw} gebucht, {srv} geliefert","other":"{n} Standorte × {bw} gebucht, {srv} geliefert"},
+"lifecycle.ren_traffic":"{bw} gebucht, {srv} geliefert",
"lifecycle.renewal_haggle":"Verlängerung am {date}: wird verhandelt",
"lifecycle.renewals":"Verlängerungen",
"lifecycle.renewals_soon":"Verlängerungen",
@@ -3165,6 +3171,9 @@
"modal_and_names.the_real_thing_follow_a_packet":"Das Original: Folge einem Paket vom WLAN bis zur Unterseeglasfaser.",
"modals.lay_your_own_subsea_cable":"Eigenes Seekabel verlegen…",
"modals.your_own_subsea_cable_level_n":"Eigenes Seekabel Level {n} oder Tier 1",
+"net_filter.clear":"Zurücksetzen",
+"net_filter.connected_only":"Nur verbundene",
+"net_filter.find_a_network":"Netzwerk oder AS-Nummer suchen",
"networks.a_mobile_network_named_after_the":"Ein Mobilfunknetz, benannt nach dem Klang anstoßender Gläser. Prost auf jeden 5G-Mast.",
"networks.a_spanish_carrier_starring_in_every":"Ein spanischer Carrier mit Hauptrolle in jedem lateinamerikanischen Markt, zumindest bis er den nächsten verkauft.",
"networks.a_tiny_telco_in_a_country":"Eine winzige Telco in einem Land, in dem die Kabel der Welt an Land gehen. Die Preise passen dazu.",
@@ -3400,6 +3409,7 @@
"ops.ops":"Ops",
"ops.ops_name":"Ops · {name}",
"ops.p_at":"Ab",
+"ops.p_fresh":"Neue Glasfaser anknipsen",
"ops.p_g":"Ab",
"ops.p_how":"Wie",
"ops.p_keep":"Einen in Reserve",
@@ -3931,6 +3941,29 @@
"pop_std.none":"Keiner",
"pop_std.not_all_of_the_standard":"Nicht genug Geld oder Level für den ganzen Standard in {city}: Er bekam, was passte.",
"pop_std.standard_for_new_pops":"Standard für neue POPs",
+"pop_tiers.apply_cost":"Auf Standard bringen {cost}",
+"pop_tiers.bring_up_n":{"one":"{n} POP hochbringen {cost}","other":"{n} POPs hochbringen {cost}"},
+"pop_tiers.bulk_done":{"one":"{kind}: {n} POP auf den Standard gebracht.","other":"{kind}: {n} POPs auf den Standard gebracht."},
+"pop_tiers.bulk_note":"Jeder POP, den du als eine Art markiert hast, in einem Rutsch auf ihren Standard gebracht. Ändere einen Standard (neues Modell, mehr Router) und drück nochmal.",
+"pop_tiers.city_is_kind":"{city} erfüllt den Standard {kind}.",
+"pop_tiers.hub":"Regionaler Hub",
+"pop_tiers.mark":"Markieren",
+"pop_tiers.medium":"Mittlerer POP",
+"pop_tiers.meets_it":"Erfüllt",
+"pop_tiers.micro":"Mikro-POP",
+"pop_tiers.model_locked":"{model} gibt es ab Kundenlevel {lv}.",
+"pop_tiers.n_below":{"one":"{n} unter dem Standard","other":"{n} unter dem Standard"},
+"pop_tiers.n_pops":{"one":"{n} POP","other":"{n} POPs"},
+"pop_tiers.n_stuck":{"one":"{n} geht noch nicht","other":"{n} gehen noch nicht"},
+"pop_tiers.no_kind":"Noch keine Art",
+"pop_tiers.not_all":"In {city} ging nicht der ganze Standard rein. Schau in den Infra-Tab.",
+"pop_tiers.not_set":"noch nicht festgelegt",
+"pop_tiers.note":"Speichere die Router eines POPs als Standard und markiere dann andere POPs als diese Art. Auf Standard bringen fügt Router hinzu und tauscht auf das größere Modell, nie einen Schritt zurück. Unter Werkzeuge bringst du alle POPs einer Art auf einmal hoch.",
+"pop_tiers.save_here":"Diese Router speichern",
+"pop_tiers.saved":"{kind} ist jetzt {desc}.",
+"pop_tiers.swapped_today":"Die Router hier wurden heute getauscht. Versuch es morgen wieder.",
+"pop_tiers.this_pop_is":"Dieser POP: {kind}",
+"pop_tiers.title":"POP-Standards",
"pops_transit_ix.40_off_for_6_months":"40 % Rabatt für 6 Monate",
"pops_transit_ix.40_off_ix_for_6_months":"40 % Rabatt auf {ix} für 6 Monate.
Dein Account Manager ist erleichtert. Das Kleingedruckte liest du später.",
"pops_transit_ix.after_consulting_with_management_the":"„Nach Rücksprache mit dem Management …“
Der Preis ist gestiegen. Das Management wurde konsultiert.",
@@ -4198,6 +4231,12 @@
"release_notes.read_the_full_notes_on_github":"Alle Hinweise auf GitHub lesen",
"release_notes.series_of_tubes_v_is_out":"Series of Tubes {v} ist da!",
"release_notes.your_game_is_saved_automatically":"Dein Spiel wird automatisch gespeichert.",
+"req_fix.bought":"Gekauft: {list} für {cost}.",
+"req_fix.buy_and_sign":"Kaufen und unterschreiben {cost}",
+"req_fix.buys_list":"Es fehlt: {list}. {cost} + {mo}/Monat.",
+"req_fix.generator_in_city":"ein Notstromaggregat in {city}",
+"req_fix.second_router_in_city":"ein zweiter Router in {city}",
+"req_fix.second_site_in_city":"ein zweiter Standort in {city}",
"requirements.a_spare_fiber_pair_in_your":"ein freies Faserpaar in deinem Graben {a}–{b}",
"requirements.afraid_of_sharks_needs_a_path":"Angst vor Haien: braucht einen Pfad ohne Seekabel",
"requirements.backup_generator_in_every_city_they":"Notstromgenerator in jeder Stadt, in der sie vertreten sind",
@@ -4832,9 +4871,20 @@
"utilities.caches_requested":"{n} Cache-Boxen in {city} installiert.",
"utilities.ix_peering":"IX-Peering im ganzen Netz",
"utilities.join_route_servers":"Allen Route Servern beitreten ({n})",
+"utilities.kit_all_applied":{"one":"Redundanz-Kit in {n} POP eingebaut.","other":"Redundanz-Kit in {n} POPs eingebaut."},
+"utilities.kit_all_apply":{"one":"Kit in {n} POP {cost}","other":"Kit in alle {n} POPs {cost}"},
+"utilities.kit_all_done":"Jeder POP hat das komplette Kit.",
+"utilities.kit_all_quote":{"one":"{n} POP braucht es · {cost} + {mo}/Monat","other":"{n} POPs brauchen es · {cost} + {mo}/Monat"},
"utilities.kit_applied":"Redundanz in {city} aktualisiert.",
"utilities.kit_balanced":"Hardware installiert und Caches ausgeglichen.",
"utilities.kit_cost":"Einmalig: {cost} · Zusätzliche Kosten pro Monat: {mo}",
+"utilities.kit_everywhere":"Redundanz-Kit überall",
+"utilities.kit_everywhere_note":"Das Kit in jedem POP, dem noch ein Teil davon fehlt: Notstrom, zweites Gebäude, zweiter Router, Caches auf beide Standorte verteilt. Ein Preis für alle.",
+"utilities.kit_new_pops_hire":"Stell einen NOC-Praktikanten ein, dann eröffnest du neue POPs aus einer Vorlage, das Kit schon drin.",
+"utilities.kit_new_pops_off":"Neue POPs aus der Vorlage von {name} kommen ohne das Kit.",
+"utilities.kit_new_pops_on":"Neue POPs aus der Vorlage von {name} bekommen das Kit gleich mit.",
+"utilities.kit_new_pops_start":"Kit in die Vorlage",
+"utilities.kit_new_pops_stop":"Kit aus der Vorlage nehmen",
"utilities.peer_counts":"{ready} möglich · {existing} bestehend · {blocked} nicht verfügbar",
"utilities.peering_note":"Fordert an jedem IX, an dem du bist, alle möglichen Peers an. Bestehende Sessions, auch über Route Server, werden übersprungen. Absagen und Traffic-Schwellen gelten weiter. Es werden keine Ports oder bezahlten PNIs gekauft.",
"utilities.peers_requested":"{n} neue IX-Peering-Sessions aufgebaut.",
diff --git a/site/i18n/es.js b/site/i18n/es.js
index c4bdb73..20c77e7 100644
--- a/site/i18n/es.js
+++ b/site/i18n/es.js
@@ -2740,6 +2740,12 @@
"lifecycle.odd_wireguard":"Se pasan al teletrabajo total. Los 40 empleados usarán WireGuard desde sus cocinas, y la línea de la oficina es solo para las plantas.",
"lifecycle.odd_wrong_blue":"La nueva responsable de oficina quiere todos los cables del mismo color, y el tuyo es del azul equivocado.",
"lifecycle.referred_by":"Recomendado por {name}, uno de tus clientes más contentos.",
+"lifecycle.ren_diverse":"dos rutas diversas",
+"lifecycle.ren_lat":"latencia de hasta {max} ms (ahora {now})",
+"lifecycle.ren_no_subsea":"sin cable submarino",
+"lifecycle.ren_per_g":"{was} → {price} por Gbps",
+"lifecycle.ren_sites_traffic":{"one":"{n} sede × {bw} contratados, {srv} servidos","other":"{n} sedes × {bw} contratados, {srv} servidos"},
+"lifecycle.ren_traffic":"{bw} contratados, {srv} servidos",
"lifecycle.renewal_haggle":"renovación el {date}: negociando",
"lifecycle.renewals":"Renovaciones",
"lifecycle.renewals_soon":"Renovaciones",
@@ -3163,6 +3169,9 @@
"modal_and_names.the_real_thing_follow_a_packet":"Lo de verdad: sigue un paquete del Wi-Fi a la fibra submarina.",
"modals.lay_your_own_subsea_cable":"Tender tu propio cable submarino…",
"modals.your_own_subsea_cable_level_n":"Tu propio cable submarino nivel {n} o Tier 1",
+"net_filter.clear":"Borrar",
+"net_filter.connected_only":"Solo conectadas",
+"net_filter.find_a_network":"Buscar una red o número de AS",
"networks.a_mobile_network_named_after_the":"Una red móvil con el nombre del sonido de un brindis. Salud por cada torre 5G.",
"networks.a_spanish_carrier_starring_in_every":"Un operador español protagonista en todos los mercados latinoamericanos, al menos hasta que vende el siguiente.",
"networks.a_tiny_telco_in_a_country":"Una telco diminuta en un país donde llegan a tierra los cables del mundo. Precios a juego.",
@@ -3398,6 +3407,7 @@
"ops.ops":"Ops",
"ops.ops_name":"Ops · {name}",
"ops.p_at":"Por encima de",
+"ops.p_fresh":"Encender fibra nueva",
"ops.p_g":"Desde",
"ops.p_how":"Cómo",
"ops.p_keep":"Dejar uno de reserva",
@@ -3929,6 +3939,29 @@
"pop_std.none":"Ninguno",
"pop_std.not_all_of_the_standard":"No hay dinero o nivel para todo el estándar en {city}: recibió lo que cupo.",
"pop_std.standard_for_new_pops":"Estándar para nuevos POP",
+"pop_tiers.apply_cost":"Ponerlo al día {cost}",
+"pop_tiers.bring_up_n":{"one":"Poner al día {n} POP {cost}","other":"Poner al día {n} POPs {cost}"},
+"pop_tiers.bulk_done":{"one":"{kind}: {n} POP puesto al día.","other":"{kind}: {n} POPs puestos al día."},
+"pop_tiers.bulk_note":"Cada POP que marcaste de un tipo, puesto al día con su estándar de una vez. Cambia un estándar (un modelo nuevo, más routers) y vuelve a pulsar.",
+"pop_tiers.city_is_kind":"{city} cumple el estándar {kind}.",
+"pop_tiers.hub":"Hub regional",
+"pop_tiers.mark":"Marcarlo",
+"pop_tiers.medium":"POP mediano",
+"pop_tiers.meets_it":"Lo cumple",
+"pop_tiers.micro":"Micro POP",
+"pop_tiers.model_locked":"{model} se desbloquea en el nivel de clientes {lv}.",
+"pop_tiers.n_below":{"one":"{n} por debajo del estándar","other":"{n} por debajo del estándar"},
+"pop_tiers.n_pops":{"one":"{n} POP","other":"{n} POPs"},
+"pop_tiers.n_stuck":{"one":"{n} todavía no puede","other":"{n} todavía no pueden"},
+"pop_tiers.no_kind":"Sin tipo aún",
+"pop_tiers.not_all":"En {city} no entró todo el estándar. Revisa la pestaña Infra.",
+"pop_tiers.not_set":"sin definir",
+"pop_tiers.note":"Guarda los routers de un POP como estándar y marca otros POPs de ese tipo. Ponerlo al día añade routers y cambia al modelo más grande, nunca un paso atrás. En Utilidades pones al día todos los POPs de un tipo a la vez.",
+"pop_tiers.save_here":"Guardar estos routers",
+"pop_tiers.saved":"{kind} ahora es {desc}.",
+"pop_tiers.swapped_today":"Los routers de aquí se cambiaron hoy. Prueba mañana.",
+"pop_tiers.this_pop_is":"Este POP: {kind}",
+"pop_tiers.title":"Estándares de POP",
"pops_transit_ix.40_off_for_6_months":"40 % de descuento durante 6 meses",
"pops_transit_ix.40_off_ix_for_6_months":"40 % de descuento en {ix} durante 6 meses.
Tu gestor de cuenta está aliviado. Lee la letra pequeña más tarde.",
"pops_transit_ix.after_consulting_with_management_the":"«Tras consultar con la dirección…»
El precio subió. Se consultó a la dirección.",
@@ -4196,6 +4229,12 @@
"release_notes.read_the_full_notes_on_github":"Lee las notas completas en GitHub",
"release_notes.series_of_tubes_v_is_out":"¡Ya salió Series of Tubes {v}!",
"release_notes.your_game_is_saved_automatically":"Tu partida se guarda automáticamente.",
+"req_fix.bought":"Comprado: {list} por {cost}.",
+"req_fix.buy_and_sign":"Comprar y firmar {cost}",
+"req_fix.buys_list":"Falta: {list}. {cost} + {mo}/mes.",
+"req_fix.generator_in_city":"un generador de respaldo en {city}",
+"req_fix.second_router_in_city":"un segundo router en {city}",
+"req_fix.second_site_in_city":"un segundo sitio en {city}",
"requirements.a_spare_fiber_pair_in_your":"un par de fibra libre en tu zanja {a}–{b}",
"requirements.afraid_of_sharks_needs_a_path":"Miedo a los tiburones: necesita una ruta sin cable submarino",
"requirements.backup_generator_in_every_city_they":"Generador de respaldo en cada ciudad que toquen",
@@ -4830,9 +4869,20 @@
"utilities.caches_requested":"Se han instalado {n} cachés en {city}.",
"utilities.ix_peering":"Peering IX en toda la red",
"utilities.join_route_servers":"Unirse a todos los route servers ({n})",
+"utilities.kit_all_applied":{"one":"Kit de redundancia instalado en {n} POP.","other":"Kit de redundancia instalado en {n} POPs."},
+"utilities.kit_all_apply":{"one":"Kit en {n} POP {cost}","other":"Kit en los {n} POPs {cost}"},
+"utilities.kit_all_done":"Todos los POPs tienen el kit completo.",
+"utilities.kit_all_quote":{"one":"{n} POP lo necesita · {cost} + {mo}/mes","other":"{n} POPs lo necesitan · {cost} + {mo}/mes"},
"utilities.kit_applied":"Redundancia actualizada en {city}.",
"utilities.kit_balanced":"Hardware instalado y cachés equilibradas.",
"utilities.kit_cost":"Pago único: {cost} · Coste mensual adicional: {mo}",
+"utilities.kit_everywhere":"Kit de redundancia en todas partes",
+"utilities.kit_everywhere_note":"El kit en cada POP al que todavía le falta alguna parte: generador, segundo edificio, segundo router, cachés repartidas entre sitios. Un solo precio para todos.",
+"utilities.kit_new_pops_hire":"Contrata a un becario del NOC para abrir POPs nuevos con una plantilla que ya incluye el kit.",
+"utilities.kit_new_pops_off":"Los POPs nuevos abiertos con la plantilla de {name} llegan sin el kit.",
+"utilities.kit_new_pops_on":"Los POPs nuevos abiertos con la plantilla de {name} también llevan el kit.",
+"utilities.kit_new_pops_start":"Meter el kit en la plantilla",
+"utilities.kit_new_pops_stop":"Sacarlo de la plantilla",
"utilities.peer_counts":"{ready} elegibles · {existing} existentes · {blocked} no disponibles",
"utilities.peering_note":"Solicita peers elegibles en cada IX al que te hayas unido. Se omiten las sesiones existentes, incluidos los peers del route server. Los rechazos y umbrales de tráfico siguen vigentes. No se compran puertos ni PNI de pago.",
"utilities.peers_requested":"Se han establecido {n} nuevas sesiones de peering IX.",
diff --git a/site/i18n/fr.js b/site/i18n/fr.js
index 0b0b12e..4f3ff65 100644
--- a/site/i18n/fr.js
+++ b/site/i18n/fr.js
@@ -2740,6 +2740,12 @@
"lifecycle.odd_wireguard":"Ils passent en télétravail complet. Les 40 salariés utiliseront WireGuard depuis leur cuisine, et la ligne du bureau ne sert plus qu'aux plantes.",
"lifecycle.odd_wrong_blue":"La nouvelle responsable des locaux veut tous les câbles de la même couleur, et le vôtre n'est pas le bon bleu.",
"lifecycle.referred_by":"Recommandé par {name}, l'un de vos clients les plus satisfaits.",
+"lifecycle.ren_diverse":"deux chemins diversifiés",
+"lifecycle.ren_lat":"latence jusqu’à {max} ms (maintenant {now})",
+"lifecycle.ren_no_subsea":"pas de câble sous-marin",
+"lifecycle.ren_per_g":"{was} → {price} par Gbps",
+"lifecycle.ren_sites_traffic":{"one":"{n} site × {bw} réservés, {srv} servis","other":"{n} sites × {bw} réservés, {srv} servis"},
+"lifecycle.ren_traffic":"{bw} réservés, {srv} servis",
"lifecycle.renewal_haggle":"renouvellement le {date} : en négociation",
"lifecycle.renewals":"Renouvellements",
"lifecycle.renewals_soon":"Renouvellements",
@@ -3163,6 +3169,9 @@
"modal_and_names.the_real_thing_follow_a_packet":"La version réelle : suis un paquet du Wi-Fi à la fibre sous-marine.",
"modals.lay_your_own_subsea_cable":"Pose ton propre câble sous-marin…",
"modals.your_own_subsea_cable_level_n":"Ton propre câble sous-marin niveau {n} ou Tier 1",
+"net_filter.clear":"Effacer",
+"net_filter.connected_only":"Connectés seulement",
+"net_filter.find_a_network":"Chercher un réseau ou un numéro d'AS",
"networks.a_mobile_network_named_after_the":"Un réseau mobile qui porte le nom du bruit d’un toast. Tchin-tchin à chaque antenne 5G.",
"networks.a_spanish_carrier_starring_in_every":"Un opérateur espagnol en vedette sur chaque marché d’Amérique latine, au moins jusqu’à ce qu’il revende le suivant.",
"networks.a_tiny_telco_in_a_country":"Un tout petit opérateur dans un pays où les câbles du monde entier touchent terre. Tarifs à l’avenant.",
@@ -3398,6 +3407,7 @@
"ops.ops":"Ops",
"ops.ops_name":"Ops · {name}",
"ops.p_at":"Au-delà de",
+"ops.p_fresh":"Allumer la fibre neuve",
"ops.p_g":"À partir de",
"ops.p_how":"Comment",
"ops.p_keep":"En garder un de secours",
@@ -3929,6 +3939,29 @@
"pop_std.none":"Aucun",
"pop_std.not_all_of_the_standard":"Pas assez d'argent ou de niveau pour tout le standard à {city} : il a reçu ce qui passait.",
"pop_std.standard_for_new_pops":"Standard des nouveaux POP",
+"pop_tiers.apply_cost":"Le mettre à niveau {cost}",
+"pop_tiers.bring_up_n":{"one":"Mettre {n} POP à niveau {cost}","other":"Mettre {n} POP à niveau {cost}"},
+"pop_tiers.bulk_done":{"one":"{kind} : {n} POP mis à niveau.","other":"{kind} : {n} POP mis à niveau."},
+"pop_tiers.bulk_note":"Chaque POP que tu as marqué d'un type, mis à niveau selon son standard d'un seul coup. Change un standard (nouveau modèle, plus de routeurs) et appuie à nouveau.",
+"pop_tiers.city_is_kind":"{city} respecte le standard {kind}.",
+"pop_tiers.hub":"Hub régional",
+"pop_tiers.mark":"Le marquer",
+"pop_tiers.medium":"POP moyen",
+"pop_tiers.meets_it":"Conforme",
+"pop_tiers.micro":"Micro-POP",
+"pop_tiers.model_locked":"{model} se débloque au niveau clients {lv}.",
+"pop_tiers.n_below":{"one":"{n} sous le standard","other":"{n} sous le standard"},
+"pop_tiers.n_pops":{"one":"{n} POP","other":"{n} POP"},
+"pop_tiers.n_stuck":{"one":"{n} ne peut pas encore","other":"{n} ne peuvent pas encore"},
+"pop_tiers.no_kind":"Pas encore de type",
+"pop_tiers.not_all":"Tout le standard n'a pas pu être installé à {city}. Regarde l'onglet Infra.",
+"pop_tiers.not_set":"pas encore défini",
+"pop_tiers.note":"Enregistre les routeurs d'un POP comme standard, puis marque d'autres POP de ce type. La mise à niveau ajoute des routeurs et passe au plus gros modèle, jamais un pas en arrière. Les Utilitaires mettent à niveau tous les POP d'un type d'un coup.",
+"pop_tiers.save_here":"Enregistrer ces routeurs",
+"pop_tiers.saved":"{kind} est maintenant {desc}.",
+"pop_tiers.swapped_today":"Les routeurs ici ont été changés aujourd'hui. Réessaie demain.",
+"pop_tiers.this_pop_is":"Ce POP : {kind}",
+"pop_tiers.title":"Standards de POP",
"pops_transit_ix.40_off_for_6_months":"40 % de remise pendant 6 mois",
"pops_transit_ix.40_off_ix_for_6_months":"40 % de remise sur {ix} pendant 6 mois.
Ton account manager est soulagé. Lis les petites lignes plus tard.",
"pops_transit_ix.after_consulting_with_management_the":"« Après consultation de la direction… »
Le prix a augmenté. La direction a été consultée.",
@@ -4196,6 +4229,12 @@
"release_notes.read_the_full_notes_on_github":"Lire les notes complètes sur GitHub",
"release_notes.series_of_tubes_v_is_out":"Series of Tubes {v} est sorti !",
"release_notes.your_game_is_saved_automatically":"Ta partie est sauvegardée automatiquement.",
+"req_fix.bought":"Acheté : {list} pour {cost}.",
+"req_fix.buy_and_sign":"Acheter et signer {cost}",
+"req_fix.buys_list":"Il manque : {list}. {cost} + {mo}/mois.",
+"req_fix.generator_in_city":"un groupe électrogène à {city}",
+"req_fix.second_router_in_city":"un second routeur à {city}",
+"req_fix.second_site_in_city":"un second site à {city}",
"requirements.a_spare_fiber_pair_in_your":"une paire de fibre libre dans ta tranchée {a}–{b}",
"requirements.afraid_of_sharks_needs_a_path":"A peur des requins : veut un chemin sans câble sous-marin",
"requirements.backup_generator_in_every_city_they":"Groupe électrogène dans chaque ville qu’il touche",
@@ -4830,9 +4869,20 @@
"utilities.caches_requested":"{n} caches installés à {city}.",
"utilities.ix_peering":"Peering IX sur tout le réseau",
"utilities.join_route_servers":"Rejoindre tous les route servers ({n})",
+"utilities.kit_all_applied":{"one":"Kit de redondance installé dans {n} POP.","other":"Kit de redondance installé dans {n} POP."},
+"utilities.kit_all_apply":{"one":"Kit pour {n} POP {cost}","other":"Kit pour les {n} POP {cost}"},
+"utilities.kit_all_done":"Chaque POP a le kit complet.",
+"utilities.kit_all_quote":{"one":"{n} POP en a besoin · {cost} + {mo}/mois","other":"{n} POP en ont besoin · {cost} + {mo}/mois"},
"utilities.kit_applied":"Redondance mise à jour à {city}.",
"utilities.kit_balanced":"Matériel installé et caches équilibrés.",
"utilities.kit_cost":"Coût initial : {cost} · Coût mensuel supplémentaire : {mo}",
+"utilities.kit_everywhere":"Kit de redondance partout",
+"utilities.kit_everywhere_note":"Le kit dans chaque POP à qui il en manque une partie : groupe électrogène, second bâtiment, second routeur, caches répartis entre les sites. Un seul prix pour tous.",
+"utilities.kit_new_pops_hire":"Embauche un stagiaire NOC pour ouvrir de nouveaux POP depuis un modèle, kit déjà compris.",
+"utilities.kit_new_pops_off":"Les nouveaux POP ouverts avec le modèle de {name} arrivent sans le kit.",
+"utilities.kit_new_pops_on":"Les nouveaux POP ouverts avec le modèle de {name} reçoivent aussi le kit.",
+"utilities.kit_new_pops_start":"Mettre le kit dans le modèle",
+"utilities.kit_new_pops_stop":"Le retirer du modèle",
"utilities.peer_counts":"{ready} éligibles · {existing} existants · {blocked} indisponibles",
"utilities.peering_note":"Demande les peers éligibles sur chaque IX rejoint. Les sessions existantes, y compris via le route server, sont ignorées. Les refus et seuils de trafic restent applicables. Aucun port ni PNI payant ne sera acheté.",
"utilities.peers_requested":"{n} nouvelles sessions de peering IX établies.",
diff --git a/site/i18n/it.js b/site/i18n/it.js
index e95b6a2..77d0c1b 100644
--- a/site/i18n/it.js
+++ b/site/i18n/it.js
@@ -2740,6 +2740,12 @@
"lifecycle.odd_wireguard":"Passano al lavoro tutto da remoto. I 40 dipendenti useranno WireGuard dalle loro cucine, e la linea dell'ufficio serve solo alle piante.",
"lifecycle.odd_wrong_blue":"Il nuovo responsabile dell'ufficio vuole tutti i cavi dello stesso colore, e il tuo è del blu sbagliato.",
"lifecycle.referred_by":"Consigliato da {name}, uno dei tuoi clienti più contenti.",
+"lifecycle.ren_diverse":"due percorsi diversi",
+"lifecycle.ren_lat":"latenza entro {max} ms (ora {now})",
+"lifecycle.ren_no_subsea":"niente cavi sottomarini",
+"lifecycle.ren_per_g":"{was} → {price} per Gbps",
+"lifecycle.ren_sites_traffic":{"one":"{n} sede × {bw} prenotati, {srv} serviti","other":"{n} sedi × {bw} prenotati, {srv} serviti"},
+"lifecycle.ren_traffic":"{bw} prenotati, {srv} serviti",
"lifecycle.renewal_haggle":"rinnovo il {date}: si tratta",
"lifecycle.renewals":"Rinnovi",
"lifecycle.renewals_soon":"Rinnovi",
@@ -3163,6 +3169,9 @@
"modal_and_names.the_real_thing_follow_a_packet":"La versione vera: segui un pacchetto dal Wi-Fi alla fibra sottomarina.",
"modals.lay_your_own_subsea_cable":"Posa il tuo cavo sottomarino…",
"modals.your_own_subsea_cable_level_n":"Il tuo cavo sottomarino livello {n} o Tier 1",
+"net_filter.clear":"Cancella",
+"net_filter.connected_only":"Solo collegate",
+"net_filter.find_a_network":"Cerca una rete o un numero AS",
"networks.a_mobile_network_named_after_the":"Una rete mobile che porta il nome del suono di un brindisi. Cin cin a ogni antenna 5G.",
"networks.a_spanish_carrier_starring_in_every":"Un carrier spagnolo protagonista in ogni mercato latinoamericano, almeno finché non vende il prossimo.",
"networks.a_tiny_telco_in_a_country":"Una piccola telco in un paese dove approdano i cavi di mezzo mondo. Prezzi in proporzione.",
@@ -3398,6 +3407,7 @@
"ops.ops":"Ops",
"ops.ops_name":"Ops · {name}",
"ops.p_at":"Oltre",
+"ops.p_fresh":"Accendi la fibra nuova",
"ops.p_g":"Da",
"ops.p_how":"Come",
"ops.p_keep":"Tienine uno di scorta",
@@ -3929,6 +3939,29 @@
"pop_std.none":"Nessuno",
"pop_std.not_all_of_the_standard":"Non bastano soldi o livello per tutto lo standard a {city}: ha avuto quello che si poteva.",
"pop_std.standard_for_new_pops":"Standard per i nuovi POP",
+"pop_tiers.apply_cost":"Portalo allo standard {cost}",
+"pop_tiers.bring_up_n":{"one":"Porta {n} POP allo standard {cost}","other":"Porta {n} POP allo standard {cost}"},
+"pop_tiers.bulk_done":{"one":"{kind}: {n} POP portato allo standard.","other":"{kind}: {n} POP portati allo standard."},
+"pop_tiers.bulk_note":"Ogni POP che hai segnato di un tipo, portato al suo standard in un colpo solo. Cambia uno standard (un modello nuovo, più router) e premi di nuovo.",
+"pop_tiers.city_is_kind":"{city} rispetta lo standard {kind}.",
+"pop_tiers.hub":"Hub regionale",
+"pop_tiers.mark":"Segnalo",
+"pop_tiers.medium":"POP medio",
+"pop_tiers.meets_it":"In regola",
+"pop_tiers.micro":"Micro POP",
+"pop_tiers.model_locked":"{model} si sblocca al livello clienti {lv}.",
+"pop_tiers.n_below":{"one":"{n} sotto lo standard","other":"{n} sotto lo standard"},
+"pop_tiers.n_pops":{"one":"{n} POP","other":"{n} POP"},
+"pop_tiers.n_stuck":{"one":"{n} non può ancora","other":"{n} non possono ancora"},
+"pop_tiers.no_kind":"Nessun tipo ancora",
+"pop_tiers.not_all":"A {city} non è entrato tutto lo standard. Controlla la scheda Infra.",
+"pop_tiers.not_set":"non ancora definito",
+"pop_tiers.note":"Salva i router di un POP come standard, poi segna altri POP di quel tipo. Portarlo allo standard aggiunge router e passa al modello più grande, mai un passo indietro. Da Utilità porti allo standard tutti i POP di un tipo in una volta.",
+"pop_tiers.save_here":"Salva questi router",
+"pop_tiers.saved":"{kind} ora è {desc}.",
+"pop_tiers.swapped_today":"I router qui sono stati cambiati oggi. Riprova domani.",
+"pop_tiers.this_pop_is":"Questo POP: {kind}",
+"pop_tiers.title":"Standard dei POP",
"pops_transit_ix.40_off_for_6_months":"40% di sconto per 6 mesi",
"pops_transit_ix.40_off_ix_for_6_months":"40% di sconto su {ix} per 6 mesi.
Il tuo account manager tira un sospiro di sollievo. Le clausole in piccolo leggile dopo.",
"pops_transit_ix.after_consulting_with_management_the":"“Dopo un confronto con il management…”
Il prezzo è salito. Il management è stato consultato.",
@@ -4196,6 +4229,12 @@
"release_notes.read_the_full_notes_on_github":"Leggi le note complete su GitHub",
"release_notes.series_of_tubes_v_is_out":"È uscito Series of Tubes {v}!",
"release_notes.your_game_is_saved_automatically":"La tua partita viene salvata automaticamente.",
+"req_fix.bought":"Comprato: {list} per {cost}.",
+"req_fix.buy_and_sign":"Compra e firma {cost}",
+"req_fix.buys_list":"Manca: {list}. {cost} + {mo}/mese.",
+"req_fix.generator_in_city":"un generatore di backup a {city}",
+"req_fix.second_router_in_city":"un secondo router a {city}",
+"req_fix.second_site_in_city":"un secondo sito a {city}",
"requirements.a_spare_fiber_pair_in_your":"una coppia di fibre libera nel tuo scavo {a}–{b}",
"requirements.afraid_of_sharks_needs_a_path":"Ha paura degli squali: vuole un percorso senza cavi sottomarini",
"requirements.backup_generator_in_every_city_they":"Generatore di backup in ogni città che tocca",
@@ -4830,9 +4869,20 @@
"utilities.caches_requested":"Installate {n} cache a {city}.",
"utilities.ix_peering":"Peering IX su tutta la rete",
"utilities.join_route_servers":"Unisciti a tutti i route server ({n})",
+"utilities.kit_all_applied":{"one":"Kit di ridondanza installato in {n} POP.","other":"Kit di ridondanza installato in {n} POP."},
+"utilities.kit_all_apply":{"one":"Kit per {n} POP {cost}","other":"Kit per tutti i {n} POP {cost}"},
+"utilities.kit_all_done":"Ogni POP ha il kit completo.",
+"utilities.kit_all_quote":{"one":"{n} POP ne ha bisogno · {cost} + {mo}/mese","other":"{n} POP ne hanno bisogno · {cost} + {mo}/mese"},
"utilities.kit_applied":"Ridondanza aggiornata a {city}.",
"utilities.kit_balanced":"Hardware installato e cache bilanciate.",
"utilities.kit_cost":"Una tantum: {cost} · Costo mensile aggiuntivo: {mo}",
+"utilities.kit_everywhere":"Kit di ridondanza ovunque",
+"utilities.kit_everywhere_note":"Il kit in ogni POP a cui ne manca ancora un pezzo: generatore, secondo edificio, secondo router, cache divise tra i siti. Un solo prezzo per tutti.",
+"utilities.kit_new_pops_hire":"Assumi uno stagista del NOC per aprire nuovi POP da un modello con il kit già dentro.",
+"utilities.kit_new_pops_off":"I nuovi POP aperti dal modello di {name} arrivano senza kit.",
+"utilities.kit_new_pops_on":"I nuovi POP aperti dal modello di {name} ricevono anche il kit.",
+"utilities.kit_new_pops_start":"Metti il kit nel modello",
+"utilities.kit_new_pops_stop":"Toglilo dal modello",
"utilities.peer_counts":"{ready} idonei · {existing} esistenti · {blocked} non disponibili",
"utilities.peering_note":"Richiedi i peer idonei in ogni IX a cui partecipi. Le sessioni esistenti, inclusi i peer del route server, vengono saltate. Rifiuti e soglie di traffico restano validi. Non vengono acquistate porte o PNI a pagamento.",
"utilities.peers_requested":"Stabilite {n} nuove sessioni di peering IX.",
diff --git a/site/i18n/pt.js b/site/i18n/pt.js
index 11e4a50..58a7510 100644
--- a/site/i18n/pt.js
+++ b/site/i18n/pt.js
@@ -2740,6 +2740,12 @@
"lifecycle.odd_wireguard":"Vão trabalhar 100% remoto. Os 40 funcionários vão usar WireGuard da cozinha, e a linha do escritório fica só para as plantas.",
"lifecycle.odd_wrong_blue":"A nova gerente do escritório quer todos os cabos da mesma cor, e o seu é do azul errado.",
"lifecycle.referred_by":"Indicado por {name}, um dos seus clientes mais felizes.",
+"lifecycle.ren_diverse":"dois caminhos diversos",
+"lifecycle.ren_lat":"latência de até {max} ms (agora {now})",
+"lifecycle.ren_no_subsea":"sem cabo submarino",
+"lifecycle.ren_per_g":"{was} → {price} por Gbps",
+"lifecycle.ren_sites_traffic":{"one":"{n} unidade × {bw} contratados, {srv} entregues","other":"{n} unidades × {bw} contratados, {srv} entregues"},
+"lifecycle.ren_traffic":"{bw} contratados, {srv} entregues",
"lifecycle.renewal_haggle":"renovação em {date}: negociando",
"lifecycle.renewals":"Renovações",
"lifecycle.renewals_soon":"Renovações",
@@ -3163,6 +3169,9 @@
"modal_and_names.the_real_thing_follow_a_packet":"A coisa de verdade: siga um pacote do Wi-Fi até a fibra submarina.",
"modals.lay_your_own_subsea_cable":"Lançar seu próprio cabo submarino…",
"modals.your_own_subsea_cable_level_n":"Seu próprio cabo submarino nível {n} ou Tier 1",
+"net_filter.clear":"Limpar",
+"net_filter.connected_only":"Só ligadas",
+"net_filter.find_a_network":"Procurar uma rede ou número AS",
"networks.a_mobile_network_named_after_the":"Uma rede móvel com nome de brinde. Tim-tim para cada torre 5G.",
"networks.a_spanish_carrier_starring_in_every":"Uma operadora espanhola estrelando em todo mercado latino-americano, pelo menos até vender o próximo.",
"networks.a_tiny_telco_in_a_country":"Uma operadora minúscula num país onde os cabos do mundo chegam à terra. Os preços acompanham.",
@@ -3398,6 +3407,7 @@
"ops.ops":"Ops",
"ops.ops_name":"Ops · {name}",
"ops.p_at":"Acima de",
+"ops.p_fresh":"Acender fibra nova",
"ops.p_g":"A partir de",
"ops.p_how":"Como",
"ops.p_keep":"Manter um de reserva",
@@ -3929,6 +3939,29 @@
"pop_std.none":"Nenhum",
"pop_std.not_all_of_the_standard":"Sem dinheiro ou nível para todo o padrão em {city}: recebeu o que coube.",
"pop_std.standard_for_new_pops":"Padrão para novos POPs",
+"pop_tiers.apply_cost":"Pôr no padrão {cost}",
+"pop_tiers.bring_up_n":{"one":"Pôr {n} POP no padrão {cost}","other":"Pôr {n} POPs no padrão {cost}"},
+"pop_tiers.bulk_done":{"one":"{kind}: {n} POP posto no padrão.","other":"{kind}: {n} POPs postos no padrão."},
+"pop_tiers.bulk_note":"Cada POP que marcaste de um tipo, posto no seu padrão de uma só vez. Muda um padrão (um modelo novo, mais routers) e carrega outra vez.",
+"pop_tiers.city_is_kind":"{city} cumpre o padrão {kind}.",
+"pop_tiers.hub":"Hub regional",
+"pop_tiers.mark":"Marcar",
+"pop_tiers.medium":"POP médio",
+"pop_tiers.meets_it":"Cumpre",
+"pop_tiers.micro":"Micro POP",
+"pop_tiers.model_locked":"{model} desbloqueia no nível de clientes {lv}.",
+"pop_tiers.n_below":{"one":"{n} abaixo do padrão","other":"{n} abaixo do padrão"},
+"pop_tiers.n_pops":{"one":"{n} POP","other":"{n} POPs"},
+"pop_tiers.n_stuck":{"one":"{n} ainda não pode","other":"{n} ainda não podem"},
+"pop_tiers.no_kind":"Ainda sem tipo",
+"pop_tiers.not_all":"Nem todo o padrão entrou em {city}. Vê o separador Infra.",
+"pop_tiers.not_set":"ainda não definido",
+"pop_tiers.note":"Guarda os routers de um POP como padrão e depois marca outros POPs desse tipo. Pôr no padrão adiciona routers e troca para o modelo maior, nunca um passo atrás. Em Utilitários pões todos os POPs de um tipo no padrão de uma vez.",
+"pop_tiers.save_here":"Guardar estes routers",
+"pop_tiers.saved":"{kind} agora é {desc}.",
+"pop_tiers.swapped_today":"Os routers aqui foram trocados hoje. Tenta amanhã.",
+"pop_tiers.this_pop_is":"Este POP: {kind}",
+"pop_tiers.title":"Padrões de POP",
"pops_transit_ix.40_off_for_6_months":"40% de desconto por 6 meses",
"pops_transit_ix.40_off_ix_for_6_months":"40% de desconto no {ix} por 6 meses.
Seu account manager respirou aliviado. Leia as letras miúdas depois.",
"pops_transit_ix.after_consulting_with_management_the":"“Depois de consultar a diretoria…”
O preço subiu. A diretoria foi consultada.",
@@ -4196,6 +4229,12 @@
"release_notes.read_the_full_notes_on_github":"Leia as notas completas no GitHub",
"release_notes.series_of_tubes_v_is_out":"Saiu o Series of Tubes {v}!",
"release_notes.your_game_is_saved_automatically":"Seu jogo é salvo automaticamente.",
+"req_fix.bought":"Comprado: {list} por {cost}.",
+"req_fix.buy_and_sign":"Comprar e assinar {cost}",
+"req_fix.buys_list":"Falta: {list}. {cost} + {mo}/mês.",
+"req_fix.generator_in_city":"um gerador de backup em {city}",
+"req_fix.second_router_in_city":"um segundo router em {city}",
+"req_fix.second_site_in_city":"um segundo site em {city}",
"requirements.a_spare_fiber_pair_in_your":"um par de fibra livre na sua vala {a}–{b}",
"requirements.afraid_of_sharks_needs_a_path":"Tem medo de tubarão: quer um caminho sem cabo submarino",
"requirements.backup_generator_in_every_city_they":"Gerador de backup em toda cidade que tocar",
@@ -4830,9 +4869,20 @@
"utilities.caches_requested":"Instaladas {n} caches em {city}.",
"utilities.ix_peering":"Peering IX em toda a rede",
"utilities.join_route_servers":"Aderir a todos os route servers ({n})",
+"utilities.kit_all_applied":{"one":"Kit de redundância instalado em {n} POP.","other":"Kit de redundância instalado em {n} POPs."},
+"utilities.kit_all_apply":{"one":"Kit em {n} POP {cost}","other":"Kit nos {n} POPs {cost}"},
+"utilities.kit_all_done":"Todos os POPs têm o kit completo.",
+"utilities.kit_all_quote":{"one":"{n} POP precisa · {cost} + {mo}/mês","other":"{n} POPs precisam · {cost} + {mo}/mês"},
"utilities.kit_applied":"Redundância atualizada em {city}.",
"utilities.kit_balanced":"Hardware instalado e caches equilibradas.",
"utilities.kit_cost":"Custo único: {cost} · Custo mensal adicional: {mo}",
+"utilities.kit_everywhere":"Kit de redundância em todo lado",
+"utilities.kit_everywhere_note":"O kit em cada POP a que ainda falta alguma parte: gerador, segundo prédio, segundo router, caches divididos entre sites. Um só preço para todos.",
+"utilities.kit_new_pops_hire":"Contrata um estagiário do NOC para abrir POPs novos a partir de um modelo, já com o kit.",
+"utilities.kit_new_pops_off":"POPs novos abertos com o modelo de {name} vêm sem o kit.",
+"utilities.kit_new_pops_on":"POPs novos abertos com o modelo de {name} também levam o kit.",
+"utilities.kit_new_pops_start":"Pôr o kit no modelo",
+"utilities.kit_new_pops_stop":"Tirá-lo do modelo",
"utilities.peer_counts":"{ready} elegíveis · {existing} existentes · {blocked} indisponíveis",
"utilities.peering_note":"Solicita peers elegíveis em todos os IX a que aderiste. As sessões existentes, incluindo peers do route server, são ignoradas. Recusas e limites de tráfego continuam a aplicar-se. Não são compradas portas nem PNI pagos.",
"utilities.peers_requested":"Estabelecidas {n} novas sessões de peering IX.",
diff --git a/src/agent/10-domains.js b/src/agent/10-domains.js
index f1b8a8f..4a29ab0 100644
--- a/src/agent/10-domains.js
+++ b/src/agent/10-domains.js
@@ -38,6 +38,8 @@ const API_DOMAINS={
opsKey:{table:'OPSK',kind:'key'},
opsPopKind:{kind:'enum',values:()=>OPS_POP.slice()},
opsTplKey:{kind:'enum',values:()=>OPS_TPL.slice()},
+ // The three POP standards (#315).
+ popTier:{kind:'enum',values:()=>POP_TIERS.slice()},
// The specialist's offers: a seat on a consortium cable, the charter, a vendor demo.
seatPairs:{kind:'enum',values:()=>SEAT_N.slice()},
callAmount:{kind:'enum',values:()=>CALL_AMTS.slice()},
diff --git a/src/agent/20-commands.js b/src/agent/20-commands.js
index de2324b..86d5437 100644
--- a/src/agent/20-commands.js
+++ b/src/agent/20-commands.js
@@ -239,6 +239,10 @@ const API_CMD={
/* ---------- customers ---------- */
accept:{args:[['id','entityId']],
doc:'Sign a pending offer. Rejected without a POP in every city it needs, without free channels for a wave sale, or after an event\'s start date. Extra waves for a carrier you already serve grow that contract.'},
+ acceptFix:{args:[['id','entityId'],['cost','integer',false]],watch:['pops','biz','offers'],
+ quote:a=>{const q=S?reqFix(S.offers.find(x=>x.id===a.id)):null;return q?{setup:q.cost,monthly:q.mo}:{setup:0};},
+ pass:a=>({id:a.id,cost:a.cost??((reqFix(S.offers.find(x=>x.id===a.id))||{}).cost)}),
+ doc:'Buy what an offer asks for at POPs you already have (backup generator, a second router, a second site), then sign it. Pass the quoted setup as cost; the game checks it still matches.'},
decline:{args:[['id','entityId']],
doc:'Throw an offer away.'},
salesHire:{args:[['id','salesPersona']],
@@ -402,6 +406,22 @@ const API_CMD={
quote:a=>{const q=S?utilityKit(a.city):null;return q?{setup:q.cost,monthly:q.mo}:{};},
pass:a=>({city:a.city,cost:a.cost??((utilityKit(a.city)||{}).cost)}),
doc:'Install the POP redundancy kit in one go: generator, second building, a second router, and the cache boxes balanced between sites. Pass the quoted setup as cost; the game checks it still matches. Nothing to do reads as no_effect.'},
+ utilityKitAll:{args:[['cost','integer',false],['city','cityId',false]],watch:['pops','caches'],
+ quote:a=>{const q=S?utilityKitAll():null;return q?{setup:q.cost,monthly:q.mo}:{setup:0};},
+ pass:a=>({city:a.city,cost:a.cost??((utilityKitAll()||{}).cost)}),
+ doc:'Install the redundancy kit at every POP still missing part of it, at one quoted price. From customer level 2. Pass the quoted setup as cost.'},
+ utilityKitNew:{args:[['city','cityId',false]],watch:['ops'],
+ doc:'Put the redundancy kit in the intern\'s new-POP template, or take it out (the same switch as in the Ops sheet).'},
+ ptSave:{args:[['city','cityId'],['k','popTier']],watch:['popTiers'],
+ doc:'Save a POP\'s routers (model and count) as one of three POP standards: micro, medium or hub. The POP is marked as that kind. From customer level 2.'},
+ ptApply:{args:[['city','cityId'],['k','popTier'],['cost','integer',false]],watch:['pops.#city','popTiers'],
+ quote:a=>{const q=S?ptPlan(a.city,a.k):null;return q?{setup:q.cost,monthly:q.mo,blocked:q.why?[q.why]:[]}:{setup:0};},
+ pass:a=>({city:a.city,k:a.k,cost:a.cost??((S&&ptPlan(a.city,a.k))||{cost:0}).cost}),
+ doc:'Mark a POP as one kind and bring its routers up to that standard: add routers, swap to the standard\'s model if it is bigger. Never a step down. Pass the quoted setup as cost.'},
+ ptAll:{args:[['k','popTier'],['cost','integer',false],['city','cityId',false]],watch:['pops','popTiers'],
+ quote:a=>{const A=S?ptAll(a.k):null;return A?{setup:A.cost}:{setup:0};},
+ pass:a=>({k:a.k,city:a.city,cost:a.cost??(ptAll(a.k)||{}).cost}),
+ doc:'Bring every POP marked as one kind up to that standard, at one quoted price. Pass the quoted setup as cost.'},
utilityCaches:{args:[['city','cityId'],['quote','string',false]],watch:['caches'],
quote:a=>{const q=S?utilityCaches(a.city):null;return q?{key:q.key}:{};},
pass:a=>({city:a.city,quote:a.quote??((utilityCaches(a.city)||{}).key)}),
@@ -530,6 +550,9 @@ const API_VIEW={
pniFilter:{args:[['f','pniFilter']],doc:'Filter the PNI list: all, via transit, worth it, already PNI.'},
pniGrp:{args:[['g','string'],['o','boolean',false]],doc:'Fold or unfold one group of the PNI list.'},
pniSort:{args:[],doc:'Flip the PNI list sort between A-Z and worth-it-first.'},
+ netFind:{args:[['q','string']],doc:'Filter a POP\'s transit, exchange, PNI and cache lists by network name or AS number.'},
+ netOnly:{args:[],doc:'Show only the networks you are connected to in a POP\'s lists, or all of them again.'},
+ netClear:{args:[],doc:'Clear the network search and the connected-only switch.'},
puzzleMenu:{args:[],doc:'Open the puzzle list.'},
puzzleDoor:{args:[],doc:'From the title screen: open the puzzle list (keeps the typed name).'},
pzFinish:{args:[],doc:'Puzzles only: run the star count and show the results sheet.'},
diff --git a/src/agent/30-docs.js b/src/agent/30-docs.js
index 83e7449..8ed02c5 100644
--- a/src/agent/30-docs.js
+++ b/src/agent/30-docs.js
@@ -62,6 +62,7 @@ const API_STATE_DOC={
core:{type:'map',doc:'Your backbone technology: lv bought, the level it runs at, the interop lab.'},
ddosAuto:{type:'map',doc:'The NOC\'s auto-mitigation switches: rtbh and scrub.'},
popStd:{type:'map',doc:'The standard POP: router model and count new POPs start with, or null for none.'},
+ popTiers:{type:'map',doc:'POP standards by kind: def.micro|medium|hub is {g: router model, rt: routers} or null; at maps a POP city to its kind.'},
demo:{type:'map',doc:'Vendor demo units on order, by "kind:id" → ready day.'},
seatOff:{type:'map',doc:'The pending consortium-cable seat offer: landings, km, name, expiry day.'},
monkey:{type:'map',doc:'The chaos monkey: next visit day, whether it is in your network now, days left, whether anyone noticed.'},
diff --git a/src/agent/60-dispatch.js b/src/agent/60-dispatch.js
index 94957fd..4d403fb 100644
--- a/src/agent/60-dispatch.js
+++ b/src/agent/60-dispatch.js
@@ -19,7 +19,7 @@ function apiValidate(spec,args){
// maps, and the paths a command declares in watch. R is left out: it is rebuilt after every action.
const API_FP_LEN=['links','transit','pni','caches','biz','offers','nni','loans','loanOffers','inc','scrubs'];
const API_FP_KEYS=['pops','ixp','peers','myIx','done','ach','merged','confReg'];
-const API_FP_JSON=['name','pairMet','rs','ixn','ixSite','ixPref','spares','te','cnLic','hw','scrubMode','ppol','ops','core','ddosAuto','popStd','demo','charter','monkey','seatOff','pz','ar','dk','ev'];
+const API_FP_JSON=['name','pairMet','rs','ixn','ixSite','ixPref','spares','te','cnLic','hw','scrubMode','ppol','ops','core','ddosAuto','popStd','popTiers','demo','charter','monkey','seatOff','pz','ar','dk','ev'];
function apiFp(watch,args){
if(!S)return null;
const f={cash:S.cash,day:S.day,lvl:S.lvl||1,won:!!S.won,lost:!!S.lost};
diff --git a/src/game/60-features/39-req-fix.js b/src/game/60-features/39-req-fix.js
new file mode 100644
index 0000000..41e9966
--- /dev/null
+++ b/src/game/60-features/39-req-fix.js
@@ -0,0 +1,20 @@
+/* ---------- Buy what a customer asks for, on signing (#241) ----------
+ Some requirements are hardware at a POP you already have: a backup generator, a second router, a second building.
+ An offer that asks for them gets a second button that buys exactly what is missing and signs, with the price on it.
+ Never silent: the player presses it, and nothing is bought unless the deal can be signed right after. */
+const REQ_FIX=['gen','routers','metro'];
+// What is missing for this offer, priced as the Infra tab's own buttons price it: [{k, city, cost, mo}], with totals.
+function reqFix(o){if(!o||!bHas(o)||pzOn())return null;const items=[],cs=[o.city,o.city2].filter(Boolean);
+ for(const k of o.reqs||[]){if(!REQ_FIX.includes(k)||!REQS[k]||REQS[k].ok(o))continue;
+ for(const c of k==='routers'?[o.city]:cs){const p=S.pops[c];if(!p||items.some(x=>x.k===k&&x.city===c))continue;
+ if(k==='gen'&&!p.gen)items.push({k,city:c,cost:GEN_COST,mo:GEN_MO});
+ else if(k==='metro'&&!p.site2)items.push({k,city:c,cost:SITE2_COST,mo:SITE2_MO});
+ else if(k==='routers'&&(p.routers||1)<2){const g=p.rgen||0;items.push({k,city:c,cost:routerCost(g,p.routers||1),mo:routerMo(g)});}}}
+ if(!items.length)return null;return {items,cost:items.reduce((a,x)=>a+x.cost,0),mo:items.reduce((a,x)=>a+x.mo,0)};}
+// Whether accept() would sign this offer now: the same checks, so money is never spent on a deal that then refuses.
+const reqFixCanSign=o=>bHas(o)&&!(BIZ_T[o.type].event&&S.day>=o.start);
+const REQ_FIX_L={gen:N_('req_fix.generator_in_city'),routers:N_('req_fix.second_router_in_city'),metro:N_('req_fix.second_site_in_city')};
+// The button and one line saying what it buys. sm: the button size the list around it uses.
+function reqFixHtml(o){const q=reqFix(o);if(!q||!reqFixCanSign(o))return '';
+ return `
${tr('pop_tiers.note')}
${tr('pop_tiers.bulk_note')}
+ ${POP_TIERS.filter(k=>T.def[k]).map(k=>{const A=ptAll(k);return `${tr('hud_and_panels.no_open_offers_right_now_businesses')}
`; for(const o of S.offers.slice().sort((a,b)=>a.exp-b.exp)){const has=bHas(o); - h+=`${tr('city_panel.pay_a_bigger_network_per_gbps')}
`; - const prov=NETS.filter(n=>sellsAt(n,c)).sort((a,b)=>a.price-b.price); - if(!prov.length)h+=`${tr('city_panel.nobody_sells_transit_here_haul_your')}
`; + const prov0=NETS.filter(n=>sellsAt(n,c)).sort((a,b)=>a.price-b.price),prov=prov0.filter(n=>netKeep(n,S.transit.some(x=>x.city===c&&x.net===n.id))); + if(!prov0.length)h+=`${tr('city_panel.nobody_sells_transit_here_haul_your')}
`;else if(!prov.length)h+=netNone(); for(const n of prov){const t=S.transit.find(x=>x.city===c&&x.net===n.id);const pr=transitPerG(n,c,premOnlyAt(n,c)||!!(t&&premOn(t)))*S.priceMul; h+=`${tr('city_panel.a_dedicated_cross_connect_to_one',{dc:esc(siteName(c,'a'))})}
`; h+=pniListHtml(c); h+=`${tr('city_panel.cdns_put_free_cache_servers_inside')}
`; - for(const n of NETS.filter(n=>n.cache)){const have=S.caches.filter(x=>x.city===c&&x.net===n.id),dem=R.demTo[n.id]||0,ok=dem>=n.cache.min; + for(const n of NETS.filter(n=>n.cache&&netKeep(n,S.caches.some(x=>x.city===c&&x.net===n.id)))){const have=S.caches.filter(x=>x.city===c&&x.net===n.id),dem=R.demTo[n.id]||0,ok=dem>=n.cache.min; h+=`${tr('city_panel.maxed_out_traffic_here_is_being')}
`:''}${tr('city_panel.this_pop_has_the_most_routers',{n:RMAX})}
`:''}${rt>RCAGE?`${(p.rgen||0)>0?tr('city_panel.prices_include_p_back_for_the',{p:fmt$(tradeIn(p.rgen||0,rt))})+' ':''}${p.rupDay===S.day?tr('city_panel.new_routers_went_in_today_the')+' ':''}${rt>1?tr('city_panel.rolling_upgrade_one_router_at_a'):tr('city_panel.with_one_router_the_upgrade_needs')}
`:''}${rt>=2?tr('city_panel.a_crash_here_only_costs_one'):tr('city_panel.one_router_is_a_single_point')}
diff --git a/src/game/93-ui/51-net-filter.js b/src/game/93-ui/51-net-filter.js new file mode 100644 index 0000000..69ba979 --- /dev/null +++ b/src/game/93-ui/51-net-filter.js @@ -0,0 +1,14 @@ +/* ---------- Find a network at a POP (#199) ---------- + The Transit and Peering tabs list every network that sells or peers there: dozens in a big city. One search box and a + "connected only" switch filter all of them (transit, exchange members, PNIs, caches). View state only, never saved; + it stays while you hop between POPs, and a Clear button says it is on. */ +const netQ=()=>(UI.netQ||'').trim().toLowerCase(); +const netFiltered=()=>!!netQ()||!!UI.netOnly; +// on: connected to that network in this list (a transit port, a session, a PNI, a cache box). A number finds an AS. +function netKeep(n,on){const q=netQ();if(q&&!n.name.toLowerCase().includes(q)&&!(n.asn&&String(n.asn).startsWith(q)))return false;return !UI.netOnly||!!on;} +function netFilterHtml(){return `${tr('pni_list.nothing_matches')}
`; +// Typing redraws the panel. The morph swaps an input whose value changed, so the new box gets the focus and the caret back. +document.addEventListener('input',e=>{if(e.target.id!=='netQ'||!S)return;const at=e.target.selectionStart;ACT.netFind({q:e.target.value}); + const n=$('netQ');if(n&&n!==e.target){n.focus();try{n.setSelectionRange(at,at);}catch(err){}}}); diff --git a/src/game/93-ui/52-pni-list.js b/src/game/93-ui/52-pni-list.js index 40f85f1..bc26076 100644 --- a/src/game/93-ui/52-pni-list.js +++ b/src/game/93-ui/52-pni-list.js @@ -15,7 +15,8 @@ function pniRow(c,n,pn,v,chk){let h=`${tr('pni_list.nothing_matches')}
`; let left=listN('pni'),tot=0; for(const g of PNI_GRP){const gr=shown.filter(r=>pniGrpOf(r.n)===g);if(!gr.length)continue; - const w=gr.filter(r=>r.v&&r.v.worth).length,act=w||gr.some(r=>r.go),isOpen=f!=='all'||(open[g]??act); + const w=gr.filter(r=>r.v&&r.v.worth).length,act=w||gr.some(r=>r.go),isOpen=f!=='all'||netFiltered()||(open[g]??act); h+=`${tr('link_panels.off_while_your_peering_policy_is',{pol:tr(PPOL_N[ppol()])})}
${btn(tr('common.peering_policy'),'leftTab',{t:'nets'},'ghost sm')}`:''} ${rows.map(r=>`${tr('utilities.kit_everywhere_note')}
+ ${q.cities.length?` +${opsHired()?(tpl?tr('utilities.kit_new_pops_on',{name:opsName()}):tr('utilities.kit_new_pops_off',{name:opsName()})):tr('utilities.kit_new_pops_hire')}
+ ${opsHired()?`${w==='gulf'?tr('link_panels.a_diplomatic_spat_has_closed_the')+' '+tr('link_panels.back_in_n_days',{n:S.ev.gulf-S.day}):tr('link_panels.russia_has_unplugged_itself_from_the')}
${tr('link_panels.name_is_down_nothing_you_can',{name:esc(f.name)})}
${tr('link_panels.remote_peering_leg_into_ix',{ix:esc(CITY[l.b].ix)})}
`:''} @@ -114,7 +117,7 @@ function layPanel(l){const d=S.day,st=layStart(l),q=layQuote(l),km=Math.round(la return h;} function dfPanel(l){ const load=R.load[l.id]||0,cap=dfCap(l),u=cap?load/cap:0,bld=l.ready>S.day,A=CITY[l.a].name,B=CITY[l.b].name,inc=S.inc.find(i=>i.ref===l.id||i.ref===(l.trench||l.id)),amps=ampCount(l.km),sysD=DF_SYS[l.sys]; - let h=`${tr('link_panels.crews_can_halve_a_build_at_most')}
`:''}`:''}${tr('link_panels.you_can_pre_install_optics_now')}
`;} else if(inc&&linkDown(l))h+=`${esc(inc.msg)}
${shipNote(inc)}${inc.cost?btn(`${esc(inc.fix||tr('common.rush_repair'))} ${fmt$(inc.cost)}`,'fixInc',{id:inc.id},'red',S.cash${inc?esc(inc.msg):''} ${inc&&shipSea(inc)?'':tr('link_panels.back_in_n_days',{n:l.cut-S.day})}
${shipNote(inc)}${inc&&inc.cost?btn(`${esc(inc.fix||tr('common.rush_repair'))} ${fmt$(inc.cost)}`,'fixInc',{id:inc.id},'red',S.cash