(stickerCatalog, names)
| 2050 | } |
| 2051 | |
| 2052 | function findAvailableStickerName(stickerCatalog, names) { |
| 2053 | for (const name of names) { |
| 2054 | const found = stickerCatalog.find((item) => item.name === name); |
| 2055 | if (found) return found.name; |
| 2056 | } |
| 2057 | return ""; |
| 2058 | } |
| 2059 | |
| 2060 | function stableModuloLocal(seed, modulo) { |
| 2061 | let hash = 0; |
no outgoing calls
no test coverage detected