webpack.config.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. const webpack = require('webpack');
  2. const path = require('path');
  3. const ExtractTextPlugin = require("extract-text-webpack-plugin");
  4. const HtmlWebpackPlugin = require('html-webpack-plugin');
  5. const WebpackDevServer = require('webpack-dev-server');
  6. const entries = require('./webpack/entry.config.js');
  7. const version = require('./package.json').version;
  8. const argv = require('yargs').argv;
  9. const ImageminPlugin = require('imagemin-webpack-plugin').default;
  10. const CopyWebpackPlugin = require('copy-webpack-plugin');
  11. const dirVars = require('./webpack/dir.config.js');
  12. const HtmlWebpackIncludeAssetsPlugin = require('html-webpack-include-assets-plugin');
  13. let theme = {
  14. '@primary-color': '#58a3ff',
  15. '@link-color': '#58a3ff'
  16. };
  17. let isWatch = argv.env.watch == 'watch';
  18. let isDev = isWatch || argv.env.deploy == 'dev';
  19. module.exports = (function () {
  20. let plugins = [
  21. new webpack.optimize.CommonsChunkPlugin({
  22. name: 'vendors',
  23. minChunks: 20
  24. }),
  25. // new webpack.optimize.CommonsChunkPlugin({
  26. // name: 'vendor',
  27. // minChunks: function (module) {
  28. // return (
  29. // module.resource &&
  30. // /\.js$/.test(module.resource) &&
  31. // module.resource.indexOf(
  32. // path.join(__dirname, '../node_modules')
  33. // ) === 0
  34. // )
  35. // }
  36. // }),
  37. // new webpack.optimize.CommonsChunkPlugin({
  38. // name: 'vendors',
  39. // chunks: ['vendor']
  40. // }),
  41. /* 配置好Dll */
  42. new webpack.DllReferencePlugin({
  43. context: dirVars.staticRootDir, // 指定一个路径作为上下文环境,需要与DllPlugin的context参数保持一致,建议统一设置为项目根目录
  44. manifest: require('./dll/'+argv.env.deploy+'/manifest.json') // 指定manifest.json
  45. }),
  46. // 把dll文件复制到打包后的文件中
  47. new CopyWebpackPlugin([
  48. {
  49. from: path.resolve('./dll/'+argv.env.deploy),
  50. to: (__dirname, './dll/'),
  51. ignore: ['.*']
  52. }
  53. ]),
  54. // 将 dll.js 插入HTML里
  55. new HtmlWebpackIncludeAssetsPlugin({
  56. assets: [(__dirname, 'dll/dll.js'),(__dirname, 'dll/dll.css')],
  57. append: false
  58. }),
  59. new ExtractTextPlugin({
  60. filename: "[name].css",
  61. disable: false,
  62. allChunks: true
  63. }),
  64. new webpack.ProvidePlugin({
  65. $: "jquery",
  66. jQuery: "jquery"
  67. }),
  68. new HtmlWebpackPlugin({
  69. title: '首页',
  70. filename: 'html/index.html',
  71. template: './template/index.html',
  72. chunks: ['vendors','index' ],
  73. chunksSortMode:"dependency"
  74. }),
  75. new HtmlWebpackPlugin({
  76. title: '搜索页',
  77. filename: 'html/search.html',
  78. template: './template/search.html',
  79. chunks: ['vendors','search'],
  80. }),
  81. new HtmlWebpackPlugin({
  82. title: '服务商主页',
  83. filename: 'html/facilitator.html',
  84. template: './template/newMenu/facilitator/facilitator.html',
  85. chunks: ['vendors','facilitator'],
  86. }),
  87. // new HtmlWebpackPlugin({
  88. // title: '支付跳转页面',
  89. // filename: 'html/toPayment.html',
  90. // template: './template/toPayment.html',
  91. // chunks: ['toPayment', 'vendors']
  92. // }),
  93. new HtmlWebpackPlugin({
  94. title: '关于公司',
  95. filename: 'html/aboutUs.html',
  96. template: './template/aboutUs.html',
  97. chunks: ['aboutUs', 'vendors']
  98. }),
  99. // new HtmlWebpackPlugin({
  100. // title: '关于公司APP',
  101. // filename: 'html/APPaboutUs.html',
  102. // template: './template/APPaboutUs.html',
  103. // chunks: ['APPaboutUs', 'vendors']
  104. // }),
  105. new HtmlWebpackPlugin({
  106. title: '联系我们',
  107. filename: 'html/contactUs.html',
  108. template: './template/contactUs.html',
  109. chunks: ['contactUs', 'vendors']
  110. }),
  111. // new HtmlWebpackPlugin({
  112. // title: '科技服务',
  113. // filename: 'html/service.html',
  114. // template: './template/service.html',
  115. // chunks: ['service', 'vendors']
  116. // }),
  117. new HtmlWebpackPlugin({
  118. title: '注册',
  119. filename: 'html/register.html',
  120. template: './template/register.html',
  121. chunks: ['register', 'vendors']
  122. }),
  123. // new HtmlWebpackPlugin({
  124. // title: '会员',
  125. // filename: 'html/member.html',
  126. // template: './template/member.html',
  127. // chunks: ['member', 'vendors']
  128. // }),
  129. // new HtmlWebpackPlugin({
  130. // title: '科技交易',
  131. // filename: 'html/technologyTrading.html',
  132. // template: './template/technologyTrading.html',
  133. // chunks: ['technologyTrading', 'vendors']
  134. // }),
  135. new HtmlWebpackPlugin({
  136. title: '科技智库',
  137. filename: 'html/thinkTank.html',
  138. template: './template/thinkTank.html',
  139. chunks: ['thinkTank', 'vendors']
  140. }),
  141. // new HtmlWebpackPlugin({
  142. // title: '科技金融',
  143. // filename: 'html/financialIndex.html',
  144. // template: './template/financialIndex.html',
  145. // chunks: ['financialIndex', 'vendors']
  146. // }),
  147. // new HtmlWebpackPlugin({
  148. // title: '科技交易-技术专利',
  149. // filename: 'html/technologyTrading/achievement.html',
  150. // template: './template/technologyTrading/achievement.html',
  151. // chunks: ['technologyTrading/achievement', 'vendors']
  152. // }),
  153. // new HtmlWebpackPlugin({
  154. // title: '科技交易-技术需求',
  155. // filename: 'html/technologyTrading/demand.html',
  156. // template: './template/technologyTrading/demand.html',
  157. // chunks: ['technologyTrading/demand', 'vendors']
  158. // }),
  159. new HtmlWebpackPlugin({
  160. title: '科技交易-技术专利详情',
  161. filename: 'html/technologyTrading/achievementDetail.html',
  162. template: './template/technologyTrading/achievementDetail.html',
  163. chunks: ['technologyTrading/achievementDetail', 'vendors']
  164. }),
  165. new HtmlWebpackPlugin({
  166. title: '科技交易-技术需求详情',
  167. filename: 'html/technologyTrading/demandDetail.html',
  168. template: './template/technologyTrading/demandDetail.html',
  169. chunks: ['technologyTrading/demandDetail', 'vendors']
  170. }),
  171. // new HtmlWebpackPlugin({
  172. // title: '在线评估',
  173. // filename: 'html/technologyTrading/assessMent.html',
  174. // template: './template/technologyTrading/assessMent.html',
  175. // chunks: ['technologyTrading/assessMent', 'vendors']
  176. // }),
  177. // new HtmlWebpackPlugin({
  178. // title: '科技交易-技术成果下单页面',
  179. // filename: 'html/technologyTrading/achievementOrder.html',
  180. // template: './template/technologyTrading/achievementOrder.html',
  181. // chunks: ['technologyTrading/achievementOrder', 'vendors']
  182. // }),
  183. // new HtmlWebpackPlugin({
  184. // title: '科技交易-技术需求下单页面',
  185. // filename: 'html/technologyTrading/demandOrder.html',
  186. // template: './template/technologyTrading/demandOrder.html',
  187. // chunks: ['technologyTrading/demandOrder', 'vendors']
  188. // }),
  189. new HtmlWebpackPlugin({
  190. title: '智库咨询-智政详情',
  191. filename: 'html/thinkTank/policyDetail.html',
  192. template: './template/thinkTank/policyDetail.html',
  193. chunks: ['thinkTank/policyDetail', 'vendors']
  194. }),
  195. new HtmlWebpackPlugin({
  196. title: '智库咨询-智政列表',
  197. filename: 'html/thinkTank/policyList.html',
  198. template: './template/thinkTank/policyList.html',
  199. chunks: ['thinkTank/policyList', 'vendors']
  200. }),
  201. new HtmlWebpackPlugin({
  202. title: '智库咨询-智者详情',
  203. filename: 'html/thinkTank/thinkerDetail.html',
  204. template: './template/thinkTank/thinkerDetail.html',
  205. chunks: ['thinkTank/thinkerDetail', 'vendors']
  206. }),
  207. // new HtmlWebpackPlugin({
  208. // title: '科技金融-投资机构',
  209. // filename: 'html/financial/investmentInstitution.html',
  210. // template: './template/financial/investmentInstitution.html',
  211. // chunks: ['financial/investmentInstitution', 'vendors']
  212. // }),
  213. // new HtmlWebpackPlugin({
  214. // title: '科技金融-投资机构',
  215. // filename: 'html/financial/investmentDetail.html',
  216. // template: './template/financial/investmentDetail.html',
  217. // chunks: ['financial/investmentDetail', 'vendors']
  218. // }),
  219. // new HtmlWebpackPlugin({
  220. // title: '科技服务-高新认定',
  221. // filename: 'html/service/highTechCognizance.html',
  222. // template: './template/service/highTechCognizance.html',
  223. // chunks: ['service/highTechCognizance', 'vendors']
  224. // }),
  225. // new HtmlWebpackPlugin({
  226. // title: '科技服务-知识产权',
  227. // filename: 'html/service/propertyRight.html',
  228. // template: './template/service/propertyRight.html',
  229. // chunks: ['service/propertyRight', 'vendors']
  230. // }),
  231. // new HtmlWebpackPlugin({
  232. // title: '科技服务-高新认定',
  233. // filename: 'html/service/projectDetails.html',
  234. // template: './template/service/projectDetails.html',
  235. // chunks: ['service/projectDetails', 'vendors']
  236. // }),
  237. // new HtmlWebpackPlugin({
  238. // title: '科技服务-服务意向',
  239. // filename: 'html/service/purpose.html',
  240. // template: './template/service/purpose.html',
  241. // chunks: ['service/purpose', 'vendors']
  242. // }),
  243. //newsApp
  244. new HtmlWebpackPlugin({
  245. title: '新闻详情',
  246. filename: 'html/news/newsDetailApp.html',
  247. template: './template/news/newsDetailApp.html',
  248. chunks: ['news/newsDetailApp', 'vendors']
  249. }),
  250. // new HtmlWebpackPlugin({
  251. // title: '高企认定',
  252. // filename: 'html/news/appCognizance.html',
  253. // template: './template/news/appCognizance.html',
  254. // chunks: ['news/appCognizance', 'vendors']
  255. // }),
  256. new HtmlWebpackPlugin({
  257. title: '注册协议',
  258. filename: 'html/news/agreement.html',
  259. template: './template/news/agreement.html',
  260. chunks: ['news/agreement', 'vendors']
  261. }),
  262. /* 2018-6 改版后科技需求 */
  263. new HtmlWebpackPlugin({
  264. title: '科技需求',
  265. filename: 'html/newMenu/demand.html',
  266. template: './template/newMenu/demand.html',
  267. chunks: ['newMenu/demand', 'vendors']
  268. }),
  269. new HtmlWebpackPlugin({
  270. title: '科技成果',
  271. filename: 'html/newMenu/achievement.html',
  272. template: './template/newMenu/achievement.html',
  273. chunks: ['newMenu/achievement', 'vendors']
  274. }),
  275. new HtmlWebpackPlugin({
  276. title: '科技成果列表',
  277. filename: 'html/newMenu/achievementList.html',
  278. template: './template/newMenu/achievementList.html',
  279. chunks: ['newMenu/achievementList', 'vendors']
  280. }),
  281. new HtmlWebpackPlugin({
  282. title: '科技需求列表',
  283. filename: 'html/newMenu/demandList.html',
  284. template: './template/newMenu/demandList.html',
  285. chunks: ['newMenu/demandList', 'vendors']
  286. }),
  287. new HtmlWebpackPlugin({
  288. title: '科技服务',
  289. filename: 'html/newMenu/services.html',
  290. template: './template/newMenu/services.html',
  291. chunks: ['newMenu/services', 'vendors']
  292. }),
  293. new HtmlWebpackPlugin({
  294. title: '科技服务列表',
  295. filename: 'html/newMenu/serviceList.html',
  296. template: './template/newMenu/serviceList.html',
  297. chunks: ['newMenu/serviceList', 'vendors']
  298. }),
  299. new HtmlWebpackPlugin({
  300. title: '科技服务详情',
  301. filename: 'html/newMenu/serviceDetails.html',
  302. template: './template/newMenu/serviceDetails.html',
  303. chunks: ['newMenu/serviceDetails', 'vendors']
  304. }),
  305. new HtmlWebpackPlugin({
  306. title: '购物车',
  307. filename: 'html/newMenu/shopList.html',
  308. template: './template/newMenu/shopList.html',
  309. chunks: ['newMenu/shopList', 'vendors']
  310. }),
  311. new HtmlWebpackPlugin({
  312. title: '专利列表',
  313. filename: 'html/newMenu/patentList.html',
  314. template: './template/newMenu/patentList.html',
  315. chunks: ['newMenu/patentList', 'vendors']
  316. }),
  317. new HtmlWebpackPlugin({
  318. title: '知识产权交易首页',
  319. filename: 'html/newMenu/tradingIndex.html',
  320. template: './template/newMenu/tradingIndex.html',
  321. chunks: ['newMenu/tradingIndex', 'vendors']
  322. }),
  323. new HtmlWebpackPlugin({
  324. title: '知识产权申请首页',
  325. filename: 'html/newMenu/patent.html',
  326. template: './template/newMenu/patent.html',
  327. chunks: ['newMenu/patent', 'vendors']
  328. }),
  329. new HtmlWebpackPlugin({
  330. title: '公司简介',
  331. filename: 'html/newMenu/companyProfile.html',
  332. template: './template/newMenu/companyProfile.html',
  333. chunks: ['newMenu/companyProfile', 'vendors']
  334. }),
  335. new HtmlWebpackPlugin({
  336. title: '高企认定',
  337. filename: 'html/newMenu/continueHigh.html',
  338. template: './template/newMenu/loading/continueHigh.html',
  339. chunks: ['newMenu/continueHigh', 'vendors']
  340. }),
  341. new HtmlWebpackPlugin({
  342. title: '实用新型专利',
  343. filename: 'html/newMenu/practicalPatent.html',
  344. template: './template/newMenu/loading/practicalPatent.html',
  345. chunks: ['newMenu/practicalPatent', 'vendors']
  346. }),
  347. new HtmlWebpackPlugin({
  348. title: '军工认证',
  349. filename: 'html/newMenu/militaryProject.html',
  350. template: './template/newMenu/loading/militaryProject.html',
  351. chunks: ['newMenu/militaryProject', 'vendors']
  352. }),
  353. // new HtmlWebpackPlugin({
  354. // title: '高企认定App',
  355. // filename: 'html/newMenu/continueHighApp.html',
  356. // template: './template/newMenu/landingPage/continueHighApp.html',
  357. // chunks: ['newMenu/continueHighApp', 'vendors']
  358. // }),
  359. // new HtmlWebpackPlugin({
  360. // title: '实用新型专利App',
  361. // filename: 'html/newMenu/practicalPatentApp.html',
  362. // template: './template/newMenu/landingPage/practicalPatentApp.html',
  363. // chunks: ['newMenu/practicalPatentApp', 'vendors']
  364. // }),
  365. // new HtmlWebpackPlugin({
  366. // title: '军工认证App',
  367. // filename: 'html/newMenu/militaryProjectApp.html',
  368. // template: './template/newMenu/landingPage/militaryProjectApp.html',
  369. // chunks: ['newMenu/militaryProjectApp', 'vendors']
  370. // }),
  371. new HtmlWebpackPlugin({
  372. title: '知识产权维权',
  373. filename: 'html/newMenu/safeguarding.html',
  374. template: './template/newMenu/safeguarding.html',
  375. chunks: ['newMenu/safeguarding', 'vendors']
  376. }),
  377. new HtmlWebpackPlugin({
  378. title: '知识产权维权列表',
  379. filename: 'html/newMenu/safeguardingList.html',
  380. template: './template/newMenu/safeguardingList.html',
  381. chunks: ['newMenu/safeguardingList', 'vendors']
  382. }),
  383. new HtmlWebpackPlugin({
  384. title: '知识产权维权详情',
  385. filename: 'html/newMenu/safeguardingDetail.html',
  386. template: './template/newMenu/safeguardingDetail.html',
  387. chunks: ['newMenu/safeguardingDetail', 'vendors']
  388. }),
  389. //app
  390. // new HtmlWebpackPlugin({
  391. // title: '评估',
  392. // filename: 'html/newMenu/app/assessment.html',
  393. // template: './template/newMenu/app/assessment.html',
  394. // chunks: ['newMenu/app/assessment', 'vendors']
  395. // }),
  396. // new HtmlWebpackPlugin({
  397. // title: '托管',
  398. // filename: 'html/newMenu/app/trusteeship.html',
  399. // template: './template/newMenu/app/trusteeship.html',
  400. // chunks: ['newMenu/app/trusteeship', 'vendors']
  401. // }),
  402. // new HtmlWebpackPlugin({
  403. // title: 'app维权',
  404. // filename: 'html/newMenu/app/safeguardApp.html',
  405. // template: './template/newMenu/app/safeguardApp.html',
  406. // chunks: ['newMenu/app/safeguardApp', 'vendors']
  407. // })
  408. new HtmlWebpackPlugin({
  409. title: '高企自评',
  410. filename: 'html/evaluation/evaluate.html',
  411. template: './template/newMenu/evaluate.html',
  412. chunks: ['evaluation/evaluate','vendors']
  413. }),
  414. new HtmlWebpackPlugin({
  415. title: '知识产权顾问首页',
  416. filename: 'html/newMenu/adviser.html',
  417. template: './template/newMenu/adviser.html',
  418. chunks: ['newMenu/adviser', 'vendors']
  419. }),
  420. new HtmlWebpackPlugin({
  421. title: '知识产权顾问列表',
  422. filename: 'html/newMenu/adviserList.html',
  423. template: './template/newMenu/adviserList.html',
  424. chunks: ['newMenu/adviserList', 'vendors']
  425. }),
  426. new HtmlWebpackPlugin({
  427. title: '知识产权顾问详情',
  428. filename: 'html/newMenu/adviserDetail.html',
  429. template: './template/newMenu/adviserDetail.html',
  430. chunks: ['newMenu/adviserDetail', 'vendors']
  431. }),
  432. new HtmlWebpackPlugin({
  433. title: '品牌建设',
  434. filename: 'html/newMenu/brandBuild.html',
  435. template: './template/newMenu/loading/brandBuild.html',
  436. chunks: ['newMenu/brandBuild', 'vendors']
  437. }),
  438. new HtmlWebpackPlugin({
  439. title: '市场开括',
  440. filename: 'html/newMenu/marketOpen.html',
  441. template: './template/newMenu/loading/marketOpen.html',
  442. chunks: ['newMenu/marketOpen', 'vendors']
  443. }),
  444. new HtmlWebpackPlugin({
  445. title: '财税金融',
  446. filename: 'html/newMenu/taxFinance.html',
  447. template: './template/newMenu/loading/taxFinance.html',
  448. chunks: ['newMenu/taxFinance', 'vendors']
  449. }),
  450. new HtmlWebpackPlugin({
  451. title: '政府扶持',
  452. filename: 'html/newMenu/governmentSupport.html',
  453. template: './template/newMenu/loading/governmentSupport.html',
  454. chunks: ['newMenu/governmentSupport', 'vendors']
  455. }),
  456. new HtmlWebpackPlugin({
  457. title: '在线评估',
  458. filename: 'html/newMenu/assessment.html',
  459. template: './template/newMenu/loading/assessment.html',
  460. chunks: ['newMenu/assessment', 'vendors']
  461. }),
  462. new HtmlWebpackPlugin({
  463. title: '邀请好友',
  464. filename: 'html/newMenu/Invitation.html',
  465. template: './template/newMenu/landingPage/Invitation.html',
  466. chunks: ['newMenu/Invitation', 'vendors']
  467. }),
  468. new HtmlWebpackPlugin({
  469. title: '优惠活动',
  470. filename: 'html/newMenu/invRegister.html',
  471. template: './template/newMenu/landingPage/InvRegister.html',
  472. chunks: ['newMenu/invRegister', 'vendors']
  473. }),
  474. new HtmlWebpackPlugin({
  475. title: '视频列表',
  476. filename: 'html/newMenu/video.html',
  477. template: './template/video.html',
  478. chunks: ['newMenu/video', 'vendors']
  479. }),
  480. new HtmlWebpackPlugin({
  481. title: '技淘视频',
  482. filename: 'html/newMenu/videoDetail.html',
  483. template: './template/videoDetail.html',
  484. chunks: ['newMenu/videoDetail', 'vendors']
  485. }),
  486. new HtmlWebpackPlugin({
  487. title: '技淘社区',
  488. filename: 'html/newMenu/special.html',
  489. template: './template/newMenu/special.html',
  490. chunks: ['newMenu/special', 'vendors']
  491. }),
  492. new HtmlWebpackPlugin({
  493. title: '技淘社区详情',
  494. filename: 'html/newMenu/specialDetail.html',
  495. template: './template/newMenu/specialDetail.html',
  496. chunks: ['newMenu/specialDetail', 'vendors']
  497. }),
  498. ];
  499. if (!isDev) {
  500. //这个使用uglifyJs压缩你的js代码
  501. plugins.unshift(new webpack.DefinePlugin({
  502. "process.env": {
  503. NODE_ENV: JSON.stringify("production")
  504. }
  505. }));
  506. plugins.unshift(new webpack.optimize.UglifyJsPlugin({
  507. minimize: true,
  508. compress: {
  509. warnings: true
  510. }
  511. }));
  512. }
  513. let staticHost = 'http://172.16.0.253:80';
  514. switch (argv.env.deploy) {
  515. case 'test':
  516. staticHost = 'http://statics.jishutao.com';
  517. break;
  518. case 'prod':
  519. staticHost = 'http://ss.jishutao.com';
  520. break;
  521. default:
  522. break;
  523. }
  524. staticHost = staticHost + '/portal/' + version + '/';
  525. return {
  526. entry: isWatch ? entries.watch : entries.prod,
  527. output: {
  528. path: path.resolve(__dirname, './build/' + argv.env.deploy + '/' + version),
  529. filename: '[name].js',
  530. publicPath: staticHost,
  531. chunkFilename: 'chunks/[name].[hash:8].js'
  532. },
  533. module: require('./webpack/module.config.js')(theme),
  534. resolve: {
  535. extensions: ['.js', '.jsx'],
  536. alias: {
  537. 'js': __dirname + '/src/js',
  538. 'css': __dirname + '/src/css',
  539. 'imgs': __dirname + '/img',
  540. }
  541. },
  542. plugins: plugins,
  543. devServer: {
  544. disableHostCheck: true,
  545. host: '172.16.0.253',
  546. port: 80,
  547. allowedHosts: ['192.168.0.222', '192.168.0.99', '192.168.0.20','192.168.0.17'],
  548. headers: {
  549. "Access-Control-Allow-Origin": "*"
  550. }
  551. }
  552. };
  553. })();