"use client";
import { getPlatformsBuiltFor as t } from "./getBuiltFor.mjs";
import { getPlatformsFromSupportedPlatforms as i } from "./getPlatforms.mjs";
function l(r) {
  switch (r) {
    case "web":
      return ["web", "windows", "linux", "darwin", "steamdeck"];
    case "darwin_amd64":
    case "darwin_arm64":
      return ["darwin"];
    case "linux_amd64":
      return ["linux", "steamdeck"];
    case "linux_arm64":
      return ["linux"];
    case "windows_amd64":
      return ["windows", "linux", "darwin", "steamdeck"];
    case "windows_arm64":
      return ["windows", "linux", "darwin"];
    case "android_arm64":
    case "webgl":
      return [];
    default:
      return [];
  }
}
function u(r) {
  const e = i(
    l,
    r
  ), a = t(r);
  return e.filter(
    (n) => !a.includes(n)
  );
}
export {
  u as getPlatformsPlayableOn
};
//# sourceMappingURL=getPlayableOn.mjs.map
