"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.parseToParties = void 0;
var _toParties = require("../__shared__/Occupation/helpers/toParties");
const parseToParties = function () {
  let occupation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  let value;
  try {
    value = window.btoa(JSON.stringify((0, _toParties.toParties)(occupation)));
  } catch (_unused) {
    value = undefined;
  }
  return value;
};
exports.parseToParties = parseToParties;
//# sourceMappingURL=parseToParties.js.map