| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565 |
- !(function () {
- function t(e) {
- return (
- (t =
- 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
- ? function (t) {
- return typeof t;
- }
- : function (t) {
- return t &&
- 'function' == typeof Symbol &&
- t.constructor === Symbol &&
- t !== Symbol.prototype
- ? 'symbol'
- : typeof t;
- }),
- t(e)
- );
- }
- function e() {
- 'use strict';
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e =
- function () {
- return r;
- };
- var r = {},
- n = Object.prototype,
- o = n.hasOwnProperty,
- i =
- Object.defineProperty ||
- function (t, e, r) {
- t[e] = r.value;
- },
- a = 'function' == typeof Symbol ? Symbol : {},
- c = a.iterator || '@@iterator',
- u = a.asyncIterator || '@@asyncIterator',
- l = a.toStringTag || '@@toStringTag';
- function f(t, e, r) {
- return (
- Object.defineProperty(t, e, {
- value: r,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }),
- t[e]
- );
- }
- try {
- f({}, '');
- } catch (G) {
- f = function (t, e, r) {
- return (t[e] = r);
- };
- }
- function s(t, e, r, n) {
- var o = e && e.prototype instanceof v ? e : v,
- a = Object.create(o.prototype),
- c = new S(n || []);
- return i(a, '_invoke', { value: E(t, r, c) }), a;
- }
- function h(t, e, r) {
- try {
- return { type: 'normal', arg: t.call(e, r) };
- } catch (G) {
- return { type: 'throw', arg: G };
- }
- }
- r.wrap = s;
- var p = {};
- function v() {}
- function y() {}
- function d() {}
- var g = {};
- f(g, c, function () {
- return this;
- });
- var m = Object.getPrototypeOf,
- w = m && m(m(k([])));
- w && w !== n && o.call(w, c) && (g = w);
- var b = (d.prototype = v.prototype = Object.create(g));
- function x(t) {
- ['next', 'throw', 'return'].forEach(function (e) {
- f(t, e, function (t) {
- return this._invoke(e, t);
- });
- });
- }
- function L(e, r) {
- function n(i, a, c, u) {
- var l = h(e[i], e, a);
- if ('throw' !== l.type) {
- var f = l.arg,
- s = f.value;
- return s && 'object' == t(s) && o.call(s, '__await')
- ? r.resolve(s.__await).then(
- function (t) {
- n('next', t, c, u);
- },
- function (t) {
- n('throw', t, c, u);
- }
- )
- : r.resolve(s).then(
- function (t) {
- (f.value = t), c(f);
- },
- function (t) {
- return n('throw', t, c, u);
- }
- );
- }
- u(l.arg);
- }
- var a;
- i(this, '_invoke', {
- value: function (t, e) {
- function o() {
- return new r(function (r, o) {
- n(t, e, r, o);
- });
- }
- return (a = a ? a.then(o, o) : o());
- }
- });
- }
- function E(t, e, r) {
- var n = 'suspendedStart';
- return function (o, i) {
- if ('executing' === n) throw new Error('Generator is already running');
- if ('completed' === n) {
- if ('throw' === o) throw i;
- return P();
- }
- for (r.method = o, r.arg = i; ; ) {
- var a = r.delegate;
- if (a) {
- var c = j(a, r);
- if (c) {
- if (c === p) continue;
- return c;
- }
- }
- if ('next' === r.method) r.sent = r._sent = r.arg;
- else if ('throw' === r.method) {
- if ('suspendedStart' === n) throw ((n = 'completed'), r.arg);
- r.dispatchException(r.arg);
- } else 'return' === r.method && r.abrupt('return', r.arg);
- n = 'executing';
- var u = h(t, e, r);
- if ('normal' === u.type) {
- if (((n = r.done ? 'completed' : 'suspendedYield'), u.arg === p))
- continue;
- return { value: u.arg, done: r.done };
- }
- 'throw' === u.type &&
- ((n = 'completed'), (r.method = 'throw'), (r.arg = u.arg));
- }
- };
- }
- function j(t, e) {
- var r = e.method,
- n = t.iterator[r];
- if (void 0 === n)
- return (
- (e.delegate = null),
- ('throw' === r &&
- t.iterator.return &&
- ((e.method = 'return'),
- (e.arg = void 0),
- j(t, e),
- 'throw' === e.method)) ||
- ('return' !== r &&
- ((e.method = 'throw'),
- (e.arg = new TypeError(
- "The iterator does not provide a '" + r + "' method"
- )))),
- p
- );
- var o = h(n, t.iterator, e.arg);
- if ('throw' === o.type)
- return (e.method = 'throw'), (e.arg = o.arg), (e.delegate = null), p;
- var i = o.arg;
- return i
- ? i.done
- ? ((e[t.resultName] = i.value),
- (e.next = t.nextLoc),
- 'return' !== e.method && ((e.method = 'next'), (e.arg = void 0)),
- (e.delegate = null),
- p)
- : i
- : ((e.method = 'throw'),
- (e.arg = new TypeError('iterator result is not an object')),
- (e.delegate = null),
- p);
- }
- function _(t) {
- var e = { tryLoc: t[0] };
- 1 in t && (e.catchLoc = t[1]),
- 2 in t && ((e.finallyLoc = t[2]), (e.afterLoc = t[3])),
- this.tryEntries.push(e);
- }
- function O(t) {
- var e = t.completion || {};
- (e.type = 'normal'), delete e.arg, (t.completion = e);
- }
- function S(t) {
- (this.tryEntries = [{ tryLoc: 'root' }]),
- t.forEach(_, this),
- this.reset(!0);
- }
- function k(t) {
- if (t) {
- var e = t[c];
- if (e) return e.call(t);
- if ('function' == typeof t.next) return t;
- if (!isNaN(t.length)) {
- var r = -1,
- n = function e() {
- for (; ++r < t.length; )
- if (o.call(t, r)) return (e.value = t[r]), (e.done = !1), e;
- return (e.value = void 0), (e.done = !0), e;
- };
- return (n.next = n);
- }
- }
- return { next: P };
- }
- function P() {
- return { value: void 0, done: !0 };
- }
- return (
- (y.prototype = d),
- i(b, 'constructor', { value: d, configurable: !0 }),
- i(d, 'constructor', { value: y, configurable: !0 }),
- (y.displayName = f(d, l, 'GeneratorFunction')),
- (r.isGeneratorFunction = function (t) {
- var e = 'function' == typeof t && t.constructor;
- return (
- !!e && (e === y || 'GeneratorFunction' === (e.displayName || e.name))
- );
- }),
- (r.mark = function (t) {
- return (
- Object.setPrototypeOf
- ? Object.setPrototypeOf(t, d)
- : ((t.__proto__ = d), f(t, l, 'GeneratorFunction')),
- (t.prototype = Object.create(b)),
- t
- );
- }),
- (r.awrap = function (t) {
- return { __await: t };
- }),
- x(L.prototype),
- f(L.prototype, u, function () {
- return this;
- }),
- (r.AsyncIterator = L),
- (r.async = function (t, e, n, o, i) {
- void 0 === i && (i = Promise);
- var a = new L(s(t, e, n, o), i);
- return r.isGeneratorFunction(e)
- ? a
- : a.next().then(function (t) {
- return t.done ? t.value : a.next();
- });
- }),
- x(b),
- f(b, l, 'Generator'),
- f(b, c, function () {
- return this;
- }),
- f(b, 'toString', function () {
- return '[object Generator]';
- }),
- (r.keys = function (t) {
- var e = Object(t),
- r = [];
- for (var n in e) r.push(n);
- return (
- r.reverse(),
- function t() {
- for (; r.length; ) {
- var n = r.pop();
- if (n in e) return (t.value = n), (t.done = !1), t;
- }
- return (t.done = !0), t;
- }
- );
- }),
- (r.values = k),
- (S.prototype = {
- constructor: S,
- reset: function (t) {
- if (
- ((this.prev = 0),
- (this.next = 0),
- (this.sent = this._sent = void 0),
- (this.done = !1),
- (this.delegate = null),
- (this.method = 'next'),
- (this.arg = void 0),
- this.tryEntries.forEach(O),
- !t)
- )
- for (var e in this)
- 't' === e.charAt(0) &&
- o.call(this, e) &&
- !isNaN(+e.slice(1)) &&
- (this[e] = void 0);
- },
- stop: function () {
- this.done = !0;
- var t = this.tryEntries[0].completion;
- if ('throw' === t.type) throw t.arg;
- return this.rval;
- },
- dispatchException: function (t) {
- if (this.done) throw t;
- var e = this;
- function r(r, n) {
- return (
- (a.type = 'throw'),
- (a.arg = t),
- (e.next = r),
- n && ((e.method = 'next'), (e.arg = void 0)),
- !!n
- );
- }
- for (var n = this.tryEntries.length - 1; n >= 0; --n) {
- var i = this.tryEntries[n],
- a = i.completion;
- if ('root' === i.tryLoc) return r('end');
- if (i.tryLoc <= this.prev) {
- var c = o.call(i, 'catchLoc'),
- u = o.call(i, 'finallyLoc');
- if (c && u) {
- if (this.prev < i.catchLoc) return r(i.catchLoc, !0);
- if (this.prev < i.finallyLoc) return r(i.finallyLoc);
- } else if (c) {
- if (this.prev < i.catchLoc) return r(i.catchLoc, !0);
- } else {
- if (!u)
- throw new Error('try statement without catch or finally');
- if (this.prev < i.finallyLoc) return r(i.finallyLoc);
- }
- }
- }
- },
- abrupt: function (t, e) {
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
- var n = this.tryEntries[r];
- if (
- n.tryLoc <= this.prev &&
- o.call(n, 'finallyLoc') &&
- this.prev < n.finallyLoc
- ) {
- var i = n;
- break;
- }
- }
- i &&
- ('break' === t || 'continue' === t) &&
- i.tryLoc <= e &&
- e <= i.finallyLoc &&
- (i = null);
- var a = i ? i.completion : {};
- return (
- (a.type = t),
- (a.arg = e),
- i
- ? ((this.method = 'next'), (this.next = i.finallyLoc), p)
- : this.complete(a)
- );
- },
- complete: function (t, e) {
- if ('throw' === t.type) throw t.arg;
- return (
- 'break' === t.type || 'continue' === t.type
- ? (this.next = t.arg)
- : 'return' === t.type
- ? ((this.rval = this.arg = t.arg),
- (this.method = 'return'),
- (this.next = 'end'))
- : 'normal' === t.type && e && (this.next = e),
- p
- );
- },
- finish: function (t) {
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
- var r = this.tryEntries[e];
- if (r.finallyLoc === t)
- return this.complete(r.completion, r.afterLoc), O(r), p;
- }
- },
- catch: function (t) {
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
- var r = this.tryEntries[e];
- if (r.tryLoc === t) {
- var n = r.completion;
- if ('throw' === n.type) {
- var o = n.arg;
- O(r);
- }
- return o;
- }
- }
- throw new Error('illegal catch attempt');
- },
- delegateYield: function (t, e, r) {
- return (
- (this.delegate = { iterator: k(t), resultName: e, nextLoc: r }),
- 'next' === this.method && (this.arg = void 0),
- p
- );
- }
- }),
- r
- );
- }
- function r(t, e, r, n, o, i, a) {
- try {
- var c = t[i](a),
- u = c.value;
- } catch (l) {
- return void r(l);
- }
- c.done ? e(u) : Promise.resolve(u).then(n, o);
- }
- System.register(
- [
- './index-legacy-ffa013bd.js',
- './information-detail.module-legacy-51f82b5a.js'
- ],
- function (t, n) {
- 'use strict';
- var o, i, a, c, u, l, f, s, h, p, v, y;
- return {
- setters: [
- function (t) {
- (o = t.d),
- (i = t.U),
- (a = t.q),
- (c = t.r),
- (u = t.y),
- (l = t.a),
- (f = t.bM),
- (s = t.S),
- (h = t.A),
- (p = t.F),
- (v = t.D);
- },
- function (t) {
- y = t.s;
- }
- ],
- execute: function () {
- t(
- 'default',
- o({
- name: 'notice-detail',
- setup: function () {
- var t = i(),
- n = a(),
- o = c({}),
- d = (function () {
- var n,
- i =
- ((n = e().mark(function r() {
- var n, i;
- return e().wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- (e.prev = 0),
- (e.next = 3),
- v.get(
- '/edu-app/open/helpCenterContent/detail/' +
- t.query.id
- )
- );
- case 3:
- (n = e.sent),
- (i = n.data),
- (o.value = i),
- (e.next = 10);
- break;
- case 8:
- (e.prev = 8), (e.t0 = e.catch(0));
- case 10:
- case 'end':
- return e.stop();
- }
- },
- r,
- null,
- [[0, 8]]
- );
- })),
- function () {
- var t = this,
- e = arguments;
- return new Promise(function (o, i) {
- var a = n.apply(t, e);
- function c(t) {
- r(a, o, i, c, u, 'next', t);
- }
- function u(t) {
- r(a, o, i, c, u, 'throw', t);
- }
- c(void 0);
- });
- });
- return function () {
- return i.apply(this, arguments);
- };
- })();
- return (
- u(function () {
- d();
- }),
- function () {
- return l(p, null, [
- 'music' == t.query.source
- ? l(
- f,
- {
- leftArrow: !0,
- leftText: '返回',
- border: !1,
- onClickLeft: function () {
- return n.back();
- }
- },
- null
- )
- : l(s, null, null),
- l('div', { class: [y.detail] }, [
- l('div', { class: y.detailContent }, [
- l('div', { class: y.title }, [o.value.title]),
- l('div', { class: y.who }, [
- l('span', null, [h('音乐数字课堂')]),
- o.value.updateTime
- ]),
- l(
- 'div',
- { class: y.content, innerHTML: o.value.content },
- null
- )
- ])
- ])
- ]);
- }
- );
- }
- })
- );
- }
- };
- }
- );
- })();
|