'use strict';
import { createBaseResourceProperties } from '../../utils/base-resource-properties.js';
import { workspaceConstants } from '../../../../fd-toolbox/server/constants/workspace-constants.js';
import { publicImages } from '../../../../fd-toolbox/constants/public-files.js';
import { fileExtensions } from '../../../../base-repo/app-constants/internal-system-constants.js';
import { createCompany } from './company-db.js';
import { demoCompanySeedValues } from '../demo-seed-constants.js';
import { testResourceIds } from '../../../../fd-toolbox/constants/resource-id-constants.js';

var __defProp=Object['defineProperty'],__name=(_0x545c14,_0x2e73b0)=>__defProp(_0x545c14,'name',{'value':_0x2e73b0,'configurable':!![]});const companyIds={'nexusTechId':'6cead29b-2572-4283-add6-f407b39d7135','fastTrackId':'9d09881a-cf60-438d-9edf-10f5864d4468','quantumId':'004a196f-f9a7-49fc-9e05-606fffd0613c','coreBuildId':'c75c22fc-d295-472e-bdae-dbb8eb09cf18','precisionId':'71efdb77-4ecb-45e6-bc83-0fdff835c2e7','brandSparkId':'d6fe4c6a-ecdb-40fc-a8e6-2044ef2b82d4','catalystId':'497b26a6-3e91-4b27-8c24-f3b145fc6c7f','artisanId':'b04d7c5e-18de-4f44-b923-5bfb28bb33bb','solarFlowId':'cdf3efb4-33a2-485e-8d95-e0ab5a4cb6a5','innovateLabId':testResourceIds['timeRange'],'brownieCorp':'773602c8-a417-4afc-adb0-bb6856ac2970'};async function seedCompanies(){await seedCompanyNexusTech(),await seedCompanyFastTrack(),await seedCompanyQuantum(),await seedCompanyCoreBuild(),await seedCompanyPrecision(),await seedCompanyBrandSpark(),await seedCompanyArtisan(),await seedCompanyCatalyst(),await seedCompanySolarFlow(),await seedCompanyInnovateLab(),await seedCompanyBrownieCorp();}__name(seedCompanies,'seedCompanies');async function seedCompany(_0x1d43b0,_0x3e7bfa,_0x24eb8f,_0x4e04c1,_0x24964e,_0x3c23c3){const _0x8f5e04='/'+publicImages['company']+'/'+_0x1d43b0+fileExtensions['webp'],_0xaeb042={...createBaseResourceProperties(_0x1d43b0),'name':_0x3e7bfa,'address':_0x24eb8f,'phoneNumber':_0x4e04c1,'website':_0x24964e,'industry':_0x3c23c3,'workspaceId':workspaceConstants['defaultWorkspaceId'],'imageUrl':_0x8f5e04};await createCompany(_0xaeb042);}__name(seedCompany,'seedCompany');async function seedCompanyNexusTech(){await seedCompany(companyIds['nexusTechId'],'Nexus\x20Tech','123\x20Tech\x20Street','555-123-4567',demoCompanySeedValues['nexusTechWebsite'],'Technology');}__name(seedCompanyNexusTech,'seedCompanyNexusTech');async function seedCompanyFastTrack(){await seedCompany(companyIds['fastTrackId'],'FastTrack','456\x20Elm\x20Ave','555-987-6543','fasttrack.com','Logistics');}__name(seedCompanyFastTrack,'seedCompanyFastTrack');async function seedCompanyQuantum(){await seedCompany(companyIds['quantumId'],'Quantum','789\x20Oak\x20Rd','555-234-5678','quantum.com','Finance');}__name(seedCompanyQuantum,'seedCompanyQuantum');async function seedCompanyCoreBuild(){await seedCompany(companyIds['coreBuildId'],'CoreBuild','321\x20Build\x20Way','555-765-4321','corebuild.com','Construction');}__name(seedCompanyCoreBuild,'seedCompanyCoreBuild');async function seedCompanyPrecision(){await seedCompany(companyIds['precisionId'],'Precision','654\x20Factory\x20Road','555-876-5432','precision.com','Manufacturing');}__name(seedCompanyPrecision,'seedCompanyPrecision');async function seedCompanyBrandSpark(){await seedCompany(companyIds['brandSparkId'],'BrandSpark','987\x20Promo\x20Blvd','555-345-6789','brandspark.com','Marketing');}__name(seedCompanyBrandSpark,'seedCompanyBrandSpark');async function seedCompanyArtisan(){await seedCompany(companyIds['artisanId'],'Artisan','654\x20Art\x20Boulevard','555-789-0123','artisan.com','Design');}__name(seedCompanyArtisan,'seedCompanyArtisan');async function seedCompanyCatalyst(){await seedCompany(companyIds['catalystId'],'Catalyst','432\x20Strategy\x20Street','555-654-3210','catalyst.com','Consulting');}__name(seedCompanyCatalyst,'seedCompanyCatalyst');async function seedCompanySolarFlow(){await seedCompany(companyIds['solarFlowId'],'SolarFlow','987\x20Solar\x20Lane',demoCompanySeedValues['sharedSolarFlowPhoneNumber'],'solarflow.com','Energy');}__name(seedCompanySolarFlow,'seedCompanySolarFlow');async function seedCompanyInnovateLab(){await seedCompany(companyIds['innovateLabId'],'InnovateLab','246\x20Discovery\x20Drive',demoCompanySeedValues['sharedSolarFlowPhoneNumber'],'innovatelab.com','Research');}__name(seedCompanyInnovateLab,'seedCompanyInnovateLab');async function seedCompanyBrownieCorp(){await seedCompany(companyIds['brownieCorp'],'BrownieCorp','1680\x20Poplar\x20Avenue','619-543-2847','brownie-corp.com','Cooking');}__name(seedCompanyBrownieCorp,'seedCompanyBrownieCorp');

export { companyIds, seedCompanies };
