@mark1russell7/guidebook-preparedness 0.7.50 → 0.7.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/units.ts","../src/data/tab-units.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCwFlB,qBAAqB;;;;;qBAoiBrB,oBAAoB;;qBAgSpB,gBAAgB;;qBC55BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;qBCrCjB;;qBAyDA,iBAAiB;;qBCshFjB,sBAAsB;;qBCg+DtB,oBAAoB;;qBC7iJpB;;;;;;qBAOA;;qBAKA,kBAAkB;;;;;;qBAyBlB,gBAAgB;;qBCvChB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCrDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/units.ts","../src/data/tab-units.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBC2FlB,qBAAqB;;;;;qBAoiBrB,oBAAoB;;qBAgSpB,gBAAgB;;qBC/5BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;qBCrCjB;;qBAyDA,iBAAiB;;qBCshFjB,sBAAsB;;qBCg+DtB,oBAAoB;;qBC7iJpB;;;;;;qBAOA;;qBAKA,kBAAkB;;;;;;qBAyBlB,gBAAgB;;qBCvChB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCrDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}
package/build/index.js CHANGED
@@ -534,6 +534,15 @@ function hazardsOf(steps) {
534
534
  };
535
535
  });
536
536
  }
537
+ // src/data/averts.ts
538
+ /** The averted shares of each step, by the `id` of the step. A test holds that each key is the id of a step. */
539
+ const STEP_AVERTS = { "power.grid.ready.co-alarms": [{
540
+ cause: "co-poisoning",
541
+ value: .5,
542
+ low: .375,
543
+ high: .574,
544
+ source: "yoon-co-detectors"
545
+ }] };
537
546
  // src/data/persons.ts
538
547
  /** The groups of persons that each step protects, by the `id` of the step. A test holds that each key is the id of a step. */
539
548
  const STEP_PERSONS = {
@@ -602,7 +611,8 @@ const STEP_USES = {
602
611
  // src/data/steps.ts
603
612
  /**
604
613
  * This function makes the steps of a key from its rows. The order of a step is its position among the rows of its phase.
605
- * The items that a step uses come from `STEP_USES`, and its groups of persons come from `STEP_PERSONS`, by the id of the step.
614
+ * The items that a step uses come from `STEP_USES`, by the id of the step.
615
+ * Its groups of persons come from `STEP_PERSONS`, and its averted shares come from `STEP_AVERTS`.
606
616
  */
607
617
  function stepsOf(on, rows) {
608
618
  const count = /* @__PURE__ */ new Map();
@@ -613,6 +623,7 @@ function stepsOf(on, rows) {
613
623
  const id = `${on}.${phase}.${name}`;
614
624
  const uses = STEP_USES[id];
615
625
  const persons = STEP_PERSONS[id];
626
+ const averts = STEP_AVERTS[id];
616
627
  return {
617
628
  id,
618
629
  on,
@@ -621,6 +632,7 @@ function stepsOf(on, rows) {
621
632
  do: action,
622
633
  ...uses === void 0 ? {} : { uses },
623
634
  ...persons === void 0 ? {} : { persons },
635
+ ...averts === void 0 ? {} : { averts },
624
636
  order,
625
637
  sources,
626
638
  ...reasoning === void 0 ? {} : { reasoning },
@@ -7324,6 +7336,14 @@ const SOURCES = [
7324
7336
  license: "all-rights-reserved",
7325
7337
  checked: "2026-11-24",
7326
7338
  by: "Pacific Northwest National Laboratory"
7339
+ },
7340
+ {
7341
+ id: "yoon-co-detectors",
7342
+ title: "Deaths From Unintentional Carbon Monoxide Poisoning and Potential for Prevention With Carbon Monoxide Detectors (JAMA 1998, 279(9), 685-687)",
7343
+ url: "https://pubmed.ncbi.nlm.nih.gov/9496987/",
7344
+ license: "all-rights-reserved",
7345
+ checked: "2026-11-26",
7346
+ by: "Yoon, Macdonald and Parrish"
7327
7347
  }
7328
7348
  ];
7329
7349
  // src/data/gaps.ts