import { SCALAR as e } from "./accelbyte-widgets711.mjs";
import { NodeBase as O } from "./accelbyte-widgets726.mjs";
import { toJS as s } from "./accelbyte-widgets716.mjs";
const n = (r) => !r || typeof r != "function" && typeof r != "object";
class o extends O {
  constructor(L) {
    super(e), this.value = L;
  }
  toJSON(L, t) {
    return t != null && t.keep ? this.value : s(this.value, L, t);
  }
  toString() {
    return String(this.value);
  }
}
o.BLOCK_FOLDED = "BLOCK_FOLDED";
o.BLOCK_LITERAL = "BLOCK_LITERAL";
o.PLAIN = "PLAIN";
o.QUOTE_DOUBLE = "QUOTE_DOUBLE";
o.QUOTE_SINGLE = "QUOTE_SINGLE";
export {
  o as Scalar,
  n as isScalarValue
};
