import { __module as isSymbol } from "../../_virtual/index13.js";
import { c as callBound$1 } from "../call-bind/callBound.js";
import { h as hasSymbols$1 } from "../has-symbols/index.js";
import { __require as requireSafeRegexTest } from "../safe-regex-test/index.js";
var callBound = callBound$1;
var $toString = callBound("Object.prototype.toString");
var hasSymbols = hasSymbols$1();
var safeRegexTest = requireSafeRegexTest();
if (hasSymbols) {
  var $symToStr = callBound("Symbol.prototype.toString");
  var isSymString = safeRegexTest(/^Symbol\(.*\)$/);
  var isSymbolObject = function isRealSymbolObject(value) {
    if (typeof value.valueOf() !== "symbol") {
      return false;
    }
    return isSymString($symToStr(value));
  };
  isSymbol.exports = function isSymbol2(value) {
    if (typeof value === "symbol") {
      return true;
    }
    if (!value || typeof value !== "object" || $toString(value) !== "[object Symbol]") {
      return false;
    }
    try {
      return isSymbolObject(value);
    } catch (e) {
      return false;
    }
  };
} else {
  isSymbol.exports = function isSymbol2(value) {
    return false;
  };
}
var isSymbolExports = isSymbol.exports;
export {
  isSymbolExports as i
};
//# sourceMappingURL=index.js.map
