var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod)); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var OS_exports = {}; __export(OS_exports, { isLinux: () => isLinux, isMacOS: () => isMacOS, isWindows: () => isWindows }); module.exports = __toCommonJS(OS_exports); var import_lodash = __toESM(require("lodash")); var import_os = __toESM(require("os")); var import_semver = __toESM(require("semver")); const isMacOS = /* @__PURE__ */ __name(() => process.platform === "darwin", "isMacOS"); const isLinux = /* @__PURE__ */ __name(() => process.platform === "linux", "isLinux"); const isWindows = /* @__PURE__ */ __name((minVersion) => { const osRelease = import_os.default.release(); if (process.platform !== "win32") { return false; } return import_lodash.default.isUndefined(minVersion) ? true : import_semver.default.gte(osRelease, minVersion); }, "isWindows"); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { isLinux, isMacOS, isWindows }); //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidHMvT1MudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImltcG9ydCBfIGZyb20gJ2xvZGFzaCc7XG5pbXBvcnQgb3MgZnJvbSAnb3MnO1xuaW1wb3J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