MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / i

Function i

scripts/backup/openfbchat.js:153–176  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

151 else return;
152 }
153 function i(a) {
154 switch (a.targetType) {
155 case "GROUP":
156 return {
157 NAME: "Group",
158 VAL: a.targetID,
159 };
160 case "PAGE":
161 return {
162 NAME: "Page",
163 VAL: a.targetID,
164 };
165 case "USER":
166 return {
167 NAME: "User",
168 VAL: a.targetID,
169 };
170 default:
171 return c("unrecoverableViolation")(
172 "Invalid id",
173 "messenger web product"
174 );
175 }
176 }
177 var j = {
178 $eq: c("bs_caml_obj").caml_equal,
179 eq: c("bs_caml_obj").caml_equal,

Callers 2

aFunction · 0.70
mFunction · 0.70

Calls 2

cFunction · 0.50
dFunction · 0.50

Tested by

no test coverage detected