page.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. import React from 'react';
  2. // import { Link } from 'react-router-dom';
  3. import { Icon, Checkbox } from 'antd';
  4. import './index.less';
  5. import Page from '@src/containers/Page';
  6. import { timeRange, getMap, formatDate } from '@src/services/Tools';
  7. import UserLayout from '../../../layouts/User';
  8. import UserTable from '../../../components/UserTable';
  9. import UserAction from '../../../components/UserAction';
  10. import UserPagination from '../../../components/UserPagination';
  11. import { RealAuth } from '../../../components/OtherModal';
  12. import Examination from '../../../components/Examination';
  13. import VipRenew from '../../../components/VipRenew';
  14. import Modal from '../../../components/Modal';
  15. import menu, { refreshQuestionType, refreshStruct } from '../index';
  16. import Tabs from '../../../components/Tabs';
  17. import { TimeRange, QuestionType, AskTarget } from '../../../../Constant';
  18. import { My } from '../../../stores/my';
  19. import { OpenText } from '../../../components/Open';
  20. const QuestionTypeMap = getMap(QuestionType, 'value', 'label');
  21. const AskTargetMap = getMap(AskTarget, 'value', 'label');
  22. const exportType = [
  23. { key: 'question', title: '题目' },
  24. { key: 'official', title: '官方解析' },
  25. { key: 'note', title: '我的笔记' },
  26. // { key: 'qx', title: '千行解析', auth: true },
  27. // { key: 'association', title: '题源联想', auth: true },
  28. // { key: 'qa', title: '相关问答', auth: true },
  29. ];
  30. const questionColumns = [
  31. {
  32. key: 'questionType',
  33. width: 200,
  34. render(text, row) {
  35. return <div className="group">
  36. <a href={row.userQuestionId ? `/paper/question/${row.userQuestionId}` : `/question/detail/${row.questionNoId}`} target="_blank">{QuestionTypeMap[text]}</a>
  37. </div>;
  38. },
  39. },
  40. {
  41. key: 'title',
  42. width: 100,
  43. render(text, row) {
  44. return <div className="group">
  45. <a href={row.userQuestionId ? `/paper/question/${row.userQuestionId}` : `/question/detail/${row.questionNoId}`} target="_blank">{text}</a>
  46. </div>;
  47. },
  48. },
  49. {
  50. key: 'content',
  51. width: 520,
  52. render(text) {
  53. return <div className="group text-hidden t-16" style={{ width: '540px' }}>{text}</div>;
  54. },
  55. },
  56. ];
  57. const contentColumns = [
  58. {
  59. key: 'title',
  60. title: '笔记对象',
  61. width: 110,
  62. render(text) {
  63. return <div className="sub">{AskTargetMap[text]}</div>;
  64. },
  65. },
  66. {
  67. key: 'update_time',
  68. title: '更新时间',
  69. width: 105,
  70. render(text) {
  71. return <div className="sub">
  72. <div className="t-2 t-s-12">{text.split(' ')[0]}</div>
  73. <div className="t-6 t-s-12">{text.split(' ')[1]}</div>
  74. </div>;
  75. },
  76. },
  77. {
  78. key: 'content',
  79. title: '内容',
  80. width: 520,
  81. render(text) {
  82. return <OpenText>{text}</OpenText>;
  83. },
  84. },
  85. ];
  86. export default class extends Page {
  87. constructor(props) {
  88. props.size = 10;
  89. super(props);
  90. }
  91. initState() {
  92. return {
  93. filterMap: {},
  94. sortMap: {},
  95. selectList: [],
  96. contentSelectList: [],
  97. allChecked: false,
  98. tab: 'exercise',
  99. timerange: 'all',
  100. };
  101. }
  102. initData() {
  103. const data = Object.assign(this.state, this.state.search);
  104. data.filterMap = this.state.search;
  105. if (data.order) {
  106. data.sortMap = { [data.order]: data.direction };
  107. } else if (data.order !== null && data.order !== '') {
  108. data.sortMap = { update_time: 'desc' };
  109. }
  110. if (data.timerange) {
  111. data.filterMap.timerange = data.timerange;
  112. }
  113. const [startTime, endTime] = timeRange(data.timerange);
  114. refreshQuestionType(this, data.subject, data.questionType, {
  115. all: true,
  116. needSentence: false,
  117. allSubject: true,
  118. }).then(({ questionTypes }) => {
  119. return refreshStruct(this, questionTypes, data.tab, data.one, data.two, {
  120. all: true,
  121. needPreview: true,
  122. needTextbook: false,
  123. }).then(({ courseModules, structIds, latest, year }) => {
  124. My.listQuestionNote(
  125. Object.assign(
  126. { module: data.tab, questionTypes, courseModules, structIds, latest, year, startTime, endTime },
  127. this.state.search,
  128. {
  129. order: Object.keys(data.sortMap)
  130. .map(key => {
  131. return `${key} ${data.sortMap[key]}`;
  132. })
  133. .join(','),
  134. },
  135. ),
  136. ).then(result => {
  137. result.list = result.list.map(row => {
  138. row.questionNo = row.questionNo || {};
  139. row.key = row.questionNoId;
  140. row.group = true;
  141. row.questionType = row.question.questionType;
  142. row.title = row.questionNo.title;
  143. row.content = row.question.description;
  144. row.list = [];
  145. [{ label: '题目', value: 'question', title: '题目', key: 'question' }].forEach((r) => {
  146. if (!row[`${r.value}Content`]) return;
  147. row.list.push({
  148. title: r.value,
  149. key: `${row.key}|${r.value}`,
  150. update_time: formatDate(row.updateTime, 'YYYY-MM-DD HH:mm:ss'),
  151. content: row[`${r.value}Content`],
  152. });
  153. });
  154. return row;
  155. });
  156. const { selectList, allChecked, selectPage } = this.updateSelectInfo(data.page, result.list);
  157. this.setState({ list: result.list, total: result.total, selectList, allChecked, selectPage });
  158. });
  159. });
  160. });
  161. }
  162. updateSelectInfo(page, list, selectList = null) {
  163. const { selectPage = {} } = this.state;
  164. let allChecked = false;
  165. if (selectList == null) {
  166. selectList = [];
  167. if (selectPage[Number(page)]) {
  168. selectList = selectPage[Number(page)];
  169. }
  170. } else {
  171. selectPage[Number(page)] = selectList;
  172. }
  173. allChecked = list.filter(row => selectList.indexOf(row.key) >= 0).length === list.length && list.length > 0;
  174. return { selectList, allChecked, selectPage };
  175. }
  176. onTabChange(tab) {
  177. const data = { tab };
  178. this.refreshQuery(data);
  179. }
  180. onFilter(value) {
  181. this.search(value, false);
  182. this.initData();
  183. }
  184. onSearch(value) {
  185. this.search({ page: 1, keyword: value }, false);
  186. this.initData();
  187. }
  188. onSort(value) {
  189. const keys = Object.keys(value);
  190. // this.search({ order: keys.length ? keys.join('|') : null, direction: keys.length ? Object.values(value).join('|') : null });
  191. const { sortMap } = this.state;
  192. const index = keys.length > 1 && sortMap[keys[0]] ? 1 : 0;
  193. this.search({ order: keys.length && value[keys[index]] ? keys[index] : null, direction: keys.length ? value[keys[index]] : null }, false);
  194. this.initData();
  195. }
  196. onChangePage(page) {
  197. this.search({ page }, false);
  198. this.initData();
  199. }
  200. onAll(checked) {
  201. const { selectPage = {}, search = {} } = this.state;
  202. let { selectList } = this.state;
  203. const { page } = search;
  204. const { list = [] } = this.state;
  205. if (checked) {
  206. list.forEach(item => {
  207. if (selectList.indexOf(item.key) >= 0) return;
  208. selectList.push(item.key);
  209. });
  210. selectPage[Number(page)] = selectList;
  211. } else {
  212. selectList = [];
  213. delete selectPage[Number(page)];
  214. }
  215. this.setState({ selectList, selectPage, allChecked: checked });
  216. // const { selectList, contentSelectList } = this.state;
  217. // const { list = [] } = this.state;
  218. // if (checked) {
  219. // list.forEach(item => {
  220. // if (selectList.indexOf(item.key) < 0) {
  221. // selectList.push(item.key);
  222. // }
  223. // AskTarget.forEach((r) => {
  224. // if (!item[`${r.value}Content`]) return;
  225. // if (contentSelectList.indexOf(`${item.key}|${r.value}`) < 0) {
  226. // contentSelectList.push(`${item.key}|${r.value}`);
  227. // }
  228. // });
  229. // });
  230. // } else {
  231. // list.forEach(item => {
  232. // const index = selectList.indexOf(item.key);
  233. // if (index >= 0) {
  234. // selectList.splice(index, 1);
  235. // }
  236. // AskTarget.forEach((r) => {
  237. // if (!item[`${r.value}Content`]) return;
  238. // const i = contentSelectList.indexOf(`${item.key}|${r.value}`);
  239. // if (i >= 0) {
  240. // contentSelectList.splice(i, 1);
  241. // }
  242. // });
  243. // });
  244. // }
  245. // this.setState({ selectList, contentSelectList, allChecked: checked });
  246. }
  247. onSelect(slist) {
  248. const { search = {}, list } = this.state;
  249. const { selectList, allChecked, selectPage } = this.updateSelectInfo(search.page, list, slist);
  250. this.setState({ selectList, allChecked, selectPage });
  251. // const { contentSelectList, list = [] } = this.state;
  252. // if (checked) {
  253. // const [item] = list.filter(row => row.key === key);
  254. // if (item) {
  255. // // 选中下面所有
  256. // AskTarget.forEach((r) => {
  257. // if (!item[`${r.value}Content`]) return;
  258. // if (contentSelectList.indexOf(`${item.key}|${r.value}`) < 0) {
  259. // contentSelectList.push(`${item.key}|${r.value}`);
  260. // }
  261. // });
  262. // }
  263. // } else {
  264. // const [item] = list.filter(row => row.key === key);
  265. // if (item) {
  266. // // 取消下面所有
  267. // AskTarget.forEach((r) => {
  268. // if (!item[`${r.value}Content`]) return;
  269. // const index = contentSelectList.indexOf(`${item.key}|${r.value}`);
  270. // if (index >= 0) {
  271. // contentSelectList.splice(index, 1);
  272. // }
  273. // });
  274. // }
  275. // }
  276. // this.setState({ selectList, contentSelectList, allCheckbox: false });
  277. }
  278. onSelectContent(contentSelectList, key, checked) {
  279. const { selectList, list = [] } = this.state;
  280. if (checked) {
  281. const [questionNoIdStr] = key.split('|');
  282. const questionNoId = Number(questionNoIdStr);
  283. const [item] = list.filter(row => row.key === questionNoId);
  284. if (item) {
  285. // 选中上级
  286. if (selectList.indexOf(item.key) < 0) {
  287. selectList.push(item.key);
  288. }
  289. }
  290. }
  291. this.setState({ selectList, contentSelectList });
  292. }
  293. onAction(key) {
  294. const { info } = this.props.user;
  295. const { selectPage = {} } = this.state;
  296. const selectList = [].concat(...Object.values(selectPage).concat());
  297. switch (key) {
  298. case 'help':
  299. this.setState({ showTips: true });
  300. return;
  301. case 'clear':
  302. if (selectList.length === 0) {
  303. this.setState({ showWarn: true, warn: { title: '移除', content: '不可少于1题,请重新选择' } });
  304. return;
  305. }
  306. // contentSelectList.forEach(row => {
  307. // const [questionNoIdStr, target] = row.split('|');
  308. // const questionNoId = Number(questionNoIdStr);
  309. // if (!questionNoMap[questionNoId]) {
  310. // questionNoMap[questionNoId] = { fields: 0 };
  311. // }
  312. // questionNoMap[questionNoId][target] = '';
  313. // questionNoMap[questionNoId].fields += 1;
  314. // });
  315. this.clearNote(selectList);
  316. // this.setState({ showClearConfirm: true, clearInfo: { questionNoIds: selectList } });
  317. break;
  318. case 'export':
  319. if (!info.vip) {
  320. this.setState({ showVip: true });
  321. return;
  322. }
  323. if (selectList.length < 1) {
  324. this.setState({ showWarn: true, warn: { title: '导出', content: '不可小于1题,请重新选择' } });
  325. return;
  326. }
  327. if (selectList.length > 100) {
  328. this.setState({ showWarn: true, warn: { title: '导出', content: '不可多余100题,请重新选择' } });
  329. return;
  330. }
  331. // if (info.bindReal) {
  332. this.setState({ showExportConfirm: true, exportInfo: { include: exportType.map(row => row.key), questionNoIds: selectList, answer: true } });
  333. // } else {
  334. // this.setState({ showExportAuthConfirm: true, exportInfo: { include: exportType.filter(row => !row.auth).map(row => row.key), questionNoIds: selectList, answer: true } });
  335. // }
  336. // contentSelectList.forEach(row => {
  337. // const [questionNoIdStr, target] = row.split('|');
  338. // const questionNoId = Number(questionNoIdStr);
  339. // if (!questionNoMap[questionNoId]) {
  340. // questionNoMap[questionNoId] = { fields: 0 };
  341. // }
  342. // questionNoMap[questionNoId][target] = '';
  343. // questionNoMap[questionNoId].fields += 1;
  344. // });
  345. // questionNoIds = Object.keys(questionNoMap);
  346. // this.setState({ showExportConfirm: true, exportInfo: { questionNoIds, questionNoMap } });
  347. break;
  348. default:
  349. }
  350. }
  351. clearNote(list) {
  352. My.clearQuestionNote(list)
  353. .then(() => {
  354. this.refresh();
  355. })
  356. .catch(e => {
  357. this.setState({ showWarn: true, warn: { title: '移除', content: e.message }, showClearConfirm: false });
  358. });
  359. }
  360. export() {
  361. const { exportInfo } = this.state;
  362. this.setState({ showExportWait: true, showExportConfirm: false, showExportAuthConfirm: false });
  363. My.exportNoteQuestion(exportInfo)
  364. .then((result) => {
  365. openLink(`/export/${result}`);
  366. this.setState({ showExportWait: false });
  367. })
  368. .catch(e => {
  369. this.setState({ showWarn: true, warn: { title: '导出', content: e.message }, showExportWait: false });
  370. });
  371. }
  372. renderView() {
  373. const { config } = this.props;
  374. return <UserLayout active={config.key} menu={menu} center={this.renderTable()} />;
  375. }
  376. renderTable() {
  377. const {
  378. tab,
  379. questionSubjectSelect,
  380. questionSubjectMap = {},
  381. oneSelect,
  382. twoSelectMap = {},
  383. oneSelectPlaceholder,
  384. twoSelectPlaceholder,
  385. filterMap = {},
  386. sortMap = {},
  387. list = [],
  388. } = this.state;
  389. const { selectList = [], contentSelectList = [], allChecked, page, total } = this.state;
  390. const { info } = this.props.user;
  391. return (
  392. <div className="table-layout">
  393. <Tabs
  394. border
  395. type="division"
  396. theme="theme"
  397. size="small"
  398. space={2.5}
  399. width={100}
  400. active={tab}
  401. tabs={[{ key: 'exercise', title: '练习' }, { key: 'examination', title: '模考' }]}
  402. onChange={key => this.onTabChange(key)}
  403. />
  404. <UserAction
  405. search
  406. defaultSearch={filterMap.keyword}
  407. selectList={[
  408. {
  409. children: [
  410. {
  411. key: 'subject',
  412. placeholder: '学科',
  413. select: questionSubjectSelect,
  414. },
  415. {
  416. placeholder: '题型',
  417. key: 'questionType',
  418. be: 'subject',
  419. selectMap: questionSubjectMap,
  420. },
  421. ],
  422. },
  423. {
  424. label: '范围',
  425. children: [
  426. {
  427. key: 'one',
  428. placeholder: oneSelectPlaceholder,
  429. select: oneSelect,
  430. },
  431. {
  432. key: 'two',
  433. be: 'one',
  434. placeholder: twoSelectPlaceholder,
  435. selectMap: twoSelectMap,
  436. },
  437. ],
  438. },
  439. {
  440. right: true,
  441. key: 'timerange',
  442. select: TimeRange,
  443. },
  444. ]}
  445. filterMap={filterMap}
  446. onFilter={value => this.onFilter(value)}
  447. onSearch={value => this.onSearch(value)}
  448. />
  449. <UserAction
  450. allCheckbox
  451. allChecked={allChecked}
  452. help
  453. btnList={[
  454. { title: '删除', key: 'clear' },
  455. { title: '导出', key: 'export', tag: 'vip', disabled: !info.vip },
  456. ]}
  457. sortList={[{ right: true, label: '更新时间', key: 'update_time' }]}
  458. sortMap={sortMap}
  459. onSort={value => this.onSort(value)}
  460. onAll={checked => this.onAll(checked)}
  461. onAction={key => this.onAction(key)}
  462. />
  463. {list.map((item, index) => {
  464. return (
  465. <div className="group">
  466. <UserTable
  467. theme="dark"
  468. border={false}
  469. size="small"
  470. select
  471. selectList={selectList}
  472. columns={questionColumns}
  473. data={[item]}
  474. onSelect={(l, key, checked) => this.onSelect(l, key, checked)}
  475. header={false}
  476. />
  477. <UserTable
  478. border={false}
  479. size="small"
  480. // select
  481. even="default"
  482. selectList={contentSelectList}
  483. columns={contentColumns}
  484. data={item.list}
  485. onSelect={(l, key, checked) => this.onSelectContent(l, key, checked)}
  486. header={index === 0}
  487. />
  488. </div>
  489. );
  490. })}
  491. {total > 0 && list.length > 0 && (
  492. <UserPagination total={total} current={page} pageSize={this.state.search.size} onChange={p => this.onChangePage(p)} />
  493. )}
  494. {this.renderModal()}
  495. </div>
  496. );
  497. }
  498. renderModal() {
  499. const { showTips, showWarn, warn = {}, showClearConfirm, clearInfo = {}, showVip, showExamination, showReal, showExportWait, showExportConfirm, showExportAuthConfirm, exportInfo = {} } = this.state;
  500. const { info } = this.props.user;
  501. return [
  502. <Modal show={showTips} title="操作提示" confirmText="好的,知道了" btnAlign="center" onConfirm={() => this.setState({ showTips: false })}>
  503. <div className="flex-layout m-b-2">
  504. <div className="flex-block">
  505. <div className="t-1 t-s-18">导出功能</div>
  506. <div className="t-2">操作数量:1-100;</div>
  507. <div className="t-2">注意事项:“综合推理IR”暂时无法导出。</div>
  508. </div>
  509. </div>
  510. <div className="t-3">
  511. *您可点击
  512. <Icon type="question-circle" theme="filled" />
  513. 查阅以上信息。
  514. </div>
  515. </Modal>,
  516. <Modal show={showWarn} title={warn.title} confirmText="好的,知道了" btnAlign="center" onConfirm={() => this.setState({ showWarn: false })}>
  517. <div className="t-2 t-s-18">{warn.content}</div>
  518. </Modal>,
  519. <Modal show={showClearConfirm} title="移出" onConfirm={() => this.clearNote()} onCancel={() => this.setState({ showClearConfirm: false })}>
  520. <div className="t-2 t-s-18">
  521. 当前选中的 <span className="t-4">{clearInfo.questionNoIds ? clearInfo.questionNoIds.length : 0}</span> 道题即将被移出笔记,移出后无法恢复,是否继续?
  522. </div>
  523. </Modal>,
  524. <Modal show={showExportConfirm} title="导出" confirmText="导出" onConfirm={() => this.export()} onCancel={() => this.setState({ showExportConfirm: false })}>
  525. <div className="t-2 t-s-18 m-b-5">
  526. 当前共选中 <span className="t-4">{exportInfo.questionNoIds ? exportInfo.questionNoIds.length : 0}</span> 道题,请确认需要导出的内容:
  527. </div>
  528. <div className="t-2 t-s-16">
  529. {exportType.map(item => {
  530. return (
  531. <div className="d-i-b m-b-5" style={{ width: 135 }}>
  532. <Checkbox checked={exportInfo.include ? exportInfo.include.indexOf(item.key) >= 0 : false} className="m-r-5" onChange={() => {
  533. const index = exportInfo.include.indexOf(item.key);
  534. if (index >= 0) {
  535. exportInfo.include.splice(index, 1);
  536. } else {
  537. exportInfo.include.push(item.key);
  538. }
  539. this.setState({ exportInfo });
  540. }} />
  541. {item.title}
  542. </div>
  543. );
  544. })}
  545. </div>
  546. </Modal>,
  547. <Modal show={showExportAuthConfirm} title="导出" confirmText="导出" onConfirm={() => this.export()} onCancel={() => this.setState({ showExportAuthConfirm: false })}>
  548. <div className="t-2 t-s-18 m-b-5">
  549. 当前共选中 <span className="t-4">{exportInfo.questionNoIds ? exportInfo.questionNoIds.length : 0}</span> 道题,请确认需要导出的内容:
  550. </div>
  551. <div className="t-2 t-s-16 m-b-2">
  552. {exportType
  553. .filter(item => !item.auth)
  554. .map(item => {
  555. return (
  556. <div className="d-i-b m-b-2" style={{ width: 135 }}>
  557. <Checkbox checked={exportInfo.include ? exportInfo.include.indexOf(item.key) >= 0 : false} className="m-r-5" onChange={() => {
  558. const index = exportInfo.include.indexOf(item.key);
  559. if (index >= 0) {
  560. exportInfo.include.splice(index, 1);
  561. } else {
  562. exportInfo.include.push(item.key);
  563. }
  564. this.setState({ exportInfo });
  565. }} />
  566. {item.title}
  567. </div>
  568. );
  569. })}
  570. </div>
  571. <div className="b-b m-b-2 m-t-2" />
  572. <div className="t-3 m-b-1">
  573. 以下内容需实名认证后才可导出: <a className="f-r" onClick={() => this.setState({ showExportAuthConfirm: false, showReal: true })}>去认证 ></a>
  574. </div>
  575. <div className="t-2 t-s-16 m-b-2">
  576. {exportType
  577. .filter(item => item.auth)
  578. .map(item => {
  579. return (
  580. <div className="d-i-b" style={{ width: 135 }}>
  581. <Checkbox disabled className="m-r-5" />
  582. {item.title}
  583. </div>
  584. );
  585. })}
  586. </div>
  587. </Modal>,
  588. <Modal show={showExportWait} title="导出" confirmText="好的,知道了" btnAlign="center" onConfirm={() => this.setState({ showExportWait: false })}>
  589. <div className="t-2 t-s-18">正在下载中,请不要关闭当前页面!</div>
  590. </Modal>,
  591. <Examination
  592. show={showExamination}
  593. data={info}
  594. onConfirm={() => this.setState({ showExamination: false })}
  595. onCancel={() => this.setState({ showExamination: false })}
  596. onClose={() => this.setState({ showExamination: false })}
  597. />,
  598. <RealAuth show={showReal} data={info} onConfirm={() => this.setState({ showReal: false })} />,
  599. <VipRenew
  600. show={showVip}
  601. data={info}
  602. onReal={() => this.setState({ showVip: false, showReal: true })}
  603. onPrepare={() => this.setState({ showVip: false, showExamination: true })}
  604. onClose={(result) => {
  605. if (result) {
  606. this.refresh();
  607. } else {
  608. this.setState({ showVip: false });
  609. }
  610. }}
  611. />,
  612. ];
  613. }
  614. }