@celljs/ta-rooms 4.18.0 → 4.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,6 +53,22 @@ var TaHostUtil;
53
53
  }
54
54
  TaHostUtil2.role = role;
55
55
  })(TaHostUtil || (TaHostUtil = {}));
56
+ var TA_DOUBLE_LOOK = {
57
+ name: "@celljs/ta-web",
58
+ key: "assistant.species",
59
+ given: ["trex", "triceratops", "stegosaurus", "brachiosaurus", "velociraptor", "ankylosaurus", "pteranodon", "parasaurolophus"]
60
+ };
61
+ var TaDoubleLookUtil;
62
+ (function(TaDoubleLookUtil2) {
63
+ function given(id) {
64
+ let hash = 2166136261;
65
+ for (let i = 0;i < id.length; i++) {
66
+ hash = Math.imul(hash ^ id.charCodeAt(i), 16777619);
67
+ }
68
+ return TA_DOUBLE_LOOK.given[(hash >>> 0) % TA_DOUBLE_LOOK.given.length];
69
+ }
70
+ TaDoubleLookUtil2.given = given;
71
+ })(TaDoubleLookUtil || (TaDoubleLookUtil = {}));
56
72
  var TA_WITH_OTHERS_MARK = "[ta:speaks-with-others]";
57
73
  var TA_ASK_ENTRY = "ta-ask";
58
74
  var TaAskUtil;