{"version":3,"file":"bin.mjs","sources":["../../src/bin.ts"],"sourcesContent":["import { launchPreparedPlaygroundPlatform } from '@midscene/playground';\nimport 'dotenv/config';\nimport { webPlaygroundPlatform } from './platform';\n\nasync function startServer() {\n  const prepared = await webPlaygroundPlatform.prepare({\n    launchOptions: {\n      openBrowser: false,\n      verbose: false,\n    },\n  });\n  const { server } = await launchPreparedPlaygroundPlatform(prepared);\n  console.log(\n    `Midscene playground server is running on http://localhost:${server.port}`,\n  );\n}\n\nstartServer().catch(console.error);\n"],"names":["startServer","prepared","webPlaygroundPlatform","server","launchPreparedPlaygroundPlatform","console"],"mappings":";;;AAIA,eAAeA;IACb,MAAMC,WAAW,MAAMC,sBAAsB,OAAO,CAAC;QACnD,eAAe;YACb,aAAa;YACb,SAAS;QACX;IACF;IACA,MAAM,EAAEC,MAAM,EAAE,GAAG,MAAMC,iCAAiCH;IAC1DI,QAAQ,GAAG,CACT,CAAC,0DAA0D,EAAEF,OAAO,IAAI,EAAE;AAE9E;AAEAH,cAAc,KAAK,CAACK,QAAQ,KAAK"}