{"version":3,"sources":["jsdelivr-header.js","/npm/star_gdy@1.0.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;ACJA,MAAM,MAAQ,QAAQ,SAChB,SAAW,QAAQ,YAGzB,SAAS,OAAO,CACZ,CACI,KAAM,QACN,QAAS,YACT,KAAM,eAEX,MAAK,IACJ,QAAQ,IAAI,GACZ,MAAM,IAAI,yGAA2G,mBAAmB,EAAQ,YAAY,MAAK,IAC7J,QAAQ,IAAI,EAAI,KAAK,QAAQ,GAChC","file":"/npm/star_gdy@1.0.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/star_gdy@1.0.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","#!/usr/bin/env node\n\nconst axios = require(\"axios\");\nconst inquirer = require(\"inquirer\");\n\n\ninquirer.prompt([\n    {\n        type: \"input\",\n        message: \"请输入要查询的星座\",\n        name: \"star_name\"\n    }\n]).then(options => {\n    console.log(options)\n    axios.get(\"http://web.juhe.cn:8080/constellation/getAll?key=1e86cbe4ac7c8e1d23dcc5a133221f7b&type=today&consName=\" + encodeURIComponent(options.star_name)).then(res => {\n        console.log(res.data.summary);\n    })\n})\n\n\n"]}