'use strict';
import { createBaseResourceProperties } from '../../utils/base-resource-properties.js';
import { userConstants } from '../../../../fd-toolbox/constants/user-infos.js';
import { workspaceNames, workspaceConstants } from '../../../../fd-toolbox/server/constants/workspace-constants.js';
import { phoneBrandIds } from '../constants/phone-brand-ids.js';
import { maritalStatuses } from '../../../common/demo/demo-resources-enums.js';
import { personIds } from '../constants/person-ids.js';
import { demoPersonNames, demoPersonDescriptions } from '../../demo/demo-seed-constants.js';

var __defProp=Object['defineProperty'],__name=(_0x548fb7,_0x3aac63)=>__defProp(_0x548fb7,'name',{'value':_0x3aac63,'configurable':!![]});function getAllPersons(){const _0x54a4c6=[getPersonJoeBlack(),getPersonJohnDoe(),getPersonSamBrown({'phoneBrandId':phoneBrandIds['samsung']}),getPersonSamBrown({'resourceId':personIds['samBrownWestMountain'],'workspaceId':workspaceConstants['westMountainWorkspaceId'],'lastNameSuffix':workspaceNames['westMountain']}),getPersonEricMalone(),getPersonChrisTaylor()];return _0x54a4c6;}__name(getAllPersons,'getAllPersons');function getPersonJoeBlack(){return {...createBaseResourceProperties(personIds['joeBlack']),'name':demoPersonNames['joe'],'lastName':demoPersonNames['black'],'age':0x1d,'isMarried':![],'phoneBrandId':phoneBrandIds['apple'],'numberOfFamilyMembers':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId'],'maritalStatus':maritalStatuses['married']};}__name(getPersonJoeBlack,'getPersonJoeBlack');function getPersonJohnDoe(){return {...createBaseResourceProperties(personIds['johnDoe']),'name':demoPersonNames['john'],'lastName':demoPersonNames['doe'],'age':0x38,'isMarried':![],'numberOfFamilyMembers':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId'],'maritalStatus':maritalStatuses['single']};}__name(getPersonJohnDoe,'getPersonJohnDoe');function getPersonEricMalone(){return {...createBaseResourceProperties(personIds['ericMalone']),'name':demoPersonNames['eric'],'lastName':demoPersonNames['malone'],'age':0x22,'isMarried':![],'numberOfFamilyMembers':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId'],'maritalStatus':maritalStatuses['married']};}__name(getPersonEricMalone,'getPersonEricMalone');function getPersonSamBrown(_0x3c8f79={}){const _0x23fd98=_0x3c8f79['workspaceId']??workspaceConstants['defaultWorkspaceId'],_0x95ab83=_0x3c8f79['lastNameSuffix'],_0x16305f=_0x3c8f79['resourceId']??personIds['samBrownCrud'],_0x33edd4=_0x3c8f79['phoneBrandId']??phoneBrandIds['samsung'],_0x3dfde0=_0x95ab83?demoPersonNames['brown']+'\x20'+_0x95ab83:demoPersonNames['brown'];return {...createBaseResourceProperties(_0x16305f),'name':demoPersonNames['sam'],'lastName':_0x3dfde0,'middleName':demoPersonNames['scott'],'age':0x15,'phoneBrandId':_0x33edd4,'description':demoPersonDescriptions['goodGuyMarkdown'],'isMarried':!![],'favoriteNumber':0x7,'numberOfFamilyMembers':0x7e3,'userId':userConstants['timWId'],'hasKids':!![],'areKidsVaccinated':!![],'firstbornName':demoPersonNames['eddie'],'workspaceId':_0x23fd98,'maritalStatus':maritalStatuses['widowed']};}__name(getPersonSamBrown,'getPersonSamBrown');function getPersonChrisTaylor(_0x22c045){return {...createBaseResourceProperties(_0x22c045??personIds['chrisTaylor']),'name':demoPersonNames['chris'],'lastName':demoPersonNames['taylor'],'age':0x16,'isMarried':![],'numberOfFamilyMembers':0x1,'workspaceId':workspaceConstants['defaultWorkspaceId'],'maritalStatus':maritalStatuses['single']};}__name(getPersonChrisTaylor,'getPersonChrisTaylor');

export { getAllPersons, getPersonChrisTaylor, getPersonEricMalone, getPersonJoeBlack, getPersonJohnDoe, getPersonSamBrown };
