'use strict';
import { emptyUuid } from '../constants/constants.js';
import { createError } from '../errors/errors.js';
import { jsBasicTypes } from '../../base-repo/constants/basic-types.js';

var __defProp=Object['defineProperty'],__name=(_0x411e17,_0x511988)=>__defProp(_0x411e17,'name',{'value':_0x511988,'configurable':!![]});function isNullOrUndefined(_0x1ed4c1){return _0x1ed4c1===null||_0x1ed4c1===void(-0x171a+-0x20b9*-0x1+-0x99f);}__name(isNullOrUndefined,'isNullOrUndefined');function isEmptyNullOrUndefined(_0x13d929){return _0x13d929===''||isNullOrUndefined(_0x13d929)||typeof _0x13d929===jsBasicTypes['object']&&Object['keys'](_0x13d929)['length']===-0x22*0x101+0x180a+-0x26*-0x44;}__name(isEmptyNullOrUndefined,'isEmptyNullOrUndefined');function isUuidSet(_0x31b882){return !isEmptyNullOrUndefined(_0x31b882)&&_0x31b882!==emptyUuid;}__name(isUuidSet,'isUuidSet');function ensureNotNullOrUndefined(_0x2b4ed2){if(isNullOrUndefined(_0x2b4ed2))throw createError('Value\x20must\x20not\x20be\x20null\x20or\x20undefined');return _0x2b4ed2;}__name(ensureNotNullOrUndefined,'ensureNotNullOrUndefined');

export { ensureNotNullOrUndefined, isEmptyNullOrUndefined, isNullOrUndefined, isUuidSet };
