detail-legacy-84b86739.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  1. !(function () {
  2. function t(e) {
  3. return (
  4. (t =
  5. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  6. ? function (t) {
  7. return typeof t;
  8. }
  9. : function (t) {
  10. return t &&
  11. 'function' == typeof Symbol &&
  12. t.constructor === Symbol &&
  13. t !== Symbol.prototype
  14. ? 'symbol'
  15. : typeof t;
  16. }),
  17. t(e)
  18. );
  19. }
  20. function e() {
  21. 'use strict';
  22. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e =
  23. function () {
  24. return r;
  25. };
  26. var r = {},
  27. n = Object.prototype,
  28. o = n.hasOwnProperty,
  29. i =
  30. Object.defineProperty ||
  31. function (t, e, r) {
  32. t[e] = r.value;
  33. },
  34. a = 'function' == typeof Symbol ? Symbol : {},
  35. c = a.iterator || '@@iterator',
  36. u = a.asyncIterator || '@@asyncIterator',
  37. l = a.toStringTag || '@@toStringTag';
  38. function f(t, e, r) {
  39. return (
  40. Object.defineProperty(t, e, {
  41. value: r,
  42. enumerable: !0,
  43. configurable: !0,
  44. writable: !0
  45. }),
  46. t[e]
  47. );
  48. }
  49. try {
  50. f({}, '');
  51. } catch (G) {
  52. f = function (t, e, r) {
  53. return (t[e] = r);
  54. };
  55. }
  56. function s(t, e, r, n) {
  57. var o = e && e.prototype instanceof v ? e : v,
  58. a = Object.create(o.prototype),
  59. c = new S(n || []);
  60. return i(a, '_invoke', { value: E(t, r, c) }), a;
  61. }
  62. function h(t, e, r) {
  63. try {
  64. return { type: 'normal', arg: t.call(e, r) };
  65. } catch (G) {
  66. return { type: 'throw', arg: G };
  67. }
  68. }
  69. r.wrap = s;
  70. var p = {};
  71. function v() {}
  72. function y() {}
  73. function d() {}
  74. var g = {};
  75. f(g, c, function () {
  76. return this;
  77. });
  78. var m = Object.getPrototypeOf,
  79. w = m && m(m(k([])));
  80. w && w !== n && o.call(w, c) && (g = w);
  81. var b = (d.prototype = v.prototype = Object.create(g));
  82. function x(t) {
  83. ['next', 'throw', 'return'].forEach(function (e) {
  84. f(t, e, function (t) {
  85. return this._invoke(e, t);
  86. });
  87. });
  88. }
  89. function L(e, r) {
  90. function n(i, a, c, u) {
  91. var l = h(e[i], e, a);
  92. if ('throw' !== l.type) {
  93. var f = l.arg,
  94. s = f.value;
  95. return s && 'object' == t(s) && o.call(s, '__await')
  96. ? r.resolve(s.__await).then(
  97. function (t) {
  98. n('next', t, c, u);
  99. },
  100. function (t) {
  101. n('throw', t, c, u);
  102. }
  103. )
  104. : r.resolve(s).then(
  105. function (t) {
  106. (f.value = t), c(f);
  107. },
  108. function (t) {
  109. return n('throw', t, c, u);
  110. }
  111. );
  112. }
  113. u(l.arg);
  114. }
  115. var a;
  116. i(this, '_invoke', {
  117. value: function (t, e) {
  118. function o() {
  119. return new r(function (r, o) {
  120. n(t, e, r, o);
  121. });
  122. }
  123. return (a = a ? a.then(o, o) : o());
  124. }
  125. });
  126. }
  127. function E(t, e, r) {
  128. var n = 'suspendedStart';
  129. return function (o, i) {
  130. if ('executing' === n) throw new Error('Generator is already running');
  131. if ('completed' === n) {
  132. if ('throw' === o) throw i;
  133. return P();
  134. }
  135. for (r.method = o, r.arg = i; ; ) {
  136. var a = r.delegate;
  137. if (a) {
  138. var c = j(a, r);
  139. if (c) {
  140. if (c === p) continue;
  141. return c;
  142. }
  143. }
  144. if ('next' === r.method) r.sent = r._sent = r.arg;
  145. else if ('throw' === r.method) {
  146. if ('suspendedStart' === n) throw ((n = 'completed'), r.arg);
  147. r.dispatchException(r.arg);
  148. } else 'return' === r.method && r.abrupt('return', r.arg);
  149. n = 'executing';
  150. var u = h(t, e, r);
  151. if ('normal' === u.type) {
  152. if (((n = r.done ? 'completed' : 'suspendedYield'), u.arg === p))
  153. continue;
  154. return { value: u.arg, done: r.done };
  155. }
  156. 'throw' === u.type &&
  157. ((n = 'completed'), (r.method = 'throw'), (r.arg = u.arg));
  158. }
  159. };
  160. }
  161. function j(t, e) {
  162. var r = e.method,
  163. n = t.iterator[r];
  164. if (void 0 === n)
  165. return (
  166. (e.delegate = null),
  167. ('throw' === r &&
  168. t.iterator.return &&
  169. ((e.method = 'return'),
  170. (e.arg = void 0),
  171. j(t, e),
  172. 'throw' === e.method)) ||
  173. ('return' !== r &&
  174. ((e.method = 'throw'),
  175. (e.arg = new TypeError(
  176. "The iterator does not provide a '" + r + "' method"
  177. )))),
  178. p
  179. );
  180. var o = h(n, t.iterator, e.arg);
  181. if ('throw' === o.type)
  182. return (e.method = 'throw'), (e.arg = o.arg), (e.delegate = null), p;
  183. var i = o.arg;
  184. return i
  185. ? i.done
  186. ? ((e[t.resultName] = i.value),
  187. (e.next = t.nextLoc),
  188. 'return' !== e.method && ((e.method = 'next'), (e.arg = void 0)),
  189. (e.delegate = null),
  190. p)
  191. : i
  192. : ((e.method = 'throw'),
  193. (e.arg = new TypeError('iterator result is not an object')),
  194. (e.delegate = null),
  195. p);
  196. }
  197. function _(t) {
  198. var e = { tryLoc: t[0] };
  199. 1 in t && (e.catchLoc = t[1]),
  200. 2 in t && ((e.finallyLoc = t[2]), (e.afterLoc = t[3])),
  201. this.tryEntries.push(e);
  202. }
  203. function O(t) {
  204. var e = t.completion || {};
  205. (e.type = 'normal'), delete e.arg, (t.completion = e);
  206. }
  207. function S(t) {
  208. (this.tryEntries = [{ tryLoc: 'root' }]),
  209. t.forEach(_, this),
  210. this.reset(!0);
  211. }
  212. function k(t) {
  213. if (t) {
  214. var e = t[c];
  215. if (e) return e.call(t);
  216. if ('function' == typeof t.next) return t;
  217. if (!isNaN(t.length)) {
  218. var r = -1,
  219. n = function e() {
  220. for (; ++r < t.length; )
  221. if (o.call(t, r)) return (e.value = t[r]), (e.done = !1), e;
  222. return (e.value = void 0), (e.done = !0), e;
  223. };
  224. return (n.next = n);
  225. }
  226. }
  227. return { next: P };
  228. }
  229. function P() {
  230. return { value: void 0, done: !0 };
  231. }
  232. return (
  233. (y.prototype = d),
  234. i(b, 'constructor', { value: d, configurable: !0 }),
  235. i(d, 'constructor', { value: y, configurable: !0 }),
  236. (y.displayName = f(d, l, 'GeneratorFunction')),
  237. (r.isGeneratorFunction = function (t) {
  238. var e = 'function' == typeof t && t.constructor;
  239. return (
  240. !!e && (e === y || 'GeneratorFunction' === (e.displayName || e.name))
  241. );
  242. }),
  243. (r.mark = function (t) {
  244. return (
  245. Object.setPrototypeOf
  246. ? Object.setPrototypeOf(t, d)
  247. : ((t.__proto__ = d), f(t, l, 'GeneratorFunction')),
  248. (t.prototype = Object.create(b)),
  249. t
  250. );
  251. }),
  252. (r.awrap = function (t) {
  253. return { __await: t };
  254. }),
  255. x(L.prototype),
  256. f(L.prototype, u, function () {
  257. return this;
  258. }),
  259. (r.AsyncIterator = L),
  260. (r.async = function (t, e, n, o, i) {
  261. void 0 === i && (i = Promise);
  262. var a = new L(s(t, e, n, o), i);
  263. return r.isGeneratorFunction(e)
  264. ? a
  265. : a.next().then(function (t) {
  266. return t.done ? t.value : a.next();
  267. });
  268. }),
  269. x(b),
  270. f(b, l, 'Generator'),
  271. f(b, c, function () {
  272. return this;
  273. }),
  274. f(b, 'toString', function () {
  275. return '[object Generator]';
  276. }),
  277. (r.keys = function (t) {
  278. var e = Object(t),
  279. r = [];
  280. for (var n in e) r.push(n);
  281. return (
  282. r.reverse(),
  283. function t() {
  284. for (; r.length; ) {
  285. var n = r.pop();
  286. if (n in e) return (t.value = n), (t.done = !1), t;
  287. }
  288. return (t.done = !0), t;
  289. }
  290. );
  291. }),
  292. (r.values = k),
  293. (S.prototype = {
  294. constructor: S,
  295. reset: function (t) {
  296. if (
  297. ((this.prev = 0),
  298. (this.next = 0),
  299. (this.sent = this._sent = void 0),
  300. (this.done = !1),
  301. (this.delegate = null),
  302. (this.method = 'next'),
  303. (this.arg = void 0),
  304. this.tryEntries.forEach(O),
  305. !t)
  306. )
  307. for (var e in this)
  308. 't' === e.charAt(0) &&
  309. o.call(this, e) &&
  310. !isNaN(+e.slice(1)) &&
  311. (this[e] = void 0);
  312. },
  313. stop: function () {
  314. this.done = !0;
  315. var t = this.tryEntries[0].completion;
  316. if ('throw' === t.type) throw t.arg;
  317. return this.rval;
  318. },
  319. dispatchException: function (t) {
  320. if (this.done) throw t;
  321. var e = this;
  322. function r(r, n) {
  323. return (
  324. (a.type = 'throw'),
  325. (a.arg = t),
  326. (e.next = r),
  327. n && ((e.method = 'next'), (e.arg = void 0)),
  328. !!n
  329. );
  330. }
  331. for (var n = this.tryEntries.length - 1; n >= 0; --n) {
  332. var i = this.tryEntries[n],
  333. a = i.completion;
  334. if ('root' === i.tryLoc) return r('end');
  335. if (i.tryLoc <= this.prev) {
  336. var c = o.call(i, 'catchLoc'),
  337. u = o.call(i, 'finallyLoc');
  338. if (c && u) {
  339. if (this.prev < i.catchLoc) return r(i.catchLoc, !0);
  340. if (this.prev < i.finallyLoc) return r(i.finallyLoc);
  341. } else if (c) {
  342. if (this.prev < i.catchLoc) return r(i.catchLoc, !0);
  343. } else {
  344. if (!u)
  345. throw new Error('try statement without catch or finally');
  346. if (this.prev < i.finallyLoc) return r(i.finallyLoc);
  347. }
  348. }
  349. }
  350. },
  351. abrupt: function (t, e) {
  352. for (var r = this.tryEntries.length - 1; r >= 0; --r) {
  353. var n = this.tryEntries[r];
  354. if (
  355. n.tryLoc <= this.prev &&
  356. o.call(n, 'finallyLoc') &&
  357. this.prev < n.finallyLoc
  358. ) {
  359. var i = n;
  360. break;
  361. }
  362. }
  363. i &&
  364. ('break' === t || 'continue' === t) &&
  365. i.tryLoc <= e &&
  366. e <= i.finallyLoc &&
  367. (i = null);
  368. var a = i ? i.completion : {};
  369. return (
  370. (a.type = t),
  371. (a.arg = e),
  372. i
  373. ? ((this.method = 'next'), (this.next = i.finallyLoc), p)
  374. : this.complete(a)
  375. );
  376. },
  377. complete: function (t, e) {
  378. if ('throw' === t.type) throw t.arg;
  379. return (
  380. 'break' === t.type || 'continue' === t.type
  381. ? (this.next = t.arg)
  382. : 'return' === t.type
  383. ? ((this.rval = this.arg = t.arg),
  384. (this.method = 'return'),
  385. (this.next = 'end'))
  386. : 'normal' === t.type && e && (this.next = e),
  387. p
  388. );
  389. },
  390. finish: function (t) {
  391. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  392. var r = this.tryEntries[e];
  393. if (r.finallyLoc === t)
  394. return this.complete(r.completion, r.afterLoc), O(r), p;
  395. }
  396. },
  397. catch: function (t) {
  398. for (var e = this.tryEntries.length - 1; e >= 0; --e) {
  399. var r = this.tryEntries[e];
  400. if (r.tryLoc === t) {
  401. var n = r.completion;
  402. if ('throw' === n.type) {
  403. var o = n.arg;
  404. O(r);
  405. }
  406. return o;
  407. }
  408. }
  409. throw new Error('illegal catch attempt');
  410. },
  411. delegateYield: function (t, e, r) {
  412. return (
  413. (this.delegate = { iterator: k(t), resultName: e, nextLoc: r }),
  414. 'next' === this.method && (this.arg = void 0),
  415. p
  416. );
  417. }
  418. }),
  419. r
  420. );
  421. }
  422. function r(t, e, r, n, o, i, a) {
  423. try {
  424. var c = t[i](a),
  425. u = c.value;
  426. } catch (l) {
  427. return void r(l);
  428. }
  429. c.done ? e(u) : Promise.resolve(u).then(n, o);
  430. }
  431. System.register(
  432. [
  433. './index-legacy-ffa013bd.js',
  434. './information-detail.module-legacy-51f82b5a.js'
  435. ],
  436. function (t, n) {
  437. 'use strict';
  438. var o, i, a, c, u, l, f, s, h, p, v, y;
  439. return {
  440. setters: [
  441. function (t) {
  442. (o = t.d),
  443. (i = t.U),
  444. (a = t.q),
  445. (c = t.r),
  446. (u = t.y),
  447. (l = t.a),
  448. (f = t.bM),
  449. (s = t.S),
  450. (h = t.A),
  451. (p = t.F),
  452. (v = t.D);
  453. },
  454. function (t) {
  455. y = t.s;
  456. }
  457. ],
  458. execute: function () {
  459. t(
  460. 'default',
  461. o({
  462. name: 'notice-detail',
  463. setup: function () {
  464. var t = i(),
  465. n = a(),
  466. o = c({}),
  467. d = (function () {
  468. var n,
  469. i =
  470. ((n = e().mark(function r() {
  471. var n, i;
  472. return e().wrap(
  473. function (e) {
  474. for (;;)
  475. switch ((e.prev = e.next)) {
  476. case 0:
  477. return (
  478. (e.prev = 0),
  479. (e.next = 3),
  480. v.get(
  481. '/edu-app/open/helpCenterContent/detail/' +
  482. t.query.id
  483. )
  484. );
  485. case 3:
  486. (n = e.sent),
  487. (i = n.data),
  488. (o.value = i),
  489. (e.next = 10);
  490. break;
  491. case 8:
  492. (e.prev = 8), (e.t0 = e.catch(0));
  493. case 10:
  494. case 'end':
  495. return e.stop();
  496. }
  497. },
  498. r,
  499. null,
  500. [[0, 8]]
  501. );
  502. })),
  503. function () {
  504. var t = this,
  505. e = arguments;
  506. return new Promise(function (o, i) {
  507. var a = n.apply(t, e);
  508. function c(t) {
  509. r(a, o, i, c, u, 'next', t);
  510. }
  511. function u(t) {
  512. r(a, o, i, c, u, 'throw', t);
  513. }
  514. c(void 0);
  515. });
  516. });
  517. return function () {
  518. return i.apply(this, arguments);
  519. };
  520. })();
  521. return (
  522. u(function () {
  523. d();
  524. }),
  525. function () {
  526. return l(p, null, [
  527. 'music' == t.query.source
  528. ? l(
  529. f,
  530. {
  531. leftArrow: !0,
  532. leftText: '返回',
  533. border: !1,
  534. onClickLeft: function () {
  535. return n.back();
  536. }
  537. },
  538. null
  539. )
  540. : l(s, null, null),
  541. l('div', { class: [y.detail] }, [
  542. l('div', { class: y.detailContent }, [
  543. l('div', { class: y.title }, [o.value.title]),
  544. l('div', { class: y.who }, [
  545. l('span', null, [h('音乐数字课堂')]),
  546. o.value.updateTime
  547. ]),
  548. l(
  549. 'div',
  550. { class: y.content, innerHTML: o.value.content },
  551. null
  552. )
  553. ])
  554. ])
  555. ]);
  556. }
  557. );
  558. }
  559. })
  560. );
  561. }
  562. };
  563. }
  564. );
  565. })();