@mark1russell7/guidebook-preparedness 0.1.4 → 0.1.6
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.
- package/README.md +5 -5
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1243 -141
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/data/coverage.ts +3 -0
- package/src/data/gaps.ts +5 -0
- package/src/data/rules.ts +3 -0
- package/src/data/sources.ts +28 -0
- package/src/data/steps.ts +163 -0
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/guidebook-preparedness",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"description": "The preparedness content of the guidebook: cited sources, the steps and marked gaps of 12 cases and 6 cuts, 40 topics in 12 areas, and the catalog of offline bundles.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"guidebook",
|
package/src/data/coverage.ts
CHANGED
|
@@ -29,6 +29,9 @@ export const OPEN_CELLS: readonly string[] = [
|
|
|
29
29
|
"civic.economy.collapse/P0",
|
|
30
30
|
"civic.economy.collapse/P1",
|
|
31
31
|
"security.civil-unrest/P3",
|
|
32
|
+
"cbrne.emp/P2",
|
|
33
|
+
"cbrne.emp/P3",
|
|
34
|
+
"geo.space-weather.geomagnetic-storm/P0",
|
|
32
35
|
"energy.grid/P4",
|
|
33
36
|
"energy.grid/P5",
|
|
34
37
|
"water.main/P4",
|
package/src/data/gaps.ts
CHANGED
|
@@ -6,6 +6,7 @@ const OF_GRID = "This case is the power cut itself. The steps of the cut `energy
|
|
|
6
6
|
const OF_WATER = "This case is the water cut itself. The steps of the cut `water.main` apply.";
|
|
7
7
|
const NO_HOME_STEP = "The emergency team and the hospital give the care after the first minutes. The sources give no household step.";
|
|
8
8
|
|
|
9
|
+
const NO_EMP = "The sources give no household step for this phase of an EMP. The steps of the cuts `energy.grid` and `telecom.network` apply.";
|
|
9
10
|
const NO_LONG_STEP = "The sources give no step for a cut of this length. The steps of the earlier phases continue.";
|
|
10
11
|
|
|
11
12
|
/** The marked gaps of the cases and the cuts. */
|
|
@@ -65,4 +66,8 @@ export const GAPS: readonly Gap[] = [
|
|
|
65
66
|
{ on: "health.medical-emergency", phase: "P1", why: NO_HOME_STEP },
|
|
66
67
|
{ on: "health.medical-emergency", phase: "P2", why: NO_HOME_STEP },
|
|
67
68
|
{ on: "health.medical-emergency", phase: "P3", why: NO_HOME_STEP },
|
|
69
|
+
{ on: "cbrne.emp", phase: "warned", why: "The sources give no household step for a warning of a pulse. If the kind of attack is not known, the steps of a nuclear detonation apply." },
|
|
70
|
+
{ on: "cbrne.emp", phase: "P2", why: NO_EMP },
|
|
71
|
+
{ on: "cbrne.emp", phase: "P3", why: NO_EMP },
|
|
72
|
+
{ on: "geo.space-weather.geomagnetic-storm", phase: "P0", why: "A storm builds over hours. The sources give no step for its first 5 minutes." },
|
|
68
73
|
];
|
package/src/data/rules.ts
CHANGED
|
@@ -17,6 +17,9 @@ export const RULES: readonly Rule[] = [
|
|
|
17
17
|
{ id: "reflex.medical", kind: "reflex", rank: 3, on: ["health.medical-emergency"], target: { on: "health.medical-emergency", phases: NOW }, sources: ["cdc-heart", "cdc-stroke"], when: "A person has the signs of a heart attack or a stroke.", then: "Call 911 immediately." },
|
|
18
18
|
{ id: "reflex.attack", kind: "reflex", rank: 4, on: ["civic.ai-collapse"], target: { on: "civic.ai-collapse", phases: NOW }, sources: ["fi-72h-shelter"], when: "Officials warn of a drone threat or an attack, or a general warning sounds.", then: "Go into the nearest building, and obey the instructions of the officials." },
|
|
19
19
|
{ id: "reflex.radiation", kind: "reflex", rank: 5, on: ["cbrne.radiological"], target: { on: "cbrne.radiological", phases: ["warned", "P0"] }, sources: ["ready-radiation"], when: "Officials warn of a radiation emergency or a nuclear detonation.", then: "Get inside, stay inside and stay tuned." },
|
|
20
|
+
{ id: "reflex.flash", kind: "reflex", rank: 5, on: ["cbrne.nuclear-detonation"], target: { on: "cbrne.nuclear-detonation", phases: NOW }, sources: ["fema-nd-guide", "ready-radiation"], when: "You see a sudden, very bright flash of light.", then: "Take cover at once, away from windows. If you are outside, lie face down." },
|
|
21
|
+
{ id: "reflex.air-raid", kind: "reflex", rank: 5, on: ["security.nuclear-war"], target: { on: "security.nuclear-war", phases: ["warned", "P0"] }, sources: ["se-brochure-en"], when: "An air raid warning sounds.", then: "Take cover at once in the nearest shelter, cellar or room without windows." },
|
|
22
|
+
{ id: "reflex.armed-attack", kind: "reflex", rank: 5, on: ["security.armed-conflict"], target: { on: "security.armed-conflict", phases: NOW }, sources: ["se-brochure-en"], when: "There is shooting or an armed attack near you.", then: "Get far away. If you cannot, lock yourself in a room, and put your phone on silent." },
|
|
20
23
|
{ id: "reflex.chemical", kind: "reflex", rank: 6, on: ["cbrne.hazardous-materials"], target: { on: "cbrne.hazardous-materials", phases: NOW }, sources: ["ready-hazmat"], when: "Officials warn of a chemical release near you.", then: "Obey the officials: shelter in place, or leave." },
|
|
21
24
|
{ id: "reflex.tornado", kind: "reflex", rank: 7, on: ["met.tornado"], target: { on: "met.tornado", phases: ["warned", "P0"] }, sources: ["ready-tornadoes"], when: "A tornado warning comes.", then: "Go to your safe shelter immediately, away from windows, doors and outside walls." },
|
|
22
25
|
{ id: "reflex.earthquake", kind: "reflex", rank: 8, on: ["geo.earthquake"], target: { on: "geo.earthquake", phases: NOW }, sources: ["ready-earthquakes"], when: "The ground shakes.", then: "Drop to your hands and knees, cover your head and neck, and hold on." },
|
package/src/data/sources.ts
CHANGED
|
@@ -66,4 +66,32 @@ export const SOURCES: readonly Source[] = [
|
|
|
66
66
|
// Backblaze gives the failure rates of the drives of its data centers. The units cite each rate as a fact, so the license permits the use.
|
|
67
67
|
{ id: "backblaze-hdd-2026q2", title: "Backblaze Drive Stats for Q2 2026", url: "https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/", license: "all-rights-reserved", checked: CHECKED, by: "Backblaze" },
|
|
68
68
|
{ id: "backblaze-ssd-2023", title: "SSD Edition: 2023 Drive Stats Mid-Year Review", url: "https://www.backblaze.com/blog/ssd-edition-2023-mid-year-drive-stats-review/", license: "all-rights-reserved", checked: CHECKED, by: "Backblaze" },
|
|
69
|
+
// The sources of the nuclear, EMP and solar storm cases, read on 2026-11-22.
|
|
70
|
+
{ ...federal("ready-nd-flyer", "Ready.gov", "Nuclear Detonation Safety: Food, Drinking Water and Medicine", "https://www.ready.gov/sites/default/files/2023-01/ready-gov_nuclear-detonation-safety_flyer1.pdf"), checked: "2026-11-22" },
|
|
71
|
+
{ ...federal("ready-space-weather", "Ready.gov", "Space Weather", "https://www.ready.gov/space-weather"), checked: "2026-11-22" },
|
|
72
|
+
{ ...federal("cdc-get-inside", "CDC", "What to Do: Get Inside", "https://www.cdc.gov/radiation-emergencies/response/get-inside.html"), checked: "2026-11-22" },
|
|
73
|
+
{ ...federal("cdc-stay-inside", "CDC", "What to Do: Stay Inside", "https://www.cdc.gov/radiation-emergencies/response/stay-inside.html"), checked: "2026-11-22" },
|
|
74
|
+
{ ...federal("cdc-stay-tuned", "CDC", "What to Do: Stay Tuned", "https://www.cdc.gov/radiation-emergencies/response/stay-tuned.html"), checked: "2026-11-22" },
|
|
75
|
+
{ ...federal("cdc-self-decon", "CDC", "How to Self-Decontaminate after a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/prevention/self-decontaminate.html"), checked: "2026-11-22" },
|
|
76
|
+
{ ...federal("cdc-decon-info", "CDC", "Decontamination for Yourself and Others (infographic)", "https://www.cdc.gov/radiation-emergencies/media/pdfs/infographics/Infographic_Decontamination.pdf"), checked: "2026-11-22" },
|
|
77
|
+
{ ...federal("cdc-help-others", "CDC", "Stay Tuned to Learn How to Help Others", "https://www.cdc.gov/radiation-emergencies/response/help-others.html"), checked: "2026-11-22" },
|
|
78
|
+
{ ...federal("cdc-prepare", "CDC", "Preparing for a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/safety/index.html"), checked: "2026-11-22" },
|
|
79
|
+
{ ...federal("cdc-ki", "CDC", "Potassium Iodide (KI)", "https://www.cdc.gov/radiation-emergencies/treatment/potassium-iodide.html"), checked: "2026-11-22" },
|
|
80
|
+
{ ...federal("cdc-food-water", "CDC", "Food, Drinking Water, and Medicine Safety in a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/safety/food-drinking-water-medicine-safety.html"), checked: "2026-11-22" },
|
|
81
|
+
{ ...federal("cdc-pets", "CDC", "How to Decontaminate Pets After a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/prevention/decontaminate-pets.html"), checked: "2026-11-22" },
|
|
82
|
+
{ ...federal("cdc-crc", "CDC", "Community Reception Centers", "https://www.cdc.gov/radiation-emergencies/response/community-reception-centers.html"), checked: "2026-11-22" },
|
|
83
|
+
{ ...federal("cdc-shelter", "CDC", "Go to an Emergency Shelter", "https://www.cdc.gov/radiation-emergencies/response/emergency-shelter.html"), checked: "2026-11-22" },
|
|
84
|
+
{ ...federal("cdc-prevention", "CDC", "About Preventing and Treating Radiation Injuries and Illness", "https://www.cdc.gov/radiation-emergencies/prevention/index.html"), checked: "2026-11-22" },
|
|
85
|
+
{ ...federal("cdc-caring", "CDC", "Radiation Emergencies: Caring for Yourself and Others", "https://www.cdc.gov/radiation-emergencies/caring/index.html"), checked: "2026-11-22" },
|
|
86
|
+
{ ...federal("fema-nd-guide", "FEMA", "Planning Guidance for Response to a Nuclear Detonation, Third Edition", "https://www.fema.gov/sites/default/files/documents/fema_nuc-detonation-planning-guide.pdf"), checked: "2026-11-22" },
|
|
87
|
+
{ ...federal("swpc-geostorm", "NOAA Space Weather Prediction Center", "Geomagnetic Storms", "https://www.spaceweather.gov/phenomena/geomagnetic-storms"), checked: "2026-11-22" },
|
|
88
|
+
{ ...federal("swpc-scales", "NOAA Space Weather Prediction Center", "NOAA Space Weather Scales", "https://www.spaceweather.gov/noaa-scales-explanation"), checked: "2026-11-22" },
|
|
89
|
+
{ ...federal("swpc-gps", "NOAA Space Weather Prediction Center", "Space Weather and GPS Systems", "https://www.spaceweather.gov/impacts/space-weather-and-gps-systems"), checked: "2026-11-22" },
|
|
90
|
+
{ ...federal("swpc-awa", "NOAA Space Weather Prediction Center", "Alerts, Watches and Warnings", "https://www.spaceweather.gov/products/alerts-watches-and-warnings"), checked: "2026-11-22" },
|
|
91
|
+
{ ...federal("swpc-subscribe", "NOAA Space Weather Prediction Center", "Subscription Services", "https://www.spaceweather.gov/content/subscription-services"), checked: "2026-11-22" },
|
|
92
|
+
// The National Risk Register gives the Open Government Licence v3.0, except where it states otherwise.
|
|
93
|
+
{ id: "uk-nrr-2025", title: "National Risk Register 2025", url: "https://assets.publishing.service.gov.uk/media/67b5f85732b2aab18314bbe4/National_Risk_Register_2025.pdf", license: "ogl-uk-3.0", checked: "2026-11-22", by: "HM Government (Cabinet Office)" },
|
|
94
|
+
// The Swedish brochure and page give no license. Each step is a summary with a citation.
|
|
95
|
+
{ id: "se-brochure-en", title: "In case of crisis or war", url: "https://rib.msb.se/filer/pdf/31523.pdf", license: "all-rights-reserved", checked: "2026-11-22", by: "Swedish Civil Defence and Resilience Agency (MCF)" },
|
|
96
|
+
{ id: "se-shelters", title: "Good to know about civil defence shelters", url: "https://www.mcf.se/en/advice-for-individuals/civil-defence-shelters-evacuation-and-warning-systems/good-to-know-about-civil-defence-shelters/", license: "all-rights-reserved", checked: "2026-11-22", by: "Swedish Civil Defence and Resilience Agency (MCF)" },
|
|
69
97
|
];
|
package/src/data/steps.ts
CHANGED
|
@@ -399,6 +399,169 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
399
399
|
["P2", "neighbours", "If it is safe, check on your neighbours, and give them the important information.", ["uk-hazards"]],
|
|
400
400
|
...RECOVERY,
|
|
401
401
|
]),
|
|
402
|
+
...stepsOf("cbrne.nuclear-detonation", [
|
|
403
|
+
["ready", "know-your-shelter", "Find the nearest strong shelter near home, work and school. Pick a basement or the center of a large brick or concrete building.", ["ready-radiation","fema-nd-guide"]],
|
|
404
|
+
["ready", "alerts-and-radio", "Have more than 1 way to get emergency alerts. Keep a battery-powered or hand-crank radio.", ["ready-radiation","cdc-stay-tuned"]],
|
|
405
|
+
["ready", "kit-clothes-bag", "Add to your kit a spare set of clothes for each person and a trash bag for contaminated clothes.", ["ready-radiation"]],
|
|
406
|
+
["ready", "bottled-water", "Keep bottled water in your kit. Boiling does not remove radioactive material from tap water.", ["cdc-food-water"]],
|
|
407
|
+
["ready", "know-ventilation", "Learn how to turn off the fans, air conditioning and forced-air heating that bring in outside air.", ["fi-72h-shelter","ready-radiation"]],
|
|
408
|
+
["ready", "know-facility-plans", "Learn the shelter and evacuation plans of your schools, workplaces and care facilities.", ["ready-radiation"]],
|
|
409
|
+
["ready", "ki-not-for-fallout", "Do not depend on potassium iodide (KI) after a nuclear explosion. It protects only the thyroid from radioactive iodine.", ["cdc-ki"]],
|
|
410
|
+
["warned", "stay-where-you-are", "Do not go out to get family members. Schools and care facilities have their own shelter plans.", ["cdc-get-inside","cdc-prepare"]],
|
|
411
|
+
["warned", "get-inside-now", "Go inside the nearest building immediately. Move away from the windows.", ["ready-radiation"]],
|
|
412
|
+
["warned", "middle-or-basement", "Go to the basement or the middle of the nearest large building.", ["fema-nd-guide"]],
|
|
413
|
+
["warned", "cover-from-blast", "If you cannot get inside, take cover behind anything that gives protection from the blast.", ["ready-radiation"]],
|
|
414
|
+
["warned", "pets-inside", "Bring pets inside. Also bring in the pet supplies from outside for at least 24 hours.", ["cdc-pets"]],
|
|
415
|
+
["P0", "flash-take-cover", "If you see a sudden bright flash, take cover at once. Get away from windows before the blast arrives.", ["fema-nd-guide"]],
|
|
416
|
+
["P0", "lie-face-down", "If you are outside, lie face down. This protects your skin from the heat and flying debris.", ["ready-radiation"]],
|
|
417
|
+
["P0", "inside-after-shockwave", "After the shockwave passes, go inside the nearest building as fast as you can.", ["ready-radiation"]],
|
|
418
|
+
["P0", "use-10-minutes", "Use the 10 minutes or more before fallout arrives. Go to a basement or a large brick or concrete building.", ["ready-radiation","fema-nd-guide"]],
|
|
419
|
+
["P0", "not-in-a-car", "Do not shelter in a car. Get out and go inside a building.", ["cdc-prepare","fema-nd-guide"]],
|
|
420
|
+
["P0", "cover-mouth-nose", "If you must stay outside for a time, cover your mouth and nose with a mask, cloth or towel.", ["cdc-get-inside"]],
|
|
421
|
+
["P0", "outer-clothes-at-door", "If you can, carefully take off your outer layer of clothes before you go into the building.", ["cdc-get-inside"]],
|
|
422
|
+
["P1", "move-to-core", "Go to the basement or the middle of the building. Stay far from the outer walls and the roof.", ["cdc-get-inside"]],
|
|
423
|
+
["P1", "leave-only-for", "Leave the shelter only for a fire, a gas leak, a building collapse or a serious injury.", ["ready-radiation","cdc-prepare"]],
|
|
424
|
+
["P1", "move-from-weak-shelter", "A wood house without a basement is a weak shelter. If a strong shelter is under 15 minutes away, move there within 30 minutes.", ["fema-nd-guide"]],
|
|
425
|
+
["P1", "close-up-air", "Close and lock the windows and doors. Turn off fans, air conditioning and forced-air heating. Close fireplace dampers.", ["cdc-get-inside","cdc-stay-inside"]],
|
|
426
|
+
["P1", "remove-outer-clothes", "Take off your outer layer of clothes. Put them in a sealed plastic bag away from people and pets.", ["cdc-self-decon","ready-radiation"]],
|
|
427
|
+
["P1", "shower", "Shower with soap and shampoo, or wash uncovered skin at a sink. Do not use conditioner or scrub.", ["cdc-decon-info","cdc-self-decon"]],
|
|
428
|
+
["P1", "shelter-others", "Let people from outside shelter with you. Ask them to take off their outer clothes before they enter, then wash.", ["cdc-help-others","cdc-get-inside"]],
|
|
429
|
+
["P1", "wash-pets", "If a pet was outside, wash it with soap and water. Wear waterproof gloves and a dust mask if you can.", ["cdc-pets","ready-radiation"]],
|
|
430
|
+
["P2", "stay-24-hours", "Stay inside for at least 24 hours, unless officials tell you to leave. Radiation levels drop fast in that time.", ["ready-radiation","cdc-stay-inside","fema-nd-guide"]],
|
|
431
|
+
["P2", "safe-drinks", "Drink bottled or sealed drinks first. Water from the toilet tank, not the bowl, and the water heater is also safe.", ["cdc-food-water","ready-nd-flyer"], [DRINK]],
|
|
432
|
+
["P2", "safe-food", "Eat food that was inside or sealed. Wipe containers from outside with a damp cloth before you open them.", ["cdc-food-water","ready-nd-flyer"], [FOOD]],
|
|
433
|
+
["P2", "keep-taking-medicine", "Continue to take your medicine. Wipe off any medicine container that was outside.", ["cdc-food-water","ready-nd-flyer"], [MEDICINE]],
|
|
434
|
+
["P2", "watch-symptoms", "Watch for nausea, vomiting or skin burns. Get medical care when officials say it is safe to go out.", ["cdc-prevention"]],
|
|
435
|
+
["P2", "pregnant-care", "If you are pregnant, follow the instructions of officials. Get medical care as soon as they say it is safe.", ["cdc-caring","cdc-prepare"]],
|
|
436
|
+
["P2", "keep-away-hospitals", "Stay away from hospitals, fire stations and police stations unless you have a critical injury.", ["cdc-help-others"]],
|
|
437
|
+
["P2", "leave-on-their-route", "Leave only when officials tell you. Take your kit and pet supplies, and use the route they give.", ["cdc-shelter","cdc-stay-tuned"]],
|
|
438
|
+
["P3", "no-early-return", "If you evacuated, do not go back home until local officials say it is safe.", ["ready-radiation"]],
|
|
439
|
+
["P3", "no-garden-food", "Do not eat food from your garden or uncovered food from outside until officials say it is safe.", ["ready-radiation","cdc-food-water"]],
|
|
440
|
+
["P3", "tap-water-wait", "Drink tap water only after officials say it is safe. You can still use tap water to wash and clean.", ["cdc-food-water","cdc-self-decon"]],
|
|
441
|
+
["P3", "home-cleanup-on-instruction", "Clean radioactive dust from your home only when officials tell you to. Follow their cleaning instructions.", ["cdc-stay-inside"]],
|
|
442
|
+
["P3", "register-at-crc", "Go to a community reception center when officials ask. There you can get checked and register for follow-up.", ["cdc-stay-tuned","cdc-crc"]],
|
|
443
|
+
["P3", "talk-to-someone", "Talk to someone if you feel upset. Surviving a nuclear emergency is a traumatic event.", ["ready-radiation"]],
|
|
444
|
+
["P4", "health-checks", "Go to the health checks that radiation health experts set up for people from the affected area.", ["cdc-prevention"]],
|
|
445
|
+
["P4", "long-distress", "If distress continues and support from friends does not help, get help from a health professional.", ["cdc-stay-tuned","uk-nrr-2025"]],
|
|
446
|
+
["P4", "help-recovery", "To help others, look for calls for support from local officials and charities.", ["uk-nrr-2025","cdc-help-others"]],
|
|
447
|
+
["P5", "long-term-checks", "Keep going to long-term health checks. High doses of radiation increase the risk of cancer later in life.", ["cdc-prepare","cdc-prevention"]],
|
|
448
|
+
["P5", "join-recovery", "Take part in the recovery plans of your community. Recovery can take years.", ["uk-nrr-2025"]],
|
|
449
|
+
...RECOVERY,
|
|
450
|
+
]),
|
|
451
|
+
...stepsOf("security.nuclear-war", [
|
|
452
|
+
["ready", "locate-shelters", "Find civil defence shelters or other protective places near your home, school and workplace.", ["se-shelters","se-brochure-en"]],
|
|
453
|
+
["ready", "learn-signals", "Learn the warning signals of your area, including the air raid signal and the all clear signal.", ["se-brochure-en","fi-72h-shelter"]],
|
|
454
|
+
["ready", "one-week-alone", "Prepare to manage at home on your own for at least 1 week.", ["se-brochure-en"]],
|
|
455
|
+
["ready", "shelter-bag", "Pack a shelter bag with water, food you can eat at room temperature, ID, cash, a phone and a charger.", ["se-shelters"]],
|
|
456
|
+
["ready", "radio", "Keep a radio that works on batteries, solar power or a hand crank.", ["se-brochure-en","ready-radiation"]],
|
|
457
|
+
["ready", "kit-clothes-bag", "Add to your kit a spare set of clothes for each person and a trash bag for contaminated clothes.", ["ready-radiation"]],
|
|
458
|
+
["warned", "air-raid-cover", "At an air raid warning, take cover at once in the nearest shelter, cellar or other protective place.", ["se-brochure-en"]],
|
|
459
|
+
["warned", "nearest-shelter", "Go to the nearest shelter. You do not have an assigned shelter.", ["se-shelters","se-brochure-en"]],
|
|
460
|
+
["warned", "room-without-windows", "If no shelter is near, stay indoors in a room without windows.", ["se-brochure-en"]],
|
|
461
|
+
["warned", "lie-down-outside", "If you are outside with no time to take cover, lie down on the ground, in a pit or ditch.", ["se-brochure-en"]],
|
|
462
|
+
["warned", "bring-if-time", "If there is time, bring food, warm clothes and toiletries. Be ready to stay a few days.", ["se-brochure-en"]],
|
|
463
|
+
["warned", "public-warning", "At a public warning signal, go indoors. Close windows and doors, turn off the ventilation and listen to the radio.", ["se-brochure-en","fi-72h-shelter"]],
|
|
464
|
+
["P0", "nuclear-take-cover", "If nuclear weapons are used, take cover as for an air raid. A civil defence shelter gives the best protection.", ["se-brochure-en"]],
|
|
465
|
+
["P0", "lie-face-down", "If you are outside at the flash, lie face down. This protects your skin from the heat and flying debris.", ["ready-radiation"]],
|
|
466
|
+
["P0", "inside-after-shockwave", "After the shockwave passes, go inside the nearest building as fast as you can.", ["ready-radiation"]],
|
|
467
|
+
["P0", "use-10-minutes", "Use the 10 minutes or more before fallout arrives. Go to a shelter, a basement or a large concrete building.", ["ready-radiation","fema-nd-guide"]],
|
|
468
|
+
["P1", "stay-until-all-clear", "Stay in the shelter until you hear the all clear signal or officials tell you to leave.", ["se-brochure-en","cdc-prepare"]],
|
|
469
|
+
["P1", "seal-the-room", "Close doors, windows and vents. Seal gaps with plastic wrap or duct tape. Turn off the ventilation.", ["fi-72h-shelter"]],
|
|
470
|
+
["P1", "remove-outer-clothes", "Take off your outer layer of clothes. Put them in a sealed plastic bag away from people and pets.", ["cdc-self-decon"]],
|
|
471
|
+
["P1", "wash", "Wash with soap and shampoo, or wash your hands, face and uncovered skin at a sink. Do not use conditioner.", ["cdc-decon-info","cdc-self-decon"]],
|
|
472
|
+
["P1", "stay-where-you-are", "Do not go out to get family members. Going outside exposes you and them to dangerous radiation.", ["cdc-get-inside"]],
|
|
473
|
+
["P1", "iodine-only-if-told", "Take iodine tablets only when officials tell you to. Do not leave your shelter to look for them.", ["fi-72h-shelter","cdc-ki"]],
|
|
474
|
+
["P1", "phone-lines", "Use the phone only when you must, so that the lines stay open.", ["fi-72h-shelter","cdc-help-others"]],
|
|
475
|
+
["P2", "stay-a-few-days", "Plan to stay in the shelter for a few days. Radiation levels drop sharply after a couple of days.", ["se-brochure-en"]],
|
|
476
|
+
["P2", "help-injured", "After the all clear signal, help people who are injured or trapped.", ["se-brochure-en"]],
|
|
477
|
+
["P2", "safe-food-drink", "Eat and drink only what was inside or sealed. Wipe containers from outside with a damp cloth first.", ["cdc-food-water","ready-nd-flyer"], [DRINK, FOOD]],
|
|
478
|
+
["P2", "no-boiled-tap-water", "Boiling does not remove radioactive material. Drink bottled water until officials say tap water is safe.", ["cdc-food-water"], [DRINK]],
|
|
479
|
+
["P2", "check-sources", "Check the news with official sources. Share only information that comes from sources you trust.", ["se-brochure-en","uk-nrr-2025"]],
|
|
480
|
+
["P3", "evacuate-on-instruction", "If officials order an evacuation, follow the instructions that they give on the radio.", ["se-brochure-en"]],
|
|
481
|
+
["P3", "evacuation-bag", "For an evacuation, take food and water for a few days, ID, cash, medicines, warm clothes and a map.", ["se-brochure-en"]],
|
|
482
|
+
["P3", "share-with-neighbours", "Share supplies with your neighbours where you can. In a war, all people must help each other.", ["se-brochure-en"]],
|
|
483
|
+
["P3", "no-garden-food", "Do not eat food from your garden or uncovered food from outside until officials say it is safe.", ["ready-radiation"]],
|
|
484
|
+
["P3", "no-early-return", "If you evacuated, do not go back home until local officials say it is safe.", ["ready-radiation"]],
|
|
485
|
+
["P4", "health-checks", "Go to the health checks that radiation health experts set up for people from the affected area.", ["cdc-prevention"]],
|
|
486
|
+
["P4", "long-distress", "Look for signs of distress that do not stop, in you and in others. Get help from a health professional.", ["uk-nrr-2025","cdc-stay-tuned"]],
|
|
487
|
+
["P4", "help-recovery", "To help others, look for calls for support from local officials and charities.", ["uk-nrr-2025"]],
|
|
488
|
+
["P5", "join-recovery", "Expect recovery to take many years. Take part in the recovery plans of your community.", ["uk-nrr-2025"]],
|
|
489
|
+
["P5", "long-term-checks", "Keep going to long-term health checks. High doses of radiation increase the risk of cancer later in life.", ["cdc-prepare","cdc-prevention"]],
|
|
490
|
+
...RECOVERY,
|
|
491
|
+
]),
|
|
492
|
+
...stepsOf("cbrne.emp", [
|
|
493
|
+
["ready", "battery-radio", "Keep a battery-powered or hand-crank radio. AM and FM stations outside the area can still reach it.", ["cdc-stay-tuned","fema-nd-guide"]],
|
|
494
|
+
["ready", "spare-batteries", "Keep extra batteries for your radio in your emergency kit.", ["cdc-stay-tuned"]],
|
|
495
|
+
["ready", "surge-protection", "Use surge protection and backup power for your most important electronic devices.", ["fema-nd-guide"]],
|
|
496
|
+
["P0", "restart-battery-devices", "If a battery device stops working, take out the batteries, put them back and restart it.", ["cdc-stay-tuned","fema-nd-guide"]],
|
|
497
|
+
["P0", "power-cycle", "Turn a battery device that stopped off, then on again. Most battery equipment is not damaged.", ["fema-nd-guide"]],
|
|
498
|
+
["P1", "reset-breakers", "Reset tripped switches and circuit breakers to make other devices work again.", ["cdc-stay-tuned"]],
|
|
499
|
+
["P1", "listen-radio", "Listen to your battery radio for news and instructions from officials.", ["cdc-stay-tuned","fema-nd-guide"]],
|
|
500
|
+
["P1", "text-not-call", "If a phone call does not connect, send a text message.", ["cdc-stay-tuned"]],
|
|
501
|
+
...RECOVERY,
|
|
502
|
+
]),
|
|
503
|
+
...stepsOf("geo.space-weather.geomagnetic-storm", [
|
|
504
|
+
["ready", "subscribe-alerts", "Sign up for the space weather alerts, watches and warnings of the NOAA Space Weather Prediction Center.", ["swpc-awa","swpc-subscribe"]],
|
|
505
|
+
["ready", "plan-two-weeks", "Plan for a storm period of 1 to 2 weeks, with several strong events in that time.", ["uk-nrr-2025"]],
|
|
506
|
+
["ready", "paper-map", "Keep a paper map and a compass. In an extreme storm, satellite navigation can be poor for days.", ["swpc-scales","se-brochure-en"]],
|
|
507
|
+
["warned", "act-on-warning", "Act on a storm warning at once. The strongest storms can reach Earth in 18 hours.", ["swpc-geostorm","swpc-awa"]],
|
|
508
|
+
["warned", "follow-eas", "Follow the instructions of the Emergency Alert System.", ["ready-space-weather"]],
|
|
509
|
+
["P1", "disconnect-if-told", "Disconnect electrical appliances when local officials tell you to.", ["ready-space-weather"]],
|
|
510
|
+
["P1", "low-power-use", "Use as little electricity as you can. This helps power companies avoid rolling blackouts.", ["ready-space-weather"]],
|
|
511
|
+
["P1", "phone-lines", "Use the phone only when you must. Keep the lines open for emergency workers.", ["ready-space-weather"]],
|
|
512
|
+
["P1", "gps-errors", "Do not depend on GPS during the storm. Its position errors can grow to tens of meters or more.", ["swpc-gps","swpc-scales"]],
|
|
513
|
+
["P2", "hf-radio-out", "Do not count on HF (shortwave) radio links. In an extreme storm, they can fail for 1 to 2 days.", ["swpc-scales"]],
|
|
514
|
+
["P2", "satellite-recovery", "Expect satellite services and GPS to take several days to recover.", ["uk-nrr-2025","swpc-scales"]],
|
|
515
|
+
["P3", "watch-repeat-events", "Keep checking the space weather alerts. Strong events can repeat during the 2-week storm period.", ["uk-nrr-2025","swpc-awa"]],
|
|
516
|
+
["P3", "flights-weeks", "Expect long flights to take weeks to return to normal. Check your flights before you travel.", ["uk-nrr-2025"]],
|
|
517
|
+
["P4", "transformer-months", "If officials report damaged transformers, plan for power repairs that take several months.", ["uk-nrr-2025","swpc-scales"]],
|
|
518
|
+
...RECOVERY,
|
|
519
|
+
]),
|
|
520
|
+
...stepsOf("security.armed-conflict", [
|
|
521
|
+
["ready", "one-week", "Prepare to manage at home on your own for at least 1 week.", ["se-brochure-en"], [DRINK, FOOD]],
|
|
522
|
+
["ready", "water", "Store at least 3 liters of water for each person for each day, in a dark and cool place.", ["se-brochure-en"], [DRINK]],
|
|
523
|
+
["ready", "medicine", "If you need prescription medicines, keep a supply for 1 month at home.", ["se-brochure-en"], [MEDICINE]],
|
|
524
|
+
["ready", "cash", "Keep some cash at home in different notes, and other ways to pay.", ["se-brochure-en"]],
|
|
525
|
+
["ready", "radio", "Keep a radio that works on batteries, solar power or a hand crank. Keep extra batteries.", ["se-brochure-en"]],
|
|
526
|
+
["ready", "signals", "Learn the warning signals of your area, including the air raid warning and the all clear signal.", ["se-brochure-en"]],
|
|
527
|
+
["ready", "shelters", "Find civil defence shelters or other protective places near your home, school and workplace.", ["se-shelters","se-brochure-en"]],
|
|
528
|
+
["ready", "first-aid", "Do a course in emergency CPR, and learn how to stop severe bleeding.", ["se-brochure-en"]],
|
|
529
|
+
["warned", "alarm-radio", "At an emergency alarm, go indoors and listen to the official emergency radio station.", ["se-brochure-en"]],
|
|
530
|
+
["warned", "posting", "If you have a wartime posting, go to it immediately. If not, go to work as usual.", ["se-brochure-en"]],
|
|
531
|
+
["warned", "evac-list", "Make a list of the items that you must take if you evacuate quickly.", ["se-brochure-en"]],
|
|
532
|
+
["warned", "special-help", "If a person needs special help, plan their transport to a shelter with family, neighbours or carers.", ["se-brochure-en"]],
|
|
533
|
+
["warned", "pets", "Keep food, water and medicines for your pets for at least 1 week.", ["se-brochure-en"]],
|
|
534
|
+
["P0", "air-raid", "At an air raid warning, take cover at once in the nearest shelter, cellar or other protective place.", ["se-brochure-en"]],
|
|
535
|
+
["P0", "no-windows", "If no shelter is near, stay indoors in a room without windows.", ["se-brochure-en"]],
|
|
536
|
+
["P0", "lie-down", "If you are outside with no time to take cover, lie down on the ground, in a pit or ditch.", ["se-brochure-en"]],
|
|
537
|
+
["P0", "run-hide", "In an armed attack near you, get far away. If you cannot, lock yourself in a room.", ["se-brochure-en"]],
|
|
538
|
+
["P0", "silent", "When you hide, put your phone on silent. Call the emergency number to report what happened.", ["se-brochure-en"]],
|
|
539
|
+
["P0", "no-call", "Do not call a person who is in danger. The call can show where the person hides.", ["se-brochure-en"]],
|
|
540
|
+
["P1", "bleeding", "To stop severe bleeding, push hard on the wound with a cloth. Keep the pressure until paramedics arrive.", ["se-brochure-en"]],
|
|
541
|
+
["P1", "all-clear", "After the all clear signal, help people who are injured or trapped.", ["se-brochure-en"]],
|
|
542
|
+
["P1", "calls", "Call only to ask for help, so that the network does not overload.", ["se-brochure-en"]],
|
|
543
|
+
["P1", "officials", "Obey the instructions of the police, the rescue services and the officials.", ["se-brochure-en"]],
|
|
544
|
+
["P1", "rumours", "Do not spread rumours or information that nobody has verified.", ["se-brochure-en"]],
|
|
545
|
+
["P1", "verify", "Be careful with content that causes a strong reaction. Check serious news with official sources.", ["se-brochure-en"]],
|
|
546
|
+
["P2", "shelter-days", "Be ready to stay in a shelter for a few days. If there is time, take food, warm clothes and toiletries.", ["se-brochure-en"]],
|
|
547
|
+
["P2", "evacuate", "If officials order an evacuation, follow the instructions that they give on the radio.", ["se-brochure-en"]],
|
|
548
|
+
["P2", "evac-bag", "For an evacuation, take food and water for a few days, ID, cash, medicines, warm clothes and a map.", ["se-brochure-en"], [DRINK, FOOD, MEDICINE]],
|
|
549
|
+
["P2", "cold", "If the power stops in winter, stay together in one room. Hang blankets over the windows.", ["se-brochure-en"]],
|
|
550
|
+
["P2", "heater", "With a gas or paraffin heater, open a window for air. Turn off the heater before you sleep.", ["se-brochure-en"]],
|
|
551
|
+
["P2", "toilet", "If the toilet does not flush, put a plastic bag in the bowl. Cover the waste with sawdust or litter.", ["se-brochure-en"]],
|
|
552
|
+
["P2", "pets-left", "If you must leave a pet at home, leave extra food and water for it.", ["se-brochure-en"]],
|
|
553
|
+
["P3", "share", "Share supplies with your neighbours where you can. In a war, all people must help each other.", ["se-brochure-en"]],
|
|
554
|
+
["P3", "boil", "If you are not sure that water is safe, boil it until it bubbles strongly.", ["se-brochure-en"], [DRINK]],
|
|
555
|
+
["P3", "grow", "Grow food in a garden, on a balcony or on a windowsill. Use the fruits and berries near you.", ["se-brochure-en"], [FOOD]],
|
|
556
|
+
["P3", "worry", "Talk about your worries with family, friends or neighbours. Limit the news that you read.", ["se-brochure-en"]],
|
|
557
|
+
["P3", "children", "Explain the situation to children with only verified information. Be honest when you do not know.", ["se-brochure-en"]],
|
|
558
|
+
["P3", "updates", "Install security updates immediately, and make backups of important information.", ["se-brochure-en"]],
|
|
559
|
+
["P4", "anxiety", "If you have severe anxiety, get help from a health professional.", ["se-brochure-en"]],
|
|
560
|
+
["P4", "help-prepare", "Help other people to prepare. This can give you a sense of purpose.", ["se-brochure-en"]],
|
|
561
|
+
["P4", "volunteer", "Join a voluntary defence organisation, or give blood if you can.", ["se-brochure-en"]],
|
|
562
|
+
["P5", "join-recovery", "Take part in the recovery plans of your community. Recovery can take years.", ["uk-nrr-2025"]],
|
|
563
|
+
...RECOVERY,
|
|
564
|
+
]),
|
|
402
565
|
];
|
|
403
566
|
|
|
404
567
|
/** The steps of the cuts. A cut is a service that an event stops. A plan of a case adds the steps of its cuts. */
|
package/src/index.ts
CHANGED
|
@@ -33,7 +33,7 @@ export const CASES = [
|
|
|
33
33
|
* The cases past v1. Their steps have the same gates as the steps of `CASES`.
|
|
34
34
|
* The code `civic.ai-collapse` is new. The hazard catalog of `stack-hazards` gives its cuts.
|
|
35
35
|
*/
|
|
36
|
-
export const MORE_CASES = ["cbrne.hazardous-materials", "cbrne.radiological", "civic.ai-collapse", "health.outbreak.pandemic", "infra.supply-chain.food", "infra.power.grid-collapse", "cyber.infrastructure-attack", "civic.economy.collapse", "security.civil-unrest"] as const;
|
|
36
|
+
export const MORE_CASES = ["cbrne.hazardous-materials", "cbrne.radiological", "civic.ai-collapse", "health.outbreak.pandemic", "infra.supply-chain.food", "infra.power.grid-collapse", "cyber.infrastructure-attack", "civic.economy.collapse", "security.civil-unrest", "cbrne.nuclear-detonation", "security.nuclear-war", "cbrne.emp", "geo.space-weather.geomagnetic-storm", "security.armed-conflict"] as const;
|
|
37
37
|
|
|
38
38
|
/** The cuts of the content. A cut is a service that an event stops. These ids are a proposal until the stack model names them. */
|
|
39
39
|
export const CUTS = ["energy.grid", "water.main", "road.local", "telecom.network", "gas.main", "store.pharmacy"] as const;
|