/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
//#region src/flags.ts
const isNode = typeof process !== "undefined";
/** UDS feature flags */
let featureFlags = {
	/**
	* Note: some env variables are prefixed with "NEXT_PUBLIC_" so NextJS can
	* inline those values into client code.
	* See https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables*/
	useGetStylesCache: isNode ? process.env.NEXT_PUBLIC_UDS_FEATURE_USE_STYLE_CACHE === "true" : false,
	skipTailwindMerge: isNode ? process.env.NEXT_PUBLIC_UDS_FEATURE_SKIP_TAILWIND_MERGE === "true" : false
};
/**
* Sets/overrides feature flags
* @param flags Flag overrides
* @returns Updated feature flags
*/
const updateFeatureFlags = (flags) => {
	featureFlags = {
		...featureFlags,
		...flags
	};
	return featureFlags;
};
const getFeatureFlags = () => featureFlags;
//#endregion
exports.getFeatureFlags = getFeatureFlags;
exports.updateFeatureFlags = updateFeatureFlags;
