'use strict';
import { productIds } from '../product-master-data.js';
import { createProductMedia } from './product-media-db.js';
import { createBaseResourceProperties } from '../../utils/base-resource-properties.js';
import { workspaceConstants } from '../../../../fd-toolbox/server/constants/workspace-constants.js';

var __defProp=Object['defineProperty'],__name=(_0x4d9775,_0x1a1d3c)=>__defProp(_0x4d9775,'name',{'value':_0x1a1d3c,'configurable':!![]});const demoImagePaths={'landscapeShowcase':'/images/test/photo-1519681393784-d120267933ba.jpg','officeAnalytics':'/images/test/photo-1460925895917-afdab827c52f.jpg','teamCelebration':'/images/test/photo-1499636136210-6f4ee915583e.jpg'};const productMediaIds={'landscapeId':'c47034b5-b6f5-5a10-9a77-6c0210df2674','cookieId':'1e8f9d44-4efe-5870-aa0e-b0887f6c5748','laptopId':'d26f02f3-7874-50aa-b277-c5a2470f0dd7'};async function seedProductMedias(){await seedLandscape(),await seedCookie(),await seedLaptop();}__name(seedProductMedias,'seedProductMedias');async function seedProductMedia(_0x13ffde,_0x22ed4d,_0x3e48e5,_0x42b824,_0x2c21b6){const _0x941c28={...createBaseResourceProperties(_0x13ffde),'workspaceId':_0x3e48e5,'productId':_0x22ed4d,'imageUrl':_0x42b824,'videoUrl':_0x2c21b6};return createProductMedia(_0x941c28);}__name(seedProductMedia,'seedProductMedia');async function seedLandscape(){await seedProductMedia(productMediaIds['landscapeId'],productIds['smartphoneId'],workspaceConstants['defaultWorkspaceId'],demoImagePaths['landscapeShowcase']);}__name(seedLandscape,'seedLandscape');async function seedCookie(){await seedProductMedia(productMediaIds['cookieId'],productIds['smartTvId'],workspaceConstants['defaultWorkspaceId'],demoImagePaths['teamCelebration']);}__name(seedCookie,'seedCookie');async function seedLaptop(){await seedProductMedia(productMediaIds['laptopId'],productIds['wirelessHeadphonesId'],workspaceConstants['defaultWorkspaceId'],demoImagePaths['officeAnalytics']);}__name(seedLaptop,'seedLaptop');

export { demoImagePaths, productMediaIds, seedProductMedias };
